Re: [osg-users] osgDB::FileCache for network sources

2015-12-11 Thread Robert Osfield
Hi Jeremy, The FileCache::isFileAppropriateForFileCache(..) method is virtual so you can subclass from FileCache override this method and than construct your own FIleCache and attach it to the osgDB::Registry by doing: osgDB::Registry::instance()->setFileCache(new MyFileCache); Robert. On 11

Re: [osg-users] fail to compile osg 3.4.0 with latest ffmpeg

2015-12-11 Thread Robert Osfield
HI ?, Could you sign with a name that we can use when reply? ffmpeg has constantly moving API so issues like this are impossible to prevent, get everything work then a few months later ffmpeg breaks things... You'll either need to come up with solution for these API changes and post these fixes t

[osg-users] Problem reading Openflight file switch node

2015-12-11 Thread Tony Vasile
We are having what we think is a problem with reading our OpenFlight file. We have a switch which has two groups of nodes under it. The first three pieces of geometry are supposed to be visible when the switch is in position 0 and the second three are supposed to visible when the switch is in po

[osg-users] re?? fail to compile osg 3.4.0 with latest ffmpeg

2015-12-11 Thread ????????
Robert: After I switch to branch release/2.8, the problem disappears. Daniel git clone https://github.com/FFmpeg/FFmpeg.git cd FFmpeg git checkout origin/release/2.8 PKG_CONFIG_PATH="${DEST}/build/lib/pkgconfig" ./configure --prefix="${DEST}/build" \ --extra-cflags="-I${DEST}/build/include"

[osg-users] [build] Can't build documentation

2015-12-11 Thread Eric Gregory
Hi All, New to this forum, so forgive me if this has been addressed, but I couldn't find any other posts about this issue. I'm unable to build the OSG documentation. The SDK (bins/includes/libs) builds and installs just fine, and am successfully building apps with the results. The problem i

[osg-users] Migration from OSG 3.1.5 to 3.4.0

2015-12-11 Thread Emmanuel Pot
Hello, I have a project based on (among other dependencies) Qt and OSG.While trying to migrate from Qt4 to Qt5 I noticed that the OSG I was using (3.1.5) could not compile from scratch against Qt5. I started to tune a bit 3.1.5 to make it compile successfully, but I came accross what seems to b

Re: [osg-users] osgDB::FileCache for network sources

2015-12-11 Thread Jeremy
That's fine, I will probably do that, but is it not reasonable for the default to be able to handle network paths and construct working cache paths as well? On Fri, Dec 11, 2015, 2:10 AM Robert Osfield wrote: > Hi Jeremy, > > The FileCache::isFileAppropriateForFileCache(..) method is virtual so

Re: [osg-users] osgDB::FileCache for network sources

2015-12-11 Thread Robert Osfield
On 11 December 2015 at 11:33, Jeremy wrote: > That's fine, I will probably do that, but is it not reasonable for the > default to be able to handle network paths and construct working cache > paths as well? > How is one supposed to determine which "network" paths are appropriate to be cached loca

Re: [osg-users] osgDB::FileCache for network sources

2015-12-11 Thread Jeremy
That's fine. I'll do a custom subclass. I was just thinking given the simplicity of the need(make a cache copy of everything), that it would be reasonable to have a 'cache everything' option on the built in file cache. I'm not looking for some complex mechanism for determining more selectively what

[osg-users] Problem with MFC example in 3.4.0

2015-12-11 Thread Cory Riddell
Hello again! I'm working on an MFC application and I'm having trouble with the latest source. I downloaded the 3.4.0 source code and built it with VS2015. Everything went smoothly but I've been having trouble with the MFC example (the others that I've tried work fine). When I load the cow (for ex

[osg-users] Windows binaries

2015-12-11 Thread Konstantin Podsvirov
Hello dear OpenSceneGraph users and fans of Windows! Podsvirov my name is Konstantin and I'm a user like you. I have a few options precompiled versions for Windows MSVC2013 (now, but the list can be extended). Here is a list of available versions: http://lists.openscenegraph.org/pipermail/osg-u

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

2015-12-11 Thread Emmanuel Pot
After a quick check, it seems that if I get the same issues with OSG 3.5.1. And if I build OSG 3.5.1 against Qt4 (4.8.6 to be accurate), I get the same issues in the viewerqt. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65849#65849 ___

Re: [osg-users] Problem reading Openflight file switch node

2015-12-11 Thread Tony Vasile
Just tried this on 3.2.0 on my MacBook and got what I believe is the correct result. Code: osgSim::MultiSwitch { name "articSw2" nodeMask 0x cullingActive TRUE description "featureId(artic0)"