Jump to content
  • Advertisement
Sign in to follow this  
giugio

PIVOT node

This topic is 3584 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!