Page 1 of 1

Maxscript access to "hidden to camera in shadow pass"

Posted: Thu Mar 12, 2015 11:59 pm
by egmehl
Is it possible to change the "hidden to camera in shadow pass" via Maxscript?

Re: Maxscript access to "hidden to camera in shadow pass"

Posted: Fri Mar 13, 2015 9:15 am
by Mihnea Balta
Not right now, I'll add it for the next update.

Re: Maxscript access to "hidden to camera in shadow pass"

Posted: Fri Mar 13, 2015 5:06 pm
by egmehl
That would be super helpful, thanks Mihnea! If it's not too hard, could you add access to the other properties that are on the object properties box (like "hidden to global illumination")?

Re: Maxscript access to "hidden to camera in shadow pass"

Posted: Fri Mar 20, 2015 1:04 pm
by Mihnea Balta
Version 3.1.6 adds two new MAXScript functions:

maxwellGetObjectFlag object flagName: returns the state of the flag specified by flagName, which can be one of: hideToGI, hideToZClip, hideToCamShadows, backfaceCulling.

maxwellGetObjectFlag object flagName true/false: sets the flag to the given value.

Please give them a try and let me know how it went.

Re: Maxscript access to "hidden to camera in shadow pass"

Posted: Sat Mar 21, 2015 2:33 am
by egmehl
It's working for me, thanks for the update Mihnea!