lect24 projections 1

Information about lect24 projections 1

Published on November 1, 2007

Author: Shariyar

Source: authorstream.com

Content

159.235 Graphics & Graphical Programming:  159.235 Graphics & Graphical Programming Lecture 24 - Projections - Part 1 Projections - Outline:  Projections - Outline 3D Viewing Coordinate System & Transform Process Generalised Projections Taxonomy of Projections Perspective Projections 3D Viewing:  3D Viewing Inherently more complex than 2D case. Extra dimension to deal with Most display devices are only 2D Need to use a projection to transform 3D object or scene to 2D display device. Need to clip against a 3D view volume. Six planes. View volume probably truncated pyramid Coordinate Systems & Transform Process:  Coordinate Systems & Transform Process Object coordinate systems. World coordinates. View Volume Screen coordinates. Raster Transform Project Clip Rasterize Generalised Projections.:  Generalised Projections. Transforms points in a coordinate system of dimension n into points in one of less than n (ie 3D to 2D) The projection is defined by straight lines called projectors. Projectors emanate from a centre of projection, pass through every point in the object and intersect a projection surface to form the 2D projection. Projections.:  Projections. In graphics we are generally only interested in planar projections – where the projection surface is a plane. Most cameras employ a planar film plane. But… the retina is not a plane - future devices such as direct retina devices may need more complex projections We will only deal with geometric projections – the projectors are straight lines. Many projections used in cartography are either non-geometric or non-planar. Exception – Image-based rendering - advanced topic Projections.:  Projections. Henceforth refer to planar geometric projections as just: projections. Two classes of projections : Perspective. Parallel. A B A B A B A B Centre of Projection. Centre of Projection at infinity Parallel Perspective Parallel A Taxonomy of Projections:  A Taxonomy of Projections Perspective Projections.:  Perspective Projections. Defined by projection plane and centre of projection. Visual effect is termed perspective foreshortening. The size of the projection of an object varies inversely with distance from the centre of projection. Similar to a camera - Looks realistic ! Not useful for metric information Parallel lines do not in general project as parallel. Angles only preserved on faces parallel to the projection plane. Distances not preserved Perspective:  Perspective The first ever painting (Trinity with the Virgin, St. John and Donors) done in perspective by Masaccio, in 1427. Slide11:  Perspective Projections A set of lines not parallel to the projection plane converge at a vanishing point. Can be thought of in 3D as the projection of a point at infinity. Homogeneous coordinate is 0 (x,y,0) Perspective Projections:  Perspective Projections Lines parallel to a principal axis converge at an axis vanishing point. Perspective is categorized according to the number of such points. Corresponds to the number of axes cut by the projection plane. Perspective Projections:  Perspective Projections z x y Projection plane x z y Lines parallel to a principal axis converge at an axis vanishing point. Categorized according to the number of such points Corresponds to the number of axes cut by the projection plane. 1-Point Projection:  1-Point Projection Projection plane cuts 1 axis only. 1-Point Perspective:  1-Point Perspective A painting (The Piazza of St. Mark, Venice) done by Canaletto in 1735-45 in one-point perspective 2-Point Perspective:  2-Point Perspective 2-Point Perspective:  2-Point Perspective Painting in two point perspective by Edward Hopper The Mansard Roof 1923 (240 Kb); Watercolor on paper, 13 3/4 x 19 inches; The Brooklyn Museum, New York 3-Point Perspective:  3-Point Perspective Generally held to add little beyond 2-point perspective. A painting (City Night, 1926) by Georgia O'Keefe, that is approximately in three-point perspective. Intro to Projections -Summary:  Intro to Projections -Summary 3D Viewing Coordinate System & Transform Process Generalised Projections Taxonomy of Projections Perspective Projections Clipping can be done in image space if more efficient – application dependent. Parallel Projections next… Acknowledgement - Thanks to Eric McKenzie, Edinburgh, from whose Graphics Course some of these slides were adapted. Parallel Projections:  Parallel Projections Specified by a direction to the centre of projection, rather than a point. Centre of projection at infinity. Orthographic The normal to the projection plane is the same as the direction to the centre of projection. Oblique Directions are different. Orthographic Projections:  Orthographic Projections Most common orthographic Projection : Front-elevation, Side-elevation, Plan-elevation. Angle of projection parallel to principal axis; projection plane is perpendicular to axis. Commonly used in technical drawings Axonometric Orthographic Projections:  Axonometric Orthographic Projections Projection plane not normal to principal axis Show several faces of the object at once Foreshortening is uniform rather than being related to distance Parallelism of lines is preserved Angles are not Distances can be measured along each principal axis ( with scale factors ) Isometric Projection:  Isometric Projection Most common axonometric projection Projection plane normal makes equal angles with each axis. i.e normal is (dx,dy,dz), |dx| = |dy|=|dz| Only 8 directions that satisfy this condition. Slide24:  Isometric Projection Normal Oblique projections.:  Oblique projections. Projection plane normal differs from the direction of projection. Usually the projection plane is normal to a principal axis. Projection of a face parallel to this plane allows measurement of angles and distance. Other faces can measure distance, but not angles. Frequently used in textbooks : easy to draw ! Oblique projection:  Oblique projection x z y Projection Plane Normal Parallel to x axis Geometry of Oblique Projections:  Geometry of Oblique Projections Projection plane is x,y plane L=1/tan() - angle between normal and projection direction - Determines the type of projection  is choice of horizontal angle. Given a desired L and , Direction of projection is (L.cos, L.sin,-1) Geometry of Oblique Projections:  Geometry of Oblique Projections Point P=(0,0,1) maps to: P’=(l.cosa, l.sina, 0) on xy plane, and P(x,y,z) onto P’(xp,yp,0) and Mathematics of Viewing:  Mathematics of Viewing Need to generate the transformation matrices for perspective and parallel projections. Should be 4x4 matrices to allow general concatenation. And there’s still 3D clipping and more viewing stuff to look at. Projections - Summary:  Projections - Summary Orthographic matrix - replace (z) axis with point. Perspective matrix – multiply w by z. Clip in homogeneous coordinates. Preserve z for hidden surface calculations. Can find number of vanishing points. Acknowledgments - thanks to Eric McKenzie, Edinburgh, from whose Graphics Course some of these slides were adapted.

