Hi Leeten,
Full screen anti-aliasing is different the line and polygon smooth
modes, for these you just do stateset->setMode(GL_LINE_SMOOTH,
osg::StateAttribute::ON); etc.
As for full screen anti-aliasing, the advice given so far won't help
you, as it only works for osgViewer based apps that use
Hi,
I just tried the:
osg::DisplaySettings::instance()->setNumMultiSamples( 4 );
and didn't get it to work either at first try. I found out that is must be
called right after
osg::ref_ptr viewer = new osgViewer::Viewer;
then it worked just fine..
would have been nice with a warning or something w
osgthirdpersonview turns on multisampling. Run it to see if your
hardware is capable of multisampling.
-Paul
On May 29, 2008, at 7:05 PM, Leeten wrote:
Hi, all
I'm using OSG 2.4 and I can't find GL_LINE_SMOOTH or
GL_POLYGON_SMOOTH something in it. The lines and edges of polygons
in
Daly
发送时间: 2008-05-30 10:06:44
收件人: OpenSceneGraph Users
抄送:
主题: Re: [osg-users] How can I archieve "antialiasing" in osg 2.4?
Leeten wrote:
Hi, all
I'm using OSG 2.4 and I can't find GL_LINE_SMOOTH or GL_POLYGON_SMOOTH
something in it. The lines and edges of poly
Leeten wrote:
> Hi, all
> I'm using OSG 2.4 and I can't find GL_LINE_SMOOTH or GL_POLYGON_SMOOTH
> something in it. The lines and edges of polygons in my scene are
> jagged(shownin the attachment), so I'm trying to find some
> antialiasing way. I've tried the fllowed way which seemed helped nothing
Hi, all
I'm using OSG 2.4 and I can't find GL_LINE_SMOOTH or GL_POLYGON_SMOOTH
something in it. The lines and edges of polygons in my scene are jagged( shown
in the attachment ), so I'm trying to find some antialiasing way. I've tried
the fllowed way which seemed helped nothing.
1) set the M
6 matches
Mail list logo