4
4
* Renderrecipe and scene decription. The fact that there is a
5
5
* hierarchy here is a bit strange, and not desirable.
7
* $Id: DNA_scene_types.h,v 1.25 2004/04/23 21:02:58 ton Exp $
7
* $Id: DNA_scene_types.h,v 1.43 2005/05/27 17:52:52 eeshlo Exp $
9
9
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
115
114
short depth, attrib, rt1, rt2; /* standalone player */
117
116
short stereomode; /* standalone player stereo settings */
118
short dimensionspreset; /* for the dimensions presets menu */
120
123
short size, maximsize; /* size in %, max in Kb */
121
124
/* from buttons: */
209
214
* The gamma for the normal rendering. Used when doing
210
215
* oversampling, to correctly blend subpixels to pixels. */
211
216
float gamma, gauss;
212
/** post-production settings. Don't really belong here */
213
float postmul, postgamma, postadd, postigamma;
217
/** post-production settings. */
218
float postmul, postgamma, postadd, postigamma, posthue, postsat;
220
/* Dither noise intensity */
221
float dither_intensity;
224
float zmin, focus, zgamma, zsigma, zblur;
215
/* yafray: global panel params */
216
short GIquality, GIcache, GImethod, GIgradient,GIphotons,GIdirect;
217
short YF_AA, YFshortpad;
226
/* yafray: global panel params. TODO: move elsewhere */
227
short GIquality, GIcache, GImethod, GIphotons, GIdirect;
228
short YF_AA, YFexportxml, YF_nobump, YF_clamprgb, yfpad1;
218
229
int GIdepth, GIcausdepth, GIpixelspersample;
219
int GIphotoncount,GImixphotons;
230
int GIphotoncount, GImixphotons;
220
231
float GIphotonradius;
221
int YF_numprocs,YF_raydepth, YF_AApasses, YF_AAsamples, YFintpad;
222
float GIshadowquality, GIrefinement, GIpower;
223
float YF_gamma, YF_exposure,YF_raybias, YF_AAthreshold;
232
int YF_numprocs, YF_raydepth, YF_AApasses, YF_AAsamples;
233
float GIshadowquality, GIrefinement, GIpower, GIindirpower;
234
float YF_gamma, YF_exposure, YF_raybias, YF_AApixelsize, YF_AAthreshold;
225
236
char backbuf[160], pic[160], ftype[160];
249
267
struct Group *group;
270
float twcent[3]; /* center for transform widget */
271
float twmin[3], twmax[3]; /* boundbox of selection for transform widget */
252
272
unsigned int lay;
254
/* some realtime vars */
255
struct FreeCamera *fcam; /* old, can be removed (ton) */
275
short selectmode, pad;
276
short proportional, prop_mode;
277
float editbutsize; /* size of normals */
258
280
struct Radio *radio;
360
394
#define RAD_PHASE_PATCHES 1
361
395
#define RAD_PHASE_FACES 2
363
/* base->flag and ob->flag */
366
#define BA_WHERE_UPDATE 8
367
#define BA_DISP_UPDATE 16
369
#define BA_FROMSET 128
370
#define OB_DO_IMAT 256
371
#define OB_FROMDUPLI 512
373
#define OB_RADIO 2048
374
#define OB_FROMGROUP 4096
397
/* base->flag is in DNA_object_types.h */
377
400
#define SCE_ADDSCENAME 1
379
/* return flag next_object function */
402
/* sce->selectmode */
403
#define SCE_SELECT_VERTEX 1
404
#define SCE_SELECT_EDGE 2
405
#define SCE_SELECT_FACE 4
407
/* sce->prop_mode (proportional falloff) */
408
#define PROP_SMOOTH 0
409
#define PROP_SPHERE 1
415
/* return flag next_object function */
380
416
#define F_START 0
381
417
#define F_SCENE 1