[osg-users] osgText and OpenGL ES 3
Sebastian Messerschmidt
sebastian.messerschmidt at gmx.de
Tue Aug 2 06:28:29 PDT 2016
Hi,
Resending the attachment for forum users as zip.
> Hello,
>
> I am trying to port my project using OSG 3.4.0 on iOS.
> I first tried to modify OSG sources to be fully usable with an OpenGL ES 3 context, as other dependencies require OpenGL ES 3.
>
> I managed to run osg on my iPad, modifying shaders and removing duplicates while merging them, but osgText is making me crazy |-)
> I tried to debug using only the osgtext.cpp example.
>
> I embedded a font with my application in a bundle, and successfully load it. I modified osgText/Glyph to use GL_RED as glyph texture format.
> Only the DefaultFont is correctly rendered. Other Glyphs are not rendered, only their bouding boxes (cf. attached image).
>
> Does anyone has an idea on what could be the cause?
>
> Cheers,
> Benjamin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68251#68251
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/img_0029_454.png
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: text_shader.zip
Type: application/octet-stream
Size: 858 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160802/20375c52/attachment-0003.obj>
More information about the osg-users
mailing list