Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Using Open VDB assets with 3Delight for Maya involve using a Maya shape and a shader. The 3Delight Open VDB shape allows specifying what VDB file will be used and positions the VDB volume in the scene. The shading attributes are specified in an assigned volumetric shader, such as the 3Delight Open VDB Shader.


Specifying an Open VDB file

Use the browse button to select a VDB file. If the file is part of a sequence, 3Delight for Maya will detect it and configure the Use File Sequence and Index Range options accordingly. Alternately, type in the Filename text field to specify the Open VDB file to use. Using the text field allows specifying expressions in place of a sequence file number, such as <f>.

...

Once a VDB file has been set, 3Delight for Maya will automatically attempt to select proper Smoke, Temperature, Emission Intensity and Velocity grids. The Velocity Scale attribute will be used as a multiplier over the Velocity grid values.

Using an Open VDB File Sequence

Enabling Use File Sequence will define a sequence of file indices used to replace the number expression in the VDB filename. This allows using a VDB file sequence numbered independently from the scene's current time. The Index Range specifies the first and last indices for the VDB file sequence that will be used. Increment specifies the increment to use when going from one index to the next in the file sequence.

...

When Use File Sequence is turned off, the current frame number will be used to replace a number expression in the VDB file name, such as # or <f>.

Showing the Open VDB volume in the viewport

By default, the VDB volume is drawn as a box in the viewport. It can be drawn as a point cloud by enabling the Draw Points option under Object Display.

Shading the Open VDB Volume

Shading an Open VDB volume is done by the volume shader assigned to the 3Delight Open VDB shape. By default, these shapes are created with a 3Delight Open VDB Shader is assigned to them.

...