SlideShare a Scribd company logo
Projections and clipping in 3D
Viewing and projection
Objects in WC are projected on to the
view plane, which is defined
perpendicular to the viewing direction
along the zv-axis. The two main types of
projection in Computer Graphics are:
• parallel projection
• perspective projection
Projection illustrations
• Parallel projection
– All projection lines are
crossing the view plane
in parallel; preserve
relative proportions

• Perspective projection
– Projection lines are
crossing the view plane
and converge in a
projection reference point
(PRP)
Overview of projections
Parallel projection
Two different types are used:
• Orthographic (axonometric,isometric)
– most common
– projection perpendicular to view plane

• Oblique (cabinet and cavalier)
– projection not perpendicular to view plane
– less common
Orthographic projection
Assume view plane at zvp (perpendicular to the zv-axis)
and (xv,yv,zv) an arbitrary point in VC
Then xp = xv
yp = yv
zp = zvp (zv is kept for depth purposes only)
Oblique projection
When the projection path is not perpendicular to
the view plane.
A vector direction is defining the projection lines
Can improve the view of an object
Oblique projection, cont’d
An oblique parallel projection is often specified
with two angles, α (0-90°) och φ (0-360°), as
shown below
Oblique formula (from fig.)
Assume (x,y,z) any point in VC (cp. xv,yv,zv)
cos φ=(xp-x)/L => xp=x+L.cos φ
sin φ =(yp-y)/L => yp=y+L. sin φ
Also tan α=(zvp-z)/L, thus L=(zvp-z)/tan α= =L1(zvpz), where L1=cot α
Hence
xp = x + L1(zvp - z).cos φ
yp = y + L1(zvp - z).sin φ
Observe: if orthographic projection, then L 1=0
Cavalier and Cabinet
When
• tan α = 1 then the projection is called
Cavalier (α = 45°)
• tan α = 2 then the projection is called
Cabinet (α ≈ 63°)
φ usually takes the value 30° or 45°
Cavalier, example
Perspective projection
A general approach
. z prp − z vp + xprp . z vp − z
xp = x
z prp − z
z prp − z

. z prp − z vp + y . z vp − z
yp = y
prp
z prp − z
z prp − z
Special cases
Various restrictions are often used, such as:
• PRP on the zv-axis (used in the next
approach) => xprp=yprp=0
• PRP in the VC origin => xprp=yprp=zprp=0
• view plane in the xvyv-plane => zvp=0
• view plane in the xvyv-plane and PRP on the
zv-axis =>xprp=yprp=zvp=0
Special case: PRP on the zv-axis

Simila rity prope rtie s give :
xp
x
yp
y

=
=

z prp − z vp
z p rp − z
z prp − z vp
z p rp − z

=> xp = x.
=> yp = y.

