Animation by code
-
- Gnoblar
- Posts: 6
- Joined: Fri Jul 24, 2009 12:55 pm
Animation by code
Is it possible to make an animation without a framework like Blender?
I'm using Python-Ogre and I want to make an animation by code, but all examples of animations I've seen were made on Blender or other framework of modelling and animation.
I'm using Python-Ogre and I want to make an animation by code, but all examples of animations I've seen were made on Blender or other framework of modelling and animation.
- spacegaier
- OGRE Team Member
- Posts: 4304
- Joined: Mon Feb 04, 2008 2:02 pm
- Location: Germany
- x 135
- Contact:
Re: ANIMATION BY CODE
Quatro Post
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
- mkultra333
- Gold Sponsor
- Posts: 1894
- Joined: Sun Mar 08, 2009 5:25 am
- x 114
Re: ANIMATION BY CODE
fabioclm, it's not considered good form to post the same question to multiple forums at the same time. Also, using all capital letters isn't a good thing. You'll probably get a more sympathetic response if you post to just one forum and use better grammer.
"In theory there is no difference between practice and theory. In practice, there is." - Psychology Textbook.
-
- Gnoblar
- Posts: 6
- Joined: Fri Jul 24, 2009 12:55 pm
Re: ANIMATION BY CODE
i'm so sorry man...
i'm desparate.. i have to finish my issue until september and i couldn't have anything.
i'm desparate.. i have to finish my issue until september and i couldn't have anything.
- Kencho
- OGRE Retired Moderator
- Posts: 4011
- Joined: Fri Sep 19, 2003 6:28 pm
- Location: Burgos, Spain
- x 2
- Contact:
Re: ANIMATION BY CODE
Well, rules exist for a reason. First of all, I would edit the first post to avoid the all-caps (title included)
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Animation by code
I edited your horrible post, Fabioclm.
You can do animations purely in code - but why would you want to do that?
Essentially, it requires you to write several thousand lines of code.
If you want decent animations.
What sort of animations do you have in mind?
You can do animations purely in code - but why would you want to do that?
Essentially, it requires you to write several thousand lines of code.
If you want decent animations.
What sort of animations do you have in mind?
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
-
- Gnoblar
- Posts: 6
- Joined: Fri Jul 24, 2009 12:55 pm
Re: Animation by code
my apologies again and thanks to answer me.
I want to develop a animation based in a text that the user will write. When the user write "colour" for example, the avatar will anim the word "colour" in deaf language.
I think that i can anim by code just change the params of rotation and translation. I think in a list of params in a XML file and use it to anim.
If i anim by code the performance is better than the anim by blender?
Thanks again
I want to develop a animation based in a text that the user will write. When the user write "colour" for example, the avatar will anim the word "colour" in deaf language.
I think that i can anim by code just change the params of rotation and translation. I think in a list of params in a XML file and use it to anim.
If i anim by code the performance is better than the anim by blender?
Thanks again
- Kencho
- OGRE Retired Moderator
- Posts: 4011
- Joined: Fri Sep 19, 2003 6:28 pm
- Location: Burgos, Spain
- x 2
- Contact:
Re: Animation by code
Nope, but the opposite. You'll only gain in disk space, and I'm not really sure about that. My suggestion is to bake the different animations in Blender and then use them sequentially.
Even procedural animation systems like Natural Motion's often use hand-made animations as a basis for the animation programs.
Even procedural animation systems like Natural Motion's often use hand-made animations as a basis for the animation programs.
-
- Gnoblar
- Posts: 6
- Joined: Fri Jul 24, 2009 12:55 pm
Re: Animation by code
hum... thanks again for the answers....
i have another doubt...
I have to do a lot of "states" of animation like, "walk", "run", "drink", "eat" ...
i'm worried about the performace of my software if i have many "states" animed in blender.
Thanks again
i have another doubt...
I have to do a lot of "states" of animation like, "walk", "run", "drink", "eat" ...
i'm worried about the performace of my software if i have many "states" animed in blender.
Thanks again
- Kencho
- OGRE Retired Moderator
- Posts: 4011
- Joined: Fri Sep 19, 2003 6:28 pm
- Location: Burgos, Spain
- x 2
- Contact:
Re: Animation by code
Even better. Think it this way. When you used premade animations, you're querying a lookup table. If you do that through code, you're calculating the values yourself (which is more expensive). If you're blending 3 animations, that performance difference is even bigger. I still bet for the premade animations.
-
- Gnoblar
- Posts: 6
- Joined: Fri Jul 24, 2009 12:55 pm
Re: Animation by code
humm... thanks a lot kencho.. i'm very surprised about this.
Having knowledge about this i need a advice for my project.
I will have a lot of states in my blend file and i need to do a subtle moviment between the states but the states don't appears sequentially, it's random.
Do you have an idea?
regards
Having knowledge about this i need a advice for my project.
I will have a lot of states in my blend file and i need to do a subtle moviment between the states but the states don't appears sequentially, it's random.
Do you have an idea?
regards
- steven
- Gnoll
- Posts: 657
- Joined: Mon Feb 28, 2005 1:53 pm
- Location: Australia - Canberra (ex - Switzerland - Geneva)
- Contact:
Re: Animation by code
Take a look at http://www.gamasutra.com/features/20030 ... l_01.shtml
and http://www.ogre3d.org/forums/viewtopic.php?f=11&t=45260
If you achieve this I would be interested in some code
and http://www.ogre3d.org/forums/viewtopic.php?f=11&t=45260
If you achieve this I would be interested in some code