<?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: Filter function from argument is not called with user geometries in Intel® Embree Ray Tracing Kernels</title>
    <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Filter-function-from-argument-is-not-called-with-user-geometries/m-p/1506585#M970</link>
    <description>&lt;P&gt;Hi Arthur,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you are right, for user geometry the callback functions must be called explicitly. That's by design and not a bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can check out the user geometry tutorial code (e.g. tutorials/user_geometry/user_geometry_device.cpp:325-330) to see how it's supposed to be implemented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jul 2023 15:07:52 GMT</pubDate>
    <dc:creator>FlorianR_Intel</dc:creator>
    <dc:date>2023-07-20T15:07:52Z</dc:date>
    <item>
      <title>Filter function from argument is not called with user geometries</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Filter-function-from-argument-is-not-called-with-user-geometries/m-p/1506555#M969</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;In our rendering engine, we have created some user geometry objects (using RTC_GEOMETRY_TYPE_USER). It works like a charm, except when it comes to the filter function from argument that is never triggered. It is working for the standard geometry types.&lt;/P&gt;&lt;P&gt;For the details, the engine calls rtcIntersect1 with the custom argument filter set in the third parameter of type&amp;nbsp;RTCIntersectArguments.&amp;nbsp;We also have set rtcSetGeometryEnableFilterFunctionFromArguments( rtcGeom, true) for the user geometries, added&amp;nbsp;RTC_RAY_QUERY_FLAG_INVOKE_ARGUMENT_FILTER to arguments flags, but the filter is sill not called.&lt;/P&gt;&lt;P&gt;Do we have to call explicitly the filter from the custom intersect function of the user geometry? Or something else must be missing ?&lt;/P&gt;&lt;P&gt;Thanks in advance for your answers!&lt;/P&gt;&lt;P&gt;Arthur&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 13:14:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Filter-function-from-argument-is-not-called-with-user-geometries/m-p/1506555#M969</guid>
      <dc:creator>ArthurTaylor</dc:creator>
      <dc:date>2023-07-20T13:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter function from argument is not called with user geometries</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Filter-function-from-argument-is-not-called-with-user-geometries/m-p/1506585#M970</link>
      <description>&lt;P&gt;Hi Arthur,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you are right, for user geometry the callback functions must be called explicitly. That's by design and not a bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can check out the user geometry tutorial code (e.g. tutorials/user_geometry/user_geometry_device.cpp:325-330) to see how it's supposed to be implemented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 15:07:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Filter-function-from-argument-is-not-called-with-user-geometries/m-p/1506585#M970</guid>
      <dc:creator>FlorianR_Intel</dc:creator>
      <dc:date>2023-07-20T15:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filter function from argument is not called with user geometries</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Filter-function-from-argument-is-not-called-with-user-geometries/m-p/1506587#M971</link>
      <description>&lt;P&gt;Ok, thank you very much for your help Florian!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arthur&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 15:10:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Filter-function-from-argument-is-not-called-with-user-geometries/m-p/1506587#M971</guid>
      <dc:creator>ArthurTaylor</dc:creator>
      <dc:date>2023-07-20T15:10:32Z</dc:date>
    </item>
  </channel>
</rss>

