Hi,

On Saturday 19 May 2007, gh.robin wrote:
> I try to understand the big FPS differences i get when i build FG
> first with an old OSG library 10 april 2007,
> second with a recent OSG library  1.9.4 version
I believe that you built osg without optimization.
When building without optimization you get what you ask for. Unoptimized code 
that takes hours for the cpu intensive jobs like culling. That is also what 
the stats show ...

Configure osg with ist's new build system as a Release version. Or provide 
CMAKE_CXX_FLAGS and CMAKE_C_FLAGS on the command line of cmake.
I run cmake with something like

cmake -D CMAKE_CXX_FLAGS="-O3 <and some more>" \
        -D CMAKE_C_FLAGS="-O3 <and some more>" \
        -D CMAKE_VERBOSE_MAKEFILE=TRUE .....

Please try ...

    Greetings

           Mathias


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to