Anders Modén

Results 11 comments of Anders Modén

Its the Box Animated sample i have been looking at.  The rotation keyframes for the smaller boxBest regards

The problem is that its quaternions.  The first is 360 degrees rotation and not 0 degreesThe second is 180 rotation.  Interp between those are 270 degrees and not 90 degreesSo...

The problem is the interpretation of the first quat.  In my world its a 360 deg rotation and the second quat is a 180 deg rotation.  All rotations between them...

Ok. Thanx. Then we agree that this sample should perform like your animated gifs shows. I will go to the glTF sample viewer repo and file the bug there. Thanx...

But the viewer next to your animated gif (link to gltf viewer) show the wrong output. And the link you provided also shows wrong output

It takes the shortest path. The question is just in what direction.  Read about the math definition of slerp and quatsBest regards!/Anders Modén29 maj 2024 kl. 22:33 skrev Ed Mackey...

Ok. Perhaps i should drop this then but my point is that there is a math formula for quaternion slerp using quaternion math and not some special code for glTF....

What is the slerped quat in first iteration at step 0 ?30 maj 2024 kl. 16:11 skrev Ed Mackey ***@***.***>: Indeed, there is no special slerp for glTF. Have you...

Now i am even more confused.  Your angles are Exactly as mine ranging from 360 deg down to 180 wich is Exactly how it should be. Positive rotations around the...

Ah.  You flipped your axis.  Saw that nowBest regards!/Anders Modén30 maj 2024 kl. 21:26 skrev Anders Modén ***@***.***>:Now i am even more confused.  Your angles are Exactly as mine ranging...