Greedy Mesher going BRRRR

  Рет қаралды 1,881

ForceofPhoenix

ForceofPhoenix

Ай бұрын

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
@lupuskt Ай бұрын
casually renders 3000 frames of voxels using god damn 4090 XD like driving a formula 1 to a supermarket
@facundoayosa8052
@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
@vvgr409
@vvgr409 23 күн бұрын
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.
@delphicdescant
@delphicdescant 7 күн бұрын
This pleases me.
@Finding_Fortune
@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
@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
@jakes-dev1337 Ай бұрын
Cisgender greedy
@w.t.2905
@w.t.2905 8 күн бұрын
Ничего себе! Он разобрался с OpenGL! Отдельную ногу индейки ему подкиньте в тарелку, на их нищенский день благодарения. Они же любят индейкой покушать в честь притеснения индейцев. Молодца пацан! Изобрёл велосипед!
@daniking7524
@daniking7524 Ай бұрын
Very cool stuff. Do you have plans for adding multiplayer support? What about modding?
@forceofphoenix
@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
@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
@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-Tsymbaliuk
@Dmytro-Tsymbaliuk 29 күн бұрын
@@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)
@janlenhart872
@janlenhart872 Ай бұрын
cool
@s.a4044
@s.a4044 29 күн бұрын
Music?
@eineatombombe
@eineatombombe 29 күн бұрын
yes there is music
@jason_m2003
@jason_m2003 Ай бұрын
Keep it up bro, awesome stuff you have going here
I Remade Minecraft But It's Optimized
6:25
FinalForEach
Рет қаралды 684 М.
ДЕНЬ РОЖДЕНИЯ БАБУШКИ #shorts
00:19
Паша Осадчий
Рет қаралды 4,2 МЛН
格斗裁判暴力执法!#fighting #shorts
00:15
武林之巅
Рет қаралды 85 МЛН
1❤️
00:20
すしらーめん《りく》
Рет қаралды 32 МЛН
Simplified 2D Grid PATHFINDING in Godot 4.2
16:29
Cashew OldDew
Рет қаралды 9 М.
Visualizing Pathfinding Algorithms
10:03
CodeNoodles
Рет қаралды 145 М.
Recreating Stardew Valley with Odin and Raylib
25:28
Chris_PHP
Рет қаралды 231
Procedural Walking Animation in Minecraft
8:41
Cymaera
Рет қаралды 1 МЛН
Procedurally Generated 3D Dungeons
10:26
Majikayo Games
Рет қаралды 29 М.
Intro to Bevy Mesh Terrain Editor
4:36
Ad Mazzola
Рет қаралды 224
I re-coded Minecraft purely for MAXIMUM FPS
11:26
Element X
Рет қаралды 450 М.
I programmed Minecraft from scratch... again.
11:44
jdh
Рет қаралды 556 М.
ПК с Авито за 3000р
0:58
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,4 МЛН
⌨️ Сколько всего у меня клавиатур? #обзор
0:41
Гранатка — про VR и девайсы
Рет қаралды 653 М.
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 472 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 2,5 МЛН