<?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: Extrude Elevation Layer in Local Scene 4.4? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303932#M27923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, here's a sample:&amp;nbsp;&lt;A class="link-titled" href="https://jsbin.com/qosutebuyi/edit?html,output" title="https://jsbin.com/qosutebuyi/edit?html,output"&gt;https://jsbin.com/qosutebuyi/edit?html,output&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't get the getSample request to work for the world elevation service so I queried the elevation in the client. &amp;nbsp;I had to increment the "bottom" of each edge so it isn't directly under the top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two of the polygons&amp;nbsp;are still drawing incorrectly in that sample: you can see the fill is off by looking at the top. &amp;nbsp;I think this is a winding issue, those rings may be wound incorrectly. &amp;nbsp;I'll keep playing with it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2017 16:01:00 GMT</pubDate>
    <dc:creator>ThomasSolow</dc:creator>
    <dc:date>2017-08-31T16:01:00Z</dc:date>
    <item>
      <title>Extrude Elevation Layer in Local Scene 4.4?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303928#M27919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I was wondering if there`s a way to extrude a 3d surface in the Esri JavaScript API 4.4 to a specific height or maybe another surface. This was a very vommon task in good old ArcScene and it can be very helpful to create a 3d body from a 3d surface.&lt;BR /&gt;&lt;BR /&gt;Actually I have a local scene with a custom Elevation Layer and Topographic Map. That looks as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/369316_3d_local_scene_custom_elevation.PNG" style="width: 620px; height: 299px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to visualize the scene as a block scene so not only a surface but more like a block cutted out of the landscape to give the scene so more plasticity. Is this possible with build in functionality? &lt;BR /&gt;&lt;BR /&gt;Otherwise I would try to construct sides and border as single graphics and add them to the scene.&lt;BR /&gt;&lt;BR /&gt;Any help is very appreciated!&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 12:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303928#M27919</guid>
      <dc:creator>RichardReinicke</dc:creator>
      <dc:date>2017-08-31T12:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Elevation Layer in Local Scene 4.4?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303929#M27920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not aware of any built in way to do this but I think it's a good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll give some thought to how you might be able to do this yourself and post a sample if I can figure something out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 13:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303929#M27920</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-08-31T13:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Elevation Layer in Local Scene 4.4?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303930#M27921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Thomas, that would be great. I was now able to get the necessary points from my underlying ElevationService to construct a side polygon this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&lt;SPAN&gt;var url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fripsraster.lubw.bwl.de%2Farcgis%2Frest%2Fservices%2FImageservices%2F" rel="nofollow" target="_blank"&gt;http://ripsraster.lubw.bwl.de/arcgis/rest/services/Imageservices/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;DGM025_cache_3D/ImageServer/getSamples";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; var options = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;query: {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;geometry: '{"paths" : [ [ [3450000, 5400000], [3455000, 5400000] ] ], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&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;&amp;nbsp;&amp;nbsp; "spatialReference" : {"wkid" : 31463}}',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;geometryType: 'esriGeometryPolyline',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;returnFirstValueOnly: false,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sampleDistance: stepSize,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;f: 'pjson'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;responseType: 'json'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; };&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; esriRequest(url, options).then(function(response){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var polygonPointArray = [];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;for (var i = 0; i &amp;lt; response.data.samples.length; i++) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;polygonPointArray.push(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[xmin + (i * stepSize), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ymin,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parseFloat(response.data.samples&lt;I&gt;.value)]);&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;polygonPointArray.push([xmax, ymin, 0]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;polygonPointArray.push([xmin, ymin, 0]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;polygonPointArray.push([xmin, ymin, parseFloat(response.data.samples[0].value)]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// This constuctor with sr is necessary due to special coordinate system&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var polygon = new Polygon({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rings: polygonPointArray,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;spatialReference: {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;wkid: 31463&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var fs = new SimpleFillSymbol({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;color: [227, 139, 79, 0.8],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;outline: {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;color: [255, 255, 255],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;width: 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp; &amp;nbsp;var polygonGraphic = new Graphic({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;geometry: polygon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;symbol: fs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp; &amp;nbsp;});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;nbsp; &amp;nbsp;graphicsLayer.add(polygonGraphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt; });&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But it ends with a strange symbol behaviour, outline is drown but fill is missing!&lt;BR /&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/369337_3d_local_scene_custom_elevation_sidePolygonGraphic.PNG" style="width: 620px; height: 274px;" /&gt;&lt;/P&gt;&lt;P&gt;A similar behaviour was described here but never really cleared:&lt;BR /&gt;&lt;A href="https://community.esri.com/thread/178390"&gt;SimpleFillSymbol style does not work&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case I need it in a SceenView and it works in this example:&lt;BR /&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/graphics-basic-3d/live/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/graphics-basic-3d/live/index.html"&gt;Add Graphics to a SceneView - 4.4&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;maybe related to local scene? I've no clue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:43:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303930#M27921</guid>
      <dc:creator>RichardReinicke</dc:creator>
      <dc:date>2017-08-31T14:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Elevation Layer in Local Scene 4.4?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303931#M27922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's similar to the approach I'm using. &amp;nbsp;Try shifting the the "bottom" x and y values by a very small amount, something like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;// assuming your SR uses meters&lt;/SPAN&gt;