dp
z p rp − z
dp
z p rp − z
Window and clipping in 3D
Window in 3D => View Volume
A rectangular window on the view plane
corresponds to a view volume of type:
• infinite parallelepiped (parallel
projection)
• ”half-infinite” pyramid with apex at PRP
(perspective projection)
View volumes
Finite view volumes
To get a finite volume (one or) two extra
zv-boundary planes, parallel to the view
plane, are added: the front (near) plane
and the back (far) plane resulting in:
• a rectangular parallelepiped (parallel
projection)
• a pyramidal frustum (perspective
projection)
Finite view volumes
”Camera” properties
The two new planes are mainly used as far and
near clipping planes to eliminate objects
close to and far from PRP (cp. the camera)
Other camera similarities:
• PRP close to the view plane => ”wide angle”
lens
• PRP far from the view plane => ”tele photo”
lens
Matrix representations for both parallel and perspective projections are possible (see text
book)
3D Clipping
A 3D algorithm for clipping identifies and
saves those surface parts that are
within the view volume
Extended 2D algorithms are well suited
also in 3D; instead of clipping against
straight boundary edges, clipping in 3D
is against boundary planes, i.e. testing
lines/surfaces against plane equations
Clipping planes
Testing a point against the front and back
clipping planes are easy; only the zcoordinate has to be checked
Testing against the other view volume sides are
more complex when perspective projection
(pyramid), but still easy when parallel
projection, since the clipping sides are then
parallel to the x- and y-axes
Clipping when perspective projection
Before clipping, convert the view volume, a
pyramidal frustum, to a rectangular
parallelepiped (see next figure)
Clipping can then be performed as in the case
of parallel projection, which means much less
processing
From now on, all view volumes are assumed to
be rectangular parallelepipeds (either
including the special transformation or not)
The perspective transformation
The perspective
transformation will
transform the object
A to A’ so that the
parallel projection of
A’ will be identical to
the perspective
projection of A
Normalized coordinates
A possible (and usual!) further transformation is
to a unit cube; a normalized coordinate
system (NC) is then introduced, with either
0≤x,y,z≤1 or -1≤x,y,z≤1
Since screen coordinates are often specified in
a left-handed reference system, also
normalized coordinates are often specified in
a left-handed system, which means, for
instance, viewing in the positive z-direction
Left-handed screen coordinates
Parallel projection view volume to
normalized view volume
Perspective projection view volume
to normalized view volume
Advantages with the
parallelepiped/unit cube
• all view volumes have a standard shape
and corresponds to common output
devices
• simplified and standardized clipping
• depth determinations are simplified
when it comes to Visible Surface
Detection
Clipping in more detail
Both the 2D algorithms, Cohen-Sutherland’s for
line clipping and Sutherland-Hodgeman’s for
polygon clipping, can easily be modified to 3D
clipping.
One of the main differences is that clipping has
to be performed against boundary planes
instead of boundary edges
Another is that clipping in 3D generally needs to
be done in homogeneous coordinates
Clipping details,cont’d
With matrix representation of the viewing and projection
transformations, the matrix M below represent the
concatenation of all various transformations from
world coordinates to normalized, homogeneous
projection coordinates with h taking any real value!
⎛xh ⎞
⎛x ⎞
⎜y ⎟
h
.⎜y ⎟
⎜ ⎟=M ⎜ ⎟
⎜z ⎟
⎜z h ⎟
⎝1 ⎠
⎝h ⎠
Line clipping
Polygon clipping
Graphics packages typically deal only with
objects made up by polygons
Clipping an object is then broken down in
clipping polygon surfaces
First, some bounding surface is tested
Then, vertex lists as in 2D but now processed
by 6 clippers!
Additional surfaces need to ”close” cut objects
along the view volume boundary
Concave objects are often split
Example, object clipping
Viewing pipeline
After the clipping routines have been
applied to the normalized view volume,
the remaining tasks are:
• Visibility determination
• Surface rendering
• Transformation to the viewport (device)

More Related Content

What's hot

Section of solids - ENGINEERING DRAWING/GRAPHICS
Section of solids - ENGINEERING DRAWING/GRAPHICSSection of solids - ENGINEERING DRAWING/GRAPHICS
Section of solids - ENGINEERING DRAWING/GRAPHICS
Abhishek Kandare
 
Basics of engineering drawing by Rishabh Natholia
Basics of engineering drawing by Rishabh NatholiaBasics of engineering drawing by Rishabh Natholia
Basics of engineering drawing by Rishabh Natholia
RISHABH NATHOLIA
 
Unit 1 orthographic projection engineering graphics
Unit 1 orthographic projection engineering graphicsUnit 1 orthographic projection engineering graphics
Unit 1 orthographic projection engineering graphics
ganesasmoorthy raju
 
Chapter 03 orthographic projection
Chapter 03 orthographic projectionChapter 03 orthographic projection
Chapter 03 orthographic projection
Ravi Patel
 
Engineering Drawing
Engineering DrawingEngineering Drawing
Engineering Drawing
Lai Chun Tat
 
Introduction to engineering graphics
Introduction to engineering graphicsIntroduction to engineering graphics
Introduction to engineering graphics
Sagar Patel
 
Types of projections
Types of projectionsTypes of projections
Types of projections
Muhammad Umair Akram
 
