Hi everybody, long time no see!

I'm in the process of upgrading my development environment to new tools and 
libraries. All my OSG-based applications still use OSG 1.2, so I'm now 
switching them to the latest version of OSG in SVN. Some of them use my own 
viewer library (which in turn uses SceneView) instead of Producer, so I've 
decided to start porting them first, as to avoid the Producer -> osgViewer 
transition.

Initially I had some troubles building OSG because of errors in CMake files, 
but they were easily fixed. More on this on a separate post.

The good news: little changes were needed to make my apps compile with OSG 2.3. 
The bad news: the same apps now consume much more RAM, and they also run 
slower. In brief, here are the results for one of my largest applications (with 
lots of compressed DDS textures):

Compiler: Visual C++ 7.1
OSG+OpenThreads: 1.2
Total RAM usage: 380 MB
Frame rate (reference view): 30 FPS

Compiler: Visual C++ 9.0
OSG+OpenThreads: 1.2
Total RAM usage: 380 MB
Frame rate (reference view): 27 FPS

Compiler: Visual C++ 9.0
OSG+OpenThreads: latest SVN (2.3.6)
Total RAM usage: 760 MB
Frame rate (reference view): 23 FPS

The OS is Windows XP Professional SP2.
In all tests, VSync was ON, and the refresh rate was 75 Hz. The test scene 
doesn't contain any paged LODs. 

This is only a quick report, more details to come. Before I try to understand 
what's going on, is there anything that I might have overlooked, as for example 
any optimizations whose default values have changed since OSG 1.2?

Cheers,
Marco

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

Reply via email to