Compounds | |
class | Teddy::Scenes::Camera |
Camera. More... | |
class | Teddy::Scenes::Ellipsoid |
class | Teddy::Scenes::PostElement |
Postprocessing rendering element. More... | |
class | Teddy::Scenes::Scene |
Collections of Models, Lights and Cameras. More... | |
class | Teddy::Scenes::SkyBox |
Camera skybox model. More... |
To display Teddy scene you must have PhysicalComponents::Projection, Scenes::Camera and Scenes::Scene. These three are independent. You can have several scenes, one camera, and several projections, or one scene, several cameras, and one or more projections.
Projection are spesifies some rendering preferences for that spesific area. Examples of such preferences are: lighting model, filled/outline polygons, and coloring.
Camera spesifies the viewing position, direction and field of vision. In the implementation Camera is responsible for negotiating projection and modelview matrices.
Scene simply contains all lightsources and models in the scene.