SlideShare una empresa de Scribd logo
1 de 28
Advanced Graphics &
Animation
3D Viewing Pipeline
Three-dimensional Viewing Pipeline
Transform into view coordinates
and Canonical view volume
Clip against canonical view
volume
Project on to view plane
Map into viewport
Transform to physical
Device coordinates
transform
clip
transform
World coordinates(3D)
View coordinates(3D)
View coordinates(3D)
View coordinates(2D)
Normalized device coordinates
Physical device coordinates
Parallel Projection
 Mostly used by drafters and engineers to create working drawings
of an object which preserves its scale and shape.
 The distance between the COP and the projection plane is infinite
i.e. The projectors are parallel to each other and have a fixed
direction.
P1
P2
P1‟
P2‟
Projection plane
• Orthographic projection:
here direction of projection is perpendicular to the
view plane.
• Axonometric projection:
when direction of projection is not parallel to any of
three principal axes.
Perspective Projection
• Generalization of the principles used by artists in drawing of scenes.
• It takes object representation in view space (L.H.S.) and produce a
projection on the view plane (canvas used by the artist).
• The projection of a 3D point onto the viewplane is the intersection of
the line from the point to the COP (eye position of the artist).
Cont.
• Distance between the COP and projection plane is finite.
• Perspective projection does not preserve object scale and shape.
P1
P2
P1‟
P2‟
Projection plane
COP
Perspective Anomalies
Perspective foreshortening
- the farther an object from the COP, the smaller it appears (i.e. its
projected size becomes smaller).
cop
View plane
Vanishing points
- there is an illusion that certain sets of parallel lines (that are not
parallel to the view plane ) appear to meet at some point on the view
plane.
- the vanishing point for any set of parallel lines that are parallel
to one of principal axis is referred to as a principal vanishing point
(PVP).
- the number of PVPs is determined by the number of principal
axes intersected by the view plane.
One principal vanishing point projection
- occurs when the projection plane is perpendicular to one of the
principal axes (x, y or z ).
Vanishing point
View plane is parallel to
XY-plane and intersects
Z-axis only.
Two principal vanishing point projection
X-axis
Vanishing point Z-axis
Vanishing point
View plane intersects
Both X and Z axis but
not the Y axis
• Three principal vanishing point intersection
View plane intersects all
Three of the principal axis
X, Y and Z axis
VP1
VP3
VP2
Deriving Perspective Projection
Assume
point vertex denoting COP : (xc,yc,zc)
point on the object : (x1,y1,z1)
representation of “projection ray” containing above two points
x = xc + ( x1-xc) u …………..eq 1
y = yc + ( y1-yc) u …………..eq 2
z = zc + ( z1-zc) u …………..eq 3
The projected point (x2, y2,D) will be the point where this line intersects the
XY plane . Putting z=0 for this intersection point in eq 3 .
u = - zc / z1-zc
Substituting into first two equations,
x2 =
y2 =
Value of D may be computed which is different from zero (to
preserve depth relationship between objects)
D = z1 / (z1 –zc)
z-z
zx-zx
c1
c11c
z-z
zy-zy
c1
c11c
Standard perspective projection
y
x
z
A (x,0,z)
A‟ (x‟,0,0)
P (x ,y, z)
P‟ (x‟,y‟,0)
C(0,0,-d)
do
(0,0,0)B (0,0,z)
z
Using similar triangles ABC and A‟OC,
x‟ = d.x / (z+d)
y‟ = d.y / (z+d)
z‟ = 0
matrix representation :
d100
0000
00d0
000d
 viewing based on synthetic camera analogy.
Specifying an arbitrary 3D view
By selecting different viewing parameters, user
can position the synthetic camera.
View reference
point
View-up vector
View plane
Effect of change of viewing parameters
 Imagine a string tied to „view reference point‟ on one end and to the
synthetic camera on the other end.
 By changing viewing parameters, we can swing the camera through
