<?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: Occlusion don't seem to work in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/occlusion-don-t-seem-to-work/m-p/1005856#M10063</link>
    <description>&lt;P&gt;I can't seem to reproduce your problem.&amp;nbsp; The occlusion part of your tree code above works for me if I test it against a simple extruded shape created by another rule.&amp;nbsp; Note that the sphere is being tested against the building when the sphere is on the ground level (which maybe you intended).&amp;nbsp; Would it be possible to attach a scene file where you encounter the problem?&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2020 15:35:35 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2020-12-01T15:35:35Z</dc:date>
    <item>
      <title>Occlusion don't seem to work</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/occlusion-don-t-seem-to-work/m-p/757774#M9993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have a occlusion issue, that I haven’t noticed before. It’s a very simple rule with some simple tree crowns, I need them to go away, when they touch a building. Although they clearly touch a building, they are not going to NIL. If I move the tree a bit, and undo the movement, then it works, but I can only do it manually. It doesn’t matter if I update the seed, regenerate or generate the buildings before the trees. Only if a tree crown hits two buildings at the same time, it seems to work, or if I manually move it and undo&lt;/P&gt;&lt;P&gt;Has anyone else experienced that behavior in CE 2020?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Start --&amp;gt;&lt;/P&gt;&lt;P&gt;case Z &amp;lt; 2.5 : NIL&lt;BR /&gt;else : &lt;BR /&gt; primitiveSphere(Detail, Detail, crownWidthRatio)&lt;BR /&gt;s('1,case Z &amp;lt; 3 : Z/2 else : CrownHeight,'1)&lt;BR /&gt;Start2(scope.sy)&lt;BR /&gt; &lt;BR /&gt;Start2(CrownY) --&amp;gt; &lt;BR /&gt; case touches : NIL&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;else : &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FilterAway(CrownY)&lt;BR /&gt; &lt;BR /&gt;FilterAway(CrownY) --&amp;gt;&lt;BR /&gt; t(0,Z-CrownY,0)&lt;BR /&gt; color(0,0.7,0.2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2020 14:49:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/occlusion-don-t-seem-to-work/m-p/757774#M9993</guid>
      <dc:creator>KennethLindhardt1</dc:creator>
      <dc:date>2020-11-10T14:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Occlusion don't seem to work</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/occlusion-don-t-seem-to-work/m-p/1005856#M10063</link>
      <description>&lt;P&gt;I can't seem to reproduce your problem.&amp;nbsp; The occlusion part of your tree code above works for me if I test it against a simple extruded shape created by another rule.&amp;nbsp; Note that the sphere is being tested against the building when the sphere is on the ground level (which maybe you intended).&amp;nbsp; Would it be possible to attach a scene file where you encounter the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 15:35:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/occlusion-don-t-seem-to-work/m-p/1005856#M10063</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2020-12-01T15:35:35Z</dc:date>
    </item>
  </channel>
</rss>

