ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/ray.1
(Generate patch)

Comparing ray/doc/ray.1 (file contents):
Revision 1.41 by greg, Wed Nov 15 18:28:09 2023 UTC vs.
Revision 1.45 by greg, Tue Dec 12 20:25:22 2023 UTC

# Line 1207 | Line 1207 | mod spectrum id
1207   0
1208   5+ nmA nmB s1 s2 .. sN
1209   .DE
1210 < The first two real arguments indicate the limits of the covered
1210 > The first two real arguments indicate the extrema of the
1211   spectral range in nanometers.
1212 < Subsequent real values correspond to multipliers in each wavelength band,
1213 < where the first band goes from nmA to nmA+(nmB-nmA)/N, and N is the
1214 < number of bands (i.e., the number of real arguments minus 2).
1215 < The nmA wavelength may be greater or less than the nmB wavelength,
1216 < but they may not be equal, and their ordering must correspond to
1217 < the ordering of the spectral values.
1212 > Subsequent real values correspond to multipliers at each wavelength.
1213 > The nmA wavelength may be greater or less than nmB,
1214 > but they may not be equal, and their ordering matches
1215 > the order of the spectral values.
1216   A minimum of 3 values must be given, which would act
1217   more or less the same as a constant RGB multiplier.
1218   As with RGB values, spectral quantities normally range between 0
# Line 1251 | Line 1249 | The specfunc primitive offers dynamic control over a s
1249   pattern, similar to the colorfunc type.
1250   .DS
1251   mod specfunc id
1252 < 2+ sval funcfile transform
1252 > 2+ sfunc funcfile transform
1253   0
1254   2+ nmA nmB A3 ..
1255   .DE
1256   Like the spectrum primitive, the wavelength range is specified
1257   in the first two real arguments, and additional real values are
1258 < accessible to the sval function.
1258 > set in the evaluation context.
1259   This function is fed a wavelenth sample
1260   between nmA and nmB as its only argument,
1261   and it returns the corresponding spectral intensity.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines