Sign in to follow this  

Keyframing

This topic is 4353 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 have a keyframe model loaded into memory. I'm trying to lerp the vertices on two frames on the gpu in a vertex shader, this all works fine. My question is, what is the best way to push the vertices through? Currently I load each frame into on VBO and then use glVertexPointer/glTexCoordPointer w/ extensions for multiple texture coordinates to upload the next frame as a float3 texture coordinate. Thing is, I have 1000s of fairly small VBOs and I think this is probably not good. But I can't think of a nice way to put the whole lot into one big VBO and then reference two frames, I think that would need two sets of index buffers? Maybe VBOs are not the way to go. I'd appriciate any advice on the matter.

Share this post


Link to post
Share on other sites

This topic is 4353 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this