Defines |
|
#define | rwPDS_G3x_OPLClone_CodeArraySize |
#define | rwPDS_G3x_OPLClone_MatPipeRegister() |
#define | rwPDS_G3x_OPLClone_AtmPipeRegister() |
Functions |
|
RpAtomic * | RpPDS_G3x_OPLCloneRender (RpAtomic *atomic, RwFrame **cloneFrames, RwUInt32 numClones, RwRGBAReal *cloneColors) |
Variables |
|
void * | rwPDS_G3x_OPLClone_VU1Transforms [rwPDS_G3x_OPLClone_CodeArraySize] |
RpPDSSkyVU1CodeTemplate | rwPDS_G3x_OPLClone_VU1Code |
RwUInt64 | G3x_OPLCloneLinePER |
RwUInt64 | G3x_OPLClonePER |
RpPDSSkyMatTemplate | rwPDS_G3x_OPLClone_MatPipe |
RpPDSSkyObjTemplate | rwPDS_G3x_OPLClone_AtmPipe |
Projection: Perspective correct projection Primitive: Triangle strips Triangle list Lighting: Object pre-light color Single color per clone Clipping: Fast path rendering Triangle fast culling Cloning: 48 maximum clones Fog: All primitives support linear fog
This pipeline supports object cloning. This allows the application to render an atomic once specifiying an array of RwFrame pointers describing the clone locations. Using a cloning pipeline greatly improves rendering and submission performance. The atomic itself is not rendered hence it's matrix is ignored and not considered one of the clones.
A set of object clones should be rendered by calling RpPDS_G3x_OPLCloneRender. This function will test the clones visibility against the current view frustum and batch the clones for rendering.
|
Object pipe register
|
|
VU1 Code array size
|
|
Material pipe register
|
|
This function should be used to render a collection of unlit clones. The array of clone frames define the positions of the individual clones. The position of the atomic itself is ignored and isn't rendered. There is no need to initialized any custom lighting buffer before rendering the clones. This function should be used in place of RpAtomicRender
|
|
VU1 code array node elements
|
|
VU1 code array node elements
|
|
Object pipeline template defines
|
|
Material pipeline template defines
|
|
VU1 code template
|
|
VU1 code array
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |