Correcting exported DAE from ColladaMaya for Papervision3D

Using Maya and ColladaMaya:

Open an exported DAE file.

Search for this section:

<bind_material>
<technique_common>
<instance_material symbol=”file1MaterialSG” target=”#file1Material”>
</instance_material>
</technique_common>
</bind_material>

find this section:

<library_materials>
<material id=”blinn1″ name=”blinn1″>
<instance_effect url=”#blinn1-fx”/>
</material>
<material id=”file1Material” name=”file1Material”>
<instance_effect url=”#file1Material-fx”/>
</material>
</library_materials>

change the id attribute value from “file1Material” to “file1MaterialSG”


About this entry