3D Transformations - Computer Science Department
[Pages:35]CS 430 Computer Graphics
3D Transformations
World Window to Viewport Transformation
Week 2, Lecture 3
David Breen, William Regli and Maxim Peysakhov Department of Computer Science Drexel University
1
Outline
? World window to viewport transformation ? 3D transformations ? Coordinate system transformation
2
The Window-to-Viewport Transformation
? Problem: Screen windows cannot display the whole world (window management)
? How to transform and clip: Objects to Windows to Screen
3
Pics/Math courtesy of Dave Mount @ UMD-CP
Window-to-Viewport Transformation
? Given a window and a viewport, what is the transformation from WCS to VPCS?
Three steps: ? Translate ? Scale ? Translate
4
1994 Foley/VanDam/Finer/Huges/Phillips ICG
Transforming World Coordinates to Viewports
? 3 steps
1. Translate 2. Scale 3. Translate
Overall Transformation:
P'= MwvP
5
1994 Foley/VanDam/Finer/Huges/Phillips ICG
Clipping to the Viewport
? Viewport size may not be big enough for everything
? Display only the pixels inside the viewport
? Transform lines in world ? Then clip in world ?Transform to image ? Then draw ? Do not transform pixels
6
1994 Foley/VanDam/Finer/Huges/Phillips ICG
3D Transformations
9
Representation of 3D Transformations
? Z axis represents depth ? Right-Handed System
? When looking "down" at the origin, positive rotation is CCW
? Left-Handed System
? When looking "down", positive rotation is in CW
? More natural interpretation for displays, big z means "far"
(into screen) 10
1994 Foley/VanDam/Finer/Huges/Phillips ICG
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- math 8 unit 6 transformations mrs
- pre calculus assignment sheet
- worksheet 48 9
- composition of transformations worksheet
- unit 2 transformations and congruence lesson 3 composition
- 3d transformations computer science department
- 9 6 compositions of reflections
- parent function worksheet 1
- identifying composition of transformations worksheet
- geometry multiple transformations
Related searches
- igcse computer science workbooks pdf
- igcse computer science workbook
- igcse computer science workbook answer
- igcse computer science coursebook pdf
- computer science people
- what is computer science like
- computer science revision
- igcse computer science revision notes
- college computer science project ideas
- ideas for computer science project
- computer science projects for students
- computer science final project