POV-Ray : Newsgroups : povray.advanced-users : Photon mapping calculation limited to 8 threads Server Time
14 Jul 2024 22:50:10 EDT (-0400)
  Photon mapping calculation limited to 8 threads (Message 1 to 3 of 3)  
From: yesbird
Subject: Photon mapping calculation limited to 8 threads
Date: 6 May 2024 07:54:42
Message: <6638c502@news.povray.org>
Hi, all !

While rendering large number of images on server with photon mapping
techniques I discovered, that only 8 kernels are used in time of
photons calculation step, while on tracing step all 40 kernels are
loaded.

Is there a way to use more threads for photon calculation to improve
performance ?

Thanks in advance.
--
YB.


Post a reply to this message

From: Alain Martel
Subject: Re: Photon mapping calculation limited to 8 threads
Date: 6 May 2024 11:05:42
Message: <6638f1c6$1@news.povray.org>
Le 2024-05-06 à 07:54, yesbird a écrit :
> Hi, all !
> 
> While rendering large number of images on server with photon mapping
> techniques I discovered, that only 8 kernels are used in time of
> photons calculation step, while on tracing step all 40 kernels are
> loaded.
> 
> Is there a way to use more threads for photon calculation to improve
> performance ?
> 
> Thanks in advance.
> -- 
> YB.
> 
> 
> 
> 
> 
So, you have one light and 8 target objects, or 2 lights and 4 target 
objects, or 4 lights and 2 target objects or 8 lights and 1 target object.

The maximum number of threads used while photon mapping is the product 
of the number of light_source by the number of objects with a target block.
To the best of my knowledge : Currently, it is not possible to divide 
that process between several threads. The algorithm used is strictly 
linear and can't get split between multiple threads.


Post a reply to this message

From: yesbird
Subject: Re: Photon mapping calculation limited to 8 threads
Date: 6 May 2024 11:17:46
Message: <6638f49a$1@news.povray.org>
On 06/05/2024 18:05, Alain Martel wrote:
> To the best of my knowledge : Currently, it is not possible to divide 
> that process between several threads. The algorithm used is strictly 
> linear and can't get split between multiple threads.

Thanks, Alan, I will take it into account.
--
YB


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.