<?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: Broken Building Texture in Scene Viewer in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/broken-building-texture-in-scene-viewer/m-p/1354802#M11230</link>
    <description>&lt;P&gt;Thanks&amp;nbsp; &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/488390"&gt;@plfontes&lt;/a&gt; and&amp;nbsp; &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/456972"&gt;@JonasObertuefer&lt;/a&gt; for the response. Apparently, the polygon had an extended vertex which was causing the issue. I really appreciate your support.&lt;/P&gt;&lt;P&gt;-Mostahidul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 19:23:25 GMT</pubDate>
    <dc:creator>MostahidulAlam</dc:creator>
    <dc:date>2023-11-29T19:23:25Z</dc:date>
    <item>
      <title>Broken Building Texture in Scene Viewer</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/broken-building-texture-in-scene-viewer/m-p/1351626#M11222</link>
      <description>&lt;P&gt;My team and I are currently working on exporting a CityEngine model in ESRI Scene Layer Package (slpk) format and uploading it to ArcGIS Online for visualization in the Scene Viewer. When most buildings of the model appear as designed, we have encountered an issue with one specific building, as shown in the attached image. All the middle buildings in other blocks share the same CGA rule and textures, and they are showing up correctly. However, in the case of this particular building, all the textures appear to be broken.&lt;/P&gt;&lt;P&gt;We tried to address this by removing the problematic building and replacing it with a copy of a similar building from the next block. Surprisingly, the issue persisted even with the replacement. &lt;STRONG&gt;FYI&lt;/STRONG&gt;, this building looks correct in CityEngine. The problem only comes up when viewing the model in ArcGIS Online Scene Viewer.&lt;/P&gt;&lt;P&gt;If anyone has insights into the potential cause of this issue or suggestions for resolving it, your input would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Picture1.png" style="width: 936px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/86590i2D9C5658D4C00272/image-size/large?v=v2&amp;amp;px=999" role="button" title="Picture1.png" alt="Picture1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 18:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/broken-building-texture-in-scene-viewer/m-p/1351626#M11222</guid>
      <dc:creator>MostahidulAlam</dc:creator>
      <dc:date>2023-11-20T18:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Broken Building Texture in Scene Viewer</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/broken-building-texture-in-scene-viewer/m-p/1351869#M11223</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/740638"&gt;@MostahidulAlam&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;My first impression is that the initial shape may have problems. I would check if the shape isn't duplicated or if all vertices from the initial shape are not overlapping/duplicated at any point.&lt;BR /&gt;Hope this makes sense.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 10:08:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/broken-building-texture-in-scene-viewer/m-p/1351869#M11223</guid>
      <dc:creator>plfontes</dc:creator>
      <dc:date>2023-11-21T10:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Broken Building Texture in Scene Viewer</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/broken-building-texture-in-scene-viewer/m-p/1351876#M11224</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/740638"&gt;@MostahidulAlam&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The reason could also be that you have a shapes with two vertices only in this area of the broken export.&lt;/P&gt;&lt;P&gt;For CityEngine a valid geometry needs to have at least three vertices. In theory it's not possible to create such shapes in CityEngine but apparently there are still rare cases where it's possible to create them.&lt;/P&gt;&lt;P&gt;You can check for such invalid shapes using this python script:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from scripting import *

# get a CityEngine instance
ce = CE()

if __name__ == '__main__':
    shapes = ce.getObjectsFrom(ce.scene, ce.isShape)
    selection = []
    for shape in shapes:
        if len(ce.getVertices(shape)) &amp;lt; 9:
            selection.append(shape)
            print("invalid geometry found! OID: " + ce.getOID(shape))
    ce.setSelection(selection)
    print("done")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 10:47:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/broken-building-texture-in-scene-viewer/m-p/1351876#M11224</guid>
      <dc:creator>JonasObertuefer</dc:creator>
      <dc:date>2023-11-21T10:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Broken Building Texture in Scene Viewer</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/broken-building-texture-in-scene-viewer/m-p/1354802#M11230</link>
      <description>&lt;P&gt;Thanks&amp;nbsp; &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/488390"&gt;@plfontes&lt;/a&gt; and&amp;nbsp; &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/456972"&gt;@JonasObertuefer&lt;/a&gt; for the response. Apparently, the polygon had an extended vertex which was causing the issue. I really appreciate your support.&lt;/P&gt;&lt;P&gt;-Mostahidul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 19:23:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/broken-building-texture-in-scene-viewer/m-p/1354802#M11230</guid>
      <dc:creator>MostahidulAlam</dc:creator>
      <dc:date>2023-11-29T19:23:25Z</dc:date>
    </item>
  </channel>
</rss>

