<?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: Importance sampling env in Arnold General Rendering Forum</title>
    <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/importance-sampling-env/m-p/12763834#M185</link>
    <description>&lt;P&gt;I haven't double checked if this works, but maybe this works? I think the AtShaderGlobals shading context in the shader will have AI_CONTEXT_IMPORTANCE when it's being run through the skydome light.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;if (sg-&amp;gt;sc == AI_CONTEXT_IMPORTANCE)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2024 23:21:41 GMT</pubDate>
    <dc:creator>thiago.ize</dc:creator>
    <dc:date>2024-05-09T23:21:41Z</dc:date>
    <item>
      <title>Importance sampling env</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/importance-sampling-env/m-p/12763819#M184</link>
      <description>&lt;P&gt;Hi, is there a way to detect a shader is being called when arnold is importance sampling the skydome where the shader is attached to ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 23:10:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/importance-sampling-env/m-p/12763819#M184</guid>
      <dc:creator>maxtarpini</dc:creator>
      <dc:date>2024-05-09T23:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Importance sampling env</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/importance-sampling-env/m-p/12763834#M185</link>
      <description>&lt;P&gt;I haven't double checked if this works, but maybe this works? I think the AtShaderGlobals shading context in the shader will have AI_CONTEXT_IMPORTANCE when it's being run through the skydome light.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;if (sg-&amp;gt;sc == AI_CONTEXT_IMPORTANCE)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 23:21:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/importance-sampling-env/m-p/12763834#M185</guid>
      <dc:creator>thiago.ize</dc:creator>
      <dc:date>2024-05-09T23:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Importance sampling env</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/importance-sampling-env/m-p/12765284#M186</link>
      <description>&lt;P&gt;Exactly what I was looking for, t&lt;SPAN&gt;hanks Tiago, works a bunch !&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":vulcan_salute:"&gt;🖖&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 15:53:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/importance-sampling-env/m-p/12765284#M186</guid>
      <dc:creator>maxtarpini</dc:creator>
      <dc:date>2024-05-10T15:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Importance sampling env</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/importance-sampling-env/m-p/12770605#M187</link>
      <description>&lt;P&gt;Btw, Arnold does not stop when importance sampling the environment after i.e. a cancel render has been invoked. The 'abort signal' is received only when importance sampling is done. It's almost never a problem with bitmaps but with heavy computations in the attached shader (that could even be a user try or error) it starts to. This way Arnold can get stuck at any time when 'experimenting' with a shader network for example.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 21:56:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/importance-sampling-env/m-p/12770605#M187</guid>
      <dc:creator>maxtarpini</dc:creator>
      <dc:date>2024-05-13T21:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Importance sampling env</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/importance-sampling-env/m-p/12776213#M188</link>
      <description>&lt;P&gt;Yes, aborting the skydome_light importance map computation would be nice. We actually did briefly consider this many years ago but because at the time it was surprisingly tricky to do right, we postponed that in favor of other higher priority work. If enough people ask for it, we can bump up it's priority.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the meantime, a workaround while modifying values is to temporarily lower the skydome_light.resolution so that modifications happen more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 23:14:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/importance-sampling-env/m-p/12776213#M188</guid>
      <dc:creator>thiago.ize</dc:creator>
      <dc:date>2024-05-15T23:14:20Z</dc:date>
    </item>
  </channel>
</rss>

