Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
3ds Max 6 Bible (2004).pdf
Скачиваний:
55
Добавлен:
17.08.2013
Размер:
50.02 Mб
Скачать

486 Part III Modeling

Figure 17-10: You can use the Mesher object to create an instance of a particle system with modifiers applied.

Working with BlobMesh Objects

BlobMesh objects are simple spheres. If you have only one of them, they aren’t interesting at all, but if you get them together, they run into each other much like the metal mercury. This makes them an ideal choice for modeling flowing liquids and soft organic shapes.

New

The BlobMesh object is new to 3ds max 6.

Feature

 

BlobMesh objects are used as sets of objects rather than as individual objects. If you click the BlobMesh button in the Compound Objects subcategory and then create a BlobMesh in the viewports, it appears as a sphere with the radius set using the Size parameter. The real benefit comes from clicking the Pick or Add buttons below the Blob Objects list and selecting an object in the scene.

Note The Pick, Add, and Remove buttons become enabled only in the Modify panel.

The object that is picked is added to the Blob Objects list, and each vertex of the object gets a BlobMesh added to it. If the BlobMesh objects are large enough to overlap, then the entire object is covered with these objects and they run together to form a flowing mass of particles.

Chapter 17 Building Compound Objects 487

Setting BlobMesh Parameters

The Size value sets the radius of the BlobMesh object. Larger sizes result in more overlapping of surrounding objects. For particle systems, the Size is discounted and the size of the particles determines the size of the BlobMesh objects. The Tension value sets how loose or tight the surface of the BlobMesh object is. Small tension values result in looser objects that more readily flow together.

The Evaluation Coarseness value sets how dense the BlobMesh objects will be. By enabling the Relative Coarseness option, the density of the objects changes as the size of the objects changes. The Coarseness values can be different for the viewport and the Render engine.

When a BlobMesh object is selected and applied to the picked object, each vertex has an object attached to it, but if you apply a selection modifier, such as the Mesh Select modifier, to the picked object, then only the selected subobjects get a MeshBlob object. You can also use the Soft Selection option to select those subobjects adjacent to the selected subobjects. The Minimum Size value is the smallest sized BlobMesh object that is used when Soft Selection is enabled.

The Large Data Optimization option is a quicker, more efficient way of rendering a huge set of BlobMesh objects. The benefit from this method comes when more than 2,000 BlobMesh objects need to be rendered. If the viewport updates are slow due to the number of BlobMesh objects, you can select to turn them Off in Viewport.

Cross-

Reference

When BlobMesh objects are applied to a particle system, they can be used as part of a Particle Flow workflow. The Particle Flow Parameters rollout includes a list of events to apply to the BlobMesh objects. Particle Flow is covered in detail in Chapter 18, “Creating Particles and Particle Flow.”

Tutorial: Creating a volcano with BlobMesh objects

When you think of coarse, blobby-like flows of liquid, you might recall that icky science experiment that you did in elementary school where you combined baking soda with vinegar in the center of a red clay structure, trying to make it look like a volcano.

To create a simple volcano using BlobMesh objects, follow these steps:

1.Select the Create Standard Primitives Cone menu command, and drag and click in the Top viewport to create a cone that is flat at the top. Name the object Volcano, and set its color to brown, its Radius 1 value to 135, its Radius 2 to 30, its Height to 170, and its Height Segments to 15.

2.If we applied a BlobMesh to this cone as it is now, all the lava flows would line up perfectly, which isn’t very realistic, so we need to add some noise to the volcano shape. Select the Modifiers Parametric Deformers Noise menu command. For the Noise modifier, enable the Fractal option and set the Strength values to 40, 60, and 70 for the X, Y, and Z axes.

3.Select Create Compound BlobMesh, and click in the Top viewport to create a BlobMesh object. Name the object Lava, and set its color to red and its Size to 23.

4.Open the Modify panel, click the Pick button below the empty Blob Objects list, and select the volcano cone object.

This places a BlobMesh object at each vertex to simulate the lava flowing down the volcano.

