Author Topic: Save/load region  (Read 1469 times)

2019-11-20, 15:19:06

Zray

  • Active Users
  • **
  • Posts: 43
    • View Profile
    • 3darcspace studio
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.

2019-11-20, 16:43:24
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12816
  • Marcin
    • View Profile
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)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2019-11-21, 08:10:42
Reply #2

Zray

  • Active Users
  • **
  • Posts: 43
    • View Profile
    • 3darcspace studio
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]