ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/bsdf.h
(Generate patch)

Comparing ray/src/common/bsdf.h (file contents):
Revision 2.6 by greg, Sat Feb 19 01:48:59 2011 UTC vs.
Revision 2.8 by greg, Mon Feb 21 22:50:37 2011 UTC

# Line 9 | Line 9
9   *      in the surface plane pointed to the right as seen from the front.
10   *      This means the Y-axis is "up" and the Z-axis is the surface normal.
11   *
12 + *  Note that we reverse the identification of "front" and "back" from
13 + *      the conventions used in WINDOW 6.  "Front" in our library points
14 + *      in the +Z direction, towards the interior of the space rather
15 + *      than the exterior.
16 + *
17   *  BSDF vectors always oriented away from surface, even when "incident."
18   *
19   *  Created by Greg Ward on 1/10/11.
# Line 40 | Line 45 | extern "C" {
45   #define SDsampAll       0xF             /* include everything */
46  
47   /* Projected solid angle query flags fos SDsizeBSDF() */
48 < #define SDqueryInc      0x1             /* query incoming vector */
49 < #define SDqueryOut      0x2             /* query outgoing vector */
50 < #define SDqueryMin      0x4             /* query minimum proj. solid angle */
46 < #define SDqueryMax      0x8             /* query maximum proj. solid angle */
48 > #define SDqueryVal      0x0             /* query single value */
49 > #define SDqueryMin      0x1             /* query minimum proj. solid angle */
50 > #define SDqueryMax      0x2             /* query maximum proj. solid angle */
51  
52   /* Error codes: normal return, out of memory, file i/o, file format, bad argument,
53                   bad data, unsupported feature, internal error, unknown error */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines