diff --git a/doc/main.tex b/doc/main.tex index 35846468..a314cbbc 100644 --- a/doc/main.tex +++ b/doc/main.tex @@ -109,7 +109,6 @@ captionpos = b, upquote = true, literate={*}{{\char42}}1 - {-}{{\char45}}1 {\ }{{\copyablespace}}1 } diff --git a/doc/section_emitters.tex b/doc/section_emitters.tex index 99eb1bc2..f4899da9 100644 --- a/doc/section_emitters.tex +++ b/doc/section_emitters.tex @@ -13,3 +13,28 @@ types is shown below: The arrows indicate the directional distribution of light. } \end{figure} +\newpage +Generally, light sources are specified as children of the \code{} element; for instance, +the following snippet instantiates a point light emitter that illuminates a sphere. +\begin{xml} + + + + + + + +\end{xml} +An exception to this are \emph{area lights}, which turn a geometric object into a light source. +These are specified as children of the corresponding \code{} element. +\begin{xml} + + + + + + + +\end{xml} +Note the parameter names used to specify the light source power, which reflect +the different associated physical units.