Jump to content

  • Log In with Google      Sign In   
  • Create Account


QuadTree Chunked-LOD Neighbor


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 montify   Members   -  Reputation: 325

Like
0Likes
Like

Posted 21 March 2013 - 12:08 PM

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.


Edited by montify, 21 March 2013 - 12:11 PM.


Sponsor:

#2 ray_intellect   Crossbones+   -  Reputation: 258

Like
0Likes
Like

Posted 21 March 2013 - 09:45 PM

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, 22 March 2013 - 02:15 AM.


#3 montify   Members   -  Reputation: 325

Like
0Likes
Like

Posted 23 March 2013 - 04:56 AM

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?






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS