Advertisement

OpenGL Optimization

Started by February 28, 2000 11:54 AM
0 comments, last by longshot 24 years, 9 months ago
I''m playing around with OpenGL, trying make a 3D Engine (not a deluxe version :-) but still). And I am curious of what one can do to optimize the FPS count. (as for now I get around 7 FPS when I draw a Scene with 11 000 triangles). When drawing a object with 11 000 triangles.... I traverse a linked list Drawing every triangle. Does openGL draw the ones Hidden by Triangles in front or should i remove them myself. Any thoughts? What does OpenGL offer in terms of Optimization? What can I do to optimize? (in theory). Thanks in advance
Well first, you want to use an array instead of a linked list. second, you might want to consider using gl vertex arrays instead of calling glvertex over and over again. without any more details i can''t think of anything else off the top of my head.

This topic is closed to new replies.

Advertisement