Jump to content
  • Advertisement

Archived

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

bondi

performance difference between VA and CVA

This topic is 6014 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

Hi, I''ve a question about vertex array and compiled vertex array. My machine: AMD Athlon 850 Mhz and GEforce2MX. I draw an object that contains 2,5k triangles and is textured, with glDrawArrays(...); and notice the frame rate. Later I use the extension GL_EXT_compiled_vertex_array and redraw the same object. and notice no difference in the frame rate. [using: LockArraysEXT(...); glDrawArrays(...), UnLockArraysEXT();] My question: Is there a performance difference between VA and CVA?

Share this post


Link to post
Share on other sites
Advertisement
I''ve also read the GF performance FAQ on NVIDIA site. And use the
specifed format. I don''t know why there is any performance difference between VA and CVA on my program.

Should if I use glDrawElements instead of glDrawArray(), if I use
CVA?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Try drawing the mesh two times with VA and then same with CVA

If the draw calls for CVA are placed between Lock and Unlock calls, you should notice a difference.

Share this post


Link to post
Share on other sites
quote:
Original post by bondi
My question:
Is there a performance difference between VA and CVA?



no tnl Voodoo3 CVA support, 350 mhz, 13 k detailed triangles per frame

GL_TRIANGLES

without CVA normal VA
30-35 fps

with CVA
60-80 fps


Share this post


Link to post
Share on other sites
i believe VAR needs glDrawElements(..)
cva is useful when u share a lot of vertices in a model (eg multipass or a cube)
btw when u are testing for this make your window small eg 200x100 so youre not fillrate bound

http://uk.geocities.com/sloppyturds/gotterdammerung.html

Share this post


Link to post
Share on other sites
Where can I find tutorials on using CVA''s? The extension spec I looked at was from 1996 ( which said it was unfinished! ), so can anyone point me somewhere?

Cheers

Death of one is a tragedy, death of a million is just a statistic.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!