Hi David,
I've just hacked a small sample for you and attached it as a zip-file.
Start demo with java Orbit URL, where URL is something like
file:///c:\\myimage.jpg
You can use included sky.jpg.
have fun :)
Gernot
[EMAIL PROTECTED]
(See attached file: Orbit.zip)
David Charles
Hirschfield To: [EMAIL PROTECTED]
<[EMAIL PROTECTED] cc:
> Subject: [JAVA3D] HELP: Orbiting
View
Sent by: Discussion
list for Java 3D API
<JAVA3D-INTEREST@JAV
A.SUN.COM>
06.04.00 08:48
Please respond to
Discussion list for
Java 3D API
I'd like to have a mouse behavior that allows the view to "orbit" a
point in the world.
In other words, instead of the view rotating around its own pivot, I
want the view to rotate around a central point, "orbiting" that point.
You can't do that via the normal mouse rotate behvaior, using the view
platform transform, or the viewing platform transform. So how can I do
it?
I was thinking if I translated the view platform transform, I could then
apply a rotate behavior to the viewing platform transform and the orbit
would work (orbiting 0,0,0). Doesn't work that way.
Any ideas?
-David
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
.ZIP File