[osg-users] Pruning content

2015-12-14 Thread Jeremy
What's the preferred method of loading a model, for example an open flight model, and pruning it of unneeded data? I assume that would be by making a custom visitor that modifies the hierarchy. Is that correct? How would you do this with respect to the pager? I don't see a mechanism to inject a cu

Re: [osg-users] Pruning content

2015-12-14 Thread Trajce Nikolov NICK
Hi Jeremy, >How would you do this with respect to the pager? I don't see a mechanism to inject a custom visitor to the pager to modify loaded content, ideally before caching to the file cache. Actually there is a way. You can use database read callback and have your visitor do stuff with the mode

Re: [osg-users] Pruning content

2015-12-14 Thread Jeremy
Excellent thanks. Looks like that's called in place of the default read implementations how would one invoke the default read functions and then do my filtering afterwards On Mon, Dec 14, 2015, 8:33 AM Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com> wrote: > Hi Jeremy, > > >How would you do

Re: [osg-users] Pruning content

2015-12-14 Thread Trajce Nikolov NICK
What I do is I call the defaultReadImplementation and have my Visitor process the file read .. so you do something like this in my callback: virtual osgDB::ReaderWriter::ReadResult readNode(const std::string& filename, const osgDB::Options* options) { ... result = osgDB::Registry::instance()->

[osg-users] Synchronizing transforms between views in CompositeViewer

2015-12-14 Thread Steven Songiv
Hi, I am making a multi-view editor application (ortho top, front ortho, user persp, and so forth) and trying to figure out how to synchronize different styled draggers per View in a CompositeViewer. So, for example, I want to have 2D draggers in side views (e.g. XY dragger in top view) and 3D

[osg-users] Contemporary multipass non-OsgPPU glow example?

2015-12-14 Thread Chris Hanson
Is anyone aware of a multipass glow example outside of osgPPU (which appears unmaintained now, and is probably not suitable for this situation anyway). -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Grap

Re: [osg-users] Contemporary multipass non-OsgPPU glow example?

2015-12-14 Thread michael kapelko
Hi. That's how I did glow with EffectCompositor: https://bitbucket.org/kornerr/osg-effects 2015-12-15 3:43 GMT+07:00 Chris Hanson : > Is anyone aware of a multipass glow example outside of osgPPU (which > appears unmaintained now, and is probably not suitable for this situation > anyway). > > -

Re: [osg-users] Migration from OSG 3.1.5 to 3.4.0 / Qt 4 to Qt 5

2015-12-14 Thread Emmanuel Pot
I got an email from the osg users mailing list, but I cannot answer to it :-(. I was told that the osgviewerqt was working fine on someone else machine. On my side, I get a black background when pressing s, whereas it was transparent before. I have no idea what to do :-(. -- Rea