Glossary

The words this guide uses with a meaning of its own, each with the page that explains it.

bounding box

The axis-aligned box a shape lies in. Compositions work out theirs from their operands’; a function with none gets an estimated one. See Geometry as a function.

branching factor

K, the number of children of a BVH’s interior nodes. See Branching factor and SIMD width.

BVH

A bounding volume hierarchy: a tree of boxes over primitives, which lets a query skip whatever is far away. See Bounding volume hierarchies.

BVH union

A union of many objects through a BVH, so that a query visits only the objects near it. See BVH-accelerated unions.

complete

A domain is complete when every piece of surface it touches is in a surface group. See Regions, materials and domains.

connected component

A connected part of space all in one region, or one subdomain or material: a region can be in several (two balls apart, a cavity sealed in a shell). Found at a resolution. See Regions, materials and domains.

coupling

Two domains joined where they share something: a subdomain each holding the same regions, or a surface group each holding the same surfaces. See Domains and couplings.

deciding leaf

The leaf a composition’s value at a point is taken from: the part of the object whose surface the value comes from, which need not be the nearest primitive. See Leaves, surfaces and labels.

distance quality

How far a value can be trusted as a distance: Exact, a Bound (never more than the distance), or NotADistance (only the sign). See Geometry as a function.

domain

What one computation runs on: its subdomains and its surface groups. See Regions, materials and domains.

excluded

The regions in none of a domain’s subdomains, where the domain does not compute (Domain<T>::Excluded, what subdomainAt() gives there).

expression

A composition described as a tree of shapes and operations (Expr), before it is compiled. See Geometries.

face id

A mesh face’s position in the file it was read from, which the mesh distance functions report for the closest face. See Face ids.

fused composition

A composition whose structure is fixed when the program is compiled, each operation a type: compiled code instead of a program to interpret. See Constructive solid geometry.

implicit function

A function of a point whose sign says inside (negative) or outside (positive), and whose magnitude may mean anything. Every signed distance is one. See Geometry as a function.

leaf

One occurrence of a primitive in an expression, numbered in the order the expression is written. See Leaves, surfaces and labels.

marching

Finding where a ray crosses a surface by stepping along it, by the value where it is a distance (sphere tracing). See Sphere tracing.

material

What a region is made of, a name (MaterialLabel(), MaterialLabelId). Two regions of the same material are still two regions. See Regions, materials and domains.

mirror

A copy of a frozen pool in other memory, such as a GPU’s; rebasedView() gives a pool handle that reads the mirror. See Memory model.

model

A .ebg file and the files it includes, read together; its geometry is its object. See Writing a model.

outside

The region beyond every operand of an overlay, region 0; also called the background.

overlay

A composition of regions: each operand is a region, later ones on top where they overlap. See Regions, materials and domains.

param

A value of a model that can be changed from outside it, without editing the file. See Writing a model.

part

A piece of one shape’s own surface that the shape tells apart: a box’s six faces, a cylinder’s side and caps, a mesh’s faces. Parts belong to the shape, not to the composition. See Parts: a face of a shape.

piece

A shape’s surface between two given regions: the unit a domain assigns conditions to, and what a click in the viewer picks. See Regions, materials and domains.

pool

The block of memory a structure’s arrays live in, copied to a GPU in one piece. See Memory model.

pool handle

A structure holding offsets into a pool rather than pointers (a mesh distance function, a BVH, a tape): cheap to copy, and valid as long as its pool lives. See Memory model.

primitive

A shape that is not built of other shapes in a composition: an analytic shape, a mesh distance function, a cloud. In a tape, each occurrence of a primitive is a leaf.

properties

The keys and values a material, subdomain, surface group or coupling carries in a model, whose meaning is the program’s. See Domains and couplings.

ray form

A shape’s exact intersection with a ray. A shape without one is marched. See Exact ray tracing.

region

One part of an object made of several, the part of an overlay’s operand not covered by later operands. Regions tile the object; every point is in exactly one. See Regions, materials and domains.

region group

An overlay used as a region of another overlay: its regions, named together.

role

What a surface is to a domain at a point: a boundary (one side in the domain), an interface (a different subdomain on each side), internal (two regions of one subdomain), or none. See Regions, materials and domains.

selector

A condition on what a surface is (its label, the regions or materials on its sides, a piece), which puts the surfaces it holds in a surface group. See Regions and domains.

setup

A model file that includes a geometry and adds what is computed on it: materials, domains, couplings, the view. One geometry can have several setups. See Writing a model.

shape

Anything with a signed value at a point and a bounding box: an analytic shape, a mesh distance function, a cloud, a composition, or a type of your own. Shapes compose, ray trace, render and run on a GPU. See Geometry as a function.

signed distance

A function of a point: the distance to an object’s surface, negative inside, positive outside, zero on the surface. See Geometry as a function.

span

A stretch of a ray inside a shape, from where it enters to where it leaves; compositions are traced from their parts’ spans. See Exact ray tracing.

subdomain

A set of regions a domain computes in. See Regions, materials and domains.

surface

In a scene, one numbered surface: a leaf, or one member of a collection (a sphere of a cloud, an object of a BVH union). See Leaves, surfaces and labels.

surface group

A set of surfaces a domain gives one condition (an inlet, a wall), chosen by selectors. See Regions, materials and domains.

surface label

A name given to a surface, or to each of a shape’s parts, so that conditions can be attached to it by name (SurfaceLabel(), SurfaceLabelId). See Leaves, surfaces and labels.

tape

An expression compiled into a flat program that runs on the host and on a GPU, with one array per kind of primitive. See The tape.

tape feature

Code a tape compiles only when its type lists it, such as exact offsets. See Tape features.

triangle group

W triangles stored together, coordinate by coordinate, so that one SIMD instruction handles all of them; W is the group’s width. See Triangles in SIMD blocks.

view block

The part of a model that says how a viewer opens it (its camera and colors); programs ignore it. See The view block.