fullseye

scene_radiance — OPTICS lensrender op

使い方

Radiance along object-space rays hitting a :func:lens_scene -> dict.

ray_origins / ray_dirs are (N, 3) points (mm) and directions (normalised here); wavelengths_um is a number or a list (default the three F, d, C lines). Every ray takes its nearest hit (plane rectangle, sphere, Moller-Trumbore triangle) and the radiance emission + rho(lambda) / pi * (E_ambient + sum_lights E cos(theta_l) * visibility) plus the Blinn-Phong lobe ks (s + 8) / (8 pi) (n . h)^s E cos(theta_l) per light (the normalised Blinn-Phong lobe: its albedo is about ks); the visibility is a shadow ray to the light (zero if anything is in the way, if shadows is on). A ray that hits nothing sees the scene background. illuminant (pairs (nm, value)) is the relative spectral shape that multiplies the lights and the ambient light (1 at 550 nm). A purely Lambertian surface never exceeds E rho / pi (tested to 1e-12). The table has radiance (N, K) in W m^-2 sr^-1 nm^-1, hit (N,), t_mm (N, inf for a miss), object_index (N, -1 for none) and wavelengths_um. NaN rays (lost in the lens) get NaN.

ファミリ共通の入力契約(fail-closed)

optics の全 op は入力を検証してから計算する(黙って通さない):

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(table を入力に取れる)

abcd_matrix · wavefront_stats · sfr_from_edge · paraxial_trace · seidel_coefficients · spot_stats · tolerance_analysis · wavefront_from_opd

同カテゴリ(lensrender)

lens_scene · exit_pupil_samples · trace_sensor_rays · render_scene_through_lens · bokeh_shape · render_ghost_overlay · render_compare_prescriptions


Provenance: lensrender.py — OPTICS operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.