Raycasting TSMesh
by Jendrik Posche · in Technical Issues · 04/28/2008 (9:12 am) · 0 replies
Hi all,
Im trying to add some functionality to the ray casting. I want to raycast all triangles in a mesh. And i need some help with it.
Where can i find the triangle list in the tsmesh? So i can use that for a triangle - ray intersection test.
And how would i know if how my mesh is loaded? as triangles, trianglestrip, quads, etc?
Im trying to add some functionality to the ray casting. I want to raycast all triangles in a mesh. And i need some help with it.
Where can i find the triangle list in the tsmesh? So i can use that for a triangle - ray intersection test.
And how would i know if how my mesh is loaded? as triangles, trianglestrip, quads, etc?