3ds Max 9 Bible
Although you've already had some experience with the Preview window in the examples, more controls are available than just playing the animation. To preview the simulation, select reactor
| Caution | The Preview window runs only if the OpenGL or the Direct3D display drivers are used. The window uses OpenGL by default, or you can set it to use DirectX with the DirectX option in the Display rollout The display driver being used is displayed in the title bar of the Preview window. |
Using the Preview window
The fun part of the preview window is that you can interact with the objects. Right-clicking (when the simulation is playing) and dragging on the object moves it. If you find a position that you want to capture for Max, you can use the MAX
| Tip | If the reactor version 3 engine is selected, then you can interact with the objects in the Preview window by holding down the Spacebar and dragging the mouse. |
If you want to reset the animation to its starting positions, you can use the Simulation
The Performance menu includes options for setting the frames per second and the number of substeps used to compute the simulation. For most animations, the default of 10 substeps is sufficient, but if you want Max to spend more time computing an accurate solution, you can try a higher substep value.
| Caution | Don't use a high value with water. |
Creating animation keys
To compute the animation keys for the simulation, select the reactor
| Note | After you've clicked the Create Animation menu command, a warning appears stating that the operation cannot be undone. |
Analyzing the scene
After the Preview window is opened, a warning dialog box appears if the scene has any errors or warnings that could cause trouble with the simulation. It also warns of unrealistic data, such as property settings that are too high or too low.
| Tip | The one warning that isn't included in the warning dialog box is if objects have no Mass value. If objects in your simulation are just sitting there, then make sure that they have a Mass value. |
If you want to check your scene without opening the Preview window, you can use the reactor
Tutorial: Dropping a plate of donuts
All the great books have an element of tragedy, so consider a policeman carrying a dozen donuts on a plate when he stumbles and drops the plate. Donuts everywhere, how tragic! This animation sequence would be difficult or at least time-consuming, but not with reactor.
To use reactor to animate a falling plate of donuts, follow these steps:
-
Open the
Falling plate of donuts.max file from the Chap 37 directory on the DVD. This file includes a simple plate of donuts created from primitives. -
Select the reactor
Create Objects Rigid Body Collection menu command, and click in the Front viewport. In the RB Collection Properties rollout, click the Pick button and select the plate object. Click the Pick button again, and select the Box object that represents the floor. -
Select the Torus objects, and choose reactor
Apply Modifier Soft Body Modifier (or click the Soft Body Modifier button in the reactor toolbar). -
Then select reactor
Create Objects Soft Body Collection, and click again in the Front viewport. In the SB Collection Properties rollout, click the Add button and select all the Torus objects again. -
Select reactor
Open Property Editor, and select the Box object; in the Properties rollout, enable the Unyielding option. Select the plate object, and make its Mass value 5.0. Then select all the donuts, and make their Mass value 0.25. Enable the Mesh Convex Hull option. -
The last step is to execute the simulation: Select the reactor
Create Animation menu command. It takes some time to compute a solution for this example. When it completes, press the Play Animation button (or press the / key) to see the results.
Figure 37.11 shows the upturned plate of donuts.
Категории