CS123 INTRODUCTION TO COMPUTER GRAPHICS. Viewing. Part I (History and Overview of Projections) Andries van Dam 1 / 46 10/05/2017

Similar documents
CS337 INTRODUCTION TO COMPUTER GRAPHICS. Viewing. Part I (History and Overview of Projections) Bin Sheng 1 / 46 10/04/2016

3D Viewing I. From 3D to 2D: Orthographic and Perspective Projection Part 1

3D Viewing I. Acknowledgement: Some slides are from the Dr. Andries van Dam lecture. CMSC 435/634 August D Viewing I # /27

Lecture 2 of 41. Viewing 1 of 4: Overview, Projections

Lecture 2 of 41. Viewing 1 of 4: Overview, Projections

Transform 3D objects on to a 2D plane using projections

Visual Imaging in the Electronic Age. Drawing Perspective Images

Visual Imaging in the Electronic Age. Drawing Perspective Images

History of projection. Perspective. History of projection. Plane projection in drawing

3D Viewing. Introduction to Computer Graphics Torsten Möller / Manfred Klaffenböck. Machiraju/Zhang/Möller

Perspective. Cornell CS4620/5620 Fall 2012 Lecture Kavita Bala 1 (with previous instructors James/Marschner)

Visual Imaging in the Electronic Age. Drawing Perspective Images

Classical Viewing. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

CS475/CS675 Computer Graphics

Exploring 3D in Flash

CS354 Computer Graphics Viewing and Projections

Perspective. Announcement: CS4450/5450. CS 4620 Lecture 3. Will be MW 8:40 9:55 How many can make the new time?

Projections Computer Graphics and Visualization

Reading. Angel. Chapter 5. Optional

Introduction to Projection The art of representing a three-dimensional object or scene in a 2D space is called projection.

Reading. Projections. The 3D synthetic camera model. Imaging with the synthetic camera. Angel. Chapter 5. Optional

Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL

VIEWING 1. CLASSICAL AND COMPUTER VIEWING. Computer Graphics

Chapter 5 Pictorial sketching

Introduction to Computer Graphics (CS602) Lecture 19 Projections

ENGINEERING GRAPHICS 1E9

Graphic Communications

UNIT 5a STANDARD ORTHOGRAPHIC VIEW DRAWINGS

Perspective. Does linear perspective occur in nature. Perspective or perspectives? E.g. we experience foreshortening.

Projections. Conceptual Model of the 3D viewing process

The Art and Science of Depiction. Linear Perspective. Fredo Durand MIT- Lab for Computer Science. Perspective 2

Isometric Projection Drawing CHAPTER 6

Isometric Drawing Chapter 26

Perspective. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2018 Lecture 5

Mathematical Perspective. Alex Jang, Shannon Jones, Anna Shapiro

SKETCHLAB Week 5. Alberti SKETCHLAB NOTES 5 PERSPECTIVE PRECISION AND PROPORTION FOR MR RONNIE TURNBULL

11/12/2015 CHAPTER 7. Axonometric Drawings (cont.) Axonometric Drawings (cont.) Isometric Projections (cont.) 1) Axonometric Drawings

1. When sketching long, narrow objects in OBLIQUE, distortion can be lessened by placing the long dimension along:

I B.TECH- I SEMESTER DEPARTMENT OF MECHANICAL ENGINEERING ENGINEERING DRAWING

Student Name: Teacher: Date: District: Rowan. Assessment: 9_12 T and I IC61 - Drafting I Test 1. Description: Unit C - Sketching - Test 2.

ENGINEERING DRAWING. 1. Set squares are used to draw different angles. What is the angel a formed by the 45⁰ set square? Give a brief answer.

3D COMPUTER GRAPHICS

matics A presentation by Fernando Corbalán

Drawing: technical drawing TECHNOLOGY

technical drawing

3D Viewing. Projections. Perspective A B B. Projectors. Center of Projection. Projection Plane

Graphics and Interaction Perspective Geometry

60 Most Important Engineering Drawing Questions

Engineering Drawing Lecture 5 PROJECTION THEORY

PROJECTIONS PARALLEL CONICAL PROJECTIONS PROJECTIONS OBLIQUE ORTHOGRAPHIC PROJECTIONS PROJECTIONS

