2024-04-23, 21:37:41
Home
Help
Search
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Chaos Corona Forum
Chaos Corona for 3ds Max
[Max] I need help!
Corona & maxscript : scene environment
Print
Pages: [
1
]
Author
Topic: Corona & maxscript : scene environment (Read 2195 times)
2020-03-16, 00:33:41
Okenite
Active Users
Posts: 13
Corona & maxscript : scene environment
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)
Logged
2020-03-16, 08:56:14
Reply #1
rowmanns
Corona Team
Active Users
Posts: 1892
Corona for 3ds Max QA Team
Re: Corona & maxscript : scene environment
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
Logged
Please read this before reporting bugs:
How to report issues to us!
Send me your scene!
2020-03-16, 09:05:17
Reply #2
Okenite
Active Users
Posts: 13
Re: Corona & maxscript : scene environment
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
Logged
2020-03-16, 09:42:30
Reply #3
Frood
Active Users
Posts: 1921
Re: Corona & maxscript : scene environment
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
Logged
Never underestimate the power of a well placed level one spell.
2020-03-16, 23:57:09
Reply #4
Okenite
Active Users
Posts: 13
Re: Corona & maxscript : scene environment
Perfect ! great thanks,
Corona listener do the job !
Logged
Print
Pages: [
1
]
Chaos Corona Forum
Chaos Corona for 3ds Max
[Max] I need help!
Corona & maxscript : scene environment