<?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 Converting mapPoint to texcoord - tessellateExtent (4.14) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/converting-mappoint-to-texcoord-tessellateextent-4/m-p/256599#M23818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am new to webgl.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going through this example , I see how tessellateExtent is working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/custom-gl-tessellation-helpers/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/custom-gl-tessellation-helpers/index.html"&gt;Tessellation helpers for custom WebGL layer views | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;I have a lat long with in this extent.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;I want to convert a map point (lat,long) to a texcoord , so that I can use it in my webgl shaders.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;I am not sure how to convert.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt; Going&amp;nbsp; through the documentation , I see&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;we need to convert from map point (lat,long ) - &amp;gt; pixel -&amp;gt; clipspace -&amp;gt; texcoord . Correct me if I am wrong.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;Could you provide a code example for this case ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2020 17:48:24 GMT</pubDate>
    <dc:creator>NachiChidambaram</dc:creator>
    <dc:date>2020-03-18T17:48:24Z</dc:date>
    <item>
      <title>Converting mapPoint to texcoord - tessellateExtent (4.14)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/converting-mappoint-to-texcoord-tessellateextent-4/m-p/256599#M23818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am new to webgl.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going through this example , I see how tessellateExtent is working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/custom-gl-tessellation-helpers/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/custom-gl-tessellation-helpers/index.html"&gt;Tessellation helpers for custom WebGL layer views | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;I have a lat long with in this extent.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;I want to convert a map point (lat,long) to a texcoord , so that I can use it in my webgl shaders.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;I am not sure how to convert.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt; Going&amp;nbsp; through the documentation , I see&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;we need to convert from map point (lat,long ) - &amp;gt; pixel -&amp;gt; clipspace -&amp;gt; texcoord . Correct me if I am wrong.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #006a00; background-color: #f8f8f8;"&gt;Could you provide a code example for this case ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 17:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/converting-mappoint-to-texcoord-tessellateextent-4/m-p/256599#M23818</guid>
      <dc:creator>NachiChidambaram</dc:creator>
      <dc:date>2020-03-18T17:48:24Z</dc:date>
    </item>
  </channel>
</rss>

