BeginSceneEdit takes ages to execute

Discussion related to the LuxCore functionality, implementations and API.
acasta69
Developer
Developer
Posts: 472
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: BeginSceneEdit takes ages to execute

Post by acasta69 »

bartek_zgo wrote: Mon Sep 04, 2023 10:19 am So the solution is to add:

Code: Select all

 if (isnan(ray->o.x) || isnan(ray->o.y) || isnan(ray->o.z) || isnan(ray->d.x) || isnan(ray->d.y) || isnan(ray->d.z))
               return false;
in EmbreeAccel::Intersect() function in src/luxrays/accelerators/embreeaccel.cpp file
I have updated the source with your solution and the build is now deployed.
Can you please check if it's ok?
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87
Post Reply