Page MenuHome

Viewport: Retopology Overlay
Confirmed, NormalPublicTO DO

Authored By
Jeroen Bakker (jbakker)
Sep 26 2019, 11:17 AM
"Love" token, awarded by astrand130."Mountain of Wealth" token, awarded by franMarz."100" token, awarded by 616."Love" token, awarded by Draise."Love" token, awarded by mistajuliax."Love" token, awarded by Kickflipkid687."Love" token, awarded by A.Lex_3D."Like" token, awarded by jmztn."Love" token, awarded by Caetano."Love" token, awarded by gwobbler."Love" token, awarded by TheCharacterhero."Love" token, awarded by cgndev."Like" token, awarded by Tamer."100" token, awarded by fiendish55."Love" token, awarded by Brandon777."Love" token, awarded by 1D_Inc."Love" token, awarded by reguza64."Love" token, awarded by cruelandunusual."Love" token, awarded by Zino."Love" token, awarded by jfmatheu."Love" token, awarded by amonpaike."Love" token, awarded by brilliant_ape."100" token, awarded by Frozen_Death_Knight."Love" token, awarded by Way."Love" token, awarded by xrg."Love" token, awarded by billreynish.


Created this subtask for testing several drawing techniques in order to create the Retopology overlay. Based on several implementation we can chose the best technique.

Biggest issues are that the wires should be visible on top of other meshes, but still be occluded by them.
The most common technique is to shift the depth buffer, but that will still introduce rendering atifacts.

The options we know so far we want to prototype are

  • Backface depth test buffer
  • Frontface depth test buffer
  • Average of Back and front face buffer

note: Above options still artifacts when looking on edges of meshes, but those are actually edge cases that might not be that disturbing but we need to test.

Please keep comments related to this topic.

This is with backfacing depth test. Results are ok when retopology mesh is finished

but when having a non-manifold mesh it will still render artifacts.

Using a stencil buffer to remove render artifacts introduces sharp edges

As non-manifolds is part of the process we should find ways how to remove these render artifacts.

Revisions and Commits

rB Blender
Needs Revision

Related Objects

ConfirmedTO DOJeroen Bakker (jbakker)

Event Timeline

Jeroen Bakker (jbakker) lowered the priority of this task from 90 to Normal.Sep 26 2019, 11:17 AM
Jeroen Bakker (jbakker) created this task.
Way awarded a token.Sep 27 2019, 4:39 PM

We're hiding parts of meshes, so we're able to get rid of depth tests on hardware, providing the power to display complex models during retopology.

100% quad manifold surface, made by manual retopology:

@Paul Kotelevets (1D_Inc) Sorry, I don't get what you want to tell.

@Paul Kotelevets (1D_Inc) Sorry, I don't get what you want to tell.

Keep it up, you are making great job, keeping patch at low performance loss level.

Jeroen Bakker (jbakker) renamed this task from Prototype Retopology Overlay Drawing Techniques to Retopology Overlay Drawing Techniques.Nov 27 2019, 8:11 AM
Jeroen Bakker (jbakker) renamed this task from Retopology Overlay Drawing Techniques to Viewport: Retopology Overlay.Jan 22 2020, 9:25 AM

I struggled with this for a long time, and finally found a workaround... not sure if this is of any help, but I can hide now undesired back faces in edit mode when doing the retopo. I just create instanced copy, set to in front, and turn back faces culling on. That way the hi-poly mesh is hiding my editing mesh, and in front instance is showing the vertices that are in front