<?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 How can I represent water in CityEngine? in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-represent-water-in-cityengine/m-p/409998#M5600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #212121; background-color: #ffffff; font-size: 0px; padding-top: 20px;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN lang="en"&gt;Is it possible to represent water in motion, a river for example?

&lt;/SPAN&gt;Thank you 
Pedro Oliveira &lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 18:37:55 GMT</pubDate>
    <dc:creator>PedroOliveira1</dc:creator>
    <dc:date>2021-12-11T18:37:55Z</dc:date>
    <item>
      <title>How can I represent water in CityEngine?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-represent-water-in-cityengine/m-p/409998#M5600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #212121; background-color: #ffffff; font-size: 0px; padding-top: 20px;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN lang="en"&gt;Is it possible to represent water in motion, a river for example?

&lt;/SPAN&gt;Thank you 
Pedro Oliveira &lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-represent-water-in-cityengine/m-p/409998#M5600</guid>
      <dc:creator>PedroOliveira1</dc:creator>
      <dc:date>2021-12-11T18:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I represent water in CityEngine?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-represent-water-in-cityengine/m-p/409999#M5601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pedro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you can. There´s two options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Choose one polygon and add to the end of the name&amp;nbsp; " __water&amp;nbsp; " : example&amp;nbsp; myriver__water&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sample here &lt;A class="link-titled" href="http://bit.ly/2EWMpSR" title="http://bit.ly/2EWMpSR"&gt;http://bit.ly/2EWMpSR&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/393281_water.png" style="width: 620px; height: 158px;" /&gt;&lt;/P&gt;&lt;P&gt;2. Option two : Use the rule WaterMaterial.cga available on &lt;A class="link-titled" href="http://www.arcgis.com/home/item.html?id=067950a3a1f44129a10b3a458802e450" title="http://www.arcgis.com/home/item.html?id=067950a3a1f44129a10b3a458802e450"&gt;http://www.arcgis.com/home/item.html?id=067950a3a1f44129a10b3a458802e450&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 12:05:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-represent-water-in-cityengine/m-p/409999#M5601</guid>
      <dc:creator>Luiz_AmadeuCoutinho</dc:creator>
      <dc:date>2018-01-19T12:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I represent water in CityEngine?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-represent-water-in-cityengine/m-p/410000#M5602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 29px;"&gt;Thank you, it worked. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 29px;"&gt;greetings&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 16:24:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-represent-water-in-cityengine/m-p/410000#M5602</guid>
      <dc:creator>PedroOliveira1</dc:creator>
      <dc:date>2018-01-26T16:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I represent water in CityEngine?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-represent-water-in-cityengine/m-p/410001#M5603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;Could you allow us access to download the cga file? It says that we don't have permission to access.&lt;BR /&gt;&lt;BR /&gt;Thank you sir!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 23:32:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-represent-water-in-cityengine/m-p/410001#M5603</guid>
      <dc:creator>RyanKocourek</dc:creator>
      <dc:date>2019-06-05T23:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I represent water in CityEngine?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-represent-water-in-cityengine/m-p/410002#M5604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;/**&lt;BR /&gt; * File: WaterMaterial.cga&lt;BR /&gt; * Created: 30 May 2013 19:24:39 GMT&lt;BR /&gt; * Author: Craig&lt;BR /&gt; */&lt;/P&gt;&lt;P&gt;version "2013.1"&lt;/P&gt;&lt;P&gt;// A simple water texture rule with 5 different types - different colors, wave heights &amp;amp; speeds&lt;/P&gt;&lt;P&gt;@Order(1) @Range("River","Stream","Pond","Lake","Ocean")&lt;BR /&gt;attr Water_Type = "River"&lt;/P&gt;&lt;P&gt;@Range(0, 1.0)&lt;BR /&gt;@Order(2)&lt;BR /&gt;attr r = .44&lt;BR /&gt;@Range(0, 1.0)&lt;BR /&gt;@Order(3)&lt;BR /&gt;attr g = .55&lt;BR /&gt;@Range(0, 1.0)&lt;BR /&gt;@Order(4)&lt;BR /&gt;attr b = .44&lt;/P&gt;&lt;P&gt;@StartRule&lt;BR /&gt;Water --&amp;gt;&lt;BR /&gt;// __waterparams_scale_speed&lt;BR /&gt; case Water_Type == "River" :&lt;BR /&gt; set(material.name, "river__water__waterparams_5_10")&lt;BR /&gt; color(.44,.55,.44)&lt;BR /&gt; case Water_Type == "Stream" :&lt;BR /&gt; set(material.name, "river__water__waterparams_5_30")&lt;BR /&gt; color(.44,.55,.44)&lt;BR /&gt; case Water_Type == "Pond" :&lt;BR /&gt; set(material.name, "river__water__waterparams_1_3")&lt;BR /&gt; color(.2,.4,.45)&lt;BR /&gt; case Water_Type == "Lake" :&lt;BR /&gt; set(material.name, "river__water__waterparams_4_8")&lt;BR /&gt; color(.2,.4,.45)&lt;BR /&gt; case Water_Type == "Ocean" : &lt;BR /&gt; set(material.name, "river__water__waterparams_15_20")&lt;BR /&gt; color(.2,.4,.45) &lt;BR /&gt; else: X.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 12:53:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-can-i-represent-water-in-cityengine/m-p/410002#M5604</guid>
      <dc:creator>Luiz_AmadeuCoutinho</dc:creator>
      <dc:date>2019-07-30T12:53:42Z</dc:date>
    </item>
  </channel>
</rss>

