~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * blenlib/DNA_world_types.h (mar-2001 nzc)
3
 
 *
4
 
 * $Id: DNA_world_types.h 30526 2010-07-20 10:41:08Z campbellbarton $ 
5
 
 *
 
1
/*
6
2
 * ***** BEGIN GPL LICENSE BLOCK *****
7
3
 *
8
4
 * This program is free software; you can redistribute it and/or
28
24
 *
29
25
 * ***** END GPL LICENSE BLOCK *****
30
26
 */
31
 
#ifndef DNA_WORLD_TYPES_H
32
 
#define DNA_WORLD_TYPES_H
33
 
 
 
27
 
 
28
/** \file DNA_world_types.h
 
29
 *  \ingroup DNA
 
30
 */
 
31
 
 
32
#ifndef __DNA_WORLD_TYPES_H__
 
33
#define __DNA_WORLD_TYPES_H__
 
34
 
 
35
#include "DNA_defs.h"
34
36
#include "DNA_ID.h"
35
37
 
36
38
struct AnimData;
 
39
struct bNodeTree;
37
40
struct Ipo;
38
41
struct MTex;
39
42
 
63
66
        /**
64
67
         * Exposure= mult factor. unused now, but maybe back later. Kept in to be upward compat.
65
68
         * New is exp/range control. linfac & logfac are constants... don't belong in
66
 
         * file, but allocating 8 bytes for temp mem isnt useful either.
 
69
         * file, but allocating 8 bytes for temp mem isn't useful either.
67
70
         */
68
71
        float exposure, exp, range;     
69
72
        float linfac, logfac;
95
98
        
96
99
        float misi, miststa, mistdist, misthi;
97
100
        
98
 
        float starr, starg, starb, stark;
 
101
        float starr  DNA_DEPRECATED, starg  DNA_DEPRECATED, starb  DNA_DEPRECATED, stark  DNA_DEPRECATED; /* Deprecated */
99
102
        float starsize, starmindist;
100
103
        float stardist, starcolnoise;
101
104
        
118
121
        float *aosphere, *aotables;
119
122
        
120
123
        
121
 
        struct Ipo *ipo;                        // XXX depreceated... old animation system
 
124
        struct Ipo *ipo  DNA_DEPRECATED;  /* old animation system, deprecated for 2.5 */
122
125
        struct MTex *mtex[18];          /* MAX_MTEX */
123
 
        short pr_texture, pad[3];
 
126
        short pr_texture, use_nodes, pad[2];
124
127
 
125
128
        /* previews */
126
129
        struct PreviewImage *preview;
127
130
 
 
131
        /* nodes */
 
132
        struct bNodeTree *nodetree;     
 
133
 
128
134
} World;
129
135
 
130
136
/* **************** WORLD ********************* */
140
146
/* mode */
141
147
#define WO_MIST                1
142
148
#define WO_STARS               2
143
 
#define WO_DOF                 4
 
149
/*#define WO_DOF                 4*/
144
150
#define WO_ACTIVITY_CULLING        8
145
151
#define WO_ENV_LIGHT              16
146
152
#define WO_DBVT_CULLING           32
176
182
#define TEXCO_ANGMAP    64
177
183
#define TEXCO_H_SPHEREMAP       256
178
184
#define TEXCO_H_TUBEMAP 1024
 
185
#define TEXCO_EQUIRECTMAP 2048
179
186
 
180
187
/* mapto */
181
188
#define WOMAP_BLEND             1
182
189
#define WOMAP_HORIZ             2
183
190
#define WOMAP_ZENUP             4
184
191
#define WOMAP_ZENDOWN   8
185
 
#define WOMAP_MIST              16
 
192
#define WOMAP_MIST              16 /* Deprecated */
186
193
 
187
194
/* flag */
188
195
#define WO_DS_EXPAND    (1<<0)