Questions? Look for answers here and here.
Notation: MRS is a 3x3 homogeneous matrix, which transforms a point PR=(xR,yR,1) in coordinate frame R to a point PS=(xS,yS,1) in coordinate frame S. |
|
I(λ) = (λ-300)/500, if 300≤λ≤800, I(λ) = 0, otherwise. |
submit -N a2q5 csc418h intersect.c
submit -N a2q5 csc2504h intersect.c
glRotate
, glTranslate
, or
glScale
. Use only the glMultMatrix
and
glLoadMatrix
functions. You must use the
skeleton code provided, which reads in the four degrees of freedom:
Submit your code electronically, using one of the following commands:
submit -N a2q6 csc418h robot.cpp
submit -N a2q6 csc2504h robot.cpp