<?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 Re: Barycentric coordinates u v order in Intel® Embree Ray Tracing Kernels</title>
    <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Barycentric-coordinates-u-v-order/m-p/1464932#M954</link>
    <description>&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;For some reasons I skipped the explanation in the doc.&lt;/P&gt;
&lt;P&gt;My ray tracer works beautifully now. +1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 09:02:49 GMT</pubDate>
    <dc:creator>JeanBon1</dc:creator>
    <dc:date>2023-03-13T09:02:49Z</dc:date>
    <item>
      <title>Barycentric coordinates u v order</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Barycentric-coordinates-u-v-order/m-p/1464658#M952</link>
      <description>Hi,
When intersecting with Embree, we get the u and v  coordinates of the hit on the geometric shape (a triangle as far as i am concerned).

Many sources will tell that the world coordinate is P1 = V0 * u + V1 * v + V2 * (1-u-v) and others
 P2 = V0 *  (1-u-v)  + V1 * u + V2 * v;
In my scene, it is P2 that is correct and not P1.

How to make sure which one I should use in Embree ? Is P1 always incorrect ?

Thanks for the clarification,</description>
      <pubDate>Sun, 12 Mar 2023 08:52:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Barycentric-coordinates-u-v-order/m-p/1464658#M952</guid>
      <dc:creator>JeanBon1</dc:creator>
      <dc:date>2023-03-12T08:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Barycentric coordinates u v order</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Barycentric-coordinates-u-v-order/m-p/1464879#M953</link>
      <description>&lt;P&gt;Embree always uses the second formula (&lt;SPAN&gt;V0 * (1-u-v) + V1 * u + V2 * v) for triangles. Please also see documentation section RTC_GEOMETRY_TYPE_TRIANGLE.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 06:26:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Barycentric-coordinates-u-v-order/m-p/1464879#M953</guid>
      <dc:creator>SvenW_Intel</dc:creator>
      <dc:date>2023-03-13T06:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Barycentric coordinates u v order</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Barycentric-coordinates-u-v-order/m-p/1464932#M954</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;For some reasons I skipped the explanation in the doc.&lt;/P&gt;
&lt;P&gt;My ray tracer works beautifully now. +1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 09:02:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Barycentric-coordinates-u-v-order/m-p/1464932#M954</guid>
      <dc:creator>JeanBon1</dc:creator>
      <dc:date>2023-03-13T09:02:49Z</dc:date>
    </item>
  </channel>
</rss>

