I am looking for a way, to put information on my renders about the render settings that I used for that specific render. For example… When my render is done, and I open the image. I want to see what sample size I used, what dimension, what rendertime it took etc etc… Preferably as a s small overlay on the image it self.
This way I can compare all my test settings later.
I’d be great if i could automatically bake the settings into the image with an overlay… but if thats not possible… i can just input the settings I used in an overlay or something. But I wouldnt know the best way to create this overlay (especially for animations, where I just want it to overlay the animation (not follow the camera) Can anybody tell me how to create an overlay for text that doesnt follow the camera movement?
You can tick Note option for meta data. Any text written there will render as overlay on final image. And since its property you can set value trough Python.
Example code:
bpy.context.scene.render.stamp_note_text = “Any info goes here”
You can create python script which would do all work for you and then you can execute that script. Script would run and for example change some properties and render image.
import bpy
# read number of samples as int
samp = bpy.data.scenes["Scene"].cycles.samples
# create note as string and write to overlay
note = str(samp)
bpy.data.scenes["Scene"].render.stamp_note_text = note
# render scene
bpy.ops.render.render()
Ok I got this to work, but im still figuring out how to add more variables to this script
For example, if I want to add the dimensions of the frame to the ‘note’ part, by running the script… What info do I need to add to the script? I can see the python properties when I hover over the dimensions, but do i just copy past that into the script? Or do i need to add/change it in order to make it work? Cause Im getting an error if i just paste into the text file (of course)