<?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 Extrusion rendering problem in CityEngine Web Viewer in 3D Mapping Questions</title>
    <link>https://community.esri.com/t5/3d-mapping-questions/extrusion-rendering-problem-in-cityengine-web/m-p/846483#M695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon exporting my models to a .3ws file and attempting to use&amp;nbsp;&lt;EM&gt;Open With --&amp;gt; 3D Web Scene Viewer (offline),&amp;nbsp;&lt;/EM&gt;some of my building are looking much different than they do in the CityEngine 2015.2 desktop application. &amp;nbsp;I have an idea that the problem has something to do with a section of the model being extruded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, when making a garage door, I use the following code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;GarageDoor --&amp;gt;
&amp;nbsp; &amp;nbsp;extrude(-.1)
&amp;nbsp; &amp;nbsp;comp(f) {top: &amp;lt;door image here&amp;gt; |&amp;nbsp;bottom: NIL | left: X. | right X. | front: X. | back: X.}&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In CityEngine's native Viewport, the model comes out looking normal, I see nothing where NIL is, and something where the code calls for (when viewing from outside of the model). &amp;nbsp;When looking in the Web Scene Viewer, and viewing from outside of the model I see nothing where the extrusion is at all; however, I can see that the image of whatever is part of the "top"&amp;nbsp;section if I pan to view the model from the inside. &amp;nbsp;I will post two pictures as an example, the first of the building from the outside of the garage door, the second from the inside, behind the garage door.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help that anyone can offer would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 10:23:26 GMT</pubDate>
    <dc:creator>CodySlater</dc:creator>
    <dc:date>2021-12-12T10:23:26Z</dc:date>
    <item>
      <title>Extrusion rendering problem in CityEngine Web Viewer</title>
      <link>https://community.esri.com/t5/3d-mapping-questions/extrusion-rendering-problem-in-cityengine-web/m-p/846483#M695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon exporting my models to a .3ws file and attempting to use&amp;nbsp;&lt;EM&gt;Open With --&amp;gt; 3D Web Scene Viewer (offline),&amp;nbsp;&lt;/EM&gt;some of my building are looking much different than they do in the CityEngine 2015.2 desktop application. &amp;nbsp;I have an idea that the problem has something to do with a section of the model being extruded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, when making a garage door, I use the following code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;GarageDoor --&amp;gt;
&amp;nbsp; &amp;nbsp;extrude(-.1)
&amp;nbsp; &amp;nbsp;comp(f) {top: &amp;lt;door image here&amp;gt; |&amp;nbsp;bottom: NIL | left: X. | right X. | front: X. | back: X.}&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In CityEngine's native Viewport, the model comes out looking normal, I see nothing where NIL is, and something where the code calls for (when viewing from outside of the model). &amp;nbsp;When looking in the Web Scene Viewer, and viewing from outside of the model I see nothing where the extrusion is at all; however, I can see that the image of whatever is part of the "top"&amp;nbsp;section if I pan to view the model from the inside. &amp;nbsp;I will post two pictures as an example, the first of the building from the outside of the garage door, the second from the inside, behind the garage door.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help that anyone can offer would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:23:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-mapping-questions/extrusion-rendering-problem-in-cityengine-web/m-p/846483#M695</guid>
      <dc:creator>CodySlater</dc:creator>
      <dc:date>2021-12-12T10:23:26Z</dc:date>
    </item>
  </channel>
</rss>

