Can I define for an external mesh that which external material to use?
My example code is the following:
Code: Select all
<include>
<pathname>../Assets/Objects/Shared_IGMAT_001001/Material1.igm</pathname>
</include>
<include>
<pathname>../Assets/Objects/Shared_IGMAT_001001/Material2.igm</pathname>
</include>
<mesh>
<external>
<path>../Assets/Objects/Shared_IGMESH_001001/Mesh1.igmesh</path>
</external>
<scale>1.0</scale>
<normal_smoothing>false</normal_smoothing>
<name>Mesh1</name>
</mesh>
<model>
<scale>1.0</scale>
<mesh_name>Mesh1</mesh_name>
<rotation><matrix>1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0</matrix></rotation>
<pos>0.0 -0.560000479221344 0.0</pos>
</model>
<model>
<scale>1.0</scale>
<mesh_name>Mesh1</mesh_name>
<rotation><matrix>1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0</matrix></rotation>
<pos>1.0 -0.560000479221344 0.0</pos>
</model>
How can I say for the models which material to use?
It seems to me that it is declared in the mesh, igmesh file itself and I can not modify it.