<?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: webscene and transparency in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144529#M1905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I imported a shapefile containing building footprints, and then used a simple rules cga to extrude the building footprint polygons, and assign color and opacity to floor, roof, and walls:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attr Height = 10&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@StartRule&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lot--&amp;gt; extrude (Height)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;comp(f){side: Facade | bottom: Floor | top: Roof}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Roof --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; set(material.color.a, 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; color("#CDB38B") &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Facade --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; color("#909090") &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Floor --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; color("#F7F8E0")&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2014 14:44:35 GMT</pubDate>
    <dc:creator>johnbrosowsky</dc:creator>
    <dc:date>2014-05-08T14:44:35Z</dc:date>
    <item>
      <title>webscene and transparency</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144527#M1903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In my city engine scene I make rooftops transparent in order to see into the buildings from the top.&amp;nbsp; When I export to a web scene, the rooftops in web viewer are solid.&amp;nbsp; How can I make the web scene observe the transparency?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 10:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144527#M1903</guid>
      <dc:creator>johnbrosowsky</dc:creator>
      <dc:date>2014-05-08T10:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: webscene and transparency</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144528#M1904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you make them transparent? is it a sketchup model? did you use RULES to make those building transparent?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lukasz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 11:17:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144528#M1904</guid>
      <dc:creator>LukeCzar</dc:creator>
      <dc:date>2014-05-08T11:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: webscene and transparency</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144529#M1905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I imported a shapefile containing building footprints, and then used a simple rules cga to extrude the building footprint polygons, and assign color and opacity to floor, roof, and walls:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attr Height = 10&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@StartRule&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lot--&amp;gt; extrude (Height)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;comp(f){side: Facade | bottom: Floor | top: Roof}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Roof --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; set(material.color.a, 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; color("#CDB38B") &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Facade --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; color("#909090") &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Floor --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; color("#F7F8E0")&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 14:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144529#M1905</guid>
      <dc:creator>johnbrosowsky</dc:creator>
      <dc:date>2014-05-08T14:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: webscene and transparency</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144530#M1906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;try :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;set(material.opacity, 0.3)&lt;/PRE&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>Fri, 09 May 2014 07:24:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144530#M1906</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2014-05-09T07:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: webscene and transparency</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144531#M1907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It still does not work.&amp;nbsp; I see the partial opacity in the City Engine desktop, but in exported web scenes or collada models.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 16:27:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144531#M1907</guid>
      <dc:creator>johnbrosowsky</dc:creator>
      <dc:date>2014-05-12T16:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: webscene and transparency</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144532#M1908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;can you post some precise screenshots of what needs to be transparent and how it looks both in CE and in the WebScene ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;are textures involved that need to be transparent ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;let me know ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 11:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144532#M1908</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2014-05-14T11:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: webscene and transparency</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144533#M1909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are no textures.&amp;nbsp; I imported a shapefile of building footprints, extruded into 3D, and set the top to be transparent using the simple CGA rule I pasted above.&amp;nbsp; Attached are pictures.&amp;nbsp; The .cej shows a transparent roof.&amp;nbsp; When I export to 3ws or collada the roof becomes solid.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 15:44:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144533#M1909</guid>
      <dc:creator>johnbrosowsky</dc:creator>
      <dc:date>2014-05-14T15:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: webscene and transparency</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144534#M1910</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;BR /&gt;&lt;SPAN&gt;sorry for the trouble...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can you please try 1 single rectangular shape with this code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Shape --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extrude(5)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set(material.opacity, 0.5)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this should work in any case. it works for me here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;let me know ..&lt;/SPAN&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 07:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144534#M1910</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2021-12-11T07:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: webscene and transparency</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144535#M1911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That works!&amp;nbsp; Is it possible to get the polygons extruded from the imported shapefile to look the same? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 20:20:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144535#M1911</guid>
      <dc:creator>johnbrosowsky</dc:creator>
      <dc:date>2014-05-16T20:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: webscene and transparency</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144536#M1912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure .. that should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it seems something goes wrong with your CGA code ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just copy-paste my code into your code and this should work then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe start a fresh rule with this as a base. ok ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 11:59:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/webscene-and-transparency/m-p/144536#M1912</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2014-05-19T11:59:24Z</dc:date>
    </item>
  </channel>
</rss>

