From fd835f2266fdf28febb7e15591c907f8f28776f8 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Tue, 24 Jan 2012 16:20:14 -0500 Subject: Increase look ahead in node_swap BVH optimization to improve surface area minimization --- chroma/gpu/bvh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chroma/gpu/bvh.py b/chroma/gpu/bvh.py index 7f2794e..3a70fcc 100644 --- a/chroma/gpu/bvh.py +++ b/chroma/gpu/bvh.py @@ -216,7 +216,7 @@ def optimize_layer(orig_nodes): test_index = i * 2 blocks = 0 - look_forward = min(8192, n - test_index - 2) + look_forward = min(8192*50, n - test_index - 2) skip_this_round = min(skip_size, n - test_index - 1) flag[:] = 0 for first_index, elements_this_iter, nblocks_this_iter in \ -- cgit