Deformable volume#

Query target: DEFORMABLE_VOLUME. These are static capabilities; the live session decides which objects and operations are available. See session semantics and write behavior.

Shapes describe tensor dimensions; lanes describe the tuple width, not an extra dimension. Ordering is row-major unless stated otherwise. CPU means host memory; scene device means CPU on CPU/readback scenes or CUDA on DirectGPU; CUDA requires CUDA. Symbolic sizes come from the live group.

Attribute

Access

Meaning

collisionElementIndices

read

collision-mesh connectivity

kinematicTarget

read/write

pending sim-node kinematic target (.w active-flag)

points

read/write

current nodal positions

restPoints

read

rest nodal positions

simElementIndices

read

sim-mesh connectivity

velocities

read/write

nodal velocities

collisionElementIndices#

i32; units: not applicable.

Access

Layout

Memory

Read

array, shape [elements], 4 lanes

CPU

Read: requires Deformable.

kinematicTarget#

f32; units: Kinematic target; frame: sim-mesh-local.

Access

Layout

Memory

Read

array, shape [elements], 4 lanes

scene device

Write

array, shape [elements], 4 lanes

scene device

Read: requires DirectGPU warmup, Deformable, Volume target.

Write: requires DirectGPU warmup, Deformable, Volume target.

Sets input; persists until replaced. Visibility: commit.

points#

f32; units: distance; frame: sim-mesh-local; semantic: point.

Access

Layout

Memory

Read

array, shape [elements], 3 lanes

scene device

Write

array, shape [elements], 3 lanes

scene device

Read: requires DirectGPU warmup, Deformable.

Write: requires DirectGPU warmup, Deformable.

Sets simulation state; then evolves with simulation. Visibility: commit. Preserves: inverse_mass.

restPoints#

f32; units: distance; frame: sim-mesh-local; semantic: point.

Access

Layout

Memory

Read

array, shape [elements], 3 lanes

CPU

Read: requires Deformable.

simElementIndices#

i32; units: not applicable.

Access

Layout

Memory

Read

array, shape [elements], 4 lanes

CPU

Read: requires Deformable.

velocities#

f32; units: distance / sec; frame: world; semantic: vector.

Access

Layout

Memory

Read

array, shape [elements], 3 lanes

scene device

Write

array, shape [elements], 3 lanes

scene device

Read: requires DirectGPU warmup, Deformable.

Write: requires DirectGPU warmup, Deformable.

Sets simulation state; then evolves with simulation. Visibility: commit. Preserves: inverse_mass.

Conditions#

Deformable#

Simulation-node state requires a CUDA context; no corresponding CPU simulation. Read membership follows available simulation meshes.

DirectGPU warmup#

Device-backed DirectGPU state requires a completed first step; a write never warms the simulation automatically.

Volume target#

Volume nodes only; incompatible pre-existing kinematic control is refused, and a pinned node cannot be freed: it keeps its last target and an error is logged. w=0 drives the node; nonzero w leaves it free.