<?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 iterating over leaf nodes in Intel® Embree Ray Tracing Kernels</title>
    <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/iterating-over-leaf-nodes/m-p/801512#M127</link>
    <description>Have a look at this function:&lt;BR /&gt;&lt;BR /&gt;&lt;STYLE type="text/css"&gt;&amp;lt;!--
p, li { white-space: pre-wrap; }
--&amp;gt;&lt;/STYLE&gt;
&lt;PRE&gt;float BVH4&lt;T&gt;::computeStatistics(nodeId_t nodeID, float ap)&lt;/T&gt;&lt;/PRE&gt;&lt;BR /&gt;check what it does to collect statistics by traversing the tree. &lt;BR /&gt;You cannot loop torugh the triangle4 array directly, it might contain unused, uninitialized items in the middle.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Max</description>
    <pubDate>Fri, 15 Jun 2012 11:16:00 GMT</pubDate>
    <dc:creator>Max_Liani</dc:creator>
    <dc:date>2012-06-15T11:16:00Z</dc:date>
    <item>
      <title>iterating over leaf nodes</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/iterating-over-leaf-nodes/m-p/801511#M126</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Is there a way to iterate over all leaf nodes (leaf nodes only) in the BVH tree to access some parameters (such as size, id1, id2, etc)?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm trying to write a function that loops over leaf nodes in the tree and extracts some properties of these nodes, but kinda lost so far.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;any hints and directions are greatly appreciated.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you!&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Jun 2012 07:08:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/iterating-over-leaf-nodes/m-p/801511#M126</guid>
      <dc:creator>khalidsalman</dc:creator>
      <dc:date>2012-06-15T07:08:26Z</dc:date>
    </item>
    <item>
      <title>iterating over leaf nodes</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/iterating-over-leaf-nodes/m-p/801512#M127</link>
      <description>Have a look at this function:&lt;BR /&gt;&lt;BR /&gt;&lt;STYLE type="text/css"&gt;&amp;lt;!--
p, li { white-space: pre-wrap; }
--&amp;gt;&lt;/STYLE&gt;
&lt;PRE&gt;float BVH4&lt;T&gt;::computeStatistics(nodeId_t nodeID, float ap)&lt;/T&gt;&lt;/PRE&gt;&lt;BR /&gt;check what it does to collect statistics by traversing the tree. &lt;BR /&gt;You cannot loop torugh the triangle4 array directly, it might contain unused, uninitialized items in the middle.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Max</description>
      <pubDate>Fri, 15 Jun 2012 11:16:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/iterating-over-leaf-nodes/m-p/801512#M127</guid>
      <dc:creator>Max_Liani</dc:creator>
      <dc:date>2012-06-15T11:16:00Z</dc:date>
    </item>
  </channel>
</rss>

