[osg-users] Osg Text issues

Robert Osfield robert.osfield at gmail.com
Wed Nov 20 07:08:26 PST 2019


Hi Dan,

On Wed, 20 Nov 2019 at 14:54, Dan johansson <johansson_dan at hotmail.com>
wrote:

> I understand its difficult to help with such little information,
> unfortunately that is all there is so i cannot provide more code regarding
> this specific case. The osgtext example looks splendid, i copied and
> replaced my code with an example there and it now looks much cleaner. I'm
> still clueless as to what caused the issue. I can add i have built OSG with
> core profile and disabled the shader pipeline, but i am still wondering
> what actual renders the text as i haven't added a shader program to it in
> the way i would with a geode/geometry structure.
>

Are you using OSG from github master or the stable 3.6.x or other release?
If you are using master I'd recommend using the latest 3.6.4 release as it
doesn't include the experimental shader pipeline work.

>From 3.6.x onwards osgText provides it's own shaders so you don't need to
provide them yourself.  I can't provide any guesses as to what is wrong
with your original code, the best thing I can do is to recommend comparing
the example code to your own to see what differences there are.

Cheers,
Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20191120/c319e525/attachment.html>


More information about the osg-users mailing list