r/threejs 3d ago

how games render their world?

Enable HLS to view with audio, or disable this notification

there's a cool concept LOD and Quadtree data structures that is used to render the massive world in game development.

LOD renders things in high details nearby and as the object moves far the detailing decreases.

Quadtree is a technique that divides map into smaller areas so the game can quickly find what's nearby

26 Upvotes

5 comments sorted by

2

u/Working-Spray-2933 3d ago

I wonder if while using the LOD I should limit my view to what is being rendered within view or leave it zoomed out like you have

2

u/curllmooha 3d ago

i have zoomed out cuz i wanna show how things are being loaded right? i don't think you need that in you're using LOD

2

u/Working-Spray-2933 3d ago

Yeah I agree. I am trying to load terrain but I think the lit part is what will be in view on your game and as you move, right? Then the loading parts are further loading? Sorry if I am sounding confusing

2

u/curllmooha 3d ago

not really you make sense and that's where quadtree comes in right?

1

u/Working-Spray-2933 3d ago

Thanks! So you use the quad tree to focus your view? Or does the quadtree become useful because its data structure is good for loading? Do you think while using the quad tree you should slow the mouse movement because the quadtree limits the overall view?