Posted: Mon May 21, 2012 11:39 am
Joined: 21 May 2012
Posts: 7
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.
Posted: Mon May 21, 2012 4:25 pm
Joined: 05 Apr 2009
Posts: 680
yes it's possible, here's an introduction to python-scripted animation:
http://www.blender.org/documentation/blender_python_api_2_63_5/info_quickstart.html#animation_________________
I'm sitting, waiting, wishing, building Blender in superstition...
Posted: Mon May 21, 2012 8:05 pm
Joined: 21 May 2012
Posts: 7
Awesome thanks...
Can it also morph the model?
I will read carefully your link.
Posted: Mon May 21, 2012 10:10 pm
Joined: 05 Apr 2009
Posts: 680
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/blender-2-5-python-code-snippets/_________________
I'm sitting, waiting, wishing, building Blender in superstition...
Posted: Tue May 29, 2012 2:15 pm
Joined: 21 May 2012
Posts: 7
Yeah I thank you... that snippet help me.
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
Posted: Tue May 29, 2012 5:32 pm
Joined: 05 Aug 2003
Posts: 3485
| Quote: |
| 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.
Posted: Tue May 29, 2012 6:08 pm
Joined: 21 May 2012
Posts: 7
| stiv wrote: |
| Quote: | | 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)??
Posted: Tue May 29, 2012 6:48 pm
Joined: 05 Apr 2009
Posts: 680
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-extensions/trunk/py/scripts/addons/add_mesh_extra_objects/_________________
I'm sitting, waiting, wishing, building Blender in superstition...
Posted: Tue May 29, 2012 7:04 pm
Joined: 21 May 2012
Posts: 7
[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-extensions/trunk/py/scripts/addons/add_mesh_extra_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?
Posted: Sat Jun 02, 2012 10:56 am
Joined: 07 Nov 2010
Posts: 543
Mathematics need not be code, it can also be data.