demosys.scene package

Submodules

demosys.scene.camera module

demosys.scene.object module

demosys.scene.scene module

Wrapper for a loaded scene with properties.

class demosys.scene.scene.Scene(name, loader=None, mesh_shaders=None, **kwargs)

Bases: object

Generic scene

apply_mesh_shaders()

Applies mesh shaders to meshes

calc_scene_bbox()

Calculate scene bbox

draw(m_proj, m_mv)
draw_bbox(m_proj, m_mv, all=True)

Draw scene and mesh bounding boxes

load(path)

Deferred loading if a loader is specified

Module contents