3
1 Viewing, projections Hofstra University 16 Projections n Projecting: mapping from 3D viewing coordinates to 2D coordinates in projection plane. In homogeneous coordinates it is a map from 4D viewing coordinates to 3D. n Projections n Parallel: orthogonal and oblique n Perspective n Canonical views: orthographic and perspective projections Viewing, projections Hofstra University 17 Perspective projection Projectors intersect at COP Viewing, projections Hofstra University 18 Parallel Projections Projectors parallel. COP at infinity. Viewing, projections Hofstra University 19 Parallel projections: summary n Center of projection is at infinity. n Projectors are parallel. n Parallel lines stay parallel n There is no forshorthening n Distances and angles are transformed consistently n Used most often in engineering design, CAD systems. Used for top and side drawings from which measurements could be made. Viewing, projections Hofstra University 20 Orthographic Projection: projectors orthogonal to projection plane DOP same for all points (direction of projectors) (direction of projectors) Viewing, projections Hofstra University 21 Orthographic Projections DOP is perpendicular to the view plane

Projections Perspective projection...2 Viewing, projections Hofstra University 22 Multiview Parallel Projection Faces are parallel to the projection plane Viewing, projections Hofstra

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Projections Perspective projection...2 Viewing, projections Hofstra University 22 Multiview Parallel Projection Faces are parallel to the projection plane Viewing, projections Hofstra

1

Viewing, projections Hofstra University 16

Projections

n Projecting: mapping from 3D viewing coordinates to 2D coordinates in projection plane. In homogeneous coordinates it is a mapfrom 4D viewing coordinates to 3D.

n Projectionsn Parallel: orthogonal and obliquen Perspective

n Canonical views: orthographic and perspective projections

Viewing, projections Hofstra University 17

Perspective projection

Projectors intersect at COP

Viewing, projections Hofstra University 18

Parallel Projections

Projectors parallel.COP at infinity.

Viewing, projections Hofstra University 19

Parallel projections: summary

n Center of projection is at infinity.n Projectors are parallel.n Parallel lines stay paralleln There is no forshortheningn Distances and angles are transformed

consistentlyn Used most often in engineering design, CAD

systems. Used for top and side drawings from which measurements could be made.

Viewing, projections Hofstra University 20

Orthographic Projection: projectors orthogonal to projection plane

DOPsame for all points

(direction of projectors)(direction of projectors)

Viewing, projections Hofstra University 21

Orthographic Projections

DOP is perpendicular to the view plane

Page 2: Projections Perspective projection...2 Viewing, projections Hofstra University 22 Multiview Parallel Projection Faces are parallel to the projection plane Viewing, projections Hofstra

2

Viewing, projections Hofstra University 22

Multiview Parallel Projection

Faces are parallel to the projection plane

Viewing, projections Hofstra University 23

Isometric Projection

Projector makes equal angles with all three principal axes

All three axes are equally foreshortened

Viewing, projections Hofstra University 24

isometric

Mechanical Drawing

Viewing, projections Hofstra University 25

Oblique Parallel Projectionsn Most general parallel viewsn Projectors make an arbitrary angle with the

projection planen Angles in planes parallel to the projection plane are

preserved

Viewing, projections Hofstra University 26

Oblique Projections: projectors are not orthogonal to image plane

CavalierAngle between projectors and projection plane is 45°. Lines orthogonal to the projection planeRetain their exact length. Perpendicular faces are projected at full scale

CabinetAngle between projectors and projection plane is arctan(2)=63.4°. Lines orthogonal to the projection plane are projected at half length. Perpendicular faces are projected at 50% scale.Looks like forshorthening.

Viewing, projections Hofstra University 27

Perspective Projection

n Most natural for peoplen In human vision, perspective projection of the world is

created on the retina (back of the eye)n Used in CG for creating realistic imagesn Perspective projection images carry depth cuesn Foreshorthening causes distant objects to appear smallern Relative lengths and angles are not preservedn A perspective image cannot be used for metric

measurements of the 3D worldn Parallel lines not parallel to the image plane converge at a

vanishing pointn An axis (principal) vanishing point is a point of convergence

for lines parallel to a principal axis of the object. We distinguish one-, two-, three-point projections.)

Page 3: Projections Perspective projection...2 Viewing, projections Hofstra University 22 Multiview Parallel Projection Faces are parallel to the projection plane Viewing, projections Hofstra

3

Viewing, projections Hofstra University 28

Vanishing Points

Viewing, projections Hofstra University 29

Vanishing Points

Viewing, projections Hofstra University 30

Early Perspective

Not systematic—parallel lines do not converge to a single "vanishing" point

Giotto

Viewing, projections Hofstra University 31

Math of Projections:Overviewn Math of perspective projection, standard

configurationn OpenGL perspective projectionsn Math of orthographic projectionn OpenGL orthographic projectionsn Viewport transformations and setting them in

OpenGLn Summary

n Viewing transformationsn Orthographic projection canonical viewing volumen Perspective projection canonical viewing volume

n Hidden surface removal