Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Zray on 2019-11-20, 15:19:06

Title: Save/load region
Post by: Zray on 2019-11-20, 15:19:06
Hi, I am doing an animation project, and now I have to render some rectangular regions. Is there any way to save/load these regions. If I remove them in accident, then I can reload them again.
Thanks.
Title: Re: Save/load region
Post by: maru on 2019-11-20, 16:43:24
You would probably have to use maxscript:
https://corona-renderer.com/wiki/maxscript

Code: [Select]
renderers.current.system_vfbRegions = #([1280,720,0], [0,0,0], [1280,720,0], [10,20,0], [100,200,0], [0,0,0])- draws a render region in the VFB (we are assuming that the output resolution is 1280×720)
Title: Re: Save/load region
Post by: Zray on 2019-11-21, 08:10:42
You would probably have to use maxscript:
https://corona-renderer.com/wiki/maxscript

Code: [Select]
renderers.current.system_vfbRegions = #([1280,720,0], [0,0,0], [1280,720,0], [10,20,0], [100,200,0], [0,0,0])- draws a render region in the VFB (we are assuming that the output resolution is 1280×720)
could you explain about the Number 0 in your maxscript: ie [1280,720,0]