documentation:rendering
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| documentation:rendering [2011/06/06 08:04] – created mhgamework | documentation:rendering [2024/08/26 13:25] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| SimpleRenderer should also provides methods to place lights and set ambient parameters. | SimpleRenderer should also provides methods to place lights and set ambient parameters. | ||
| - | Classes | + | ===== Classes |
| - | | + | |
| + | ==== SimpleRenderer | ||
| This Renders SimpleRenderables, | This Renders SimpleRenderables, | ||
| The renderer holds a cullcamera and a rendercamera. | The renderer holds a cullcamera and a rendercamera. | ||
| NOTE: When a renderable has changed, you must call UpdateRenderable | NOTE: When a renderable has changed, you must call UpdateRenderable | ||
| - | * ICuller | + | ==== ICuller |
| This currently only poses as a way to implement a Culler that does not cull, used in testing. | This currently only poses as a way to implement a Culler that does not cull, used in testing. | ||
| - | * FrustumCuller | + | ==== FrustumCuller |
| This frustum culler stores cullables in the leaf nodes. The visible leaf nodes can be updated. The cullables VisibleReference count is then updated. | This frustum culler stores cullables in the leaf nodes. The visible leaf nodes can be updated. The cullables VisibleReference count is then updated. | ||
| - | * SimpleBoxMesh, | + | ==== SimpleBoxMesh, |
| These are 2 renderables that can be rendered with the SimpleRenderer. They inherit from SphereMesh and BoxMesh to implement the renderer. | These are 2 renderables that can be rendered with the SimpleRenderer. They inherit from SphereMesh and BoxMesh to implement the renderer. | ||
| - | * ICullable | + | ==== ICullable |
| An cullable can have its referencecount updated by the culler. Its ReferenceCount represents the number of instances that require the cullable to be visible. When ReferenceCount equals 0 then the cullable is invisible. | An cullable can have its referencecount updated by the culler. Its ReferenceCount represents the number of instances that require the cullable to be visible. When ReferenceCount equals 0 then the cullable is invisible. | ||
| - | * ISimpleRenderable | + | ==== ISimpleRenderable |
| An object that can be rendered by the SimpleRenderer. Then renderer will only render it when the cullable has deemed it visible. | An object that can be rendered by the SimpleRenderer. Then renderer will only render it when the cullable has deemed it visible. | ||
documentation/rendering.1307347476.txt.gz · Last modified: 2024/08/26 13:57 (external edit)
