Homework Assignment #3 EECS 487 Winter 2004
Due:
Problem #1. Given a color defined in HSV as 120°, 0.5, 1.0
Problem
#2. Given the incoming Ray I
<0.5, -0.866025, 0> and the normal N <0, 1, 0>
at the ray surface intersection;
A.
What is the
angle of reflection with respect to I and N?
B.
Draw a
Diagram and label all vectors and angles.
C.
Find the
reflected ray R
Problem
#3. Consider the following
L-system:
1)
F ® F [+F] [-F] F
Where:
The Axiom is ++F
The angle is 45°,
or p/4
radians, or in turtle graphics language 8.
Do 3 iterations of F.
a)
Write the
resulting string.
b)
Draw
corresponding picture.