Khronos public bugtracker – Bug 57
Last modified: 2014-01-07 10:23:08 PST
In the specs, on <animation> there is a bound of sampler and channel.
A channel is always preceded by a sampler. On the <channel> page there is an example referencing samplers, but there are none.
This is unclear. Since channels and sampler are referencing why is there the limitation of a sequence: input(s), channel(s), sampler ?
I missed that:
Looking at the example in the specs of <animation>, why is it not possible to instanciate an animation within an animation?
See Bug 58 for the absolute time problem. I think the animation tree does not benefit from the efficient COLLADA reference scheme.
Of course it makes sense if we consider an animation valid only for the current scene. This will mostly be the case for object-to-worldspace-transformation-animations. But animations should be limited to this. Many applications like the library approach and create a way of templating.
The examples in the spec are not always complete and often just focus on showing the syntax of the current element under discussion. I will take this as a more general request for better (valid) examples per section, and for <animation> in particular.
The design of the schema in general is to have a strongly type schema that can validate .dae instance documents to a high degree. More is better and unbounded choices are only used when required (e.g. node transform stack). This approach is contrasted with the desire to enable rapid prototyping(empty document quotient) with optional elements and attributes.
The design of animation to-date does not include the next steps of defining a system of animation blending, media time-line, etc.. as you are noticing.
Assigned. Ellen do we already have better animation examples?
The current working draft still has the same examples as in the 1.4.1 spec. We can make them more valid.
Fixed in 1.5.0 specification.
In 1.5.0, expanded syntax of examples in <animation>, but example in <channel>, reference by original description, still needs at least one <sampler> added.
For example, (the possible added line indicated with **):
<sampler><input semantic="..." source="..."></sampler>
<channel source="#Box-Translate-X-Sampler" target="Box/Trans.X"/>
<channel source="#Box-Translate-Y-Sampler" target="Box/Trans.Y"/>
<channel source="#Box-Translate-Z-Sampler" target="Box/Trans.Z"/>
(See also Bug 126 for related question.)
The animation element describes unique animations. The animation clip composites animations and can use instantiation.