Creating Mercator s Map Projection

Similar documents
LECTURE TWO Representations, Projections and Coordinates

Worksheet 3.5: Triple Integrals in Spherical Coordinates. Warm-Up: Spherical Coordinates (ρ, φ, θ)

Textures Tutorial. Using Cobalt, Xenon, Argon. Copyright Vellum Investment Partners dba Ashlar-Vellum. All rights reserved.

How to print a Hypercube

Vectors and the Geometry of Space

Using the CMA Warp Editor

Barycentric Coordinates and Parameterization

Introduction to 3D Concepts

CS 4620 Midterm, March 21, 2017

Navigation coordinate systems

Yandex.Maps API Background theory

form are graphed in Cartesian coordinates, and are graphed in Cartesian coordinates.

Geometric Correction of Imagery

COORDINATE TRANSFORMATION. Lecture 6

Measuring Lengths The First Fundamental Form

MATH203 Calculus. Dr. Bandar Al-Mohsin. School of Mathematics, KSU

THE CAMERA TRANSFORM

Texture. Texture Mapping. Texture Mapping. CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture

CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture

Visualization Insider A Little Background Information

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe

Parallel Computation of Spherical Parameterizations for Mesh Analysis. Th. Athanasiadis and I. Fudos University of Ioannina, Greece

Lecture 17: Recursive Ray Tracing. Where is the way where light dwelleth? Job 38:19

Assignment 2 : Projection and Homography

FLAMINGO CHEAT SHEET FOR ES 305 CLASS 5 Pages of Fresh Flamingo Goodness

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe

Relation between total and partial derivatives

Images from 3D Creative Magazine. 3D Modelling Systems

Character Modeling IAT 343 Lab 6. Lanz Singbeil

CPSC / Texture Mapping

archi DOCT PROTOTYPING STRUCTURES IN ARCHITECTURE July2017 ISSN enhsa enhsa ENHSA Network

Introduction Ray tracing basics Advanced topics (shading) Advanced topics (geometry) Graphics 2010/2011, 4th quarter. Lecture 11: Ray tracing

Hartley - Zisserman reading club. Part I: Hartley and Zisserman Appendix 6: Part II: Zhengyou Zhang: Presented by Daniel Fontijne

You can select polygons that use per-poly UVs by choosing the Select by Polymap command ( View > Selection > Maps > Select by Polygon Map).

Digital Geometry Processing Parameterization I

Well Unknown ID AKA EPSG: 3857

Data Representation in Visualisation

Quick Start Tutorial

Creating the Tilt Game with Blender 2.49b

Applications of Triple Integrals

DD2429 Computational Photography :00-19:00

Coordinate Transformations in Advanced Calculus

Topics and things to know about them:

16.6. Parametric Surfaces. Parametric Surfaces. Parametric Surfaces. Vector Calculus. Parametric Surfaces and Their Areas

Rotated earth or when your fantasy world goes up side down

Geographic Information Systems. using QGIS

Chapter 4. Clustering Core Atoms by Location

( ) Derivation of Polar Reduction Formula for a Calculator Robert Bernecky April, 2018 ( )

Visualisation Pipeline : The Virtual Camera

Geometric Correction

Chapter 17: The Truth about Normals

Geocoding and Georeferencing. Scott Bell GIS Institute

Can Maps Make the World Go Round?

12 m. 30 m. The Volume of a sphere is 36 cubic units. Find the length of the radius.

ARCHITECTURE & GAMES. A is for Architect Simple Mass Modeling FORM & SPACE. Industry Careers Framework. Applied. Getting Started.

DAY 1 DEFINITION OF ANGLES

Problem 2. Problem 3. Perform, if possible, each matrix-vector multiplication. Answer. 3. Not defined. Solve this matrix equation.

Complex Features on a Surface. CITS4241 Visualisation Lectures 22 & 23. Texture mapping techniques. Texture mapping techniques

January 30, 2019 LECTURE 2: FUNCTIONS OF SEVERAL VARIABLES.

TRANSFORMATIONS AND CONGRUENCE

Parallel Transport on the Torus

Stereographic Projections

Double Integrals, Iterated Integrals, Cross-sections

Ray Tracer I: Ray Casting Due date: 12:00pm December 3, 2001

Chapter 23. Geometrical Optics (lecture 1: mirrors) Dr. Armen Kocharian

LAB # 2 3D Modeling, Properties Commands & Attributes

Geometric Rectification of Remote Sensing Images

diffuse diffuse reflection refraction diffuse mapping diffuse reflection reflection filter mapping mapping reflection

Self-calibration of a pair of stereo cameras in general position

Lecture 11: Ray tracing (cont.)

Adaptive Composite Map Projections in D3

L1 - Introduction. Contents. Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming

So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources.

Immersive visualization of data sets in the 3-sphere Angela George & Alexander Gilbert

Name: Period: 2018 Geometry Spring Final Exam Review

Camera Calibration for Video See-Through Head-Mounted Display. Abstract. 1.0 Introduction. Mike Bajura July 7, 1993

move object resize object create a sphere create light source camera left view camera view animation tracks

Module 4. Stereographic projection: concept and application. Lecture 4. Stereographic projection: concept and application

Topic 5-6: Parameterizing Surfaces and the Surface Elements ds and ds. Big Ideas. What We Are Doing Today... Notes. Notes. Notes

Triangle meshes I. CS 4620 Lecture Kavita Bala (with previous instructor Marschner) Cornell CS4620 Fall 2015 Lecture 2

CS 428: Fall Introduction to. Texture mapping and filtering. Andrew Nealen, Rutgers, /18/2010 1

Real Geodetic Map (Map without Projection) Abstract Keywords: 1. Introduction

Chapter 1 Introduction

Lecture 3 Sections 2.2, 4.4. Mon, Aug 31, 2009

CSC418 / CSCD18 / CSC2504

Computer Vision. Coordinates. Prof. Flávio Cardeal DECOM / CEFET- MG.

3D Programming. 3D Programming Concepts. Outline. 3D Concepts. 3D Concepts -- Coordinate Systems. 3D Concepts Displaying 3D Models

6.837 Introduction to Computer Graphics Final Exam Tuesday, December 20, :05-12pm Two hand-written sheet of notes (4 pages) allowed 1 SSD [ /17]

Image-based Lighting

What would you see if you live on a flat torus? What is the relationship between it and a room with 2 mirrors?

Chapter 3 Image Registration. Chapter 3 Image Registration

Tiled Textures What if Miro Had Painted a Sphere

RELATIONSHIP BETWEEN ASTRONOMIC COORDINATES φ, λ, AND GEODETIC COORDINATES φ G, λ G,

COMP 175 COMPUTER GRAPHICS. Ray Casting. COMP 175: Computer Graphics April 26, Erik Anderson 09 Ray Casting

System Design for Visualizing Scientific Computations

Orthogonal Projection Matrices. Angel and Shreiner: Interactive Computer Graphics 7E Addison-Wesley 2015

Lightning Strikes. In this tutorial we are going to take a look at a method of creating some electricity zapper effects using Particle Flow.

Surface Parameterization

SPACE - A Manifold Exploration Program

Topology of Surfaces

Transcription:

Creating Mercator s Map Projection Andrew Geldean December 17, 2014 Abstract: This map developed by Gerardus Mercator in 1569 is created by producing a cylinder around the globe projecting the surface onto the cylinder. This type of map projection thus conserves the angles with the meridians (making the projection conformal.) The disadvantage to this kind of map, however, is that it distorts the size and shape of large objects, and the scale of distortion increases exponentially as it the latitude approaches the poles. 1. Mathematics behind the Projection This projection, as previously stated, is created by encompassing the spherical earth within a cylinder. 1.1 Projecting the sphere This projection, as previously stated, is created by encompassing the spherical earth within a cylinder. The surface of the globe is then stretched to fit the surface of the cylinder, with the poles being infinitely stretched.

Figure 1 (i): The basic geometry for a cylindrical map projection The previous diagram displays how the x and y coordinates are projected onto the map from the surface of the globe. Using Φ and λ as variables to represent the latitude and longitude angles in the spherical geometry of the earth, one can determine the scale factor between the sphere and the cylinder to be sec (Φ). The parallel scale factor produced is denoted by k and the meridian scale factor is denoted by h. 1.2 Small Element Geometry Using small element geometry (taking extremely small elements on the surface of the earth and the cylinder), one can produce the similar graphs. Figure 2 (ii): A comparison of infinitesimally small elements on a sphere (globe) and the plane (map)

Since in small element geometry, the angles α and β are approximately equal and the following derivations are produced: The scaling and h can as well: factors k also be calculated Finally, since the x coordinate on the map is aligned with the meridians, the three following equations represent the limit of infinitesimally small elements: 1.3 Derivation of Mercator Projection In order to find the equation for y, one must make the map conformal by either setting the angles α and β equal to each other or the scale factors h and k equal to each other. By doing this, the equation y (Φ) = R sec (Φ). Integrating this equation gives y(φ) and the coordinate x can be calculated very easy with the variable λ:

2. Programming the Projection For my project, I planned to create the spherical earth using the JavaScript THREE.js library and rotate the sphere encompassed by the cylinder while projecting the map. 2.1 Setting up the THREE.js scene The first step necessary was to create the THREE.js scene. This required four different items: the scene, camera, renderer, and light source. Each one is necessary in creating 3D objects with this library. The scene variable creates the actual scene. The camera allows the user to view the scene. The renderer essentially renders the scene. Finally, the light source allows the objects to look more three- dimensional. 2.2 Creating the Sphere Creating the sphere is a fairly simple process. It requires the declaration of three different variables: the material, type of geometry, and then the mesh object being created. Then just add the newly created object to the scene. Figure 3: The newly created sphere (notice the shadows).

2.3 Adding Texture The next step in creating the earth is to add the earth texture to the sphere. This proved to be a more complicated process than originally thought because of the library s likelihood to fail to load the image. I was able to correct this bug by adding an error function if in case the image texture failed to load. The result of this correction was a beautifully projected planet earth: Figure 4: The sphere textured with the surface of the earth. 2.4 Rotation and Creating the Cylinder The next step was to program keyboard commands to rotate the earth along the y- axis. This basically required the set up of two variables: leftpressed and rightpressed. Then, through creating key events, I was able to rotate the sphere left using the left arrow key and right using the right arrow key. Then adding the cylinder is the same process as the sphere except, instead of using spherical geometry, cylinder geometry is used instead. Adding a textured latitude and longitude grid to the cylinder results in the following:

Figure 5: The textured cylinder encompassing the earth. 2.5 Adding Mercator s Map There are two approaches to creating the actual projected map: one simple method and an extremely complicated method involving the equations previously mentioned. This time, since it was my first experience with the THREE.js library, I chose to choose the simpler method by just finding an image from the internet to use as the projection. Then I just load the texture onto another object with planar geometry and place it behind the sphere.

2.6 Realigning the Map with the Sphere Finally, using the previously created keyboard commands, I give the map the ability to scroll left and right and to only display one half the earth. By readjusting the speed of the map as it scrolls, I am able to synchronize the speed of the map and the speed at which the earth rotates, thus completing the final project. I final preview without movement can be seen below: Figure 6: The completed cylindrical projection with the map in the background. Bibliography: (i & ii) http://www.princeton.edu/~achaney/tmve/wiki100k/docs/m ercator_projection.html http://en.wikipedia.org/wiki/mercator_projection http://www.public.asu.edu/~aarios/resourcebank/maps/page 10.html