Re: [osg-users] CAD style rotation

2009-04-26 Thread Richard Baron Penman
3 - I haven't implemented the setByMatrix function, because I don't need it. But this should be done. Regards, Moji the Great Has this been implemented yet? But I was wondering if it would be better as an extention to TrackBallManipulator? The spherical mode is really just a set of

[osg-users] CAD style rotation

2009-04-22 Thread Richard Baron Penman
hello, I am after an osgManipulator with CAD style rotation. In a typical CAD program the rotation keeps the roll fixed and orbits around the centre of the screen. In contrast the TrackballManipulator allows the roll to change and rotates around the origin. Has anyone come across code that

Re: [osg-users] CAD style rotation

2009-04-22 Thread Paul Martz
] CAD style rotation hello, I am after an osgManipulator with CAD style rotation. In a typical CAD program the rotation keeps the roll fixed and orbits around the centre of the screen. In contrast the TrackballManipulator allows the roll to change and rotates around the origin. Has anyone come

Re: [osg-users] CAD style rotation

2009-04-22 Thread Cory Riddell
I tried compiling this into the released 2.8 code and it complained about _horizontalLock and _verticalLock not being defined. Which source tree were you compiling against? Cory Martin Beckett wrote: I cleaned up the code a little to fit osg naming. Removed the Visual Studio

Re: [osg-users] CAD style rotation

2009-04-22 Thread Martin Beckett
Should be bool _horizontalLock; bool _verticalLock; at the bottom of the SphericalManipulator definition. Sorry - I changed the name in the .h but the zip had the no-h version. -- Read this topic online here:

Re: [osg-users] CAD style rotation

2009-04-22 Thread Cory Riddell
Mojtaba and Martin, I like this manipulator and I think it is worthy of inclusion in OSG. Do you plan on submitting it to the submissions list? Cory Martin Beckett wrote: Should be bool _horizontalLock; bool _verticalLock; at the bottom of the SphericalManipulator definition.

Re: [osg-users] CAD style rotation

2009-04-22 Thread Martin Beckett
It's Moji's code so he should probably be the one to submit it. There seems to be a few functions that aren't necessary (perhaps for some other code) which could be cleaned up. It would be nice if there was a method to set a rotation origin in the model - or is there some general way to do

Re: [osg-users] CAD style rotation

2009-04-22 Thread Mojtaba Fathi
, Martin Beckett m...@mgbeckett.com wrote: From: Martin Beckett m...@mgbeckett.com Subject: Re: [osg-users] CAD style rotation To: osg-users@lists.openscenegraph.org Date: Thursday, April 23, 2009, 12:18 AM It's Moji's code so he should probably be the one to submit it. There seems to be a few

Re: [osg-users] CAD style rotation

2009-04-22 Thread Martin Beckett
modjtabaf wrote: 1 - you have commented the body of zoomOn function, but it's declaration exits in the class. I was just playing with. ZoomOn is intended to zoom fullscreen on a selected node ? That would be useful. You can submit it by simply posting the files to the submission forum.

Re: [osg-users] CAD style rotation

2009-04-22 Thread Richard Baron Penman
it can help. Regards, Moji the Great --- On *Wed, 4/22/09, Richard Baron Penman richardbp+...@gmail.comrichardbp%2b...@gmail.com * wrote: From: Richard Baron Penman richardbp+...@gmail.comrichardbp%2b...@gmail.com Subject: [osg-users] CAD style rotation To: OpenSceneGraph Users osg