Re: [osg-users] Osg Text issues

2020-06-10 Thread OpenSceneGraph Users
Hi Dan, On Wed, 10 Jun 2020 at 01:37, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > I just want to bump this to tell the issue have been resolved. On the last > code snippet i posted you can see i create a new camera, set the graphics > context and set the viewers camera to

Re: [osg-users] Osg Text issues

2020-06-09 Thread OpenSceneGraph Users
> > Hi Robert ! > I just want to bump this to tell the issue have been resolved. On the last code snippet i posted you can see i create a new camera, set the graphics context and set the viewers camera to this one. This was what caused the issue and when i instead extracted the associated came

Re: [osg-users] Osg Text issues

2020-01-29 Thread OpenSceneGraph Users
Hi Dan, Thanks for all the details. Seeing a difference between the same scene graph in our Qt based viewer vs OSG suggests that the Qt side is changing OpenGL state, or setting up the graphics context+frame buffers in a different way to the OSG does. I don't have any Qt expertise so can't he

Re: [osg-users] Osg Text issues

2019-11-20 Thread Robert Osfield
Hi Dan, On Wed, 20 Nov 2019 at 14:54, Dan johansson 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 wit

Re: [osg-users] Osg Text issues

2019-11-20 Thread Dan johansson
Hi Robert 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 st

Re: [osg-users] Osg Text issues

2019-11-19 Thread Robert Osfield
Hi Dan, >From the screenshot and your tiny segment of code there is no way for us to know what might be amiss. What happens when you run the osgtext example? Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegr

Re: [osg-users] Osg Text issues

2019-11-19 Thread Dan johansson
Don't mind the Code: textType_ = GI::TextType::TEXT_3D; line, its a typo. Sorry for that confusion //Dan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76915#76915 ___ osg-users mailing list osg-u

[osg-users] Osg Text issues

2019-11-19 Thread Dan johansson
Hi, I am creating a simple coordinate system and trying to use the osg text for axis labelling and tick information. This is the settings i use for creating the text Code: OsgText2D::OsgText2D() : textGeode_(new osg::Geode), osgText_(new osgText::Text) { osgText_->setFont("media/fonts/Robo