Revision: 17189
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17189
Author: broken
Date: 2008-10-23 03:40:49 +0200 (Thu, 23 Oct 2008)
Log Message:
-----------
more testing code
Modified Paths:
--------------
branches/sim_physics/source/blender/render/intern/source/volumetric.c
Modified: branches/sim_physics/source/blender/render/intern/source/volumetric.c
===================================================================
--- branches/sim_physics/source/blender/render/intern/source/volumetric.c
2008-10-23 01:14:30 UTC (rev 17188)
+++ branches/sim_physics/source/blender/render/intern/source/volumetric.c
2008-10-23 01:40:49 UTC (rev 17189)
@@ -956,9 +956,11 @@
}
/* 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);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs