picogl.examples.modern_textured_teapot ====================================== .. py:module:: picogl.examples.modern_textured_teapot .. autoapi-nested-parse:: Textured PicoGL Teapot Example This example demonstrates how to load and render a textured teapot using PicoGL. It uses the TextureRenderer to handle texture loading and rendering. Features: - Loads teapot2.obj with UV coordinates - Applies texture from resources directory - Supports multiple texture formats (DDS, TGA, PNG) - Interactive controls for rotation and zoom - Mixes texture with vertex colors 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 ---------- .. autoapisummary:: picogl.examples.modern_textured_teapot.BASE_DIR picogl.examples.modern_textured_teapot.GLSL_DIR Functions --------- .. autoapisummary:: picogl.examples.modern_textured_teapot.main Module Contents --------------- .. py:data:: BASE_DIR .. py:data:: GLSL_DIR .. py:function:: main() -> None Set up the textured teapot object and show it.