[osg-users] VSync Linux NVidia

2011-04-17 Thread Sergey Kurdakov
Hi Lv, I have already enable Sync to VBlank in the Nvidia-settings.Every time I first start the computer and run the osg applicaiton,the VSync seemes not effect,the fps is about 100. see http://forum.openscenegraph.org/viewtopic.php?t=8004 for linux patch ( third post by *Laurens Voerman*)

[osg-users] Render To Image Crash in RenderStage.cpp - trunk

2011-04-17 Thread Sergey Kurdakov
Hi Matthias, in your second suggestion seems pImage-dirty(); should be placed somewhere to load rendered texture. Regards Sergey ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] problem with osgFX::SpecularHighlights

2011-04-17 Thread Jean-Sébastien Guay
Hello Lv, when shl-setLightNumber(8) it prints Warning: detected OpenGL error 'invalid enumerant' at after RenderBin::draw(..) when set Light Numbe below 8 ,it is OK. The OpenGL fixed pipeline supports up to 8 lights, indices 0 to 7 (enumerants GL_LIGHT0 to GL_LIGHT7). So index 8 is

Re: [osg-users] osgOcean in CompositeViewer with multiple views

2011-04-17 Thread Kim Bale
Hi J-S, Firstly thanks for the recent set of commits, much appreciated. Now onto your problem. I had a feeling that that there would be problems when using osgOcean with multiple views, largely because of the LOD system that it employs relying on the main camera. I've had a play with your

[osg-users] Nvidia Windows7 Dual Monitor Setup

2011-04-17 Thread Tim Winkler
Hi, while running the OSG examples with the OSGViewer I have a very strange effect on my machine. The screen is split between my two monitors, but in the wrong order, e.g. for the cow.osg example the first part is rendered to the left screen and the end part of the cow is rendered to the right

[osg-users] Issue with drawing polygons

2011-04-17 Thread Gaurav Garg
Hi All, I am trying to create osg polygon geometry with polygon mode = osg::PolygonMode::LINE. The issue is that line segment joining first and last point is not being drawn. This issue is not reprducible on all the systems. It works fine on my GTX 460 and ATI Radeon 5700 machines. But, it is

Re: [osg-users] Nvidia Windows7 Dual Monitor Setup

2011-04-17 Thread Jean-Sébastien Guay
Hi Tim, while running the OSG examples with the OSGViewer I have a very strange effect on my machine. The screen is split between my two monitors, but in the wrong order, e.g. for the cow.osg example the first part is rendered to the left screen and the end part of the cow is rendered to the

Re: [osg-users] osgOcean in CompositeViewer with multiple views

2011-04-17 Thread Jean-Sébastien Guay
Hi Kim, Firstly thanks for the recent set of commits, much appreciated. Yes, we've started a few more projects that will require a more recent osgOcean build than we'd been using up until now (specifically to be able to see through the surface when the camera is above the water), and so in

Re: [osg-users] Build UserInterface

2011-04-17 Thread Ahmed Magdy Guda
ahmed89 wrote: Hi, i am currently using osg version 1.2 and i am trying to make user interface so user can submit commands .. etc i can use MFC or whatever technology that will help any advice that can help me doing this ? ... Thank you! Cheers, ahmed you can use wxWidget

Re: [osg-users] Build UserInterface

2011-04-17 Thread ahmed salah
thanx for the tip really appreciated ahmed -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38540#38540 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Nvidia Windows7 Dual Monitor Setup

2011-04-17 Thread Tim Winkler
Hi, thanks a lot for the fast and detailed answer! Glad that you confirm my intuition on this one. So where does the init happen ? (I am not talking about fixing the osgviewer) Where would be the place to start fixing this in osg itself so that it runs as expected out-of-the-box ? The

Re: [osg-users] Issue with drawing polygons

2011-04-17 Thread Chris 'Xenon' Hanson
On 4/17/2011 11:09 AM, Gaurav Garg wrote: I am trying to create osg polygon geometry with polygon mode = osg::PolygonMode::LINE. The issue is that line segment joining first and last point is not being drawn. This issue is not reprducible on all the systems. It works fine on my GTX 460 and

[osg-users] Using only geometries from highest LOD

2011-04-17 Thread Linda Lee
Hi, I need to do screencaptures of a scene from different views. And I need the terrain to be switched to the highest LOD to capture all details. Is there a way to force the terrain (an openflight terrain) to switch to the highest LOD when rendering in OSG? Thank you! Cheers, Linda

Re: [osg-users] Using only geometries from highest LOD

2011-04-17 Thread Chris 'Xenon' Hanson
On 4/17/2011 5:47 PM, Linda Lee wrote: I need to do screencaptures of a scene from different views. And I need the terrain to be switched to the highest LOD to capture all details. Is there a way to force the terrain (an openflight terrain) to switch to the highest LOD when rendering in

Re: [osg-users] Issue with drawing polygons

2011-04-17 Thread Gaurav Garg
We have separate geometries for both LINE and FILL (Each one can be dynamically turned off and both can be on at the same time). So, we need not to switch between these modes. We are using polygon primitives because we need to support object selection in the application (using

Re: [osg-users] Nvidia Windows7 Dual Monitor Setup

2011-04-17 Thread Jean-Sébastien Guay
Hi Tim, Glad that you confirm my intuition on this one. So where does the init happen ? (I am not talking about fixing the osgviewer) Where would be the place to start fixing this in osg itself so that it runs as expected out-of-the-box ? Have a look at the

Re: [osg-users] Issue with drawing polygons

2011-04-17 Thread Chris 'Xenon' Hanson
On 4/17/2011 6:05 PM, Gaurav Garg wrote: We have separate geometries for both LINE and FILL (Each one can be dynamically turned off and both can be on at the same time). So, we need not to switch between these modes. We are using polygon primitives because we need to support object selection