Projection of solids
Projection of solidsProjection of solids
Projection of solids
Kashyap Shah
 
Engineering Drawing
Engineering DrawingEngineering Drawing
Engineering Drawing
Dr. Bhuiyan S. M. Ebna Hai
 
Sections of Solids
Sections of SolidsSections of Solids
Sections of Solids
ANIKET SURYAWANSHI
 
Basic introduction to Engineering Drawing
Basic introduction to Engineering DrawingBasic introduction to Engineering Drawing
Basic introduction to Engineering Drawing
Tariku Dessie
 
First and third angle projection
First and third angle projectionFirst and third angle projection
First and third angle projection
Safiullah Khan
 
Isometric projections for engineering students
Isometric projections for engineering studentsIsometric projections for engineering students
Isometric projections for engineering students
Akshay Darji
 
Sectional View
Sectional ViewSectional View
Sectional View
HabtamuGeremew
 
SCALES : ENGINEERING, Plain and diagonal
SCALES : ENGINEERING,  Plain  and diagonal SCALES : ENGINEERING,  Plain  and diagonal
SCALES : ENGINEERING, Plain and diagonal
Surashmie Kaalmegh
 
Lesson 13-perspective-projection
Lesson 13-perspective-projectionLesson 13-perspective-projection
Lesson 13-perspective-projection
eglive
 
Engineering drawing
Engineering  drawing Engineering  drawing
Engineering drawing
Selva Prakash
 
Orthographic projections
Orthographic projectionsOrthographic projections
Orthographic projections
AISSMS IOIT,PUNE
 
Unit iv section of solids
Unit  iv section of solidsUnit  iv section of solids
Unit iv section of solids
ganesasmoorthy raju
 
angle of projections
angle of projectionsangle of projections
angle of projections
Chukka Nikhil Chakravarthy
 

What's hot (20)

Section of solids - ENGINEERING DRAWING/GRAPHICS
Section of solids - ENGINEERING DRAWING/GRAPHICSSection of solids - ENGINEERING DRAWING/GRAPHICS
Section of solids - ENGINEERING DRAWING/GRAPHICS
 
Basics of engineering drawing by Rishabh Natholia
Basics of engineering drawing by Rishabh NatholiaBasics of engineering drawing by Rishabh Natholia
Basics of engineering drawing by Rishabh Natholia
 
Unit 1 orthographic projection engineering graphics
Unit 1 orthographic projection engineering graphicsUnit 1 orthographic projection engineering graphics
Unit 1 orthographic projection engineering graphics
 
Chapter 03 orthographic projection
Chapter 03 orthographic projectionChapter 03 orthographic projection
Chapter 03 orthographic projection
 
Engineering Drawing
Engineering DrawingEngineering Drawing
Engineering Drawing
 
Introduction to engineering graphics
Introduction to engineering graphicsIntroduction to engineering graphics
Introduction to engineering graphics
 
Types of projections
Types of projectionsTypes of projections
Types of projections
 
Projection of solids
Projection of solidsProjection of solids
Projection of solids
 
Engineering Drawing
Engineering DrawingEngineering Drawing
Engineering Drawing
 
Sections of Solids
Sections of SolidsSections of Solids
Sections of Solids
 
Basic introduction to Engineering Drawing
Basic introduction to Engineering DrawingBasic introduction to Engineering Drawing
Basic introduction to Engineering Drawing
 
First and third angle projection
First and third angle projectionFirst and third angle projection
First and third angle projection
 
Isometric projections for engineering students
Isometric projections for engineering studentsIsometric projections for engineering students
Isometric projections for engineering students
 
Sectional View
Sectional ViewSectional View
Sectional View
 
SCALES : ENGINEERING, Plain and diagonal
SCALES : ENGINEERING,  Plain  and diagonal SCALES : ENGINEERING,  Plain  and diagonal
SCALES : ENGINEERING, Plain and diagonal
 
Lesson 13-perspective-projection
Lesson 13-perspective-projectionLesson 13-perspective-projection
Lesson 13-perspective-projection
 
Engineering drawing
Engineering  drawing Engineering  drawing
Engineering drawing
 
