Volumes

Various uses for OpenVDB. Clockwise from top left: Implemented twice with Boolean functions (the cross is made up of simple primitives affected by a Deformer), text with a Reshape Filter and finally with a fluid.

Until now, Cinema 4D almost only focused on an object’s surface for specifications - a polygon object is defined by the coordinate values and its surface points, which define the respective polygons. This is adequate for solid objects but for other objects such as fluids, fog or fire, this approach doesn’t work as well. These objects do not have an easily definable solid surface but a volumetric surface that often changes rapidly. Such effects can be better described as Voxels.

What are Voxels? Simply put, they are three-dimensional pixels. Similar to bitmaps, which are made up of two-dimensional pixels that each contain a color value, Voxels are arranged in a three-dimensional, cube-shaped grid that also contains a value (this can, for example, be the distance from a surface of a volume-generating object (Volume Type Signed Distance Field) (SDF) or, for more complex, imported applications, the temperature or gaseous density of a flame, for example (Volume Type Fog).

At left, a Torus defined by polygons; at right 1 element, respectively, marked. Depending on the definition, the Torus can be filled completely with Voxels as on the right (Fog) or with only Voxel layers near the surface (SDF).
Tip:Per definition, OpenVDB differentiates between active and inactive Voxels (the scene is initially completely filled with inactive Voxels that use no memory; as soon as you create a volume, the respective Voxels will be activated).
This differentiation is not referenced in the following descriptions. When Voxels or Voxel Layers are discussed, it will always be referencing active Voxels.

With the introduction of R20, Cinema 4D can also work with Voxel-defined objects (for this, the Oscar Award-winning open source library OpenVDB was integrated). Voxels can be converted to polygon objects or polygon objects to Voxels at any time.

Note the new topology on the right compared to the original object on the left.

Some tasks (e.g., Boolean operations) can be executed more effectively using Voxels than with polygon objects. This is why the conversion works smoothly in both directions.

The Volume Mesh... command can be used to only modify the polygon topology (remeshing).

Note that modeling with Voxels is very restricted. Very precise modeling is very difficult (the Voxel Size would have to be very small, which in turn requires a lot of computing power). Nevertheless, fully parametric complex shapes can be easily created.

To render Voxels they must be converted to polygon surfaces (see Volume Mesher).

Voxels can be created in the following way in Cinema 4D:

Voxels can, by the way, not only be used for modeling but also to create Volume Vectors. Each Voxel will then contain one vector.

Clear Cached Volumes

If this command is called up, the content of all cache layers in the Volume Builder will be deleted, regardless of whether or not they are activated (reflects what happens if the Delete button is clicked for each Volume Builder). The Volume Builder will then again be calculated live.