FYI, I just pushed a fix to make osgEarth work correctly with --run-on-demand.
Glenn Waldron : Pelican Mapping On Sun, Feb 20, 2011 at 11:34 AM, Neil Neilson <[email protected]> wrote: > Hi Jean > > I tried the --run-on-demand in a .bat file > osgviewer --run-on-demand C:\OpenSceneGraph-2.9.9\data\cessna.osg > That worked very well, the CPU was nearly 0 when the image was not being > changed. > > I have 2 Notebooks with ATI and a Desktop NVIDIA cards. Changing something > there > would not help if an app is run on someone else's computer but that is good > to know. > > I am porting an app from Java for display to C++. > All of the apps that interact with it have are in C++. > http://www.nlneilson.com/nlnww.html > > By the time I get the basics ported osgEarth may have the > --run-on-demand or similar option, maybe by default as I don't see a > need to "redraw" if there is no change in the image. > > Running an .earth file with terrain and height it looks like when the > levels (LOD) changes > it can be optimized. The NASA WWJ SDK does that well so I will see what > can be done to port > that and submit proposed changes. > > Thank you! > > Cheers, > Neil > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=36870#36870 > > > > > > _______________________________________________ > 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

