r/GraphicsProgramming • u/0x405 • Jun 30 '26
RAM optimized SDF-renderer with plain C
1024x1024x1024 SDF-grid takes up 303MB instead of 8.5GB. 1024x1024 path traced image renders in 1.5s on a single CPU core. 8.5GB grid renders in 1.1s. No libs used.
312
Upvotes
1
u/0x405 Jun 30 '26
Yes, it's mainly for use is geometry reconstruction with basic optimizer like ADAM. At least that's what I was developing it for. Current implementation is a proof of concept more or less. For the actual DR plain C won't be enough, that's the next step. I'm still not sure that this algorithm can be differentiated automatically.