PDA

View Full Version : Outlines of a model



mphanke
08-02-2002, 01:11 AM
Hi,
some time ago there was a tutorial posted on opengl.org which showed how to render the outlines of an object (I believe this was with help of the stencil buffer).
I want to project the outlines of an object onto a wall. Or only draw the outlines w/o the object.

Kind regards,

Martin

coredump
08-02-2002, 02:51 AM
take a look here (http://nehe.gamedev.net) and look at lesson 37 (i think). it's a tut on cel shading and object outlining is one of the features discussed.

b

ScottManDeath
08-02-2002, 04:15 AM
Hi

if I remember correcltly it was either on www.flipcode.com (http://www.flipcode.com) or on www.gamedev.net (http://www.gamedev.net) . look there in the techfiles/artcicles/tutorials.

Edit: look http://www.flipcode.com/articles/article_objectoutline.shtml

Bye
ScottMeanDeath

[This message has been edited by ScottManDeath (edited 08-02-2002).]

Gavin
08-02-2002, 04:59 AM
A clumsy way which I did it once was to render the object then check each pixels neghbouring ones and see if it was an edge pixel if so mark it so!