[Bf-cycles] the behavior of independent light samples

Sergey Sharybin sergey.vfx at gmail.com
Mon May 25 15:51:24 CEST 2015


It's not a hidden feature and it denotes number of light samples per AA
sample when branched path tracing is used.

On Sun, May 24, 2015 at 6:22 AM, Mohamed Sakr <3dsakr at gmail.com> wrote:

> Hi,
> in Blender Cycles, at the exporter, file blender_object.cpp
> I see this:
> int samples = get_int(clamp, "samples");
> if(get_boolean(cscene, "use_square_samples"))
> light->samples = samples * samples;
> else
> light->samples = samples;
>
> which means a light can have its own samples independent from camera
> samples.
> I wanna know what is the behavior, in this 2 cases:
> 1- camera spp = 100, light spp = 220
> 2- camera spp = 100, light spp = 30
>
> is it probability? so in case 1 it may lead to 2.2 light samples per 1
> camera sample "may be 2 or 3 depending on random number" , or how it works.
>
> I'm creating an exporter and need to give the user this "hidden" feature
> per light.
>
> cheers,
> Mohamed Sakr
>
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org
> http://lists.blender.org/mailman/listinfo/bf-cycles
>
>


-- 
With best regards, Sergey Sharybin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20150525/592d2aa4/attachment.htm 


More information about the Bf-cycles mailing list