previous index next
To have more direct control over the shape of the internal structures, the user can provide additional meshes and specify how they are combined to create the final volume.

In this example, we use the precedence construct to first define the material of the almond, and then define the candy in the unused space around the almond. Things get interesting when the meshes intersect. In the lower image, a larger rotated almond shape protrudes from the candy.

However, the user might have meant for the outer layers to be wrapped around the almond as well. To do this we add layers to an intermediate shape.