the arc or change the length of the string.
- changing the view distance is equivalent to how far away
from the object the camera is when it takes the picture.
- changing the view reference point will change the part of the
object that is shown at the origin.
Cont.
- changing the view plane normal is equivalent to
taking photograph of object from different orientations.
- changing view-up is equivalent to twisting the camera
in our hands. It fixes the camera angle.
View Volume
- The view volume bounds that portion of the
3D space that is to be clipped out and
projected onto the view plane.
View Volume for Perspective Projection
- its shape is semi-infinite pyramid with apex at the
view point and edge passing through the corners of the
window.
cop
View
window
Front clipping
plane
Back clipping
plane
Frustum view volume
View Volume for Parallel Projection
-It's shape is an infinite parallelepiped with sides parallel to the
direction of projection.
Parallelepiped
Viewed volume
View
window
Front clipping
plane
Back clipping
plane
Producing a Canonical view volume for a
perspective projection
cop
View
window
Front
clip
Back clip
View frustum
centerlineGeneral shape
for the Perspective
View volume
View volume
Step 1: shear the view volume so that centerline of the frustum is
perpendicular to the view plane and passes through the center of the
view window.
Frustum centerline
View volume
Step2: scale view volume inversely proportional to the distance from
the view window, so that shape of view volume becomes rectangular
parallelepiped.
View volume
Converting object coordinates to view plane
coordinates
 similar to the process of rotation about an arbitrary axis
zw
Yw
xw
World coordinate system
Yv
Xv
VRP
View plane (eye)
coordinate system
Steps:
1. Translate origin to view reference point (VRP).
2. Translate along the view plane normal by view distance.
3. Align object coordinate‟s z-axis with view plane coordinates z-
axis (the view plane normal).
a)- Rotate about x-axis to place the line (ie. Object coordinates
z-axis) in the view plane coordinates xz-plane.
b)- Rotate about y-axis to move the z axis to its proper position.
c)- Rotate about the z-axis until x and y axis are in place in the
view plane coordinates.
Ref:
„Computer Graphics‟ by S. Harrington (pp. 279-284)

Más contenido relacionado

La actualidad más candente

3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics FundamentalsMuhammed Afsal Villan
 
Parallel projection
Parallel projectionParallel projection
Parallel projectionPrince Shahu
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer GraphicsSanu Philip
 
Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...Mani Kanth
 
3D Display Method
3D Display Method3D Display Method
3D Display MethodKhaled Sany
 
Unit 3
Unit 3Unit 3
Unit 3ypnrao
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clippingMohd Arif
 
illumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukarillumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukarsyedArr
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removalAnkit Garg
 
3 d viewing projection
3 d viewing  projection3 d viewing  projection
3 d viewing projectionPooja Dixit
 
Windows to viewport transformation
Windows to viewport transformationWindows to viewport transformation
Windows to viewport transformationPrashant Singh
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphicanku2266
 
Output primitives in Computer Graphics
Output primitives in Computer GraphicsOutput primitives in Computer Graphics
Output primitives in Computer GraphicsKamal Acharya
 
sutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clippingsutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clippingArvind Kumar
 
Two dimensional viewing
Two dimensional viewingTwo dimensional viewing
Two dimensional viewingMohd Arif
 
3 d projections
3 d projections3 d projections
3 d projectionsMohd Arif
 

La actualidad más candente (20)

3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals
 
Parallel projection
Parallel projectionParallel projection
Parallel projection
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer Graphics
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
 
Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...
 
3D Display Method
3D Display Method3D Display Method
3D Display Method
 
Unit 3
Unit 3Unit 3
Unit 3
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clipping
 
illumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukarillumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukar
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
 
3 d viewing projection
3 d viewing  projection3 d viewing  projection
3 d viewing projection
 
Windows to viewport transformation
Windows to viewport transformationWindows to viewport transformation
Windows to viewport transformation
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphic
 
Output primitives in Computer Graphics
Output primitives in Computer GraphicsOutput primitives in Computer Graphics
Output primitives in Computer Graphics
 
sutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clippingsutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clipping
 
Illumination Models & Shading
Illumination Models & ShadingIllumination Models & Shading
Illumination Models & Shading
 
