About this site
ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Comments
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
my recent MAXScripts RSS (archive here)
Well yeah, but my problem is
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.