Orthographic projections
Orthographic projectionsOrthographic projections
Orthographic projections
 
Unit iv section of solids
Unit  iv section of solidsUnit  iv section of solids
Unit iv section of solids
 
angle of projections
angle of projectionsangle of projections
angle of projections
 

Viewers also liked

Orthographic
OrthographicOrthographic
Orthographic
Ravi Patel
 
BEST 3D COMPUTER GRAPHICS TOOLS
BEST 3D COMPUTER GRAPHICS TOOLSBEST 3D COMPUTER GRAPHICS TOOLS
BEST 3D COMPUTER GRAPHICS TOOLS
EugeneFitchett123
 
Three dimensional transformations
Three dimensional transformationsThree dimensional transformations
Three dimensional transformations
Nareek
 
3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals
Muhammed Afsal Villan
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
Nareek
 
Surface representation
Surface representationSurface representation
Surface representation
Sunith Guraddi
 
Eg 2
Eg 2Eg 2
Hidden Surfaces
Hidden SurfacesHidden Surfaces
Hidden Surfaces
HiteshJain007
 
Hidden lines & surfaces
Hidden lines & surfacesHidden lines & surfaces
Hidden lines & surfaces
Ankur Kumar
 
Coloring
ColoringColoring
Coloring
dharshan119
 
CS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and CullingCS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and Culling
Mark Kilgard
 
Bbc coordinates
Bbc coordinatesBbc coordinates
Bbc coordinates
ClintParisCom
 
SIGGRAPH Asia 2008 Modern OpenGL
SIGGRAPH Asia 2008 Modern OpenGLSIGGRAPH Asia 2008 Modern OpenGL
SIGGRAPH Asia 2008 Modern OpenGL
Mark Kilgard
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
Selvakumar Gna
 
viewing3d pipeline
viewing3d pipelineviewing3d pipeline
viewing3d pipeline
HiteshJain007
 
Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)
Daroko blog(www.professionalbloggertricks.com)
 
Polygon Mesh Representation
Polygon Mesh RepresentationPolygon Mesh Representation
Polygon Mesh Representation
Pirouz Nourian
 
Bazier curve Algorithom for Computer Gramphics prsentation
Bazier curve Algorithom for Computer Gramphics prsentation Bazier curve Algorithom for Computer Gramphics prsentation
Bazier curve Algorithom for Computer Gramphics prsentation
Google
 
Clipping in Computer Graphics
Clipping in Computer Graphics Clipping in Computer Graphics
Clipping in Computer Graphics
Barani Tharan
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
Mohd Arif
 

Viewers also liked (20)

Orthographic
OrthographicOrthographic
Orthographic
 
BEST 3D COMPUTER GRAPHICS TOOLS
BEST 3D COMPUTER GRAPHICS TOOLSBEST 3D COMPUTER GRAPHICS TOOLS
BEST 3D COMPUTER GRAPHICS TOOLS
 
Three dimensional transformations
Three dimensional transformationsThree dimensional transformations
Three dimensional transformations
 
3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
 
Surface representation
Surface representationSurface representation
Surface representation
 
Eg 2
Eg 2Eg 2
Eg 2
 
Hidden Surfaces
Hidden SurfacesHidden Surfaces
Hidden Surfaces
 
Hidden lines & surfaces
Hidden lines & surfacesHidden lines & surfaces
Hidden lines & surfaces
 
Coloring
ColoringColoring
Coloring
 
CS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and CullingCS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and Culling
 
Bbc coordinates
Bbc coordinatesBbc coordinates
Bbc coordinates
 
SIGGRAPH Asia 2008 Modern OpenGL
SIGGRAPH Asia 2008 Modern OpenGLSIGGRAPH Asia 2008 Modern OpenGL
SIGGRAPH Asia 2008 Modern OpenGL
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
 
viewing3d pipeline
viewing3d pipelineviewing3d pipeline
viewing3d pipeline
 
Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)
 
Polygon Mesh Representation
Polygon Mesh RepresentationPolygon Mesh Representation
Polygon Mesh Representation
 
