PDA

View Full Version : speed slower



moobull
05-26-2002, 05:14 PM
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??

mikael_aronsson
05-27-2002, 12:18 AM
Hi !

I guess that depends on the size of the model you load...

Mikael

moobull
05-27-2002, 05:48 PM
thank you.
but in my programme,there are a few model.if i want to add more,how can i speed up??

mikael_aronsson
05-27-2002, 10:27 PM
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