Results 1 to 4 of 4

Thread: Factoring a sampler's input.

  1. #1

    Factoring a sampler's input.

    Hello,

    I'm generating collada 1.4 animations from a simulator. All the objects
    animations have the same sample rate. Therefore I would like to share the
    time input between all sampler, as done in this example:

    http://gist.github.com/610049#file_factor_timeline.dae

    The example passes coherency test, but openscenegraph crashes when it loads it.

    Before complaning to OSG, I'd like to be sure the idea is valid. Can somebody
    confirm it?

  2. #2

    Re: Factoring a sampler's input.

    Hello again.

    Here is another example which passes coherencytest but makes OSG crash. This time I tried to factorize the animation output array.

    http://gist.github.com/610049#file_factor_output.dae

    Could anybody tell me if the file is ok or not?

  3. #3

    Re: Factoring a sampler's input.

    Hello again, again,

    here is a third example, where vertices are factorized between two meshes.

    http://gist.github.com/610049#file_factor_vertices.dae

    The example passes coherencytest, but OSG fails with this message :

    Code :
    No float array found
    terminate called after throwing an instance of 'std::out_of_range'
      what():  vector::_M_range_check
    Abort trap

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

    Re: Factoring a sampler's input.

    Those all look valid. Software that crashes on those documents are making invalid assumptions about the structure of the XML.

Posting Permissions

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