Re: [osg-users] Stereo View and makeLookAt()

2016-10-06 Thread Andreas Goebel
Hi Robert, thanks for your answer. The reason I´m using sceneview is that I started with my application when Producer was still around, which was very complicated to integrate into GUI applications. As this worked and my users got used to the way the scene was manipulated, I stayed with it. But

Re: [osg-users] GUIEventHandler called twice - possible bug(s)

2016-10-06 Thread Robert Osfield
Hi Riccardo, I have found the cause of the double call, fixed it and have now checked in this fix and the other fixes to event callback handling. Changes checked into OSG git master. Could you test them out on your application to make sure that things are now behaving themselves. Thanks, Robert

Re: [osg-users] GUIEventHandler called twice - possible bug(s)

2016-10-06 Thread Robert Osfield
HI Riccardo, I have been back tackling the outstanding OS work today and have a chance to build and test your callback test. I can recreate the issues with the crash and double calling. So far I've fixed a bug in the osgGA/EventVisitor that was causing the crash and have replaced a couple of

Re: [osg-users] Stereo View and makeLookAt()

2016-10-06 Thread Robert Osfield
Hi Andreas, Is there a reason why you are using SceneView? This class hasn't been a preferred end user class since around OSG-1.0... Personally I'd recommend user osgViewer, it's interface is much more suitable for putting together flexible viewers. As for mixing and matching ways of setting

[osg-users] Stereo View and makeLookAt()

2016-10-06 Thread Andreas Goebel
Hi, to set up my view matrix I use a very simple approach with makeLookAt(). Like this: centerPos = osg::Vec3(0,0,0); osg::Vec3 viewPos( cos(viewElev) * sin(viewRot), cos(viewElev) * cos(viewRot), sin(viewElev)); osg::Vec3 up; if (

Re: [osg-users] Vector script out of range

2016-10-06 Thread Robert Osfield
On 6 October 2016 at 13:38, Voerman, L. wrote: > Hi all, > I have found the bug, and created a pull request here. The bug seems to be > introduced 17/8/2010 (osg 2.9.11 and up). Thanks Laurens, fix looks good, now merged with git master and the 3.4 branch

Re: [osg-users] Vector script out of range

2016-10-06 Thread Voerman, L.
Hi all, I have found the bug, and created a pull request here . The bug seems to be introduced 17/8/2010 (osg 2.9.11 and up). Regards, Laurens. On Thu, Oct 6, 2016 at 10:56 AM, Uma Devi Selvaraj wrote: > Hi

Re: [osg-users] Vector script out of range

2016-10-06 Thread Uma Devi Selvaraj
Hi Sebastain, I have executed my code in both debug and release mode. I am not able to render the model using code. I have attached call stack of my program(scree shot). ... Thank you! Cheers, Uma -- Read this topic online here:

Re: [osg-users] transfer data to shader with osg::texture

2016-10-06 Thread Wojciech Lewandowski
Welcome :-) Wojtek 2016-10-06 3:46 GMT+02:00 liu ming <81792...@qq.com>: > hi Wojtek,Thank you very much,you perfect solved my problem.According to > your code,Texture2D worked,maybe it is something wrong about Texture1D. > Thank you. > > -- > Read this topic online here: >

Re: [osg-users] osgText and GL3.3 core profile

2016-10-06 Thread Robert Osfield
HI Roman, On 5 October 2016 at 22:47, Roman Grigoriev wrote: > Just checked my old way http://forum.openscenegraph.org/download.php?id=6045 > to use compileGLObjects and use glBindVertexArray in DrawForegroundText - > works fine. > For now I can't know to use