Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RtGCondParameters Struct Reference
[RtGCond]


Data Fields

RwInt32 flags
RwReal weldThreshold
RwReal angularThreshold
RwReal uvThreshold
RwReal preLitThreshold
RwReal areaThreshold
RwReal uvLimitMin
RwReal uvLimitMax
RwBool texelLimits
RwTextureAddressMode textureMode [rwMAXTEXTURECOORDS]
RwReal polyNormalsThreshold
RwReal polyUVsThreshold
RwReal polyPreLitsThreshold
RwInt32 decimationMode
RwInt32 decimationPasses
RwInt32 convexPartitioningMode

Detailed Description

Parameters used with provided geometry conditioning pipeline(s). They are initialized to default values using RtGCondParametersInit.


Field Documentation

RwReal angularThreshold
 

angular threshold for vertex welding, in degrees, -1.0f disables the test

RwReal areaThreshold
 

area threshold for removal of zero area polygons, -1.0f disables the test

RwInt32 convexPartitioningMode
 

Controls the way polygons are subdivided into triangles. Choose one of RtWingEdgePartitioning

RwInt32 decimationMode
 

Controls the way edge decimation proceeds, 1 is default, 2 is alternative

RwInt32 decimationPasses
 

Determines the number of passes through the geometry looking for opportunities to weld polygon pairs

RwInt32 flags
 

geometry attribute flags

RwReal polyNormalsThreshold
 

fractional range which polygons normal area have to fall within to be welded, -1.0f disables the test

RwReal polyPreLitsThreshold
 

fractional range which polygons prelit area have to fall within to be welded, -1.0f disables the test

RwReal polyUVsThreshold
 

fractional range which polygons uv area have to fall within to be welded, -1.0f disables the test

RwReal preLitThreshold
 

prelight threshold for vertex welding, -1.0f disables the test

RwBool texelLimits
 

Specifies if texel based UV limits should be used

RwTextureAddressMode textureMode[rwMAXTEXTURECOORDS]
 

For each element set to rwTEXTUREADDRESSWRAP, weld vertices according to mod(1) congruent texture coordinates |0-1|0-1|0-1| -> |0-1|1-2|2-3| -> |0 3|

RwReal uvLimitMax
 

maximum limit for uv coords

RwReal uvLimitMin
 

minimum limit for uv coords

RwReal uvThreshold
 

uv threshold for vertex welding, -1.0f disables the test

RwReal weldThreshold
 

positional threshold for vertex welding, -1.0f disables the test


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