facebookincubator / FBX2glTF

A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyframes should be scalar value

Leadwerks opened this issue · comments

Why are keyframe times (channel.input) stored as VEC3 values? Shouldn't they be scalars?

From the spec:
https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#animations

Each of the animation's samplers defines the input/output pair: a set of floating point scalar values representing linear time in seconds; and a set of vectors or scalars representing animated property.

Found my error, nevermind.