Re: [osg-users] osg::Node can not be displayed front of the Earth on the screen

2018-03-05 Thread Ali Ozdin
Thank you very much, I did it. Trajce Nikolov NICK wrote: > if you need to draw anything on the center of the screen in front of > something else, then your problem is to create an ortho camera and have your > geometry there - something like HUD. The osghud example shows how to do this. >

Re: [osg-users] osg::Node can not be displayed front of the Earth on the screen

2018-03-02 Thread Trajce Nikolov NICK
if you need to draw anything on the center of the screen in front of something else, then your problem is to create an ortho camera and have your geometry there - something like HUD. The osghud example shows how to do this. Just for a test, you can use the createHUD() function from that sample to

Re: [osg-users] osg::Node can not be displayed front of the Earth on the screen

2018-03-02 Thread Ali Ozdin
I could not relate the example with my question. I am using osgEarth. Can you be more expressive what causes this? Thanks, Trajce Nikolov NICK wrote: > Hi Ali, > > have a look at the osghud example from the osg repo > > > On Fri, Mar 2, 2018 at 1:44 PM, Ali Ozdin < ()> wrote: > > > Hi, > >

Re: [osg-users] osg::Node can not be displayed front of the Earth on the screen

2018-03-02 Thread Trajce Nikolov NICK
Hi Ali, have a look at the osghud example from the osg repo On Fri, Mar 2, 2018 at 1:44 PM, Ali Ozdin wrote: > Hi, > > I drew an osg Node and I want to put it on the center of the screen like > any labelControl. How can I do that? I put a sample code below. > > If I