<?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: Moving a 3d graphic causing shader / texture issues in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/moving-a-3d-graphic-causing-shader-texture-issues/m-p/206795#M19215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what the issue is here. &amp;nbsp;I would try generating an entirely new symbol every time you move the graphic to start with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Aug 2017 13:27:41 GMT</pubDate>
    <dc:creator>ThomasSolow</dc:creator>
    <dc:date>2017-08-04T13:27:41Z</dc:date>
    <item>
      <title>Moving a 3d graphic causing shader / texture issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/moving-a-3d-graphic-causing-shader-texture-issues/m-p/206794#M19214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been planing around with the 3d API, and am trying to make a&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;&lt;SPAN style="color: #000000;"&gt;ObjectSymbol3DLayer graphic with the Eurocopter resource move across the map. &amp;nbsp;Example url:&amp;nbsp;&lt;/SPAN&gt;&lt;DIV style="background-color: #ffffff;"&gt;&lt;A class="link-titled" href="http://216.48.162.98/maps/3d-test/" title="http://216.48.162.98/maps/3d-test/" rel="nofollow noopener noreferrer" target="_blank"&gt;3D Test&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV style="background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV style="background-color: #ffffff;"&gt;The problem is that this type of object seems to be too complex for the browser and can't be rendered quick enough. &amp;nbsp;The texture does not load (solid white object) appears and has a tearing effect across the screen. &amp;nbsp;After updating chrome the texturing seems to "catch up" slowly when the moving stops. &amp;nbsp;It also doesn't remove the old graphic properly when using this type of resource. &amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV style="background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV style="background-color: #ffffff;"&gt;I should mention that when using a primitive sphere this draws smoothly, including removing the old graphics as they move.&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV style="background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV style="background-color: #ffffff;"&gt;I use the following code to clone and add a new graphic since it is not currently possible to just update a graphics properties once its added to the map:&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; tempPlayer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;playerGraphic&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;clone&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;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;playerGraphicLayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;remove&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;playerGraphic&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tempPlayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;geometry&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;x &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; options&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;x&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tempPlayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;geometry&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;y &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; options&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;y&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tempPlayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;symbol&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;symbolLayers&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;items&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;heading &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;calculateHeading&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;options&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;playerGraphic &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; tempPlayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;clone&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;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;playerGraphicLayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;playerGraphic&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;/SPAN&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;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:12:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/moving-a-3d-graphic-causing-shader-texture-issues/m-p/206794#M19214</guid>
      <dc:creator>JosephRogan</dc:creator>
      <dc:date>2021-12-11T10:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Moving a 3d graphic causing shader / texture issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/moving-a-3d-graphic-causing-shader-texture-issues/m-p/206795#M19215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what the issue is here. &amp;nbsp;I would try generating an entirely new symbol every time you move the graphic to start with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 13:27:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/moving-a-3d-graphic-causing-shader-texture-issues/m-p/206795#M19215</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-08-04T13:27:41Z</dc:date>
    </item>
  </channel>
</rss>

