<?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: Flickering colours in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/flickering-colours/m-p/1127978#M10375</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;so i wanted to color my ground, but if i use the color operation the Origin shape dosen´t dissipiere. Instet both colored and origin shape exist as&amp;nbsp;&lt;SPAN&gt;co-planar polygons.&lt;BR /&gt;&lt;BR /&gt;even if I extrude them und NIL the bottom the Origin shape stays.&lt;BR /&gt;&lt;BR /&gt;Is there an Option so i can see the Rule Results without the origin Shape?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 13:38:40 GMT</pubDate>
    <dc:creator>DavidGisa</dc:creator>
    <dc:date>2021-12-21T13:38:40Z</dc:date>
    <item>
      <title>Flickering colours</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/flickering-colours/m-p/205616#M2721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently trying to recreate something similar to the Esri Campus ( &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=9c0e319bfaff4d33a0fe2da97c2c3fd7"&gt;http://www.arcgis.com/home/item.html?id=9c0e319bfaff4d33a0fe2da97c2c3fd7&lt;/A&gt;&lt;SPAN&gt;). I am currently using CGA to colour the floor by the room usage however when I do, the colour flickers in both CityEngine itself and in a web scene. Is this my graphics card suffering or is there a way around this in order to create solid colour?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]29909[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr orange = "#ffc04c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr grey = "#dadae3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr blue = "#00c6bd"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr beige = "#f5f5dc"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr green = "#7aa37a"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr Type = ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lot --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;case Type == "Lift":&amp;nbsp; color(blue)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;case Type == "Bathroom" : color(orange)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;case Type == "Meeting Room" : color(beige)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;case Type == "Storage" : color (green)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else : color(grey)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caroline&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 13:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/flickering-colours/m-p/205616#M2721</guid>
      <dc:creator>CarolineSteer</dc:creator>
      <dc:date>2013-12-16T13:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Flickering colours</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/flickering-colours/m-p/205617#M2722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're creating polygons which are exactly on top of each other, so-called 'co-planar polygons'. In 3d, it's not possible to just hide some polygons by 'layering' as e.g. in Photoshop or 'painting over regions'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When 2 polygons are coplanar, these display-issues come up. It's an effect called 'z-fighting'. The problem is that the graphics card tries do display both polygons ( both are valid of course ). so in some small regions, one polygon is shown, in an other small region, the other polygon is shown, causing that 'flickering'. That's a fundamental thing that cannot be solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ONLY way to fix this is to separate the polygons a bit spatially.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. move the floor polygons 1 cm up or move the white big polygon 1 cm down&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Shape --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; alignScopeToAxes(y)
&amp;nbsp;&amp;nbsp;&amp;nbsp; t (0,-.01,0)
&amp;nbsp;&amp;nbsp;&amp;nbsp; Done.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/flickering-colours/m-p/205617#M2722</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2021-12-11T10:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Flickering colours</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/flickering-colours/m-p/1127978#M10375</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;so i wanted to color my ground, but if i use the color operation the Origin shape dosen´t dissipiere. Instet both colored and origin shape exist as&amp;nbsp;&lt;SPAN&gt;co-planar polygons.&lt;BR /&gt;&lt;BR /&gt;even if I extrude them und NIL the bottom the Origin shape stays.&lt;BR /&gt;&lt;BR /&gt;Is there an Option so i can see the Rule Results without the origin Shape?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 13:38:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/flickering-colours/m-p/1127978#M10375</guid>
      <dc:creator>DavidGisa</dc:creator>
      <dc:date>2021-12-21T13:38:40Z</dc:date>
    </item>
  </channel>
</rss>

