Bi-Dir & Mirror

Please use this forum for general user support and related questions.

Moderator: coordinators

Forum rules
Please include your operating system type/version, LuxRender version and Exporter version used when submitting a support post.

Make sure you have read the Release forum thread for Release and RC (Release Candidates) builds as these threads contain information on known problems and workarounds: Test Builds Forum

Bi-Dir & Mirror

Postby zeealpal » Wed Apr 11, 2012 3:34 am

Just something I noticed, Im not sure if this has been brought up before, but I noticed that the caustics from the Sun > Refract in Water > Reflect in Mirror > Land on floor... they dont reflect back into the mirror. Is there a particular fix for this, a known issue or should I try SPPM?

merged.png
i5 3.6GHz | 2 * 7970 GHz Edition | 8GB RAM | Shinobi XL Case
zeealpal
 
Posts: 484
Joined: Thu Feb 18, 2010 3:28 am
Location: Victoria, Australia

Re: Bi-Dir & Mirror

Postby Dade » Wed Apr 11, 2012 3:45 am

zeealpal wrote:Just something I noticed, Im not sure if this has been brought up before, but I noticed that the caustics from the Sun > Refract in Water > Reflect in Mirror > Land on floor... they dont reflect back into the mirror. Is there a particular fix for this, a known issue or should I try SPPM?


BiDir is unable to render SDS (i.e. light specular -> diffuse -> specular bounces). It is exactly the kind of light interaction where SPPM is superior to BiDir.
User avatar
Dade
Developer
 
Posts: 4798
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: Bi-Dir & Mirror

Postby Vutshi » Wed Apr 11, 2012 4:04 am

You may try to add some roughness to the mirror. It helps when there is an SDS path involving glass (viewtopic.php?f=14&t=7049). It should work with mirrors.
Vutshi
 
Posts: 53
Joined: Sat Oct 23, 2010 2:54 pm

Re: Bi-Dir & Mirror

Postby Meelis » Wed Apr 11, 2012 4:07 am

Is this possible to impliment SDS for bidir?
User avatar
Meelis
 
Posts: 873
Joined: Sat Oct 17, 2009 2:16 am

Re: Bi-Dir & Mirror

Postby SATtva » Wed Apr 11, 2012 4:28 am

No, it is a shortcoming of path tracing algorithms.
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 5496
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: Bi-Dir & Mirror

Postby Lord Crc » Wed Apr 11, 2012 5:23 am

Meelis wrote:Is this possible to impliment SDS for bidir?


I read a paper which combined Bidir and SPPM techniques in a sense, allowing to merge vertexes if they were close by, similar to how photons in SPPM contribute to nearby hitpoints. Should allow for bidir to handle these cases. However, how hard it is to implement into luxrender is not for me to say :)
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 4455
Joined: Sat Nov 17, 2007 2:10 pm

Re: Bi-Dir & Mirror

Postby jeanphi » Wed Apr 11, 2012 5:31 am

Hi,

First note that bidir does implement the rendering of SDS paths, they are just very long to converge. The only case when they are impossible to render is when you use a point light.
It should be possible to implement vertex merging in LuxRender but the main issue is the probabilities computations for a path, they could become very difficult to handle.

Jeanphi
jeanphi
Developer
 
Posts: 6577
Joined: Mon Jan 14, 2008 7:21 am

Re: Bi-Dir & Mirror

Postby zeealpal » Wed Apr 11, 2012 5:58 am

The lamp was sun type for this scene, just to let you know :)
i5 3.6GHz | 2 * 7970 GHz Edition | 8GB RAM | Shinobi XL Case
zeealpal
 
Posts: 484
Joined: Thu Feb 18, 2010 3:28 am
Location: Victoria, Australia

Re: Bi-Dir & Mirror

Postby Vutshi » Wed Apr 11, 2012 6:54 am

I would like to participate in a mega project for rendering this scene with BiDir until it will converge and the reflection appears in the mirror. Just curious how many samples per pixel are really needed for such scenes.
Vutshi
 
Posts: 53
Joined: Sat Oct 23, 2010 2:54 pm

Re: Bi-Dir & Mirror

Postby Dade » Wed Apr 11, 2012 7:06 am

Vutshi wrote:I would like to participate in a mega project for rendering this scene with BiDir until it will converge and the reflection appears in the mirror. Just curious how many samples per pixel are really needed for such scenes.


Given the size of the light source (i.e. sun disk), it will probably never converge because of the resolution of floating point numbers.
User avatar
Dade
Developer
 
Posts: 4798
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Next

Return to LuxRender User Support

Who is online

Users browsing this forum: Bing [Bot] and 2 guests