Graphics System - PowerPoint PPT Presentation

1 / 28
About This Presentation
Title:

Graphics System

Description:

Title: Graphics System Author: MR.KALRA Last modified by: MR.KALRA Created Date: 1/14/2004 6:25:31 PM Document presentation format: On-screen Show Other titles – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 29
Provided by: MR22299
Category:
Tags: delhi | graphics | system

less

Transcript and Presenter's Notes

Title: Graphics System


1
(No Transcript)
2
3D Viewing
Perspective Projections
Single Point Perspective
COP on X-axis
COP (-1/p 0 0 1) VPx (1/p 0 0 1)
3
3D Viewing
Perspective Projections
Two Point Perspective
4
3D Viewing
Perspective Projections
Three Point Perspective
5
3D Viewing
Perspective Projections
6
3D Viewing
Vanishing Points
  • Two ways
  • Intersection of transformed lines
  • Transformation of points at infinity

Y
VPz
VPx
X
7
3D Viewing
Plane Geometric Projections
Parallel
Perspective
Single Point
Orthographic
Axonometric
Oblique
Two Point
Trimetric
Dimetric
Isometric
Three Point
Cavalier
Cabinet
8
3D Viewing
Implementation Issues
More from Interface point of view
V
Eye
U
N
Viewing Coordinate System (VCS)
World Coordinate System (WCS)
9
3D Viewing
View Coordinate System (VCS)
  • Viewing coordinate system
  • Position and orientation of the view plane
  • Extent of the view plane (window)
  • Position of the eye
  • View Plane
  • View Reference Point (VRP) the origin of VCS
    specified as (rx , ry, rz) in WCS center of
    the scene
  • Normal to the view plane (nx , ny, nz )

10
3D Viewing
View Coordinate System (VCS)
  • View Plane
  • Normal Direction (View Plane Normal VPN) n (nx
    ,ny ,nz)
  • User may provide normalized vector
  • e.g.
  • nx sin ? cos ?
  • ny sin ? sin ?
  • nz cos ?

11
3D Viewing
View Coordinate System (VCS)
  • View Plane
  • Direction v
  • v is a unit vector intuitively corresponding to
    up vector
  • up vector is specified by the user in WCS

up
up up (up.n)n v up / up
up
n
v
  • Direction u
  • u n x v ( Left Handed)

12
3D Viewing
View Coordinate System (VCS)
  • Window and Eye
  • Window left, right, bottom,top (wl,wr,wb,wt)
  • generally is centered at VRP (origin)
  • Eye e (eu,ev,en)
  • Typically e (0,0,-E)

13
3D Viewing
Transformation from WCS to VCS
v
Y
(x, y)
O
u
r
O
X
14
3D Viewing
Transformation from WCS to VCS
  • Point object is represented as
  • (a,b,c) in VCS
  • (x,y,z) in WCS

15
3D Viewing
Transformation from WCS to VCS
Conversion from one coordinate system to another
Therefore a(p-r).u, b(p-r).v, c(p-r).n
16
3D Viewing
Transformation from WCS to VCS
In Homogenous Coordinates (a,b,c,1) (x,y,z,1)
Awv
17
3D Viewing
Transformation from WCS to VCS
In Homogenous Coordinates
r -rMT (-r.u,-r.v,-r.n) (rx,ry,rz) puvnp
xyzAwv
18
3D Viewing
Transformation from VCS to View Plane
Parametrically r(t) e(1-t)p.t
19
3D Viewing
Transformation from VCS to View Plane
On u-v plane, r(t)n 0
20
3D Viewing
Transformation from VCS to View Plane
When eye is on n-axis euev0 upu/(en-pn),
vpv/(en-pn) Matrix form (n0) Perspective
Transformation
21
3D Viewing
Transformation from VCS to View Plane
Using Perspective Transformation Mp
22
3D Viewing
Transformation from VCS to View Plane
If eye is off n-axis we have another matrix
p(pu,pv,pn,1)MsMp q in WCS maps to pqAwvMsMp
23
3D Viewing
View Volume
Eye
View Plane, n0
Front Plane nF
Back Plane nB
24
3D Viewing
View Volume
v
v
wt
wt
n
n
F
B
wb
wb
F/(1-F/en)
B/(1-B/en)
25
3D Viewing
Volume Normalization Transformation
26
3D Viewing
Volume Normalization Transformation
For n
no
nt
F/(1-F/en)
B/(1-B/en)
0
1
Scaling sn
Translation rn
27
3D Viewing
Volume Normalization Transformation
where
Total Transformation AwvMsMpN
28
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com