uzik
02-25-2004, 02:06 AM
It's really ugly, can anyone suggest anything?
I'm building a mesh in a loop.
It's not even a large
mesh and it's crashing max clear
to the desktop.
Here's the general scenario:
I calculate a vertex and add it
to the mesh using setNumVerts().
I set the vertex point with SetVert().
I loop through a number of vertices.
Then I add faces to the mesh and
set the face vertex indices. I rotate
the mesh and then go through the
loop again to add the next row of
faces.
As soon as I do an update mesh
it crashes to the desktop.
Any ideas? Thanks!
I'm building a mesh in a loop.
It's not even a large
mesh and it's crashing max clear
to the desktop.
Here's the general scenario:
I calculate a vertex and add it
to the mesh using setNumVerts().
I set the vertex point with SetVert().
I loop through a number of vertices.
Then I add faces to the mesh and
set the face vertex indices. I rotate
the mesh and then go through the
loop again to add the next row of
faces.
As soon as I do an update mesh
it crashes to the desktop.
Any ideas? Thanks!
