VPF Data Viewer Using OpenGL. About VPF Vector Product Format - MIL-STD-2407 Issued 28 June 1996 Consists of a combination of Vector data (for drawing)

Slides:



Advertisements
Similar presentations
© 2010 Delmar, Cengage Learning Chapter 7: Importing and Modifying Graphics.
Advertisements

Okay, you have learned … OpenGL drawing Viewport and World Window setup main() { glViewport(0,0,300,200); glMatrixMode(GL_PROJECTION); glLoadIndentity();
Okay, you have learned … OpenGL drawing Viewport and World Window setup main() { glViewport(0,0,300,200); glMatrixMode(GL_PROJECTION); glLoadIndentity();
Graphics Pipeline.
CAP4730: Computational Structures in Computer Graphics Visible Surface Determination.
CHAPTER 12 Height Maps, Hidden Surface Removal, Clipping and Level of Detail Algorithms © 2008 Cengage Learning EMEA.
Computer Graphics Visible Surface Determination. Goal of Visible Surface Determination To draw only the surfaces (triangles) that are visible, given a.
Map Projections. Georegistered ? Representing a curved surface in a flat plane Locating that plane on the earth 3 issues –sphere –datum –projection.
Portraying Earth Data types File types
Week 9 - Wednesday.  What did we talk about last time?  Fresnel reflection  Snell's Law  Microgeometry effects  Implementing BRDFs  Image based.
Google Android Map API Presentation 13/03/2008. Map API – Overview (1) Map rendering facility on Android device Similar to Google Earth Integrate map.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
CS 4731: Computer Graphics Lecture 18: Hidden Surface Removal Emmanuel Agu.
GIS (Geographic Information System) And DB2 Spatial Extender n Khiem Pham n CSCI C n Instructor: Professor Renner.
Data Input How do I transfer the paper map data and attribute data to a format that is usable by the GIS software? Data input involves both locational.
Introduction to ArcView ArcView_module_2 May 12, 10:40 AM.
GIS Tutorial 1 Lecture 6 Digitizing.
Modern Navigation Thomas Herring
Cylindrical and Spherical Coordinates Representation and Conversions.
CHAPTER 7 Viewing and Transformations © 2008 Cengage Learning EMEA.
GIS’s Roots in Cartography Getting Started With GIS Chapter 2.
Word Processing Chapter 5 Review Slides. All template files have this file extension and are stored in the Templates folder.dotx.
Concept of Geographic coordinate systems and map projections.
Rebecca Boger Earth and Environmental Sciences Brooklyn College.
Spatial data models (types)
Copyright © 2006 Bruce Kessler All Rights Reserved Ch. 2 Data Issues Juggling with both hands (life is much easier)
The graticule is made up of vertical lines, called lines of longitude, and horizontal lines, called lines of latitude. Because the earth is spherical,
September 18-19, 2006 – Denver, Colorado Sponsored by the U.S. Department of Housing and Urban Development Using Geographic Information Systems (GIS) as.
Spatial data can be described according to: entity distinct object (river) attribute characteristic of entity (discharge) relationship linkages amongst.
Form printing with SAP Smart Forms Instructor: Dylan Liu
Map Projection Theory and Usage.
ECSE 4750: Computer Graphics Rensselaer Polytechnic Institute Nov 5, 2012 Texture and Texture Mapping.
MAPS AND MAPMAKING.
Adaptive Real-Time Rendering of Planetary Terrains WSCG 2010 Raphaël Lerbour Jean-Eudes Marvie Pascal Gautron THOMSON R&D, Rennes, France.
Major parts of ArcGIS ArcView -Basic mapping, editing and Analysis tools ArcEditor -all of ArcView plus Adds ability to deal with topological and network.
Copyright © 2002 P.O. Box 382, Barker, TX facsimile FC The Infinite Grid SM INTRODUCTION.
Map Projections Francisco Olivera, Ph.D., P.E. Srikanth Koka Department of Civil Engineering Texas A&M University.
LECTURE 3B – CHART PROJECTION. Introduction to Chart Projection  Usually we read chart in coordinate system.  A projected coordinate system is defined.
Copyright © 2006 by Maribeth H. Price 1-1 How does GIS work? Data storage The ArcGIS Interface.
Ch2 Sec2 Models of Earth. Key Concepts How do maps and globes represent Earth’s surface? What reference lines are used to locate points on Earth? What.
Mapping Earth Chapter 1 Earth Science. Ch1 L.1 Maps How can a map help determine location? Why are there different map projections for representing Earth’s.
1 Overview Importing data from generic raster files Creating surfaces from point samples Mapping contours Calculating summary attributes for polygon features.
Book Definition In your own words… Picture Latitude Distance in degrees north or south of the equator.
OpenGL Graphics Textures. Quiz You didn't see that coming!
1 Practical Vector GIS Globe to map 2 The where is it… How do we locate Syracuse in space on the earth’s surface? On a FLAT surface?
Using Lightweight Libraries To Do Powerful Tasks Geospatial Selection Using Mapx and JAZ JavaScript Libraries Scott Lewis
Navigation NAU 102 Lesson 3.
Models of Earth Section Review
NAVIGATION – NAV 2104 LECTURE 3: INTRODUCTION TO CHART PROJECTION MOHD ‘ARIFF BIN ABDUL JALIL.
World Geography UNIT I VOCABULARY. Directions  Procure a sheet of paper  Use the internet to define the following vocabulary on the sheet of paper using.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
1 Computer Graphics Week11 : Hidden Surface Removal.
Some Notes on 3-D Glenn G. Chappell U. of Alaska Fairbanks CS 381 Lecture Notes Friday, October 24, 2003.
Large Datasets and Path Mapping in Tableau A V Flinsch Information Visualization Fall 2015.
Navigation NAU 102 Lesson 3. The Nautical Chart A graphical representation of part of the earth. Shows water depths, shoreline, prominent land features,
GIS Data Shape files, Rasters, Coordinate Systems, ArcGIS.
Geocoding and Georeferencing

Visible Surface Detection
Topographic Maps Two-dimensional representation of a Three-dimensional surface. Coordinate systems Latitude/Longitude (spherical) Universal Transverse.
Maps are flat projections that come in many different forms.
Types of Maps.
Unit 1 Bases for Blueprint Reading and Sketching
Review for Midterm Exam
Coordinate Reference Systems
Geography of the Americas
Definition of Topographic Maps
A brief introduction to map projections By Mark VanderVen
Presentation transcript:

VPF Data Viewer Using OpenGL

About VPF Vector Product Format - MIL-STD-2407 Issued 28 June 1996 Consists of a combination of Vector data (for drawing) and Attribute data (for indexing) Widely supported, but rarely fully used. Very complicated to understand Base document is 128 pages, not including appendices Inefficient storage mechanism

Technical Overview Straightforward Approach Load data from VPF files Calculate XY points from data Draw lines on the screen Standard OpenGL commands Using GL_LINE_STRIP for lines Using Orthographic Projection

Challenges There were problems faced during this project that are common to most graphics based applications. Too much data Converting Latitude/Longitude points to X/Y screen locations.

First Problem – Too much data For example, the sample database downloaded from NIMA contained 544 MB of raw data. The process of removing extraneous objects from being drawn is known as culling. There are many methods of culling commonly used in 3D graphics, including: View-Frustum Culling Bounding-Volume Culling Bounding-Volume Hierarchies Backface Culling Cells and Portals Levels of Detail

VPF Topology Levels Method of changing the level of detail in the VPF data. Included in the VPF specification. Effectively, the VPF database gives more information (lines and faces) when supplied with a higher VPF topology level. VPF specification supports 4 levels.

VPF Levels

VPF Tiles VPF specification uses tiles as an index to the data in a database The tile definition consists of a minimum and maximum latitude and longitude The process is common across mapping applications Method of View-Frustum Culling in a 2 dimensional environment

VPF Tiling

Second Problem – Converting Lat/Lon points to X/Y points. Mapping projection converts Lat/Lon to X/Y. Takes points on a sphere (Earth) and projects them onto a flat surface (map). In use since Mercator presented the first projection in 1569AD. Project uses an open-source library for projections. OpenGL Viewport performs final conversion to screen coordinates.

Mercator Projection

Cylindrical Equal-Area

Island in Lake on Island How to store the data so that only land area can be drawn? In drafting, this becomes the window in the wall problem. VPF solves this with ring tables. Faces are made up of rings, starting with the outer-most ring and containing any number of inner rings.