Related presentations


Other presentations created by Shariyar

Dr Chalmers
19. 10. 2007
0 views

Dr Chalmers

PA04 What is News
08. 10. 2007
0 views

PA04 What is News

AVardanyan
12. 10. 2007
0 views

AVardanyan

cisc geneva info
15. 10. 2007
0 views

cisc geneva info

SemkovaSpacerad1
15. 10. 2007
0 views

SemkovaSpacerad1

Semester 1 Bonding Lecture1
16. 10. 2007
0 views

Semester 1 Bonding Lecture1

Drama Overview
17. 10. 2007
0 views

Drama Overview

04g LINK UNISO MIS SIM 02 2001
24. 10. 2007
0 views

04g LINK UNISO MIS SIM 02 2001

Creativity Perl 3 21 07
16. 10. 2007
0 views

Creativity Perl 3 21 07

Chapter17
11. 12. 2007
0 views

Chapter17

Preparing Proposal
02. 11. 2007
0 views

Preparing Proposal

SC tudor exploration
22. 08. 2007
0 views

SC tudor exploration

aviation fuel
07. 11. 2007
0 views

aviation fuel

Toyota
14. 11. 2007
0 views

Toyota

1 ZoonosesIntro Dunne
19. 11. 2007
0 views

1 ZoonosesIntro Dunne

C130a
20. 11. 2007
0 views

C130a

LingTyp Morphological typology
10. 10. 2007
0 views

LingTyp Morphological typology

entailment WS05
25. 09. 2007
0 views

entailment WS05

radev summtutorial00
22. 08. 2007
0 views

radev summtutorial00

Mary Tudor
22. 08. 2007
0 views

Mary Tudor

acl tutorial
22. 08. 2007
0 views

acl tutorial

Haze Consult 032207
22. 08. 2007
0 views

Haze Consult 032207

abn13
02. 08. 2007
0 views

abn13

crane
02. 08. 2007
0 views

crane

Childhood Obesity
02. 08. 2007
0 views

Childhood Obesity

303lec21
02. 08. 2007
0 views

303lec21

05 conceptual models
25. 09. 2007
0 views

05 conceptual models

CP Morocco
24. 10. 2007
0 views

CP Morocco