COPYRIGHTED MATERIAL. Overview

COPYRIGHTED MATERIAL OVERVIEW 1

HS PUMP. Spring 2010 CSUN Math. Perspective

ORTHOGRAPHIC PROJECTIONS. Ms. Sicola

2-Point Perspective. Lettering with Depth!

(Ans:d) a. A0 b. A1 c. A2 d. A3. (Ans:b) (Ans:a) (Ans:d) (Ans:d)

Chapter 5 Pictorial Projection

ISOMETRIC PROJECTION. Contents. Isometric Scale. Construction of Isometric Scale. Methods to draw isometric projections/isometric views

Chapter 1 Overview of an Engineering Drawing

ONE-POINT PERSPECTIVE

History of projection

Chapter 8. Technical Drawings

Multiviews and Auxiliary Views

CENTRAL PROJECTION OF HELIX

Copyrighted Material. Copyrighted Material. Copyrighted. Copyrighted. Material

Elements of Art: Space AVI1O

ME 113 Computer Aided Engineering Drawing

2. Line composed of closely and evenly spaced short dashes in a drawing represents

1 st Subject: Types of Pictorial Drawings (Isometric, Oblique, and Perspective)

The Mathematical System of Perspective in Art

Technological Design Mr. Wadowski. Orthographic & Isometric Drawing Lesson

Perspective in 2D Games

Perspective in 2D Games

IMAGE FORMATION. Light source properties. Sensor characteristics Surface. Surface reflectance properties. Optics

EDUCATIONAL REND LAKE COLLEGE CAD INTRODUCTION TO COMPUTER-AIDED DRAFTING ISOMETRIC DRAWING REVISED: FALL 2010 INSTRUCTOR: THOMAS ARPASI

Technical Graphics Higher Level

Form = a solid, three-dimensional area. It s boundaries are measured using height, width, and depth.

Getting into the picture

Tile based games. Piotr Fulma«ski. 8 pa¹dziernika Wydziaª Matematyki i Informatyki, Uniwersytet Šódzki, Polska

At the conclusion of this unit you should be able to accomplish the following with a 70% accuracy

ORTHOGRAPHIC PROJECTION

High Renaissance Art Gallery

ALL TEN. Building Forms and Massing THE BIG QUESTIONS. chapter15

Perspective in Garden Design

Engineering Graphics with SOLIDWORKS 2016 and Video Instruction

LESSON 11 - LINEAR PERSPECTIVE

Bridge Course On Engineering Drawing for Mechanical Engineers

Autodesk Inventor. In Engineering Design & Drafting. By Edward Locke

CHAPTER 01 PRESENTATION OF TECHNICAL DRAWING. Prepared by: Sio Sreymean

Multiview Drawing. Definition: Graphical representation of a 3- dimensional object on one plane (sheet of paper) using two or more views.

NAME: PERIOD: Perspective Packet (Week One)

Beginning Engineering Graphics 3 rd Week Lecture Notes Instructor: Edward N. Locke Topic: The Coordinate System, Types of Drawings and Orthographic

Perception of 3D Structure. How does the visual system reconstruct a 3D world from the FLAT, 2D retinal image? Our depth perception: far from flawless

Lecture #4 MULTIVIEW PROJECTION RES 112E COMPUTER AIDED TECHNICAL DRAWING ITU

AML710 CAD LECTURE Parallel Projections a) Orthographic Projections b) Axonometric Projections 2. Perspective Transformations and Projections

Chapter 2. Isometric Projection and Multi View Drawings. Below are the desired outcomes and usage competencies based on the completion of Chapter 2.

Beyond Words. Lam Loc. Technical Drafting. Imagine using only words to describe your design for a bridge to

Reading. Projections. Projections. Perspective vs. parallel projections. Foley et al. Chapter 6. Optional. Perspective projections pros and cons:

Pictorial Drawings. DFTG-1305 Technical Drafting Prepared by Francis Ha, Instructor

1 ISOMETRIC PROJECTION SECTION I: INTRODUCTION TO ISOMETRIC PROJECTION

Transcription:

