Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2013-05-17 15:13:46 +0400
committerTon Roosendaal <ton@blender.org>2013-05-17 15:13:46 +0400
commit7b2172cb0b4afaada3f59f90f694847cfc61c43d (patch)
tree439fc1413791498022c04b310deebf78c5689902 /source/blender/render/intern/include/rayintersection.h
parenta4e9edb6743769bd9f8fd3e24bd11fd1878d510a (diff)
3D Viewport rendering (Blender Internal)
Added incremental re-render on view changes. That means all data preprocessing only needs to be done once on view changes, quite faster that way. Also fixed a bug in raytracing strands with soft shadows, was wrongly changing coordinates in a static array. Note: proper signals for re-renders is still on the todo. Many button options don't signal a re-render yet. Work around: press G+ESC for quick full renders.
Diffstat (limited to 'source/blender/render/intern/include/rayintersection.h')
-rw-r--r--source/blender/render/intern/include/rayintersection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/render/intern/include/rayintersection.h b/source/blender/render/intern/include/rayintersection.h
index 4dceae56a4c..3607e66a237 100644
--- a/source/blender/render/intern/include/rayintersection.h
+++ b/source/blender/render/intern/include/rayintersection.h
@@ -64,6 +64,10 @@ typedef struct Isect {
float dir[3];
float dist;
+ /* for envmap and incremental view update renders */
+ float origstart[3];
+ float origdir[3];
+
/* precomputed values to accelerate bounding box intersection */
int bv_index[6];
float idot_axis[3];