[osg-users] reset root color to original colors

2016-05-24 Thread Bruno Oliveira
Hello, I have one single root node in my scene graph. I have a vertex array and a color array. I susually use them in conjunction to see my vertices with the original colors, with ret->setColorArray(m_colors); ret->setColorBinding(osg::Geometry::BIND_PER_VERTEX); Now I am adding

Re: [osg-users] CullVisitor object not getting properly deleted

2016-05-24 Thread Robert Osfield
Hi Rick, After a preplexing day looking at how the osgUtiil::CullVisitor, osg::Camera and RenderStageCache were all interacting via the osg::Observer system I finally fixed the problem with the crash that I've see with the osgoit and osgprerender examples. As the crash looks similar to what you

[osg-users] [osgPlugins] Inventor Plugin Linking Against Coin4.lib

2016-05-24 Thread Scott Shaw
Hi, I'm trying to build OSG 3.4.0 with Coin3D on Windows 7. I've built the CMake branch of Coin successfully and it created the library Coin.lib. When building OSG, FindInventor.cmake successfully finds the Coin library and places it's path in the INVENTOR_LIBRARY CMake variable. When linkin

Re: [osg-users] CullVisitor object not getting properly deleted

2016-05-24 Thread Rick Irons
Hi Robert, Thanks for the update. Rick From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: Tuesday, May 24, 2016 5:11 AM To: OpenSceneGraph Users Subject: Re: [osg-users] CullVisitor object not getting properly deleted Hi Rick, On 23 May 2016

Re: [osg-users] FixedFunctionTechnique, lighting, and createNormalMapTexture

2016-05-24 Thread Robert Osfield
Hi Alex, On 24 May 2016 at 13:15, Alex Taylor wrote: > I can't use Multipass technique because my viewer doesn't support > pre-cameras. How on each have you been able to disable the OSG enough that it can't do pre-rendering, it's built into the core, you must being doing something pretty extreme

Re: [osg-users] FixedFunctionTechnique, lighting, and createNormalMapTexture

2016-05-24 Thread Alex Taylor
Robert, I can't use Multipass technique because my viewer doesn't support pre-cameras. It is my intention to use Multi-pass when I can resolve the viewer issues, but in the meantime, I'd appreciate some guidance on my original question. Alex On Tue, May 24, 2016 at 6:12 AM Robert Osfield wrote:

Re: [osg-users] FixedFunctionTechnique, lighting, and createNormalMapTexture

2016-05-24 Thread Robert Osfield
Hi Alex, The osgVolume::MultipassTechnique supports mixing geometry with the volume and constraining to a convex hull geometry. This is what you should use instead of FixedFunctionTechnique, the only reason to use this now is that you've have completely hopeless hardware+drivers that are incapabl

Re: [osg-users] CullVisitor object not getting properly deleted

2016-05-24 Thread Robert Osfield
Hi Rick, On 23 May 2016 at 20:33, Rick Irons wrote: > The code where the static cast is failing is OSG code > (openscenegraph\src\osgUtil\CullVisitor.cpp). I believe it is fairly > recent code that was added just prior to the release of 3.4.0. Here is the > OSG 3.5.1 version of the changeā€¦ > h

Re: [osg-users] Multiples scenes

2016-05-24 Thread Robert Osfield
Hi Florian, On 23 May 2016 at 20:28, Florian GOLESTIN wrote: > Hi Robert, > > The player just move to a new scene so the previous one can be discarded. > > By scene I wanted to mean the "root" node and all its children, and the > callback, keeping only the view and the camera manipulator. > In t

Re: [osg-users] clamp mouse cursor / position

2016-05-24 Thread Sebastian Schmidt
Flogo wrote: > Hi Sebastian, > > I'm not an expert, but in my case I've my own class overloading > osgGA::StandardManipulator. > In this case, while overriding the method handleMouseMove I can call > requestWarpPointer without recusiving call handleMouseMove. > > Is it what you are looking for