Hi Nikita, "Nikita Petrov" writes:
> 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. I'm afraid that chart drawing is far from basic :), and out of scope for 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. :) You should look for a charting library, even it seems that there are not many for C++ (https://en.wikipedia.org/wiki/List_of_charting_software) You can also try to use a general purpose 2D library for drawing the chart into a texture, or use OSG's StatsVisitor for inspiration (note that in osgviewer a simple chart is shown when you press "s" twice). -- Alberto _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

