Skip to content

Camera and Optics

Brian Wandell edited this page Aug 22, 2026 · 2 revisions

Camera and Optics

A recipe's camera can be a pinhole (no lens, returns a scene) or a lens model such as omni/realistic (returns an oi, an optical image) — see Recipe Workflow for that distinction. For the full API — piCameraCreate, camera subtypes, attaching a lens file, focus and accommodation, film size and resolution, motion, microlens arrays — see the iset3d-camera-and-optics skill in the ISET3D repository. For the lens ray-tracing internals (paraxial optics, MTF, PSF), see iset3d-lens-toolbox.

Tutorials

Start here:

Going deeper:

Manual run (marked % SkipFile — excluded from the automated tutorial smoke test as too slow or interactive for routine runs, but still useful):

  • t_cameraMotion.m — camera motion blur, multiple renders.
  • t_filmResize.m — how film/camera sampling settings affect field of view and image shape.
  • t_lensMTF.m — lens MTF validation; a remote-rendering workflow, run when Docker/PBRT with a remote host is available.

Clone this wiki locally