Click here to Skip to main content
15,884,425 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have created a 3D model with bones using Blender. now i want to access this 3d model using a visual studio application(C# or C++). as an example there are few buttons. one is "rise your left hand". once i press it left hand of 3d model is getting rise. using blender i can animate this 3d model so that left hand rising. but my problem is my system need to display more than 50 pre-animated actions (turn head to left side, etc) and need to call them once each buttons press. so i want to know how i store this 3d models so that i can call. but another problem is then database of file size will be very large because of size of each 3d model will be large. but i have an idea to store only the movement of skeleton(bones) and bind the bone movement with 3d models frame by frame problematically using the application. so i need your help to know the possibility of implementing this and if you have any suggestion idea, let me know. i am a student and this is for my final year project. thanks for every helps..
Posted

1 solution

You don't store the movements of every frame. You store the positions, referred to as "keyframes" for various pieces to move to. Your animation engine then has to figure out the intermediate positions of the various parts based on the amount of time it should take to move the parts to those positions from their current positions and incrementally move the parts, frame-by-frame, called "interpolation".
 
Share this answer
 
Comments
Espen Harlinn 28-Jan-13 14:38pm    
Right :-D

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900