Bazier curve Algorithom for Computer Gramphics prsentation
Bazier curve Algorithom for Computer Gramphics prsentation Bazier curve Algorithom for Computer Gramphics prsentation
Bazier curve Algorithom for Computer Gramphics prsentation
 
Clipping in Computer Graphics
Clipping in Computer Graphics Clipping in Computer Graphics
Clipping in Computer Graphics
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
 

Similar to projections - engineering drawing

Three dimensional concepts - Computer Graphics
Three dimensional concepts - Computer GraphicsThree dimensional concepts - Computer Graphics
Three dimensional concepts - Computer Graphics
Kongunadu College of engineering and Technology, Namakkal
 
3 d viewing
3 d viewing3 d viewing
3 d viewing
Deepak Singh
 
Surface design and visible surfaces
Surface design and visible surfacesSurface design and visible surfaces
Surface design and visible surfaces
Arti Parab Academics
 
Geometric objects and transformations
Geometric objects and transformationsGeometric objects and transformations
Geometric objects and transformations
saad siddiqui
 
View in 3_d_asper_syllabus
View in 3_d_asper_syllabusView in 3_d_asper_syllabus
View in 3_d_asper_syllabus
lokesh503
 
View in 3_d_asper_syllabus
View in 3_d_asper_syllabusView in 3_d_asper_syllabus
View in 3_d_asper_syllabus
lokesh503
 
UNIT-III
UNIT-IIIUNIT-III
UNIT-III
VarthiniRamesh
 
3D Transformation in Computer Graphics
3D Transformation in Computer Graphics3D Transformation in Computer Graphics
3D Transformation in Computer Graphics
sabbirantor
 
Geometric transformations and projections
Geometric transformations and projectionsGeometric transformations and projections
Geometric transformations and projections
Jaya Teja
 
UNIT-V
UNIT-VUNIT-V
08viewing3d
08viewing3d08viewing3d
08viewing3d
Ketan Jani
 
Notes04.pdf
Notes04.pdfNotes04.pdf
Notes04.pdf
MukeshKumar605825
 
Geometry of Aerial Photographs.pdf
Geometry of Aerial Photographs.pdfGeometry of Aerial Photographs.pdf
Geometry of Aerial Photographs.pdf
kunedzimwefrancisca
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewing
Rabin BK
 
Lec08112004.pdf
Lec08112004.pdfLec08112004.pdf
Lec08112004.pdf
LalithaPonnam
 
Saad alsheekh multi view
Saad alsheekh  multi viewSaad alsheekh  multi view
Saad alsheekh multi view
SaadAlSheekh1
 
3d transformation computer graphics
3d transformation computer graphics 3d transformation computer graphics
3d transformation computer graphics
University of Potsdam
 
3D Transformation
3D Transformation 3D Transformation
3D Transformation
Mahmudul Hasan
 
Computer Vision - Single View
Computer Vision - Single ViewComputer Vision - Single View
Computer Vision - Single View
Wael Badawy
 
6. Perspective Projection .pdf
6. Perspective  Projection                    .pdf6. Perspective  Projection                    .pdf
6. Perspective Projection .pdf
YatruHarshaHiski
 

Similar to projections - engineering drawing (20)

Three dimensional concepts - Computer Graphics
Three dimensional concepts - Computer GraphicsThree dimensional concepts - Computer Graphics
Three dimensional concepts - Computer Graphics
 
3 d viewing
3 d viewing3 d viewing
3 d viewing
 
Surface design and visible surfaces
Surface design and visible surfacesSurface design and visible surfaces
Surface design and visible surfaces
 
Geometric objects and transformations
Geometric objects and transformationsGeometric objects and transformations
Geometric objects and transformations
 
View in 3_d_asper_syllabus
View in 3_d_asper_syllabusView in 3_d_asper_syllabus
View in 3_d_asper_syllabus
 
View in 3_d_asper_syllabus
View in 3_d_asper_syllabusView in 3_d_asper_syllabus
View in 3_d_asper_syllabus
 
