Hi All.

I have to draw antialiased lines in different colors in 3D space.

So, in order to have them antialiased, I need to disable the update
of the depth buffer, to avoid cracks in the junctions of the polylines
that approximate curved lines.
In this way unfortunately farther lines could appear over nearer lines.
On the other hand, if I enable the update of the depth buffer,
I would have the cracks.
I tried with a double pass algorithm (both methods in sequence),
but I still see some crack at the junctions. And it also slows down
performance.

 

Any better idea?

 

Thanks,

Gianluca

 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to