Jump to content
  • Advertisement
Sign in to follow this  
Spk

Instancing and animations (DX9)

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

At the moment, Ive got a flock simulation displayings over 500 sharks using instancing (
for an early-version video). The models of the sharks themselves are static (ie: not keyframe-animated nor skeleton-animated). Ive got access to a decent MD2 shark model that has animation keyframes, and I would like to animate the shark models using simple vertex-tweening technique. This is very simple to do when you draw your objects one by one: simply setup two geometry streams with frame N, and frame N+1 and then interpolate vertex position in the vertex shader. However, now that I'm using instancing to render my sharks in a single draw call, I don't know how to add support for animations yet. Any suggestions on this?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!