Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Terrain and airport

  1. #1
    Junior Member Newbie
    Join Date
    May 2011

    Terrain and airport


    here is my problem not strictly related to OpenGL. I developed a quadtree based terrain engine ( regular grid Chunked Lod ). Now i want to put on it some models like an airport's runaway. It must follow seamlessy the terrain obviously. The runaway is very detailed with number and signals on asphalt modeled as polygon. Microsoft flight simulator seems it integrates the airport base with the terrain structure. I don't want this because my terrain is a regular grid. How can i make it works avoiding z-fighting and make it match with terrain lod.

    Thank you

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Grenoble - France

    Re: Terrain and airport

    Airports are on flat lands, so flatten the area where you put the airport.

    You may want to tweak GL_POLYGON_OFFSET between rendering terrain and airport, to avoid zfighting.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts