<?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: Simple Apply Texture rule in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361365#M4941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Texture --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; setupProjection(0, scope.xy, 1, 1) #not necessary for sides&lt;/P&gt;&lt;P&gt;&amp;nbsp; texture("images/bricks.jpg")&lt;/P&gt;&lt;P&gt;&amp;nbsp; projectUV(0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2015 00:55:03 GMT</pubDate>
    <dc:creator>LR</dc:creator>
    <dc:date>2015-02-05T00:55:03Z</dc:date>
    <item>
      <title>Simple Apply Texture rule</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361364#M4940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a simple rule to add textures to flat polygons, similar to the Apply Color rule found in the Essential Skills Training tutorials.&amp;nbsp; Any help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 21:00:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361364#M4940</guid>
      <dc:creator>ScottAulen2</dc:creator>
      <dc:date>2015-02-03T21:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Apply Texture rule</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361365#M4941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Texture --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; setupProjection(0, scope.xy, 1, 1) #not necessary for sides&lt;/P&gt;&lt;P&gt;&amp;nbsp; texture("images/bricks.jpg")&lt;/P&gt;&lt;P&gt;&amp;nbsp; projectUV(0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 00:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361365#M4941</guid>
      <dc:creator>LR</dc:creator>
      <dc:date>2015-02-05T00:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Apply Texture rule</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361366#M4942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is the start shape, then use scope.xz rather than scope.xy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 14:31:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361366#M4942</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-02-05T14:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Apply Texture rule</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361367#M4943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Z R.&amp;nbsp; That worked perfectly.&amp;nbsp; Now what if I want to extrude the polygon slightly (say between 0-5 feet) but still have the textures?&amp;nbsp; It's fine if the texture is the same for the top and sides (in fact that would be preferred).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 20:39:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361367#M4943</guid>
      <dc:creator>ScottAulen2</dc:creator>
      <dc:date>2015-02-05T20:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Apply Texture rule</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361368#M4944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's how I do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Lot --&amp;gt;
&amp;nbsp; extrude(5)
&amp;nbsp; #comp(f){all: Texture} #this would texture everything;
&amp;nbsp; #the stuff below addresses every side on its own. side: also works, to address all sides.
&amp;nbsp; comp(f){
&amp;nbsp; left: rc |
&amp;nbsp; right: rc |
&amp;nbsp; top: Texture |
&amp;nbsp; bottom: rc |
&amp;nbsp; front: rc |
&amp;nbsp; back: rc
&amp;nbsp; }


Texture --&amp;gt;
&amp;nbsp; setupProjection(0, scope.xy, 1, 1)
&amp;nbsp; texture("images/bricks.jpg")
&amp;nbsp; projectUV(0)

rc --&amp;gt; color(rand,rand,rand) &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361368#M4944</guid>
      <dc:creator>LR</dc:creator>
      <dc:date>2021-12-11T16:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Apply Texture rule</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361369#M4945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is correct as well.&amp;nbsp; Thanks again, Z R.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 16:25:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/simple-apply-texture-rule/m-p/361369#M4945</guid>
      <dc:creator>ScottAulen2</dc:creator>
      <dc:date>2015-02-06T16:25:13Z</dc:date>
    </item>
  </channel>
</rss>

