sloinfo [-p] [-m] sloname
sloinfo reads a RenderMan shader called sloname and outputs descriptive information about the shader on stdout. sloname should be either the path of a shader object file without the trailing ".slo", or the RenderMan shader name. If the shader name is used sloinfo will search for the shader object in the directories listed in /shaderpath defined in rendermn.ini. Alternately, sloname can be either the path of a Look master file or Look instance file, for example:
/usr/local/prman/look/masters/starter/wood/oak.vma
or the full Look shader name, for example:
_VFX_MStarter|Wood|Oak|pxs00011
If a Look shader name is used, it should be enclosed in quotes so that the shell does not intrepret the vertical bars. When used with a Look shader name, sloinfo will search for the Look hierachy in the directories listed in /standardvfxmasterpath defined in rendermn.ini.
sloinfo prints out the type of shader followed by the quoted shader name as it should appear in a program or RIB file. The parameters to the shader are listed by their shading language name and type declaration for use with RiDeclare followed by the default value.
If the -p command-line option is specified, sloinfo prints out the filenames of any plugins that the shader calls. This can be used to generate Makefile dependencies, so the the shader is recompiled if any of its plugins are modified.
If the -m command-line option is specified, sloinfo prints out the shader meta data as XML, such as the following. (See the Shader Meta Data application note for more information.)
<shader name="myplastic"> <meta id="Ks_label">Specular Response</meta> <meta id="Ks_min">0</meta> <meta id="Ks_precision">0.001</meta> </shader>
The source to the sloinfo program is in the examples directory.
lookinfo(1), rendermn.ini(5), look(4)
Pixar Animation Studios
|