[ad_1]
I’m making an attempt to know how I’d apply a displacement map/peak map to my quadtree-LOD planet. So, I’ve a planet with N variety of quads that may subdivide recessively and present better LOD if a participant location is shut sufficient. If I add a noise algorithm like simplex noise/BFM for the terrain it really works nice; the whole lot subdivides and the noise house is steady for any given mesh at any location.
Now, what if I need to lengthen the potential of constructing a terrain? say for instance add a peak map to a quad to present my planet a extra distinctive look. This breaks the algorithm. as a substitute of the peak map dividing and preserving itself steady. It simply recreates the identical peak map for every of the 4 quads. Is there any approach I can flip my peak map right into a quadtree-LOD, or am constrained to utilizing a LOD algorithm and not using a quadtree if a need to add a peak map?
REPRODUCIBLE EXAMPLE: https://codepen.io/miguelmyers8/pen/BaVKJoP?editors=0011
[ad_2]