polygonPointArray&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;push&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;xmax &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.0001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ymin &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.0001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
polygonPointArray&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;push&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;xmin &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.0001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ymin &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.0001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍&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;Polygons aren't filled properly if they're perfectly "vertical."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just deleted my sample by accident, but&amp;nbsp;it was drawing for&amp;nbsp;2/4 sides of the scene.&amp;nbsp;The other two sides weren't drawing probably due to incorrect polygon winding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303931#M27922</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2021-12-11T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Elevation Layer in Local Scene 4.4?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303932#M27923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, here's a sample:&amp;nbsp;&lt;A class="link-titled" href="https://jsbin.com/qosutebuyi/edit?html,output" title="https://jsbin.com/qosutebuyi/edit?html,output"&gt;https://jsbin.com/qosutebuyi/edit?html,output&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't get the getSample request to work for the world elevation service so I queried the elevation in the client. &amp;nbsp;I had to increment the "bottom" of each edge so it isn't directly under the top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two of the polygons&amp;nbsp;are still drawing incorrectly in that sample: you can see the fill is off by looking at the top. &amp;nbsp;I think this is a winding issue, those rings may be wound incorrectly. &amp;nbsp;I'll keep playing with it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303932#M27923</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-08-31T16:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Elevation Layer in Local Scene 4.4?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303933#M27924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an updated sample that fixes the winding issues and uses the elevationLayer.queryElevation method rather than a client-side query: rather&amp;nbsp;&lt;A class="link-titled" href="https://jsbin.com/davujiwemo/edit?html,output" title="https://jsbin.com/davujiwemo/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 18:31:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303933#M27924</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-09-01T18:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Elevation Layer in Local Scene 4.4?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303934#M27925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thomas,&lt;BR /&gt;&lt;BR /&gt;thank you very much for your examples and effort. Your solution worked perfectly for me. I had to make a slight change because it seems to triangulate the side polygons to the lower corner which in case of a relatively flat block results in some artifacts on top.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/370713_3d_local_scene_with_sidePolygons.PNG" style="width: 620px; height: 307px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I wrote the triangles on my own as rings inside the sidePolygon. Using your code I add a second loop over the topRing vertices and add two triangles for each pair to fill the space to the bottom.&lt;BR /&gt;&lt;BR /&gt;The result looks as follows:&lt;BR /&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/370714_3d_local_scene_with_sidePolygons_customTriangulation.PNG" style="width: 620px; height: 380px;" /&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help. I'll close the question and mark your answer as solution &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;BR /&gt;&lt;BR /&gt;I'll publish &amp;nbsp;a new question related to the example. Maybe you can help me there again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 13:26:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303934#M27925</guid>
      <dc:creator>RichardReinicke</dc:creator>
      <dc:date>2017-09-12T13:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude Elevation Layer in Local Scene 4.4?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303935#M27926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool, looks great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been meaning to continue looking into why the polygons are being drawn incorrectly here. &amp;nbsp;My understanding is that the rings need to be wound clockwise to be filled (holes are counter clockwise), and in situations like this you can view a ring "from above" to determine its winding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means the winding needs to be different depending on which direction the "bottom half" is offset from the "top half." &amp;nbsp;Hope to get a chance to keep playing with this at some point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 14:04:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extrude-elevation-layer-in-local-scene-4-4/m-p/303935#M27926</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-09-12T14:04:39Z</dc:date>
    </item>
  </channel>
</rss>

