PDA

View Full Version : Generate Triangle strips


eric720
06-15-2007, 10:11 AM
Anybody knows a way to get the triangle strips from Mesh?
I want to get the faces share the same material in as less as possible triangle strips in order to render the mesh fast.

I am searching for any plugins or codes to do that in Max. Thanks

guruware
06-15-2007, 05:28 PM
SDK:
// build strips
Mesh::BuildStrips();

acess to built strips (public Mesh members):

// Derived table of TriStrips, depends on topology
Tab<TriStrip*> *tstab;

// derived data -- can be regenerated, depends on topo
StripTab *stab;

guruware

eric720
06-17-2007, 02:49 PM
SDK:
// build strips
Mesh::BuildStrips();

acess to built strips (public Mesh members):

// Derived table of TriStrips, depends on topology
Tab<TriStrip*> *tstab;

// derived data -- can be regenerated, depends on topo
StripTab *stab;

guruware

Thanks, checking it...

CGTalk Moderation
06-17-2007, 02:49 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.