Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-23 Thread Robert Osfield
Hi Alejandro, On Thu, May 22, 2008 at 9:24 PM, Alejandro Segovia [EMAIL PROTECTED] wrote: Could this problem have something to do with the fact that I never attach my cameras to the Scene Graph? Cameras in a scene graph are used for doing effects like shadows, impostors etc, not for managing

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-23 Thread Alejandro Segovia
On Fri, May 23, 2008 at 4:57 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Alejandro, On Thu, May 22, 2008 at 9:24 PM, Alejandro Segovia [EMAIL PROTECTED] wrote: Could this problem have something to do with the fact that I never attach my cameras to the Scene Graph? Cameras in a scene

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-23 Thread Robert Osfield
Hi Alejandro, On Fri, May 23, 2008 at 2:31 PM, Alejandro Segovia [EMAIL PROTECTED] wrote: Actually, I am using a TrackballManipulator and replacing its ref_ptr with a new NodeTrackerManupulator when I have to enter node tracking mode. I'm not using the KeySwitchMatrixManipulator, but simply

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-23 Thread Alejandro Segovia
On Fri, May 23, 2008 at 11:02 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Alejandro, On Fri, May 23, 2008 at 2:31 PM, Alejandro Segovia [EMAIL PROTECTED] wrote: Actually, I am using a TrackballManipulator and replacing its ref_ptr with a new NodeTrackerManupulator when I have to enter

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-23 Thread Alejandro Segovia
On Fri, May 23, 2008 at 12:18 PM, Alejandro Segovia [EMAIL PROTECTED] wrote: On Fri, May 23, 2008 at 11:02 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Alejandro, On Fri, May 23, 2008 at 2:31 PM, Alejandro Segovia [EMAIL PROTECTED] wrote: Actually, I am using a TrackballManipulator

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-22 Thread Alejandro Segovia
On Mon, May 19, 2008 at 4:23 PM, Alejandro Segovia [EMAIL PROTECTED] wrote: Actually, I've discovered that the tilting effect in NodeTrackerManipulator is actually a pulsing effect. For some reason NodeTrackerManipulator never seems to settle at a position, providing a view matrix for even

[osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-19 Thread Alejandro Segovia
Hello all, I'm trying to use osgGA::NodeTrackerManipulator to try to get a camera to follow a node as it moves around the scene, with very little success. After setting up the manipulator and setting the node it has to track, I get a segmentation fault when I call the getInverseMatrix method on

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-19 Thread Robert Osfield
Hi Alejandro, I haven't heard of NodeTrackManipulator sef faulting before, so this is a new one, I'd guess it would most likely be a usage issue, but perhaps you have uncovered a bug in the manipulator. First thing to test would be to run the osgsimulation example to see if that runs stable.

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-19 Thread Alejandro Segovia
Hi Robert, thanks for you quick reply :) I ran the osgsimulation example not only did it run fine, but also gave me an idea of what I was doing wrong. I was calling setNode instead of setTrackNode, so the manipulator was trying to track an invalid node and that caused the segfault. Perhaps a

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-19 Thread Robert Osfield
On Mon, May 19, 2008 at 8:23 PM, Alejandro Segovia [EMAIL PROTECTED] wrote: Any ideas? No ideas. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org