Jump to content

  • Log In with Google      Sign In   
  • Create Account

Character Animation.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Nickie   Members   -  Reputation: 322

Like
0Likes
Like

Posted 23 March 2013 - 10:33 AM

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 ;/



Sponsor:

#2 Amr0   Members   -  Reputation: 1114

Like
2Likes
Like

Posted 23 March 2013 - 01:08 PM

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.



#3 Nickie   Members   -  Reputation: 322

Like
0Likes
Like

Posted 24 March 2013 - 01:50 AM

Thank you. Everything I needed.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS