<?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: Inconsistent and non-updating occlusion query results (CE 2017.0) in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/inconsistent-and-non-updating-occlusion-query/m-p/587720#M7948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some investigation, we found that this is a bug. &amp;nbsp;The bug is due to imprecision at large scales. &amp;nbsp;For example, if&amp;nbsp;you scale down the stuff in the scene so that the buildings are more like real-world building sizes, then the accuracy will be better, and it won't behave like it does in the screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing your project and helping us find this bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Sep 2017 11:21:18 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2017-09-01T11:21:18Z</dc:date>
    <item>
      <title>Inconsistent and non-updating occlusion query results (CE 2017.0)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inconsistent-and-non-updating-occlusion-query/m-p/587716#M7944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having trouble generating consistent query results. They're mostly correct where there's clear overlapping, but at the edges of the target&amp;nbsp;object I get random results that are nowhere near it. Also, sometimes a querying object that's very far away from the target triggers as well.&amp;nbsp;I've tried classic touches(), touches with label as well as overlaps(), with and without label - these all lead to the same result (screenshots 00-03).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, I can only do one initial query. When I change the size of the target of the query&amp;nbsp;and regenerate the checking objects, they still behave like I didn't change the target at all (04). However, when I save the scene and reopen it, the query is performed against the changed target - but any changes to it are again ignored. The random results described above repeat as well (05-06).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, what's the reasoning behind this decision (from the changelog): &lt;EM&gt;shapes of a scenario are not considered by queries of default shapes&lt;/EM&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 12:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inconsistent-and-non-updating-occlusion-query/m-p/587716#M7944</guid>
      <dc:creator>LR</dc:creator>
      <dc:date>2017-07-11T12:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent and non-updating occlusion query results (CE 2017.0)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inconsistent-and-non-updating-occlusion-query/m-p/587717#M7945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your questions.&lt;/P&gt;&lt;P&gt;For the 2017.0 release of CityEngine the capabilities of Context Queries have been extended. One new feature is the possibility to check a labeled geometry. The &lt;A class="link-titled" href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/cga_changelog.html" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/cga_changelog.html"&gt;CGA Changelog&lt;/A&gt; gives a complete overview of all those new features and enhancements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The some effects you are describing might be caused by a performance setting in the CityEngine preferences for the&amp;nbsp; &lt;A class="link-titled" href="http://cehelp.esri.com/help/index.jsp?topic=/com.procedural.cityengine.help/html/manual/ui/cep/grammarcore.html" title="http://cehelp.esri.com/help/index.jsp?topic=/com.procedural.cityengine.help/html/manual/ui/cep/grammarcore.html"&gt;Procedural Runtime&lt;/A&gt; . Edit &amp;gt; Preferences &amp;gt; General &amp;gt; Procedural Runtime &amp;gt; Occlusion and Context&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/364230_pastedImage_4.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The default value for Neighborhood distance for inter-occlusion is 1.0.&lt;/P&gt;&lt;P&gt;This means that occlusion testing with the target only happens with checking objects whose initial shapes are within 1m.&lt;/P&gt;&lt;P&gt;Please try if changing the setting is enhancing the accuracy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't help, please provide more information about the initial shapes you are using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:31:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inconsistent-and-non-updating-occlusion-query/m-p/587717#M7945</guid>
      <dc:creator>ThomasFuchs</dc:creator>
      <dc:date>2017-07-25T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent and non-updating occlusion query results (CE 2017.0)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inconsistent-and-non-updating-occlusion-query/m-p/587718#M7946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are actually many possible issues that could be happening besides the one that Thomas mentioned. &amp;nbsp;There could also be a bug. &amp;nbsp;In order to help find out what's going on, would it be possible to post your scene and rules?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is the dome shape being enlarged in 04?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the help doc:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/cga_context.html" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/cga_context.html"&gt;Context (and Occlusion) Queries&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;UL style="color: #000000; background-color: #ffffff; font-size: 14.4px; margin-left: 35px; margin-top: 10px;"&gt;&lt;LI style="margin: 0px 0px 4px;"&gt;Shapes of a scenario are&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;considered by queries of default shapes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&amp;gt; This is because we do not want the default set to be influenced by any other scenario. &amp;nbsp;For example, we do not want scenario 1&amp;nbsp;to influence the default shapes. &amp;nbsp;If this were the case, then, when you look at scenario&amp;nbsp;2, you would see default shapes that were influenced by scenario 1, and this is not good. &amp;nbsp;We want each scenario to be independent of the other scenarios, and we want the default shapes to be the same in each scenario. &amp;nbsp;The default objects should not change depending on what scenario you are looking at.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 11:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inconsistent-and-non-updating-occlusion-query/m-p/587718#M7946</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2017-07-25T11:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent and non-updating occlusion query results (CE 2017.0)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inconsistent-and-non-updating-occlusion-query/m-p/587719#M7947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A&amp;nbsp;little update: the second problem fixed itself somehow. Changing the shape is being recognized by the buildings without having to reopen the scene. I can't quite tell how it fixed itself, not even power cycling the machine changed anything before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first problem persists, however - at least when I update the seed and generate. See attached project. I left some screenshots in the image folder as well. The initial ground shapes were made with CE (rectangle, then subdivided). Everything else is rule-driven. Options were left at default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;CLau-esristaff wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; This is because we do not want the default set to be influenced by any other scenario. &amp;nbsp;For example, we do not want scenario 1&amp;nbsp;to influence the default shapes. &amp;nbsp;If this were the case, then, when you look at scenario&amp;nbsp;2, you would see default shapes that were influenced by scenario 1, and this is not good. &amp;nbsp;We want each scenario to be independent of the other scenarios, and we want the default shapes to be the same in each scenario. &amp;nbsp;The default objects should not change depending on what scenario you are looking at.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Understandable, but this prevents scenarios that show in what ways different&amp;nbsp;setups would impact the default shapes. I guess they'd have to be instanced for every scenario in that case, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 14:55:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inconsistent-and-non-updating-occlusion-query/m-p/587719#M7947</guid>
      <dc:creator>LR</dc:creator>
      <dc:date>2017-07-25T14:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent and non-updating occlusion query results (CE 2017.0)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inconsistent-and-non-updating-occlusion-query/m-p/587720#M7948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some investigation, we found that this is a bug. &amp;nbsp;The bug is due to imprecision at large scales. &amp;nbsp;For example, if&amp;nbsp;you scale down the stuff in the scene so that the buildings are more like real-world building sizes, then the accuracy will be better, and it won't behave like it does in the screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing your project and helping us find this bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 11:21:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inconsistent-and-non-updating-occlusion-query/m-p/587720#M7948</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2017-09-01T11:21:18Z</dc:date>
    </item>
  </channel>
</rss>

