3000 FPS with 4096 chunks! I implement a (not very optimized) non binary greedy mesher into my engine. it greatly reduces vram usage from 750 mb to 170mb. Further memory stats are shown in the video.
Пікірлер: 17
@lupusktАй бұрын
casually renders 3000 frames of voxels using god damn 4090 XD like driving a formula 1 to a supermarket
@facundoayosa8052Ай бұрын
The thing is he optimized the fuck out of that render. Notice how even though there were at least 10m blocks, he used less than 400mb of ram (out of ~24GB available). You can even see how the meshes merged into one another and how they were cut when a random block appeared. It's awesome to see
@vvgr40923 күн бұрын
Rendering a lot of voxels in optimized way is not that easy. If you do it poorly then even 4090 won't be able to draw bigger maps with playable performance.
@delphicdescant7 күн бұрын
This pleases me.
@Finding_FortuneАй бұрын
Nice stuff! I noticed you mentioned your mesher is non binary, are you planning to switch to the suddenly popular binary greedy meshing? I recently switched and it was at least 5x faster than my regular greedy.....
@forceofphoenixАй бұрын
I dont think i will Switch to binary greedy mesher, because my greedy mesher is quite unoptimized and i expect to get it further down to 0,15 sec for 4096 chunks and thats fast enough for me
@jakes-dev1337Ай бұрын
Cisgender greedy
@w.t.29058 күн бұрын
Ничего себе! Он разобрался с OpenGL! Отдельную ногу индейки ему подкиньте в тарелку, на их нищенский день благодарения. Они же любят индейкой покушать в честь притеснения индейцев. Молодца пацан! Изобрёл велосипед!
@daniking7524Ай бұрын
Very cool stuff. Do you have plans for adding multiplayer support? What about modding?
@forceofphoenixАй бұрын
Im not quite experienced with Networking in C so Multiplayer will be a thing for later. But i will definetly implement a luaJIT modding system
@Dmytro-TsymbaliukАй бұрын
@@forceofphoenix with compatibility with Minetest mods? I also trying create Minecraft clone, but faces optimization is really boilerplate and this very uncomfortable "upgrading"(adding new features such as support for multiple textures instead of one, support for non-cubic geometry, etc.) I'm wondering if it's justified to make a minecraft clone when I'm probably the only one who wants to make a remake of the Age of Wonders series
@forceofphoenixАй бұрын
@@Dmytro-Tsymbaliuk writing a modding api thats compatible with minetest would be too much work for one person. modding is generally a topic for a later stage of this project. Im currenty struggling to add ambient occlusion efficiently with greedy meshing. with a culled mesher it would be so much easier...
@Dmytro-Tsymbaliuk29 күн бұрын
@@forceofphoenix Also you need to add mipmapping, this should fix noise when viewing textures at an angle (anisotropic filtering per spec does not work with NEAREST and the Intel driver enables linear filtration)