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