*Ray counters (number of BB/primitive tests/hits and other raytrace counters) can...
authorAndre Susano Pinto <andresusanopinto@gmail.com>
Sun, 13 Sep 2009 20:59:25 +0000 (20:59 +0000)
committerAndre Susano Pinto <andresusanopinto@gmail.com>
Sun, 13 Sep 2009 20:59:25 +0000 (20:59 +0000)
commitf8657be654f89c6a4826ef8dd3e2275dfe2d4a5a
tree96c58351ce1ba0071cc6919155fb82c6de7d5ef7
parent732bf328c51d630bace201b40ab2bedcb314d96e
*Ray counters (number of BB/primitive tests/hits and other raytrace counters) can now be enabled/disabled at compile-time.
#define RE_RAYCOUNTER (/source/blender/render/extern/include/RE_raytrace.h)

*Some other small organization on code

(will be disable as this only matters for testing and developping)
source/blender/render/extern/include/RE_raytrace.h
source/blender/render/intern/include/raycounter.h [new file with mode: 0644]
source/blender/render/intern/include/rayobject.h
source/blender/render/intern/raytrace/bvh.h
source/blender/render/intern/source/rayobject.c
source/blender/render/intern/source/rayobject_raycounter.c
source/blender/render/intern/source/rayshade.c
source/blender/render/intern/source/shadeinput.c