Homework Assignment #3 EECS 487 Fall 2003
Due: November 24th 2003
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) A ® S[A](A)
2) A ® S
Where:
an S corresponds to a line segment from
(0,0) to (0,1).
an S in [ ]’s corresponds to a line
segment from (0,½) to (-½,1) relative to
the preceding S
an S in ( )’s corresponds to a line segment from (0,½) to (½,1) relative to the preceding S
Start with the string “A” and apply rule 1 twice, then rule 2.
a) write the resulting string
b) draw corresponding picture