ScriptSpot

Forum topic · General Scripting

Rendered Frame Dialog / VFB dialog close

By kaczorefx · 2009-03-17

Description

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)

Look in "Bitmap Values": b

Anubis · 2009-03-29

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

kaczorefx · 2009-04-16

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.