Skip to content

Commit 05687a3

Browse files
committed
update docs
1 parent 83cb9e9 commit 05687a3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

plotoptix/enums.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ class Camera(Enum):
326326
"""Fisheye (equisolid) camera with depth of field simulation.
327327
328328
This camera renders a fisheye lens distortion of perspective lines. It
329-
also focuses on a sphere rather than on a plane like ThinLens camera.
329+
also focuses on a sphere rather than on a plane like thin lens camera.
330330
"""
331331

332332
ThinLensChroma = 5
@@ -344,6 +344,14 @@ class Camera(Enum):
344344

345345
CustomProj = 98
346346
"""Custom projection camera.
347+
348+
Ray angles are defined with a 2D texture ``[height, width, 2]`` composed of angles
349+
``[horizontal, vertical]`` w.r.t. the camera axis. Angles should be provided in radians,
350+
and normalized so the value ``1.0`` is corresponding to ``pi``. Negative angles are to
351+
the left (horizontal) and down (vertical) w.r.t. the camera axis.
352+
353+
Exact values from the texture are used if the render size and texture size are the
354+
same. Otherwise ray angles are interpolated.
347355
"""
348356

349357
TexTest = 99

0 commit comments

Comments
 (0)