Can you overlay text on a render and edit it with Python?

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
amorphia
Posts: 0
Joined: Fri Dec 30, 2005 2:44 pm

Can you overlay text on a render and edit it with Python?

Post by amorphia » Thu Dec 21, 2006 6:48 pm

Hi all,

for debugging purposes I want to render with a text overlay which just prints a few variables from my scripts which are running at render time. Is that possible? I know you can have a text overlay showing things like frame rate and that, because I've seen it done, but I haven't even worked out how that is done yet.

Thanks for any help!

Cheers,

Ben
Dr. Ben Kenward
Department of Psychology, Uppsala University, Sweden
+46 18 4712125
http://www.benkenward.com

an-toni
Posts: 0
Joined: Wed Mar 17, 2004 5:20 pm

Post by an-toni » Wed Dec 27, 2006 8:42 pm

one way that works with old/current versions too is to put a text3d object appropriately in front of the camera and modify that .. that is how we did subtitling in the animatic phases of the Elephants Dream -- an early version of that script (by Basse) is http://video.blendertestbuilds.de/downl ... ubtitle.py

i guess in the (hopefully near!) future is to hook a node to the compositing pipeline and overlay text to the render there. nathan/jesterking has already pretty complete pynode implementation but unfortunately there is some nasty bug hiding for a while already so it did not make it to 2.43 yet :/

~Toni

Post Reply