[osg-users] How can I use glHint() in OSG 1.2?
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...
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users