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 Mon Dec 05, 2011 10:06 am

Gabriele,

You are my hero! :D
Irradiance cache was for me the best feature of old yafray!
Having it back again is having the perfect balance between speed and quality that makes yafaray so good!
Thank you very much for integrating this! :D
Arquitecto can be contacted here:
Arquitectos
Arquitecto
 
Posts: 249
Joined: Mon Jul 27, 2009 8:42 am
Location: Portugal

Re: Beta release: Photon Mapping Irradiance Cache

Post Mon Dec 05, 2011 10:52 am

Hi all,
I built this project for Windows 64bit and I also changed a bit the blender exporter to add this 2 new properties in Blender 2.6.
Here you can download the build and maybe give some feedback about it:
http://www.gigasize.com/get/c9vj2n6yf0d

Cheers,
Gabriele
User avatar
gabriele.ferreri
 
Posts: 149
Joined: Thu Aug 12, 2010 3:21 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Mon Dec 05, 2011 11:08 am

Arquitecto wrote:Gabriele,

You are my hero! :D
Irradiance cache was for me the best feature of old yafray!
Having it back again is having the perfect balance between speed and quality that makes yafaray so good!
Thank you very much for integrating this! :D

Hi Arquitecto,
I merged it locally but I can't commit to main repository for now because it's an experimental feature. I'll post to a separate repository this evening and upload build for Ubuntu/Windows 32bit/64bit as well on graphicall.

Cheers,
Gabriele
User avatar
gabriele.ferreri
 
Posts: 149
Joined: Thu Aug 12, 2010 3:21 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Mon Dec 05, 2011 3:14 pm

Hi all,
I just setup a new repository with Core and Blender 2.6 Exporter changes here:

https://github.com/megasoft78/Core

https://github.com/megasoft78/Blender-2.5-Exporter

If you want to build now you can. :)

Cheers,
Gabriele
User avatar
gabriele.ferreri
 
Posts: 149
Joined: Thu Aug 12, 2010 3:21 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Mon Dec 05, 2011 10:12 pm

Hi all,
I uploaded builds for Windows 32bit/64bit and Ubuntu 32bit/64bit here:
http://www.graphicall.org/megasoft78

Cheers,
Gabriele
User avatar
gabriele.ferreri
 
Posts: 149
Joined: Thu Aug 12, 2010 3:21 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Dec 06, 2011 8:51 am

Hi all,
I've tested this feature on Ubuntu 11.10 64bit with Red Room, by Xelptic scene and I get same strange result:

Photon Mapping 18m 42s:
RedRoomPC.jpg


Photon Mapping With Irradiance Cache 7m 34s:
RedRoomPMIC.jpg


I just download the scene, convert it from 2.4 and render it just using integrator Photon Mapping and Photon Mapping With Irradiance Cache.

It's strange because IC is faster but the final result looks to me wrong.

Any idea?

Cheers,
Gabriele
User avatar
gabriele.ferreri
 
Posts: 149
Joined: Thu Aug 12, 2010 3:21 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Dec 06, 2011 8:53 am

IC probably mutiplies low frequency noise from the photonmap, as IC itself is prone to low frequency noise as well. Show us the photon map (and enable the key light by removing windows glasses)
User avatar
Samo
 
Posts: 3105
Joined: Tue Dec 20, 2005 10:39 am
Location: Spain

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Dec 06, 2011 11:57 am

Sorry for just jump in here.

Is instancing supported yet in Yafaray ?
I see Irradiance Cache uses less memory. So we can render bigger scenes now ?


Kind regards
Alain
Intel Pentium 2.8 GHz 2 Cores, 8 GB RAM, GeForce GTX 480, Blender 2.63a, Win 7 64 Bit
Alain
 
Posts: 139
Joined: Thu Oct 23, 2008 3:34 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Dec 06, 2011 12:15 pm

Alain wrote:Sorry for just jump in here.

Is instancing supported yet in Yafaray ?
I see Irradiance Cache uses less memory. So we can render bigger scenes now ?


Kind regards
Alain

Hi Alain,
AFAIK instancing is not supported by YafaRay.
I don't know if Irradiance Cache is using less memory than before but it's using alot of memory anyway.
I think you should check based on Accuracy and Max Samples because they affect memory usage.

Cheers,
Gabriele
User avatar
gabriele.ferreri
 
Posts: 149
Joined: Thu Aug 12, 2010 3:21 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Wed Dec 07, 2011 10:19 am

With final gather we can get away with using crappy photon maps because FG interpolates the rough approximation diffuse photon map produces.

With Irrandiance cache and very low FG settings, that's not longer possible I believe, we have to use good photon maps.
User avatar
Samo
 
Posts: 3105
Joined: Tue Dec 20, 2005 10:39 am
Location: Spain

Re: Beta release: Photon Mapping Irradiance Cache

Post Fri Dec 09, 2011 10:53 pm

Nice to see some drive in this thread :) Looking forward to test it.
Just to be clear: Irradiance Cache is that the same approach that many indoor scenes of Vray is done with? I believe the two accuracy and samples settings seem familiar.
Thank you for working on this feature.
ejnaren
 
Posts: 9
Joined: Mon Dec 20, 2010 5:21 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Sat Dec 10, 2011 1:46 am

I worked a bit on the interface. Here are the results;

workflow_IC_1.png


workflow_IC_2.png
povmaniaco
 
Posts: 208
Joined: Sun May 10, 2009 10:40 pm

Re: Beta release: Photon Mapping Irradiance Cache

Post Mon Dec 12, 2011 10:31 am

Nice work Povmaniaco.
Looks great. :D
Arquitecto can be contacted here:
Arquitectos
Arquitecto
 
Posts: 249
Joined: Mon Jul 27, 2009 8:42 am
Location: Portugal

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Jan 17, 2012 2:42 pm

I made some tests for IC but no one give me a good result, all crashes.
Configuration:
Laptop
Win XP 32bit s.p.3
Intel centrino 2 DUO
2 GB ram
Nvidia quadro FX 1600M
Blender+Yafaray R43155 from Megasoft78

Test with DIrectlight IC give me this error:
errore_DirectIC.png


Test with PhotonMapping IC give me this error (maybe this could be a problem of "out of memory"???):
errore_PhotonIC.png


Directlight or Photonmapping alone work well.

Please, tell me if I did something wrong or if you need more information.

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

Re: Beta release: Photon Mapping Irradiance Cache

Post Tue Jan 17, 2012 3:24 pm

Hi...
Ray Depth: 30 ???
I would try with lower values...
Greetings
P.D: this version is a experimental branch.
povmaniaco
 
Posts: 208
Joined: Sun May 10, 2009 10:40 pm

PreviousNext

Return to Google summer of code 2010 - YafaRay Projects



Who is online

Users browsing this forum: No registered users and 1 guest

cron