Inheritance diagram for OgreReducedCubeMapRenderingRun:
Public Member Functions | |
OgreReducedCubeMapRenderingRun (OgreSharedRuns *sharedRuns, String name, unsigned long startFrame, unsigned long updateInterval, unsigned int resolution, bool useDistCalc=false, bool useFaceAngleCalc=false, float distTolerance=15, float angleTolerance=10, bool updateAllFace=false) | |
Constructor. | |
String & | getReducedCubeMapTextureName () |
returns the name of the resulting reduced sized color cubemap texture | |
Protected Member Functions | |
void | createReducedCubeMap () |
Creates the reduced size cubemap texture. | |
void | updateCubeFace (int facenum) |
Updates one face of the cubemap. | |
bool | faceNeedsUpdate (int facenum) |
Checks if a cubemap face needs to be updated. | |
Protected Attributes | |
OgreSharedRuns * | sharedRuns |
a pointer to the OgreSharedRuns this run belongs to | |
String | name |
the name of the cubemap texture that was created by this run | |
Texture * | reducedCubemapTexture |
a pointer to the cubemap texture that was created by this run |
|
Constructor.
|
|
Checks if a cubemap face needs to be updated. If the object we are updating the cubemap for is far from the camera, or too small, or the given cubemapface does not have significant effect on the rendering the face can be skipped.
Implements ReducedCubeMapRenderingRun. |
|
Updates one face of the cubemap.
Implements ReducedCubeMapRenderingRun. |