diff options
author | Stan Seibert <stan@mtrr.org> | 2012-02-06 21:40:42 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:38 -0700 |
commit | 9ee0ada34e872267fa10b38e9b7c09e96c4d81fa (patch) | |
tree | 3b48113481adaf72f5ab79fd88bf0f56dcc56a7d /bin/chroma-bvh | |
parent | 26e02e52dc0e5f1a05c5deb9d689e548db2ef887 (diff) | |
download | chroma-9ee0ada34e872267fa10b38e9b7c09e96c4d81fa.tar.gz chroma-9ee0ada34e872267fa10b38e9b7c09e96c4d81fa.tar.bz2 chroma-9ee0ada34e872267fa10b38e9b7c09e96c4d81fa.zip |
Redo node format to include number of children, rather than just leaf bit.
Diffstat (limited to 'bin/chroma-bvh')
-rw-r--r-- | bin/chroma-bvh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/chroma-bvh b/bin/chroma-bvh index d0ac7ad..1bc256e 100644 --- a/bin/chroma-bvh +++ b/bin/chroma-bvh @@ -11,7 +11,7 @@ from chroma.loader import load_geometry_from_string from chroma.log import logger, logging from chroma.bvh import make_simple_bvh from chroma.gpu import create_cuda_context -from chroma.gpu.bvh import rebuild_tree, optimize_layer +from chroma.gpu.bvh import optimize_layer def parse_bvh_id(id_str): @@ -157,7 +157,6 @@ def print_stat(geo_name, bvh_name, mesh_hash, bvh): print '-' * 72 print 'World origin: (%f,%f,%f)' % tuple(bvh.world_coords.world_origin) print 'World scale factor: %f' % bvh.world_coords.world_scale - print 'Tree degree: %d' % bvh.degree print 'Nodes: %d' % len(bvh) print 'Layers:' |