Jason Deacutis - Portfolio

Physics

N-Body Gravity Physics

A N-Body simulation simulates all objects as sources of gravity. For example, all the stars in the Milky Way galaxy pull on the Sun, & the Sun pulls on all the stars. This is particularly expensive because the calculations increase exponentially with the body count (O(n^2)).

/content/Physics/BH.gif
Barnes-Hut algorithm reduces # of calculations by simulating clumps of bodies as one (O(n*log(n))).
/content/Physics/nbody.gif
Multi-threaded, cache-coherent, Burst compiled, brute-force approach. For 4096 bodies, compared to the unoptimized starting point, this resulted in a speed up from ~600ms per frame to ~6ms (mostly from cache-coherency). PhysX collisions are now the bottleneck.

Dynamic Dicing

Unity destruction prototype based on Kostack Studio's Dynamic Dicing

Heightmap Erosion

Unity prototype of simulating sand-like erosion