<?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: Roof UV Texture in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/roof-uv-texture/m-p/102554#M1409</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;PRE class="lia-code-sample line-numbers language-none"&gt;Lot --&amp;gt;
 extrude(world.y, 20)
 comp(f){side: Facade. | top: Roof}

Roof --&amp;gt;
 roofHip(30)
 comp(f) {all : RoofPlane}

RoofPlane --&amp;gt;
 alignScopeToGeometry(yUp, any, world.lowest)
 setupProjection(0, scope.xz, '1, '-1) # or absolute dimensions ..
 projectUV(0)
 texture("builtin:uvtest.png")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ? &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 06:19:08 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2021-12-11T06:19:08Z</dc:date>
    <item>
      <title>Roof UV Texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/roof-uv-texture/m-p/102553#M1408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to make my UV texture for the roof, but stretching occurred and its not symmetrical on all sides.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way where the texture can be neat and not stretched ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 05:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/roof-uv-texture/m-p/102553#M1408</guid>
      <dc:creator>ziadfilfili</dc:creator>
      <dc:date>2012-11-07T05:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Roof UV Texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/roof-uv-texture/m-p/102554#M1409</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;PRE class="lia-code-sample line-numbers language-none"&gt;Lot --&amp;gt;
 extrude(world.y, 20)
 comp(f){side: Facade. | top: Roof}

Roof --&amp;gt;
 roofHip(30)
 comp(f) {all : RoofPlane}

RoofPlane --&amp;gt;
 alignScopeToGeometry(yUp, any, world.lowest)
 setupProjection(0, scope.xz, '1, '-1) # or absolute dimensions ..
 projectUV(0)
 texture("builtin:uvtest.png")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ? &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:19:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/roof-uv-texture/m-p/102554#M1409</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2021-12-11T06:19:08Z</dc:date>
    </item>
  </channel>
</rss>

