Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpPatchMesh Struct Reference
[RpPatch]

Collaboration diagram for RpPatchMesh:

Collaboration graph

Data Fields

RwV3dpositions
RwV3dnormals
RwRGBApreLightColors
RwTexCoordstexCoords [rwMAXTEXTURECOORDS]
RpPatchMeshDefinition definition

Detailed Description

holds the control point data for a patch mesh. The patch mesh should be created with RpPatchMeshCreate. The patch mesh should be locked with RpPatchMeshLock before the data is edited. Quadrilateral and triangle patches can be defined from the control points with RpPatchMeshSetQuadPatch and RpPatchMeshSetTriPatch respectively. The patch mesh should be unlocked with RpPatchMeshUnlock before it is added to an RpAtomic with RpPatchAtomicSetPatchMesh.

See also:
RpPatchMeshDefinition


Field Documentation

RpPatchMeshDefinition definition
 

Patch mesh definition data.

RwV3d* normals
 

Control point normals.

RwV3d* positions
 

Control point positions.

RwRGBA* preLightColors
 

Control point pre-light colors.

RwTexCoords* texCoords[rwMAXTEXTURECOORDS]
 

Control point texture coordinates.


Criterion Software © 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:42 2004. Send Feedback