<?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 Jagged Scene Layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jagged-scene-layer/m-p/1325299#M82144</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i &lt;SPAN&gt;&amp;nbsp;have a bad sceneView performance when i load a scene server in my project (let's call it project A ), the model rendered slowly and when i tried to adjust the tilt or zoom, all operations tend to be jagged.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the image below shows the slowest frame has taken more than 450ms to render. (record from chrome performance tool )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liqiuping_0-1693893915008.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79810i5A106E9A25C9FAFE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liqiuping_0-1693893915008.png" alt="liqiuping_0-1693893915008.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then i created a simplified project (let's call it project B ) and load exactly the same&amp;nbsp;scene server and same basemap; and everything went smoothly fast.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;each frame takes less than 120ms&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liqiuping_1-1693894907421.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79811i02889EDF9937F1F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liqiuping_1-1693894907421.png" alt="liqiuping_1-1693894907421.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i compared those two and discovered the difference occurred at function *update*, in which project A repeatedly called the function&amp;nbsp; *_updateNodeFeatureEstimate*&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liqiuping_4-1693895454568.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79814i92886ADDC9225D85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liqiuping_4-1693895454568.png" alt="liqiuping_4-1693895454568.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;*_updateNodeFeatureEstimate*&amp;nbsp; - * _getSphereScale *&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liqiuping_5-1693895497979.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79815i4CB5D4B523903C58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liqiuping_5-1693895497979.png" alt="liqiuping_5-1693895497979.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;while the project B has a lighter function stack in here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liqiuping_3-1693895333418.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79813i687D6B21376A5742/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liqiuping_3-1693895333418.png" alt="liqiuping_3-1693895333418.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the thing is, project A has many extra codes to meet the needs and i have no idea which piece of code lead to this problem. validating every piece could be cumbersome.&lt;/P&gt;&lt;P&gt;so i hope maybe any function name keywords above could ring a bell?&lt;/P&gt;&lt;P&gt;any help would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i finally tracked down the troublemaker:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;layer&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;minScale&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0.001&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;it came from a demand to make tile layer to be shown in high zoom level which beyond its' tile scheme limits.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;i made a mistake&amp;nbsp;indiscriminately applying it to all layer in the scene. (huge mistake!&amp;nbsp; it took me more than two weeks to investigate )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;thanks for your time!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 08 Sep 2023 06:36:55 GMT</pubDate>
    <dc:creator>liqiuping</dc:creator>
    <dc:date>2023-09-08T06:36:55Z</dc:date>
    <item>
      <title>Jagged Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jagged-scene-layer/m-p/1325299#M82144</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i &lt;SPAN&gt;&amp;nbsp;have a bad sceneView performance when i load a scene server in my project (let's call it project A ), the model rendered slowly and when i tried to adjust the tilt or zoom, all operations tend to be jagged.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the image below shows the slowest frame has taken more than 450ms to render. (record from chrome performance tool )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liqiuping_0-1693893915008.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79810i5A106E9A25C9FAFE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liqiuping_0-1693893915008.png" alt="liqiuping_0-1693893915008.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then i created a simplified project (let's call it project B ) and load exactly the same&amp;nbsp;scene server and same basemap; and everything went smoothly fast.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;each frame takes less than 120ms&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liqiuping_1-1693894907421.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79811i02889EDF9937F1F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liqiuping_1-1693894907421.png" alt="liqiuping_1-1693894907421.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i compared those two and discovered the difference occurred at function *update*, in which project A repeatedly called the function&amp;nbsp; *_updateNodeFeatureEstimate*&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liqiuping_4-1693895454568.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79814i92886ADDC9225D85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liqiuping_4-1693895454568.png" alt="liqiuping_4-1693895454568.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;*_updateNodeFeatureEstimate*&amp;nbsp; - * _getSphereScale *&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liqiuping_5-1693895497979.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79815i4CB5D4B523903C58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liqiuping_5-1693895497979.png" alt="liqiuping_5-1693895497979.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;while the project B has a lighter function stack in here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liqiuping_3-1693895333418.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79813i687D6B21376A5742/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liqiuping_3-1693895333418.png" alt="liqiuping_3-1693895333418.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the thing is, project A has many extra codes to meet the needs and i have no idea which piece of code lead to this problem. validating every piece could be cumbersome.&lt;/P&gt;&lt;P&gt;so i hope maybe any function name keywords above could ring a bell?&lt;/P&gt;&lt;P&gt;any help would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i finally tracked down the troublemaker:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;layer&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;minScale&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0.001&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;it came from a demand to make tile layer to be shown in high zoom level which beyond its' tile scheme limits.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;i made a mistake&amp;nbsp;indiscriminately applying it to all layer in the scene. (huge mistake!&amp;nbsp; it took me more than two weeks to investigate )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;thanks for your time!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Sep 2023 06:36:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jagged-scene-layer/m-p/1325299#M82144</guid>
      <dc:creator>liqiuping</dc:creator>
      <dc:date>2023-09-08T06:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Jagged Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jagged-scene-layer/m-p/1325669#M82155</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;Despite the (impressive) analysis we unfortunately can't see an obvious culprit. We would need to have access to the service in question to do deeper performance investigations.&lt;BR /&gt;&lt;BR /&gt;Hence the question: is it possible to share the service with us? If so please DM me for details.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 23:11:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jagged-scene-layer/m-p/1325669#M82155</guid>
      <dc:creator>AndreasUlmer</dc:creator>
      <dc:date>2023-09-05T23:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Jagged Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jagged-scene-layer/m-p/1326653#M82194</link>
      <description>&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;thank you for trying to help me.&lt;/P&gt;&lt;P&gt;the problem has been solved!&amp;nbsp; there is nothing wrong with the service, it's all about a mistake in ""layer.&lt;SPAN&gt;maxScale&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;" setting. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks for your time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 02:01:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jagged-scene-layer/m-p/1326653#M82194</guid>
      <dc:creator>liqiuping</dc:creator>
      <dc:date>2023-09-08T02:01:01Z</dc:date>
    </item>
  </channel>
</rss>

