Terrain Visualization

Terrain Visualization: Data and Programming

The University of Tennessee at Chattanooga home page

Stephanie Smullen

Computer Science and Engineering


Stephanie-Smullen@utc.edu



Slides are available at
zog.utc.edu/~vislab/Terrain/Part1.htm

The University of Tennessee at Chattanooga home page

Terrain Visualization: Data and Programming

Data structures for storing surface elevation data

Data structures for storing surface elevation data (cont.)

Heightfields - Advantages

Heightfields - Disadvantages

A simple heightfield raster image

Interpreted as heights

Sources of heightfield data

Sources of heightfield data (cont.)

Sources of heightfield data (cont.)

USDA site

Select "Get Data"

Select "Select "Quick County" - enter Albemarle, VA

Preview the 30 meter Charlottesville quad file

Since there is no format choice, continue to step 4

Enter information in step 4, and go to step 5 confirmation

Place order

Receive email, and click link to download

Your Gateway order 915893 has been processed and is ready for download.

.....

Ordered Items:
National Elevation Dataset 30 Meter (60 meter AK)
Size: 97.86 megabytes (9 files). Download compressed size: 80.00 megabytes (2 maps).
ftp://anonymous:915893@gateway2.ftw.nrcs.usda.gov/Gateway/915893/elevation_NED30M_915893_01.zip

Click on the link to download. Ensure the link is complete because some it may be on subsequent line(s).
Total data package size is 97.86 megabytes (80.00 megabytes compressed)

Texture Drapes

Texture Drapes (cont.)

This texture

Applied to the "cake"

A more reasonable texture gives

Concerns

Slopes > 30 or 40 degrees

Concerns (cont.)

Other Considerations

Registration of image to terrain Texture image blurring to protect privacy or security

Multiple resolutions to support LOD (level of detail)

Coordinate Systems

Coordinate systems: UTM (Universal Transverse Mercator Grid)

US UTM zones

  • US 48 States
  • UTM (cont.)

    UTM (cont.)


    See USGS fact sheet

    Terrain file formats

    DEM (Digital Elevation Model) files

    DEM files (cont.)

    DEM files (cont.)

    10 and 30- minute DEM files

    10 and 30- minute DEM files Close up

    DRG (Digital Raster Graphics)

    DRG Example File

    DLG (Digital Line Graphics)

    DOQ (Digital Orthophoto Quadrangle)

    SDTS Spatial Data Transfer Standard

    SDTS Spatial Data Transfer Standard (cont.)

  • Part 4 - Topological Vector Profile -- efines how the SDTS base specification (Parts 1, 2, and 3) must be implemented for a particular type of data. The TVP limits options and identifies specific requirements for SDTS transfers of data sets consisting of topologically structured area and linear spatial features.
  • Part 5 - Raster Profile -- The Raster Profile is for 2-dimensional image and gridded raster data. It permits alternate image file formats using the ISO Basic Image Interchange Format (BIIF) or Georeferenced Tagged information File Format (GeoTIFF).
  • Part 6 - Point Profile -- The Point Profile contains specifications for use with geographic point data only, with the option to carry high precision coordinates
  • Part 7 -- Computer Aided Design and Drafting Profile -- specifications for an SDTS profile for use with vector-based geographic data
  • See the SDTS site for more information
  • Working with SDTS Files

    Example SDTS Files

    East Chattanooga DEM file records

    East Chattanooga DEM viewed with 3dem

    NED (National Elevation Dataset)

    The geographic information in the tiff files

    GeoTiff files

    Other geographic data file formats

    Simple display software

    Program to read a simple DEM file

    Programming issues - Ragged corners


    DEM Quad Format

    Programming issues - Gridding

    important problem with triangle-mesh heightfields is the blocky or aliased appearance of slopes, usually those nearest to the viewer - worse in areas of significant change in slope

    Programming issues - Gridding (cont.)

    Programming issues - Gridding (cont.)

    Programming issues - Efficient Rendering of Heightfields

    Simplest method is to build triangle mesh of all the points available BUT, you'll end up with very poor rendering performance

    Alternative, Implement Level of Detail (LOD) techniques to render terrain with just enough data points

    two-step process - draw only that which is truly visible (visibility determination) and level-of-detail management (LOD rendering)

    Programming issues - Efficient Rendering of Heightfields

    Mesh without LODMesh with LOD

    Programming issues - Efficient Rendering of Heightfields - Solutions

    Progressive Meshing

    Programming issues - Efficient Rendering of Heightfields - Solutions

    Multiresolution (or multi-scale) techniques make it possible for Web-based GIS applications to access large dataset.

    Programming issues - Efficient Rendering of Heightfields - Solutions

    Real Time Optimally Adapting Meshes

    Programming issues - Efficient Rendering of Heightfields - Solutions

    Stateless One-pass Adaptive Refinement

    Programming issues - Efficient Rendering of Heightfields - Solutions

    classic visibility determination algorithm is the quadtree

    Programming issues - Efficient Rendering of Heightfields - Solutions (cont.)

  • if you know that a given box isn't visible - you know that all of its child boxes (and the heightfield cells within them) aren't visible
  • test the visibility of the largest box and recurse through its children, skipping over the invisible ones
  • quadtrees are used with LOD management to determine the heightfield cells and texture needed
  • Programming issues - Efficient Rendering of Heightfields (cont.)

  • quadtree concerns
  • 3D game engines

    Bats using the Irrlict game engine

    Questions?



    Stephanie-Smullen@utc.edu

    Web pages research and personal