vertices count in a mesh

Blitz3D Forums/Blitz3D Programming/vertices count in a mesh

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.

this works, Sergio !

Graphics3D 640, 480
mesh=LoadMesh("C:\Program Files\Blitz3D\Samples\Blitz 3D Samples\mak\driver\car.x")
surfaces=CountSurfaces(mesh)
For s=1 To surfaces
ss=GetSurface(mesh,s)
vertices=CountVertices(ss)
For v=0 To vertices-1
Print VertexX(ss,v)
Next
Next

the idea seems to use getsurface ... ti ringrazio molto, ciao