<div dir="ltr">It&#39;s not a hidden feature and it denotes number of light samples per AA sample when branched path tracing is used.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 24, 2015 at 6:22 AM, Mohamed Sakr <span dir="ltr">&lt;<a href="mailto:3dsakr@gmail.com" target="_blank">3dsakr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br>in Blender Cycles, at the exporter, file blender_object.cpp<br>I see this:<br><div><span style="white-space:pre-wrap">        </span>int samples = get_int(clamp, &quot;samples&quot;);</div><div><span style="white-space:pre-wrap">        </span>if(get_boolean(cscene, &quot;use_square_samples&quot;))</div><div><span style="white-space:pre-wrap">                </span>light-&gt;samples = samples * samples;</div><div><span style="white-space:pre-wrap">        </span>else</div><div><span style="white-space:pre-wrap">                </span>light-&gt;samples = samples;<br><br>which means a light can have its own samples independent from camera samples.<br>I wanna know what is the behavior, in this 2 cases:<br>1- camera spp = 100, light spp = 220<br>2- camera spp = 100, light spp = 30<br><br>is it probability? so in case 1 it may lead to 2.2 light samples per 1 camera sample &quot;may be 2 or 3 depending on random number&quot; , or how it works.<br><br>I&#39;m creating an exporter and need to give the user this &quot;hidden&quot; feature per light.<br><br>cheers,<br>Mohamed Sakr</div></div>
<br>_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div><span style="color:rgb(102,102,102)">With best regards, Sergey Sharybin</span></div></div>
</div>