diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-05 19:43:01 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-05 19:43:01 +0300 |
commit | 3177c4f69fcb53c2aad744ee951ea60d98a77c86 (patch) | |
tree | 01faa369202dce47cde8bca2f1c0c3c06c8bab0c /source/blender/render/intern/include/render_types.h | |
parent | 246ab11255a4f5a3a2f024ef708b6807a5f63317 (diff) |
Next stage of RenderPipe refactor: now everything within the pixel was
tackled.
Resulting features:
- render passes
- new pass: Object Index, for masking
- sub-sample alpha masks
Docs:
http://mediawiki.blender.org/index.php/BlenderDev/RenderPipeline
http://www.blender3d.org/cms/Render_Passes.829.0.html
http://www.blender3d.org/cms/New_Render_features.774.0.html
Note that these changes might mean things to not render fully identical...
For the next days a lot of testing is needed!
Diffstat (limited to 'source/blender/render/intern/include/render_types.h')
-rw-r--r-- | source/blender/render/intern/include/render_types.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/source/blender/render/intern/include/render_types.h b/source/blender/render/intern/include/render_types.h index 3ac56e73099..77beb446c86 100644 --- a/source/blender/render/intern/include/render_types.h +++ b/source/blender/render/intern/include/render_types.h @@ -253,9 +253,8 @@ typedef struct RadFace { int flag; } RadFace; -typedef struct VlakRen -{ - struct VertRen *v1, *v2, *v3, *v4; +typedef struct VlakRen { + struct VertRen *v1, *v2, *v3, *v4; /* keep in order for ** addressing */ unsigned int lay; float n[3]; struct Material *mat; @@ -290,8 +289,12 @@ struct MTex; * For each lamp in a scene, a LampRen is created. It determines the * properties of a lightsource. */ -typedef struct LampRen -{ + +typedef struct LampShadowSample { + float shadfac[16][4]; /* 16 = RE_MAX_OSA, 4 = rgba */ +} LampShadowSample; + +typedef struct LampRen { float xs, ys, dist; float co[3]; short type, mode; @@ -340,6 +343,10 @@ typedef struct LampRen float mat[3][3]; /* 3x3 part from lampmat x viewmat */ float area[8][3], areasize; + /* passes & node shader support: all shadow info for a pixel */ + /* struct is currently 2k long... check on alloc? */ + LampShadowSample shadsamp[BLENDER_MAX_THREADS]; + /* yafray: photonlight params */ int YF_numphotons, YF_numsearch; short YF_phdepth, YF_useqmc, YF_bufsize; |