Computer Graphics - clipping
Computer Graphics - clippingComputer Graphics - clipping
Computer Graphics - clipping
 
Two dimensional viewing
Two dimensional viewingTwo dimensional viewing
Two dimensional viewing
 
3 d projections
3 d projections3 d projections
3 d projections
 
Clipping
ClippingClipping
Clipping
 

Similar a 3 d viewing

View in 3_d_asper_syllabus
View in 3_d_asper_syllabusView in 3_d_asper_syllabus
View in 3_d_asper_syllabuslokesh503
 
View in 3_d_asper_syllabus
View in 3_d_asper_syllabusView in 3_d_asper_syllabus
View in 3_d_asper_syllabuslokesh503
 
Lecture 11 Perspective Projection
Lecture 11 Perspective ProjectionLecture 11 Perspective Projection
Lecture 11 Perspective Projectionguest0026f
 
projections - engineering drawing
projections - engineering drawing projections - engineering drawing
projections - engineering drawing Krishna Gali
 
6. Perspective Projection .pdf
6. Perspective  Projection                    .pdf6. Perspective  Projection                    .pdf
6. Perspective Projection .pdfYatruHarshaHiski
 
3 projection computer graphics
3 projection computer graphics3 projection computer graphics
3 projection computer graphicscairo university
 
Eg unit 5 1
Eg unit 5  1Eg unit 5  1
Eg unit 5 1Sundra3
 
Write a program to perform Oblique projection
Write a program to perform Oblique projectionWrite a program to perform Oblique projection
Write a program to perform Oblique projectionShobhit Saxena
 
Perspective projection
Perspective projectionPerspective projection
Perspective projectionPranjalDas25
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewingRabin BK
 
3 d graphics with opengl part 2
3 d graphics with opengl  part 23 d graphics with opengl  part 2
3 d graphics with opengl part 2Sardar Alam
 
Computer Vision - Single View
Computer Vision - Single ViewComputer Vision - Single View
Computer Vision - Single ViewWael Badawy
 

Similar a 3 d viewing (20)

Projection
ProjectionProjection
Projection
 
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
 
Lecture 11 Perspective Projection
Lecture 11 Perspective ProjectionLecture 11 Perspective Projection
Lecture 11 Perspective Projection
 
viewing3d pipeline
viewing3d pipelineviewing3d pipeline
viewing3d pipeline
 
08viewing3d
08viewing3d08viewing3d
08viewing3d
 
projections - engineering drawing
projections - engineering drawing projections - engineering drawing
projections - engineering drawing
 
6. Perspective Projection .pdf
6. Perspective  Projection                    .pdf6. Perspective  Projection                    .pdf
6. Perspective Projection .pdf
 
3 projection computer graphics
3 projection computer graphics3 projection computer graphics
3 projection computer graphics
 
Windows and viewport
Windows and viewportWindows and viewport
Windows and viewport
 
3D Display
3D Display3D Display
3D Display
 
ppt.pdf
ppt.pdfppt.pdf
ppt.pdf
 
Eg unit 5 1
Eg unit 5  1Eg unit 5  1
Eg unit 5 1
 
Write a program to perform Oblique projection
Write a program to perform Oblique projectionWrite a program to perform Oblique projection
Write a program to perform Oblique projection
 
Perspective projection
Perspective projectionPerspective projection
Perspective projection
 
Notes04.pdf
Notes04.pdfNotes04.pdf
Notes04.pdf
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewing
 
Projections.pptx
Projections.pptxProjections.pptx
Projections.pptx
 
3 d graphics with opengl part 2
3 d graphics with opengl  part 23 d graphics with opengl  part 2
3 d graphics with opengl part 2
 
Computer Vision - Single View
Computer Vision - Single ViewComputer Vision - Single View
Computer Vision - Single View
 

Último

Roadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NMRoadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NMroute66connected
 
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | DelhiFULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | DelhiMalviyaNagarCallGirl
 
Akola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service AkolaAkola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service Akolasrsj9000
 
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...anilsa9823
 
