Yes, that's the way I'd do it too. The method described on the Wikipedia 
page is great if you have control over the drawing of each pixel in the 
line, but with modern hardware we don't (and that's a Good Thing).

John Donovan
Sony Computer Entertainment Europe
http://www.scee.com


[EMAIL PROTECTED] wrote on 03/11/2006 13:23:35:

> Hi

> On 11/3/06, Madhavan <[EMAIL PROTECTED] > wrote:
> Hi,
> 
> Is there option to get "Hidden Line Removal" from the Wireframe Model.
> 
> Reference for the feature please see the link below,
> http://en.wikipedia.org/wiki/Hidden_line_removal 
> 
> The OSG does not have such a built-in feature afaik
> Maybe you can draw your object in the z-buffer (disabling the color 
> buffer output) and then draw the wireframe in the color buffer with 
> a "less or equal" depth function.
> Well, this is the approach I would use; implementing the technique 
> described in the article seems very difficult, but it might be 
> possible with a (very complex) shader.
> 
> Thibault
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
[EMAIL PROTECTED]

This footnote also confirms that this email message has been checked
for all known viruses.

**********************************************************************
Sony Computer Entertainment Europe

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to