legacy_textured_teapot
Legacy Textured PicoGL Teapot Example
This example demonstrates how to load and render a textured teapot using legacy OpenGL (OpenGL 1.x/2.x) for maximum compatibility.
Features: - Uses LegacyGLMesh for rendering - Legacy OpenGL texture mapping - Works on systems without modern shader support - Interactive controls for rotation and zoom - Multiple texture options
Available texture: - resources/tu02/uvtemplate.DDS - UV template texture - resources/tu03/uvmap.DDS - UV mapping texture - resources/tu09/Holstein.DDS - Holstein pattern - resources/tu10/diffuse.DDS - Diffuse texture
Attributes
Classes
Legacy textured teapot renderer using OpenGL 1.x/2.x |
|
Main window for the legacy textured teapot renderer |
Functions
|
Main function to run the legacy textured teapot renderer |
Module Contents
- class legacy_textured_teapot.LegacyTexturedTeapotRenderer(parent: PySide6.QtWidgets.QWidget | None = None)[source]
Bases:
picogl.ui.backend.qt.legacy.renderer.LegacyQtObjectRendererLegacy textured teapot renderer using OpenGL 1.x/2.x
This class provides a textured teapot renderer that works on systems with limited OpenGL support.