Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: height data alignment  (Read 15077 times)

knackered

  • Jr. Member
  • *
  • Posts: 26
height data alignment
« 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?
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
height data alignment
« Reply #1 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.
Logged

knackered

  • Jr. Member
  • *
  • Posts: 26
height data alignment
« Reply #2 on: February 08, 2011, 02:27:36 pm »

ah right thanks cameni. Was just a sanity check, in case I may have missed something.
Logged