Double-Freeform Lens Design for Angular-Spatial Control of Light Fields

Yuou Sun, Bailin Deng, Juyong ZhangarXiv 2026

TL;DR

This paper introduces a novel method for designing a single, compact lens with two freeform surfaces that can simultaneously control both where light goes (spatial distribution) and the direction it travels (angular distribution). By optimizing the lens to project two distinct, user-defined irradiance patterns onto two separate target planes, the framework eliminates the need for bulky, expensive multi-lens setups or spatial light modulators.

What Problem Does This Paper Address?

In optical engineering and computational illumination, controlling light usually means managing two things: spatial distribution (creating a specific pattern or image on a surface) and angular distribution (controlling the direction of the light rays, such as keeping them collimated or steering them at specific angles).

Achieving both simultaneously is a notorious challenge. Standard freeform lenses are typically designed to map light onto a single target plane, leaving the outgoing ray directions unconstrained. To control both aspects, engineers traditionally have to stack multiple optical components—like microlens arrays, diffractive elements, or cascaded spatial light modulators. These multi-stage systems are plagued by alignment difficulties, increased optical path lengths, high fabrication costs, and overall system complexity.

The authors tackle this problem by asking: Can we achieve full angular-spatial control using just a single lens element with two optimized freeform surfaces?

Methods

The authors propose a double-freeform lens design framework formulated as an optimization problem over two distinct receptive planes, $A$ and $B$.

Overview of the forward light-transport model, mapping light from the incident surface to two separate receptive planes.

The pipeline consists of three main pillars:

  1. Forward Light-Transport Model: The incident and exit surfaces of the lens are discretized into triangular meshes with a bijective (one-to-one) vertex correspondence. Instead of performing computationally expensive explicit ray tracing at every optimization step, the model assumes an internal ray path connecting corresponding vertices. Snell's law is then applied at the exit surface to calculate the final ray trajectories intersecting planes $A$ and $B$.
  2. Optimal Transport (OT) Preprocessing: To guide the highly non-convex optimization away from poor local minima, the authors use discrete Optimal Transport as a preprocessing step. They solve two independent OT problems from a uniform source to the target images on planes $A$ and $B$. This establishes a smooth, geometrically regular "target light field" that tells individual rays exactly where they should land.
  3. Joint Surface Optimization: The lens geometries are optimized using the L-BFGS algorithm based on a multi-term objective function:
  4. Ray-target consistency & alignment: Minimizes the distance between actual rays and the OT-derived target paths.
  5. Snell-consistent integrability: Enforces that the optimized vertex normals form physically realizable, continuous surfaces.
  6. Mass consistency: Ensures the projected areas of the mesh triangles don't distort wildly, maintaining consistency with the initial uniform light source.
  7. Geometric barrier: Prevents triangles from flipping or degenerating.

To ensure stability, the optimization follows a coarse-to-fine strategy, capturing the global lens shape on a low-resolution mesh before refining finer surface details.

Datasets

No machine learning datasets were used in this work. Instead, the method was evaluated using several custom-designed target image pairs at $256 \times 256$ resolution, representing various levels of contrast and geometric complexity (e.g., transforming the text "OPTICS EXPRESS" into "LIGHT CONTROL", or a text string into a high-contrast butterfly image).

Key Insights and Ideas

  • The Dual-Plane Constraint Trick: By forcing the lens to satisfy specific irradiance patterns on two separate planes, the angular distribution of the light field between those planes is implicitly and rigidly defined.
  • OT as a Geometric Regularizer: Purely rendering-driven optimization often fails because the optimizer gets lost trying to figure out how to globally reallocate light energy. Using Optimal Transport beforehand provides a "structured prior" that minimizes ray crossing and large rearrangements, leading to physically smoother lens surfaces.
  • Optical Reversibility: Because the system accurately models the underlying physics, a lens optimized to transform a uniform beam into a Gaussian distribution can be used in reverse to perfectly transform a Gaussian beam back into a uniform collimated beam without any re-optimization.

Key Results

The framework was validated using both the authors' internal differentiable rendering model and LuxCoreRender, a physically accurate, industry-standard ray-tracing engine.

Comparison between the target images, the authors' rendering model, and the physically accurate LuxCoreRender simulation.
  • High Fidelity: The optimized lenses successfully generated distinct, high-contrast images on both target planes. Quantitatively, the Mean Absolute Error (MAE) between the simulated results and the target images was remarkably low, hovering between 0.006 and 0.009.
  • Versatility: The authors successfully extended the method from collimated (parallel) light beams to point-source settings (e.g., spherical wavefronts from a single LED), demonstrating its applicability to real-world illumination systems.

Limitations and Future Work

While highly effective, the method has a few limitations:

  • Plane Placement Sensitivity: The positioning of the target planes is highly pattern-dependent. Receptive plane $A$ must be placed relatively close to the exit surface of the lens; if it is too far away, the backward ray-tracing math breaks down, causing triangle flipping and making optimization infeasible.
  • Monochromatic Assumption: The current formulation assumes a single wavelength of light and does not account for chromatic aberration.

For future work, the authors plan to extend this methodology to handle wavelength-dependent (color) and polarization-sensitive designs, as well as exploring machine-learning-assisted optimization to speed up the computation time (which currently takes about an hour per lens).

Summary updated

BibTeX
@misc{sun2026double,
  author = {Yuou Sun and Bailin Deng and Juyong Zhang},
  title = {{Double-Freeform Lens Design for Angular-Spatial Control of Light Fields}},
  year = {2026},
  eprint = {2604.00831},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.00831},
}
Figure