Re: [osg-users] No intersection on some osg models

2014-03-25 Thread Petr Svoboda
SMesserschmidt wrote: > Hi Petr, > > > > > Hi, > > > > I have a very weird problem. > > I downloaded some models from Sketchup warehouse, exported as OBJ format > > and then converted using osgconv to OSG format. > > > Could you please provide an example? > > > > > Now, when I use osgUtil:

Re: [osg-users] No intersection on some osg models

2014-03-25 Thread Sebastian Messerschmidt
Hi Petr, Hi, I have a very weird problem. I downloaded some models from Sketchup warehouse, exported as OBJ format and then converted using osgconv to OSG format. Could you please provide an example? Now, when I use osgUtil::LineSegmentIntersector then on some models "there is" an interse

[osg-users] No intersection on some osg models

2014-03-25 Thread Petr Svoboda
Hi, I have a very weird problem. I downloaded some models from Sketchup warehouse, exported as OBJ format and then converted using osgconv to OSG format. Now, when I use osgUtil::LineSegmentIntersector then on some models "there is" an intersection detected on others there is not. Why is that?

[osg-users] Multisample makes app crash for memory pressure after 5/6 consecutive changes of orientation in iOS devices

2014-03-25 Thread John Moore
Hi, I am experiencing a strange problem in my iOS app using OpenSceneGraph. I use this code to create a graphics context Code: - (osg::ref_ptr)createGraphicContext { //create our graphics context directly so we can pass our own window osg::ref_ptr traits = new osg::GraphicsConte

Re: [osg-users] Detecting the use of a texture array in the State

2014-03-25 Thread Glenn Waldron
Thanks Robert. That was my backup plan -- I'll go with it :) Glenn Waldron / @glennwaldron On Tue, Mar 25, 2014 at 11:29 AM, Robert Osfield wrote: > Hi Glenn, > > I don't really have a definition answer. The best I can suggest for now > is to query to see if a Texture2DArray has been assigne

Re: [osg-users] Detecting the use of a texture array in the State

2014-03-25 Thread Robert Osfield
Hi Glenn, I don't really have a definition answer. The best I can suggest for now is to query to see if a Texture2DArray has been assigned to texture attribute list rather than looking at the modes. Robert. On 25 March 2014 13:35, Glenn Waldron wrote: > Robert, > > I'm working on the osgEart

Re: [osg-users] About osg "hacking"...

2014-03-25 Thread Julien Valentin
Thank you very much for your advice, I would think there were another way (like reimplement a renderbin or something) but actually subclassing Drawable seams more convenient. Sometime, I brainstorm myself for nothing :-* Have a good day robertosfield wrote: > Hi Julien, > > You can subclass

[osg-users] Detecting the use of a texture array in the State

2014-03-25 Thread Glenn Waldron
Robert, I'm working on the osgEarth ShaderGenerator and I have a question for you :) One of the things I need to do is collect the current osg::State at a given point in the scene graph. So, my visitor pushes statesets into a State as usual, and then I'm able to examine that state as necessary. S

Re: [osg-users] ReadImageFile fails open video

2014-03-25 Thread Petr Svoboda
Hi Robert, basically this is the problem I'm facing > I pulled ffmpeg via the individual -dev packages associated with the project > using apt-get Honestly I'm quite new to linux world and anything more than apt-get sounds difficult for me. So, is there any list of that individual -dev package

Re: [osg-users] About osg "hacking"...

2014-03-25 Thread Robert Osfield
Hi Julien, You can subclass your osg::Drawable class without problem, and creating your own custom behaviour in cull is also relatively straight forward to you could almost certainly implement something along the lines of what you are doing. However, with this type of "optimiziation" I would be i

Re: [osg-users] OSG-3.2.1-rc1 + Qt-5.2.0 building

2014-03-25 Thread Julien Valentin
Try recompile Qt I had problems too, but recompiling qt solve all my issues. Code: http://download.qt-project.org/official_releases/qt/5.2/5.2.0/single/qt-everywhere-opensource-src-5.2.0.tar.gz.mirrorlist Hope it help -- Read this topic online here: http://forum.openscenegraph.o

[osg-users] About osg "hacking"...

2014-03-25 Thread Julien Valentin
Hi, I've implemented a light opengl scenegraph manager for my own educational purpose. The focus of my work was to regroup culled geometries sharing same stateset in the same VBO and so factorize drawcalls primitivesets on-the-fly. For scenarios with lot of tiny meshes sharing the same material i

Re: [osg-users] ReadImageFile fails open video

2014-03-25 Thread Robert Osfield
Hi Petr, I pulled ffmpeg via the individual -dev packages associated with the project using apt-get. I build the OSG from source, and have check outs of svn/trunk (mainly what I work being project lead :-) and the OSG-3.2 branch. Both revs are working fine with the ffmpeg from Ubuntu repositorie