488 Part III Modeling

Figure 17-11 shows the resulting volcano scene. For more practice, you can try using a particle system to animate the flowing lava.

Figure 17-11: A volcano object, complete with lava, compliments of the BlobMesh object

Creating a Scatter Object

A Scatter object spreads multiple copies of the object about the scene or within a defined area. The object that is scattered is called the Source object, and the area where the scatter objects can be placed is defined by a Distribution object.

Cross- Particle systems, which are discussed in Chapter 18, “Creating Particles and Particle Flow,” Reference can also create many duplicate objects, but you have more control over the placement of

objects with a Scatter object.

To create a Scatter object, select the Create Compound Scatter menu command. The selected object becomes the Source object. A rollout then opens, in which you can select the Distribution object or use defined transforms.

Under the Scatter Objects rollout, the Objects section lists the Source and Distribution objects. Name fields are also available for changing the name of either object. The Extract Operand button is available only in the Modify panel; it lets you select an operand from the list and make a copy or instance of it.

Chapter 17 Building Compound Objects 489

Working with Source objects

The Source object is the object that is to be duplicated. Figure 17-12 shows a Cylinder primitive scattered over a spherical Distribution object with 500 duplicates. The Perpendicular and Distribute Using Even options are set.

In the Scatter Objects rollout are several parameters for controlling the Source object. In the Source Object Parameters rollout, the Duplicates value specifies how many objects to scatter. You can also specify a Base Scale and the Vertex Chaos values. The Base Scale is the value that the object is scaled to before being scattered. All new objects are scaled equally to this value. The Vertex Chaos button randomly distributes the object vertices.

The Animation Offset defines the number of frames between a new duplicate and the previous one.

Note If you look closely at a Scatter object, you’ll notice that both the Source and Distribution objects have the same object color. To color them differently, use the Multi/Sub-Object Material.

Figure 17-12: A Scatter object made of a Cylinder spread over an area defined by a sphere

490 Part III Modeling

Working with Distribution objects

To select a Distribution object, click the Pick Distribution Object button and select an object in the viewport (make sure that the Use Distribution Object option is selected in the Scatter Objects rollout). You can specify the Distribution object as a Copy, Instance, Reference,

or Move.

Under the Distribution Object Parameters rollout are several options for controlling the Distribution object. The Perpendicular option causes the Source objects to be aligned perpendicular to the Distribution object. If the Perpendicular option is disabled, the orientation remains the same as that of the default Source object. Figure 17-13 shows the same Scatter object as in the preceding figure, but with several different options.

Figure 17-13: A Scatter object with different options: Base Scale at 20%, Vertex Chaos at 2.0, Perpendicular option disabled, and Duplicates at 100

The Use Selected Faces Only option enables you to select the faces over which the duplicates are positioned. The Selected Faces are those passed up the Stack by the Mesh Select modifier.

Other Distribution object parameter options include Area, Even, Skip N, Random Faces, Along Edges, All Vertices, All Edge Midpoints, All Face Centers, and Volume. The Area option evenly distributes the objects over the surface area, and the Even option places duplicates over every other face. The Skip N option lets you specify how many faces to skip before placing an object. The Random Faces and Along Edges options randomly distribute the duplicates around the Distribution object. The All Vertices, All Edge Midpoints, and All Face Centers options ignore the Duplicates value (that specifies the number of duplicates) and place a duplicate

at every vertex, edge midpoint, and face. Figure 17-14 shows several of these options.

Figure 17-14: A Scatter object with different distribution options: Area,

Skip N where N=7, Random Faces, All Vertices, and All Face Centers

All the options described thus far place the duplicates on the surface of the object, but the Volume option scatters the duplicates inside the Distribution object’s volume.

Setting Transforms

The Transforms rollout is used to specify the individual transformation limits of the duplicate objects. For example, if the Z-axis value is set to 90, then each new duplicate is randomly rotated about its local Z axis at a distance somewhere between –90 and 90.

Chapter 17 Building Compound Objects 491

