Hi,

I've spent the last few days trying to get the experimental manipulators 
going.  I'm quite impressed with it (since it actually works!) even 
though the provided ManipMgr was very primitive (I wrote my own. I 
should be able to port it to OpenSG after I get it to work properly.) 
but I've run into a problem with mouse movements.

The Mainpulator class seems to do a fair bit of fancy mathematics to 
convert the mouse delta vector to a world axis delta. It goes a bit over 
my head at the moment, but seems to boil down to projecting the mouse 
vector onto the sceen project manipulator handle axis, yielding a scalar 
value which is used to modify the transform.

However, it doesn't work!

What I get is that, even with steadily increasing mouse coordinates, the 
transform sometimes jitters back and forth. Also, moving the mouse in 
one direction, then going back & forth, then again in the same 
direction, the transform goes the other way!

It seems to behave rock solid at times, but at other times it fails to 
produce any sort of consistent behaviour.

I hope I'm doing something wrong, but I can't figure out what. I'm using 
pretty standard window coordinates here, origin in upper left coorner, 
and the Y is negated in the calcs. I've also checked the calls to 
mouse-press/release/move and they seem ok.

Ideas?

Cheers,
/Marcus



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to