<?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: Issue using Three.js  external renderers with version higher than r79 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-using-three-js-external-renderers-with/m-p/1131038#M75801</link>
    <description>&lt;P&gt;Thank you so much GreteSoosalu!&lt;/P&gt;&lt;P&gt;Your hints solved any issue and definitely saved me a lot of struggles!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jan 2022 22:57:24 GMT</pubDate>
    <dc:creator>BerNat</dc:creator>
    <dc:date>2022-01-05T22:57:24Z</dc:date>
    <item>
      <title>Issue using Three.js  external renderers with version higher than r79</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-using-three-js-external-renderers-with/m-p/1130671#M75783</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I’ve been scratching my head trying to&amp;nbsp;figure out how to use&amp;nbsp;Three.js from an external renderer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I saw this example&amp;nbsp;&amp;nbsp;&lt;A href="https://totalapis.github.io/sample-code/scene-external-renderer-threejs/index.html" target="_blank"&gt;https://totalapis.github.io/sample-code/scene-external-renderer-threejs/index.html&lt;/A&gt;&amp;nbsp;which works fine by using r79 version of Three.js.&lt;/P&gt;&lt;P&gt;Instead, a bunch of errors are thrown by using newer versions of Three (such as&amp;nbsp; &amp;nbsp;multipleDefine).&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anyone have any idea to solve this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 01:01:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-using-three-js-external-renderers-with/m-p/1130671#M75783</guid>
      <dc:creator>BerNat</dc:creator>
      <dc:date>2022-01-05T01:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using Three.js  external renderers with version higher than r79</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-using-three-js-external-renderers-with/m-p/1130749#M75788</link>
      <description>&lt;P&gt;Hi BerNat!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, I know the pain and have also run into various issues when wanting to upgrade the libraries&amp;nbsp;in this sample: over time, Three.js has changed, ArcGIS JS API has changed and CORS policies have changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a codepen that works with Three.js r124 and above:&lt;BR /&gt;&lt;A href="https://codepen.io/gsoosalu/pen/JjrZEaR" target="_blank"&gt;https://codepen.io/gsoosalu/pen/JjrZEaR&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;In the code, you'll also find comments about what exactly is different compared to the previous sample.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: this codepen app also works with JS API versions higher than 4.4 (i.e. also with the newest: 4.23), but newer versions run into CORS error when trying to access the ISS location JSON. For tackling that, the following page might be helpful: &lt;A href="https://developers.arcgis.com/javascript/latest/cors/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/cors/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope this helps you further!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 12:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-using-three-js-external-renderers-with/m-p/1130749#M75788</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2022-01-05T12:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using Three.js  external renderers with version higher than r79</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-using-three-js-external-renderers-with/m-p/1131038#M75801</link>
      <description>&lt;P&gt;Thank you so much GreteSoosalu!&lt;/P&gt;&lt;P&gt;Your hints solved any issue and definitely saved me a lot of struggles!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 22:57:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-using-three-js-external-renderers-with/m-p/1131038#M75801</guid>
      <dc:creator>BerNat</dc:creator>
      <dc:date>2022-01-05T22:57:24Z</dc:date>
    </item>
  </channel>
</rss>

