Notifications
Clear all

[Closed] rendering script

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

1 Reply
1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0

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"