--- ray/doc/ray.html 2020/09/03 15:46:32 1.29 +++ ray/doc/ray.html 2023/12/12 20:25:22 1.37 @@ -1,8 +1,8 @@ - +
@@ -83,7 +83,7 @@ The diagram in Figure 1 shows the flow between program (ovals). The central program is rpict, which produces a picture from a scene description. -Rview is a variation of rpict that computes and displays images +Rvu is a variation of rpict that computes and displays images interactively, and rtrace computes single ray values. Other programs (not shown) connect many of these elements together, such as the executive programs @@ -822,6 +822,8 @@ unless the line integrals consider enclosed geometry. Also, rather than roughness, specular power is used, which has no physical meaning other than larger numbers are equivalent to a smoother surface. + Unlike other material types, total reflectance is the sum of + diffuse and specular colors, and should be adjusted accordingly.
mod ashik2 id 4+ ux uy uz funcfile transform @@ -1459,6 +1461,98 @@ or: A section of text meant to depict a picture, perhaps using a special purpose font such as hexbit4x1.fnt, calls for uniform spacing. Reasonable magnitudes for proportional spacing are between 0.1 (for tightly spaced characters) and 0.3 (for wide spacing). ++ +
+ mod spectrum id + 0 + 0 + 5+ nmA nmB s1 s2 .. sN ++ +
+ The first two real arguments indicate the extrema of the + spectral range in nanometers. + Subsequent real values correspond to multipliers at each wavelength. + The nmA wavelength may be greater or less than nmB, + but they may not be equal, and their ordering matches + the order of the spectral values. + A minimum of 3 values must be given, which would act + more or less the same as a constant RGB multiplier. + As with RGB values, spectral quantities normally range between 0 + and 1 at each wavelength, or average to 1.0 against a standard + sensitivity functions such as V(lambda). + The best results obtain when the spectral range and number + of samples match rendering options, though resampling will handle + any differences, zero-filling wavelenths outside the nmA to nmB + range. + A warning will be issued if the given wavelength range does not + adequately cover the visible spectrum. + +
+ +
+ mod specfile id + 1 datafile + 0 + 0 ++ +
+ As with the spectrum type, rendering wavelengths outside the defined + range will be zero-filled. + Unlike the spectrum type, the file may contain non-uniform samples. + +
+ +
+ mod specfunc id + 2+ sfunc funcfile transform + 0 + 2+ nmA nmB A3 .. ++ +
+ Like the spectrum primitive, the wavelength range is specified + in the first two real arguments, and additional real values are + set in the evaluation context. + This function is fed a wavelenth sample + between nmA and nmB as its only argument, + and it returns the corresponding spectral intensity. +
@@ -1807,7 +1901,7 @@ The details of this process are not important, but directs the use of a scene description.
The Radiance Software License, Version 1.0 -Copyright (c) 1990 - 2014 The Regents of the University of California, +Copyright (c) 1990 - 2021 The Regents of the University of California, through Lawrence Berkeley National Laboratory. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -1945,6 +2039,13 @@ Ecole Polytechnique Federale de Lausanne (EPFL Unive