News for hackers. Stuff that matters.
Re:Game Engine: How I Implemented Skeletal Animation by wyldfire on Sunday April 04, 2021 @12:43AM (#26686949)
> With this in mind, I wrote a small function to traverse the hierarchical tree and convert it to this simple array. Then we yeet the hierarchical data out of existence.

This is the classic AoS vs SoA [1]? SoA can be composed arbitrarily and feels more natural to design. But SoA is usually optimal for the hardware.

[1] https://en.wikipedia.org/wiki/AoS_and_SoA

Re:Game Engine: How I Implemented Skeletal Animation by msk-lywenn on Sunday April 04, 2021 @04:52AM (#26687893)
This is still AoS. SoA would be if the author had several arrays for each member/component of the original bones.