I try since hours to change a text object during animation in blender 2.63. I want to realize an image count in an animation film. It is clear how to change the text in a text object:
bpy.data.objects["Text"].data.body = "frame "+str(i)
My setup is an Inputnode (Movie Clip) and a Render Layer with the text object. I also know how to render the animation using python:
bpy.ops.render.render( animation=True, write_still=True )
But I have no idea how to implement a kind of a loop changing the text object for each frame of the animation.
Can anyone give me some tips? This would be very nice and help me a lot.
how about using a handler?
if you add the text changing code to frame_change_pre
, it will be executed right after frame change but before rendering.
I'm sitting, waiting, wishing, building Blender in superstition...
Thank you very much.
It's so easy but one have to know it! You opened me a lot of new perspectives...