diff options
author | Stan Seibert <stan@mtrr.org> | 2012-02-17 14:51:55 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:38 -0700 |
commit | e4e84309ea302ef7360e54f33715672a1d2b76b4 (patch) | |
tree | 49e91e6160d8394987f705486c9452dc417ac754 | |
parent | 2e8d535456730aed81d47af2d78ef5775810151b (diff) | |
download | chroma-e4e84309ea302ef7360e54f33715672a1d2b76b4.tar.gz chroma-e4e84309ea302ef7360e54f33715672a1d2b76b4.tar.bz2 chroma-e4e84309ea302ef7360e54f33715672a1d2b76b4.zip |
Report the correct algorithm, and use a degree 3 tree.
-rw-r--r-- | chroma/loader.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chroma/loader.py b/chroma/loader.py index 7408d2f..f1d0036 100644 --- a/chroma/loader.py +++ b/chroma/loader.py @@ -143,12 +143,12 @@ def load_bvh(geometry, bvh_name="default", logger.info('Loading BVH "%s" for geometry from cache.' % bvh_name) bvh = cache.load_bvh(mesh_hash, bvh_name) elif auto_build_bvh: - logger.info('Building new BVH using simple algorithm.') + logger.info('Building new BVH using recursive grid algorithm.') start = time.time() context = create_cuda_context(cuda_device) - bvh = make_recursive_grid_bvh(geometry.mesh, target_degree=2) + bvh = make_recursive_grid_bvh(geometry.mesh, target_degree=3) context.pop() logger.info('BVH generated in %1.1f seconds.' % (time.time() - start)) |