var / vao example program
Hi, I wrote a small var/vao example program. If anyone is interested in checking it out the location is:
www.genericengine.com/var_vao_tutorial.zip
The demo renders 2 cubes either using VAO or VAR depending on if you have an Nvidia or ATI graphics card.
The top cube is rendered without interleaved arrays and the bottom cube with interleaved arrays.
I used the above code to let milkshape3d models render using var/vao (using GL_TRIANGLES, NOT triangle strips and without interleaved arrays). When drawing 1000 cubes I got only around 1 million triangles per second on my GF3 TI 200. With detailed spheres (over 100 triangles per sphere) I got 5.3 million triangles per second which is much better.
Let me know if there are any bugs, mistakes, or better ways to increase performance.
Thanks.
Nitzan
-------------------------
www.geocities.com/nitzanw
www.scorchedearth3d.net
-------------------------
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement