|
virtual void | setAmbientFactor (float ambientFactor) |
|
virtual void | setDiffuseFactor (float diffuseFactor) |
|
virtual void | setSpecularFactor (float specularFactor) |
|
virtual void | setNearPlane (float nearPlane) |
|
virtual void | setFarPlane (float farPlane) |
|
virtual void | setAmbientOcclusion (bool value) |
|
virtual void | setContourEnabled (bool value) |
|
virtual void | setContourConstant (bool value) |
|
virtual void | setDepthFactor (float depthFactor) |
|
virtual void | setContourWidth (float width) |
|
virtual void | setAmbientIntensity (float value) |
|
virtual void | setShadowEnabled (bool value) |
|
virtual void | switchAmbientOcclusionQuality (int quality) |
|
|
| Scene () |
| Default constructor.
|
|
virtual void | initialize () |
| Overrides the abstract method in AbstractScene.
|
|
virtual void | compileShader () |
| Overrides the abstract method in AbstractScene.
|
|
virtual void | update (float t) |
| Overrides the abstract method in AbstractScene.
|
|
virtual void | render () |
| Overrides the abstract method in AbstractScene.
|
|
virtual void | resize (int width, int height) |
| Overrides the abstract method in AbstractScene.
|
|
void | renderAmbientOcclusion () |
| Renders the ambient occlusion effect. More...
|
|
virtual void | rotateAzimuth (float t) |
|
virtual void | rotatePolar (float t) |
|
void | setContext (QOpenGLContext *context) |
| A member function to set the OpenGL context. More...
|
|
QOpenGLContext * | context () const |
| A member function to get the OpenGL context. More...
|
|
virtual void | setAmbientFactor (float ambientFactor)=0 |
| Set the ambient factor for lighting. More...
|
|
virtual void | setDiffuseFactor (float diffuseFactor)=0 |
| Set the diffuse factor for lighting. More...
|
|
virtual void | setSpecularFactor (float specularFactor)=0 |
| Set the specular factor for lighting. More...
|
|
virtual void | setNearPlane (float nearPlane)=0 |
| Set the near plane of the camera. More...
|
|
virtual void | setFarPlane (float farPlane)=0 |
| Set the far plane of the camera. More...
|
|
virtual void | setAmbientOcclusion (bool value)=0 |
| Toggle ambient occlusion on/off. More...
|
|
virtual void | setShadowEnabled (bool value)=0 |
|
virtual void | setContourEnabled (bool value)=0 |
|
virtual void | setContourConstant (bool value)=0 |
|
virtual void | setDepthFactor (float depthFactor)=0 |
|
virtual void | setContourWidth (float width)=0 |
|
virtual void | setAmbientIntensity (float value)=0 |
|
virtual void | switchAmbientOcclusionQuality (int quality)=0 |
|