<?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: building rule with texture in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464027#M6301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a related question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does uv projection behave differently on different uvSets? For example, just by changing from 0 to 2 the tiling automatically changes, and the sides of the roof lose their texture (see attached screenshots)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it not possible to use the dirtmap channel if your facade is already broken into separate faces? I guess you're not supposed to be texturing at that point anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Walls --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; alignScopeToAxes ()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; setupProjection(0,world.xy,tile,tile,0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; texture(dirtTex)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; projectUV(0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Walls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Oct 2011 19:58:21 GMT</pubDate>
    <dc:creator>MarieSaldana1</dc:creator>
    <dc:date>2011-10-25T19:58:21Z</dc:date>
    <item>
      <title>Building Rule with Texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464023#M6297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I m new with CityEngine, and also with this kind of scripting...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found in the old forum this script for a rule file for a simple shape with a border on the roof:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attr height = 21&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr parapet_height = 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr parapet_width = .25&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lot --&amp;gt; extrude(height)Building&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building --&amp;gt; comp(f) { front : Facade | side : Sidefacade | top : Roof | bottom : Base}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Base --&amp;gt; NIL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roof --&amp;gt; offset(-parapet_width)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; comp(f) { inside: color("#fff000") I | border: O }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I --&amp;gt; t(0, 0, -parapet_height)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;extrude (parapet_height) Rmass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rmass --&amp;gt; comp(f) { vertical : Rside | bottom : Rbase | top : Rtop }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rtop --&amp;gt; NIL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now i tried to combine it with texture on the roof. Somehow it doesnt work,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attr height = 21&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr parapet_height = 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr parapet_width = .25&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lot --&amp;gt; extrude(height)Building&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building --&amp;gt; comp(f) { front : Facade | side : Sidefacade | top : Roof | bottom : Base}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Base --&amp;gt; NIL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roof --&amp;gt; offset(-parapet_width)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; comp(f) { inside: color("#fff000") I | border: O }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; (here i would like to change it for a texture, but than the roof doesnt work anymoore)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I --&amp;gt; t(0, 0, -parapet_height)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;extrude (parapet_height) Rmass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rmass --&amp;gt; comp(f) { vertical : Rside | bottom : Rbase | top : Rtop }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rtop --&amp;gt; NIL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;does anyone have a solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 18:21:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464023#M6297</guid>
      <dc:creator>Toni_ChristineNeumann</dc:creator>
      <dc:date>2011-10-20T18:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: building rule with texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464024#M6298</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;SPAN&gt;I rewrote the complete example with proper code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course the code is longer, but it also deals with all the issues correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ see also attached files ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;lemme know if you have questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
attr buildingHeight = 20
attr facadeColor = "#ffdddd"
attr roofColor = "#444444"
attr roofInnerColor = "#eeeeee"
attr roofWallThickness = 0.3
attr roofWallHeight = 0.65

attr facadeTexDimHorizontal = 6
attr facadeTexDimVertical = 4

facadeTex = "assets/wall.c.06.jpg"
dirtTex = "assets/dirtmap.15.jpg"

Lot --&amp;gt;
 extrude (world.y, buildingHeight)
 comp(f) {side : Facade | top : Roof}

Facade --&amp;gt;
 # color
 color(facadeColor)
 # texture, UV set 0
 setupProjection(0, scope.xy, facadeTexDimHorizontal, facadeTexDimVertical) # scope is zUp after comp(f) !
 projectUV(0)
 texture ( facadeTex )
 # dirt, UV set 2
 setupProjection(2, scope.xy, '1, '1)
 projectUV(2)
 set (material.dirtmap, dirtTex )
 translateUV(2, rand(1), 0) # offset the texture slightly to the right. range between 0 and 1, "1 full texture tile".

Roof --&amp;gt;
 offset ( - roofWallThickness)
 comp(f) {inside : RoofSurface | border : RoofWallInner}

RoofSurface --&amp;gt;
 t(0,0,-roofWallHeight) # scope is oriented zUP after a comp(f), thus I move down in z !
 extrude(world.y, roofWallHeight)
 comp(f) {top : NIL | bottom : RoofFloor | all : RoofWallInner}

RoofFloor --&amp;gt;
 color(roofColor)
 setupProjection(2, scope.xy, '1, '1)
 projectUV(2)
 set (material.dirtmap, dirtTex ) 

