Archived

This topic is now archived and is closed to further replies.

10 triangles=major slowdown?

This topic is 5972 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well, in my "engine" (notice the quotes ) I ahve it so if you press a key (S) it will add a triangle, then if you press a key(A) it will remove a triangle. So I was just playing around wiht it and I noticed that after about 10 triangles I get a major slowdown. Now im assuming this is because of bad programming on my part...cause I dont think OpenGL is that slow. So, any ideas why i would get the slowdown? thanks PS: I can post some code if you would want to see some. McDougal...DUCK McDougal

Share this post


Link to post
Share on other sites
Where are you drawing these triangles, if they are all on top of each other it will go slow cos of overdraw. 10 triangles placed about the screen would not make it slow down very much.

Fatalxc

Share this post


Link to post
Share on other sites
Well then the slowdown is probably a direct result of actually drawing the triangles, unless you are using a texture per triangle ... Just get a NeHe demo to see how to draw a triangle properly, if his stuff slows down as well, its not your programs problem.

Fatalxc

Share this post


Link to post
Share on other sites
yeah, im using nehes tutorials and everything, I just got to my other ho8use today, and i have a 64MB GeForce2 here, and there is no slowdown (compared to my other house with an 8MB ati age pro turbo with major slowdown) so it may be my gfx card is too weak. thanks for the info

Share this post


Link to post
Share on other sites