<?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: MaxScript/Python for Detecting Stretched/Distorted UVs in 3ds Max in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-python-for-detecting-stretched-distorted-uvs-in-3ds/m-p/12971801#M1490</link>
    <description>&lt;P&gt;Good point.&lt;BR /&gt;&lt;BR /&gt;But interesting, is the way to access to color map of Area Distortion mode somehow?&lt;BR /&gt;It's look like vertex color map but with no access.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2024 09:17:17 GMT</pubDate>
    <dc:creator>RGhost77</dc:creator>
    <dc:date>2024-08-21T09:17:17Z</dc:date>
    <item>
      <title>MaxScript/Python for Detecting Stretched/Distorted UVs in 3ds Max</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-python-for-detecting-stretched-distorted-uvs-in-3ds/m-p/12575620#M1487</link>
      <description>&lt;P&gt;Hi 3ds Max Scripting Community,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I need a MaxScript/Python solution to identify objects with UV distortion in 3ds Max, similar to the blue and red colors shown in the UV Editor during area distortion visualization.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Details:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;3ds Max Version: 2021&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Objective:&lt;/STRONG&gt; Detect and print the names of objects with UV distortion indicated by blue and red colors in the UV Editor.&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated! If you have a script or &lt;SPAN&gt;tips how to write one, please share.&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1329113iA208DF7434A5E00B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 10:48:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-python-for-detecting-stretched-distorted-uvs-in-3ds/m-p/12575620#M1487</guid>
      <dc:creator>razan_ns_hussein</dc:creator>
      <dc:date>2024-02-22T10:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: MaxScript/Python for Detecting Stretched/Distorted UVs in 3ds Max</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-python-for-detecting-stretched-distorted-uvs-in-3ds/m-p/12967030#M1488</link>
      <description>&lt;P&gt;Hello &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15035315"&gt;@razan_ns_hussein&lt;/a&gt; !&lt;BR /&gt;Do you find any solution?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 09:38:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-python-for-detecting-stretched-distorted-uvs-in-3ds/m-p/12967030#M1488</guid>
      <dc:creator>RGhost77</dc:creator>
      <dc:date>2024-08-19T09:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: MaxScript/Python for Detecting Stretched/Distorted UVs in 3ds Max</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-python-for-detecting-stretched-distorted-uvs-in-3ds/m-p/12969313#M1489</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1274152"&gt;@RGhost77&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hello &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15035315"&gt;@razan_ns_hussein&lt;/a&gt; !&lt;BR /&gt;Do you find any solution?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is not a complicated thing. What is distortion? Two possible criteria come to mind:&lt;BR /&gt;1. The ratio of map face and geo face areas is different than average.&lt;BR /&gt;2. The ratio of perimeter (sum of face edge lengths) of map and geo faces is different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In both cases, we need to calculate the ratio for all faces, find the average, and find the maximum distance from the average. All faces can then be arranged by their ratio distance from the average.&lt;BR /&gt;If the ratio is the same as the average, then there is no distortion, it is represented as 0. If the ratio difference equals the maximum, it is represented as 1.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 08:01:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-python-for-detecting-stretched-distorted-uvs-in-3ds/m-p/12969313#M1489</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2024-08-20T08:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: MaxScript/Python for Detecting Stretched/Distorted UVs in 3ds Max</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-python-for-detecting-stretched-distorted-uvs-in-3ds/m-p/12971801#M1490</link>
      <description>&lt;P&gt;Good point.&lt;BR /&gt;&lt;BR /&gt;But interesting, is the way to access to color map of Area Distortion mode somehow?&lt;BR /&gt;It's look like vertex color map but with no access.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 09:17:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-python-for-detecting-stretched-distorted-uvs-in-3ds/m-p/12971801#M1490</guid>
      <dc:creator>RGhost77</dc:creator>
      <dc:date>2024-08-21T09:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: MaxScript/Python for Detecting Stretched/Distorted UVs in 3ds Max</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-python-for-detecting-stretched-distorted-uvs-in-3ds/m-p/12973549#M1491</link>
      <description>&lt;P&gt;I don't think it's easily accessible from any of the channels. The data is stored in the internal buffer and rendered on-the-fly, I suppose.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 23:34:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-python-for-detecting-stretched-distorted-uvs-in-3ds/m-p/12973549#M1491</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2024-08-21T23:34:59Z</dc:date>
    </item>
  </channel>
</rss>

