Sign in to follow this  

MD2 Rendering

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

Put all your data in vertex array or dynamic VBO. It needs to be modified a bit, but it works much faster. There has been some posts how to do this in the past so I sugest you use the search function (or google if this doesn't work)

Share this post


Link to post
Share on other sites
http://www.gamedev.net/community/forums/topic.asp?topic_id=295128

heheheh, notice how i dump everything into a vertex buffer(well its just a vector then, but that gets loaded into a vertex buffer and sent to the video card), once i make sure that none of my frames are getting corrupted ;-), im going to do interpolation in a glsl program, should work out nicely, ill be using glVertexAttrib3f() (maybe thats the wrong function name, i dont have time to look it up atm though) to specify the offset into the vertex buffer, where the second bit of vertex data is, and from there i just load up the change in time (delta time) into a uniform variable, and off i go

hope that helps
-Dan

Share this post


Link to post
Share on other sites

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