<?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 Is there a way to get ALL the polygon's UVids at once? in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-way-to-get-all-the-polygon-s-uvids-at-once/m-p/8825362#M7819</link>
    <description>&lt;P&gt;The documentation suggests that this data exists somewhere internally but there's no way to get it.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=__files_Polygon_API_How_polygons_are_handled_internally_htm#WS17956D7ADBC6E736-68E564E117AE33261D-7FFB" target="_blank" rel="noopener"&gt;http://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=__files_Polygon_API_How_polygons_are_handled_internally_htm#WS17956D7ADBC6E736-68E564E117AE33261D-7FFB&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;The structure that holds UVs in Maya consists of two arrays:

A UV index array that uses the exact same indices of the face array (visualized as a face vertex array).
A UV array that holds a list of UV points indexed by UVIds.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The currently available api methods (that I'm aware of) queries faceVtx individually and are simply too slow on a large mesh. Especially when doing this via Swig/ API2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_fn_mesh.html#a1d2b8c1536e8f4ec330ff9d83661f9bd" target="_blank" rel="nofollow noopener"&gt;http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_fn_mesh.html#a1d2b8c1536e8f4ec330ff9d83661f9bd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_it_mesh_polygon.html#af6930b5fb20019b73fdf6a3af7281fc3" target="_blank" rel="nofollow noopener"&gt;http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_it_mesh_polygon.html#af6930b5fb20019b73fdf6a3af7281fc3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_it_mesh_face_vertex.html#aa8d54b0db6d88c5101643ec9bb38be0a" target="_blank" rel="nofollow noopener"&gt;http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_it_mesh_face_vertex.html#aa8d54b0db6d88c5101643ec9bb38be0a&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2019 10:17:06 GMT</pubDate>
    <dc:creator>olarn</dc:creator>
    <dc:date>2019-05-31T10:17:06Z</dc:date>
    <item>
      <title>Is there a way to get ALL the polygon's UVids at once?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-way-to-get-all-the-polygon-s-uvids-at-once/m-p/8825362#M7819</link>
      <description>&lt;P&gt;The documentation suggests that this data exists somewhere internally but there's no way to get it.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=__files_Polygon_API_How_polygons_are_handled_internally_htm#WS17956D7ADBC6E736-68E564E117AE33261D-7FFB" target="_blank" rel="noopener"&gt;http://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=__files_Polygon_API_How_polygons_are_handled_internally_htm#WS17956D7ADBC6E736-68E564E117AE33261D-7FFB&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;The structure that holds UVs in Maya consists of two arrays:

A UV index array that uses the exact same indices of the face array (visualized as a face vertex array).
A UV array that holds a list of UV points indexed by UVIds.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The currently available api methods (that I'm aware of) queries faceVtx individually and are simply too slow on a large mesh. Especially when doing this via Swig/ API2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_fn_mesh.html#a1d2b8c1536e8f4ec330ff9d83661f9bd" target="_blank" rel="nofollow noopener"&gt;http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_fn_mesh.html#a1d2b8c1536e8f4ec330ff9d83661f9bd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_it_mesh_polygon.html#af6930b5fb20019b73fdf6a3af7281fc3" target="_blank" rel="nofollow noopener"&gt;http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_it_mesh_polygon.html#af6930b5fb20019b73fdf6a3af7281fc3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_it_mesh_face_vertex.html#aa8d54b0db6d88c5101643ec9bb38be0a" target="_blank" rel="nofollow noopener"&gt;http://help.autodesk.com/cloudhelp/2018/ENU/Maya-SDK/cpp_ref/class_m_it_mesh_face_vertex.html#aa8d54b0db6d88c5101643ec9bb38be0a&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 10:17:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-way-to-get-all-the-polygon-s-uvids-at-once/m-p/8825362#M7819</guid>
      <dc:creator>olarn</dc:creator>
      <dc:date>2019-05-31T10:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to get ALL the polygon's UVids at once?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-way-to-get-all-the-polygon-s-uvids-at-once/m-p/8843695#M7820</link>
      <description>&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;　&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 05:32:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-there-a-way-to-get-all-the-polygon-s-uvids-at-once/m-p/8843695#M7820</guid>
      <dc:creator>olarn</dc:creator>
      <dc:date>2019-06-11T05:32:57Z</dc:date>
    </item>
  </channel>
</rss>

