23
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Classical Viewing Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

1Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Classical Viewing

Ed AngelProfessor of Computer Science,

Electrical and ComputerEngineering, and Media Arts

University of New Mexico

Page 2: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

2Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Objectives

• Introduce the classical views•Compare and contrast image formationby computer with how images have beenformed by architects, artists, andengineers

•Learn the benefits and drawbacks ofeach type of view

Page 3: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

3Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Classical Viewing

• Viewing requires three basic elements- One or more objects- A viewer with a projection surface- Projectors that go from the object(s) to the projection

surface• Classical views are based on the relationship among

these elements- The viewer picks up the object and orients it how she

would like to see it• Each object is assumed to constructed from flat

principal faces- Buildings, polyhedra, manufactured objects

Page 4: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

4Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Planar Geometric Projections

•Standard projections project onto a plane•Projectors are lines that either

- converge at a center of projection- are parallel

•Such projections preserve lines- but not necessarily angles

•Nonplanar projections are needed forapplications such as map construction

Page 5: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

5Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Classical Projections

Page 6: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

6Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Perspective vs Parallel

•Computer graphics treats all projectionsthe same and implements them with asingle pipeline

•Classical viewing developed differenttechniques for drawing each type ofprojection

•Fundamental distinction is betweenparallel and perspective viewing eventhough mathematically parallel viewing isthe limit of perspective viewing

Page 7: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

7Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Taxonomy of PlanarGeometric Projections

parallel perspective

axonometric multivieworthographic

oblique

isometric dimetric trimetric

2 point1 point 3 point

planar geometric projections

Page 8: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

8Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Perspective Projection

Page 9: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

9Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Parallel Projection

Page 10: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

10Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Orthographic Projection

Projectors are orthogonal to projection surface

Page 11: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

11Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Multiview OrthographicProjection

• Projection plane parallel to principal face• Usually form front, top, side views

isometric (not multivieworthographic view) front

sidetop

in CAD and architecture, we often display three multiviews plus isometric

Page 12: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

12Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Advantages andDisadvantages

•Preserves both distances and angles- Shapes preserved- Can be used for measurements

• Building plans• Manuals

•Cannot see what object really looks likebecause many surfaces hidden from view

- Often we add the isometric

Page 13: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

13Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Axonometric Projections

Allow projection plane to move relative to object

classify by how many angles ofa corner of a projected cube are the same

none: trimetrictwo: dimetricthree: isometric

θ 1θ 3θ 2

Page 14: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

14Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Types of AxonometricProjections

Page 15: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

15Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Advantages andDisadvantages

• Lines are scaled (foreshortened) but can findscaling factors

• Lines preserved but angles are not- Projection of a circle in a plane not parallel to the

projection plane is an ellipse• Can see three principal faces of a box-like object• Some optical illusions possible

- Parallel lines appear to diverge• Does not look real because far objects are

scaled the same as near objects• Used in CAD applications

Page 16: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

16Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Oblique Projection

Arbitrary relationship between projectors andprojection plane

Page 17: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

17Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Advantages andDisadvantages

• Can pick the angles to emphasize a particularface

- Architecture: plan oblique, elevation oblique• Angles in faces parallel to projection plane are

preserved while we can still see “around” side

• In physical world, cannot create with simplecamera; possible with bellows camera or speciallens (architectural)

Page 18: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

18Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Perspective Projection

Projectors coverge at center of projection

Page 19: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

19Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Vanishing Points

• Parallel lines (not parallel to the projection plan)on the object converge at a single point in theprojection (the vanishing point)

• Drawing simple perspectives by hand usesthese vanishing point(s)

vanishing point

Page 20: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

20Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Three-Point Perspective

• No principal face parallel to projection plane• Three vanishing points for cube

Page 21: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

21Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Two-Point Perspective

• On principal direction parallel to projection plane• Two vanishing points for cube

Page 22: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

22Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

One-Point Perspective

• One principal face parallel to projection plane• One vanishing point for cube

Page 23: Ed Angel Professor of Computer Science, Electrical and ...ming/courses/icg/CS... · Perspective vs Parallel •Computer graphics treats all projections the same and implements them

23Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005

Advantages andDisadvantages

• Objects further from viewer are projectedsmaller than the same sized objects closer tothe viewer (diminution)

- Looks realistic• Equal distances along a line are not projected

into equal distances (nonuniform foreshortening)• Angles preserved only in planes parallel to the

projection plane• More difficult to construct by hand than parallel

projections (but not more difficult by computer)