~ubuntu-branches/ubuntu/maverick/blender/maverick

« back to all changes in this revision

Viewing changes to source/blender/render/intern/include/render_types.h

  • Committer: Bazaar Package Importer
  • Author(s): Khashayar Naderehvandi, Khashayar Naderehvandi, Alessio Treglia
  • Date: 2009-01-22 16:53:59 UTC
  • mfrom: (14.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090122165359-v0996tn7fbit64ni
Tags: 2.48a+dfsg-1ubuntu1
[ Khashayar Naderehvandi ]
* Merge from debian experimental (LP: #320045), Ubuntu remaining changes:
  - Add patch correcting header file locations.
  - Add libvorbis-dev and libgsm1-dev to Build-Depends.
  - Use avcodec_decode_audio2() in source/blender/src/hddaudio.c

[ Alessio Treglia ]
* Add missing previous changelog entries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: render_types.h 14853 2008-05-15 19:40:09Z blendix $
 
2
 * $Id: render_types.h 16844 2008-09-30 09:22:11Z unclezeiv $
3
3
 *
4
4
 * ***** BEGIN GPL LICENSE BLOCK *****
5
5
 *
42
42
 
43
43
#include "RE_pipeline.h"
44
44
#include "RE_shader_ext.h"      /* TexResult, ShadeResult, ShadeInput */
 
45
#include "sunsky.h"
 
46
 
 
47
#include "BLO_sys_types.h" // for intptr_t support
45
48
 
46
49
struct Object;
47
50
struct MemArena;
88
91
        int *rectp;                                             /* polygon index table */
89
92
        int *rectz;                                             /* zbuffer */
90
93
        int *rectmask;                                  /* negative zmask */
91
 
        long *rectdaps;                                 /* delta acum buffer for pixel structs */
 
94
        intptr_t *rectdaps;                                     /* delta acum buffer for pixel structs */
92
95
        int *rectbacko;                                 /* object table for backside sss */
93
96
        int *rectbackp;                                 /* polygon index table for backside sss */
94
97
        int *rectbackz;                                 /* zbuffer for backside sss */
95
 
        long *rectall;                                  /* buffer for all faces for sss */
 
98
        intptr_t *rectall;                                      /* buffer for all faces for sss */
96
99
 
97
100
        rcti disprect;                                  /* part coordinates within total picture */
98
101
        int rectx, recty;                               /* the size */
225
228
 
226
229
typedef struct ShadSampleBuf {
227
230
        struct ShadSampleBuf *next, *prev;
228
 
        long *zbuf;
 
231
        intptr_t *zbuf;
229
232
        char *cbuf;
230
233
} ShadSampleBuf;
231
234
 
415
418
        
416
419
        float xs, ys, dist;
417
420
        float co[3];
418
 
        short type, mode;
 
421
        short type;
 
422
        int mode;
419
423
        float r, g, b, k;
 
424
        float shdwr, shdwg, shdwb;
420
425
        float energy, haint;
421
426
        int lay;
422
427
        float spotsi,spotbl;
455
460
        float area_size, area_sizey, area_sizez;
456
461
        float adapt_thresh;
457
462
 
 
463
        /* sun/sky */
 
464
        struct SunSky *sunsky;
 
465
        
458
466
        struct ShadBuf *shb;
459
467
        float *jitter;
460
468
        
499
507
#define R_NEED_TANGENT  32
500
508
#define R_SKIP_MULTIRES 64
501
509
#define R_BAKE_TRACE    128
 
510
#define R_BAKING                256
502
511
 
503
512
/* vlakren->flag (vlak = face in dutch) char!!! */
504
513
#define R_SMOOTH                1