On question.
I have a loop that checks session->HasDone()
Do I have to call session->Stop() when the render ends and HasDone() returns true?
Search found 116 matches
- Tue Oct 17, 2023 8:53 am
- Forum: Development
- Topic: low sample level
- Replies: 1
- Views: 5453
- Tue Oct 17, 2023 6:48 am
- Forum: Development
- Topic: low sample level
- Replies: 1
- Views: 5453
low sample level
Hi Guys, I have a strange issue. We are trying to render an animation. For some reason some of the frames have low sample level. I will explain in detail. I load the whole scene. I set the camera position for current frame. I set desired sample level in session config and start render. I can see the...
- Mon Sep 04, 2023 10:19 am
- Forum: Development
- Topic: BeginSceneEdit takes ages to execute
- Replies: 10
- Views: 10844
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: 10844
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: 10844
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: 10844
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: 10844
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: 10844
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: 10844
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: 8477
Re: RTPATHOCL with OPTIX_DENOISER
Solved the issue by removing
Code: Select all
path.clamping.variance.maxvalue = "2000000000000000000"