Game Development Community

Tetrahedra

by Ronald J Nelson · in Torque Game Engine Advanced · 05/25/2009 (1:18 am) · 1 replies

I am fairly sure I have seen this somewhere in the opcode stuff but I can't remember where. I am trying to create an indice set from the normal polylist that is tetrahedra based rather than triangle. I have looked all over the net and have yet to find code how to do this. can someone provide me with a little assistance on how to do this?

#1
05/26/2009 (12:42 am)
It may not be quite that simple, but take a look at the code for the PhysXViewer sample application that comes with the PhysX SDK, and specifically look in the Tools/SoftBody folder. There is source code there for a library that will convert a triangle mesh to a tetrahedral mesh.