Skip to main content
gamedev.net
🔒 Locked

PIVOT node

Started by giugio 0 replies 950+ views
Original Post
giugio
giugio
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.
giugio
giugio
nobody?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.