I worked on a plotting system using OpenSceneGraph not too long ago. Speed was a very important factor for us because we were dealing with real time data. My experience with GNUplot is that it's not very good for this type of situation.
OpenGL gave us a lot of power to be able to zoom and manipulate data in real time. There are lots of inexpensive OpenGL operations you can perform such as changing the view frustum (for zoom), using textures for effects on traces, pixel shaders to control color, and vertex shaders for stupidly fast transforms (e.g. change to log scale). But in building our own in OpenGL, there was a lot of detail work to get everything to look just right. Text labels and layout were probably the hardest parts. We implemented the underlying drawing in OpenGL/OSG, and then integrated a native UI layer on top of it in Cocoa so it looked and behaved like a good/seamless Mac OS X application and leveraged all the native widgets available. It was a lot of work though. -Eric On 11/12/07, Anders Backman <[EMAIL PROTECTED]> wrote: > Hi all. > > A while back someone wanted to do 2D plots in an OSG app. > > I was just wondering, is there any one on the list with knowledge about the > best way to create > 2D graphs (gnuplot alike) from an interactive app? > Im looking for a portable solution windows/linux... > > Could be OpenGL rendered inside osg, > could be separate window but with tight integration, but Im not really > looking for a QT/fltk/Wtk widget, I would like to have something with less > dependencies... > > Someone mentioned using gnuplplot through a pipe? How would that work in > windows? > > /Anders > > > -- > > > ________________________________________________________________ > Anders Backman Email: [EMAIL PROTECTED] > HPC2N/VRlab Phone: +46 (0)90-786 9936 > Umea university Cellular: +46 (0)70-392 64 67 > S-901 87 UMEA SWEDEN Fax: +46 90-786 6126 > http://www.cs.umu.se/~andersb > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

