More ObjectWorld Exercises
-
-
- In my new
ObjectWorld lecture this week, I showed a method for controlling
my ObjectWorld using acceleration and a dialog box. Likewise,
try to control your ObjectWorld using a dialog box by doing the
following exercises:
-
- (1) Have your ObjectWorld automatically generate
a dialog box with sliders, buttons, etc., that try to control
your scene. Add an acceleration control as I did.
-
- (2) In your dialog box, add a slider that
selects individual objects in your ObjectWorld. If "n"
is the number of objects in your ObjectWorld, then the slider
should range from 0 to n. If "0" is chosen, then all
objects should become selected.
-
- (3) Put a button into the dialog box. Design
the button control as follows: If the selected object or objects
hit the wall (or each other) and the button is pressed at the
same time, the object explodes and disappears. If you are keeping
score, the score is increased. Vary this theme as creativity
dictates.
-
- (4) Make a quicktime movie showing how your
Objectworld is changing as you manipulate the dialog box.
-
- (5) Optional: Add a box at the edge of the
scene that objects are supposed to be directed into. There should
only be one opening to the box. Objects that are corraled into
the box should be disabled. Make a quicktime movie showing how
it works.
-
- Include the mb file and a text file showing
the MEL script with changes and explainations as to what you
did.
-
Please deposit your text files along with quicktimes
and mb files into the class folder in mycourses.rit.edu.
Thank you.