Mixed Renderer Sampler

Discussion related to the implementation of new features & algorithms to the Core Engine.

Moderators: jromang, tomb, zcott, coordinators

Mixed Renderer Sampler

Postby Meelis » Wed May 09, 2012 2:25 am

I find random sampler works better for some darker sss volumes and MLT works better for lighter transparent sss volumes.

So idea is that i mix maybe 70% MLT renderer sampler with 30% random sampler.
If i can set LuxRender to render 42 min with MLT and 18 min with random and automatically switch between.

Random gets some values and i set MLT as greater importance .
MLT film would be main and LuxRender looks on MLT layer if there is much darker area compared to random layer and then balances this darker MLT pixels.
User avatar
Meelis
 
Posts: 871
Joined: Sat Oct 17, 2009 2:16 am

Re: Mixed Renderer Sampler

Postby Vutshi » Wed May 09, 2012 2:33 am

Isn't it possible to just tune MLT parameters so that it works more like random sampler?
Vutshi
 
Posts: 53
Joined: Sat Oct 23, 2010 2:54 pm

Re: Mixed Renderer Sampler

Postby SATtva » Wed May 09, 2012 2:38 am

Right, just set large mutation probability to something like 0.8.
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 5487
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: Mixed Renderer Sampler

Postby Meelis » Wed May 09, 2012 2:40 am

Oo okay, didn't know that. :)
User avatar
Meelis
 
Posts: 871
Joined: Sat Oct 17, 2009 2:16 am

Re: Mixed Renderer Sampler

Postby jeanphi » Wed May 09, 2012 3:12 am

Hi,

SATtva is right, what is called large mutations are actually uncorrelated mutations, they are fully random over the entire sampling space.

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

Re: Mixed Renderer Sampler

Postby Meelis » Wed May 09, 2012 3:23 am

jeanphi wrote:Hi,

SATtva is right, what is called large mutations are actually uncorrelated mutations, they are fully random over the entire sampling space.

Jeanphi


Hi, thx for answer. Can someone make explanatory diagram in wiki how the 0 - 1 mutations correspond to MLT vs random sampling balance.
Maybe it's linear like 0.1 is 90% MLT and 10% random.
User avatar
Meelis
 
Posts: 871
Joined: Sat Oct 17, 2009 2:16 am

Re: Mixed Renderer Sampler

Postby jeanphi » Wed May 09, 2012 4:10 am

Hi,

Both mutations are part of the MLT algorithm.
The small mutations try to explore nearby space in search of a maximum, it proves effective because with a small displacement you won't go over the maximum in a pit. However you can get stuck at that maximum and completely miss other maxima.
That's why once in a while a completely random sample is tested. The tuning knob is really the proportion a large (random) mutations vs small mutations.

Using the standard Blender interface, the MLT strength parameter refers to the proportion of small mutations while in advanced mode, you tweak the large mutation proportion. It's completely linear in either case.

Keep in mind that if a mutation (even a large one) is deemed inappropriate it is going to be rejected, that's why the default value of 40% large mutations is used even if it might appear quite high at first.

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

Re: Mixed Renderer Sampler

Postby Meelis » Wed May 09, 2012 4:20 am

Thx jeanphi, for detailed answer.
User avatar
Meelis
 
Posts: 871
Joined: Sat Oct 17, 2009 2:16 am

Re: Mixed Renderer Sampler

Postby J the Ninja » Wed May 09, 2012 8:58 am

Btw, in 2.6 we don't use the "strength" param, you set large mutation probability directly either way. The advanced option just shows/hides maxrejects and use variance.
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2207
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: Mixed Renderer Sampler

Postby Meelis » Wed May 09, 2012 10:02 am

J the Ninja wrote:Btw, in 2.6 we don't use the "strength" param, you set large mutation probability directly either way. The advanced option just shows/hides maxrejects and use variance.

Look at that, very very nice :D
Lower is newer LuxBlend
Image
User avatar
Meelis
 
Posts: 871
Joined: Sat Oct 17, 2009 2:16 am

Next

Return to Architecture & Design

Who is online

Users browsing this forum: No registered users and 0 guests