[osg-users] osg plugin couldn't load an osgb or ive file on Android system

2017-05-26 Thread 来恩
 Hello,     I  googled the reason why the osg plugin couldn't load an osgb or ive file on Android system. Because std::istream  >> operate skips spaces  which was used widely by osg plugins to read binary stream. It works on windows. But this doesn't work on Andoid.  

[osg-users] osg plugin couldn't load an osgb or ive file on Android system

2017-05-26 Thread 龚来恩
Hello, I googled the reason why the osg plugin couldn't load an osgb or ive file on Android system. Because std::istream >> operate skips spaces which was used widely by osg plugins to read binary stream. It works on windows. But this doesn't work on Andoid. The osg file can't be loaded

[osg-users] osg plugin couldn't load an osgb or ive file on Android system

2017-05-26 Thread 龚来恩
Hello, I googled the reason why the osg plugin couldn't load an osgb or ive file on Android system. Because std::istream >> operate skips spaces which was used widely by osg plugins to read binary stream. It works on windows. But this doesn't work on Andoid. The osg file can't be loaded

Re: [osg-users] Update to Depth Patitioner

2017-05-26 Thread Ravi Mathur
Heh I hope I didn't oversell it! :) OK, I will make a standalone osg example and post it here for people to try. I will rely on the community to test with shadows and other use cases. I have some month-end deadlines going on now but will do it in early June. Ravi -- Read this

Re: [osg-users] Dimension Mask in PolytopeIntersector still working?

2017-05-26 Thread Jordi Torres
Hi Robert, All ok in my side. Thanks!! 2017-05-25 9:51 GMT+02:00 Robert Osfield : > Hi Jordi, > > Yesterday I checked in a couple of change, from the git log: > > > $ git log > commit 20ac472d1f7d85360714168d94e10729c1f9ce8d > Author: Robert Osfield

[osg-users] A problem with regard to std:istream on Android

2017-05-26 Thread 龚来恩
Hi All, I'm trying to make osgEarth run on Android (OSG 3.2 & osgEarth 2.3). Now the earth can display on Android system. But I run into a problem with regard to std:istream. I tried to load an osgb file by the following code osg::ref_ptr node =