Call Girl Service In Dubai #$# O56521286O #$# Dubai Call Girls
Call Girl Service In Dubai #$# O56521286O #$# Dubai Call GirlsCall Girl Service In Dubai #$# O56521286O #$# Dubai Call Girls
Call Girl Service In Dubai #$# O56521286O #$# Dubai Call Girlsparisharma5056
 
Call girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room serviceCall girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room servicediscovermytutordmt
 
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...anilsa9823
 
Jeremy Casson - An Architectural and Historical Journey Around Europe
Jeremy Casson - An Architectural and Historical Journey Around EuropeJeremy Casson - An Architectural and Historical Journey Around Europe
Jeremy Casson - An Architectural and Historical Journey Around EuropeJeremy Casson
 
Patrakarpuram ) Cheap Call Girls In Lucknow (Adult Only) 🧈 8923113531 𓀓 Esco...
Patrakarpuram ) Cheap Call Girls In Lucknow  (Adult Only) 🧈 8923113531 𓀓 Esco...Patrakarpuram ) Cheap Call Girls In Lucknow  (Adult Only) 🧈 8923113531 𓀓 Esco...
Patrakarpuram ) Cheap Call Girls In Lucknow (Adult Only) 🧈 8923113531 𓀓 Esco...akbard9823
 
Lucknow 💋 Escorts Service Lucknow Phone No 8923113531 Elite Escort Service Av...
Lucknow 💋 Escorts Service Lucknow Phone No 8923113531 Elite Escort Service Av...Lucknow 💋 Escorts Service Lucknow Phone No 8923113531 Elite Escort Service Av...
Lucknow 💋 Escorts Service Lucknow Phone No 8923113531 Elite Escort Service Av...anilsa9823
 
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiMalviyaNagarCallGirl
 
Indira Nagar Lucknow #Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payme...
Indira Nagar Lucknow #Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payme...Indira Nagar Lucknow #Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payme...
Indira Nagar Lucknow #Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payme...akbard9823
 
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...akbard9823
 
FULL ENJOY - 9953040155 Call Girls in Burari | Delhi
FULL ENJOY - 9953040155 Call Girls in Burari | DelhiFULL ENJOY - 9953040155 Call Girls in Burari | Delhi
FULL ENJOY - 9953040155 Call Girls in Burari | DelhiMalviyaNagarCallGirl
 
exhuma plot and synopsis from the exhuma movie.pptx
exhuma plot and synopsis from the exhuma movie.pptxexhuma plot and synopsis from the exhuma movie.pptx
exhuma plot and synopsis from the exhuma movie.pptxKurikulumPenilaian
 
RAK Call Girls Service # 971559085003 # Call Girl Service In RAK
RAK Call Girls Service # 971559085003 # Call Girl Service In RAKRAK Call Girls Service # 971559085003 # Call Girl Service In RAK
RAK Call Girls Service # 971559085003 # Call Girl Service In RAKedwardsara83
 
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisar
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service HisarVip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisar
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisarsrsj9000
 
FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiFULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiMalviyaNagarCallGirl
 
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...anilsa9823
 

Último (20)

Roadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NMRoadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NM
 
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | DelhiFULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | Delhi
 
Akola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service AkolaAkola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service Akola
 
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
Lucknow 💋 Russian Call Girls Lucknow | Whatsapp No 8923113531 VIP Escorts Ser...
 
Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)
Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)
Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)
 
Call Girl Service In Dubai #$# O56521286O #$# Dubai Call Girls
Call Girl Service In Dubai #$# O56521286O #$# Dubai Call GirlsCall Girl Service In Dubai #$# O56521286O #$# Dubai Call Girls
Call Girl Service In Dubai #$# O56521286O #$# Dubai Call Girls
 
Call girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room serviceCall girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room service
 
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...
Lucknow 💋 Call Girls in Lucknow ₹7.5k Pick Up & Drop With Cash Payment 892311...
 
Jeremy Casson - An Architectural and Historical Journey Around Europe
Jeremy Casson - An Architectural and Historical Journey Around EuropeJeremy Casson - An Architectural and Historical Journey Around Europe
Jeremy Casson - An Architectural and Historical Journey Around Europe
 
