PDA

View Full Version : stitching (hidden line removal)



fabiocibo
02-07-2002, 07:47 AM
Trying to highlight the edges of solid objects, I've drawn the objects twice, the first time with glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) and the second with glPolygonMode(..., GL_FILL) and glPolygonOffset(1.0, 1.0): the edges are highlighted, but the figure is heavy to manage.
Can somebody help me?

Julien Cayzac
02-07-2002, 08:53 AM
Try looking for the cell shader on http://nehe.gamedev.net/ .