Hi Nikita,

I have sample of that. Ping me on my email I can share my sample with you

Nick


On Thu, Jun 19, 2014 at 9:51 AM, Robert Osfield <[email protected]>
wrote:

> HI Nikita,
>
> The way to do overlays like this is to render using a Camera with an
> orthographic projection that effectively creates a 2D view, then just
> create the geometry your draw in the standard OSG way using Nodes,
> Geometry and StateSet as you'd do with a 3D scene graph.  The osghud
> example shows various ways of creating this extra view.  The OSG's
> onscreen stats also has a frame rate profile chart that is similar to
> what you'll need to show, have a look at
> src/osgViewer/StatsHandler.cpp.
>
> Robert.
>
> On 19 June 2014 08:28, Nikita Petrov <[email protected]> wrote:
> > Hi,
> >
> > I'm developing application with osgEarth. What I want to do now is a
> plane flying in the sky and in the bottom of the screen I want to show
> vertical profile of the flight H(t). I've tried to find something to draw
> charts on overlay (HUD) in OSG, but found nothing! I don't believe that
> there is no such basic thing in OSG.
> > The question is how I should do it? What is the easiest way? I'm working
> with 3D graphics only for several months, so I'm at the beginner level. :)
> >
> > Thank you!
> >
> > Cheers,
> > Nikita
> >
> > ------------------
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=59808#59808
> >
> >
> >
> >
> >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to