code/VolumeSample geo/PointBuilder geo/VolumeCreate
Documentation / Node reference / geo nodes
geo/VolumeCreate
Converts the input into a volume.
Volume
Voxelizes each mesh into a volume. DENSITY fills the inside, for fog and smoke. DISTANCE stores the distance to the surface, which shows as a surface and reads as an SDF. The mesh should be closed. voxelSize sets the detail.
Parameters
| Name | Type | What it does |
|---|---|---|
| mode | UInt8 DENSITY · DISTANCE | What each voxel holds. |
| voxelSize | Float | Size of one voxel. Smaller keeps more detail. |
| maxResolution | Vector3UInt | Most voxels along each axis. |
| fitWholeShape | Bool | Grow voxel size so the whole mesh fits. |
| padding | UInt32 | Margin around the mesh, in voxels. |
| region | Bool | Voxelize only the part of the mesh inside a box. |
| regionMin | Vector3 | Lower corner of the box. |
| regionMax | Vector3 | Upper corner of the box. |
| setRegionFromInput | Button | Fit the box around the mesh. |
| allocator | UInt8 TEMP · POOL · FLAT_POOL | Memory used while voxelizing. |
Examples
Scenes you can open in the editor that teach this node.
See also
- geo/SDFCreate
- geo/VolumeGradient
- geo/VolumeSmooth
- geo/VolumeTriangulate
- geo/FileVolume
- geo/Fuse
- tex/Volume
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.