[osg-users] CompositeViewer and osgViewer::ScreenCaptureHandler

2016-07-11 Thread ted morris
I have 4 osgViewer::View's I want to grab and save an image from each. I tried to use osgViewer::ScreenCaptureHandler as part of the composite view but only one view is captured. Then I tried to addEventHandler() to each individual view to test capturing one at a time but it only captured one

Re: [osg-users] Inherithance from osg::referenced

2016-07-11 Thread Philippe Renon
I never had to create a class that inherits from osg::Referenced but what i gather is that it puts a contract on your class (copy semantics, etc...). It should be pretty much the same for any osg::Referenced derived class except in some exotic cases. So any osg::Referenced class should provide

Re: [osg-users] Inherithance from osg::referenced

2016-07-11 Thread Philippe Renon
The next best thing to doc is code. If you can't find documentation then you can try to find code that does what you want as examples. In your case it is easy as *a lot* of osg classes inherit from osg::Referenced. -- Read this topic online here:

[osg-users] Inherithance from osg::referenced

2016-07-11 Thread Bruno Oliveira
Hello, I am creating a class that should inherit from osg::Referenced. Is there any guideline document available? I searched for a while and couldn’t find any. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [osgPlugins] Infinite loop loading OBJ with a new osgDB::Options

2016-07-11 Thread Julien Valentin
Thanks Alberto! I hadn't think about it Good catch Alberto Luaces wrote: > "Julien Valentin" writes: > > > > Hi, > > I don't understand: > > when i open wavefront obj with osgviewer all is right but in my application > > i get stuck in an infinite loop. > > I set a new osgDB::Options to

Re: [osg-users] [osgPlugins] Infinite loop loading OBJ with a new osgDB::Options

2016-07-11 Thread Alberto Luaces
"Julien Valentin" writes: > Hi, > I don't understand: > when i open wavefront obj with osgviewer all is right but in my application i > get stuck in an infinite loop. > I set a new osgDB::Options to readrefnodefile, could it come from that? > Here's the stacktrace when i break the inf loop. >