Defines a SOFTIMAGE|XSI material. This template contains the list of connections and the name of the sources (if connected).
This new material template is closer to the XSI conceptual model. In XSI, a material is essentially a placeholder for shaders. So now there is an entity that is a placeholder for both realtime and mental ray shaders in the dotXSI file format as well.
See also XSI_MaterialInfo.
SOFTIMAGE|3D does not export this template. See SI_Material for the corresponding 3D template.
3.5
XSI_Material <material name> { <cnx_number>, <cnx_name>, <cnx_source>, // for each connection XSI_Shader { ... // usually contains one or more XSI_Shader // templates } XSI_TextureLayer // for each texture layer XSI_ShaderMultiPortConnection // for each connection with a multi-output shader XSI_UserKeyword }
|
Member name |
Description |
|
cnx_number |
Number of connections (that is, <cnx_name, <cnx_source> pairs) listed in this template |
|
cnx_name |
Name of connection |
|
cnx_source |
Name of connection source |
In the example below, the material’s surface, shadow and photon ports connect to a shader called Phong:
XSI_Material sphere
{
10,
"surface","Phong",
"volume","",
"environment","",
"contour","",
"displacement","",
"shadow","Phong",
"Photon","Phong",
"PhotonVolume","",
"normal","",
"RealTime","",
...
}Softimage|Crosswalk v3.11