i used 3d exloration to load a 3d model into my projection(visual c++),then the execution speed became slower,dropping from 25 fps to 0.8fps.why??? are the vertexes too much??
Hi !
I guess that depends on the size of the model you load…
Mikael
thank you.
but in my programme,there are a few model.if i want to add more,how can i speed up??
Hi !
It depends on how you render the geometry, if you just do:
glBegin( GL_TRIANGLES);
glVertex…
glEnd()
For all your geometry, then it becomes pretty slow, put everything in a display list to speed it up a bit, you can also use vertex arrays and a few other tricks to, have a look at the FAQ on this website, these is some ueful information to get you started there.
Mikael