Help with drawing edges of 3d shapes against background!

PLEASE RESPOND WITH AT LEAST “this is impossible for processing” OR SOMETHING!
Hi there!

I have been researching this for a while and I can’t be sure if its something to do with shaders or not, but I haven’t been able to find a way to draw shapes which have an outline/border but do not lines defining every single edge.

What I’m trying to describe can be best summed up with the following illustration:

Again, noStroke() has no lines at all. The function stroke(int) puts lines on every edge.
Is there some sort of compromise between the two which only draws lines around the shape such that the edges of the shape against the background are displayed?

1 Like

you see this?
Using stencils in P2D / P3D ?

1 Like