April 29, 2009

python and animation

python is great scripting language for animation specially use in blender and poser.
with a python script you can control tools of this software and moving of object in this.when you want to make game with java you can run a script sample in blender or poser for test of your game in real 3d scene and then make a java code for it.you can download python ide from here
this is a picture of python shell ide

and this is a part of code for rendering frame of 1 until 10 and save their images
PoserFile.append("E:\\dawood\\movie\\movie1.pz3")
TargetDirectory.append("E:\\dawood\\movie\\run\\")
FramePrefix.append("Run")
StartFrame.append(0)
EndFrame.append(10)
this codes help you also making animation easier and faster and control animation scenes.

0 comments: