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:
authorMatt Ebb <matt@mke3.net>2008-10-23 05:40:49 +0400
committerMatt Ebb <matt@mke3.net>2008-10-23 05:40:49 +0400
commitee1a143947ebfc8fe26cf9083fd41c520db3e86b (patch)
tree3009d5c136c7c67c74f5db9b5ee0dfd637df3078 /source/blender
parent3a347c1cafd864f9cce3ba30df8ec45f70a6cbfd (diff)
more testing code
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/render/intern/source/volumetric.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/render/intern/source/volumetric.c b/source/blender/render/intern/source/volumetric.c
index ff1c1ca7b67..f718dbba703 100644
--- a/source/blender/render/intern/source/volumetric.c
+++ b/source/blender/render/intern/source/volumetric.c
@@ -956,9 +956,11 @@ void vol_precache_objectinstance(Render *re, ObjectInstanceRen *obi, Material *m
}
/* don't bother if the point is not inside the volume mesh */
- if (!point_inside_obi(tree, obi, co))
+ if (!point_inside_obi(tree, obi, co)) {
+ if (G.rt==5) printf("not inside mesh \n");
continue;
-
+ }
+ if (G.rt==5) printf("inside mesh \n");
density = vol_get_density(&shi, co);
vol_get_scattering(&shi, scatter_col, co, stepsize, density);