scene module

This module processes an application’s scene objects

class scene.Scene(app)[source]

Bases: object

Manage collection of 3D objects and scene composition.

Handles scene loading, object management, and dynamic updates.

add_object(obj)[source]

Add object to scene for rendering.

Parameters:

obj (BaseModel) – 3D object to add to scene

load()[source]

Create and position all scene objects including floor, columns, cat, and moving cube.

Sets up complete 3D environment with various textures and models.

update()[source]

Update dynamic objects in scene.

Animates moving cube based on application time.