[osg-users] rendering edges of an object

John Donovan john.donovan at embryonicstudios.com
Thu Oct 11 02:20:10 PDT 2007


andrej spilak wrote:
> I'd like to render a wireframe of an object with it's outer edges only. 
> Basically only outline of an object. Are there any osg solutions?

If you want to render _just_ the outline, then the method I suggested will
still work, but you've just got to switch off rendering to the colour buffer
for the front faces, but keep z-writes on. And also make sure you do it last,
so it doesn't obscure anything behind it.

-J


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the osg-users mailing list