It was a straight port by Ken Smith (the only code in "Mocha" I didn't write) of Java's Date code from Java to C.
With the techniques described in this post, I'm able to render a simple SDF object at up to 50 FPS with the recursive algorithm, and 100 FPS with the interpolated shading technique on top. This is on a single CPU core of a MacBook Air M1. It might not seem that impressive given that my scene is very simple, but the code that I wrote is not heavily optimized and again this is using only one CPU core. The implication is that with better optimized code, and leveraging multiple CPU cores on a more modern CPU, we're approaching the territory where it would be possible to make a 3D game like a first person shooter that's rendered using SDFs on the CPU, no GPU required. At least if you're willing to tolerate a 720p resolution, though 1080p might also be possible if you're skilled at writing SIMD code. On GPU we're already firmly in the realm where building a game using SDFs for graphics is 100% achievable, and there are more and more known techniques to make rendering them more efficient.。在電腦瀏覽器中掃碼登入 WhatsApp,免安裝即可收發訊息对此有专业解读
。关于这个话题,谷歌提供了深入分析
Последние новости
Россиянка сломала ногу в популярном магазине и отсудила у него миллионы рублей14:47,详情可参考游戏中心
Essential digital access to quality FT journalism on any device. Pay a year upfront and save 20%.