Results 1 to 2 of 2

Thread: animation with rotate

  1. #1
    ZINS
    Guest

    animation with rotate

    Hi,

    I have an animation on angle X.
    The want to change the output XYZ et angle.
    Is it possible ?
    I see no contra indication in the specification or in the collada book.
    But colla_rt_viewer take only angles and doesn't take the xyz parameters

    The description of the animation is :
    <library_animations>
    <animation id="rotateX">
    <source id="rotateX-input">
    <float_array id="rotateX-input-array" count="4">0 1 2 3</float_array>
    <technique_common>
    <accessor source="#rotateX-input-array" count="4" stride="1">
    <param name="TIME" type="float"/>
    </accessor>
    </technique_common>
    </source>
    <source id="rotateX-output">
    <float_array id="rotateX-output-array" count="16">
    50 150 300 360 100 100 100 180
    150 150 150 270 200 200 200 360
    </float_array>
    <technique_common>
    <accessor source="#rotateX-output-array" count="4" stride="4">
    <param name="X" type="float"/>
    <param name="Y" type="float"/>
    <param name="Z" type="float"/>
    <param name="ANGLE" type="float"/>
    </accessor>
    </technique_common>
    </source>
    <sampler id="rotateX-sampler" >
    <input semantic="INPUT" source="#rotateX-input"/>
    <input semantic="OUTPUT" source="#rotateX-output"/>
    </sampler>
    <channel source="#rotateX-sampler" target="Box/rotateX.ANGLE"/>
    </animation>
    </library_animations>


    Thanks

  2. #2
    Senior Member
    Join Date
    Jul 2004
    Location
    Santa Clara
    Posts
    356
    Most likely this was not implemented in COLLADA RT.
    Feel free to contribute to the project

    -- Remi

Posting Permissions

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