Re: [osg-users] New LUA plugin fails to link

2014-04-30 Thread Raymond de Vries
Hi Robert, Aha ok, I see. I thought that 3.2.1 was new enough to give it a try. I see the included sources now in the trunk... Obviously my trunk copy was not recent enough to notice it earlier. I did a few tests and only from rev 14114 ("From Stephan Huber, fix for building lua plugin from

Re: [osg-users] Multiple Graphics contexts, Views, Viewports, Cameras.

2014-04-30 Thread Robert Osfield
HI Sergey, It's worthwhile thinking about the concepts and how they map to classes. The View(er) class "is a" View, rather than "has a" View. The Viewer class is special case just for handling a single View and makes it easy as possible to just set up viewer with a single View of a single Scene.

Re: [osg-users] New LUA plugin fails to link

2014-04-30 Thread Sebastian Messerschmidt
Hi Robert, I fixed the problem. It is rather obvious, that the compiler/linker barks here. The macro DECLARE_TYPE(A,B) in PropertyInterface will create explicit specialization of the getTypeEnum and GetTypeString function templates which will be seen multiple times by the linker in different c

[osg-users] [forum] vertex glcompileshader failed fragmen glcompileshader failed

2014-04-30 Thread tirupathi reddy
Hi, when I am starting osg based image display, glxgears any other gl related applications I am getting these errors. I was wondering, since this problem started coming last two weeks, earleir it was good. And the problem is not consistent, some times it is executing fine, some times it is gi

Re: [osg-users] [forum] vertex glcompileshader failed fragmen glcompileshader failed

2014-04-30 Thread Robert Osfield
HI Tirupathi, It sounds very much like the OpenGL driver that you have installed is causing the problem. Perhaps a recent update to it has introduced the problem. What hardware/OS/OpenGl drivers are you using? Robert. On 24 April 2014 07:11, tirupathi reddy wrote: > Hi, > > when I am starting

Re: [osg-users] New LUA plugin fails to link

2014-04-30 Thread Robert Osfield
Hi All, I've now merged Sebastian's fix. Cheers, Robert. On 30 April 2014 10:10, Sebastian Messerschmidt wrote: > Hi Robert, > > I fixed the problem. It is rather obvious, that the compiler/linker barks > here. > The macro DECLARE_TYPE(A,B) in PropertyInterface will create explicit > specializa

Re: [osg-users] New scheme for configuring the OSG for building against different versions of the OpenGL/OpenGL ES

2014-04-30 Thread Robert Osfield
Hi All, I have just checked in a renamed of the new automatically configured header from include/osg/OpenGL to include/osg/GL with it replacing the old hand written GL header. An svn update will provide this change. Hopefully everything should just work, but if it doesn't let me know and I'll tr

Re: [osg-users] [build] error in moc_QGraphicsViewAdapter.cpp

2014-04-30 Thread Riccardo Corsi
Hi Remy, same issue here. My config is osg 3.2.0, qt 5.3-beta, all built 32bit with VS2013. I had to use the patched version of CMake provided here: https://groups.google.com/forum/#!msg/osg-users/LoSdfK9pyOU/SOg9N1V1xXsJ and manually add the include file that you mention (thx!) Ricky On Sun,

Re: [osg-users] osgQt QWidgetImage as HUD not getting events

2014-04-30 Thread Nick Modly
In case anyone comes across this, I ended up solving the problem by subclassing the InteractiveImageHandler, QWidgetImage, and QGraphicsViewAdapter. I had to get the InteractiveImageHandler to do the right coordinate projection for the the clicks, and I had to get the QWidgetImage and QGraphicsV

[osg-users] RTT Magnifying Glass with multiple zooms

2014-04-30 Thread Nick Modly
Hi, I'm working on a zoom/magnifying lens feature, that I am implementing using RTT. I'm setting up a slave camera to the main view and rendering to a texture, which I place on a quad on the HUD. I've got a few questions: 1. Whats the best way to move the slave camera to magnify different areas