Grama
25. 09. 2007
0 views

Grama

cvd
02. 08. 2007
0 views

cvd

NIH talk
16. 10. 2007
0 views

NIH talk

ChestnutBlight
04. 01. 2008
0 views

ChestnutBlight

dbaFile4218
17. 10. 2007
0 views

dbaFile4218

model lite
25. 09. 2007
0 views

model lite

Genre
19. 02. 2008
0 views

Genre

the retreat to corunna
26. 02. 2008
0 views

the retreat to corunna

natural haze levels II report
22. 08. 2007
0 views

natural haze levels II report

Ben Ritchey 1150223453
29. 02. 2008
0 views

Ben Ritchey 1150223453

career capstone 2007
16. 11. 2007
0 views

career capstone 2007

trainingv1 7
25. 03. 2008
0 views

trainingv1 7

18marweb
30. 03. 2008
0 views

18marweb

20080129e1
09. 04. 2008
0 views

20080129e1

Toolkit Hwys cq Moscow Feb2005
10. 04. 2008
0 views

Toolkit Hwys cq Moscow Feb2005

chapter 3
13. 04. 2008
0 views

chapter 3

krugmanobstfeldch08
04. 10. 2007
0 views

krugmanobstfeldch08

venezuela
14. 04. 2008
0 views

venezuela

lovelock01
17. 04. 2008
0 views

lovelock01

Overheads
17. 04. 2008
0 views

Overheads

C 88
02. 08. 2007
0 views

C 88

dds d
19. 06. 2007
0 views

dds d

DC E Show
19. 06. 2007
0 views

DC E Show

dmtshop
19. 06. 2007
0 views

dmtshop

Disciplinary
19. 06. 2007
0 views

Disciplinary

Squazzoni
05. 01. 2008
0 views

Squazzoni

eBook v1
18. 06. 2007
0 views

eBook v1

e 3 MultiCom Product Writeup
18. 06. 2007
0 views

e 3 MultiCom Product Writeup

Dulsa 2007
18. 06. 2007
0 views

Dulsa 2007

GP Reg Slides 07
22. 08. 2007
0 views

GP Reg Slides 07

Mountainbldg
03. 10. 2007
0 views

Mountainbldg

Caregivers
02. 08. 2007
0 views

Caregivers

ZimbZWICAConstruct
30. 12. 2007
0 views

ZimbZWICAConstruct

Placebos Goldstein
26. 10. 2007
0 views

Placebos Goldstein

Bickley
02. 08. 2007
0 views

Bickley

cricket cartoons n cars quiz 4
15. 06. 2007
0 views

cricket cartoons n cars quiz 4

Collaboratory Project Citizen
15. 06. 2007
0 views

Collaboratory Project Citizen

clowns
15. 06. 2007
0 views

clowns

Ch 8 LOVE
15. 06. 2007
0 views

Ch 8 LOVE

Cartoons presentation
15. 06. 2007
0 views

Cartoons presentation

Cartoons 1
15. 06. 2007
0 views

Cartoons 1

The Labors of Hercules
22. 08. 2007
0 views

The Labors of Hercules

tamer sen origin belgrade
26. 11. 2007
0 views

tamer sen origin belgrade

Diaporama Harry P
19. 06. 2007
0 views

Diaporama Harry P

Nyiri
24. 11. 2007
0 views

Nyiri

Elperiodismo
18. 06. 2007
0 views

Elperiodismo

April4 section1
27. 11. 2007
0 views

April4 section1

Dedolfijntjesbij Tom Carine
19. 06. 2007
0 views

Dedolfijntjesbij Tom Carine

detailed
19. 06. 2007
0 views

detailed

DiapoEspagnol
23. 10. 2007
0 views

DiapoEspagnol

enum 4
11. 10. 2007
0 views

enum 4

cookcu talk
15. 06. 2007
0 views

cookcu talk

bping
14. 03. 2008
0 views

bping

28321
24. 02. 2008
0 views

28321

proton6894
22. 10. 2007
0 views

proton6894

Osteosarcoma greyhound
17. 11. 2007
0 views

Osteosarcoma greyhound

akj501
15. 11. 2007
0 views

akj501

ernst
25. 09. 2007
0 views

ernst

107 09 6
22. 08. 2007
0 views

107 09 6