<?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: Opacity on a dirtmap in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/opacity-on-a-dirtmap/m-p/339075#M4671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer. I will just make the dirt map transparent in the original file before importing it &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2016 10:07:05 GMT</pubDate>
    <dc:creator>KristianMortensen1</dc:creator>
    <dc:date>2016-11-03T10:07:05Z</dc:date>
    <item>
      <title>Opacity on a dirtmap</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/opacity-on-a-dirtmap/m-p/339073#M4669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp;having some problems when trying to add a dirtmap&amp;nbsp;to a surface.&amp;nbsp;I want to be able to control&amp;nbsp;the opacity of the dirtmap&amp;nbsp;in the CGA rule file. This is the code so far, the dirt map shows up along with the Grass texture, it is just to dominating.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BuildingArea --&amp;gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;setupProjection(0, scope.xz, 2.25, 1.5, 1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //ColorMap&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;texture(Grass_Tex) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;projectUV(0)&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;setupProjection(1, scope.xz, 2.25, 1.5, 1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // BumpMap&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set(material.bumpmap, Grass_BumpMap) &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;projectUV(0)&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;setupProjection(2, scope.xz, '1, '1) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// DirtMap&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set(material.dirtmap, Grass_Grunge) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;projectUV(2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried adding the set(material.opacity,0.5) but that makes all the materials transparent, hope one of you have the answer, and another question, I'm&amp;nbsp;trying to add a bumpmap,&amp;nbsp;but the bump is not visible in the scene, does any information lack in rulefile?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 09:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/opacity-on-a-dirtmap/m-p/339073#M4669</guid>
      <dc:creator>KristianMortensen1</dc:creator>
      <dc:date>2016-10-25T09:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Opacity on a dirtmap</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/opacity-on-a-dirtmap/m-p/339074#M4670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, you cannot set an opacity value specifically for the dirtmap. &amp;nbsp;As you found out, the opacity will affect both the colormap and the dirtmap. &amp;nbsp;I'm afraid the solution would be to change your dirtmap image. &amp;nbsp;Since the colormap and dirtmap are multiplied to get the end result, I'm guessing that if you make the values closer to 1 and decrease the contrast in your dirtmap, you might get what you're looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the bumpmap, the texture layer is 1, so it should be projectUV(1).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 11:53:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/opacity-on-a-dirtmap/m-p/339074#M4670</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2016-11-02T11:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Opacity on a dirtmap</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/opacity-on-a-dirtmap/m-p/339075#M4671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer. I will just make the dirt map transparent in the original file before importing it &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 10:07:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/opacity-on-a-dirtmap/m-p/339075#M4671</guid>
      <dc:creator>KristianMortensen1</dc:creator>
      <dc:date>2016-11-03T10:07:05Z</dc:date>
    </item>
  </channel>
</rss>

