Search found 114 matches
- Mon Sep 04, 2023 10:19 am
- Forum: Development
- Topic: BeginSceneEdit takes ages to execute
- Replies: 10
- Views: 1503
Re: BeginSceneEdit takes ages to execute
Hi guys. Finally I've found the solution. The ray that is passed to Embree library has Nan in origin and direction. That makes embree library scan all geometry. So the solution is to add: if (isnan(ray->o.x) || isnan(ray->o.y) || isnan(ray->o.z) || isnan(ray->d.x) || isnan(ray->d.y) || isnan(ray->d....
- Fri Aug 18, 2023 9:17 am
- Forum: Development
- Topic: BeginSceneEdit takes ages to execute
- Replies: 10
- Views: 1503
Re: BeginSceneEdit takes ages to execute
First of all I wanted to say that I have recompiled luxcore with embree 4.2. It doesn't change anything with my issue. I want to show you a short video that shows the problem. https://we.tl/t-HRjU1pQohr At the beginning of the video, I move the camera and I can see the result of render in few second...
- Fri Aug 04, 2023 1:27 pm
- Forum: Development
- Topic: BeginSceneEdit takes ages to execute
- Replies: 10
- Views: 1503
Re: BeginSceneEdit takes ages to execute
Hi guys, could anyone help? I still have an empty render. Embree rtcIntersects1 function returns an empty result (nothing is hit). I've check all parameters and don't know what to do. I have found that RTCIntersectsArguments should be initialized so I call: rtcInitIntersectArguments(&intersectAr...
- Thu Aug 03, 2023 10:59 am
- Forum: Development
- Topic: BeginSceneEdit takes ages to execute
- Replies: 10
- Views: 1503
Re: BeginSceneEdit takes ages to execute
I have recompiled luxcore with Embree 4.2 but for some reason render is completely empty. I can see only background image. I think the ray does not hit any geometry. To compile with Embree 4.2 I've mede following changes: diff --git a/src/luxrays/accelerators/embreeaccel.cpp b/src/luxrays/accelerato...
- Wed Aug 02, 2023 9:52 am
- Forum: Development
- Topic: BeginSceneEdit takes ages to execute
- Replies: 10
- Views: 1503
Re: BeginSceneEdit takes ages to execute
I have found that the function Scene::Intersect takes all this time. In our case, CPU use, all this time is taken by EmbreeAccel::Intersect. This scene has 8000 instances of a tree. So it looks that if the ray hits this tree layer, it stuck for 1-3 minutes. I'm trying to find out if updating embree ...
- Mon Jul 31, 2023 2:11 pm
- Forum: Development
- Topic: BeginSceneEdit takes ages to execute
- Replies: 10
- Views: 1503
Re: BeginSceneEdit takes ages to execute
currently I'm analyzing bidircputhread.cpp and it looks that the problem is somewhere here: if (boost::this_thread::interruption_requested()) SLG_LOG("[BiDirCPURenderThread::" << threadIndex << "] 5b"); if (!eyeVertex.bsdf.IsDelta()) { for (vector<PathVertexVM>::const_iterator li...
- Mon Jul 31, 2023 11:57 am
- Forum: Development
- Topic: BeginSceneEdit takes ages to execute
- Replies: 10
- Views: 1503
BeginSceneEdit takes ages to execute
Hi Guys, we are using luxcore for quite long time. We have found, that sometimes luxcore hangs when calling BeginSceneEdit(). Now we have a scene, that makes luxcore block each time. So we have following situation. The render starts. We are using live session, so we can see that everything looks ok....
- Tue Apr 25, 2023 10:35 am
- Forum: User Support
- Topic: RTPATHOCL with OPTIX_DENOISER
- Replies: 1
- Views: 1649
Re: RTPATHOCL with OPTIX_DENOISER
Solved the issue by removing
Code: Select all
path.clamping.variance.maxvalue = "2000000000000000000"
- Tue Apr 25, 2023 8:43 am
- Forum: User Support
- Topic: RTPATHOCL with OPTIX_DENOISER
- Replies: 1
- Views: 1649
RTPATHOCL with OPTIX_DENOISER
Hi guys, I'm trying to use RTPATHOCL wit OPTIX_DENOISER. When I'm using PATHOCL, I have seen that enabling ALBEDO and AVG_SHADING_NORMAL makes OPTIX_DENOISER work much faster. But unfortunately when I enable them with RTPATHOCL I get segmentation fault. Any ideas? path.pathdepth.total = "64&quo...
- Tue Apr 18, 2023 8:26 am
- Forum: User Support
- Topic: Luxcore with CUDA
- Replies: 4
- Views: 1262
Re: Luxcore with CUDA
I've solved the issue. The problem was a missing library. Luxcore coudn't find libnvrtc* libraries. I found following comment in the code: /// In all above cases, I just disable CUDA (but with this solution, at /// the moment I have no way to report the type of error). So luxcore was unable to load ...