ANyone know the clean way to switch a shader to incandescence.
Oliver ![]()
ANyone know the clean way to switch a shader to incandescence.
Oliver ![]()
Similar posts to this have been bouncing around this forum for the last couple weeks.
The short answer is that there is no clean way. These little switches are the front end for whole lot of lines of MEL as the Echo All Commands quickly shows.
--JeffD
yes ista connection that can be anything realy so you will need to querry what object you are working on, then list its connections to find the material info its connected (you need to iterate). then you need to find what is connected to the atribute you need and connect thet to the material info....
its pretty straight forward realy! The code is just scattered around in 2 procs.
but sadly i cant make an example bacause i have no maya to work on at the moment bacause i cant even install ple on this machine bacause the install shield script needed will kill the security policy in 30 places. (or well i do have acces to maya but when i do i dont have the time to do other than actual work)