PhotonGI cache

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: PhotonGI cache

Post by Sharlybg »

So clean for half the rendering time and note that it is still on CPU :o
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: PhotonGI cache

Post by B.Y.O.B. »

Sharlybg wrote: Fri Feb 08, 2019 10:49 pm So clean for half the rendering time and note that it is still on CPU :o
Also, this was rendered on my 6 year old notebook.

edit: The CPU is a Intel i7-3635QM @ 2.40GHz.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: PhotonGI cache

Post by Sharlybg »

Also, this was rendered on my 6 year old notebook.
OMG Why Why .............................................What :o :shock: :o

So this is not a fake and this is Lux futur and more :geek: :geek:

https://www.youtube.com/watch?v=6_fim8l4yxc
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: PhotonGI cache

Post by B.Y.O.B. »

Just tested, on my Ryzen 7 2700X the render with PhotonGI enabled takes 37 seconds plus 6 seconds init time to build the photon cache.
The render without PhotonGI takes 43 seconds, with 0.5 seconds init time (mostly to build the visibility map).
Of course the images look exactly the same as on my notebook, but surprising that the render times are nearly equal on this CPU.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: PhotonGI cache

Post by Sharlybg »

but surprising that the render times are nearly equal on this CPU.
Strange :?

Is PGI currently Multithreaded ?
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: PhotonGI cache

Post by epilectrolytics »

Sharlybg wrote: Fri Feb 08, 2019 11:25 pm Is PGI currently Multithreaded ?
From my testing with LuxCoreUI: Yes.

But strange are the ways of the Ryzen :D
PGI is very RAM-intensive and I'm under the impression the AMD processors don't deal as well with that as the Intel ones.
User avatar
alpistinho
Developer
Developer
Posts: 198
Joined: Thu Jul 05, 2018 11:38 pm
Location: Rio de Janeiro

Re: PhotonGI cache

Post by alpistinho »

epilectrolytics wrote: Fri Feb 08, 2019 11:31 pm
Sharlybg wrote: Fri Feb 08, 2019 11:25 pm Is PGI currently Multithreaded ?
From my testing with LuxCoreUI: Yes.

But strange are the ways of the Ryzen :D
PGI is very RAM-intensive and I'm under the impression the AMD processors don't deal as well with that as the Intel ones.
Considering it's a comparison between a big desktop CPU and a small laptop one, I would bet on it being the opposite.

The Ryzen probably has a much faster memory subsystem, using a newer memory technology. Besides, the Ryzen has a huge cache that probably can hide much better the memory latency.

I would guess that the Ryzen benefits less from caching the results than the notebook CPU, since it can better deal with the extra calculations in the first place
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: PhotonGI cache

Post by Sharlybg »

So is it supposed to be more obvious on a more complexe interior with longer rendertime that tje ryzen is faster by a lot?
Will be strange to have a threadripper 2950x playing like a simple i7 8700k.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: PhotonGI cache

Post by Sharlybg »

Also please can you compare yoir laptop and the ryzen with PGI on the dining room interior bench ?
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: PhotonGI cache

Post by lacilaci »

Here's a comparison with 3 minute rendering and very low photonGI settings (~2sec preprocessing)

pathtracing only
3min_path.jpg
pathtracing + photongi
3min_path_photongi.jpg
with plain unicolor walls it is quite extreme setting but the boost is incredible.
Post Reply