Re:Game Engine: How I Implemented Skeletal Animation
by gfxgirl on Sunday April 04, 2021 @03:28AM
(#26687569)
unfortunately, IIUC, GA doesn't handle scaling. It's ironic the picture of a T-POSE in that article is a cartoon like character. Cartoon animation is full of "squash and stretch" which means lots of animation of scale.
[ Parent
| on HN ]
Re:Game Engine: How I Implemented Skeletal Animation
by bsenftner on Sunday April 04, 2021 @07:54AM
(#26688730)
Squash and stretch is not implemented with scaling. In fact, for any rational animation system (meaning one that a non-engineer digital artist can actually use) the use of scaling is simply not available in the system. Scaling in a hierarchical animation system is a guaranteed method to fuck up an untold large number of additional systems such as the physics/dynamics associated with the scaled character as well as any geometry attached to the character, as well as any sub-systems which use the now-scaled character for decision triggers. There are simply too many inter-dependent systems that rely on aspects of the environment, such as the scale of objects, to remain consistent for the entire illusion of a consistent world to be maintained.
Speaking from experience: I've written dozens of 3D animation systems for games and film VFX. I've been writing 3D animation systems since the 80's.
Re:Game Engine: How I Implemented Skeletal Animation
by gfxgirl on Sunday April 04, 2021 @10:06AM
(#26689479)
So have I. I can assure you there is scaling in every game and VFX I've worked on since the late 90s
Re:Game Engine: How I Implemented Skeletal Animation
by bsenftner on Sunday April 04, 2021 @05:45PM
(#26693108)
You may have scaling in your tools, but under the hood the transformation pipeline treats the result as a translation. Scales cause physics and dynamics issues, which are linked to too many related systems. That's why tools that scale have a "bake" operation afterwards, that baking is transforming scales into translations so runtime and scene logic can use a uniform coordinate space.
Re:Game Engine: How I Implemented Skeletal Animation
by gfxgirl on Monday April 05, 2021 @10:46PM
(#26707445)
Not my experience. Have shipped several AAA games with scaling, no baking.
Re:Game Engine: How I Implemented Skeletal Animation
by AnthonBerg on Sunday April 04, 2021 @06:31AM
(#26688275)
I’m still only circling geometric algebra – could you give me some leads on GA not handling scaling? I’ve understood it such that it did, but I’d love to dig into it however it is :) Thanks!
Re:Game Engine: How I Implemented Skeletal Animation
by amelius on Sunday April 04, 2021 @08:52AM
(#26689045)
You probably want projective geometric algebra.
Re:Game Engine: How I Implemented Skeletal Animation
by AnthonBerg on Saturday April 10, 2021 @05:39AM
(#26760237)
Perfect! Thank you so much!
Re:Game Engine: How I Implemented Skeletal Animation
by DonHopkins on Monday April 05, 2021 @05:30AM
(#26696949)
You should try triangulating geometric algebra too! ;)
Re:Game Engine: How I Implemented Skeletal Animation
by AnthonBerg on Saturday April 10, 2021 @05:35AM
(#26760214)
:kiss: MWAH :heart: