How do I gain access to the properties of certain render elements via maxscript. I would like to write a script that adds the render element “CShading_RawComponent” but sets it’s component to use “Reflect” instead of the default “Diffuse”.
Can anyone point me in the write direction. Is there a maxscript function that can expose all the properties of all the corona elements?
Also I tried to login to the “Chaos Corona - Global Site” but it seems like a different login and i cant see where i can actually register?
You can simply type; show (CShading_RawComponent())
This will print out all properties in the listener
To print out all REs you can use this:
(
REs = stringstream ""
apropos "*ESSENTIAL*" to:REs
apropos "*CGeometry*" to:REs
apropos "*CMasking*" to:REs
apropos "*CShading*" to:REs
apropos "CTexmap" to:REs
elems = filterstring (REs as string) "\n"
classnames = for i in elems collect (filterstring i " ")[1]
for i in classnames do(
format "----------------------\n"
format (i + "\n")
show (execute (i + "()"))
)
)
Sorry for bombing this topic, i have a small question that’s not worth new topic creation.
I want to make a button that simply creates Corona Sun and Sky. With the help of macrorecorder i managed to achieve Sun object’s creation, but Sky isn’t catched by macrorecorder unfortunatelly. Should someone kindly provide script code for that, i’d be very thankful.
I dont know anything about coding these Scripts, could you save´n´share a script-file containing
the automatic load for Corona Sky, enviroment and why not that EV -4 also
Again like above i’m not sure if it’s worth starting another thread, also keeps a number of maxscript questions together.
Just a quick one really. Is there a function for starting interactive rendering? I would like to create my own dialogue and this is a function I would like to add.