<?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: adding a shade above the ground floor in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/adding-a-shade-above-the-ground-floor/m-p/317342#M4370</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;SPAN&gt;Thanks for your suggestion. Because it's a generic model run for a lot of different buildings I wouldn't be able to insert some blender object as this would be different for every model but it gave me some ideas, and actually fixed another little issue I'd forgotten about. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway in the end I decided that rather than assigning the shade to all the front facades, I added a case function that extruded the facade only for the first edge, and left the others empty. Not perfect but that'll do for now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jul 2013 21:57:30 GMT</pubDate>
    <dc:creator>JoanneO_Brien</dc:creator>
    <dc:date>2013-07-22T21:57:30Z</dc:date>
    <item>
      <title>adding a shade above the ground floor</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/adding-a-shade-above-the-ground-floor/m-p/317340#M4368</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;SPAN&gt;I have a building which I'm trying to put a shade above my ground floor. But I'm getting a slight issue when it goes around corners, so I was wondering if there was a way to have it joining up so it doesn't have the wedge gap shown below??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my current code for it: &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;
FrontFacade--&amp;gt; split(y){ 4 : GroundFloor | 0.2 : Shade | {3 : Floor}*| ~1 : Wall}
&amp;nbsp;&amp;nbsp; 
Shade--&amp;gt; color(wallColour)
 setupProjection(2,scope.xy,scope.sx,scope.sy)
 projectUV(2)
 set(material.dirtmap, walldirt_tex)
 s('1,'1,3)
 i("builtin:cube")
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jul 2013 21:06:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/adding-a-shade-above-the-ground-floor/m-p/317340#M4368</guid>
      <dc:creator>JoanneO_Brien</dc:creator>
      <dc:date>2013-07-21T21:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: adding a shade above the ground floor</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/adding-a-shade-above-the-ground-floor/m-p/317341#M4369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joanne,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm not sure if there is some straight way to fill that hole... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe try to split Shade&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;comp(f) {front : FrontShade | back : BackShade |right : SideRightShade | left : SideLeftShade |top: RoofShade |bottom : BottomShade}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and later&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; SideLeftShade--&amp;gt;
extrude(1)
 SideRightShade--&amp;gt;
extrude(1)&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;it isn't best solution, but maybe will give you some tips&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or just insert some corner object made in for eg blender&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rafal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:05:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/adding-a-shade-above-the-ground-floor/m-p/317341#M4369</guid>
      <dc:creator>RafałPerzyna</dc:creator>
      <dc:date>2021-12-11T15:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: adding a shade above the ground floor</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/adding-a-shade-above-the-ground-floor/m-p/317342#M4370</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;SPAN&gt;Thanks for your suggestion. Because it's a generic model run for a lot of different buildings I wouldn't be able to insert some blender object as this would be different for every model but it gave me some ideas, and actually fixed another little issue I'd forgotten about. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway in the end I decided that rather than assigning the shade to all the front facades, I added a case function that extruded the facade only for the first edge, and left the others empty. Not perfect but that'll do for now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 21:57:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/adding-a-shade-above-the-ground-floor/m-p/317342#M4370</guid>
      <dc:creator>JoanneO_Brien</dc:creator>
      <dc:date>2013-07-22T21:57:30Z</dc:date>
    </item>
  </channel>
</rss>

