How to check if all surfaces are IRAY?
Toonces
Posts: 919
Is there an easy way to confirm that all surfaces in a scene have been converted to IRAY?
I know you can select all and convert to IRAY Uber, but was wondering if there's a way to just check (I don't want to select all and update all because some items I may have set just the way I like them in iray).
Comments
How familiar are you with scripting? With a script you could get the materials in the scene and then inspect each to see if it used an MDL shader or an RSL shader - a lot of the methods needed are demostrated, for a different end, in one of rob's sample scripts http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/material/select_by_tag/start
Interesting. I shall have to give it a try!
Looks similar to javascript so I should be able to figure it out.
Thanks!!
Yes, it derives from the same standard as Javascript so if you know that you should be well set.