|
| | cShadowMap () |
| | Constructor of cShadowMap. More...
|
| |
| virtual | ~cShadowMap () |
| | Destructor of cShadowMap. More...
|
| |
| void | setEnabled (bool a_enabled) |
| | This method enables or disables this shadow map. More...
|
| |
| bool | getEnabled () const |
| | This method returns true if the this shadow map is enabled, false otherwise. More...
|
| |
| void | setQualityVeryLow () |
| | This method sets the quality resolution of the shadow map to 256 x 256 pixels. More...
|
| |
| void | setQualityLow () |
| | This method sets the quality resolution of the shadow map to 512 x 512 pixels. More...
|
| |
| void | setQualityMedium () |
| | This method sets the quality resolution of the shadow map to 1024 x 1024 pixels. More...
|
| |
| void | setQualityHigh () |
| | This method sets the quality resolution of the shadow map to 2048 x 2048 pixels. More...
|
| |
| void | setQualityVeryHigh () |
| | This method sets the quality resolution of the shadow map to 4096 x 4096 pixels. More...
|
| |
| virtual void | render (cRenderOptions &a_options) |
| | This method contains the OpenGL rendering code for shadow maps. (Do not call this code directly.) More...
|
| |
| bool | updateMap (const int a_displayContext, cWorld *a_world, const cVector3d &a_lightPos, const cVector3d &a_lightLookat, const cVector3d &a_lightUp, const double a_lightFieldViewAngle, const double a_distanceNear, const double a_distanceFar, const double a_mirrorH, const double a_mirrorV) |
| | This method updates the shadow map. (Do not call this code directly.) More...
|
| |
| | cFrameBuffer () |
| | Constructor of cFrameBuffer. More...
|
| |
| virtual | ~cFrameBuffer () |
| | Destructor of cFrameBuffer. More...
|
| |
| void | setup (cCamera *a_camera=NULL, const unsigned int a_width=0, const unsigned int a_height=0, const bool a_enableImageBuffer=true, const bool a_enableDepthBuffer=true) |
| | This method initializes the framebuffer. More...
|
| |
| void | renderView (const cEyeMode a_eyeMode=C_STEREO_LEFT_EYE, const int a_displayContext=0) |
| | This method renders the framebuffer view. More...
|
| |
| void | copyImageBuffer (cImagePtr a_image, const int a_displayContext=0) |
| | This method copies the framebuffer content to an image. More...
|
| |
| void | copyDepthBuffer (cImagePtr a_image, const int a_displayContext=0) |
| | This method copies the depth buffer content to an image. More...
|
| |
| void | setCamera (cCamera *a_camera) |
| | This method attaches a camera to the framebuffer. More...
|
| |
| cCamera * | getCamera () |
| | This method returns a pointer to the camera attached to the framebuffer. More...
|
| |
| unsigned int | getWidth () const |
| | This method returns the width in pixels of the framebuffer. More...
|
| |
| unsigned int | getHeight () const |
| | This method returns the height in pixels of the framebuffer. More...
|
| |
| void | setSize (const unsigned int a_width, const unsigned int a_height) |
| | This method sets the resolution of the framebuffer by defining its width and height in pixels. More...
|
| |
| bool | renderInitialize (const int a_displayContext=0) |
| | This method initializes rendering to the framebuffer. More...
|
| |
| bool | renderFinalize (const int a_displayContext=0) |
| | This method finalizes the rendering to the framebuffer. More...
|
| |
This class implements a shadow map texture for spot lights (cSpotLight).