[osg-users] osgText::Text display issue (only white boxes rendered)

Julien Valentin julienvalentin51 at gmail.com
Sun Dec 31 07:53:46 PST 2017

Thank for the effort but it seams your example is still based on a QT graphic context.
In order to determine if the bug come from osg or from qt, you should use a classic osgUtil::CompositeViewer (OSGViewDataWidget come from osgEarth, so  removing it is mandatory in order to determine if there's a bug in core osg)

eskay187 wrote:
> Hi,
>   thank you for your reply, and sorry for my late response (holidays).
> I have made a "simple" example of the bug in form of a standalone program, which is based on the osgpointsprites, osghud examples and the osgEarthQt Viewer.
> You'll also see the the point sprite textures are not rendered correctly (near Africa), as the whole texture is rendered as a simple white rectangle. I assumed this to be related to the same error, so I added it.
> What I should have mentioned previously is that of course the examples themselves (on their own) work fine, but if they are combined in the way as I have done something weird is going on, and since I am not a graphics specialist I am somewhat out of my depth.
> If it should turn out that the osgEarthQt usage/lib is the issue, then I guess I'll have to apologize for reporting in the wrong forum. I just started posting here since the rendering error showed when using code based on osg examples.
> To build the example, just run "cmake .." in the build folder and run it in the "build/bin" folder (some data files are stored there that are used). You'll also need to have osgEarth (2.8) installed and an active internet connection to load the map data.
> The attached files are to code/data files and a screenshot of how it looks in my setup.
> Again, thank you for your support. If I can give further information please let me know.
> Cheers,
> Helmut

Read this topic online here:

More information about the osg-users mailing list