Animation in Blender using Script and Math

Animation tools, character animation, non linear animation

Moderators: jesterKing, stiv

n0talentGEEK
Posts: 7
Joined: Mon May 21, 2012 1:46 am
Location: Enschede

Animation in Blender using Script and Math

Postby n0talentGEEK » Mon May 21, 2012 12:39 pm

Hello, I am new to Blender. But at least I understand the basic of this software.

I have an assignment from university, I have to make animation using mathematical function.

Is that possible to do that in Blender?
Do you have any good source or tutorial about making animation using script?

Thank you and I am sorry for asking newbie question like this. :)

CoDEmanX
Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Postby CoDEmanX » Mon May 21, 2012 5:25 pm

yes it's possible, here's an introduction to python-scripted animation:

http://www.blender.org/documentation/bl ... #animation
I'm sitting, waiting, wishing, building Blender in superstition...

n0talentGEEK
Posts: 7
Joined: Mon May 21, 2012 1:46 am
Location: Enschede

Postby n0talentGEEK » Mon May 21, 2012 9:05 pm

CoDEmanX wrote:yes it's possible, here's an introduction to python-scripted animation:

http://www.blender.org/documentation/bl ... #animation


Awesome thanks...
Can it also morph the model?

I will read carefully your link. :)

CoDEmanX
Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Postby CoDEmanX » Mon May 21, 2012 11:10 pm

i guess you could use an Armature, Lattice etc. and animate this to deform meshes. But you could also use couple other ways, like Shape Keys (vertex count has to be identical):

http://www.youtube.com/watch?v=e6d6bgrdnMQ

Code snippets for 2.5x but still useful:
http://www.blendernation.com/2010/08/08 ... -snippets/
I'm sitting, waiting, wishing, building Blender in superstition...

n0talentGEEK
Posts: 7
Joined: Mon May 21, 2012 1:46 am
Location: Enschede

Postby n0talentGEEK » Tue May 29, 2012 3:15 pm

CoDEmanX wrote:i guess you could use an Armature, Lattice etc. and animate this to deform meshes. But you could also use couple other ways, like Shape Keys (vertex count has to be identical):

http://www.youtube.com/watch?v=e6d6bgrdnMQ

Code snippets for 2.5x but still useful:
http://www.blendernation.com/2010/08/08 ... -snippets/


Yeah I thank you... that snippet help me. :D :D
And last thing... do you know how to convert the available model to code. For example I made a model and I want to see the code behind my model.

Is that possible??? Thank you and I am sorry for late reply :D

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Tue May 29, 2012 6:32 pm

how to convert the available model to code.


Models are not code, they are data. You can export your models in a number of common formats.

n0talentGEEK
Posts: 7
Joined: Mon May 21, 2012 1:46 am
Location: Enschede

Postby n0talentGEEK » Tue May 29, 2012 7:08 pm

stiv wrote:
how to convert the available model to code.


Models are not code, they are data. You can export your models in a number of common formats.


So I can make a mesh out of python code but not the the other way around (python code generate from mesh availabe)??

CoDEmanX
Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Postby CoDEmanX » Tue May 29, 2012 7:48 pm

you can, but i don't think there's an export script (yet)

have a look at this addon, especially teapot:

https://svn.blender.org/svnroot/bf-exte ... a_objects/
I'm sitting, waiting, wishing, building Blender in superstition...

n0talentGEEK
Posts: 7
Joined: Mon May 21, 2012 1:46 am
Location: Enschede

Postby n0talentGEEK » Tue May 29, 2012 8:04 pm

[quote="CoDEmanX"]you can, but i don't think there's an export script (yet)

have a look at this addon, especially teapot:

https://svn.blender.org/svnroot/bf-exte ... a_objects/[/quote

The teapot is just missing primitives if I am not wrong is not it?

Okay so come back to my first question. If I want to make a animation based on Mathematics so I must make it fully with script?

ldo
Posts: 544
Joined: Sun Nov 07, 2010 11:30 pm
Location: Hamilton, New Zealand

Postby ldo » Sat Jun 02, 2012 11:56 am

Mathematics need not be code, it can also be data.


Return to “Animation”

Who is online

Users browsing this forum: No registered users and 1 guest