<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic rtcIntesect with tfar and unnormalized diection vector? in Intel® Embree Ray Tracing Kernels</title>
    <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcIntesect-with-tfar-and-unnormalized-diection-vector/m-p/1029193#M418</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
	&lt;BR /&gt;
	I'd have a very basic question on how to use RTCRay with rtcIntesect: am I required to provide a normalized direction vector?&lt;/P&gt;

&lt;P&gt;And if I don't: how is the value of "tfar" interpreted?&lt;BR /&gt;
	Is the endpoint: ray.tfar * ray.dir?&lt;/P&gt;

&lt;P&gt;I'm trying to use a direction vector with the full length between two points p1 and p2:&lt;BR /&gt;
	ray.dir = p2 - p1;&lt;BR /&gt;
	Can I set ray.tfar = 1 now, assuming that it will travel the whole distance from p1 up to point p2?&lt;/P&gt;

&lt;P&gt;Thanks for clarifying this,&lt;BR /&gt;
	Sönke&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 01 Mar 2015 18:36:04 GMT</pubDate>
    <dc:creator>Sönke_P_</dc:creator>
    <dc:date>2015-03-01T18:36:04Z</dc:date>
    <item>
      <title>rtcIntesect with tfar and unnormalized diection vector?</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcIntesect-with-tfar-and-unnormalized-diection-vector/m-p/1029193#M418</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
	&lt;BR /&gt;
	I'd have a very basic question on how to use RTCRay with rtcIntesect: am I required to provide a normalized direction vector?&lt;/P&gt;

&lt;P&gt;And if I don't: how is the value of "tfar" interpreted?&lt;BR /&gt;
	Is the endpoint: ray.tfar * ray.dir?&lt;/P&gt;

&lt;P&gt;I'm trying to use a direction vector with the full length between two points p1 and p2:&lt;BR /&gt;
	ray.dir = p2 - p1;&lt;BR /&gt;
	Can I set ray.tfar = 1 now, assuming that it will travel the whole distance from p1 up to point p2?&lt;/P&gt;

&lt;P&gt;Thanks for clarifying this,&lt;BR /&gt;
	Sönke&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2015 18:36:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcIntesect-with-tfar-and-unnormalized-diection-vector/m-p/1029193#M418</guid>
      <dc:creator>Sönke_P_</dc:creator>
      <dc:date>2015-03-01T18:36:04Z</dc:date>
    </item>
    <item>
      <title>The ray endpoint is always </title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcIntesect-with-tfar-and-unnormalized-diection-vector/m-p/1029194#M419</link>
      <description>&lt;P&gt;The ray endpoint is always&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;ray.tfar * ray.dir. Thus in your example using tfar=1 will create a ray from p1 to p2.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2015 06:27:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcIntesect-with-tfar-and-unnormalized-diection-vector/m-p/1029194#M419</guid>
      <dc:creator>SvenW_Intel</dc:creator>
      <dc:date>2015-03-02T06:27:55Z</dc:date>
    </item>
  </channel>
</rss>

