mesh to particle system

Blitz3D Forums/Blitz3D Programming/mesh to particle system

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The command you need is TriangleVertex but for this you need to use the triangle index, not the vertex index. So, to get the 3 verts of a given triangle, you use something like:

v0 = TriangleVertex(surf,tri_index,0)
v1 = TriangleVertex(surf,tri_index,1)
v2 = TriangleVertex(surf,tri_index,2)


Also, maybe this demo I did a ways back might be of interest?
http://www.blitzbasic.com/codearcs/codearcs.php?code=680