Re: [osg-users] Adding Constraints to Draggers

2018-10-26 Thread tom spencer
bam098 wrote: > However, I don't quite understand it unfortunately. All constrain methods of > the class are set to true here and I don't get why this was done. I don't see anywhere in the entire osg project where the return from constrain is used. I don't think it serves any purpose at this

Re: [osg-users] Adding Constraints to Draggers

2018-10-25 Thread Garfield Pig
it work clearly. -- Original -- From: "Max Power"; Date: Fri, Oct 26, 2018 00:14 AM To: "osg-users"; Subject: Re: [osg-users] Adding Constraints to Draggers Hi Robert, ah okay, I understand. Thank you for your fast reply. I saw Ope

Re: [osg-users] Adding Constraints to Draggers

2018-10-25 Thread Robert Osfield
Hi Max, On Thu, 25 Oct 2018 at 17:20, Max Power wrote: > But how is the situation currently? Are osgmanipulator and especially the > dragger classes are still used today? Or do most people rather write > everything from scratch instead of using osgmanipulator? > As far as I'm aware

Re: [osg-users] Adding Constraints to Draggers

2018-10-25 Thread Max Power
Hi Robert, ah okay, I understand. Thank you for your fast reply. I saw OpenSceneGraph/examples/osgmanipulator/osgmanipulator.cpp and I noticed, that it also uses the Constraint class. However, I don't quite understand it unfortunately. All constrain methods of the class are set to true here

Re: [osg-users] Adding Constraints to Draggers

2018-10-25 Thread Robert Osfield
Hi Max, I'm afraid the original author of osgManipulator has moved company, where he developed it, over a decade ago so to know exactly how to use it we all just have to look at the code an figure it out. I haven't personally use osgManipulator in the way you are wanting to use it so can't

[osg-users] Adding Constraints to Draggers

2018-10-25 Thread Max Power
Hi, I'm quite new to OpenSceneGraph. I actually just finished to read the book "OpenSceneGraph 3.0 Beginner's Guide" and now I want to go a bit further. Currently, I try to move objects via the mouse. I already saw, that I can use the class osgManipulator::Dragger for this. Here I wrote my own