Part of the Khronos Group
Results 1 to 7 of 7

Thread: Pivot type Node

  1. #1

    Pivot type Node

    Hy .
    What is pivot node type 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 type node , what is?
    And if i would import the bones and skin are also in the visual scene tree?
    Thanks.

  2. #2
    Junior Member
    Join Date
    Dec 2008
    Location
    England, United Kingdom
    Posts
    18

    Re: Pivot type Node

    Hi,

    As of the 1.5 specification I can see that the only valid types of nodes are either NODE or JOINT.

    Due to this, I'm guessing you're refering to a node with an sid or name attribute with a value of "PIVOT". If this is the case you can treat this node as a NODE type, as described by the specification (unless of course, you have the type attribute specified with the value of JOINT).

    I'm guessing here, but I'd assume your exporter has just named a node "PIVOT" to represent a pivot point that has been used in creating your model/scene by your 3D modelling package.


    Adam

  3. #3

    Re: Pivot type Node

    Thanks.
    the problem is that in some pivot node of my collada file there are a matrix and the geometry tag(the tag uri of mesh).
    1)I must deal this transformation matrix like a normal node type?then concatenate it with the parents in the visual scene and create a result matrix to set when i draw the mesh?
    2)or i must ignorate this matrix

  4. #4
    Member
    Join Date
    Feb 2005
    Location
    San Jose, CA
    Posts
    63

    Re: Pivot type Node

    COLLADA does not specify Pivot Node Type.
    If you see Pivot in nodes or in transforms, you should treat them like regular nodes or transforms.
    So you should do Option 1.

    If anyone thinks Pivot Node Type is useful, let me know.
    When there are enough requests, I can try to propose something in the next spec updates.

    Herbert

  5. #5
    Junior Member
    Join Date
    Dec 2008
    Location
    England, United Kingdom
    Posts
    18

    Re: Pivot type Node

    Quote Originally Posted by uclahklaw
    If anyone thinks Pivot Node Type is useful, let me know.
    When there are enough requests, I can try to propose something in the next spec updates.
    Hi Herbert,

    Personally speaking, I feel the pivot is pretty clearly just another transform, so I can't see the point in adding this additional complexity. (It's not just that I don't want to have to add it to my parser, I promise!)

    However, (without trying to hijack this thread,) if there's any chance of adding animation references into the <visual_scene> tree. As an example, a new <amination_clip_instance> that would be a child of <instance_controller> to specify related animations to the controller.

    Now that would be ace.

    Cheers,
    Adam

  6. #6
    Senior Member
    Join Date
    Jul 2004
    Location
    Santa Clara
    Posts
    358

    Re: Pivot type Node

    good suggestion, could you submit this as a BUG or RFE of the spec so we can track this
    Please use the 'submit bug' link on the collada.org wiki main page

    Regards

  7. #7
    Junior Member
    Join Date
    Dec 2008
    Location
    England, United Kingdom
    Posts
    18

    Re: Pivot type Node

    Submitted.
    Bug#: 107


    Adam.

Similar Threads

  1. Collada Mime type
    By hartror in forum Design Discussions
    Replies: 5
    Last Post: 06-26-2011, 01:07 AM
  2. Another query about 'joints' with no 'sid' and type 'node'
    By WTH in forum Implementation Discussions
    Replies: 7
    Last Post: 12-07-2010, 07:22 PM
  3. importation from node type name
    By giugio in forum Implementation Discussions
    Replies: 1
    Last Post: 08-30-2010, 10:20 AM
  4. A rotate pivot question
    By seith in forum Implementation Discussions
    Replies: 6
    Last Post: 04-09-2010, 06:26 PM
  5. Type Casting from float to domfloat
    By maeyan6 in forum Implementation Discussions
    Replies: 1
    Last Post: 03-14-2009, 10:13 AM

Posting Permissions

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