#### <sup>[Ollin](../../index.md) → [Examples](../index.md) → 3D</sup>

---

## 3D

| [![Camera](https://media.ollin.art/groups/3D-Camera-640.jpg?v=c76cca23)](camera/index.md) | [![Depth](https://media.ollin.art/groups/3D-Depth-640.jpg?v=9f3a63a8)](depth/index.md) | [![Effects](https://media.ollin.art/groups/3D-Effects-640.jpg?v=44e0d392)](effects/index.md) | [![Environments](https://media.ollin.art/groups/3D-Environments-640.jpg?v=d68774a5)](environments/index.md) |
|---|---|---|---|
| [Camera](camera/index.md) | [Depth](depth/index.md) | [Effects](effects/index.md) | [Environments](environments/index.md) |
| [![Geometry](https://media.ollin.art/groups/3D-Geometry-640.jpg?v=b55c02aa)](geometry/index.md) | [![Lighting](https://media.ollin.art/groups/3D-Lighting-640.jpg?v=c7355c05)](lighting/index.md) | [![Materials](https://media.ollin.art/groups/3D-Materials-640.jpg?v=ce2a007d)](materials/index.md) | [![Physics](https://media.ollin.art/groups/3D-Physics-640.jpg?v=54de510e)](physics/index.md) |
| [Geometry](geometry/index.md) | [Lighting](lighting/index.md) | [Materials](materials/index.md) | [Physics](physics/index.md) |
| [![Raymarching](https://media.ollin.art/groups/3D-Raymarching-640.jpg?v=fb0b045e)](raymarching/index.md) |  |  |  |
| [Raymarching](raymarching/index.md) |  |  |  |

These sketches opt into Ollin's 3D mode. 2D stays the default. A sketch becomes
3D when it sets a `camera` (`perspective`/`ortho`/`camera`). The renderer then
adds a depth buffer and draws 3D geometry through that camera. World space is
right-handed and y-up.

The section is large, so the sketches are grouped by topic, one page each.


| Group | What it covers |
| --- | --- |
| [Geometry](geometry/index.md) | This group covers meshes, point clouds, and the 3D transform stack. (27 sketches) |
| [Physics](physics/index.md) | This group covers bodies inside the scene, rigid and soft: stacks and joints, cloth, rope, and floating. A Jolt-backed `World3D` is stepped each frame (`import OllinPhysics`), and every body is drawn from its pose with `withBody`. See the [3D physics reference](../../docs/simulation/physics3d.md). (22 sketches) |
| [Camera](camera/index.md) | This group covers driving the view: interactive control, cinematic moves, and snaps to inspection views. (3 sketches) |
| [Materials](materials/index.md) | This group covers what surfaces are made of: stylized finishes, physically based metal, glass, subsurface, thin film, and the map set that varies any of them per pixel. (17 sketches) |
| [Lighting](lighting/index.md) | This group covers the light kinds, curated rigs, and cast shadows. (11 sketches) |
| [Environments](environments/index.md) | This group covers image-based lighting, with HDRIs that are bundled, downloaded, loaded from a URL, or synthesized. (6 sketches) |
| [Effects](effects/index.md) | This group covers the scene-wide realism passes over the 3D frame. (13 sketches) |
| [Raymarching](raymarching/index.md) | This group covers the 3D SDF combinators: distance fields that merge, sphere-traced beside the meshes. (17 sketches) |
| [Depth](depth/index.md) | This group covers depth feeds and depth-aware compositing: cameras, recordings, and metric space. (6 sketches) |
| [Phone](phone/index.md) | These sketches read the **Ollin Capture** iPhone app, which streams ARKit perception, and what the phone hears, over USB. (17 sketches) |

See [`Docs/3D/3D.md`](../../docs/3d/3d.md) for the 3D guide. Record3D recordings have their own guide in [`Docs/3D/Record3D.md`](../../docs/3d/record3d.md). The Ollin Capture stream is documented in [`Docs/3D/Phone.md`](../../docs/3d/phone.md).
