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

BASE_DIR

GLSL_DIR

Functions

main() → None

Set up the textured teapot object and show it.

Module Contents

picogl.examples.modern_textured_teapot.BASE_DIR[source]
picogl.examples.modern_textured_teapot.GLSL_DIR[source]
picogl.examples.modern_textured_teapot.main() → None[source]

Set up the textured teapot object and show it.