|
Blender
V3.3
|
#include <split.h>
Public Member Functions | |
| BVHMixedSplit () | |
| __forceinline | BVHMixedSplit (BVHBuild *builder, BVHSpatialStorage *storage, const BVHRange &range, vector< BVHReference > &references, int level, const BVHUnaligned *unaligned_heuristic=NULL, const Transform *aligned_space=NULL) |
| __forceinline void | split (BVHBuild *builder, BVHRange &left, BVHRange &right, const BVHRange &range) |
Public Attributes | |
| BVHObjectSplit | object |
| BVHSpatialSplit | spatial |
| float | leafSAH |
| float | nodeSAH |
| float | minSAH |
| bool | no_split |
| BoundBox | bounds |
Definition at line 171 of file bvh/split.h.
|
inline |
Definition at line 184 of file bvh/split.h.
|
inline |
Definition at line 188 of file bvh/split.h.
References blender::compositor::area(), BVHRange::bounds(), bounds, BoundBox::intersect(), leafSAH, BVHParams::MAX_SPATIAL_DEPTH, min, minSAH, no_split, BVHParams::node_cost(), nodeSAH, NULL, BVHBuild::params, BVHParams::primitive_cost(), BVHBuild::range_within_max_leaf_size(), BoundBox::safe_area(), BVHSpatialSplit::sah, BVHRange::size(), spatial, BVHBuild::spatial_min_overlap, and BVHParams::use_spatial_split.
|
inline |
Definition at line 227 of file bvh/split.h.
References left, minSAH, BVHBuild::params, right, BVHSpatialSplit::sah, spatial, BVHSpatialSplit::split(), and BVHParams::use_spatial_split.
Referenced by BVHBuild::build_node().
| BoundBox BVHMixedSplit::bounds |
Definition at line 182 of file bvh/split.h.
Referenced by BVHBuild::build_node(), and BVHMixedSplit().
| float BVHMixedSplit::leafSAH |
Definition at line 176 of file bvh/split.h.
Referenced by BVHMixedSplit().
| float BVHMixedSplit::minSAH |
Definition at line 178 of file bvh/split.h.
Referenced by BVHMixedSplit(), and split().
| bool BVHMixedSplit::no_split |
Definition at line 180 of file bvh/split.h.
Referenced by BVHMixedSplit().
| float BVHMixedSplit::nodeSAH |
Definition at line 177 of file bvh/split.h.
Referenced by BVHBuild::build_node(), and BVHMixedSplit().
| BVHObjectSplit BVHMixedSplit::object |
Definition at line 173 of file bvh/split.h.
| BVHSpatialSplit BVHMixedSplit::spatial |
Definition at line 174 of file bvh/split.h.
Referenced by BVHMixedSplit(), and split().