QuadTree Chunked-LOD Neighbor

Started by
1 comment, last by montify 11 years, 1 month ago

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

QT.png

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?

Alex.

Advertisement

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.

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?

This topic is closed to new replies.

Advertisement