[osg-users] bug: osgText doesn't work on MacOSX GL4.x with VAO

Robert Osfield robert.osfield at gmail.com
Tue Mar 14 10:30:11 PDT 2017


On 14 March 2017 at 17:01, Remo Eichenberger <osgforum at tevs.eu> wrote:
> Update: Stock sample "examples_osgtext" partial works with:
>
> font->setMinFilterHint(osg::Texture::LINEAR);
>
> on MacOSX GL3 Core Profile

This will be disabling mipmapping.  Surely OSX GL3 core profile
supports mipmapping. this is a fundamental feature of texturing.
Perhaps the driver is broken.

Disabling mipmapping on text is not desirable as you'll end up with
aliasing artefacts when the text on screen size results in the texel
to pixel ratio less than one.

What happens you don't use the
font->setMinFilterHint(osg::Texture::LINEAR); hack?  A screenshot
would be useful.

Robert.



More information about the osg-users mailing list