Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpPatchMesh Struct Reference
[RpPatch]

Collaboration diagram for RpPatchMesh:
Collaboration graph

Data Fields

RwV3d positions
RwV3d normals
RwRGBA preLightColors
RwTexCoords texCoords [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-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:06 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)