nSubdivShapeNode Class Reference
[Scene System]
#include <nsubdivshapenode.h>
Inheritance diagram for nSubdivShapeNode:

Detailed Description
Takes an input mesh and renders a tesselated mesh (FIXME: for now a pointlist based on subdivision parameters.(C) 2003 RadonLabs GmbH
Definition at line 17 of file nsubdivshapenode.h.
Public Member Functions | |
| nSubdivShapeNode () | |
| constructor | |
| virtual | ~nSubdivShapeNode () |
| destructor | |
| virtual bool | SaveCmds (nPersistServer *ps) |
| object persistency | |
| virtual bool | ApplyShader (nSceneServer *sceneServer) |
| perform pre-instancing rending of shader | |
| virtual bool | ApplyGeometry (nSceneServer *sceneServer) |
| perform pre-instancing rending of geometry | |
| virtual bool | RenderGeometry (nSceneServer *sceneServer, nRenderContext *renderContext) |
| render geometry | |
| virtual int | GetMeshUsage () const |
| get the mesh usage flags required by this shape node | |
| void | SetSegmentSize (float s) |
| set the desired segment size | |
| float | GetSegmentSize () const |
| get segment size | |
| void | SetMaxDistance (float d) |
| set max distance for subdivision (ignores triangles which are further away) | |
| float | GetMaxDistance () const |
| get max distance for subdivision | |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 12 of file nsubdivshapenode_main.cc. |
|
|
destructor
Definition at line 22 of file nsubdivshapenode_main.cc. |
Member Function Documentation
|
|
object persistency
Reimplemented from nShapeNode. |
|
|
perform pre-instancing rending of shader Apply shader variables. Reimplemented from nMaterialNode. Definition at line 55 of file nsubdivshapenode_main.cc. |
|
|
perform pre-instancing rending of geometry
Reimplemented from nShapeNode. Definition at line 45 of file nsubdivshapenode_main.cc. |
|
||||||||||||
|
render geometry NOTE: expects input geometry with the following vertex components: coord | normal | tangent | uv0 | uv1
Reimplemented from nShapeNode. Definition at line 82 of file nsubdivshapenode_main.cc. |
|
|
get the mesh usage flags required by this shape node This method must return the mesh usage flag combination required by this shape node class. Subclasses should override this method based on their requirements.
Reimplemented from nShapeNode. Definition at line 36 of file nsubdivshapenode_main.cc. |
|
|
set the desired segment size
Definition at line 54 of file nsubdivshapenode.h. |
|
|
get segment size
Definition at line 65 of file nsubdivshapenode.h. |
|
|
set max distance for subdivision (ignores triangles which are further away)
Definition at line 75 of file nsubdivshapenode.h. |
|
|
get max distance for subdivision
Definition at line 86 of file nsubdivshapenode.h. |
The documentation for this class was generated from the following files: