From: Joost (joost.verschuren++at++westbrabant.net)
Date: 01/15/2004 05:05:08
Hi all,
I have a question concerning mouse interaction in Performer.
I'm developing a Performer application in which I have to be able to
'travel' through a scene, ie. adjust the position/orientation of a
pfChannel with the mouse like the Trackball motion model, only updating a
pfChannel an not a pfDCS.
When dragging the mouse with a mouse button pressed it should result in
the following behaviour:
Left mouse button: horizontal/vertical translation (in XZ plane)
Middle mouse button: rotation
Right mouse button: translation away from/towards the screen (in Y direction)
It should also be possible to tether a pfChannel to an object in the scene
graph. The pfChannel will always look in the direction of this object and
still has to be able to rotate around the object.
Since I'm quite new in Performer I have a few questions:
-Should I write new Xformer classes or are the standard Performer classes
sufficient?
-If so: what do I have to implement for a new Xformer class?
-If not: how can I use the standard Performer Motion models for this
application?
-Also, is there some more documentation available for mouse interaction
besides the Getting Started Guide and the Programmer's Guide?
Thanks in advance,
Joost Verschuren
This archive was generated by hypermail 2b29 : Thu Jan 15 2004 - 05:20:32 PST