@MabraX Each part belongs to a bone of the rig, so its slot is wherever that bone is right now. The parts fly curved paths that move along with the machine, so they can land even at full speed. Then we swap back to the original mesh 🚜
Thanks for all the love on the fog post! 🙏
Here’s one more as a thank-you. Fresh out of the oven, we just started testing it today...
Purge → reassemble. Without slowing down. 🚜
Still a long road of tuning ahead, of course!😗
#破壊重機グランダート#gamedev
Thanks for all the love on the fog post! 🙏
Here’s one more as a thank-you. Fresh out of the oven, we just started testing it today...
Purge → reassemble. Without slowing down. 🚜
Still a long road of tuning ahead, of course!😗
#破壊重機グランダート#gamedev
Ever since I saw this fog in TotK, I wanted it in our game. So we built our own 🚜
GPU 2D fluid sim (Stable Fluids) for the fog + machine interaction, volumetric ray marching for rendering.
Still tuning, but loving how it turned out!😊
#破壊重機グランダート#gamedev
@_lewin_ Thanks! On an RTX 3070 at 1080p, the whole fog costs about 0.5 ms per frame.
And yes, keeping the sim 2D is a big saving: the fluid sim itself is only ~0.05 ms. Most of the cost is the ray march, which runs at half res.😤
@PTommy59687 Haven’t profiled on low-end GPUs yet, but it’s built to scale 🛠️
The sim is 2D only (no 3D grid), the ray march runs at half res with a depth-aware upsample, and resolutions and step sizes are all adjustable.
@SoumilBhandari Thanks!
I’m injecting velocity. 💨💨💨
For now, each machine is a soft circular footprint: inside it the fog velocity gets pulled toward the machine’s velocity,
plus an outward push scaled by speed. Projection + vorticity confinement do the rest, which gives the swirls.
@schmarante I didn’t know about Blast Corps, but just looked it up and wow, it’s really close!
Ours is a 4-player game where you smash construction machines into each other and wreck stuff while battling.
Definitely going to study it for reference, thanks for sharing!
@kdpisda Not a straight extrude! The sim stores density + layer thickness.
Density fades with height above the terrain, and 3D noise breaks up the layer top so it isn’t flat.
Machines also pile fog up in their wake.