Hi all, I've been wondering why my settings for multi-sampled anti-aliasing were being ignored since porting my GUI code to Qt. I've since discovered the same behavior in the osgviewerQT example.
Since this program does not accept the --samples argument I altered QOSGWidget::createContext to explicitly set: ds->setNumMultiSamples( 4 ); Where we choose a visual in osgViewer::GraphicsWindowX11 I've confirmed that the visual number in the visual info indicates 4 samples... visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat ---------------------------------------------------------------------- 0x30 24 tc 0 32 0 r y . 8 8 8 0 4 24 0 16 16 16 16 4 1 Ncon However, there are jaggies all over the place -- no appearant anti-aliasing. Does anyone have an idea why this is so? -Don Leich _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

