Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Okenite on 2020-03-16, 00:33:41
-
Hello,
I'm creating tools to optimize our works with Corona and i got problems to acces some features via maxscript.
1st question is it possible to find a complet documentation on corona / maxscript ?
2nd one : i'm actualy try to batch works with the corona direct visibility / reflections / refraction overrides... How can i access these properties with maxscript ?
Thanks a lot for your help
(oups , i forgot an important information: working with corona 4 hotfix 1)
-
Hi,
You can find some Corona maxscript documentation here: https://corona-renderer.com/wiki/maxscript
However a neat trick to find everything else is to load the Maxscript Listener in 3ds Max and then enable the Macro recorder. Then the marco recorder will show you everything you do in UI, in Maxscript.
Cheers,
Rowan
-
Hi,
Thanks for the feedback, your are right for the listener, but for
corona override, nothing appear in the listener ( all record enabled )
... another idea ? and nothing in the wiki.
Thanks
-
To get all renderer properties and data types use
"show renderers.current" in the max script listener. For example bg_texmapDirect accepts a texturemap for the direct visibility override and bg_texmapUseDirect is the enabled/disabled state. It's not hard to figure out what you need.
Another option if you are too lazy to lookup the names is to use the corona listener which reads all properties periodically and reports changes, see
https://forum.corona-renderer.com/index.php?topic=16571.msg104052#msg104052
You may find this one interesting as well if you are dealing with environment settings:
https://forum.corona-renderer.com/index.php?topic=25216.0
Good Luck
-
Perfect ! great thanks,
Corona listener do the job !