Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: cjwidd on 2019-09-10, 19:53:01
-
I would like to prepare a macroscript to address the issue described in this (https://forum.corona-renderer.com/index.php?topic=25750.0) thread while we wait for an official implementation from the Corona team. Before I start asking implementation questions, does anyone have a script like this laying around that they would be willing to share?
I expect the script would:
1. Access a material with attached bitmaps
2. Insert a Corona Triplanar node to all bitmap attachments
3. Assign a bezier float controller to all Triplanar 'scale' parameters
It would be great to piggyback off some functionality for a script like this (https://gumroad.com/l/ezmat) (ezMat for 3ds Max) to create an all-in-one texture / material import workflow.
-
My first question is whether there is any documentation that lists attributes that can be called from script for Corona nodes for Slate Material Editor, e.g. scale for triplanar node, as well as the triplanar node itself(?)
-
The documentation is in the object itself. You can always do something like this in the maxscript listener:
apropos "triplanar"
-> CoronaTriplanar (const MAXClass): CoronaTriplanar
testmap=CoronaTriplanar()
showproperties testmap
-> .onlyTexmapX : boolean
-> .texmapX : texturemap
-> .texmapY : texturemap
-> .texmapZ : texturemap
-> .blend : float
-> .texmapBlend : texturemap
-> .texmapBlendOn : boolean
-> .space : integer
-> .scale : worldUnits
-> .offset : point3
-> .rotation : point3
-> .referenceNode : node
-> .colorX : RGB color
-> .colorY : RGB color
-> .colorZ : RGB color
-> .texmapXOn : boolean
-> .texmapYOn : boolean
-> .texmapZOn : boolean
-> .flipMappingOnBackside (Flip_mapping_on_the_backside) : boolean
-> .showFlipMappingUi : boolean
testmap.scale
-> 100.0
testmap.scale=50
-> 50
Hope this helps a bit,
Good Luck
-
Yes it does, thank you so much!
-
More information can be found here (https://forum.corona-renderer.com/index.php?topic=25794.msg155959#msg155959)
-
A support ticket has been logged with the Quixel live link engineering team to include this feature as an extension to Bridge.