Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-19 Thread Alberto Luaces
GeeKer Wang writes: I tried without optimzation: let CMAKE_BUILD_TYPE be empty. It works even worse. And I don't know why the RPM version doesn't comflict with compiz on my computer while the compiled version does. Ok, I couldn't find the build logs for 2.8.3-3.fc14 but found instead the

Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-19 Thread GeeKer Wang
My system is i686, and I found there is no -march=i686 by default. I found this in CMakeCache.txt CMakeCache.txt://Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS CMakeCache.txt:_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS:INTERNAL=1

Re: [osg-users] Android Development Plans

2011-02-19 Thread Jorge Izquierdo Ciges
What i've not compiled is plugins (This weekend work was to make them compilable with searches for a 3rd party directory of android ports of some of them) I assume you mean plugins that require 3rd party dependencies... Did you build the .osg reader plugin? Or the new serializer plugins?

Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-19 Thread Alberto Luaces
GeeKer Wang writes: My system is i686, and I found there is no -march=i686 by default. I found this in CMakeCache.txt CMakeCache.txt://Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS CMakeCache.txt:_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS:INTERNAL=1

[osg-users] CPU usage

2011-02-19 Thread Neil Neilson
Hi, What can be done to reduce CPU usage when the image is not being changed/updated? After trying the examples using a pre-built 2.9.9 and the latest from the SVN built with VS10 the CPU usage is high. On a dual core one is nearly max and the other core is minimal. With an app that much of

Re: [osg-users] Announcing osg.js

2011-02-19 Thread Martin Scheffler
Very awesome! I'm especially interested in the JS side - I've just been looking for a javascript linear algebra library to use with my own project (http://www.sourceforge.net/apps/mediawiki/delta3d-extras/index.php?title=DtEntity) Mind if I lift your vector, matrix and quat classes? I've

Re: [osg-users] CPU usage

2011-02-19 Thread Ralf Stokholm
Hi Niel I have not tried this myself, but I remember that support was added for manually handling the render loop. OSG will default to a render loop that follows your screen refresh, and if this is forced off it will redraw as fast as possible. But i think there is support for handling when to

Re: [osg-users] CPU usage

2011-02-19 Thread Glenn Waldron
Neil, osgviewer --run-on-demand (probably doesn't work with osgEarth at the moment though.) Glenn On Sat, Feb 19, 2011 at 1:15 PM, Neil Neilson n...@nlneilson.com wrote: Hi, What can be done to reduce CPU usage when the image is not being changed/updated? After trying the examples

Re: [osg-users] Hiding and Showing a Node with Key Press

2011-02-19 Thread Ross Lance
Thanks that did the trick. Just for other's reference this is what worked well for me using setNodeMask(): // Keyboard Event Handler to Show/Hide Node class HideQuadKeyboardEventHandler : public osgGA::GUIEventHandler { public: HideQuadKeyboardEventHandler(osg::Node* node) { _node =

Re: [osg-users] CPU usage

2011-02-19 Thread Neil Neilson
Hi Ralf and Glen, It's good to know something has been done on this. Maybe osgearth_viewer will have the same capability before long. Usually when an app does not have scope the CPU drops. Even when an example is minimized to the task bar the CPU is the same but switches which core uses the

Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-19 Thread GeeKer Wang
Unfortunately, after I have add the CXXFLAG, still the compiled version runs bin/osgviewer cow.osg with fps10, while the RPM version fps40. It seems even worse than before. On Sat, Feb 19, 2011 at 9:39 PM, Alberto Luaces alua...@udc.es wrote: GeeKer Wang writes: My system is i686, and I

Re: [osg-users] Porting GraphicsWindowWin32 and PixelBufferWin32 from WGL to EGL

2011-02-19 Thread Eric Weitzman
I'm moving along with this port. osgViewer is partially running on top of imgtek's PVRVFrame ES 2.0 emulator on Windows 7. At this point, osgViewer starts ups, OGLES initialization is working, windows are created, and the emulator's control panel opens up. When I run osgViewer with cow.osg, a

Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-19 Thread Alberto Luaces
GeeKer Wang writes: Unfortunately, after I have add the CXXFLAG, still the compiled version runs bin/osgviewer cow.osg with fps10, while the RPM version fps40. It seems even worse than before. Did you make sure that cmake is using those flags during the build by adding VERBOSE=1 to the make