Jump to content
  • Advertisement

Archived

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

p_mxv

Can we alternate memory in VBO's

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

I recently put my 12000 vertcie''s model into a VB0 and it went from 16fps to 700fps. Obvisouly I want to keep it in the VBO so i was just wondering how and if you can alternate the memory inside the VBO in order to perform say animation. If this does not work does anyone know any good techniques?

Share this post


Link to post
Share on other sites
Advertisement
What do u mean by alternate?

If it is switching to another array, just call glVertexPointer. If you mean modifying the data of the VBO, you cant do it directly but you can use STREAM/DYNAMIC to flag that data as dynamic and alter your array every frame/everytime u need to.

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!