Graphics Reference
In-Depth Information
Figure 7-49 Bottle
Because I wanted to start the simulation with the bottle full of fluid, I needed Fluid objects that would fit
nicely inside the bottle. Of course, it would be possible to model some kind of container Fluid object to fit, but
this may be more trouble than it's worth. Instead, I added a single Icosphere, enabled Fluid Simulation with
Fluid for the type, and copied the sphere, resizing and moving the copies around as needed to fill the inside
of the bottle. The resulting collection of Fluid objects is shown in Figure 7-50 . Remember, the fluid volume is
calculated as the Boolean union of all these Icospheres. Alternately, in a simple case like this bottle, you could
also create the Fluid object by selecting internal faces of the Bottle object, duplicating and separating them into
another object, scaling down slightly, and then closing the mesh and recalculating the normals. I prefer the Ico-
spheres approach because it requires no mesh editing at all and enables you to fill even complex spaces easily.
 
 
Search WWH ::




Custom Search