Results 1 to 5 of 5

Thread: Assumptions about an <animation>'s <sampler> INP

  1. #1
    Member
    Join Date
    Dec 2007
    Location
    Costa Rica
    Posts
    42

    Assumptions about an <animation>'s <sampler> INP

    I am wondering if it is ok to assume that the <input> with an INPUT semantic of an <animation>'s <sampler> is a time in seconds IE: the INPUT semantic is ALWAYS a time in seconds.

    I ask because a while ago I noticed that DAZ Studio exports a mesh UV values with "U" and "V" as parameter names, even though the spec states they should be named "S" and "T", I posted on their forums about the "bug", but I was told parameter names are meaningless and semantics is all that matters, thus, the TEXCOORD semantic meant the parameters where in fact UV's.

    In the case of an animation sampler the "INPUT" semantic is rather vague (unlike "TEXCOORD") as it could be given as a TIME or as a FRAME, there is nothing other than the parameter name inside the <source>'s <technique_common>'s <accessor> that differentiates one from the other, I have only seen "TIME" so far, but I am wondering if "FRAME" is a possibility or if there are other possibilities out there.

    So any Ideas?

    Thanks!

  2. #2
    Senior Member
    Join Date
    Jul 2004
    Location
    Santa Clara
    Posts
    356
    There is no notion of 'frame' in COLLADA.
    The specification says all times are in seconds.

  3. #3
    Member
    Join Date
    Dec 2007
    Location
    Costa Rica
    Posts
    42
    Quote Originally Posted by remi
    There is no notion of 'frame' in COLLADA.
    The specification says all times are in seconds.
    Alright, so as far as version 1.4.1 goes the INPUT semantic on that context is always TIME (in seconds) right?

    Just to be 100% clear

    Thanks!

  4. #4
    Senior Member
    Join Date
    Jul 2004
    Location
    Santa Clara
    Posts
    356
    The specification does not limit INPUT to be TIME. But I have not seen other semantics implemented by exporters at this time.
    TIME is always in seconds.

  5. #5
    Member
    Join Date
    Dec 2007
    Location
    Costa Rica
    Posts
    42
    Alright, thanks

Posting Permissions

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