Daryl Zuniga's Avatar

Daryl Zuniga

@darzu.bsky.social

Loves gpu programming, compilers, optimization, and building things from scratch. https://mastodon.gamedev.place/@sprig, https://darzu.io, https://sprig.land Rendering Engineer at Bitshift Entertainment

25 Followers  |  307 Following  |  6 Posts  |  Joined: 12.06.2023  |  1.6998

Latest posts by darzu.bsky.social on Bluesky

Video thumbnail

Our #SIGGRAPH2025 paper "Augmented Vertex Block Descent" presents an extremely fast and stable physics solver with hard constraints for handling joints and collisions.

The project page has a 2D demo with source code and more details:
graphics.cs.utah.edu/research/pro...

23.06.2025 03:43 โ€” ๐Ÿ‘ 36    ๐Ÿ” 9    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Video thumbnail

synopsis post:

recently i've been working on a rendering prototype. it's a Wolfenstein style fan raycaster (so CPU, no polygons).

it has:
displacement mapped walls
terrain raycaster floors (entirely different tech, but texturally matched with the walls).
(angle constrained) real time shadows

15.06.2025 13:43 โ€” ๐Ÿ‘ 556    ๐Ÿ” 73    ๐Ÿ’ฌ 18    ๐Ÿ“Œ 2
Post image

In case it's not obvious, every chunk is rendered as an inside out ~cube and the fragment shader of the cube shader does the ray trace / DDA through the 3d texture.

07.06.2025 03:35 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

If we needed it to be way faster I would create a mip-like pyramid for each model w/ 1 bit per voxel, like Teardown does

07.06.2025 03:30 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Post image Post image

Here's a heat map showing how many steps were needed per pixel. Rainbow wraps after 64 steps.

We also have an oct-tree renderer that we're thinking we'll use for very large levels but i'm not actually sure it'll be faster.

07.06.2025 03:28 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Preview
Teardown Frame Teardown Frame breakdown of Tuxedo Labs' voxel-based game

Yeah 3D DDA, pretty close to how Teardown does it:
acko.net/blog/teardow...

64^3 is just to cap the max number of steps any thread needs to take. I haven't investigated how important this is. We run at 360p for stylistic reasons, and worlds with 4000 chunks is <20us so our bottlenecks r elsewhere.

07.06.2025 03:25 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Oh i didnโ€™t realize โ€œBuildโ€ is a specific engine. I donโ€™t know what they do.

07.06.2025 02:42 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

.vox is popular too. I work on an engine with a .kvx and .vox importer. We convert it to a 3D texture and render it using ray tracing / dda. We tried some other approaches like generating slice planes but ray tracing is faster. For big files we chunk to 64x64x64, or use oct tree

07.06.2025 02:41 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Measuring acceleration structures Hardware accelerated raytracing, as supported by DirectX 12 and Vulkan, relies on an abstract data structure that stores scene geometry, known as โ€œacceleration structureโ€ and often referred to as โ€œBVH...

New blog post! "Measuring acceleration structures", in which we will compare BVH costs on various GPU architectures and drivers and attempt to understand the details enough on AMD hardware to make sense of the numbers!

Reposts appreciated :)

zeux.io/2025/03/31/m...

01.04.2025 04:49 โ€” ๐Ÿ‘ 125    ๐Ÿ” 56    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
I want a good parallel computer The GPU in your computer is about 10 to 100 times more powerful than the CPU, depending on workload. For real-time graphics rendering and machine learning, you are enjoying that power, and doing those...

I've now published my blog post, "I want a good parallel computer." raphlinus.github.io/gpu/2025/03/... . Thanks much to all the feedback on the draft, I'd like to think I've clarified some things that might have been confusing.

21.03.2025 19:58 โ€” ๐Ÿ‘ 62    ๐Ÿ” 18    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 2
Video thumbnail

My cozy town building game now has flowers and some simple bushes. I also updated the lighting of the grass to be a bit softer.

Feels much more alive now!

21.03.2025 13:39 โ€” ๐Ÿ‘ 146    ๐Ÿ” 14    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 0
Video thumbnail

More progress on the lighting for my cozy town building game Lots of small tweaks and I've added back the ocean and materials.

Still more to do with the sky lighting, but first I want to get the sun light back and add contact shadows, then some more interesting textures and foliage!

14.03.2025 19:14 โ€” ๐Ÿ‘ 59    ๐Ÿ” 4    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

@darzu is following 20 prominent accounts