Viewing Part I (History and Overview of Projections) 1 / 46

Lecture Topics History of projection in art Geometric constructions Types of projection (parallel and perspective) 2 / 46

CS123 INTRODUCTION TO COMPUTER GRAPHICS Drawing as Projection (Turning 3D to 2D) Painting based on mythical tale as told by Pliny the Elder: Corinthian man traces shadow of departing lover a projection Detail from The Invention of Drawing (1830) Karl Friedrich Schinkle William J. Mitchell, The Reconfigured Eye, Fig 1.1 3 / 46

Early Forms of Projection (1/2) Plan view (parallel, specifically orthographic, projection) from Mesopotamia (2150 BC): Earliest known technical drawing in existence Greek vase from the late 6 th century BC: Shows signs of attempts at perspective foreshortening! Note relative sizes of thighs and lower legs of minotaur Ingrid Carlbom Planar Geometric Projections and Viewing Transformations Fig. 1-1 Theseus Killing the Minotaur by the Kleophrades Painter 4 / 46

Early Forms of Projection (2/2) Ancient Egyptian Art Multiple Viewpoints Parallel Projection (no attempt to depict perspective foreshortening) Note how depiction of body implies a front view but the feet and head imply side view (early cubism!) Tomb of Nefertari, Thebes (19th Dyn, ~1270 BC), Queen Led by Isis. Mural 5 / 46

CS123 INTRODUCTION TO COMPUTER GRAPHICS The Renaissance in Europe Starting in the 13 th century (AD): New emphasis on importance of individual viewpoint, world interpretation, power of observation (particularly of nature: astronomy, anatomy, etc.) Masaccio, Donatello, DaVinci Universe as clockwork: rebuilding the universe more systemically and mechanically Tycho Brahe and Rudolph II in Prague (detail of clockwork), c. 1855 Copernicus, Kepler, Galileo, Newton : from earth-centric to heliocentric model of the (mechanistic) universe whose laws can be discovered and understood https://artuk.org/discover/artworks/rudo lph-ii-and-tycho-brahe-in-prague-221260 Vitruvian Man, 1490, study of man s proportions Image credit: wikipedia 6 / 46

Early Attempts at Perspective Attempts to represent 3D space more realistically Earlier works invoke a sense of 3D space but not systematically Parallel lines converge, but no single vanishing point (where all parallel lines converge) Giotto Franciscan Rule Approved Assisi, Upper Basilica, c.1288-1292 7 / 46

CS123 INTRODUCTION TO COMPUTER GRAPHICS Brunelleschi and True Linear Perspective Brunelleschi, architect and inventor, invented systematic method of determining perspective projections (early 1400s). Unfortunately not documented The perspective is accurate only from one POV Reported to have determined the accuracy of his paintings by making a hole in the vanishing point, examining the reflection in a mirror and comparing the line convergence to the real model mirror baptistry painting His illusion inspired other artists to explore linear perspective Image credit: COGS011 (Perception, Illusion and Visual Art, William Warren) 8 / 46

Vermeer Vermeer and others created perspective boxes where a picture, when viewed through viewing hole, had correct perspective Vermeer on the web: http://www.grandillusions.com/articles/mystery_in_the_mirror/ http://essentialvermeer.20m.com/ http://brightbytes.com/cosite/what.html Perspective Box Samuel van Hoogstraten National Gallery, London 10/04/2016 9 / 46

The Camera Obscura Artist David Hockney controversially proposed that many Renaissance artists, including Vermeer, might have been aided by camera obscura Forerunner of pinhole camera David Stork, a Stanford optics expert, refuted Hockney s claim in the heated 2001 debate about the subject. Also wrote Optics and Realism in Renaissance Art to disprove Hockney s theory More recently, in Tim s Vermeer Inventor Tim Jenison paints a Vermeer using mirrors Directed by Teller, written by Penn Jillette and Teller (Image credit: wikipedia) New York: Viking Studio. Stork, D. (2004) Optics and Realism in Renaissance Art. Scientific American 12, 52-59. Hockney, D. (2001) Secret Knowledge: Rediscovering the Lost Techniques of the Old Masters. 10 / 46

James Burke: Masters of Illusion https://youtu.be/cp5iqyawew8?t=216 11 / 46

