Skip to content

Commit 0cb3e15

Browse files
committed
Improved policy
1 parent 1f3d1f9 commit 0cb3e15

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

index.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,17 +1124,17 @@
11241124
* +-------------------------------------------------+ *
11251125
*******************************************************
11261126

1127-
The intensity of the EDF is controlled by a luminance and a color multiplier. The **`emission_luminance`** parameter controls the luminance the emissive layer would have when **`emission_color`** is set to (1, 1, 1) and in the absence of coat and fuzz. The **`emission_color`** acts as a multiplier, i.e. the HDR emission in the model color space is defined to have a color given by **`emission_color`** * **`emission_luminance`**, thus the resulting luminance may be less than the input parameter, or even zero if the **`emission_color`** is set to (0, 0, 0).
1127+
The intensity of the EDF is controlled by a luminance and a color multiplier. The **`emission_luminance`** parameter controls the luminance the emissive layer would have when **`emission_color`** is set to (1, 1, 1) and in the absence of coat and fuzz. The **`emission_color`** acts as a multiplier, i.e. the HDR emission in the model color space is defined to have a color given by **`emission_color`** * **`emission_luminance`**, thus the resulting luminance may be less than the input parameter, or even zero if the **`emission_color`** is set to (0, 0, 0). Note that the **`emission_color`** components may exceed 1, in order to be able to plug in an HDR texture [^ingamut].
11281128

11291129
Moreover, the overall material luminance may be further reduced in the presence of coat or fuzz, as they can absorb light coming from the emissive layer before it exits the surface. The emission from the top surface should in principle gain a directional dependence due to the combined effects of absorption, total internal reflection (TIR) and multiple bounces in the coat layer, and absorption in the fuzz layer. The combined effect should result mostly in darkening and saturation at grazing angles.
11301130

11311131
Being an intensity, **`emission_luminance`** can be any value greater than or equal to zero. For convenience, we make the soft range $[0, 1000]$, corresponding to the typical range of home appliances.
11321132

11331133

1134-
Emission params | Label | Type | Range | Norm | Default | Description
1135-
-------------------------|-----------|----------|:---------------:|:-------------:|:-------------:|----------------------------------------------
1136-
**`emission_luminance`** | Luminance | `float` | $ [0, \infty) $ | $ [0, 1000] $ | $ 0 $ | Emission luminance, in cd/m^2 (aka. nits)
1137-
**`emission_color`** | Color | `color3` | $ [0, 1]^3 $ | | $ (1, 1, 1) $ | Emission color multiplier
1134+
Emission params | Label | Type | Range | Norm | Default | Description
1135+
-------------------------|-----------|----------|:-----------------:|:-------------:|:-------------:|----------------------------------------------
1136+
**`emission_luminance`** | Luminance | `float` | $ [0, \infty) $ | $ [0, 1000] $ | $ 0 $ | Emission luminance, in cd/m^2 (aka. nits)
1137+
**`emission_color`** | Color | `color3` | $ [0, \infty)^3 $ | | $ (1, 1, 1) $ | Emission color multiplier
11381138

11391139
![](images/emitting_lava.png width=90% align=left) ![](images/emission_under_coat.png width=90% align=right)
11401140
<div class="shifted-caption">
@@ -1605,7 +1605,9 @@
16051605

16061606
[^lerp]: Where $\mathrm{lerp}(a, b, t) \equiv (1 - t) a + tb$.
16071607

1608-
[^ingamut]: Note that we assume that all RGB colors are in-gamut, i.e. have components in the $[0,1]$ range in the
1608+
[^ingamut]: Note that we assume that all RGB colors are in-gamut, and that colors representing albedos have components in the $[0,1]$ range (otherwise RGB renderers do not produce sensible results). The `emission_color` however is the exception which is permitted to have arbitrarily large (positive) components, since it represents an arbitrary luminance.
1609+
1610+
i.e. have components in the $[0,1]$ range in the
16091611
specified color space.
16101612

16111613
[^Jacobian]: Omitting Jacobian factors.

parametrization.md.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
| `fuzz_roughness` | Roughness | `float` | $ [0, 1] $ | | $ 0.5 $ | |
6060
| **Emission** |
6161
| `emission_luminance` | Luminance | `float` | $ [0, \infty) $ | $ [0, 1000] $ | $ 0 $ | nits |
62-
| `emission_color` | Color | `color3` | $ [0, 1]^3 $ | | $ (1, 1, 1) $ | |
62+
| `emission_color` | Color | `color3` | $ [0, \infty)^3 $ | | $ (1, 1, 1) $ | |
6363
| **Thin-film** |
6464
| `thin_film_weight` | Weight | `float` | $ [0, 1] $ | | $ 0 $ | |
6565
| `thin_film_thickness` | Thickness | `float` | $ [0, \infty) $ | $ [0, 1] $ | $ 0.5 $ | $\mathrm{\mu m}$ |

0 commit comments

Comments
 (0)