I have a python script where a cloth collides with a moving human body. During the animation of this scene, I need to obtain some data of the human's armature at specific frames, dependend on the frame step. Therefore I first render each frame with this line:
bpy.ops.render.render(animation = True)
where I obtain an image at each frame step which I do not really need. Next, I use this line to access the single frames:
bpy.context.scene.frame_set(frame)ter code here
everything work perfectly but takes a lot of time. Also I do not need the image data obtained.
without pre rendering (and therefore calculating) the Animation:
the cloth object does not fall properly (it freezes actually) and only the human's movements are calculated at each frame as it should be. The cloth stays in its initial position.
As I am fairly new to Blender and Computer Graphics my question is:
Is there another/faster way to calculate the animation? Does this calculation imply rendering always? So far I thought rendering is just for obtaining a realistic looking image with shading and so on.