Page 2 of 2

Re: BeginSceneEdit takes ages to execute

Posted: Sun Sep 10, 2023 3:14 pm
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?