The intensity of the light is very important when it comes to predictive simulation. It can provide you with extremely useful information about the way you will perceive the scene.
A light source does not necessarily emit light uniformly, the emitted light will be more or less intense :
depending on the position on the light's surface (uniformity),
depending on the angle at which you look at the light (angular profile), and
depending on the wavelength of the light (spectral distribution).
These variations in the intensity define the light EDF (Emittance Distribution Function), they can be measured and can be simulated in Predict Engine.
The definition of a light's intensity on the UVR Light Settings component depends on the light type :
Lights of type "Directional" are perfect models that simulates the light coming from a single direction like an infinitely small point, infinitely far away. The EDF of a Directional Light is defined as follow :
Uniformity : Since the light is infinitely small, it is considered uniform. However, you can define an angular radius for the directional lights in the scene : the radius defines the angular size of the point it comes from in the sky, just like a sun,
Angular Profile : Because the light comes from a single point infinitely far away, it comes in a single direction and it has no angular profile settings,
Spectral Distribution : The spectrum of the light can be defined by the user in different ways, see the Spectrums section. The spectrum defines the irradiance (if the angular size is set to 0) or radiance (if the angular size is > 0) of the light. Its values can be modulated by :
A scaling coefficient,
An illuminance (if the angular size is set to 0) or luminance (if the angular size is > 0) value : in this case, the coefficient applied to the spectrum is automatically computed so that the illuminance/luminance of the light reaches the required value,
A preset value.
You can find other orders of magnitude for the expected illuminance values here : https://en.wikipedia.org/wiki/Orders_of_magnitude_%28illuminance%29.
There can only be one sun in the sky at a time in Predict Engine. The lights that are considered to be suns are : directional lights with a non-null radius, and environment lights. If an environment light is defined on the camera currently rendering, all directional lights in the scene will be considered as perfect : their radius will be ignored.
Luminaire lights are defined by their intensity profile. They can be of any form.
A uniform light emits light with a constant intensity and the same spectrum across the surface. The EDF of a Uniform Light is defined as follow :
Uniformity : The light is uniform, its intensity is the same at every position on the surface,
Angular Profile : The angular profile of the light is a model configured so that the intensity is constant,
Spectral Distribution : The spectrum of the light can be defined by the user in different ways, see the Spectrums section. Its values can be modulated by :
A scaling coefficient,
A power value : in this case, the coefficient applied to the spectrum is automatically computed so that the power of the light reaches the required value,
A preset value.
You can find other orders of magnitude for the expected power values here : https://en.wikipedia.org/wiki/Lumen_%28unit%29.
The uniform light model is mainly designed to mimic the behaviour of spherical lights. To model planar light sources, please look into lambertian lights.
A lambertian light emits light with a constant luminance and the same spectrum across the surface. The EDF of a Lambertian Light is defined as follow :
Uniformity : The light is uniform, its intensity is the same at every position on the surface,
Angular Profile : The angular profile of the light is a model configured so that the luminance is constant, which mean the intensity is defined with a cosine profile,
Spectral Distribution : The spectrum of the light can be defined by the user in different ways, see the Spectrums section. Its values can be modulated by :
A scaling coefficient,
A power value : in this case, the coefficient applied to the spectrum is automatically computed so that the power of the light reaches the required value,
A preset value.
You can find other orders of magnitude for the expected power values here : https://en.wikipedia.org/wiki/Lumen_%28unit%29.
The lambertian light model is mainly designed to mimic the behaviour of planar lights. To model spherical light sources, please look into uniform lights.
A radiometric light is entirely defined by a single measure. The EDF of a Radiometric Light is defined as follow :
Uniformity : The light is uniform, its intensity is the same at every position on the surface,
Angular Profile : The angular profile of the light is measured, it is contained in the same texture that contains the Spectral Distribution,
Spectral Distribution : The spectrum of the light is measured, it is contained in a texture. The values within this file can define either the intensity (in W/sr/nm) or the luminance (in W/sr/m²/nm) of the source, this should be specified in the "Input Quantity" field. The measure is spectral, see the Spectrums section for more details on spectral images. The image is parametrised according to an equi-rectangular (or panoramic) projection of the sphere with the top and bottom rows corresponding to an inclination of 0 and 180 degrees respectively. The left column corresponds to an azimuth of 0 degrees. The values within the texture can be modulated by :
A scaling coefficient,
A power (if the values define the intensity) or luminance (if the values define the lumiance) value : in this case, the coefficient applied to the spectrum is automatically computed so that the power/luminance of the light reaches the required value,
A preset value.
You can find other orders of magnitude for the expected power values here : https://en.wikipedia.org/wiki/Lumen_%28unit%29.
A photometric light is similar to a radiometric light but its emitted spectrum is not stored with the angular profile measure. The EDF of a Photometric Light is defined as follow :
Uniformity : The light is uniform, its intensity is the same at every position on the surface,
Angular Profile : The angular profile of the light is measured, it is contained in an IES file. The values within this file should be in candela (cd). A preview of the IES file content is displayed bellow the "IES File" field, it gives you information on the content of the measure :
The measure is displayed in the lower emission hemisphere. If the measure contains values in the upper hemisphere as well, it will be displayed accordingly,
The curves represent the intensity of the light in two perpendicular planes (0° and 90°, the reference 0° being given inside the file content),
When the measure contains data in a very large range, you can display the curves using a log scale,
Additional data about the measure (type, luminance, geometry) is displayed on the left if the window is wide enough.
Spectral Distribution : The spectrum of the light can be defined by the user in different ways, see the Spectrums section. Its values can be modulated by :
A scaling coefficient,
A power value : in this case, the coefficient applied to the spectrum is automatically computed so that the power of the light reaches the required value,
A preset value.
Example use case of an IES : the front light of a vehicle
IES lights can be previewed in the Unity Scene view using Gizmos :
Gizmos are enabled by clicking on the "Gizmos" button in the top right corner,
The gizmo is visible if the IES light GameObject is active in the scene and the "UVRLightComponent" line is enabled in the Gizmos menu,
The gizmo size is controlled by the "Gizmo Size" field in the IES light intensity section, the "Log Scale" toggle also affects the gizmo.
You can find other orders of magnitude for the expected power values here : https://en.wikipedia.org/wiki/Lumen_%28unit%29.
The *.ies file also defines a geometry associated with the light. You can load this geometry with the “Load IES Geometry” button. The geometry will be added to the light’s GameObject. The geometry dimension will be defined depending on the current scene scale.
The supported types for IES files are type A and type C only, type B is not supported yet.
If you need support for other formats like LDT or CIB, please contact us or use a third party converter.
Display lights represent displays of any kind (Screen, HUD, ...) and are defined by their luminance profile. They are expected to be planar.
A uniform display is similar to a uniform light except it is defined by its luminance profile instead of its intensity profile. It emits light with a constant luminance and the same spectrum across the surface. The EDF of a Uniform Display is defined as follow :
Uniformity : The light is uniform, its luminance is the same at every position on the surface,
Angular Profile : The angular profile of the light is a model configured so that the luminance is constant,
Spectral Distribution : The spectrum of the light can be defined by the user in different ways, see the Spectrums section. Its values can be modulated by :
A scaling coefficient,
A luminance or radiance value : in this case, the coefficient applied to the spectrum is automatically computed so that the luminance/radiance of the light reaches the required value,
A preset value.
You can find other orders of magnitude for the expected luminance values here : https://en.wikipedia.org/wiki/Orders_of_magnitude_%28luminance%29.
A display (or HUD screen) is an emitting rectangular surface made of pixels. Each pixel can emit a different colour but they all have the same angular and spectral behaviour. The EDF of a RGB Display is defined as follow :
Uniformity : The light is not uniform, its intensity is modulated by a custom texture that defines the levels of the R,G,B channels of each pixel. The position of the texture on the surface is defined by the geometry’s UVs. The gamma defines the space the texture is encoded in, usually 2.2,
Angular Profile : The angular profile of the light is a model configured so that the luminance is constant,
Spectral Distribution : The spectral distribution of the light can be defined by the user,
Each red, green and blue channel emits light with a given spectrum that is defined separately, see the Spectrums section. The light emitted by a pixel will be the combination of all three channels modulated by their intensity in the texture for this pixel. These curves define the gamut of the screen, their default values define the sRGB-D65 gamut,
The values of each pixel (combination of all three channels) can be modulated by :
A scaling coefficient,
A luminance or radiance value : in this case, the coefficient applied to the spectrum is automatically computed so that the luminance/radiance of the light reaches the required value for a white pixel,
A preset value.
The texture displayed on the screen should be encoded with an sRGB gamma.
A display (or HUD screen) is an emitting rectangular surface made of pixels. Each pixel can emit a different colour but they all have the same angular profile and spectral distribution. Apart from the texture displayed on the screen, measured displays are entirely measured. The EDF of a Measured Display is defined as follow :
Uniformity : The light is not uniform, its intensity is modulated by a custom texture that defines the levels of the R,G,B channels of each pixel. The position of the texture on the surface is defined by the geometry’s UVs. The gamma defines the space the texture is encoded in, usually 2.2,
Angular Profile : The angular profile of the light is measured, it is stored in the same file that contains the Spectral Distribution,
Spectral Distribution : The spectral distribution of the light is measured. The measure is stored in a file that contains values in W/m²/sr/nm and can be modulated with a coefficient. Currently, Predict Engine only supports one type of measured display :
The measurement of a display is performed using ELDIM EZConstrast MS88 and consists in measuring the emitted angular spectral radiance for each red, blue and green channels at nine pixel levels : 0, 31, 63, 95, 127, 159, 191, 223, 255. Each measurement should be exported from the ELDIM proprietary format (.i3dx) to the ELDIM binary data format (.dat).
The final measure should be composed of three directories (“blue”, “green”, and “red”) each containing the set of measurements for the corresponding pixel channel. You can give the three directories separately, or give one main directory that contains the three directories.
One set of measurement is composed of nine *.dat files, one for each pixel level of the given channel. Files are read in lexicographic order so we recommend to add trailing zeros in the file name, for instance : red031.dat for pixel level 31 of the red channel.
Example use case of a measured display inside a vehicle
Example use case of a measured display inside a plane cockpit
Example use case of a measured display inside a plane cabin : the angular variations of the intensity of the screen is very visible on the right
Measured displays are big sets of data, they can take some time to load. You can enable an option in the performance settings of Predict Engine to load measured displays faster but with some imprecisions.
If you have display data in a different format, please contact us.