Create volumetric field
create_volumetric_fieldBuild a stacked-slice fake-volumetric noise field using Simplex 3D noise and Beer-Lambert accumulation. Supports palettes like smoke, nebula, ember, ice, toxic, and mono.
Instructions
Build a stacked-slice fake-volumetric noise field: smoke, nebula, ember, ice, toxic or mono palettes. Architecture: Simplex 3D noiseTOP → optional displace+blur → cacheTOP (depth = slice_count) → viewer glslTOP (Beer-Lambert accumulation across slices, baked palette) → nullTOP output. NOTE: this is a stacked-2D-slice approximation, NOT a raymarched volume. There is no per-pixel ray traversal or SDF. For a true raymarcher see the planned create_volumetric_raymarch (L-effort follow-up). Cook cost scales roughly linearly with slice_count × resolution. Default 16 slices is the safe sweet spot; drop to 4–8 on integrated GPUs. Returns a summary JSON with container path, created node paths, the output path, exposed controls, any node errors, warnings, and an inline preview image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_path | No | Parent network where the volumetric_field baseCOMP is created. | /project1 |
| name | No | Container name (must start with a letter, alphanumeric + underscore). | volumetric_field |
| density | No | How opaque/milky the field reads (0 = transparent, 1 = fully opaque). Maps to uDensity in the viewer shader. | |
| turbulence | No | Noise evolution speed and swirl amplitude. Drives the displacement weight and noise period. 0 = flat/still field; skips the displace TOP. | |
| color_map | No | Palette baked into the viewer GLSL shader: smoke (grey haze), nebula (purple/magenta), ember (orange/red), ice (blue/cyan), toxic (green), mono (black→white). | smoke |
| slice_count | No | Number of 2D z-slices stacked into the pseudo-volume. Build-time only — changing it rewires the cache stack. Higher = smoother depth but heavier cook (linear cost). Default 16 is the safe sweet spot. | |
| expose_controls | No | Expose Density, Turbulence and ColorMap knobs on the container. |