(1) Write a MEL script that draws 20 evenly-spaced objects along the x-axis, where each object is randomly chosen to be either a sphere or a cone. Make each object a different color as it's created. (20 shaders will be created by this process.)
 
(2) Create two different shaders-- one for cones and one for spheres. The shaders should have different colors. Repeat #1 linking the spheres to the sphere shader and the cones to the cone shader. (Only two shaders will be created by this process.)
 
(3) Take a scene that you've created for one of your animations outside of this class. Using the "ls" command, find geometry objects in the scene and assign a random color and shader to each object.
 
(4) Create a complex scene with many objects in space (can use the previous scene if appropriate). Color the objects in the scene according to their depth in space. Objects closest to us should be pure red (1, 0, 0). Objects furthest from us should be pure green (0, 1, 0). Objects between should be proportionally colored so that the entire color space ramps from red to green as objects go back in space.
 
 
 
 
BallWorld Exercises
 
 
(1) Click here and do exercises 2, 3 and 4 with the BallWorld procedures. Take the examples which are in Java and in 2D, and implement them creatively in 3D. For exercises 2 and 3:
(a) Make them match the examples in the 3D front view using color. (Turn in a quicktime of your work.)
 
(b) Make the balls do interesting things in the third dimension while still matching the 2D BallWorld exercises in the front view. (Turn in a quicktime of your work.)
 
(c) Do exercise 4: Create an interesting colorful freeform 3D ballWorld. Render your interesting freeform 3D ballWorld and turn in a quicktime of your work.
 
(d) Experiment with other geometric shapes instead of balls. Render your interesting "coneWorld" or "torusWorld" or "yourHeadWorld" (etc) and turn in a quicktime of your work.

 

 

Please deposit your text files along with quicktimes into the class folder in mycourses.rit.edu.

Thank you.