Results 1 to 2 of 2

Thread: <translate> under <node>

  1. #1
    gowrys
    Guest

    <translate> under <node>

    Hi,
    am trying to display the collada model in java..
    I got a file with dragon model.
    In that I found some nodes under the <visual_scene> tag as follows..

    <node id="Drag_n-node" name="Drag_n" type="NODE">
    <translate>1.55224 -1.32928 6.55679</translate>
    <rotate>-0.57735 0.57735 0.57735 -120</rotate>
    <scale>0.074126 0.074126 0.074126</scale>
    <node id="Drag_n-node_PIVOT" name="Drag_n_PIVOT" type="NODE">
    <translate>32.9212 78.694 -22.9045</translate>
    <instance_geometry url="#Drag_n-mesh">
    <bind_material>
    <technique_common>
    <instance_material symbol="_3_-_Default" target="#_3_-_Default"/>
    </technique_common>
    </bind_material>
    </instance_geometry>
    </node>
    </node>



    I applied the <translate> <rotate> and <scale> to the subnode Drag_n-node_PIVOT..

    could anybody tell me what is the significance of the other <translate> under the Drag_n-node_PIVOT node ? how it will affect the model?

  2. #2
    Senior Member
    Join Date
    Jul 2004
    Location
    Santa Clara
    Posts
    356
    the sec page 100, describing the <node> element says:
    The <node> element represents a context in which the child transform elements are composed in the order that they occur. All the other child elements are affected equally by the accumulated transform in the scope of the <node> element.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •