PDA

View Full Version : rendering script


Grakus
04-14-2006, 09:53 AM
I have a problem with rendering scripting. For example this's simple script for rendering render outputwidth:800 outputheight:600 renderType:#regionselected outputFile:("d:\ukazka\output_x.tga")

Problem's that on every lunch this script the MAX creates NEW VFB. Is it possible rendering in same VFB? Rendering in face of last render?

(sorry for my english) THX for any help

Bobo
04-14-2006, 05:22 PM
I have a problem with rendering scripting. For example this's simple script for rendering render outputwidth:800 outputheight:600 renderType:#regionselected outputFile:("d:\ukazka\output_x.tga")

Problem's that on every lunch this script the MAX creates NEW VFB. Is it possible rendering in same VFB? Rendering in face of last render?

(sorry for my english) THX for any help


Yes, it is possible.
You can create a temp. bitmap of the same size and display it, disable the VFB option of the render() command and use the to: optional parameter to get the rendering into your own bitmap.

temp_bmp = bitmap 800 600 filename:"My Private VFB"
display temp_bmp
render outputsize:[800,600] to:temp_bmp vfb:false outputFile:"d:\\ukazka\\output_x.tga"

CGTalk Moderation
04-14-2006, 05:22 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.