<?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: Dirt map on street network in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/dirt-map-on-street-network/m-p/298466#M4162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, sorry, there isn't a way to have a colormap on uv set 0 and have a dirtmap which is scaled larger than the colormap.&amp;nbsp; However, there is a way to get a colormap and a dirtmap on a street where both use the UVs of uv set 0.&amp;nbsp; With this solution, you'll have to repeat the dirtmap as frequently as the colormap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The street shapes, by default, have uv sets 1 and 2 defined as distance fields from the start/end of the street, as defined in the doc here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://doc.arcgis.com/en/cityengine/latest/help/help-street-intersection-shape-uv.htm" title="https://doc.arcgis.com/en/cityengine/latest/help/help-street-intersection-shape-uv.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Street and intersection shape UV—Help | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you want to override this behavoir, you can delete the UVs on uv set 1 or 2.&amp;nbsp; Then, since the UVs are not defined, the UVs of uv set 0 will be used.&amp;nbsp; This way, you can set a dirtmap (or bumpmap).&amp;nbsp; This does not copy the UVs of uv set 0 to uv set 2.&amp;nbsp; The UVs of uv set 2 will not exist.&amp;nbsp; This means, you cannot use them for splits, and you cannot use them as the distance field from the start/end of the street.&amp;nbsp; For example, the standard street rule in ESRI.lib uses distance fields in uv sets 1 and 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this code, the colormap and the dirtmap use the UVs from uv-set 0.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Street --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set(material.colormap, "builtin:uvtest.png")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;deleteUV(2)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set(material.dirtmap, "/ESRI.lib/assets/General/Dirtmap/dirtmap_1.jpg")
‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 14:19:45 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2021-12-11T14:19:45Z</dc:date>
    <item>
      <title>Dirt map on street network</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dirt-map-on-street-network/m-p/298465#M4161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to apply a dirt map to a street segment rule on a different UV set (1) than the color Map (0)? Like it's usually done with buildings facades in the cityengine tutorials.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to have a tiling cobblestone pattern function as the colormap multiplied by a dirtmap scaled much larger so to hide the seams (projected from the &lt;EM&gt;scope.xz&lt;/EM&gt; and tiled &lt;EM&gt;max (scope.sx, scope.sz))&lt;/EM&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read that the streets have 3 UV sets only and they work differently from the 5 sets of the blocks. Is this procedure still a possibility given this difference?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 18:22:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dirt-map-on-street-network/m-p/298465#M4161</guid>
      <dc:creator>AbeleGiandoso</dc:creator>
      <dc:date>2018-06-21T18:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dirt map on street network</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dirt-map-on-street-network/m-p/298466#M4162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, sorry, there isn't a way to have a colormap on uv set 0 and have a dirtmap which is scaled larger than the colormap.&amp;nbsp; However, there is a way to get a colormap and a dirtmap on a street where both use the UVs of uv set 0.&amp;nbsp; With this solution, you'll have to repeat the dirtmap as frequently as the colormap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The street shapes, by default, have uv sets 1 and 2 defined as distance fields from the start/end of the street, as defined in the doc here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://doc.arcgis.com/en/cityengine/latest/help/help-street-intersection-shape-uv.htm" title="https://doc.arcgis.com/en/cityengine/latest/help/help-street-intersection-shape-uv.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Street and intersection shape UV—Help | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you want to override this behavoir, you can delete the UVs on uv set 1 or 2.&amp;nbsp; Then, since the UVs are not defined, the UVs of uv set 0 will be used.&amp;nbsp; This way, you can set a dirtmap (or bumpmap).&amp;nbsp; This does not copy the UVs of uv set 0 to uv set 2.&amp;nbsp; The UVs of uv set 2 will not exist.&amp;nbsp; This means, you cannot use them for splits, and you cannot use them as the distance field from the start/end of the street.&amp;nbsp; For example, the standard street rule in ESRI.lib uses distance fields in uv sets 1 and 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this code, the colormap and the dirtmap use the UVs from uv-set 0.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Street --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set(material.colormap, "builtin:uvtest.png")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;deleteUV(2)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set(material.dirtmap, "/ESRI.lib/assets/General/Dirtmap/dirtmap_1.jpg")
‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dirt-map-on-street-network/m-p/298466#M4162</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2021-12-11T14:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dirt map on street network</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dirt-map-on-street-network/m-p/298467#M4163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very clear Cheryl! Thanks a ton!&lt;/P&gt;&lt;P&gt;Could be useful to have a separate UV set for dirt, just as a suggestion&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 23:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dirt-map-on-street-network/m-p/298467#M4163</guid>
      <dc:creator>AbeleGiandoso</dc:creator>
      <dc:date>2018-06-28T23:56:21Z</dc:date>
    </item>
  </channel>
</rss>

