Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
maxscript [2019/01/25 16:16]
maru [Example scripts]
maxscript [2019/02/26 14:19] (current)
maru [Example scripts]
Line 80: Line 80:
 ====== Example scripts ====== ====== Example scripts ======
  
-CoronaRenderer.CoronaFp.showvfb true - shows the Corona VFB +<​code>​CoronaRenderer.CoronaFp.showvfb true</​code> ​- shows the Corona VFB\\ 
- +\\ 
-CoronaRenderer.CoronaFP.stopRender() - stops current rendering (same as pressing the STOP button in the VFB) +<​code>​CoronaRenderer.CoronaFP.stopRender()</​code> ​- stops current rendering (same as pressing the STOP button in the VFB)\\ 
- +\\ 
-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 1280x720) +<​code>​renderers.current.system_vfbRegions = #​([1280,​720,​0],​ [0,0,0], [1280,​720,​0],​ [10,20,0], [100,​200,​0],​ [0,0,0])</​code> ​- draws a render region in the VFB (we are assuming that the output resolution is 1280x720)\\ 
- +\\ 
-renderers.current.system_vfbRegions_enabled=false - clears all VFB regions (the VFB has to be closed first) +<​code>​renderers.current.system_vfbRegions_enabled=false</​code> ​- clears all VFB regions (the VFB has to be closed first)\\ 
- +\\ 
-CoronaRenderer.CoronaFp.exportScene @"​C:​\Corona\myscene.scn"​ false - exports the current scene from 3ds max to C:\Corona\ as myscene.scn and does not start rendering it.  +<​code>​CoronaRenderer.CoronaFp.exportScene @"​C:​\Corona\myscene.scn"​ false</​code> ​- exports the current scene from 3ds max to C:\Corona\ as myscene.scn and does not start rendering it.\\ 
- +\\ 
-CoronaRenderer.CoronaFp.dumpVfb "​D:/​yourfilename.cxr"​ - dumps the current content of the VFB to the specified CXR file.  +<​code>​CoronaRenderer.CoronaFp.dumpVfb "​D:/​yourfilename.cxr"​</​code> ​- dumps the current content of the VFB to the specified CXR file.\\  
 +\\
  

Log In