[ODE] build Trimesh using 3ds

Aras Pranckevicius nearaz at interamotion.com
Sat Apr 24 13:25:54 MST 2004


>  I want build triMesh from some 3ds file. How i can do it ?

1. Load 3ds file with whatever means you have. As a result you must get array 
of vertices (only their coordinates matter), and array of triangles (for each 
triangle, you know which vertices make it).

2. Supply those vertex positions and indices (3 indices for each triangle) to 
trimesh build function :)


Aras Pranckevicius aka NeARAZ
http://www.gim.ktu.lt/nesnausk/nearaz/



More information about the ODE mailing list