Outerra forum

Outerra Engine => Technology => Topic started by: knackered on February 07, 2011, 12:48:17 pm

Title: height data alignment
Post by: knackered on February 07, 2011, 12:48:17 pm
hello guys,
just a question about how you deal with external height data as you split and merge your quad tree nodes.
are your quad tree nodes aligned to the dataset you're rendering? i.e. do the vertices of each tile line up perfectly with the texels of the height tile loaded from disk?
to be honest, I'm assuming you do filtering, because you mix differing resolution datasets. You bind the incoming height tile as a texture and draw it into the nearest mpp matching quadtree node using bilinear filtering. Am I right?
Title: height data alignment
Post by: cameni on February 07, 2011, 02:21:14 pm
Yes, we are remapping the input datasets first to match the quadtree nodes. The filtering doesn't have to be bilinear, a higher-level filtering can be used if specified for given input.
Title: height data alignment
Post by: knackered on February 08, 2011, 02:27:36 pm
ah right thanks cameni. Was just a sanity check, in case I may have missed something.