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
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
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:
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
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
"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.
>
6 matches
Mail list logo