~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/makesdna/DNA_lamp_types.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
2
 * blenlib/DNA_lamp_types.h (mar-2001 nzc)
3
3
 *
4
 
 * $Id: DNA_lamp_types.h,v 1.10 2003/12/29 16:52:49 ton Exp $ 
 
4
 * $Id: DNA_lamp_types.h,v 1.14 2005/05/27 17:52:52 eeshlo Exp $ 
5
5
 *
6
6
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
7
7
 *
37
37
#include "DNA_ID.h"
38
38
#include "DNA_scriptlink_types.h"
39
39
 
 
40
#ifndef MAX_MTEX
 
41
#define MAX_MTEX        10
 
42
#endif
 
43
 
40
44
struct MTex;
41
45
struct Ipo;
42
46
 
63
67
        /* texact is for buttons */
64
68
        short texact, shadhalostep;
65
69
        
66
 
        struct MTex *mtex[8];
 
70
        /* yafray: photonlight params */
 
71
        int YF_numphotons, YF_numsearch;
 
72
        short YF_phdepth, YF_useqmc, YF_bufsize, YF_pad;
 
73
        float YF_causticblur, YF_ltradius;
 
74
        /* yafray: glow params */
 
75
        float YF_glowint, YF_glowofs, YF_pad3;
 
76
        short YF_glowtype, YF_pad2;
 
77
        
 
78
        struct MTex *mtex[10];
67
79
        struct Ipo *ipo;
68
80
        
69
81
        ScriptLink scriptlink;
77
89
#define LA_SPOT                 2
78
90
#define LA_HEMI                 3
79
91
#define LA_AREA                 4
 
92
/* yafray: extra lamp type used for caustic photonmap */
 
93
#define LA_YF_PHOTON    5
80
94
 
81
95
/* mode */
82
96
#define LA_SHAD                 1
89
103
#define LA_SQUARE               128
90
104
#define LA_TEXTURE              256
91
105
#define LA_OSATEX               512
92
 
#define LA_DEEP_SHADOW  1024
 
106
#define LA_DEEP_SHADOW  1024
93
107
#define LA_NO_DIFF              2048
94
108
#define LA_NO_SPEC              4096
95
109
#define LA_SHAD_RAY             8192
 
110
/* yafray: lamp shadowbuffer flag, softlight */
 
111
/* Since it is used with LOCAL lamp, can't use LA_SHAD */
 
112
#define LA_YF_SOFT              16384
96
113
 
97
114
/* area shape */
98
115
#define LA_AREA_SQUARE  0