io7m / jcalcium

Skeletal animation
ISC License
0 stars 0 forks source link

Check that conventionally constructed Blender skeletons work #23

Closed io7m closed 7 years ago

io7m commented 7 years ago

There may still be issues with the way skeletons are exported.

The example stand_wave.blend skeleton has been constructed such that all bones are pointing "forward" (+Y) in Blender. This works correctly, but it's not how skeletons are usually constructed in Blender. Need to come up with some test cases to ensure that all skeletons work regardless of how they're constructed in Blender.

io7m commented 7 years ago

The attached "conventionally constructed" skeleton mostly works, but displays a bizarre anomaly on the arm as shown in the attached video.

traditional.zip

8598d0cafb640d24992c83e7c31cadbdd8cd4452a39b77b1b0f9b0cf022a61c2 traditional.zip

io7m commented 7 years ago

It would be helpful if something in the example viewer would indicate when an animation has restarted. Possibly related to #9 as a notification would be a subset of the infrastructure required for #9.

io7m commented 7 years ago

Added a bug label, because there is one somewhere.

io7m commented 7 years ago

Could this anomaly be down to linearly interpolating quaternions rather than using spherical linear interpolation?

io7m commented 7 years ago

Yes, linear interpolation is the issue. Using spherical linear interpolation fixes the issue. Need to add an efficient implementation to jtensors.

See https://github.com/io7m/jtensors/issues/11