<?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: Renderer for scene view polylines in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-for-scene-view-polylines/m-p/1234031#M79405</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/543488"&gt;@ararana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two things you should look into:&lt;/P&gt;&lt;P&gt;Firstly, the size of your&amp;nbsp;&lt;FONT face="andale mono,times"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PathSymbol3DLayer.html" target="_self"&gt;&lt;SPAN&gt;PathSymbol3DLayer&lt;/SPAN&gt;&lt;/A&gt;&lt;/FONT&gt;&amp;nbsp;is too small to be visible in a global scale. Note that&amp;nbsp;&lt;FONT face="andale mono,times"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PathSymbol3DLayer.html#width" target="_self"&gt;width&lt;/A&gt;&lt;/FONT&gt;&amp;nbsp;and &lt;FONT face="andale mono,times"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PathSymbol3DLayer.html#height" target="_self"&gt;height&lt;/A&gt;&lt;/FONT&gt;&amp;nbsp;properties are read in as meters, therefore, values such as&amp;nbsp;20000 would make more sense for your app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, in case of&amp;nbsp;&lt;FONT face="andale mono,times"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PathSymbol3DLayer.html" target="_self"&gt;&lt;SPAN&gt;PathSymbol3DLayer&lt;/SPAN&gt;&lt;/A&gt;&lt;/FONT&gt;, only the vertices are aligned to the ground. This means that with such long lines as you have, the Earth's curvature will hide most of the geometry. One way to overcome this is to add an &lt;FONT face="andale mono,times"&gt;offset&lt;/FONT&gt; to the layer's &lt;FONT face="andale mono,times"&gt;elevationInfo&lt;/FONT&gt;&amp;nbsp;- this will lift the vertices off the ground. Note that the lines between the vertices remain straight, i.e. they won't follow the earth's curvature.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you can automatically subdivide these lines into smaller segments with &lt;FONT face="andale mono,times"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-geodesicUtils.html#geodesicDensify" target="_self"&gt;geodesicUtils.geodesicDensify()&lt;/A&gt;&lt;/FONT&gt;&amp;nbsp;method, so that the resulting visuals follow the ground better.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See an example in the codepen here:&amp;nbsp;&lt;A href="https://codepen.io/gsoosalu/pen/WNyMXGr" target="_blank"&gt;https://codepen.io/gsoosalu/pen/WNyMXGr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you further!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 09:49:14 GMT</pubDate>
    <dc:creator>GreteSoosalu</dc:creator>
    <dc:date>2022-11-22T09:49:14Z</dc:date>
    <item>
      <title>Renderer for scene view polylines</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-for-scene-view-polylines/m-p/1233021#M79379</link>
      <description>&lt;P&gt;Hi there! I can't seem to get this renderer working for polylines in a scene view. If I comment the renderer out it falls back on the default renderer and the object loads fine, but I'm trying to get a quad polyline loading with some height to it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone see what I might be missing on this one?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/ararana/pen/poKdjQx" target="_blank" rel="noopener"&gt;https://codepen.io/ararana/pen/poKdjQx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 23:06:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-for-scene-view-polylines/m-p/1233021#M79379</guid>
      <dc:creator>ararana</dc:creator>
      <dc:date>2022-11-17T23:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Renderer for scene view polylines</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-for-scene-view-polylines/m-p/1234031#M79405</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/543488"&gt;@ararana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two things you should look into:&lt;/P&gt;&lt;P&gt;Firstly, the size of your&amp;nbsp;&lt;FONT face="andale mono,times"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PathSymbol3DLayer.html" target="_self"&gt;&lt;SPAN&gt;PathSymbol3DLayer&lt;/SPAN&gt;&lt;/A&gt;&lt;/FONT&gt;&amp;nbsp;is too small to be visible in a global scale. Note that&amp;nbsp;&lt;FONT face="andale mono,times"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PathSymbol3DLayer.html#width" target="_self"&gt;width&lt;/A&gt;&lt;/FONT&gt;&amp;nbsp;and &lt;FONT face="andale mono,times"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PathSymbol3DLayer.html#height" target="_self"&gt;height&lt;/A&gt;&lt;/FONT&gt;&amp;nbsp;properties are read in as meters, therefore, values such as&amp;nbsp;20000 would make more sense for your app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, in case of&amp;nbsp;&lt;FONT face="andale mono,times"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PathSymbol3DLayer.html" target="_self"&gt;&lt;SPAN&gt;PathSymbol3DLayer&lt;/SPAN&gt;&lt;/A&gt;&lt;/FONT&gt;, only the vertices are aligned to the ground. This means that with such long lines as you have, the Earth's curvature will hide most of the geometry. One way to overcome this is to add an &lt;FONT face="andale mono,times"&gt;offset&lt;/FONT&gt; to the layer's &lt;FONT face="andale mono,times"&gt;elevationInfo&lt;/FONT&gt;&amp;nbsp;- this will lift the vertices off the ground. Note that the lines between the vertices remain straight, i.e. they won't follow the earth's curvature.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you can automatically subdivide these lines into smaller segments with &lt;FONT face="andale mono,times"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-geodesicUtils.html#geodesicDensify" target="_self"&gt;geodesicUtils.geodesicDensify()&lt;/A&gt;&lt;/FONT&gt;&amp;nbsp;method, so that the resulting visuals follow the ground better.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See an example in the codepen here:&amp;nbsp;&lt;A href="https://codepen.io/gsoosalu/pen/WNyMXGr" target="_blank"&gt;https://codepen.io/gsoosalu/pen/WNyMXGr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you further!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 09:49:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-for-scene-view-polylines/m-p/1234031#M79405</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2022-11-22T09:49:14Z</dc:date>
    </item>
  </channel>
</rss>

