<?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: How do I achieve the Quad Draw Look? in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14140001#M18192</link>
    <description>&lt;P&gt;Hi Brent,&lt;BR /&gt;I'm very happy with how this turned out and I thought i'd share it with you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you once again for helping me figure this out.&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/STMEkDkeZzc" target="_blank" rel="noopener"&gt;https://youtu.be/STMEkDkeZzc&lt;/A&gt;&amp;nbsp;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FSTMEkDkeZzc%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSTMEkDkeZzc&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FSTMEkDkeZzc%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="200" height="113" scrolling="no" title="Plasticity Retop Tool Release!" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 23 May 2026 22:11:48 GMT</pubDate>
    <dc:creator>addiskidan</dc:creator>
    <dc:date>2026-05-23T22:11:48Z</dc:date>
    <item>
      <title>How do I achieve the Quad Draw Look?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14105322#M18180</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm building a maya retopology tool and i'm trying to get a viewport look similar to quad draw.&lt;BR /&gt;What i want specifically is the same visual result quad draw has where the wireframe overlay is above the material.&lt;BR /&gt;&lt;BR /&gt;Since my retopologised mesh occupies nearly the same space as the source mesh, i had to use "alwaysDrawOnTop" with a semi transparent material. The problem is it brings the shading of the object over the wireframe rendering it useless. Is there a way to force wireframe to render on top of the object's shading without enabling wireframe on shaded globally? and maybe control thickness also?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;import maya.cmds as cmds

selection = cmds.ls(selection=True)

for ctrl in selection:
    shape = cmds.listRelatives(ctrl, shapes=True)
    if shape:
        for shp in shape:
            cmds.setAttr("{0}.alwaysDrawOnTop".format(shp), True)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-04-24 225720.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1635888i1D878191DC144D36/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-04-24 225720.png" alt="Screenshot 2026-04-24 225720.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2026 23:43:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14105322#M18180</guid>
      <dc:creator>addiskidan</dc:creator>
      <dc:date>2026-04-24T23:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I achieve the Quad Draw Look?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14106994#M18181</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;This older post has information on how &lt;STRONG&gt;QuadDraw&lt;/STRONG&gt; achieves that look.&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/maya-modeling-forum/create-material-like-the-quad-draw/m-p/13757644#M26666" target="_blank"&gt;https://forums.autodesk.com/t5/maya-modeling-forum/create-material-like-the-quad-draw/m-p/13757644#M26666&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You have already discovered the &lt;STRONG&gt;alwaysDrawOnTop&lt;/STRONG&gt; attribute and the thick wireframes are handled by custom drawing in &lt;STRONG&gt;QuadDraw&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2026 08:51:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14106994#M18181</guid>
      <dc:creator>brentmc</dc:creator>
      <dc:date>2026-04-27T08:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I achieve the Quad Draw Look?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14109734#M18182</link>
      <description>&lt;P&gt;Hi Brent,&lt;BR /&gt;Thank you. I understand now that the wireframe is custom drawn and the mesh uses alwaysDrawOnTop. One thing i'm still trying to understand is the depth relation between the two. Are both (quad draw object and wireframe) custom drawn together or is the blue mesh a regular geometry with the wireframe only custom drawn on top?&amp;nbsp;&lt;SPAN&gt;If the wire is custom drawn separately, how is it depth-sorted against the blue surface? Is it using&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MShaderInstance::setDepthPriority&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;or a custom viewport ordering? Any guidance on the api path would be very welcome. Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-04-29 011310.png" style="width: 902px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1636614i3804FDB8B8BD3822/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-04-29 011310.png" alt="Screenshot 2026-04-29 011310.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-04-29 014655.png" style="width: 929px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1636613i9339C2D3E5E3509B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-04-29 014655.png" alt="Screenshot 2026-04-29 014655.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-04-29 025020.png" style="width: 997px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1636612i556D900A5AE4D7A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-04-29 025020.png" alt="Screenshot 2026-04-29 025020.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 00:04:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14109734#M18182</guid>
      <dc:creator>addiskidan</dc:creator>
      <dc:date>2026-04-29T00:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I achieve the Quad Draw Look?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14110300#M18183</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;The two are drawn separately.&lt;BR /&gt;&lt;BR /&gt;It has been a long time since I worked on this and I didn't work directly on the rendering aspect so take this info with a grain of salt...&lt;BR /&gt;&lt;BR /&gt;The blue mesh (drawn with alwaysOnTop) is drawn with depth buffer trickery to appear on top of the mesh you are retopologizing with QuadDraw.&lt;BR /&gt;&lt;BR /&gt;The thick wireframe mesh is drawn on top without depth buffering and it might be using something like alpha testing to handle self-occlusions.&lt;BR /&gt;This is done using a custom drawing mode that I don't believe is exposed via the API.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 10:26:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14110300#M18183</guid>
      <dc:creator>brentmc</dc:creator>
      <dc:date>2026-04-29T10:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I achieve the Quad Draw Look?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14112823#M18184</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-05-01 022359.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1637238i9BD7C8A36B42DA78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-05-01 022359.png" alt="Screenshot 2026-05-01 022359.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; I settled on a muted wireframe color without self occlusion. Not as nice as quad draw but it's readable. Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 23:33:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14112823#M18184</guid>
      <dc:creator>addiskidan</dc:creator>
      <dc:date>2026-04-30T23:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I achieve the Quad Draw Look?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14113140#M18185</link>
      <description>&lt;P&gt;You're welcome. Looks cool!&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2026 08:13:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14113140#M18185</guid>
      <dc:creator>brentmc</dc:creator>
      <dc:date>2026-05-01T08:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I achieve the Quad Draw Look?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14140001#M18192</link>
      <description>&lt;P&gt;Hi Brent,&lt;BR /&gt;I'm very happy with how this turned out and I thought i'd share it with you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you once again for helping me figure this out.&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/STMEkDkeZzc" target="_blank" rel="noopener"&gt;https://youtu.be/STMEkDkeZzc&lt;/A&gt;&amp;nbsp;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FSTMEkDkeZzc%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSTMEkDkeZzc&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FSTMEkDkeZzc%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="200" height="113" scrolling="no" title="Plasticity Retop Tool Release!" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 22:11:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14140001#M18192</guid>
      <dc:creator>addiskidan</dc:creator>
      <dc:date>2026-05-23T22:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I achieve the Quad Draw Look?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14143720#M18193</link>
      <description>&lt;P&gt;Thanks for sharing. That looks very cool!&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2026 13:15:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/how-do-i-achieve-the-quad-draw-look/m-p/14143720#M18193</guid>
      <dc:creator>brentmc</dc:creator>
      <dc:date>2026-05-27T13:15:43Z</dc:date>
    </item>
  </channel>
</rss>

