Type of View - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

Type of View

Description:

DOP (Direction of Projection) Type of View. Orthographic Projections. Preserve Angle, Distance ... Using the Model View Matrices. Movement of the world frames ... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 13
Provided by: kucgKo
Category:
Tags: dop | type | view

less

Transcript and Presenter's Notes

Title: Type of View


1
Type of View
  • Perspective View
  • COP(Center of Plane)
  • Diminution of size
  • Natural appearance

2
Type of View
  • Vanishing Point

3
Type of View
  • Parallel View
  • DOP (Direction of Projection)

4
Type of View
  • Orthographic Projections
  • Preserve Angle, Distance
  • Axonometric Projections
  • Oblique Projections preserve angle

5
Projection
  • Near Plane(front plane)
  • Far Plane(back plane)
  • View Window
  • Parallelpiped volume
  • View Frustum
  • Projection reference point

6
Positioning of Camera
  • Using the Model View Matrices
  • Movement of the world frames
  • Initial camera position
  • After change Model view matrix

7
Projection Pipeline
8
Positioning of Camera
  • VRP(view reference point)
  • VUP(view up vector)
  • VPN(view plane normal)
  • Look At Point

9
OpenGL
  • void gluPerspective( GLdouble fovy, GLdouble
    aspect, GLdouble zNear, GLdouble zFar )

aspect w/h
w
h
?
View point
fovy
near
far
10
OpenGl
  • void glFrustum( GLdouble left, GLdouble right,
    GLdouble bottom, GLdouble top, GLdouble znear,
    GLdouble zfar )

11
OpenGL
  • void glOrtho( GLdouble left, GLdouble right,
    GLdouble bottom, GLdouble top, GLdouble zNear,
    GLdouble zFar )

left
top
Toward the view point
bottom
near
right
far
12
OpenGL
  • void gluLookAt( GLdouble eyex, GLdouble eyey,
    GLdouble eyez, GLdouble centerx, GLdouble
    centery, GLdouble centerz, GLdouble upx, GLdouble
    upy, GLdouble upz )
  • void glViewport( GLint x, GLint y, GLsizei width,
    GLsizei height )
Write a Comment
User Comments (0)
About PowerShow.com