Community Forum

All meshs exporting with same material?

Forum Overview >> Maya Exporter

CategoryMaya Exporter
Created04.11.2019 23:09


Josh Shapiro (Unknown) 04.11.2019 23:09
I'm hoping someone can steer me in the right direction because I must be doing something wrong. I have a set of Lambert shaders assigned to my meshes (only one material per mesh) on my model in Maya. When I export and open in Giants Editor, all the meshes have the same Lambert material assigned to them. What's going on?

My i3d exported from Maya looks like this:

=============================
<?xml version="1.0" encoding="iso-8859-1"?>

<i3D name="YZ-65_body_28" version="1.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.6.xsd">

<Files>
<File fileId="1" filename="../zetor_77_series_pack_fs_19_v1/shaders/vehicleShader.xml" />
</Files>

<Materials>
<Material name="lam_bodypanels" materialId="13" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_cabinExt" materialId="11" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_cabinInt" materialId="7" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_seat" materialId="1" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_frameComp" materialId="3" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_accComp" materialId="2" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_engine" materialId="6" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_frontComp" materialId="5" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_decals" materialId="12" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_lightGlass" materialId="8" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_signals" materialId="9" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_frontloader" materialId="14" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_tidbits" materialId="4" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
<Material name="lam_window" materialId="10" diffuseColor="0.5 0.5 0.5 1" specularColor="0 0 0" ambientColor="1 1 1" customShaderId="1">
<CustomParameter name="uvScale" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat3" value="0.10 0.10 1.00 1.0"/>
<CustomParameter name="offsetUV" value="0.0 0.0 0.0 0.0"/>
<CustomParameter name="uvCenterSize" value="0.5 0.5 1.0 1.0"/>
<CustomParameter name="colorMat2" value="0.10 1.00 0.10 1.0"/>
<CustomParameter name="RDT" value="1.0 1.0 0.0 0.0"/>
<CustomParameter name="colorMat0" value="0.80 0.55 0.05 1.0"/>
<CustomParameter name="colorMat1" value="1.00 0.10 0.10 1.0"/>
<CustomParameter name="colorMat6" value="1.00 0.10 1.00 1.0"/>
<CustomParameter name="colorMat7" value="0.10 1.00 1.00 1.0"/>
<CustomParameter name="colorMat4" value="1.00 1.00 0.10 1.0"/>
<CustomParameter name="colorMat5" value="0.05 0.05 0.05 1.0"/>
<CustomParameter name="dirtColor" value="0.20 0.14 0.08 0.0"/>
</Material>
</Materials>


<Shapes externalShapesFile="test.i3d.shapes">
</Shapes>

<Scene>
<TransformGroup name="YZ65" nodeId="1">
<TransformGroup name="mainBody_grp" nodeId="2">
<Shape name="seat" translation="0 -20.2847 12.1236" shapeId="1" static="true" castsShadows="true" receiveShadows="true" materialIds="1" nodeId="3"/>
<Shape name="rearHitch" shapeId="2" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="4"/>
<Shape name="axle_front" shapeId="3" static="true" castsShadows="true" receiveShadows="true" materialIds="3" nodeId="5"/>
<Shape name="steeringRod" shapeId="4" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="6"/>
<Shape name="front_fender_left" shapeId="5" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="7"/>
<Shape name="front_fender_right" shapeId="6" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="8"/>
<Shape name="steeringShaft" shapeId="7" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="9"/>
<Shape name="wiper" shapeId="8" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="10"/>
<Shape name="fanwheel" shapeId="9" static="true" castsShadows="true" receiveShadows="true" materialIds="5" nodeId="11"/>
<Shape name="enginewheel" shapeId="10" static="true" castsShadows="true" receiveShadows="true" materialIds="5" nodeId="12"/>
<Shape name="alternatorwheel" shapeId="11" static="true" castsShadows="true" receiveShadows="true" materialIds="5" nodeId="13"/>
<Shape name="radiator_fan" shapeId="12" static="true" castsShadows="true" receiveShadows="true" materialIds="5" nodeId="14"/>
<Shape name="liquidJug" shapeId="13" static="true" castsShadows="true" receiveShadows="true" materialIds="5" nodeId="15"/>
<Shape name="engine_main" shapeId="14" static="true" castsShadows="true" receiveShadows="true" materialIds="6" nodeId="16"/>
<Shape name="rearAxle" shapeId="15" static="true" castsShadows="true" receiveShadows="true" materialIds="3" nodeId="17"/>
<Shape name="engineGrille" shapeId="16" static="true" castsShadows="true" receiveShadows="true" materialIds="5" nodeId="18"/>
<Shape name="radiator" shapeId="17" static="true" castsShadows="true" receiveShadows="true" materialIds="5" nodeId="19"/>
<Shape name="YZ65_emblems" shapeId="18" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="20"/>
<Shape name="mirrors" shapeId="19" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="21"/>
<TransformGroup name="e7f" nodeId="22">
<Shape name="polySurface9" shapeId="20" static="true" castsShadows="true" receiveShadows="true" materialIds="5" nodeId="23"/>
<Shape name="polySurface10" shapeId="21" static="true" castsShadows="true" receiveShadows="true" materialIds="3" nodeId="24"/>
</TransformGroup>
<Shape name="roofGrille" shapeId="22" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="25"/>
<Shape name="exhaust" shapeId="23" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="26"/>
<Shape name="rearLightAssbly" shapeId="24" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="27"/>
<TransformGroup name="interior" nodeId="28">
<Shape name="steeringwheel" shapeId="25" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="29"/>
<Shape name="p5konv" shapeId="26" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="30"/>
<Shape name="p4konv" shapeId="27" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="31"/>
<Shape name="p2konv" shapeId="28" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="32"/>
<Shape name="p3konv" shapeId="29" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="33"/>
<Shape name="gaspedal" shapeId="30" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="34"/>
<Shape name="throttleControl" shapeId="31" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="35"/>
<Shape name="gearShift" shapeId="32" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="36"/>
<TransformGroup name="dashInstruments" nodeId="37">
<Shape name="polySurface48" shapeId="33" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="38"/>
</TransformGroup>
<Shape name="cabin_interior" shapeId="34" static="true" castsShadows="true" receiveShadows="true" materialIds="7" nodeId="39"/>
</TransformGroup>
<TransformGroup name="controls" nodeId="40">
<Shape name="teplotamotora" shapeId="35" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="41"/>
<Shape name="otackomer" shapeId="36" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="42"/>
<Shape name="palivomer" shapeId="37" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="43"/>
<Shape name="speed" shapeId="38" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="44"/>
</TransformGroup>
<TransformGroup name="rear3point" nodeId="45">
<Shape name="bod1r" shapeId="39" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="46"/>
<Shape name="bod1l" shapeId="40" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="47"/>
<Shape name="bod3l" shapeId="41" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="48"/>
<Shape name="bod4r" shapeId="42" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="49"/>
<Shape name="bod4l" shapeId="43" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="50"/>
<Shape name="bod3r" shapeId="44" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="51"/>
<Shape name="bod2r" shapeId="45" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="52"/>
<Shape name="bod2l" shapeId="46" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="53"/>
</TransformGroup>
<TransformGroup name="front3point" nodeId="54">
<Shape name="front3ptAssembly" shapeId="47" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="55"/>
<Shape name="front3pt_piston" shapeId="48" static="true" castsShadows="true" receiveShadows="true" materialIds="2" nodeId="56"/>
<Shape name="front3pt_pistonLinks" shapeId="49" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="57"/>
</TransformGroup>
<TransformGroup name="Lights" nodeId="58">
<TransformGroup name="Headlights" nodeId="59">
<Shape name="pSphere1" translation="13.4111 113.23 182.206" rotation="90 0 0" scale="1.93865 1.93865 1.93865" shapeId="50" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="60"/>
<Shape name="pSphere2" translation="-13.4889 113.23 182.206" rotation="90 0 0" scale="1.93865 1.93865 1.93865" shapeId="51" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="61"/>
<Shape name="headlightLens" shapeId="52" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="62"/>
<Shape name="headlights_glass" shapeId="53" static="true" castsShadows="true" receiveShadows="true" materialIds="8" nodeId="63"/>
</TransformGroup>
<TransformGroup name="light_grp" nodeId="64">
<Shape name="polySurface3" shapeId="54" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="65"/>
<TransformGroup name="sharedCabinLights" nodeId="66">
<Shape name="lightGlass4" shapeId="55" static="true" castsShadows="true" receiveShadows="true" materialIds="8" nodeId="67"/>
<Shape name="polySurface54" shapeId="56" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="68"/>
</TransformGroup>
</TransformGroup>
<TransformGroup name="light_grp2" nodeId="69">
<TransformGroup name="light_grp2_sharedCabinLights1" nodeId="70">
<Shape name="lightGlass2" shapeId="57" static="true" castsShadows="true" receiveShadows="true" materialIds="8" nodeId="71"/>
<Shape name="polySurface50" shapeId="58" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="72"/>
</TransformGroup>
<Shape name="polySurface3" shapeId="59" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="73"/>
</TransformGroup>
<TransformGroup name="light_grp4" nodeId="74">
<TransformGroup name="sharedCabinLights" nodeId="75">
<Shape name="lightGlass3" shapeId="60" static="true" castsShadows="true" receiveShadows="true" materialIds="8" nodeId="76"/>
<Shape name="polySurface56" shapeId="61" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="77"/>
</TransformGroup>
<Shape name="polySurface3" shapeId="62" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="78"/>
</TransformGroup>
<TransformGroup name="light_grp5" nodeId="79">
<TransformGroup name="light_grp2_sharedCabinLights1" nodeId="80">
<Shape name="lightGlass1" shapeId="63" static="true" castsShadows="true" receiveShadows="true" materialIds="8" nodeId="81"/>
<Shape name="polySurface52" shapeId="64" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="82"/>
</TransformGroup>
<Shape name="polySurface3" shapeId="65" static="true" castsShadows="true" receiveShadows="true" materialIds="4" nodeId="83"/>
</TransformGroup>
<Shape name="rearLightLens" shapeId="66" static="true" castsShadows="true" receiveShadows="true" materialIds="8" nodeId="84"/>
<Shape name="topLightsLens" translation="0 -1.10519 0" shapeId="67" static="true" castsShadows="true" receiveShadows="true" materialIds="8" nodeId="85"/>
<TransformGroup name="lights_signals_grp" nodeId="86">
<Shape name="turnsignals_rear1" shapeId="68" static="true" castsShadows="true" receiveShadows="true" materialIds="9" nodeId="87"/>
<Shape name="frontTurnSignal_L" shapeId="69" static="true" castsShadows="true" receiveShadows="true" materialIds="9" nodeId="88"/>
<Shape name="turnsignals_rear" shapeId="70" static="true" castsShadows="true" receiveShadows="true" materialIds="9" nodeId="89"/>
<Shape name="lightsAcc" shapeId="71" static="true" castsShadows="true" receiveShadows="true" materialIds="9" nodeId="90"/>
<Shape name="frontTurnSignal_R" shapeId="72" static="true" castsShadows="true" receiveShadows="true" materialIds="9" nodeId="91"/>
<Shape name="brakeLights" shapeId="73" static="true" castsShadows="true" receiveShadows="true" materialIds="9" nodeId="92"/>
</TransformGroup>
</TransformGroup>
<Shape name="windows" shapeId="74" static="true" castsShadows="true" receiveShadows="true" materialIds="10" nodeId="93"/>
<Shape name="body_cabin" shapeId="75" static="true" castsShadows="true" receiveShadows="true" materialIds="11" nodeId="94"/>
<Shape name="decals" shapeId="76" static="true" castsShadows="true" receiveShadows="true" materialIds="12" nodeId="95"/>
<Shape name="YZ65_bodyPanels" shapeId="77" static="true" castsShadows="true" receiveShadows="true" materialIds="13" nodeId="96"/>
</TransformGroup>
<Shape name="yz65_frontLoader" shapeId="78" static="true" castsShadows="true" receiveShadows="true" materialIds="14" nodeId="97"/>
</TransformGroup>
</Scene>

