Skip to content

Instantly share code, notes, and snippets.

@Memresable
Memresable / rotational_dynamics_rigid.md
Last active September 13, 2024 20:29
The Fundamentals Of Rotational Dynamics In 3D Rigid Body Simulation

The Fundamentals Of Rotational Dynamics In 3D Rigid Body Simulation

part_nil_minus_1

In this article, I hopefully clear the most important parts in rotational dynamics related to 3D rigid body simulation and introduce them in an intuitive way, this is mainly for non-physicists (I'm not even a physicist myself, so that's that...), so if you're a physicist or already familiar with moments of inertia well, then I don't think you're going to get anything new out of this, otherwise then this is probably for you!

It's mainly focused on engineers and programmers, so there's not a whole lot of walls of math text and giggles, mostly focused on the very fundamentals and applications of them

The article is also mainly to make sure I have gotten certain concepts right for the most part, so there may be some mistakes here and there, be warned

@Memresable
Memresable / randy_gaul_obb.md
Last active September 14, 2024 06:35
A look at Randy Gaul's 3D OBB-OBB collision detection & resolution

UPDATE

The article seems to have a really bad tune, it was back then me writing this and i learned a whole lot later on, i don't find this to be a decent article to follow through and i wouldn't recommend it anymore per se, i'm thinking of doing a complete rewrite of this with my own simplified implementation of it (which isn't perfect and contains errors, but would be quite good for understanding), it still contains some useful information however in case you're interested.

And the little rant has been removed since I've found it to be distracting and not helpful, i've learned that they have a good use for some other things, I still don't recommend the GJK + EPA combination however, but they have some useful uses.

Some helpful resources for the time being:

Dirk Gregorius, The Seperating Axis Test

@Memresable
Memresable / win32_page_merging.md
Last active January 8, 2024 12:42
Combining Memory Pages in Windows

NOTE: I've realized that this is overly written, it could be significantly simplified by now but i've moved to linux for now, will refactor this when i get back to windows, it also contains a shit load of errors so be aware of that and use docs!!!

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

So lately i've been playing around the idea of merging pages together to be a single linear writable memory, I've searched through the web a lot and i've never seen anyone actually doing it in a way i did, the reason behind researching around this topic was i was curious, but also it seemed useful to just merge stuff together and eliminate memory fragmentation by merging multiple chunks together to form one contigues memory you can write to

the idea seemed "extreme" and "terrible to apply" to some when i asked this, but tbh, maybe it's not that bad (maybe... dunno about the page caches and faults that could worsen the performance signific