<div dir="ltr">Light Falloff node attenuates light energy according to the ray length. What you need instead in order to have laser effect is to attenuate light energy to zero if projection of shading point onto the light source falls outside of the emitting geometry.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 2, 2015 at 1:26 PM, 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">well I guess the best is: the light got a node already &quot;Light Falloff node&quot; , which can represent strength by a texture for objects, here you can also add 1 more input for the cone angle &quot;and it should be used within sampling, instead of the full hemisphere sampling, I expect you would use the spot light cone sampling function here&quot; , this will be totally dynamic with all infinite capabilities.<br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 2, 2015 at 10:18 AM, Sergey Sharybin <span dir="ltr">&lt;<a href="mailto:sergey.vfx@gmail.com" target="_blank">sergey.vfx@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">I&#39;m not sure what exactly spread angle means in this context, you already have it for spot lights and adding spread angle to spot and sun lights is somewhat malformed.<div><br></div><div>What we can do instead is either of:</div><div><br></div><div>- Modify energy function of area light, so it only contributes light inside of a beam defined by it&#39;s area. Should be quite quick hack, but would require some tweaks to PDF to make MIS working correct. Also circular lasers can not be supported by this. This seems exactly what Lux does (maybe internally they actually switching from rectangle to circle tho).</div><div>- Make spot light&#39;s source non-zero. Effectively making it to shoot cylinder instead of a cone. </div><div><br></div><div>We can also go totally crazy ans support Laser option for any object, so even meshes with emission shader can be acting as lasers, making it possible to use laser beam of arbitrary shape.</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Wed, Sep 2, 2015 at 12:56 PM, 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">Hey Sergey,<br><br>I guess we can add a spread angle parameter to lights? &quot;hemisphere cone&quot;</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 1, 2015 at 5:03 PM, Constantin Rahn <span dir="ltr">&lt;<a href="mailto:conz@vrchannel.de" target="_blank">conz@vrchannel.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
It&#39;s not possible with cycles, but it&#39;s available in Luxrender 1.4+ and<br>
an area light with &quot;laser on&quot;.<br>
<a href="http://www.luxrender.net/forum/viewtopic.php?f=16&amp;t=11572" rel="noreferrer" target="_blank">http://www.luxrender.net/forum/viewtopic.php?f=16&amp;t=11572</a><br>
<br>
<a href="http://www.luxrender.net/forum/viewtopic.php?f=12&amp;t=11533" rel="noreferrer" target="_blank">http://www.luxrender.net/forum/viewtopic.php?f=12&amp;t=11533</a><br>
&quot;- add constantinfinite, laser lights&quot;<br>
<br>
Sorry for pointing to other FOS software in the cycles ML. ;)<br>
<span><br>
<br>
Am 01.09.2015 um 16:51 schrieb Zauber Paracelsus:<br>
&gt; The problem with that, however, is that the laser would be visible when<br>
&gt; it is not passing through the mist as well.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 09/01/2015 10:48 AM, Mohamed Sakr wrote:<br>
&gt;&gt; actually this is not possible with lights, your only solution is a<br>
&gt;&gt; cylinder object &quot;acting as your laser light&quot; , and put an emission<br>
&gt;&gt; node in the volume output &quot;leave surface empty&quot;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Sep 1, 2015 at 4:42 PM, Zauber Paracelsus &lt;<a href="mailto:zauber@gridmail.org" target="_blank">zauber@gridmail.org</a><br>
</span><span>&gt;&gt; &lt;mailto:<a href="mailto:zauber@gridmail.org" target="_blank">zauber@gridmail.org</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;     Would it be possible to change the minimum angle width of a spotlight<br>
&gt;&gt;     from one degree to zero?  I was tinkering with a scene filled with<br>
&gt;&gt;     mist,<br>
&gt;&gt;     and wanted to create the effect of laser lights transmitting through<br>
&gt;&gt;     mist, which would scatter their light and make the beam visible.  The<br>
&gt;&gt;     closest light I could think of that would produce the effect was a<br>
&gt;&gt;     spotlight, but due to its minimum angle width of 1 degree, I am<br>
&gt;&gt;     not sure<br>
&gt;&gt;     if I can accomplish the effect.<br>
&gt;&gt;     _______________________________________________<br>
&gt;&gt;     Bf-cycles mailing list<br>
</span>&gt;&gt;     <a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a> &lt;mailto:<a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a>&gt;<br>
<div><div>&gt;&gt;     <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Bf-cycles mailing list<br>
&gt;&gt; <a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
&gt;&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Bf-cycles mailing list<br>
&gt; <a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><div><span style="color:rgb(102,102,102)">With best regards, Sergey Sharybin</span></div></div>
</font></span></div>
<br>_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
<br></blockquote></div><br></div>
</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" rel="noreferrer" 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>