UNIT-III
UNIT-IIIUNIT-III
UNIT-III
 
3D Transformation in Computer Graphics
3D Transformation in Computer Graphics3D Transformation in Computer Graphics
3D Transformation in Computer Graphics
 
Geometric transformations and projections
Geometric transformations and projectionsGeometric transformations and projections
Geometric transformations and projections
 
UNIT-V
UNIT-VUNIT-V
UNIT-V
 
08viewing3d
08viewing3d08viewing3d
08viewing3d
 
Notes04.pdf
Notes04.pdfNotes04.pdf
Notes04.pdf
 
Geometry of Aerial Photographs.pdf
Geometry of Aerial Photographs.pdfGeometry of Aerial Photographs.pdf
Geometry of Aerial Photographs.pdf
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewing
 
Lec08112004.pdf
Lec08112004.pdfLec08112004.pdf
Lec08112004.pdf
 
Saad alsheekh multi view
Saad alsheekh  multi viewSaad alsheekh  multi view
Saad alsheekh multi view
 
3d transformation computer graphics
3d transformation computer graphics 3d transformation computer graphics
3d transformation computer graphics
 
3D Transformation
3D Transformation 3D Transformation
3D Transformation
 
Computer Vision - Single View
Computer Vision - Single ViewComputer Vision - Single View
Computer Vision - Single View
 
6. Perspective Projection .pdf
6. Perspective  Projection                    .pdf6. Perspective  Projection                    .pdf
6. Perspective Projection .pdf
 

More from Krishna Gali

Chemistry polycet study material
Chemistry polycet study materialChemistry polycet study material
Chemistry polycet study material
Krishna Gali
 
14. Statistics
14. Statistics14. Statistics
14. Statistics
Krishna Gali
 
13. Probability
13. Probability13. Probability
13. Probability
Krishna Gali
 
12.applications of trigonometry
12.applications of trigonometry12.applications of trigonometry
12.applications of trigonometry
Krishna Gali
 
11.trigonometry
11.trigonometry11.trigonometry
11.trigonometry
Krishna Gali
 
10.mensuration
10.mensuration10.mensuration
10.mensuration
Krishna Gali
 
9.tangents and secants to a circle
9.tangents and secants to a circle9.tangents and secants to a circle
9.tangents and secants to a circle
Krishna Gali
 
8.similar triangles
8.similar triangles8.similar triangles
8.similar triangles
Krishna Gali
 
7.co ordinate geometry
7.co ordinate geometry7.co ordinate geometry
7.co ordinate geometry
Krishna Gali
 
6.progressions
6.progressions6.progressions
6.progressions
Krishna Gali
 
5.quadratic equations
5.quadratic equations5.quadratic equations
5.quadratic equations
Krishna Gali
 
4.pair of linear equations in two variables
4.pair of linear equations in two variables4.pair of linear equations in two variables
4.pair of linear equations in two variables
Krishna Gali
 
3.polynomials
3.polynomials3.polynomials
3.polynomials
Krishna Gali
 
2.sets
2.sets2.sets
2.sets
Krishna Gali
 
1.real numbers
1.real numbers1.real numbers
1.real numbers
Krishna Gali
 
Chapter 12 physics
Chapter 12 physicsChapter 12 physics
Chapter 12 physics
Krishna Gali
 
Chapter 11 physics
Chapter 11 physicsChapter 11 physics
Chapter 11 physics
Krishna Gali
 
Chapter 7 physics
Chapter 7 physicsChapter 7 physics
Chapter 7 physics
Krishna Gali
 
refraction of light at curved surfaces
refraction of light at curved surfacesrefraction of light at curved surfaces
refraction of light at curved surfaces
Krishna Gali
 
Chapter 5 physics
Chapter 5 physicsChapter 5 physics
Chapter 5 physics
Krishna Gali
 

More from Krishna Gali (20)

Chemistry polycet study material
Chemistry polycet study materialChemistry polycet study material
Chemistry polycet study material
 
14. Statistics
14. Statistics14. Statistics
14. Statistics
 
13. Probability
13. Probability13. Probability
13. Probability
 
