<?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 Yes, I am using the Embree in Intel® Embree Ray Tracing Kernels</title>
    <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Release-texture-memory/m-p/1102296#M596</link>
    <description>&lt;P&gt;Yes, I am using the Embree Renderer example. I see that it is now surprisingly unsupported, even being a nice starting point. But then, my changes are working nicely, except for the fact that I can't find a way to free texture memory when I update them, causing huge memory leaks.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Apparently, rtClear() does nothing?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2016 15:00:00 GMT</pubDate>
    <dc:creator>Bill_C_</dc:creator>
    <dc:date>2016-08-29T15:00:00Z</dc:date>
    <item>
      <title>Release texture memory</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Release-texture-memory/m-p/1102294#M594</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I would like to know what is the correct way to release memory used by a texture/image pair. Currently I am using:&lt;/P&gt;

&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;g_device-&amp;gt;rtClear(g_images[index]);

g_device-&amp;gt;rtClear(g_textures[index]);&lt;/PRE&gt;

&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Assuming that I correctly store both images and textures handles when I create them, is the above enough to clear the memory used by those two handles, when I need to?&lt;/P&gt;

&lt;P&gt;My current application needs to update textures frequently, so I need to release their Embree memory, but the above is apparently not working.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 22:39:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Release-texture-memory/m-p/1102294#M594</guid>
      <dc:creator>Bill_C_</dc:creator>
      <dc:date>2016-08-18T22:39:12Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Release-texture-memory/m-p/1102295#M595</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Embree itself does not support textures or framebuffers as it is just a collection of high performance ray tracing kernels. Textures and framebuffer-handling has to be done by the application (e.g. the Embree tutorials). Did you try to extend/modify one of the Embree tutorials? &amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 08:11:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Release-texture-memory/m-p/1102295#M595</guid>
      <dc:creator>BenthinC_Intel</dc:creator>
      <dc:date>2016-08-23T08:11:44Z</dc:date>
    </item>
    <item>
      <title>Yes, I am using the Embree</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Release-texture-memory/m-p/1102296#M596</link>
      <description>&lt;P&gt;Yes, I am using the Embree Renderer example. I see that it is now surprisingly unsupported, even being a nice starting point. But then, my changes are working nicely, except for the fact that I can't find a way to free texture memory when I update them, causing huge memory leaks.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Apparently, rtClear() does nothing?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 15:00:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Release-texture-memory/m-p/1102296#M596</guid>
      <dc:creator>Bill_C_</dc:creator>
      <dc:date>2016-08-29T15:00:00Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Release-texture-memory/m-p/1102297#M597</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm sorry but the Embree renderer is&amp;nbsp;obsolete and unsupported. We haven't touched the code for years and I'm not even sure that freeing texture memory was ever implemented, as it was just a simple example renderer to showcase the Embree kernels. As an alternative we have a much smaller and simpler path tracer (without texture support) now included in our Embree tutorials. If you are looking for a more complete path tracer you might want to have a look at the OSPray project (http://www.ospray.org/​).&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 17:35:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Release-texture-memory/m-p/1102297#M597</guid>
      <dc:creator>BenthinC_Intel</dc:creator>
      <dc:date>2016-08-29T17:35:43Z</dc:date>
    </item>
  </channel>
</rss>

