nwpointer / three-landscape

React-three-fiber compatible abstractions that make it easier to render high quality landscapes scenes

Home Page:https://three-landscape.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adaptive mesh density

nwpointer opened this issue · comments

using a BTree + based longest edge subdivision would allow for dynamically controlling mesh density either by distance from camera or some other criteria while avoiding gaps caused by T-junctions in quad-tree based solutions.

got a basic cpu based B-tree working

Screen Shot 2021-11-22 at 4 21 56 PM

Initial attempts were not fast enough to recalculate the mesh as the camera moved around or had other draw backs like visible 'pop-in' as geometry detail increased so I've not merged them into main.