[osg-users] osgGA::GUIEventHandler deprecated method

2014-10-23 Thread Gianni Ambrosio
Hi All, I'm trying to implement picking and I found some examples where a deprecated method of osgGA::GUIEventHandler is used: bool handle(const osgGA::GUIEventAdapter, osgGA::GUIActionAdapter); This method seems deprecated at least from 3.0.1 to 3.2.1. So, which method should be used instead?

Re: [osg-users] load example iphoneviewer error !!!

2014-10-23 Thread Trieu Hung
Hi, CullSettings::readEnvironmentalVariables() DatabasePager::addDatabaseThread() HANDLE_NON_HTTP DatabasePager::addDatabaseThread() HANDLE_ONLY_HTTP CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables()

[osg-users] Quad Buffer Stereo in osgViewer::CompositeViewer

2014-10-23 Thread Guy Barlow
Hi, I've been struggling with this for over a week now, its really blocking progress on my project. Basically, I can't seem to get quad buffer stereo working in any sort of compositeviewer. For what its worth, both the osgcompositeviewer example and my own application show the same error :

Re: [osg-users] How do I adapt the osgViewer::Viewer in order to have my model in fullscreen mode?

2014-10-23 Thread Robert Osfield
HI Filipe, On 23 October 2014 00:03, Filipe P filipe.edu.pimen...@gmail.com wrote: The image is now on the left-bottom side of the screen. Somehow, the image is scalling from 1600x900px to 2048x1024px. (reported on the OSG console) Someone can explain me what is missing?! This message is

Re: [osg-users] GeometryTechnique race condition crash

2014-10-23 Thread Robert Osfield
Hi David, Could you post the whole modified files. What version of the OSG are you working on? FYI, I'm actually working on a osgTerrain related task right now, developing a new TerrainTechnique that use shader based displacement mapping. This new implementation is still underdevelopment so

Re: [osg-users] model rendering glitch on osg versions 3.0.1

2014-10-23 Thread Michael Grey
Hi, I'm running into an issue that I think is related, but not exactly the same. Prior to the 3.2 release, I could load an .stl file using the osgDB::readNodeFile(~) function, and it would come out looking like a diffuse white material. Presumably this was just a default setting somewhere in

Re: [osg-users] osgGA::GUIEventHandler deprecated method

2014-10-23 Thread Robert Osfield
Hi Gianni, On 23 October 2014 08:18, Gianni Ambrosio g.ambrosio+...@gmail.com wrote: Hi All, I'm trying to implement picking and I found some examples where a deprecated method of osgGA::GUIEventHandler is used: bool handle(const osgGA::GUIEventAdapter, osgGA::GUIActionAdapter); This

Re: [osg-users] Quad Buffer Stereo in osgViewer::CompositeViewer

2014-10-23 Thread Robert Osfield
HI Guy, Does you hardware and OpenGL drivers support quad buffer stereo? In their attempts to carve up the market the graphics hardware manufactures restrict quad buffer support to professional range of cards such as the NVidia Quadro's. Robert. On 22 October 2014 12:11, Guy Barlow

Re: [osg-users] model rendering glitch on osg versions 3.0.1

2014-10-23 Thread Robert Osfield
HI Michael, This issue you have doesn't look to be related to the parent thread so fixes suggested on that thread are unlikely to be relevant. As to what might be wrong in your case it's not possible to say without having the model in front of me to look at and reproduce the problem. The best I

[osg-users] Flickering in PSSM shadows.

2014-10-23 Thread Dheeraj Jain
Hi, I am using OSG 3.1 and I am facing a issue of flickering in PSSM shadows. I am using single threaded mode. I think the problem is related to the the split distances. These are calculated per frame as soon as camera position changes , If I use static split distances,I am not getting those

Re: [osg-users] Quad Buffer Stereo in osgViewer::CompositeViewer

2014-10-23 Thread Guy Barlow
Hi Robert, Many thanks for the quick response. I'm currently testing on an Nvidia Quadro 600 on windows with drivers I've just updated. I've enabled stereo on the control panel and I have seen other applications (and the demo) working fine. The linux build is on a virtual machine.. so I

Re: [osg-users] Quad Buffer Stereo in osgViewer::CompositeViewer

2014-10-23 Thread Guy Barlow
Hi, OK, I've made some progress. osgcompositeviewer seems to be producing frame sequential output as expected when I use the -2 flag to full screen it. The problem with the default settings was that the WSI graphics context wasn't getting initialised with stereo enabled. Still not playing