Forced Perspective Art http://www.youtube.com/watch?v=uznvo8nbppi 12 / 46

Rules of Linear Perspective Driving ideas behind linear perspective: Parallel lines converge (in 1, 2, or 3 axes) to vanishing point Objects farther away are more foreshortened (i.e., smaller) than closer ones Example: perspective cube edges same size, with farther ones smaller Great depth cue, but so are stereo/binocular disparity, motion parallax, shading and shadowing, etc.. parallel edges converging 13 / 46

Linear Perspective (Vanishing Points) Both Da Vinci and Alberti created accurate geometric ways of incorporating linear perspective into a drawing using the concept vanishing points viewing distance Distance Point Da Vinci s Method Little Space perpendicular CP diagonals transversals Alberti s Method baseline Image credit: COGS011 (Perception, Illusion and Visual Art, William Warren) 14 / 46

Alberti on Linear Perspective (View Points) Published first treatise on perspective, Della Pittura, in 1435 A painting [the projection plane] is the intersection of a visual pyramid [view volume] at a given distance, with a fixed center [center of projection] and a defined position of light, represented by art with lines and colors on a given surface [the rendering]. (Leono Battista Alberti (1404-1472), On Painting, pp. 32-33) 15 / 46

Triangles and Geometry (1/2) Idea of visual pyramid implies use of geometry of similar triangles Easy to project object onto an image plane based on: height of object ( AB ) distance from eye to object ( CB ) distance from eye to picture (projection) plane ( CD ) relationship CB / CD = AB / ED ; solve for ED picture plane projected object object 16 / 46

Triangles and Geometry (2/2) The general case: the object we re considering is not parallel to the picture plane Use the projection of CA onto the unit vector CB/ CB to determine the vector CB, then use prior similar triangle technique Remember, the dot product of a vector a with a unit vector b is the projection of a onto b (scalar) CB : CD as A B : ED So if U is the unit vector in the direction of CB (i.e. U = CB/ CB ), we get: CB = CB * U = (CA U) * U U: direction, CB : magnitude 17 / 46

Dürer Woodcut Concept of similar triangles described both geometrically and mechanically in widely read treatise by Albrecht Dürer (1471-1528). Refer to chapter 3 of the book for more details. Albrecht Dürer Artist Drawing a Lute Woodcut from Dürer s work about the Art of Measurement. Underweysung der messung, Nurenberg, 1525 18 / 46

Art of Perspective (1/5) Robert Campin - The Annunciation Triptych (ca. 1425) 19 / 46

Art of Perspective (2/5) Point of view influences content and meaning of what is seen Are royal couple in mirror about to enter room? Or is their image a reflection of painting on far left? Analysis through computer reconstruction of the painted space: royal couple in mirror is reflection from canvas in foreground, not reflection of actual people (Kemp pp. 105-108) Diego Velázquez, Las Meninas (1656) 20 / 46

Art of Perspective (3/5) Perspective can be used in unnatural ways to control perception Use of two viewpoints concentrates viewer s attention alternately on Christ and sarcophagus Piero della Francesca, The Resurrection (1460) 21 / 46

Art of Perspective (4/5) Leonardo da Vinci, The Last Supper (1495) Mr. King provides a lively account of Leonardo s continual hunt for faces he might sketch, and speculates about the identity of the models (including himself) that he might have used to create the faces of Jesus and the apostles. He also writes about how Leonardo presumably started the painting by hammering a nail into the plaster to mark the very center of the mural, the point on which all lines and all attention would converge: the face of Christ, and how he used perspective and his knowledge of geometry and architecture to map out the rest of the painting. Ross King, Leonardo and The Last Supper 22 / 46

Art of Perspective (5/5) Several vanishing points, two point perspective Vredeman de Vries, Perspective 23 (1619) Kemp p.117 http://www.gurari.com/architecture2.php?collection_id=39 23 / 46

Types of Projection Different methods of projecting objects to the screen can have a large impact on the viewer s interpretation of the scene Here, two objects are displayed in very different ways to highlight certain features 24 / 46

