diff options
author | Stan Seibert <stan@mtrr.org> | 2012-01-22 10:49:21 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:38 -0700 |
commit | a302076191a4600da66bd461e1c2d568d341ed34 (patch) | |
tree | 0685370da647a3db9a0460b19f766bbaec61bfdd /test/test_parabola.py | |
parent | deda5c8fa3264bf80e3d4dcba52f13913d6d254c (diff) | |
download | chroma-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/test_parabola.py')
0 files changed, 0 insertions, 0 deletions