12.applications of trigonometry
12.applications of trigonometry12.applications of trigonometry
12.applications of trigonometry
 
11.trigonometry
11.trigonometry11.trigonometry
11.trigonometry
 
10.mensuration
10.mensuration10.mensuration
10.mensuration
 
9.tangents and secants to a circle
9.tangents and secants to a circle9.tangents and secants to a circle
9.tangents and secants to a circle
 
8.similar triangles
8.similar triangles8.similar triangles
8.similar triangles
 
7.co ordinate geometry
7.co ordinate geometry7.co ordinate geometry
7.co ordinate geometry
 
6.progressions
6.progressions6.progressions
6.progressions
 
5.quadratic equations
5.quadratic equations5.quadratic equations
5.quadratic equations
 
4.pair of linear equations in two variables
4.pair of linear equations in two variables4.pair of linear equations in two variables
4.pair of linear equations in two variables
 
3.polynomials
3.polynomials3.polynomials
3.polynomials
 
2.sets
2.sets2.sets
2.sets
 
1.real numbers
1.real numbers1.real numbers
1.real numbers
 
Chapter 12 physics
Chapter 12 physicsChapter 12 physics
Chapter 12 physics
 
Chapter 11 physics
Chapter 11 physicsChapter 11 physics
Chapter 11 physics
 
Chapter 7 physics
Chapter 7 physicsChapter 7 physics
Chapter 7 physics
 
refraction of light at curved surfaces
refraction of light at curved surfacesrefraction of light at curved surfaces
refraction of light at curved surfaces
 
Chapter 5 physics
Chapter 5 physicsChapter 5 physics
Chapter 5 physics
 

Recently uploaded

S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 

Recently uploaded (20)

S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 