Main Classes of Planar Geometrical Projections (a) Perspective: determined by center of projection (in our diagrams, the eye ) Simulates what our eyes or a camera sees Projectors are not parallel (b) Parallel: determined by direction of projection (projectors are parallel do not converge to eye or COP). Alternatively, COP is at Used in engineering and architecture for measurement purposes In general, a projection is determined by where you place the projection plane relative to principal axes of object (relative angle and position), and what angle the projectors make with the projection plane 25 / 46

Logical Relationship Between Types of Projections 26 / 46

Overview of Parallel Projections Assume object face of interest lies in principal plane, i.e. parallel to xy, yz, or xz planes. (DOP = direction of projection, VPN = view plane normal) Multiview Orthographic VPN a principal axis DOP VPN Shows single face, exact measurements Axonometric VPN a principal axis DOP VPN adjacent faces, none exact, uniformly foreshortened (function of angle between face normal and DOP) Oblique VPN a principal axis DOP VPN adjacent faces, one exact, others uniformly foreshortened 27 / 46

Multiview Orthographic (Parallel) Used for: Engineering drawings of machines, machine parts Pros: Cons: Working architectural drawings Accurate measurement possible All views are at same scale Does not provide realistic view or sense of 3D form Usually need multiple views to get a three-dimensional feeling for object 28 / 46

Axonometric (Parallel) Same method as multiview orthographic projections, except projection plane not parallel to any of coordinate planes; parallel lines equally foreshortened Isometric: Angles between all three principal axes equal (120 o ). Projection plane normal lies on diagonal. Same scale ratio applies along each axis most common Dimetric: Angles between two of the principal axes equal; need two scale ratios Trimetric: Angles different between three principal axes; need three scale ratios http://www.tilemapeditor.com/glossary/trimetric/ 29 / 46

CS123 INTRODUCTION TO COMPUTER GRAPHICS Isometric Projection Used for: Pros: Catalogue illustrations Patent office records Furniture design Structural design 3D Modeling in real time (Maya, AutoCad, etc.) Don t need multiple views Illustrates 3D nature of object Measurements can be made to scale along principal axes Cons: Lack of foreshortening creates distorted appearance More useful for rectangular than curved shapes Construction of an isometric projection: projection plane cuts each principal axis by 45 30 / 46

CS123 INTRODUCTION TO COMPUTER GRAPHICS Axonometric Projection in Games Video games have been using isometric projection for ages. It all started in 1982 with Q*Bert and Zaxxon which were made possible by advances in raster graphics hardware. Still in use today when you want to see things in distance as well as things close up (e.g. strategy, simulation games). StarCraft II, Transistor While many games technically use axonometric views, the general style is still referred to isometric or, inappropriately, 2.5D / three quarter. 31 / 46

Oblique Parallel Projection Projectors at oblique angle to projection plane Pros: Can present exact shape of one face of an object (can take accurate measurements): better for elliptical shapes than axonometric projections, better for mechanical viewing Lack of perspective foreshortening makes comparison of sizes easier Displays some of object s 3D appearance Cons: Objects can look distorted if careful choice not made about position of projection plane (e.g., circles become ellipses) Lack of foreshortening (not realistic looking) Oblique VPN a principal axis DOP VPN adjacent faces, one exact, others uniformly foreshortened 32 / 46

Examples of Oblique Parallel Projections Construction of oblique parallel projection Front oblique projection of radio (Carlbom Fig. 2-4) Plan oblique projection of city 33 / 46

Rules for Constructing Oblique Parallel Views Rules for placing projection plane for oblique views: projection plane should be chosen according to one or several of following: Parallel to most irregular of principal faces, or to one which contains circular or curved surfaces Parallel to longest principal face of object Parallel to face of interest Projection plane parallel to circular face Projection plane not parallel to circular face 34 / 46

CS123 INTRODUCTION TO COMPUTER GRAPHICS Main Types of Oblique Parallel Projections Cavalier: Angle between projectors and projection plane is 45. Perpendicular faces projected at full scale. DOP x VPN y x Cabinet: Angle between projectors and projection plane: tan -1 (2) = 63.4 o. Perpendicular faces projected at 50% scale y DOP VPN 35 / 46

A Desk Using Parallel Projections Cavalier Cabinet Multiview Orthographic 36 / 46

