Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RtVCAT
[Meshes]


Functions

RpMeshHeaderRpBuildMeshGenerateCacheAwareTriStrip (RpBuildMesh *buildMesh, void *data)

Detailed Description

Vertex Cache Aware Tristripping Toolkit for RenderWare.

RtVCAT Toolkit Overview

Requirements

Overview

The RtVCAT (Vertex Cache Aware Tristripper) toolkit provides a custom tristripping callback for generating tristrips that respect a vertex cache of a given size. By generating tristrips that re-use vertices which are already in the post transform and light cache as much as possible, large rendering performance increases can be gained (as much as 200% in some cases!) over models stripped with other RenderWare tristrippers which were designed for platforms such as PlayStation 2 which do not have a post transform and light cache. However, this comes at the cost of additional degenerate triangles so RtVCAT is not the best tristripper to choose for those platforms.

For a detailed explanation see the XDK whitepaper "Xbox Vertex Performance.doc".

Currently, RtVCAT is hardcoded to optimize for the Xbox and GeForce 3 post transform and light cache size.

RtVCAT is activated in the RenderWare exporters by selecting the "Cache Aware (Xbox and GeForce 3)" tristrip method option.

RtVCAT is implemented with xbStrip, Microsoft's tristripping code available on the Xbox XDK.

Copyright Criterion Software Limited


Function Documentation

RpMeshHeader* RpBuildMeshGenerateCacheAwareTriStrip RpBuildMesh   buildMesh,
void *    data
 

RpBuildMeshGenerateCacheAwareTriStrip generates a vertex cache aware triangle strip.

Parameters:
buildMesh  pointer to the mesh which the triangle strip will be generated from.
data  pointer to user-supplied data to pass to the callback function.
Returns:
a pointer to the constructed mesh header.
See also:
RpMeshGetTriStripMethod , RpMeshSetTriStripMethod , RpBuildMeshGenerateDefaultTriStrip , RpBuildMeshGeneratePreprocessTriStrip , RpBuildMeshGenerateExhaustiveTriStrip , RpBuildMeshGenerateTrivialTriStrip , RpBuildMeshGenerateDefaultIgnoreWindingTriStrip , RpBuildMeshGeneratePreprocessIgnoreWindingTriStrip , RpBuildMeshGenerateExhaustiveIgnoreWindingTriStrip


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