X Tutup
Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

Volume

The Volume module allows to import and edit OpenVDB data.

Classic API:

  • c4d.VolumeObject: A volume in a scene.
  • c4d.VolumeBuilder: A scene object (a generator) used to create volumes.

Maxon API:

  • maxon.frameworks.volume: The main module to handle c4d.VolumeObject directly.
  • maxon.VolumeToolsInterface: Helper interface to handle volumes.
  • maxon.GridAccessorInterface: Interface to iterate volumes.

Examples

gridaccessor_read

Reads the Float value of the first channel available from a Volume stored in a Volume Builder.

gridaccessor_write

Creates a volume from scratch and assign values to voxels.

volumebuilder_access_volume

Retrieves a volume object from a volume builder.

volumebuilder_add_object

Creates a volume builder and adds a cube object to it. Configures cube's object settings.

volumebuilder_create

Creates a volume builder and inserts it into the active document.

volumebuilder_loops_inputs

Iterates over all input of a Volume Builder.

volumecommand_create_sphere_volume

Creates a sphere volume with the corresponding command.

volumecommand_spline_to_volume

Creates a volume from the selected spline object.

volumeinterface_create_from_vdb

Asks for a VDB file to load into a VolumeRef (a VolumeInterface Reference).
Insert this VolumeRef into a VolumeObject.
Inserts this VolumeObject into the current scene.

volumetools_bool_2_mesh

Converts a Polygon Object to a Volume.
Does a boolean operation over two Volume objects.
Converts the resulting volume into a Polygon Object.

volumetools_convert_vector_to_fog

Creates a vector volume from scratch.
Converts this vector volume to a fog volume.
Inserts this fog volume as a child of a volume mesher.

volumetools_create_curl

Creates a new vector volume object with a curl filter applied from an existing Volume Builder set as vector mode.

volumetools_create_gradient_sphere

Creates a Spherical Volume filled with gradient data.

volumetools_export_mesh_to_vdb

Converts a Polygon Object to a Volume and save this volume to a VDB File.
Save a VDB file.

volumetools_import_vdb

Loads a VDB file to a c4d.VolumeObject.

volumetools_meshtovolume_volumetomesh

Converts a Polygon Object to a Volume and convert it back to a Polygon Object.

volumetools_mix_2_mesh

Converts a Polygon Object to a FOG Volume.
Does a mix operation over two FOG Volume objects.
Converts the resulting FOG volume into a Polygon Object.

volumetools_mix_vector_volumes

Creates 2 vector volume from scratch.
Mixes both vector volumes with a cross product to produce a third vector volume.
Inserts all 3 volumes into the scene.
X Tutup