Patrakarpuram ) Cheap Call Girls In Lucknow (Adult Only) 🧈 8923113531 𓀓 Esco...
Patrakarpuram ) Cheap Call Girls In Lucknow  (Adult Only) 🧈 8923113531 𓀓 Esco...Patrakarpuram ) Cheap Call Girls In Lucknow  (Adult Only) 🧈 8923113531 𓀓 Esco...
Patrakarpuram ) Cheap Call Girls In Lucknow (Adult Only) 🧈 8923113531 𓀓 Esco...
 
Lucknow 💋 Escorts Service Lucknow Phone No 8923113531 Elite Escort Service Av...
Lucknow 💋 Escorts Service Lucknow Phone No 8923113531 Elite Escort Service Av...Lucknow 💋 Escorts Service Lucknow Phone No 8923113531 Elite Escort Service Av...
Lucknow 💋 Escorts Service Lucknow Phone No 8923113531 Elite Escort Service Av...
 
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
 
Indira Nagar Lucknow #Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payme...
Indira Nagar Lucknow #Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payme...Indira Nagar Lucknow #Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payme...
Indira Nagar Lucknow #Call Girls Lucknow ₹7.5k Pick Up & Drop With Cash Payme...
 
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...
 
FULL ENJOY - 9953040155 Call Girls in Burari | Delhi
FULL ENJOY - 9953040155 Call Girls in Burari | DelhiFULL ENJOY - 9953040155 Call Girls in Burari | Delhi
FULL ENJOY - 9953040155 Call Girls in Burari | Delhi
 
exhuma plot and synopsis from the exhuma movie.pptx
exhuma plot and synopsis from the exhuma movie.pptxexhuma plot and synopsis from the exhuma movie.pptx
exhuma plot and synopsis from the exhuma movie.pptx
 
RAK Call Girls Service # 971559085003 # Call Girl Service In RAK
RAK Call Girls Service # 971559085003 # Call Girl Service In RAKRAK Call Girls Service # 971559085003 # Call Girl Service In RAK
RAK Call Girls Service # 971559085003 # Call Girl Service In RAK
 
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisar
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service HisarVip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisar
Vip Hisar Call Girls #9907093804 Contact Number Escorts Service Hisar
 
FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiFULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
 
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...
Lucknow 💋 Virgin Call Girls Lucknow | Book 8923113531 Extreme Naughty Call Gi...
 

