picogl.examples.modern_textured_teapot
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
Functions
|
Set up the textured teapot object and show it. |