Computer Graphics Lecture 19 PROJECTIONS I Taqdees A. Siddiqi

Slides:



Advertisements
Similar presentations
PROJECTION SYSTEMS FFD 104 – PARALINE DRAWINGS ORTOGRAPHIC PROJECTION
Advertisements

Three Dimensional Viewing
1 Computer Graphics Chapter 8 3D Transformations.
Three-Dimensional Viewing Sang Il Park Sejong University Lots of slides are stolen from Jehee Lee’s.
Lecture 3 Sunday, 03 May ENGINEERING GRAPHICS 1E7 Lecture 3: Orthographic Projections.
1 Projection. 2 Model Transform Viewing Transform Modelview Matrix world coordinates Pipeline Review Focus of this lecture.
Lecture 3 Sunday, 14 June ENGINEERING GRAPHICS 1E9 Lecture 2: Orthographic Projections.
CE En 112 Engineering Drawing with CAD Application
ENGINEERING GRAPHICS 1E7
ENGINEERING GRAPHICS 1E9
Viewing Transformations
Lecture 5 Monday, 29 June ENGINEERING GRAPHICS 1E7 Lecture 5: Isometric Projections.
IT- 601: Computer Graphics Lecture-11 Mathematics of Projection Jesmin Akhter Lecturer,IIT Jahangirnagar University, Savar, Dhaka,Bangladesh.
Projection Projection - the transformation of points from a coordinate system in n dimensions to a coordinate system in m dimensions where m
Visualization and Graphics Introduction
GMED UNIT 1 Pictorial Drawings.
Transformation & Projection Feng Yu Proseminar Computer Graphics :
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Viewing 고려대학교 컴퓨터 그래픽스 연구실.
MATH 306 Chapter 1.
Engineering H191 - Drafting / CAD Gateway Engineering Education Coalition Lect 3P. 1Autumn Quarter Orthographic Projection Lecture 3.
CS 325 Introduction to Computer Graphics 02 / 22 / 2010 Instructor: Michael Eckmann.
University of North Carolina at Greensboro
Computer Graphics 3D Transformations. Translation.
PARALLEL PROJECTION PROJECTION MAPPING METHODS OF PROJECTION PARALLEL PROJECTION.
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
Projection.
Rendering Pipeline Fall, D Polygon Rendering Many applications use rendering of 3D polygons with direct illumination.
CS552: Computer Graphics Lecture 11: Orthographic Projection.
2D Transformation Homogenous Coordinates Scale/Rotate/Reflect/Shear: X’ = XT Translate: X’ = X + T Multiple values for the same point e.g., (2, 3, 6)
RAC/RA Projection Types of Projection Simple Projections Generalized Projection.
Design and Communication Graphics
Viewing. Classical Viewing Viewing requires three basic elements - One or more objects - A viewer with a projection surface - Projectors that go from.
Projection. Conceptual model of 3D viewing process.
Computer Graphics Projections.
PROJECTIONS PROJECTIONS 1. Transform 3D objects on to a 2D plane using projections 2 types of projections Perspective Parallel In parallel projection,
Scale and Projections. Scale Scales are used to measure distances on technical drawings. Types of scales – Mechanical Engineers Scale (Fractional divisions)
Chapter 11 Three-Dimensional Geometric and Modeling Transformations
Three Dimensional Viewing
Rendering Pipeline Fall, 2015.
University of North Carolina at Greensboro
AXONOMETRIC PROJECTION
Computer Graphics CC416 Week 15 3D Graphics.
Computer Graphics Lecture 18 3-D Transformations-II Taqdees A
Computer Graphics 3D Transformations
Projection Our 3-D scenes are all specified in 3-D world coordinates
3D Viewing cgvr.korea.ac.kr.
Rendering Pipeline Aaron Bloomfield CS 445: Introduction to Graphics
CSC461: Lecture 18 Classical Viewing
Unit 4 3D Viewing Pipeline Part - 2
Engineering Communications GL2 Geometric modelling Projection Systems
Classical Viewing Ed Angel
Axonometric drawings BDU
ENGN103 Engineering Drawing Isometric Projections
Three Dimensional Viewing
Isometric projections
OpenGL 2D Viewing Pipeline
Planar Geometric Projection Classes
3D Graphics.
AXONOMETRIC PROJECTION
Isometric projections
ENGN103 Engineering Drawing Isometric Projections
Viewing (Projections)
Axonometric Projection
Viewing (Projections)
Chapter 5 Isometric Sketching.
Review: Axonometric/Oblique Projections Isometric Projection
THREE-DIMENSIONAL VIEWING
PROJECTIONS KOYEL DATTA GUPTA.
Chapter 5 Isometric Sketching.
Engineering Graphics I
Presentation transcript:

Computer Graphics Lecture 19 PROJECTIONS I Taqdees A. Siddiqi

PROJECTIONS I Taqdees A. Siddiqi

Reflection A reflection can be performed relative to a selected reflection axis or with respect to a selected reflection plane.

In general, three-dimensional reflection matrices are set up similarly to those for two dimensions. Reflections relative to a given axis are equivalent to 180 degree rotations.

Reflection of points relative to the X axis

Reflection of points relative to the Y axis

Reflection of points relative to the xy plane

 Shearing transformations can be used to modify object shapes

 As an example of three-dimensional shearing, the following transformation produces a z-axis shear:

Y-axis shear

X-axis shear

How can we display 3D point on 2D Screen?

PROJECTION Projection can be defined as a mapping of points p(x,y,z) onto its image p`(x`,y`,z`) in the projection plane or view plane, which sonstitutes the display surface

What is mapping? The mapping is determined by a projection line called the projector that passes through P and intersects the view plane

What is mapping?

Methods of Projection 1.Parallel Projection 2.Perspective Projection

These methods areused to solve the basic problems of pictorial representations

 We can construct different projections according to the view that is desired

Parallel Projection

In parallel projection, image points are found as the intersection of the view plane with a projector drawn from the object point and having fixed direction. The direction of projection is the prescribed direction for all projections

Parallel projection methods are used by drafters and engineers to create working drawings of an object which preserve its scale and shape

Mathematical Description of a Parallel Projection

Projection rays (projectors) emanate from a point called Center of Projection (COP) and intersect Projection Plane(PP). The COP for parallel projectors is at infinity. The length of a line on the projection plane is the same as the “true Lenght”

These are two different types of parallel projections

1.Orthographic 2.Oblique

If the direction of projection is (at 90 ) perpendicular to the projection plane then it is an orthographic projection. o

Projection plane Orthographic Projection Vp

Axonometric Orthographic Projection Orthographic projections that show more than one side of an object are called axonometric orthographic projections.

There are three axonometric projections 1.Isometric 2.Dimetric 3.Trimetric

Isometric The projection plane intersects each coordinate axis in the model coordinate system at an equal distance or the direction of projection makes equal angles with all of the three principal axes

2. Dimetric The direction of projection make equal angles with exactly two of the principal axis

3. Trimetric The direction of projection makes unequal angles with the three principal axes

Oblique Projection If the direction of projection is not perpendicular to the projection plane then it is an oblique projection

Projection Plane Oblique Projection Vp

The projectors are not perpendicular to the projection plane but are parallel from the object to the projection plane

Transformation equations for an orthographic prallel projection

 If the view plane is placed at position Zvp along the Z axis. Then any point (x,y,z) in viewing coordinates is transformed to projection coordinates as :  Xp = x  Yp = y

 Where the original Z-coordinate value is preserved for the depth information needed in depth cueing and visible surface determination procedures.

 Point (x,y,p) is projected to position (Xp, Yp) on the view plane  Orthographic projectin coordinates on the plane are (x, y)

 The oblique projection line from (x,y,z) to (Xp, Yp) makes an angle ‘ ’ with the line on the projection plane that joins(Xp, Yp) and (x, y).  This line, of lengh L, is at an angle with the horizontal direction in the projection plane

 We can express the projection coordinates in terms of x,y, L, and

 cos ( ) = Xp – x / L  sin ( ) = Yp – y / L

 Xp = x + L cos ( )  Yp = y + L sin ( )

 Length L depends on the angle ‘ ’ and the z coordinate of the point to be projected:  Tan ( ) = z / L thus, L = z * 1/ tan ( )

 L = z * L1  Where L1 is the inverse of tan, which is also the value of L when z = 1

 We can then write the oblique projection equations as:

 Xp = x + z (L1 cos ( ) )  Yp = y + z (L1 sin ( ) )

The transformation matrix for parallel projection

 The transformation matrix for producing any parallel projection onto the xy plane can be written as

 Now if = 90 (projection line is perpendicular to Projection Plane) then  Tan ( ) = infinity  L1 = 0, so we have an orthographic projection

Two special cases of oblique projection: 1.Cavalier 2.Cabinet

1. Cavalier  = 45  tan ( ) = 1  L1 = 1  This is a Cavalier projection such that all lines perpendicular to the projection plane are projected with no change in length.

 Tan (Alpha) = 2  Alpha = 63.40, L1 = ½  Lines which are perpendicular to the projection plane are projected at 1 / 2 length. This is a Cabinet projection. 0