Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RtWorldImportHints
[RtWorldImport]


Functions

void  RtWorldImportMaterialGroupHintGenerator (RtWorldImportBuildSector *buildSector, RtWorldImportHints *materialGroupHints)
void  RtWorldImportHintsSetGroup (RtWorldImportHints *hints, RtWorldImportHintGroup group)
RtWorldImportHints RtWorldImportHintsGetGroup (RtWorldImportHintGroup group)
RtWorldImportHints RtWorldImportHintsCreate (void)
RwBool  RtWorldImportHintsDestroy (RtWorldImportHints *hints)
RtWorldImportHints RtWorldImportHintsAddBoundingBoxes (RtWorldImportHints *hints, RwInt32 numBoundingBoxes)

Detailed Description

Tools to aid the build process by giving hints as to what geometry should not be split, and what geometry makes for a good partitioning guide.

Function Documentation

RtWorldImportHints* RtWorldImportHintsAddBoundingBoxes RtWorldImportHints   hints,
RwInt32    numBoundingBoxes
 

RtWorldImportHintsAddBoundingBoxes Allocates memory for a number of bounding boxes to the hints

Parameters:
hints  A pointer to the RtWorldImportHints
numBoundingBoxes  The number of boxes to be added
Returns:
A pointer to the RtWorldImportHints if successful, NULL otherwise.
See also:
RtWorldImportHintsSetGroup , RtWorldImportHintsGetGroup , RtWorldImportHintsCreate , RtWorldImportHintsDestroy , RtWorldImportMaterialGroupHintGenerator
RtWorldImportHints* RtWorldImportHintsCreate void   
 

RtWorldImportHintsCreate Creates a new set of hints, ready for populating.

Returns:
A pointer to the RtWorldImportHints
See also:
RtWorldImportHintsSetGroup , RtWorldImportHintsGetGroup , RtWorldImportHintsDestroy , RtWorldImportHintsAddBoundingBoxes , RtWorldImportMaterialGroupHintGenerator
RwBool RtWorldImportHintsDestroy RtWorldImportHints   hints
 

RtWorldImportHintsDestroy Destroys a set of hints.

Parameters:
hints  A pointer to the RtWorldImportHints
Returns:
TRUE if successful, FALSE otherwise.
See also:
RtWorldImportHintsSetGroup , RtWorldImportHintsGetGroup , RtWorldImportHintsCreate , RtWorldImportHintsAddBoundingBoxes , RtWorldImportMaterialGroupHintGenerator
RtWorldImportHints* RtWorldImportHintsGetGroup RtWorldImportHintGroup    group
 

RtWorldImportHintsGetGroup is used to get the hints that should be used while building the RpWorld

Parameters:
group  An index from RtWorldImportHintGroup to specify the hint group
Returns:
A pointer to the hints
void RtWorldImportHintsSetGroup RtWorldImportHints   hints,
RtWorldImportHintGroup    group
 

RtWorldImportHintsSetGroup is used to set the hints that should be used while building the RpWorld

Parameters:
hints  A pointer to the hints
group  An index from RtWorldImportHintGroup to specify the hint group
void RtWorldImportMaterialGroupHintGenerator RtWorldImportBuildSector   buildSector,
RtWorldImportHints   materialGroupHints
 

RtWorldImportMaterialGroupHintGenerator Generates bounding boxes around all material groups in the buildSector

Parameters:
buildSector  A pointer to the RtWorldImportBuildSector
materialGroupHints  A pointer to the RtWorldImportHints
See also:
RtWorldImportHintsSetGroup , RtWorldImportHintsGetGroup , RtWorldImportHintsCreate , RtWorldImportHintsDestroy , RtWorldImportHintsAddBoundingBoxes

Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:57 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)