opengl fastest rendering function
-
- Gnoblar
- Posts: 1
- Joined: Mon Jul 26, 2004 7:45 pm
opengl fastest rendering function
Im wandering wich rendering function is the fastest to use. I currently have a quake 3 map stored completely in an ordinary triangle list. I use glDrawArrays(GL_TRIANGLES) to render the faces. I know storing triangles as tristrips is the most memory efficient way, but i like having it all as a triangle list becouse then i can use same arrays for all the physics as well. The problem is that as triangle count rizes (mainly becouse of patches) rendering gets extremely slow. Is there maybe any other way i can improve the speed? Anyone can give me a link to some good optimization how-to?
-
- Halfling
- Posts: 64
- Joined: Mon Apr 05, 2004 6:25 am
- Location: North Vancouver, Canada