The following procedure helps you create a Physical Camera to simulate a lens
system.
To create a Physical Camera:
Prerequisites:
You must have exported a Speos Light Box containing a lens system following specific rules.
You must have created an Irradiance sensor following specific rules.
Make sure the Physical Camera is in the ambient material. That is to say, avoid including the
Physical Camera in a volumic body.
From the Light Simulation tab, click System > Physical Camera .
Define the Axis System of the Physical Camera in the 3D view by clicking
to select one point for the origin,
to select a line for the X axis,
to select a line for the Y axis or click and select a coordinate
system to autofill the Axis System.
The Axis System is only used to position the optical system included in the Light Box.
Important: Make sure the sensor is not tangent to
a geometry.
Note: If you define manually one axis only, the other axis is
automatically (and randomly) calculated by Speos in the 3D view. However, the other axis in the
Definition panel may not correspond to the axis in the 3D view. Please refer to the axis in the 3D
view.
If you need to adjust the axes orientation, use Reverse direction on one
or both axes.
In the Light Box section, browse and select a *.speoslightbox that
contains all the geometries of a lens system.
In the General section:
Define the Number of sequences to be provided in the *.xmp
result.
Number of Sequences determines the number of sequences to play and provide
into the *.xmp result file.
Number of Sequences is useful only if you add a sequence file as input of the
Physical Camera.
In the Sequence file field, you can add or not a Sequence file.
Note: When an *.OPTSequence file is used in a Physical Camera, every generated simulation
result filename (*.xmp, *.lpf, etc.) is suffixed with "_sequential".
In the Meshing section, select the Ray tracer
precision algorithm to be used by the propagation engine of the Physical Camera:
The Ray tracer precision is dedicated to calculate the intersections between rays and the
geometries contained in the Light Box used in the Physical Camera.
Select Single
The Single Precision mode allows you to use a fast ray tracing technique that provides a
standard level of precision.
Select Double
The Double Precision mode uses Smart Engine, a
ray tracing technique that provides a high level of precision.
In the Preview section, with Display mode, select
how should the Physical Camera be displayed in the 3D view.
In the 3D view, click to compute the
Physical Camera.
The Physical Camera is created and visible in Speos tree and in the 3D
view.