Alternative Upload geometry data in parallel to multiple GPUs using the "Multi-Device" #107552
|
@ -1433,7 +1433,7 @@ void OptiXDevice::build_bvh(BVH *bvh, DeviceScene *dscene, Progress &progress, b
|
|||
continue;
|
||||
}
|
||||
|
||||
BVHOptiX *const blas = static_cast<BVHOptiX *>(ob->get_geometry()->bvh);
|
||||
BVHOptiX *const blas = static_cast<BVHOptiX *>(ob->get_geometry()->bvh->get_device_bvh(this));
|
||||
OptixTraversableHandle handle = blas->traversable_handle;
|
||||
if (handle == 0) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue