3d format

Blitz3D Forums/Blitz3D Programming/3d format

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.

Have a look at the CountTriangles() and TriangleVertex() commands. Also, this:

For v=1 To CountVertices(surf)


should be changed to this:

For v=0 To CountVertices(surf)-1


as vertex indices start at 0, not 1.