Painting tris/faces

Blitz3D Forums/Blitz3D Programming/Painting tris/faces

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.

Well, you could easily find the edge with the longest edge, with some simple maths. If you know the triangle you have, you can find the triangles vertices. Using this information, and upon finding the triangle with the longest edge, you can search the entire meshes triangles and find one that has the two of your vertices in it. There should only be one in the mesh at most.