Hi -- I assume you're aware that glHints are very implementation dependent. There's a good chance that your hint will have no effect whatsoever on many OpenGL implementations. With that in mind... I don't see that glHint is used at all in current OSG. What you would probably want to do is derive a new class from StateAttribute to support this. (To do this properly (support .osg file format and all) you'd need to create a NodeKit.) -Paul
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Bolcina Sent: Wednesday, January 03, 2007 5:18 AM To: osg users Subject: [osg-users] How to use glHint to make round pixels with OSG Hi. I want to have round pixels. I found out that this shold do it (along with point smooth) glHint(GL_LINE_SMOOTH_HINT, GL_NICEST); How to do it?
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