RoofWallInner --&amp;gt;
 color(roofInnerColor)
 alignScopeToGeometry(zUp, 0, world.lowest)
 setupProjection(2, scope.xy, 10, 10) # choosing just any dimensions, I'm not scaling '1 here !
 projectUV(2)
 set (material.dirtmap, dirtTex ) 
 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:36:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464024#M6298</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2021-12-11T20:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: building rule with texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464025#M6299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;and here's a screenshot of how a simple generated model looks like.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 11:23:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464025#M6299</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2011-10-25T11:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: building rule with texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464026#M6300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 16:14:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464026#M6300</guid>
      <dc:creator>Toni_ChristineNeumann</dc:creator>
      <dc:date>2011-10-25T16:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: building rule with texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464027#M6301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a related question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does uv projection behave differently on different uvSets? For example, just by changing from 0 to 2 the tiling automatically changes, and the sides of the roof lose their texture (see attached screenshots)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it not possible to use the dirtmap channel if your facade is already broken into separate faces? I guess you're not supposed to be texturing at that point anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Walls --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; alignScopeToAxes ()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; setupProjection(0,world.xy,tile,tile,0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; texture(dirtTex)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; projectUV(0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Walls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 19:58:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464027#M6301</guid>
      <dc:creator>MarieSaldana1</dc:creator>
      <dc:date>2011-10-25T19:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: building rule with texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464028#M6302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi Marie ! cool to meet you here too ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Work in the CityEngine mostly uses either 1 UV channel ( ID 0 ) or 1 UV channels ( IDs 0 and 2 ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So each UV set has it's own set of coordinates, how either the texture or the dirt map is projected onto the geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you can :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- tell your texture (ID 0) to repeat all 5 meters with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setupProjection ( 0, scope.xy, 5,5 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- tell your texture (ID 0) to repeat exactly once on the scope of the shape (e.g. on a full facade)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setupProjection ( 0, scope.xy, '1,'1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- tell your dirtMap (ID 2) to repeat all 5 meters with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setupProjection ( 2, scope.xy, 5,5 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- tell your dirtMap(ID 2) to repeat exactly once on the scope of the shape&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setupProjection ( 2, scope.xy, '1,'1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or any other combination like :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setupProjection ( 0, scope.xy, '1,5) , ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;different texturing tasks just need different projections you must define.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ok ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note that you can only port dirt maps only with either FBX or Collada file formats. All the other file formats do not support this type of setting up multiplied textures.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 12:12:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464028#M6302</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2011-10-26T12:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: building rule with texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464029#M6303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think what I was doing wrong is that I also have to setup and project uvSet(0), even if I'm not using a texture on that channel, correct? Otherwise the the projection on uvSet(2) doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 22:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464029#M6303</guid>
      <dc:creator>MarieSaldana1</dc:creator>
      <dc:date>2011-10-26T22:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: building rule with texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464030#M6304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nope, you can use them independently of each other.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Though, you must make sure that the projection really corresponds to the scope orientation. I'll post a scope video in an other thread here about the scope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so e.g. :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if your scope is zUp, the texture must be projected in x/y. if your scope is yUp (e.g. like on Lots), you need to project in x/z to see the textures correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you just want to use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) TEXTURES, you need to :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setupProjection ( 0 .. )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;projectUV ( 0 ..)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;texture (..)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) TEXTURES AND DIRTMAPS, you need to :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setupProjection ( 0 .. )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;projectUV ( 0 .. )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;texture (..)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setupProjection ( 2 .. )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;projectUV ( 2 ..)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set (material.dirtmap ..)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 12:33:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464030#M6304</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2011-10-27T12:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: building rule with texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464031#M6305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, scope, etc. I think I get that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What was confusing me I think is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot use texture() for uvSet(2), I must use set(material.dirtmap)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yes??? do I finally understand this? &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 21:00:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464031#M6305</guid>
      <dc:creator>MarieSaldana1</dc:creator>
      <dc:date>2011-10-27T21:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: building rule with texture</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464032#M6306</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;SPAN&gt;yes, this is true ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;texture() only accepts the UVs from UVset 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set(material.dirtmap) only accepts UVs from UVset 2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 11:09:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/building-rule-with-texture/m-p/464032#M6306</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2011-10-28T11:09:44Z</dc:date>
    </item>
  </channel>
</rss>

