Jump to content
  • Advertisement
Sign in to follow this  

QuadTree Chunked-LOD Neighbor

This topic is 2035 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello  smile.png


So i've created a QuadTree using Patches (33x33) 

The Patches have one Index/VertexBuffer and translate with WorldMatrix to the correct Position/Size




So my Problem is now to Fix crack's between the LOD-Levels.


How can i do that?

First i should Find Neighbors (North, West, South, East)?!

But i have no Plan how i do that sad.png


Anyone can tell me more about the Situation?




Edited by montify

Share this post

Link to post
Share on other sites

Here is what I would do ....


1) give all nodes access to their neighbours on the same tessellation level


2) for the quad node you want to render, find the neighbours, then if the node is an internal node (next door to the parent nodes neighbour) then go into the 

    parent nodes neighbours until your node is not an internal node and if they are of the same level of subdivision then you should be fine (if they are rendering patches at the same level for example) however if they are of a lower level of subdivision like in your diagram then find the tessellation level of the neighbouring nodes.


Then make a hem surrounding each patch just like in tessellation shaders and match the outer tessellation so that they match seamlessly, its pretty easy to set with hard coded numbers, you should google for OpenGL tessellation shaders and Direct 3D hull and domain shaders. 

Edited by ray_intellect

Share this post

Link to post
Share on other sites

Thank for reply


To advanced for me i think :(


I have acces to the parent.


But is there a "simple" Solution for Stitching out there?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!