projections - engineering drawing

  • 2. Viewing and projection Objects in WC are projected on to the view plane, which is defined perpendicular to the viewing direction along the zv-axis. The two main types of projection in Computer Graphics are: • parallel projection • perspective projection
  • 3. Projection illustrations • Parallel projection – All projection lines are crossing the view plane in parallel; preserve relative proportions • Perspective projection – Projection lines are crossing the view plane and converge in a projection reference point (PRP)
  • 5. Parallel projection Two different types are used: • Orthographic (axonometric,isometric) – most common – projection perpendicular to view plane • Oblique (cabinet and cavalier) – projection not perpendicular to view plane – less common
  • 6. Orthographic projection Assume view plane at zvp (perpendicular to the zv-axis) and (xv,yv,zv) an arbitrary point in VC Then xp = xv yp = yv zp = zvp (zv is kept for depth purposes only)
  • 7. Oblique projection When the projection path is not perpendicular to the view plane. A vector direction is defining the projection lines Can improve the view of an object
  • 8. Oblique projection, cont’d An oblique parallel projection is often specified with two angles, α (0-90°) och φ (0-360°), as shown below
  • 9. Oblique formula (from fig.) Assume (x,y,z) any point in VC (cp. xv,yv,zv) cos φ=(xp-x)/L => xp=x+L.cos φ sin φ =(yp-y)/L => yp=y+L. sin φ Also tan α=(zvp-z)/L, thus L=(zvp-z)/tan α= =L1(zvpz), where L1=cot α Hence xp = x + L1(zvp - z).cos φ yp = y + L1(zvp - z).sin φ Observe: if orthographic projection, then L 1=0
  • 10. Cavalier and Cabinet When • tan α = 1 then the projection is called Cavalier (α = 45°) • tan α = 2 then the projection is called Cabinet (α ≈ 63°) φ usually takes the value 30° or 45°
  • 13. A general approach . z prp − z vp + xprp . z vp − z xp = x z prp − z z prp − z . z prp − z vp + y . z vp − z yp = y prp z prp − z z prp − z
  • 14. Special cases Various restrictions are often used, such as: • PRP on the zv-axis (used in the next approach) => xprp=yprp=0 • PRP in the VC origin => xprp=yprp=zprp=0 • view plane in the xvyv-plane => zvp=0 • view plane in the xvyv-plane and PRP on the zv-axis =>xprp=yprp=zvp=0
  • 15. Special case: PRP on the zv-axis Simila rity prope rtie s give : xp x yp y = = z prp − z vp z p rp − z z prp − z vp z p rp − z => xp = x. => yp = y. dp z p rp − z dp z p rp − z
  • 17. Window in 3D => View Volume A rectangular window on the view plane corresponds to a view volume of type: • infinite parallelepiped (parallel projection) • ”half-infinite” pyramid with apex at PRP (perspective projection)
  • 19. Finite view volumes To get a finite volume (one or) two extra zv-boundary planes, parallel to the view plane, are added: the front (near) plane and the back (far) plane resulting in: • a rectangular parallelepiped (parallel projection) • a pyramidal frustum (perspective projection)
  • 21. ”Camera” properties The two new planes are mainly used as far and near clipping planes to eliminate objects close to and far from PRP (cp. the camera) Other camera similarities: • PRP close to the view plane => ”wide angle” lens • PRP far from the view plane => ”tele photo” lens Matrix representations for both parallel and perspective projections are possible (see text book)
  • 22. 3D Clipping A 3D algorithm for clipping identifies and saves those surface parts that are within the view volume Extended 2D algorithms are well suited also in 3D; instead of clipping against straight boundary edges, clipping in 3D is against boundary planes, i.e. testing lines/surfaces against plane equations
  • 23. Clipping planes Testing a point against the front and back clipping planes are easy; only the zcoordinate has to be checked Testing against the other view volume sides are more complex when perspective projection (pyramid), but still easy when parallel projection, since the clipping sides are then parallel to the x- and y-axes
  • 24. Clipping when perspective projection Before clipping, convert the view volume, a pyramidal frustum, to a rectangular parallelepiped (see next figure) Clipping can then be performed as in the case of parallel projection, which means much less processing From now on, all view volumes are assumed to be rectangular parallelepipeds (either including the special transformation or not)
  • 25. The perspective transformation The perspective transformation will transform the object A to A’ so that the parallel projection of A’ will be identical to the perspective projection of A
  • 26. Normalized coordinates A possible (and usual!) further transformation is to a unit cube; a normalized coordinate system (NC) is then introduced, with either 0≤x,y,z≤1 or -1≤x,y,z≤1 Since screen coordinates are often specified in a left-handed reference system, also normalized coordinates are often specified in a left-handed system, which means, for instance, viewing in the positive z-direction
  • 28. Parallel projection view volume to normalized view volume
  • 29. Perspective projection view volume to normalized view volume
  • 30. Advantages with the parallelepiped/unit cube • all view volumes have a standard shape and corresponds to common output devices • simplified and standardized clipping • depth determinations are simplified when it comes to Visible Surface Detection
  • 31. Clipping in more detail Both the 2D algorithms, Cohen-Sutherland’s for line clipping and Sutherland-Hodgeman’s for polygon clipping, can easily be modified to 3D clipping. One of the main differences is that clipping has to be performed against boundary planes instead of boundary edges Another is that clipping in 3D generally needs to be done in homogeneous coordinates
  • 32. Clipping details,cont’d With matrix representation of the viewing and projection transformations, the matrix M below represent the concatenation of all various transformations from world coordinates to normalized, homogeneous projection coordinates with h taking any real value! ⎛xh ⎞ ⎛x ⎞ ⎜y ⎟ h .⎜y ⎟ ⎜ ⎟=M ⎜ ⎟ ⎜z ⎟ ⎜z h ⎟ ⎝1 ⎠ ⎝h ⎠
  • 34. Polygon clipping Graphics packages typically deal only with objects made up by polygons Clipping an object is then broken down in clipping polygon surfaces First, some bounding surface is tested Then, vertex lists as in 2D but now processed by 6 clippers! Additional surfaces need to ”close” cut objects along the view volume boundary Concave objects are often split
  • 36. Viewing pipeline After the clipping routines have been applied to the normalized view volume, the remaining tasks are: • Visibility determination • Surface rendering • Transformation to the viewport (device)