picogl.examples.legacy_teapot
Legacy PicoGL Teapot - Compatible with systems without modern shader support.
This example uses legacy OpenGL rendering (OpenGL 1.x/2.x) that works on: - Older macOS systems - Systems without modern OpenGL 3.3+ support - Systems with limited shader support
The renderer uses LegacyGLMesh which bypasses modern VAO/VBO requirements and uses legacy client states and immediate mode rendering.
Attributes
Classes
GLUT teapot renderer with LegacyGLMesh, PhongMaterial, and wireframe fallback. |
Functions
|
Main function. |
Module Contents
- class picogl.examples.legacy_teapot.LegacyTeapotRenderer(width: int = 800, height: int = 600, title: str = 'Legacy Teapot Renderer', material: picogl.backend.gl.phong.material.PhongMaterial | None = None)[source]
Bases:
picogl.backend.legacy.core.renderer.LegacyRendererGLUT teapot renderer with LegacyGLMesh, PhongMaterial, and wireframe fallback.
- mesh: picogl.renderer.legacy_glmesh.LegacyGLMesh | None = None[source]