The mousebehavior callbacks are like feedback loops to the program that
allow you to know which transformgroup was acted upon by whichever
mousebehavior generated the callback.
If you look through the examples of mouse behaviors, I believe that there
is an example that does what you propose. One
I don't recall sending it before but I may have. The main reason I am
pointing it out now is that the version on J3D says version 1.2 and has
numerous errors and the version on the link I provided says 1.7 and it has
many corrections.
At 06:45 AM 12/18/2001 +1100, you wrote:
>Er
After Justin's recent reply to a newbie about performing Rotations in
Java3D, I noticed Justin's link to the J3D Org's info on quaternions. Even
though i am not really involved in Java3D any longer I decided to take a peek.
When I followed the link:
http://www.j3d.org/faq/manipulating.html#quate
Who let the idiots on the list?
5MB attachments to everyone.
At 07:24 PM 12/05/2001 +0800, Fangsheng Wu wrote:
hi,
Gianni,
here is a j2re-1.3-win-rt,you can install it
first, then you can see the applet3D in IE, if you have better plugin,
pls tell me.
wish you luck!
Wu Fangsheng
-訚
ccurs when the mouse pointer is on an object for a
time, is it possible to do something similar in Java 3D?.
Thanks. (and sorry for mi english
please).
- Original Message -
From: Eric Reiss
To:
[EMAIL PROTECTED]
Sent: Wednesday, November 21, 2001 7:20 PM
Subject: Re: [JAVA3D] MousePick!
sor
sorry, i need to clarify one thing.
I haven't been actively doing any Java3D and forgot that the callback
method is implemented in the picking versions of those three
behaviors. So what I was talking about would require using the
extended picking versions of those three behaviors.
The Sun example
Each of the three behaviors you mentioned has a callback method which
when setup returns the transformgroup of the object that was zoomed,
translated, or rotated.
From this transformgroup, you can get the Transform3D and hence the
three coordinates.
If you want to simply get the three coordinates
r's
>transform", remember that the cylinder has not been rotated yet. I don't
>have those rotations. I have a pair of endpoints.
>
>This problem could like be solved with my own custom code, but I wonder if
>Java3d has any implicit tools (Matrix, Vector) which can f
>particular axis. Just know the endpoints. So how would I transform a
>pair of endpoints into angles that allow me to rotate that cylinder?
>
>-- John
>
>On Sun, 30 Sep 2001, Eric Reiss wrote:
>
> > Date: Sun, 30 Sep 2001 20:42:22 -0400
> > From: Eric Reiss <[EMA
Points or Vectors describing two endpoints? I don't
>necessarily know the angle for rotations. Sometimes I start with the
>endpoints.
>
>-- John
>
>On Sun, 30 Sep 2001, Eric Reiss wrote:
>
> > Date: Sun, 30 Sep 2001 13:48:34 -0400
> > From: Eric Reiss <
This is actually very simple.
Suppose you already know the TransformGroup for an object you want to
rotate to a specific angle around the X axis. Lets call this Object
TransformGroup JohnTG.
Transform3D tempT3D = new Transform3D();
(JohnTG).getTransform(tempT3D);
Matrix3d someRotationMatrix =
u will
>find Z axis for main object now point where the
>negative Y axis previously pointed. but if you press
>forth,you will find Z axis for aux object has not been
>changed at all!
>
>Does anybody can tell me how to move an object but ont
>the viewPlatform?
>
>than
I'd like to add this type of message to my list of pet peeves.
Along with the inevitable "unsubscribes", virus filled attachments,
"virtual card file" attachments that proliferate in my attachment
directory, and finally the out-of-office auto-replies when I post a message
or reply, we now need to
I have an odd workaround but it may lead you in the right direction.
I used the picking behaviors as a model and created two new behaviors, one
for selecting an object using the pickingcallback method and the other to
fire off a dialog box when someone doubleclicks. The double click method
also
Unfortunately, I haven't had time to work on it much this spring.
And I haven't tried the newest J3D release.
At 10:09 AM 04/05/2001 -0400, you wrote:
Hi Eric,
I am currently using a variation of your behaviour. Unfortunately, a bug
in the Transform3D code in the newest release of J3D is ca
Josh, you might want to look at my orbit behavior.
It does not snap the view so that the new center is in the middle of the
view.
Of you want to orbit an object that is centered in the view, you must
translate the view so that the object is centered and then you can orbit
the object as if it was
Do you realize that you were probably infected with the Navidad virus from
the person that posted messages this morning and are now sending them back
to the Java3D list?
At 04:19 PM 03/26/2001 -0800, you wrote:
>Hi, attached is an example.
>The objects of concern are only near to collide.
>And
I'm not familiar with the userData at all. I remember reading some post
about it and thought it might have been useful but since I had already
solved my problem and wasn't aware of the userData method at the time, I
never followed up on it.
Your method is probably simpler (I can't comment since
If you do it using the method I use, you need to look at the callback
methods of the picking behaviors. But first, you say when someone picks
object A, you want to change the color of object Qa. So is there a direct
correspondence from object A to Qa and from B to Qb and from C to Qc, and
so on
I think you might want to check out :
http://www.sigda.org/Eric/java3d/behaviors/index.htm
I'm not sure but the latest release of Java3D might have fixed the problem
you're having.
At 09:33 PM 03/17/2001 -0800, you wrote:
>I have an object in a viewer which I rotate by dragging either up/dow
for help!
>
>===
>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".
**
;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".
**
***
Eric Reiss
Manager MEMS Lab
Swanson New Product Incubator
School of Engineering - University of Pittsburgh
3700 O'Hara Street
647 Benedum Hall
Pittsburgh, PA 15261
Phone: 412-624-9696
Email: [EMAIL PROTECTED]
http://www.sigda.acm.org/Eric/
***
===
>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".
**
TECTED]
>
>===
>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
checked the math on either page but you might want to get in
>touch with Andreas about editing the FAQ if you're sure it's in error. It
>could help out a lot of people that use the FAQ as a reference.
>
>-Peter Yoo
***
t; > body
> > > of the message "signoff JAVA3D-INTEREST". For general help, send email
>to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> > >
> >
> >
>=
k for this unique identity and accordingly print the right info.
>
>Thanks so much for your valueable help.
>Richie
***
Eric Reiss
Manager MEMS Lab
Swanson New Product Incubator
School of Engineering - University of Pittsbu
rmGroup tg)
> { System.out.println("first method"); }
>
> public void transformClicked(int type, TransformGroup tg)
> { System.out.println("second method"); }
>
> public void transformDoubleClicked(int type,TransformGroup tg)
> {System.out.pr
ks when you add the behavior to the universe
or whatever BranchGroup you are using.
If you need any further help, or something explained more closely, don't
hesitate to email me.
At 03:17 PM 01/12/2001 +0100, you wrote:
>Dear Mr. Eric Reiss,
>
>I went thru your very intrestin
REST". For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
***
Eric Reiss
Manager MEMS Lab
Swanson New Product Incubator
School of Engineering - University of Pittsburgh
The terminology rotate seems to always confuse people.
If you rotate an object, or a group of objects, it should rotate the object
around the upper most point in the hierarchy of the Transform group where
you have the behavior acting upon.
In your case if TG1 is at 0,0,0 and you rotate, then eve
n is how I can put MouseRotate in the left button
and MouseTranslate in the right button.
Thanks.
PD Eric your behaviors are very
good.Thanks
***
Eric Reiss -
http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]
SIGDA Intern
;
obj.addChild(pickTranslate);
//pickTranslate.setupCallback(myPickingCallback);
Thanks
Silvia Villanueva
[EMAIL PROTECTED]
[EMAIL PROTECTED]
P.D If you can´t see my code ¿can you send my a
project with the behaviors working?
Thanks.
**
rentVpT3D.set( viewPlatformT3D );
>
> }
>
>
>Any hints or any examples to do this will be appreciated.
>
>Thanks,
>
>
>Bo
>
>
>
>-
>myview technologies GmbH & Co. KG
>Riemekestraße 160 ~
>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 "
NTEREST". For general help, send
> email to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> > >
> >
> > ===
> > To unsubscribe,
Cyrille Breihof
***
Eric Reiss -
http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]
SIGDA Internet Server Manager -
http://www.sigda.acm.org/
Assistant Systems Manager - School of Engineering
University of Pittsburgh
***
>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
round. But neither
of these seem very logical. Certainly, there
must be a simpler solution.
Any ideas?
Thanks,
Miguel Branco
***
Eric Reiss -
http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]
SIGDA Internet Server Manager -
e 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".
***
Eric Reiss - http://www.sigda.acm.org/Eric
end 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".
***
Eric
-
>mailto:[EMAIL PROTECTED]
>
>===
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-INTEREST". For general help, send email to
&g
t;2. Is it a bug of java 3d that it hasn't provided any class similar to
>MouseOrbit.? Can we get the same effect by using lookAt() method in
>MouseRotate.?
>3. Can i use ur java classes in my project?
>
>Thanx a lot.
>Ashish
>
>Eric Reiss wrote:
>
> > I
08:05 PM 09/26/2000 +0000, you wrote:
>Eric Reiss:
>I have modified your code. I hope the attached files don't get confused
>since they have the same names.
>
>I believe what you wanted was the Orbit behavior, not the rotate.
>You seem a little confused about the difference.
erent branches.
Organization is key.
And try to keep the post within the mailing list so others can benefit.
>Date: Tue, 26 Sep 2000 11:15:52 -0700
>From: Ashish Tayal <[EMAIL PROTECTED]>
>X-Mailer: Mozilla 4.7 [en] (WinNT; I)
>X-Accept-Language: en
>To: Eric Reiss <[EMAIL PROT
behaviors
including one to do Orbiting of a point in space.
I apologize for how rough the "My Behaviors" topic is but I haven't even
proofed it yet and I am not sure how coherent it is not to mention grammar
and spelling.
********
, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>
>===
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-IN
MAIL 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".
***
Eric Reiss -
os from SUN and other
>developer look as bad as this 3D models.
>Can anybody tell me how to solve this problem?
>
>I use Windows NT Service Pack 6,ATI graphic card.
>Any help is appreciated.
>Olga
***
Eric Reiss
>
>
> > -Original Message-----
> > From: Discussion list for Java 3D API
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Reiss
> > Sent: Thursday, June 29, 2000 10:44 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JAVA3D] pickTranslateBehavior seems to
ification, the program no longer works - you
>cannot pick individual object and move it.
>
>Attached the modification of PickTestGeometry.java file for
>Java3d 1.2 release. I am running on NT4.0 with JDK1.2.2 release.
>
>Ching
*******
the
mouse behaviors to. If you look at this line in the picking
behavior and compare it to the one in the mouse behavior, you will see
that the Bang ("!") symbols are in the same areas.
I hope this helps.
Date: Mon, 26 Jun 2000 16:42:38 -0400
To: Ben Arbel <[EMAIL PROTECTED]>
l to
>[EMAIL PROTECTED] and include in the body of the message "help".
***
Eric Reiss - http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]
SIGDA Internet Server Manager - http://www.sigda.acm.org/
Assistant S
correctly since it works correctly using
the group then simple object order.
Is this a bug or am I missing something?
***
Eric Reiss - http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]
SIGDA Internet Server Manager - h
re
>slower than when I am farther away. Also note that in the above routine I
>am using a left handed elevation (thus the negation of the elevation value).
>I hope this helps.
>
>
>John P. Williams
>[EMAIL PROTECTED]
>Voice 850.314.6700
>Fax850.314.7508
>
>
ormed
by vertical and horizontal components of the view.
Likewise, the Zoom is just along the Z axis instead of along a path normal
to the arbitrary view.
Any help would be greatly appreciated.
***
Eric Reiss - http://www.sigda.ac
general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
***
Eric Reiss - http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]
SIGDA Internet Server Manager - http://www.sigda.
MAIL 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".
***
Eric Reis
Does anyone know of a Java3D tool for picking Colors and Material?
I used the attached file for doing it in VRML and I was wondering if there
was something similar for J3D.
color_toy.wrl
***
Eric Reiss - http
ECTED] and include in the body of the message "help".
*******
Eric Reiss - http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]
SIGDA Internet Server Manager - http://www.sigda.acm.org/
Assistant Sys
in the body of the message "help".
>
>===
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-INTEREST". For general help, send email to
&g
LT key.
>John
>
>-Original Message-
>From: Eric Reiss [mailto:[EMAIL PROTECTED]]
>Sent: January 9, 2000 1:25 AM
>To: [EMAIL PROTECTED]
>Subject: [JAVA3D] Which key is the Meta key for mouse behaviors
>
>
>I have recently compiled my own versions of the mouse and
help.
***
Eric Reiss - http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]
SIGDA Internet Server Manager - http://www.sigda.acm.org/
Assistant Systems Manager - School of Engineering
University of Pitts
!!
Jiang
***
Eric Reiss -
http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]
SIGDA Internet Server Manager -
http://www.sigda.acm.org/
Assistant Systems Manager - School of Engineering
University of Pittsburgh
***
d email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
> >
>
>===
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JA
ith it now.
***
Eric Reiss - http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]
SIGDA Internet Server Manager - http://www.sigda.acm.org/
Assistant Systems Manager - School of Engineering
University of
67 matches
Mail list logo