Representations
and
Transformations
Objectives
Clarify elements of geometry
- Scalars
- Vectors
- Points
Derive homogeneous coordinate
transformation matrices
Introduce standard transformations
- R
CS130 : Computer Graphics
Lighting and Shading
Tamar Shinar
Computer Science & Engineering
UC Riverside
Why we need shading
Suppose we build a model of a sphere
using many polygons and color each the
Craig Schroeder
Perspective Correct Interpolation
CS 130
1. Viewing frustum in camera space. Camera is at the origin.
y
C
z
x
C
B
B
P
P
A
A
2. Transform from A, B, C, P to A , B , C , P by homogeneous
CS130 : Computer Graphics
Texture Mapping
Tamar Shinar
Computer Science & Engineering
UC Riverside
There are limits to geometric
modeling
http:/www.beinteriordecorator.com
National Geographic
Although
CS130 Homework 2
1. What are typical Gamma values for CRT displays?
Typical Gamma values for CRT displays are usually close to 2.5.
2. Come up with an algorithm that determines whether two line segmen
CS 130 Homework 3
1.
a.
b.
c.
d.
e.
Translate on the y-axis by -1
Scale the x-values by 2
Rotate clockwise by -pi/2 (90 degrees) about the origin
Scale the x-values by 2
Translate on the x-axis by +1
Projection Matrices
for Viewing
and
Clipping
Objectives
Derive projection matrice for
perspective projections
Introduce camera frame
Clipping
Introduce projection normalization
Camera's in GL
2
1