Re: [osg-users] Rubber-band control for resizing an object

2013-12-09 Thread Robert Osfield
Hi Mots, Have a look at the osgmanipulator example. Robert. On 9 December 2013 04:40, Mots G maverickm...@gmail.com wrote: Hi all, I was wondering if there is a control available to scale an object by dragging/stretching along its corners. I wish to allow the user to resize door and

[osg-users] disabling lighting in RTT scene

2013-12-09 Thread Trajce Nikolov NICK
Hi Community, for some reason I can not disable lighting in the RTT scene. The scene is being rendered with the main scene lighting ON. I tried the basics things like geode-getOrCreateStateSet()-setMode( GL_LIGHTING, osg::StateAttribute::OFF|osg::StateAttribute::OVERRIDE ); I even tried to

Re: [osg-users] Rubber-band control for resizing an object

2013-12-09 Thread Mots G
Thanks a tonne Robert! *osgManipulator::Scale2DDragger* seems to suffice my need! Best regards, Mots On Mon, Dec 9, 2013 at 4:01 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Mots, Have a look at the osgmanipulator example. Robert. On 9 December 2013 04:40, Mots G

Re: [osg-users] remove a view from a CompositeViewer

2013-12-09 Thread Gianni Ambrosio
danoo wrote: Hi gambr I had similar issues when adding/removing views from composite viewer. Finally my crashes were solved by stopping and restarting Threading ! Thanks Daniel, reading what Robert wrote and since adding a view to the viewer I set the graphics context to the camera, for

Re: [osg-users] Reason why not to change the name of a Uniform?

2013-12-09 Thread Jan Ciger
Hello Johannes, On Sun, Dec 8, 2013 at 10:06 PM, Johannes Scholz osg-supp...@vtxtech.netwrote: Hi Robert, thanks for your answer. I agree with you for most applications. Now the thing is, we are currently adding a simple text-based Shader Editor in our application. So while writing the

Re: [osg-users] disabling lighting in RTT scene

2013-12-09 Thread Robert Osfield
Hi Nick, You use OVERRIDE when you want to override the state below that StateSet in the scene graph, and you use PROTECTED when you want to avoid a subgraph being overridden from above. So for your usage case I think PROTECTED would be appropriate rather than OVERRIDE. Robert. On 9 December

Re: [osg-users] remove a view from a CompositeViewer

2013-12-09 Thread Gianni Ambrosio
robertosfield wrote: The stack trace for OSG-3.2 suggests that removed View's Camera is still assigned to the Geometry context, and you change to setGraphicsContext(0) address this. OK, I guess that ;) robertosfield wrote: The CompositeViewer::removeView(..) should probably do the

Re: [osg-users] iOS OSG

2013-12-09 Thread Mike Krus
Hi I just tried with an .osgt file (cow.osgt) and it's still trying to do the dylib plugin loading dance… Mike On 9 Dec 2013, at 07:52, Stephan Maximilian Huber lis...@stephanmaximilianhuber.com wrote: Hi, any chance you are opening osg-files stored with the deprecated format?

Re: [osg-users] disabling lighting in RTT scene

2013-12-09 Thread Trajce Nikolov NICK
I tried that Robert as well. I have PROTECTED on the RTT camera but the lighting is still active from the main view. I can make a sample to demonstrate this Nick On Mon, Dec 9, 2013 at 1:14 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Nick, You use OVERRIDE when you want to override

Re: [osg-users] iOS OSG

2013-12-09 Thread Robert Osfield
Hi Mike, I can't comment on the specifics of iOS support as I haven't got an iOS device to test against. What I can say is that since OSG-3.2 I've checked in various improvements to the iOS support from Stephan and others, these might address some of the problems you have. Could you try out the

Re: [osg-users] iOS OSG

2013-12-09 Thread Stephan Maximilian Huber
HI, don’t know what’s wrong on your end. osg starts the dylib loading dance because it can’t resolve all loaders/extensions. Here’s my configuration which loads osgt w/o problems: USE_GRAPICSWINDOW_IMPLEMENTATION(IOS) USE_OSGPLUGIN(imageio) USE_OSGPLUGIN(rgb) USE_OSGPLUGIN(osg)

[osg-users] [ANN] Free Android game based on OSG Bullet released

2013-12-09 Thread Marcin Hajder
Hello dear OSG-community, I am representing a group of people interested in computer graphics and OSG. We've started our company and made our first game on Android called TeleRide. It is free and just released: https://play.google.com/store/apps/details?id=com.plavu.TeleRide Here is some

Re: [osg-users] iOS OSG

2013-12-09 Thread Mike Krus
Hi I was (and indeed it was easier to setup the build). However it seems osgearth had not caught up with some of the API changes yet (wouldn't build due to some changed return type I think, don't have the specific error message). I'll try again later this week. OSG + osgearth + Qt 5.2CR1 is

Re: [osg-users] iOS OSG

2013-12-09 Thread Robert Osfield
Hi Mike, On 9 December 2013 10:27, Mike Krus m...@mve.com wrote: Hi I was (and indeed it was easier to setup the build). However it seems osgearth had not caught up with some of the API changes yet (wouldn't build due to some changed return type I think, don't have the specific error

Re: [osg-users] disabling lighting in RTT scene

2013-12-09 Thread Trajce Nikolov NICK
Hi Robert, I tried this in osgprerender to disable the lighting on the camera with PROTECTED and I can confirm it doesn't it. Can you try on your end and confirm, seam like a bug somewhere Thank You. Nick On Mon, Dec 9, 2013 at 1:18 PM, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote:

Re: [osg-users] iOS OSG

2013-12-09 Thread Mike Krus
On 9 Dec 2013, at 10:52, Robert Osfield robert.osfi...@gmail.commailto:robert.osfi...@gmail.com wrote: Does the OSG-3.2 branch compile with osgEarth? If so you could try this as it contains a few of the build fixes that aren't in OSG-3.2.0. I'll have to try. I'm building OSG 3.2.0 (tag)

Re: [osg-users] [ANN] Free Android game based on OSG Bullet released

2013-12-09 Thread michael kapelko
Hi. Nice! Is its source code available? :) 2013/12/9 Marcin Hajder mhaj...@o2.pl Hello dear OSG-community, I am representing a group of people interested in computer graphics and OSG. We've started our company and made our first game on Android called TeleRide. It is free and just

[osg-users] Built application with pthread openthreads runs only on one core

2013-12-09 Thread Jan Klimke
Hi, i noticed a while ago that my application that was build using openscenegraph and openthreads with pthreads was only running on a single core of my 4 core processor. Today i digged a little bit deeper into the problem and noticed that the cpu affinity mask was always set to use the first

Re: [osg-users] disabling lighting in RTT scene

2013-12-09 Thread Trajce Nikolov NICK
Actually, it is the on screen quad that was causing the lighting issue. Works fine after setting the mode to the quad itself. Sorry for the false bug report Nick On Mon, Dec 9, 2013 at 2:00 PM, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: Hi Robert, I tried this in osgprerender

Re: [osg-users] [ANN] Free Android game based on OSG Bullet released

2013-12-09 Thread Marcin Hajder
kornerr wrote: Hi. Nice! Is its source code available? :) that's quite possible, as fast as we reach 10M downloads ;) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57628#57628 ___ osg-users