Re: Which shader is using texture

Date : Wed, 28 Mar 2007 22:17:26 +0300
To : XSI(at)Softimage.COM
From : Tauno Ööbik <tauno(at)joonisfilm.ee>
Subject : Re: Which shader is using texture
An excellent idea, works like a dream!

Didn't try the script yet since I don't know which materials I will be looking for. But thanks Oz for sharing it, will come very handy in the script library :)

-T


Matt Lind wrote:
Export your scene to an .mi2 file, then look for your texture paths using the search tool in a text editor (or a command line tool such as awk, sed, or grep). The shader definition blocks which contain the texture path will tell you which objects are looking for it. Although a bit more tedious, it will be more accurate than a query through scripting because this is what mental ray sees. If something isn't translating correctly, it'll stick out like a sore thumb.

You might want to run 'Delete unused sources and clips' to reduce clutter in the .mi2 file.

Matt

-------------------------
Matt Lind
Animator / Technical Director
Softimage certified instructor:
   Softimage|3D
   Softimage|XSI
Matt.Lind(at)Mantom.net




Date: Wed, 28 Mar 2007 To: XSI(at)Softimage.COM
From : Tauno Ööbik
Subject: Which shader is using texture

Hi there!

How can I find out, which shader is using specific texture?

I changed out some of the textures, but when starting to render, MR still reports that it loads old texture. I cant figure out which meshes are using still the shader with old texture...

Thanks,
T

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi




---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.