How can I check if the Rendered Frame Dialog is open and if so, close it.
I tried searching for rendered frame dialog or virtual frame buffer dialog and null :(
Searching for dialog got me a lot but not this one :(
Forum topic · General Scripting
By kaczorefx · 2009-03-17
How can I check if the Rendered Frame Dialog is open and if so, close it.
I tried searching for rendered frame dialog or virtual frame buffer dialog and null :(
Searching for dialog got me a lot but not this one :(
Comments (2)
Comment policy
Look in "Bitmap Values": b
Look in "Bitmap Values":
b = bitmap 320 240
display b -- Opens a virtual frame buffer (VFB) displaying the image
unDisplay b -- Close the VFB associated with the bitmap if open
render outputFile:"frame.bmp" vfb:off -- turn off VFB
Well yeah, but my problem is I want to close the VFB after the rendering.
I want the rendering to perform with the VFB open so I can see what's beeing rendered but each subsequent render opens a new VFB, so after 20 frame rendering (each frame rendered separately) I get 20 VFB opened.
I need a way to close the current VFB after each rendering.