View topic - Beta release: Photon Mapping Irradiance Cache

Beta release: Photon Mapping Irradiance Cache

This forum hosts proposals sent to YafaRay, discussions about GSOC 2010 accepted projects and their betatesting.

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Jan 17, 2012 3:29 pm

@cpizzi, I did a fast test with PM + IC today, see this post (maybe I should have posted it here)

Basically PM+IC eats huge amounts of ram, almost 8 gigs in my case. The process continuously consumes more and more ram, each pass. So your second problem is most likely memory related.
User avatar
_Mo_
 
Posts: 899
Joined: Fri Sep 11, 2009 8:58 am
Location: Slovenia

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Jan 17, 2012 3:40 pm

povmaniaco wrote:Hi...
Ray Depth: 30 ???
I would try with lower values...
Greetings
P.D: this version is a experimental branch.


Ray depth 30 is experimental too :roll: .
I know that this version is experimental, I try to help programmers giving much information as possible when found some mistake or error.
Thing is, if my crashes were my mistakes or software one; I'd like to understand this.

If this is the wrong post, please someone can move this in the rigth place, thanks.

Christian
cpizzi
 
Posts: 28
Joined: Wed Jul 01, 2009 1:53 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Wed Jan 18, 2012 8:01 am

A few findings of a recent test with PM+IC:

I used a simple scene with correct scale 1BU = 1m and 1mio photons. There were 8 passes with 2 & 2 samples.

* Standard PM
Render time 04:03, ~650 MB of mem usage

* PM + IC (max.samples=10, accuracy=1.0 (default settings))
Render time 17:30, ~8 GB of mem usage

* PM + IC (max.samples=2, accuracy=0.1)
Render time 02:30, ~8 GB of mem usage

The result quality of the third test was slightly worse than the second, but comparable with the first, just wit a very nice speed increase (I just had to go well below the recommended IC settings). The big problem here is huge memory consumption. In my case the PM + IC rendering consumes memory at a constant rate of approx 100MB / second, for the total of 8 GB when the rendering is finished. If I had set 16 passes, it would probably reach the memory limit of my system. It also doesn't release the memory after the rendering is finished (you need to close Blender), as you can see on the graph:

ICmemusage.jpg


Tested on Linux Mint Debian 64bit, Blender 2.61 r43210
User avatar
_Mo_
 
Posts: 899
Joined: Fri Sep 11, 2009 8:58 am
Location: Slovenia

Re: Beta release: Photon Mapping Irradiance Cache

Post Sat Apr 21, 2012 9:39 pm

I wonder how fast if would eat out all of mine 16 GB on a scene containing, let's say, 4 mln polys and above?
suomi
 
Posts: 178
Joined: Mon Sep 13, 2010 4:59 am

Re: Beta release: Photon Mapping Irradiance Cache

Post Mon Mar 18, 2013 1:23 am

Hi..
Since a few days, I am working at the update of this branch.
My intention is, to keep the code updated and to facilitate the work with these experimental branches, to the developers that could be interested in continuing the development of these features.
https://github.com/megasoft78/Core

Also, I am going to try an update the exporter with the last versions of Blender.
https://github.com/megasoft78/Blender-2.5-Exporter

Greetings..
povmaniac
 
Posts: 173
Joined: Wed Dec 12, 2012 10:01 am

Re: Beta release: Photon Mapping Irradiance Cache

Post Mon Sep 02, 2013 9:23 am

Hi guys..
Now, the IrradianceCache is one 'branch' on the 'trunk' repository.
These days, I am working on your integration.

ic_merge_work.png


Greetings..
povmaniac
 
Posts: 173
Joined: Wed Dec 12, 2012 10:01 am

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Sep 03, 2013 2:33 pm

Testing caustics with PhotonMapping + Irradiance Cache.

cuastics_irrcache.png
povmaniac
 
Posts: 173
Joined: Wed Dec 12, 2012 10:01 am

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Sep 03, 2013 9:17 pm

It's been over three years since this thread started.
Now we're starting seeing the result of it all... it looks amazing!

When could this realistically be available?

Good work guys!
Jakerlund
 
Posts: 77
Joined: Sun Aug 08, 2010 7:41 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Sep 03, 2013 10:20 pm

It's available now; you can compile it from that fork. Make sure you have plenty of RAM.
User avatar
stoneage
 
Posts: 1241
Joined: Sun Dec 23, 2007 1:06 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Sep 03, 2013 11:01 pm

Ouch... i'm blind when coming to compiling and such... i can only hope for a public release (OS X) to test this.
Some day...
Jakerlund
 
Posts: 77
Joined: Sun Aug 08, 2010 7:41 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Sun Sep 15, 2013 9:44 pm

New build.. the first from the branch of the trunk!!
And more optimized than the previous ones..
The use of memory has been minimized.
There have been added new options, which need to be proved thoroughly.
The option PhotonMapping with Irradiance Cache, it is the one that better works.
DirectLighting with Irradiance Cache needs still a lot of work, but it works better than in previous versions.

Please, warn us about any error. You can use the same thread of the forum, for asking questions related with this build.
The file contain the binary ones and the exporter adapted for this version.
You can download it of this link:
http://www.graphicall.org/1075

If you are interested in the code of this version, I could obtain it of here:
https://github.com/YafaRay/Core/tree/merge_IrradianceCache

You also can find here, the code of the exporter:
https://github.com/YafaRay/Blender-Exporter/tree/IrradianceCache

Greetings.. and nice renders!!
povmaniac
 
Posts: 173
Joined: Wed Dec 12, 2012 10:01 am

Re: Beta release: Photon Mapping Irradiance Cache

Post Thu Oct 03, 2013 5:02 pm

Some render test with Irradiance Cache..
ic_probas_8.png


ic_probas_9.png


Both renders with similar time, but IC render is more cleaned.
Greetings..
povmaniac
 
Posts: 173
Joined: Wed Dec 12, 2012 10:01 am

Re: Beta release: Photon Mapping Irradiance Cache

Post Sun Oct 13, 2013 4:53 pm

Amazing that this thread (and more importantly the development) has been resurrected.
It is awesome following these tests. Thanks povmaniac!
ejnaren
 
Posts: 9
Joined: Mon Dec 20, 2010 5:21 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Fri Nov 29, 2013 5:40 pm

Hey! I downloaded your addon, it seems to work, but when I hit render, it does nothing except leaving a blank image as finished render. :? I must be doing sthg wrong, what could that be? Otherwise IC in yafa would be a great thing, so thanks!! :D
jarmaizsolt
 
Posts: 31
Joined: Thu Sep 26, 2013 4:43 pm

Previous

Return to Google summer of code 2010 - YafaRay Projects



Who is online

Users browsing this forum: No registered users and 1 guest

cron