Sign in to follow this  
Nickie

Character Animation.

Recommended Posts

Hello!

Which is the right way of implementing skeletal animation? Does it worth?

Hardware vs software?

The first thing that pop into my mind is getting all data in memory and one dynamic vertex buffer.

Each frame calculate new vertex position in software and update the buffer? Is this the right way of doing this?

Yes or no? If no,can u give me a hint if 1-2 sentences. I don't deserve more.. after all I ask before I have tried anything ;/

Share this post


Link to post
Share on other sites

Does it worth? If your game needs it, it worths. Is your game 2D or 3D? Are your models complex (high polygon count) or simple?

Calculating vertex positions on the CPU then updating the dynamic vertex buffer will work, and having CPU access to the transformed geometry may be useful if your geometry is not complex; you could do hit-testing on the geometry itself rather than an approximation. Notice here I'm talking about skinning, not animation. Animation is always done on the CPU. That said, the big boys usually skin their big meshes on the GPU.

Share this post


Link to post
Share on other sites

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