Home
last modified time | relevance | path

Searched refs:prim_bounds (Results 1 – 2 of 2) sorted by relevance

/dports/graphics/blender/blender-2.91.0/intern/cycles/bvh/
H A Dbvh_split.cpp67 BoundBox prim_bounds = get_prim_bounds(ref_ptr[i]); in BVHObjectSplit() local
68 right_bounds.grow(prim_bounds); in BVHObjectSplit()
76 BoundBox prim_bounds = get_prim_bounds(ref_ptr[i - 1]); in BVHObjectSplit() local
77 left_bounds.grow(prim_bounds); in BVHObjectSplit()
175 BoundBox prim_bounds = get_prim_bounds(ref); in BVHSpatialSplit() local
177 float3 lastBinf = (prim_bounds.max - origin) * invBinSize; in BVHSpatialSplit()
256 BoundBox prim_bounds = get_prim_bounds(refs[i]); in split() local
257 if (prim_bounds.max[this->dim] <= this->pos) { in split()
259 left_bounds.grow(prim_bounds); in split()
262 else if (prim_bounds.min[this->dim] >= this->pos) { in split()
[all …]
/dports/graphics/embree/embree-3.13.2/kernels/builders/
H A Dprimrefgen.cpp122 BBox3fa prim_bounds = empty; in createMortonCodeArray() local
123 if (unlikely(!mesh->buildBounds(j,&prim_bounds))) continue; in createMortonCodeArray()
124 bounds.extend(center2(prim_bounds)); in createMortonCodeArray()