Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: shirzadbh on 2021-02-01, 10:54:36

Title: Saving "vfb_render.cxr" Using Script
Post by: shirzadbh on 2021-02-01, 10:54:36
Three Questions:


1. Why I can't export the current VFB as CXR?

2. Why there is two VFB? shouldn't VFB be an instance of a single object?

3. Why Maxscript access to Corona Renderer is so limited, for example, how can I set Pass Limit using Maxscript? is it possible?
Title: Re: Saving "vfb_render.cxr" Using Script
Post by: rowmanns on 2021-02-01, 11:56:31
Hi,

I have a couple of questions:

1) What are you trying to achieve here? You can use the "outputfile:" argument in the render command to save the output of this render rather than dumping the VFB afterwards. Examples can be found here: http://docs.autodesk.com/3DSMAX/16/ENU/MAXScript-Help/index.html?url=files/GUID-9175301C-13E6-488B-ABA6-D27CD804B205.htm,topicNumber=d30e687496

2) In some cases it can be possible to get multiple instances of the VFB, I would say that this is unexpected behaviour and I'll make a note to look into it.

3) You can find the full amount of available maxscript commands here: https://wiki.corona-renderer.com/maxscript you can list the additional render settings commands using "show renderers.current" so you can set the pass limit using something like renderers.current.progressive_passLimit = 10

I hope this helps,

Rowan