Drawing a Hatch behind a textdot in a display conduit


I’m attempting to highlight some brep faces for the user.

I draw a Hatch in a display conduit. I use hatch because I have different types of faces I need to highlight. But maybe there is another way to display different types of faces?

The biggest problem I have is that a textdot which is also drawn in the same conduit is always drawn behind the hatch. I would the textdot to always be on top of the hatch.

Is there any way I can set a fake depth-value for my drawing call to use while drawing my hatch?

Disable depth testing and depth writing when drawing your text dot

Yeah, I’m an idiot. I was drawing my hatch twice by accident: one with, and one without depth testing/writing.

Thanks! :slight_smile: