<?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 rtcSetTransform  instance positioning in Intel® Embree Ray Tracing Kernels</title>
    <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcSetTransform-instance-positioning/m-p/1056682#M513</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;How do the positioning of instances exactly work? I know that rtcSetTransform convert from local to world space, but positioning seems very weird. Let me explain what I do and what it does...&lt;/P&gt;

&lt;P&gt;I create a cube at&amp;nbsp;origin (0,0,0) and instantiate it at (10,0,0) all works well. If I rotate the instance, all works well.&lt;/P&gt;

&lt;P&gt;Now, create the cube at origin (100,50,-300) and instantiate it at (10,0,0) (which I assume it is the offset from the master)&amp;nbsp;again all works well, the instance is positioned at origin+(10,0,0). BUT, if I rotate the instance, it is no longer positioned at origin+(10,0,0), it is way out some place not even close to where it should be!&lt;/P&gt;

&lt;P&gt;The documentation doesn't explain anything about this. Can anyone please explain to me what I'm doing wrong?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;-Al&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jul 2014 19:46:12 GMT</pubDate>
    <dc:creator>Al_N_</dc:creator>
    <dc:date>2014-07-07T19:46:12Z</dc:date>
    <item>
      <title>rtcSetTransform  instance positioning</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcSetTransform-instance-positioning/m-p/1056682#M513</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;How do the positioning of instances exactly work? I know that rtcSetTransform convert from local to world space, but positioning seems very weird. Let me explain what I do and what it does...&lt;/P&gt;

&lt;P&gt;I create a cube at&amp;nbsp;origin (0,0,0) and instantiate it at (10,0,0) all works well. If I rotate the instance, all works well.&lt;/P&gt;

&lt;P&gt;Now, create the cube at origin (100,50,-300) and instantiate it at (10,0,0) (which I assume it is the offset from the master)&amp;nbsp;again all works well, the instance is positioned at origin+(10,0,0). BUT, if I rotate the instance, it is no longer positioned at origin+(10,0,0), it is way out some place not even close to where it should be!&lt;/P&gt;

&lt;P&gt;The documentation doesn't explain anything about this. Can anyone please explain to me what I'm doing wrong?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;-Al&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2014 19:46:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcSetTransform-instance-positioning/m-p/1056682#M513</guid>
      <dc:creator>Al_N_</dc:creator>
      <dc:date>2014-07-07T19:46:12Z</dc:date>
    </item>
  </channel>
</rss>