3 d viewing

  • 2. Three-dimensional Viewing Pipeline Transform into view coordinates and Canonical view volume Clip against canonical view volume Project on to view plane Map into viewport Transform to physical Device coordinates transform clip transform World coordinates(3D) View coordinates(3D) View coordinates(3D) View coordinates(2D) Normalized device coordinates Physical device coordinates
  • 3. Parallel Projection  Mostly used by drafters and engineers to create working drawings of an object which preserves its scale and shape.  The distance between the COP and the projection plane is infinite i.e. The projectors are parallel to each other and have a fixed direction. P1 P2 P1‟ P2‟ Projection plane
  • 4. • Orthographic projection: here direction of projection is perpendicular to the view plane. • Axonometric projection: when direction of projection is not parallel to any of three principal axes.
  • 5. Perspective Projection • Generalization of the principles used by artists in drawing of scenes. • It takes object representation in view space (L.H.S.) and produce a projection on the view plane (canvas used by the artist). • The projection of a 3D point onto the viewplane is the intersection of the line from the point to the COP (eye position of the artist).
  • 6. Cont. • Distance between the COP and projection plane is finite. • Perspective projection does not preserve object scale and shape. P1 P2 P1‟ P2‟ Projection plane COP
  • 7. Perspective Anomalies Perspective foreshortening - the farther an object from the COP, the smaller it appears (i.e. its projected size becomes smaller). cop View plane
  • 8. Vanishing points - there is an illusion that certain sets of parallel lines (that are not parallel to the view plane ) appear to meet at some point on the view plane. - the vanishing point for any set of parallel lines that are parallel to one of principal axis is referred to as a principal vanishing point (PVP). - the number of PVPs is determined by the number of principal axes intersected by the view plane.
  • 9. One principal vanishing point projection - occurs when the projection plane is perpendicular to one of the principal axes (x, y or z ). Vanishing point View plane is parallel to XY-plane and intersects Z-axis only.
  • 10. Two principal vanishing point projection X-axis Vanishing point Z-axis Vanishing point View plane intersects Both X and Z axis but not the Y axis
  • 11. • Three principal vanishing point intersection View plane intersects all Three of the principal axis X, Y and Z axis VP1 VP3 VP2
  • 12. Deriving Perspective Projection Assume point vertex denoting COP : (xc,yc,zc) point on the object : (x1,y1,z1) representation of “projection ray” containing above two points x = xc + ( x1-xc) u …………..eq 1 y = yc + ( y1-yc) u …………..eq 2 z = zc + ( z1-zc) u …………..eq 3 The projected point (x2, y2,D) will be the point where this line intersects the XY plane . Putting z=0 for this intersection point in eq 3 . u = - zc / z1-zc
  • 13. Substituting into first two equations, x2 = y2 = Value of D may be computed which is different from zero (to preserve depth relationship between objects) D = z1 / (z1 –zc) z-z zx-zx c1 c11c z-z zy-zy c1 c11c
  • 14. Standard perspective projection y x z A (x,0,z) A‟ (x‟,0,0) P (x ,y, z) P‟ (x‟,y‟,0) C(0,0,-d) do (0,0,0)B (0,0,z) z
  • 15. Using similar triangles ABC and A‟OC, x‟ = d.x / (z+d) y‟ = d.y / (z+d) z‟ = 0 matrix representation : d100 0000 00d0 000d
  • 16.  viewing based on synthetic camera analogy. Specifying an arbitrary 3D view
  • 17. By selecting different viewing parameters, user can position the synthetic camera. View reference point View-up vector View plane
  • 18. Effect of change of viewing parameters  Imagine a string tied to „view reference point‟ on one end and to the synthetic camera on the other end.  By changing viewing parameters, we can swing the camera through the arc or change the length of the string. - changing the view distance is equivalent to how far away from the object the camera is when it takes the picture. - changing the view reference point will change the part of the object that is shown at the origin.
  • 19. Cont. - changing the view plane normal is equivalent to taking photograph of object from different orientations. - changing view-up is equivalent to twisting the camera in our hands. It fixes the camera angle.
  • 20. View Volume - The view volume bounds that portion of the 3D space that is to be clipped out and projected onto the view plane.
  • 21. View Volume for Perspective Projection - its shape is semi-infinite pyramid with apex at the view point and edge passing through the corners of the window. cop View window Front clipping plane Back clipping plane Frustum view volume
  • 22. View Volume for Parallel Projection -It's shape is an infinite parallelepiped with sides parallel to the direction of projection. Parallelepiped Viewed volume View window Front clipping plane Back clipping plane
  • 23. Producing a Canonical view volume for a perspective projection cop View window Front clip Back clip View frustum centerlineGeneral shape for the Perspective View volume View volume
  • 24. Step 1: shear the view volume so that centerline of the frustum is perpendicular to the view plane and passes through the center of the view window. Frustum centerline View volume
  • 25. Step2: scale view volume inversely proportional to the distance from the view window, so that shape of view volume becomes rectangular parallelepiped. View volume
  • 26. Converting object coordinates to view plane coordinates  similar to the process of rotation about an arbitrary axis zw Yw xw World coordinate system Yv Xv VRP View plane (eye) coordinate system
  • 27. Steps: 1. Translate origin to view reference point (VRP). 2. Translate along the view plane normal by view distance. 3. Align object coordinate‟s z-axis with view plane coordinates z- axis (the view plane normal). a)- Rotate about x-axis to place the line (ie. Object coordinates z-axis) in the view plane coordinates xz-plane. b)- Rotate about y-axis to move the z axis to its proper position. c)- Rotate about the z-axis until x and y axis are in place in the view plane coordinates.
  • 28. Ref: „Computer Graphics‟ by S. Harrington (pp. 279-284)