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:
authorAndre Susano Pinto <andresusanopinto@gmail.com>2009-09-06 23:14:06 +0400
committerAndre Susano Pinto <andresusanopinto@gmail.com>2009-09-06 23:14:06 +0400
commit64af3a26184632f53b2ed536f784303e963f033c (patch)
treec01aff326c44e53271c0b6424032e5a3795bd5e1 /source/blender/makesdna/DNA_scene_types.h
parentea18c6ef0abcdd5841d77175a67e2611dce446b5 (diff)
*introduced new method for packing/optimizing trees after building
(this is a generalization of some of the experimental stuff i tried during SoC, but only had time to improve a few days ago) - it should yield slightly better results - the cost model can somehow be tweaked to optimize for diferent trees. *cleaned up some code *added counters for number of SIMD BB tests *added GPL license block on missing files
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 6efd47d9348..82658be24bf 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -769,15 +769,13 @@ typedef struct Scene {
#define R_YAFRAY 1
/* raytrace structure */
-#define R_RAYSTRUCTURE_HIER_BVH_BVH 0
-#define R_RAYSTRUCTURE_HIER_BVH_OCTREE 1
-#define R_RAYSTRUCTURE_SINGLE_OCTREE 2
-#define R_RAYSTRUCTURE_SINGLE_BVH 3
-
-/* raytrace tree type */
-#define R_RAYTRACE_TREE_BVH 0
-#define R_RAYTRACE_TREE_BLIBVH 1
-#define R_RAYTRACE_TREE_BIH 2
+#define R_RAYSTRUCTURE_AUTO 0
+#define R_RAYSTRUCTURE_OCTREE 1
+#define R_RAYSTRUCTURE_BLIBVH 2
+#define R_RAYSTRUCTURE_VBVH 3
+#define R_RAYSTRUCTURE_SIMD_SVBVH 4 /* needs SIMD */
+#define R_RAYSTRUCTURE_SIMD_QBVH 5 /* needs SIMD */
+#define R_RAYSTRUCTURE_BIH 6
/* scemode (int now) */
#define R_DOSEQ 0x0001