<UserAttributes>
</UserAttributes>
</i3D>
=========================






When I open it in Giants Editor and save it again it looks like this:







=========================

<?xml version="1.0" encoding="iso-8859-1"?>

<i3D name="YZ-65_body_28" version="1.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.6.xsd">
<Asset>
<Export program="GIANTS Editor 64bit" version="8.1.0"/>
</Asset>

<Files>
<File fileId="2" filename="../zetor_77_series_pack_fs_19_v1/shaders/vehicleShader.xml"/>
</Files>


<Materials>
<Material name="lam_bodypanels" materialId="4" diffuseColor="0.498039 0.498039 0.498039 1" customShaderId="2">
<Custommap name="mArraySpecular" fileId="3"/>
<Custommap name="mArrayNormal" fileId="3"/>
<Custommap name="mArrayDiffuse" fileId="3"/>
<CustomParameter name="RDT" value="1 1 0 0"/>
<CustomParameter name="dirtColor" value="0.2 0.14 0.08 0"/>
</Material>
</Materials>


<Shapes externalShapesFile="test.i3d.shapes">
</Shapes>


<Dynamics>
</Dynamics>

<Scene>
<TransformGroup name="YZ65" nodeId="84">
<TransformGroup name="mainBody_grp" nodeId="85">
<Shape shapeId="1" name="seat" translation="0 -20.2847 12.1236" static="true" nodeId="86" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="2" name="rearHitch" static="true" nodeId="87" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="3" name="axle_front" static="true" nodeId="88" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="4" name="steeringRod" static="true" nodeId="89" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="5" name="front_fender_left" static="true" nodeId="90" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="6" name="front_fender_right" static="true" nodeId="91" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="7" name="steeringShaft" static="true" nodeId="92" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="8" name="wiper" static="true" nodeId="93" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="9" name="fanwheel" static="true" nodeId="94" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="10" name="enginewheel" static="true" nodeId="95" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="11" name="alternatorwheel" static="true" nodeId="96" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="12" name="radiator_fan" static="true" nodeId="97" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="13" name="liquidJug" static="true" nodeId="98" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="14" name="engine_main" static="true" nodeId="99" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="15" name="rearAxle" static="true" nodeId="100" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="16" name="engineGrille" static="true" nodeId="101" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="17" name="radiator" static="true" nodeId="102" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="18" name="YZ65_emblems" static="true" nodeId="103" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="19" name="mirrors" static="true" nodeId="104" materialIds="4" castsShadows="true" receiveShadows="true"/>
<TransformGroup name="e7f" nodeId="105">
<Shape shapeId="20" name="polySurface9" static="true" nodeId="106" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="21" name="polySurface10" static="true" nodeId="107" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<Shape shapeId="22" name="roofGrille" static="true" nodeId="108" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="23" name="exhaust" static="true" nodeId="109" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="24" name="rearLightAssbly" static="true" nodeId="110" materialIds="4" castsShadows="true" receiveShadows="true"/>
<TransformGroup name="interior" nodeId="111">
<Shape shapeId="25" name="steeringwheel" static="true" nodeId="112" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="26" name="p5konv" static="true" nodeId="113" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="27" name="p4konv" static="true" nodeId="114" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="28" name="p2konv" static="true" nodeId="115" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="29" name="p3konv" static="true" nodeId="116" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="30" name="gaspedal" static="true" nodeId="117" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="31" name="throttleControl" static="true" nodeId="118" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="32" name="gearShift" static="true" nodeId="119" materialIds="4" castsShadows="true" receiveShadows="true"/>
<TransformGroup name="dashInstruments" nodeId="120">
<Shape shapeId="33" name="polySurface48" static="true" nodeId="121" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<Shape shapeId="34" name="cabin_interior" static="true" nodeId="122" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<TransformGroup name="controls" nodeId="123">
<Shape shapeId="35" name="teplotamotora" static="true" nodeId="124" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="36" name="otackomer" static="true" nodeId="125" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="37" name="palivomer" static="true" nodeId="126" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="38" name="speed" static="true" nodeId="127" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<TransformGroup name="rear3point" nodeId="128">
<Shape shapeId="39" name="bod1r" static="true" nodeId="129" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="40" name="bod1l" static="true" nodeId="130" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="41" name="bod3l" static="true" nodeId="131" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="42" name="bod4r" static="true" nodeId="132" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="43" name="bod4l" static="true" nodeId="133" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="44" name="bod3r" static="true" nodeId="134" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="45" name="bod2r" static="true" nodeId="135" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="46" name="bod2l" static="true" nodeId="136" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<TransformGroup name="front3point" nodeId="137">
<Shape shapeId="47" name="front3ptAssembly" static="true" nodeId="138" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="48" name="front3pt_piston" static="true" nodeId="139" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="49" name="front3pt_pistonLinks" static="true" nodeId="140" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<TransformGroup name="Lights" nodeId="141">
<TransformGroup name="Headlights" nodeId="142">
<Shape shapeId="50" name="pSphere1" translation="13.4111 113.23 182.206" rotation="90 0 0" scale="1.93865 1.93865 1.93865" static="true" nodeId="143" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="51" name="pSphere2" translation="-13.4889 113.23 182.206" rotation="90 0 0" scale="1.93865 1.93865 1.93865" static="true" nodeId="144" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="52" name="headlightLens" static="true" nodeId="145" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="53" name="headlights_glass" static="true" nodeId="146" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<TransformGroup name="light_grp" nodeId="147">
<Shape shapeId="54" name="polySurface3" static="true" nodeId="148" materialIds="4" castsShadows="true" receiveShadows="true"/>
<TransformGroup name="sharedCabinLights" nodeId="149">
<Shape shapeId="55" name="lightGlass4" static="true" nodeId="150" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="56" name="polySurface54" static="true" nodeId="151" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
</TransformGroup>
<TransformGroup name="light_grp2" nodeId="152">
<TransformGroup name="light_grp2_sharedCabinLights1" nodeId="153">
<Shape shapeId="57" name="lightGlass2" static="true" nodeId="154" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="58" name="polySurface50" static="true" nodeId="155" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<Shape shapeId="59" name="polySurface3" static="true" nodeId="156" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<TransformGroup name="light_grp4" nodeId="157">
<TransformGroup name="sharedCabinLights" nodeId="158">
<Shape shapeId="60" name="lightGlass3" static="true" nodeId="159" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="61" name="polySurface56" static="true" nodeId="160" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<Shape shapeId="62" name="polySurface3" static="true" nodeId="161" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<TransformGroup name="light_grp5" nodeId="162">
<TransformGroup name="light_grp2_sharedCabinLights1" nodeId="163">
<Shape shapeId="63" name="lightGlass1" static="true" nodeId="164" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="64" name="polySurface52" static="true" nodeId="165" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<Shape shapeId="65" name="polySurface3" static="true" nodeId="166" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<Shape shapeId="66" name="rearLightLens" static="true" nodeId="167" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="67" name="topLightsLens" translation="0 -1.10519 0" static="true" nodeId="168" materialIds="4" castsShadows="true" receiveShadows="true"/>
<TransformGroup name="lights_signals_grp" nodeId="169">
<Shape shapeId="68" name="turnsignals_rear1" static="true" nodeId="170" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="69" name="frontTurnSignal_L" static="true" nodeId="171" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="70" name="turnsignals_rear" static="true" nodeId="172" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="71" name="lightsAcc" static="true" nodeId="173" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="72" name="frontTurnSignal_R" static="true" nodeId="174" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="73" name="brakeLights" static="true" nodeId="175" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
</TransformGroup>
<Shape shapeId="74" name="windows" static="true" nodeId="176" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="75" name="body_cabin" static="true" nodeId="177" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="76" name="decals" static="true" nodeId="178" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="77" name="YZ65_bodyPanels" static="true" nodeId="179" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<Shape shapeId="78" name="yz65_frontLoader" static="true" nodeId="180" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
</Scene>

</i3D>


Josh Shapiro (Unknown) 05.11.2019 20:31
For anyone else who has this problem I've figured it out. I was trying to use GE as a final assembly 'editor', where it's really just a glorified i3d converter. After you bake out your textures in Substance, bring them back into Maya, assemble everything, build out your hierarchy, add lights, etc. Do everything in Maya, then final export into GE.

GE combines like shaders, so even though I had e.g. Phong_1 through Phong_14, they didn't have any textures, etc. applied to them so GE just combined them all to one shader and assigned that to all meshes.


Note: Log in to post. Create a new account here.