ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/otspecial.h
Revision: 2.2
Committed: Sat Feb 22 02:07:29 2003 UTC (21 years, 2 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 2.1: +58 -4 lines
Log Message:
Changes and check-in for 3.5 release
Includes new source files and modifications not recorded for many years
See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release

File Contents

# User Rev Content
1 greg 2.2 /* RCSid: $Id$ */
2 greg 1.1 /*
3     * Special type flags for objects used in rendering.
4     * Depends on definitions in otypes.h
5 greg 2.2 */
6    
7     /* ====================================================================
8     * The Radiance Software License, Version 1.0
9     *
10     * Copyright (c) 1990 - 2002 The Regents of the University of California,
11     * through Lawrence Berkeley National Laboratory. All rights reserved.
12     *
13     * Redistribution and use in source and binary forms, with or without
14     * modification, are permitted provided that the following conditions
15     * are met:
16     *
17     * 1. Redistributions of source code must retain the above copyright
18     * notice, this list of conditions and the following disclaimer.
19     *
20     * 2. Redistributions in binary form must reproduce the above copyright
21     * notice, this list of conditions and the following disclaimer in
22     * the documentation and/or other materials provided with the
23     * distribution.
24     *
25     * 3. The end-user documentation included with the redistribution,
26     * if any, must include the following acknowledgment:
27     * "This product includes Radiance software
28     * (http://radsite.lbl.gov/)
29     * developed by the Lawrence Berkeley National Laboratory
30     * (http://www.lbl.gov/)."
31     * Alternately, this acknowledgment may appear in the software itself,
32     * if and wherever such third-party acknowledgments normally appear.
33     *
34     * 4. The names "Radiance," "Lawrence Berkeley National Laboratory"
35     * and "The Regents of the University of California" must
36     * not be used to endorse or promote products derived from this
37     * software without prior written permission. For written
38     * permission, please contact [email protected].
39     *
40     * 5. Products derived from this software may not be called "Radiance",
41     * nor may "Radiance" appear in their name, without prior written
42     * permission of Lawrence Berkeley National Laboratory.
43     *
44     * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
45     * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
46     * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
47     * DISCLAIMED. IN NO EVENT SHALL Lawrence Berkeley National Laboratory OR
48     * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
49     * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
50     * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
51     * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
52     * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
53     * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
54     * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
55     * SUCH DAMAGE.
56     * ====================================================================
57     *
58     * This software consists of voluntary contributions made by many
59     * individuals on behalf of Lawrence Berkeley National Laboratory. For more
60     * information on Lawrence Berkeley National Laboratory, please see
61     * <http://www.lbl.gov/>.
62 greg 1.1 */
63    
64     /* flag for materials to ignore during irradiance comp. */
65     #define T_IRR_IGN T_SP1
66    
67     #define irr_ignore(t) (ofun[t].flags & T_IRR_IGN)