<p dir="ltr"><br>
On Feb 28, 2014 3:45 PM, &quot;Dr. Antoine Cottin&quot; &lt;<a href="mailto:a.cottin@carbomap.com">a.cottin@carbomap.com</a>&gt; wrote:<br>
&gt; &gt; There&#39;s two things I can see missing in Cycles here: support for this<br>
&gt; &gt; light type and the ability to extract the distance. Cycles also only<br>
&gt; &gt; does path tracing, nothing bidirectional. Maybe that&#39;s not enough for<br>
&gt; &gt; you, I&#39;m not sure.<br>
&gt; I&rsquo;m kind of confuse how the distance is not extracted.<br>
&gt; it probably computed somewhere (during intersection computation), no, or at least the intersection coordinates ?...</p>
<p dir="ltr">It&#39;s easily accessible in the shader (Light Path node), and in the source code as well, it&#39;s stored in ShaderData. What I was referring to is writing it out to a render pass. But maybe that&#39;s not even relevant to you, I don&#39;t know how you want to write out data.</p>

<p dir="ltr">Brecht.<br>
</p>