PIVOT node

Started by
0 comments, last by giugio 15 years, 3 months ago
Hy . What is pivot node in collada? I'm creating a collada importer and now i'm at sene import ,then i must rotate ,scalate and translate for each node, but in my parser i "meet" the PIVOT node , what is? this is an example:

  <node id="rear_lights-node" name="rear_lights" type="NODE">
        <translate>0.457656 1.53983 0.431033</translate>
        <rotate>0 0.707107 0.707107 -180</rotate>
        <node id="rear_lights-node_PIVOT" name="rear_lights_PIVOT" type="NODE">
          <matrix>1 0 0 0 0 1 0 0 0 0 1 -0.063738 0 0 0 1</matrix>
          <instance_geometry url="#rear_lights-mesh">
            <bind_material>
              <technique_common>
                <instance_material symbol="ColorMaterial" target="#ColorMaterial_B01A1A00"/>
              </technique_common>
            </bind_material>
          </instance_geometry>
        </node>
      </node>


The problem is that the material instance for the node is enclosed in pivot,then how do my parser when meet the pivot node? Thanks.
Advertisement
nobody?

This topic is closed to new replies.

Advertisement