About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
Creating and Loading in Animated Objects with Blender
Author Message
Ozmodian Offline
Member

Post: #1
Creating and Loading in Animated Objects with Blender
Hi All,

I am taking a break from my Ineisis tutorials to do one on creating and importing animated objects using Blender. I had a REALLY hard time with this (mainly because I am very bad at using 3D programs like Blender) and had an even harder time finding any help on the interwebs.

Once I finally got my head around it, I decided that I could not be the only one having this kind of trouble, so I created a tutorial.

Enjoy!

Part 1 (8:44) = http://www.youtube.com/watch?v=eIIvpfBwvQY
Part 2 (7:21) = http://www.youtube.com/watch?v=TUofUDY2DJk
04-29-2013 07:25 AM
Find all posts by this user Quote this message in a reply
candam Offline
Member

Post: #2
RE: Video Tutorial - Creating and Loading in Animated Objects with Blender
Thank you Ozmodian you tutorial really helped me special part of blender thank you pal wink

I wish you do more about the engine
04-29-2013 10:15 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: Video Tutorial - Creating and Loading in Animated Objects with Blender
Hi and thanks for sharing smile
Some hints:
You don't need to do right click and select new object, and then replace it with fbx file, but just drag and drop the fbx file to some folder in the project and it will create new object and import anims for you.
Also when you want to use different animation speeds in the game then it's much better to just pass scaled time position to the cskel.animate function like Time.time*2
04-29-2013 10:20 AM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #4
RE: Creating and Loading in Animated Objects with Blender
CANDAM Wrote:I wish you do more about the engine
What do you mean by this? I would be happy to do some other tutorials if you had specific areas you think need covering.


@Esenthel
Thanks for the tips and thanks for taking the time to watch my video. On the dragging and dropping one, I did eventually figure that out, but looking back, I am glad I showed how to add animations from the FBX file in the video so I think I will leave it in there.

The speed one is a great tip, i tried it and it works perfectly. I think I may update the video to show that. How does that work though? I thought Time.time() returns the current game time. So if 1 frame the time is 1,000 MS and then next call it is 1,100 MS, i can see how the engine can use that to step through the anim[/u]ation. However, if i then pass 560MS (time/2) how can that work?
04-29-2013 03:47 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Creating and Loading in Animated Objects with Blender
I thought you want constant speed through out the animation play, but if you want to change the speed real-time, then you can do something like this.
Code:
Flt time=0;
Flt speed=1;
void update()
{
  time+=Time.d()*speed;
  cskel.animate(.., time);
}
and somewhere in the codes adjust 'speed' to 1.0, 2.0, 0.5, or something else
04-29-2013 08:35 PM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #6
RE: Creating and Loading in Animated Objects with Blender
Hi Esenthel,

Yeah, that is probably what I am going to do. Thanks for the help as always!
04-29-2013 09:00 PM
Find all posts by this user Quote this message in a reply
nomax5 Offline
Member

Post: #7
RE: Creating and Loading in Animated Objects with Blender
Really nice tutorial Ozmodian thankyou

make more pfft
05-04-2013 11:23 AM
Find all posts by this user Quote this message in a reply
Ezequel Offline
Member

Post: #8
RE: Creating and Loading in Animated Objects with Blender
Thanks for the tutorial!
05-05-2013 12:02 AM
Find all posts by this user Quote this message in a reply
Post Reply