PDA

View Full Version : Visible LINE(!) determination?



ANGEL
09-01-2000, 01:46 PM
Hi

I want to know how to implement the visible

line(not surface) determination.

So the objects are drawn by the wiregrid

(mesh), but invisible lines are Not

drawn.

How can I implement VLD?

Of course I can implement the visible

Surface determination via the depth test.

Please Help me!!

DFrey
09-01-2000, 04:01 PM
Draw the surface to the depth buffer but not the color buffer, then draw the lines. You probably will have to draw the surfaces using a nonzero polygon offset so that there is no z-fighting amongst the lines and surfaces (invisible though they are).

ANGEL
09-01-2000, 09:01 PM
I need your advice precisely.

Thank you for explaining via code...

Plz...