ALS technical notes: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 674: Line 674:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<implicit-lightmap-tag-color type="vec3d">1.0 1.0 1.0</implicit-lightmap-tag-color>
<implicit-lightmap-tag-color type="vec3d">1.0 1.0 1.0</implicit-lightmap-tag-color>
</syntaxhighlight>
This sets the base color to be tagged, i.e. if the panel labels to be illuminated at night are white, the color needs to be set to white.
<syntaxhighlight lang="xml">
<implicit-lightmap-threshold-low type="float">0.5</implicit-lightmap-threshold-low>
<implicit-lightmap-threshold-low type="float">0.5</implicit-lightmap-threshold-low>
<implicit-lightmap-threshold-high type="float">1.5</implicit-lightmap-threshold-high>
<implicit-lightmap-threshold-high type="float">1.5</implicit-lightmap-threshold-high>
</syntaxhighlight>
The thresholds determine how similar a color may be to the base color in order to be still illuminated. The measure is the Euklidean distance of the color vectors. The lower thresholds determines when illumination will start to fade, the higher threshold at what distance in color space illumination will no longer take place. The thresholds have to be adapted to the specific situation - the technique works best for high-contrast panels (white labels on black background) and may not work at all for low contrast panels.
<syntaxhighlight lang="xml">
<implicit-lightmap-emit-color type="vec3d">1.0 1.0 1.0</implicit-lightmap-emit-color>
<implicit-lightmap-emit-color type="vec3d">1.0 1.0 1.0</implicit-lightmap-emit-color>
</syntaxhighlight>
The emit color specifies at which color the pixel will show if it is tagged (see above) and the implicit lightmap is on (see below) - set this to the color of the backlight.
<syntaxhighlight lang="xml">
<implicit-lightmap-intensity type="float">0.0</implicit-lightmap-intensity>
<implicit-lightmap-intensity type="float">0.0</implicit-lightmap-intensity>
</syntaxhighlight>
</syntaxhighlight>
Finally, the intensity determines how brightly the illuminated pixel will shine.


=== Irradiance maps ===
=== Irradiance maps ===
1,360

edits

Navigation menu