<?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: Cityengine - textured roofs in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-textured-roofs/m-p/682262#M8984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CityEngine does not support 25x25k textures. It works different as a GIS system that only loads what is visible for the screen space. In CityEngine, this entire (huge!) file has to be loaded onto your graphics card which certainly has not enough memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a precaution measure of CityEngine. Please reduce the file to 6000x6000 pixels (cells), then it should work, otherwise go even lower (4000x4000). Use this lower resolution as a temporary file to work with&amp;nbsp;in CityEngine and in the end, in your target application, go back to the full resolution (if it is supported there).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #a6a6a6;"&gt;------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt; &lt;STRONG style="color: #262626; font-size: 10.0pt; "&gt;matthias buehler&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: #a6a6a6;"&gt;&amp;nbsp;|| ceo &amp;amp; co-founder || msc. arch. eth zurich&lt;BR /&gt; ------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #262626;"&gt;&lt;BR /&gt; &lt;STRONG&gt;vrbn AG – official esri partner&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #a6a6a6;"&gt;||&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;A href="http://www.vrbn.io/"&gt;&lt;SPAN style="font-size: 10.0pt; color: #a6a6a6;"&gt;www.vrbn.io&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #a6a6a6;"&gt;&amp;nbsp;|| winterthurerstrasse 53 || 8610 uster || switzerland&lt;BR /&gt; +41 78 930 04 07 ||&amp;nbsp;&lt;A href="mailto:matthias.buehler@vrbn.io"&gt;&lt;SPAN style="color: purple;"&gt;matthias.buehler@vrbn.io&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;|| @vrbnio @mattb3d&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Apr 2019 16:20:33 GMT</pubDate>
    <dc:creator>MatthiasBuehler3</dc:creator>
    <dc:date>2019-04-28T16:20:33Z</dc:date>
    <item>
      <title>Cityengine - textured roofs</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-textured-roofs/m-p/682261#M8983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with texturing the roofs of buildings. I have orthophotomap with resolution 5cm (25000 x 20000 pixels) and buildings.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I did an automatic texturization of the roofs following the next code (by this page &lt;A href="https://www.geoplanit.co.uk/?p=470):"&gt;https://www.geoplanit.co.uk/?p=470):&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# dimension of the satellite map&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;const mapdimension_x = 1251 #change this to satellite image details&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;const mapdimension_z = 1001 #change this to satellite image details&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# offset of the satellite map&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;const mapoffset_x = -753750.290 #change this to satellite image details&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;const mapoffset_z = 1038999.780 #change this to satellite image details&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Lot--&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;extrude(rand(0,0)) Mass&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Mass --&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# split building mass into roof and side faces&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;comp(f){top : Roof | side : Facade}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Roof --&amp;gt; Rooftex&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Rooftex --&amp;gt; &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;setupProjection(0, world.xz, mapdimension_x, mapdimension_z) &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;set(material.colormap, "images/KLADNO_1_9_4.tif") #change this &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;projectUV(0) &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;translateUV(0, -mapoffset_x/mapdimension_x, -mapoffset_z/mapdimension_z) &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;scaleUV(0,1,-1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The roofs were textured, but their resolution is low. I send pictures original orthophoto and textured roof for example.&lt;/P&gt;&lt;P&gt;Is there any way to get the same resolution on the roofs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Mgr. Kristýna Lihanová&lt;IMG alt="Original orthophoto" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/443890_obr_2.jpg" /&gt;&lt;IMG alt="Textured roof" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/443915_obr_1.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 08:27:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-textured-roofs/m-p/682261#M8983</guid>
      <dc:creator>KristýnaLihanová</dc:creator>
      <dc:date>2019-04-25T08:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cityengine - textured roofs</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-textured-roofs/m-p/682262#M8984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CityEngine does not support 25x25k textures. It works different as a GIS system that only loads what is visible for the screen space. In CityEngine, this entire (huge!) file has to be loaded onto your graphics card which certainly has not enough memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a precaution measure of CityEngine. Please reduce the file to 6000x6000 pixels (cells), then it should work, otherwise go even lower (4000x4000). Use this lower resolution as a temporary file to work with&amp;nbsp;in CityEngine and in the end, in your target application, go back to the full resolution (if it is supported there).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #a6a6a6;"&gt;------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt; &lt;STRONG style="color: #262626; font-size: 10.0pt; "&gt;matthias buehler&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: #a6a6a6;"&gt;&amp;nbsp;|| ceo &amp;amp; co-founder || msc. arch. eth zurich&lt;BR /&gt; ------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #262626;"&gt;&lt;BR /&gt; &lt;STRONG&gt;vrbn AG – official esri partner&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #a6a6a6;"&gt;||&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;A href="http://www.vrbn.io/"&gt;&lt;SPAN style="font-size: 10.0pt; color: #a6a6a6;"&gt;www.vrbn.io&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #a6a6a6;"&gt;&amp;nbsp;|| winterthurerstrasse 53 || 8610 uster || switzerland&lt;BR /&gt; +41 78 930 04 07 ||&amp;nbsp;&lt;A href="mailto:matthias.buehler@vrbn.io"&gt;&lt;SPAN style="color: purple;"&gt;matthias.buehler@vrbn.io&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;|| @vrbnio @mattb3d&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Apr 2019 16:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-textured-roofs/m-p/682262#M8984</guid>
      <dc:creator>MatthiasBuehler3</dc:creator>
      <dc:date>2019-04-28T16:20:33Z</dc:date>
    </item>
  </channel>
</rss>