You can use these transformations with a Distribution object or by themselves if the Use Transforms Only option is selected under the Scatter Objects rollout. The Use Maximum Range option causes all three axes to adopt the same value. The Lock Aspect Ratio option maintains the relative dimensions of the Source object to ensure uniform scaling.

Speeding updates with a proxy

Working with a large number of duplicates can slow the viewport updates to a crawl. To speed these updates, select the Proxy option in the Display rollout. This option replaces each duplicate with a wedge-shaped object. For example, if you used the Scatter object to place people on a sidewalk, you can use the Proxy option to display simple cylinders in the viewports instead of the details of the person mesh.

Another way to speed the viewport updates is to use the Display spinner. Using this spinner, you can select a percentage of the total number of duplicates to display in the viewport. The rendered image still uses the actual number specified.

The Hide Distribution Object option lets you make the Distribution object visible or invisible. The Seed value is used to determine the randomness of the objects.

Loading and saving presets

With all the various parameters, the Load/Save Presets rollout enables you to Save, Load, or Delete various presets. You can use saved presets with another Source object.

Tutorial: Filling a box with spiders

When I was a kid, my brothers and I always had a terrarium full of snakes, lizards, or spiders. Mom was okay with this as long as we remembered the one key rule: Keep the lid on. Well, kids will be kids, and at times we forgot. Then it was spiders everywhere (and you thought this effect was only good for horror flicks — it also works well on little sisters).

To scatter spiders across the surface of a box, follow these steps:

1.Open the Scatter box of spiders.max file from the Chap 17 directory on the CD-ROM. This file includes a simple box mesh and a spider mesh.

2.With the spider object selected, select the Create Compound Scatter menu command.

3.In the Pick Distribution Object rollout, click the Pick Distribution Object button and click the box object. Select the Move option.

4.In the Source Object Parameters section of the Scatter Objects rollout, enter a value of 60 in the Duplicates field.

5.Select the Perpendicular and Even options in the Distribution Object Parameters section, and watch the spiders spread across the surface of the box.

Figure 17-15 shows the spiders creeping about. Notice that the box and spiders are all part of the same object and have the same object color.

492 Part III Modeling

Figure 17-15: Spiders spread over the box surface using the Scatter object

Tutorial: Creating jungle vines

You can use the Vertex Chaos setting to randomly order the vertices of an object. You can use this randomness to simulate random natural patterns like foliage growing on a pillar. Using the Vertex Chaos value, you can simulate the effect of jungle vines growing thick upon the surface of an object.

To cover an object with jungle vines, follow these steps:

1.Open the Jungle vine.max file from the Chap 17 directory on the CD-ROM.

This file includes a simple cylinder and a small sphere with its object color set to dark green.

2.With the sphere object selected, select the Create Compound Scatter menu command.

3.Click the Pick Distribution Object button, and select the cylinder with the Move option selected.

4.In the Scatter Objects rollout, set the number of Duplicates to 500 and the Vertex Chaos value to 5 (lower the number of Duplicates if necessary).

Figure 17-16 shows the resulting overgrowth.

Chapter 17 Building Compound Objects 493

Figure 17-16: You can use the Scatter object and the Vertex Chaos option to create the look of jungle vines growing on a pillar.

Tutorial: Covering the island with trees

You can combine several different types of compound objects to create interesting effects. In this tutorial, we add trees to the Terrain object island created earlier in this chapter using the Scatter object.

To add trees to the island with the Scatter object, follow these steps:

1.Open the Island terrain with trees.max file from the Chap 17 directory on the CD-ROM.

This file is the same island terrain example that you completed earlier in this chapter, but it also has a simple tree added to it.

2.With the tree object selected, select the Create Compound Scatter menu command.

3.Click the Pick Distribution Object button, and select the island terrain. Set the number of Duplicates to 100, and disable the Perpendicular option.

All the trees now stand upright.

4.Select the Random Faces option.

The trees become denser around the hills where there are more faces.

Figure 17-17 shows the island with the trees.