Jump to content

  • Log In with Google      Sign In   
  • Create Account

3D models 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
7 replies to this topic

#1 GuardianX   Crossbones+   -  Reputation: 1506

Like
0Likes
Like

Posted 22 March 2013 - 11:31 AM

Hello guys.

 

It is strange, but I can not find any good tutorials about 3D model animation implementation in DirectX 10-11 and C++. I wonder how does animation data usually being stored in files, should I use dynamic vertex buffers or there are other widely used techinques out there? Could someone provide some indepth information on this subject?



Sponsor:

#2 Anddos   Members   -  Reputation: 501

Like
1Likes
Like

Posted 22 March 2013 - 04:31 PM

www.braynzarsoft.net


:)

#3 GuardianX   Crossbones+   -  Reputation: 1506

Like
0Likes
Like

Posted 23 March 2013 - 06:07 AM

www.braynzarsoft.net

 

Thanks for responding. But the only tutorial I can see on this site is about font rendering engine.



#4 GuardianX   Crossbones+   -  Reputation: 1506

Like
0Likes
Like

Posted 24 March 2013 - 12:24 PM

Noone have ever implemented animation? Come on guys, share your knowledge! =)



#5 Steve_Segreto   Crossbones+   -  Reputation: 1532

Like
1Likes
Like

Posted 24 March 2013 - 12:57 PM

The question in your first post is a bit contradictory, you ask "I wonder how the data is stored in files"? Then you move on to asking about whether you should use a dynamic vertex buffer, etc.

 

Storing animation/skeleton data in a disk file often does not translate directly into any particular rendering API (though sometimes it does for optimization, like on the Wii).

 

Anyway, it's still hard to answer your question because a "sample" type of answer will not be very scalable to your particular needs. Additionally, cutting and pasting some highly engine specific and application specific code snippets also doesn't do much good.

 

What have you tried? How well do you understand the concepts of skinned character animation and skeletal hierarchies? Start with Frank Luna's excellent PDF to get the basics down and then you should be able to pick the API du jour to accomplish what you want.

 

http://mathinfo.univ-reims.fr/image/dxMesh/extra/d3dx_skinnedmesh.pdf

 

Don't let the D3D9/D3DX throw you off. Learn the concepts then you can translate them to D3D11 and XNAMATH very easily.



#6 Anddos   Members   -  Reputation: 501

Like
1Likes
Like

Posted 26 March 2013 - 10:22 AM

dont you see these ?, http://www.braynzarsoft.net/index.php?p=DX11Lessons


:)

#7 GuardianX   Crossbones+   -  Reputation: 1506

Like
0Likes
Like

Posted 17 April 2013 - 11:17 AM

dont you see these ?, http://www.braynzarsoft.net/index.php?p=DX11Lessons

 

Wow, thank you. Yeah at first glance didn't see those tutorials. The style of the site is overwhelming a bit xD



#8 VladR   Members   -  Reputation: 722

Like
0Likes
Like

Posted 17 April 2013 - 11:24 AM

Are you sure you want to go for IK/FK ? 

 

There is another option for you - frame interpolation where you have basically all frames exported as a 3d mesh from your modelling SW and just interpolate between last and current frame in the vertex shader.

 

This is drop-dead easy to implement and you don't have to bother with skinning. Depending on style of the game, you might not need IK/FK.

 

As for the duplicity of the data - that's what the vertex compression (store normals as Bytes, not floats) and vertex streams (e.g. for UV) are for.


VladR    My 3rd person action RPG on GreenLight:    http://steamcommunity.com/sharedfiles/filedetails/?id=92951596

 





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