![]() TGE Version 1.5.2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SceneState Class Reference#include <sceneState.h>
Detailed DescriptionThe SceneState describes the state of the scene being rendered.It keeps track of the information that objects need to render properly with regard to the camera position, any fog information, viewing frustum, the global environment map for reflections, viewable distance and portal information.
Constructor & Destructor Documentation
Member Function Documentation
Sets the active portal.
Assigns the reference point of the SceneRenderImage. For use with translucent images.
Returns the camera position this SceneState is using.
Returns the minimum distance something must be from the camera to not be culled.
Returns the maximum distance something can be from the camera to not be culled.
Returns the ZoneState for a particular zone ID as a non-const reference.
Adds an image to be rendered by this SceneState into the proper category.
Adds a new transform portal to the SceneState.
This enables terrain to be drawn inside interiors.
Returns true if terrain is allowed to be drawn inside interiors.
Sorts the list of images, builds the translucency BSP tree, sets up the portal, then renders all images in the state.
Returns true if the object in question is going to be rendered as opposed to being culled out.
Sets the viewport and projection up for the given zone.
Sets up the projection matrix based on the zone the specified object is in.
Returns the scale of the distance based fog [used for haze].
Returns the distance at which objects are no longer visible.
Returns how far away fog is (ie, when objects will be fully fogged).
Returns the color of the fog in the scene.
Returns a texture handle to the environment map in use.
Sets up all the fog volumes in the Scene.
Returns true if the box specified is visible, taking fog into account.
Returns a value between 0.0 and 1.0 which indicates how obscured a point is by haze and fog.
Returns a value between 0.0 and 1.0 which indicates how obscured a point is by fog only.
Returns a value between 0.0 and 1.0 which indicates how obscured a point is by fog only.
Returns all fogs at a point.
Returns a value between 0.0 and 1.0 which indicates how obscured a point is by haze only.
Sorts the render images.
Builds the BSP tree of translucent images.
Inserts a translucent image into the translucent BSP tree.
Renders the translucency BSP tree.
Returns the fog bands above the world plane.
Returns the fog bands above the world plane [const].
Returns the fog bands below the world planes.
Returns the fog bands below the world planes [const].
Friends And Related Function Documentation
Field Documentation
The BSP tree for translucent objects.
Collection of ZoneStates in the scene.
Collection of images to render.
Collection of SortType::Plane images.
Collection of SortType::Point images.
Collection of SortType::BeginImage images.
Collection of SortType::EndImage images.
If true, terrain is allowed to render inside interiors.
Transform portals which have been processed by the scene traversal process.
Collection of TransformPortals.
Fog bands above the world plane.
Fog bands below the world plane.
ZoneState of the base zone of the scene.
Camera position in this state.
Minimum distance an object must be from the camera to get rendered.
Maximum distance an object can be from the camera to get rendered.
Visibility factor of the scene, used to modify fog.
This is used for portals, if this is not NULL, then this SceneState belongs to a portal, and not the main SceneState.
SceneObject which owns the current portal.
Index the current portal is in the list of portals.
Distance based, not volumetric, fog color.
Distance to distance-fog.
Visible distance of the scene.
Fog scale of the distance based fog.
Number of fog volumes in the scene.
Pointer to the array of fog volumes in the scene.
Current environment map.
If true the portal clipping plane will be reversed.
Modelview matrix this scene is based off of.
|