summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2012-01-22 10:49:21 -0500
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:38 -0700
commita302076191a4600da66bd461e1c2d568d341ed34 (patch)
tree0685370da647a3db9a0460b19f766bbaec61bfdd /test
parentdeda5c8fa3264bf80e3d4dcba52f13913d6d254c (diff)
downloadchroma-a302076191a4600da66bd461e1c2d568d341ed34.tar.gz
chroma-a302076191a4600da66bd461e1c2d568d341ed34.tar.bz2
chroma-a302076191a4600da66bd461e1c2d568d341ed34.zip
Add more BVH manipulation commands:
* chroma-bvh create [name] [degree] - Creates a new BVH with the specified branching degree. * chroma-bvh node_swap [name] [layer] - Optimizes a BVH layer with a "greedy, short-sighted" algorithm that swaps around nodes to minimize the surface area of the immediate parent layer. Rebuilds the tree above the modified layer when finished. Also modified the chroma-bvh stat command to print the sum of the logarithms of the areas of each layer. It seems to be a rough predictor of the simulation speed of the BVH.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions