Results 1 to 2 of 2

Thread: Interpreting <node><matrix> elements inside a visual scene

  1. #1
    h.shah
    Guest

    Interpreting <node><matrix> elements inside a visual scene

    Hi All,
    Could anybody please let me know how to interpret

    1. <node><matrix> elements inside a visual scene?

    My exported .dae file contains <matrix> elements like
    <node id="Bhagwan_K1" name="Bhagwan_K1">
    <matrix>
    -0.000000 0.000000 0.058018 -3.450324
    0.049441 0.000000 0.000000 15.665791
    0.000000 0.044767 -0.000000 -0.066573
    0.000000 0.000000 0.000000 1.000000
    </matrix>
    <instance_node url="#Bhagwan_K"/>
    </node>

    <node id="UT745.127_1" name="UT745.127_1">
    <matrix>
    -0.023421 -0.000000 -0.000000 3.878220
    0.000000 -0.020956 0.000000 14.320306
    -0.000000 0.000000 0.018071 -0.560578
    0.000000 0.000000 0.000000 1.000000
    </matrix>
    <instance_node url="#UT745.127"/>
    </node>

    2. <node id="Camera" name="Camera">
    <matrix>
    -0.016231 -0.274697 0.961394 47.676266
    0.999868 -0.004459 0.015606 15.109614
    -0.000000 0.961521 0.274733 14.757887
    0.000000 0.000000 0.000000 1.000000
    </matrix>
    <instance_camera url="#Camera-camera"/>
    </node>

    Thanks
    Harshal

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771

    Re: Interpreting <node><matrix> elements inside a visual scene

    (1) <matrix> is a transform element that is (part of) the definition of a <node> coordinate system. A COLLADA node is a place where you declare the instantiation of various things (e.g. geometry and cameras).

    (2) Same answer as for (1) unless you have another question here?

    Did you read the COLLADA specification?

Posting Permissions

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