Summary Three main types of parallel projections: Orthographic: projectors orthogonal to projection plane, single face shown Axonometric: projection plane rotated relative to principle axes, reveals multiple faces Oblique: projectors intersect projection plane at oblique angle, revealing multiple faces, often more skewed representation, with a plane of interest undistorted 37 / 46

CS123 INTRODUCTION TO COMPUTER GRAPHICS Perspective Projections Used for: Pros: Fine Art Human visual system Cons: Gives a realistic view and feeling for 3D form of object Does not preserve shape of object or scale (except where object intersects projection plane) Different from a parallel projection because Parallel lines not parallel to the projection plane converge Size of object is diminished with distance Foreshortening is not uniform Two understandings: Vanishing Point and View Point There are also oblique perspective projections (same idea as parallel oblique next slide) If we were viewing this scene using parallel projection, the tracks would not converge 38 / 46

Oblique Perspective Projection If you pointed a camera at Empire State Building so that the center line of the view volume (i.e., the normal to the film plane) was perpendicular to the façade, then for the portion in view, vertical edges would not converge in Y but vertical distances (e.g., window heights) would get progressively smaller due to perspective foreshortening. Same as looking head on at a highway guard rail edges look parallel but struts (on film plane) are spaced closer together further away View camera (or modern equivalent) lets you tilt/shift the lens via the accordion housing while keeping the film plane vertical. Thus most of or even the entire building can be in view. All parallel lines (in planes parallel to film plane) will remain parallel, sizes will perspectively foreshorten. Windows on higher floors appear less tall; windows to side appear less wide; all are still rectangular. Projectors now are at an oblique angle to projection plane, i.e., the view volume is not centered along the film plane normal 39 / 46

Vanishing Points (1/2) Lines extending from edges converge to common vanishing point(s) For right-angled objects whose face normals are parallel to the x, y, z coordinate axes, number of vanishing points equals number of principal coordinate axes intersected by projection plane One Point Perspective (z-axis vanishing point) z Two Point Perspective (z and x-axis vanishing points) Three Point Perspective (z, x, and y-axis vanishing points) 40 / 46

CS123 INTRODUCTION TO COMPUTER GRAPHICS Vanishing Points (2/2) What happens if projection plane normal is axis-aligned but same object is turned so its face normals are not parallel to x, y, z coordinate axes? New viewing situation: cube is rotated, face normals no longer parallel to any principal axes. Although projection plane only intersects one axis (z), three vanishing points created. Can achieve final results identical to previous situation in which projection plane intersected all three axes. Unprojected cube depicted here with parallel projection Perspective drawing of the rotated cube 41 / 46

CS123 INTRODUCTION TO COMPUTER GRAPHICS The Single Viewpoint Art starts with the vanishing point idea while computer graphics starts with the view point concept, where your view point is the location of the virtual camera (eye) Rays of light reflecting off of an object converge to the point of the viewer s eye Lines representing light intersect the picture/projection plane, thus allowing points in a scene to be projected along the path of light to the picture plane (basis for ray tracing stay tuned!) Concept of similar triangles described earlier applies here 42 / 46

Vanishing Points and the View Point (1/4) We ve seen two pyramid geometries for understanding perspective projection: 1. Perspective image is result of foreshortening due to convergence of some parallel lines toward vanishing points 2. Perspective image is intersection of a plane by light rays (projectors) from points on object to eye (COP) 43 / 46

Vanishing Points and the View Point (2/4) We can combine the two: 44 / 46

Vanishing Points and the View Point (3/4) Project parallel lines AB, CD on xy plane Projectors from eye to AB and CD define two planes, which meet in a line that contains the view point, or eye This line does not intersect projection plane (XY) because it s parallel to it. Therefore, there is no vanishing point 45 / 46

Vanishing Points and the View Point (4/4) Lines AB and CD (this time with A and C behind the projection plane) projected on xy plane: A B and C D Note: A B not parallel to C D Projectors from eye to A B and C D define two planes which meet in a line which contains the view point This line does intersect projection plane Point of intersection is vanishing point 46 / 46

Next Time: Projection in Computer Graphics 47 / 46