[osg-users] How can I use glHint() in OSG 1.2?

litingbaotou litingbaotou at 126.com
Wed Dec 19 19:02:36 PST 2007


> Hi Litingbaotou,

> On Dec 19, 2007 9:25 AM, litingbaotou <litingbaotou at 126.com> wrote:
> > I would like to use glHint() to smooth lines and polygons in my scene. Not
> > like in OSG 2.0, ghHint is not a StateAttribute in OSG1.2, and I have no
> > idea how to use it. I also tried MultiSample, but it doesn't help. May I
> > have your answers? Thanks.

> There is no glHint support in 1.2, so you'll either have to add the
> osg::Hint StateAttribute from 2.x back into 1.2, or just upgrade...

> Robert.


Hi, Robert

Thanks a lot. That means if I want to enable antialiasing I have to add the osg::Hint StateAttribute from 2.x back into 1.2, right?



litingbaotou
2007-12-20
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071220/7649619b/attachment.htm>


More information about the osg-users mailing list