[osg-users] invalid enumerant error

2014-10-23 Thread Trajce Nikolov NICK
Hi community, This is question for those who has debug OpenGL apps. I am getting the following message: Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x40b3 Any hints how to resolve it or at least get some more info? Thanks a lot, Nick -- trajce nikolov nick

Re: [osg-users] invalid enumerant error

2014-10-23 Thread Cary, Karl A.
Robert had a suggestion in the past that helped me track down a similar issue in the past. From an earlier post from him: One way of pinpointing the error better is to enable fine grained error checking in the osg::State by setting the env OSG_GL_ERROR_CHECKING to ON, on my Linux system this

Re: [osg-users] invalid enumerant error

2014-10-23 Thread Trajce Nikolov NICK
Thanks Karl, I set this in my code: std::ostringstream oss; oss OSG_GL_ERROR_CHECKING=ON; _putenv(oss.str().c_str()); still getting the same output, nothing extra. I am using TextureRectangle as well so might be the same issue. Any further hints? Thanks a bunch! Nick On Thu, Oct 23, 2014 at

Re: [osg-users] invalid enumerant error

2014-10-23 Thread Cary, Karl A.
Just checked my changelog, I thought it was a min filter, but actually it was I was enabling wrap, which isn't allowed for a texture rectangle. Not sure if this is it or not. From it saying GLMode, I would suspect you are doing a stateset setAttribute or setMode that isn't viable. Personally I

Re: [osg-users] invalid enumerant error

2014-10-23 Thread Trajce Nikolov NICK
thats the ugly approach ... but needed indeed. Thanks again Nick On Thu, Oct 23, 2014 at 1:44 PM, Cary, Karl A. karl.a.c...@leidos.com wrote: Just checked my changelog, I thought it was a min filter, but actually it was I was enabling wrap, which isn't allowed for a texture rectangle. Not

Re: [osg-users] invalid enumerant error

2014-10-23 Thread Sebastian Messerschmidt
Hi Nick, I usually use GDebugger or similar tools which can hook into the OpenGLDriver. There you can get the stack-trace telling you the provoking OpenGL call. Good tools might like GDebugger will also allow you to see the actual code (e.g. the OSG call) where the error stems from Thanks

Re: [osg-users] invalid enumerant error

2014-10-23 Thread Trajce Nikolov NICK
Thanks Sebasitian . I have heard of it but never tried. Now seam the time comes. Thanks again! Nick On Thu, Oct 23, 2014 at 1:50 PM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Hi Nick, I usually use GDebugger or similar tools which can hook into the OpenGLDriver.

Re: [osg-users] invalid enumerant error

2014-10-23 Thread Conan Doyle
+1 on gDEBbugger.. very useful tool... also look into AMD CodeXL, which I believe, is an updated version of gDEBugger. Trajce Nikolov NICK wrote: Thanks Sebasitian . I have heard of it but never tried. Now seam the time comes. Thanks again! Nick On Thu, Oct 23, 2014 at 1:50 PM,

Re: [osg-users] invalid enumerant error

2014-10-23 Thread Trajce Nikolov NICK
Thanks Conan! Nick On Thu, Oct 23, 2014 at 3:08 PM, Conan Doyle o...@celticblues.com wrote: +1 on gDEBbugger.. very useful tool... also look into AMD CodeXL, which I believe, is an updated version of gDEBugger. Trajce Nikolov NICK wrote: Thanks Sebasitian . I have heard of it but

[osg-users] Slave camera question

2014-10-23 Thread Alexandre Vaillancourt
Hello users! I'm currently trying to re-implement the example osgdistortion in another test application to see how it works. I'm facing this issue. If I run the osgdistortion example with the --dome parameter, and that I comment all the viewer.addSlave calls, I get the expected result of seeing

Re: [osg-users] GeometryTechnique race condition crash

2014-10-23 Thread David Fries
Interesting chance. Are these nodes supposed to be called from the DatabasePager for StateToCompile and main draw thread at the same time? I would have thought it would only be reachable by one or the other, but not both. These are modified from svn trunk 14451, we were using 3.2.0 when it was

Re: [osg-users] GeometryTechnique race condition crash

2014-10-23 Thread Robert Osfield
Hi David, On 23 October 2014 17:08, David Fries da...@fries.net wrote: Interesting chance. Are these nodes supposed to be called from the DatabasePager for StateToCompile and main draw thread at the same time? I would have thought it would only be reachable by one or the other, but not