Re: [JAVA3D] rotation angle of Transform3D

2004-03-01 Thread Peter Strachan
e similar results.If mul has been used to combine these with each other or with other there is no clear single angle of rotation Peter S. - Original Message - From: "Rolf Gabler-Mieck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 26, 2004 2:27

[JAVA3D] rotation angle of Transform3D

2004-02-26 Thread Prof.C.Ratsch
Hello Java3D-fans, I have the instance of a Transform3D from a TransformGroup. How can I get the rotation angle ? I search something like getRotX ? Any solutions? C. Ratsch === To unsubscribe, send email to [EMAIL PROTECTED]

Re: [JAVA3D] rotation angle of Transform3D

2004-02-26 Thread Rolf Gabler-Mieck
Prof.C.Ratsch wrote: Hello Java3D-fans, I have the instance of a Transform3D from a TransformGroup. How can I get the rotation angle ? I search something like getRotX ? Any solutions? C. Ratsch === To unsubscribe, send emai

Re: [JAVA3D] Rotation pairs

2003-07-22 Thread trz
ahmet balci wrote: Hi, I am trying to make a rotation around x axis which is following the rotation around y axis (of a plane object). I wrote the following code piece for this purpose; trans.rotY(0.5); trans.rotX(1.2); trans.setScale(0.007); worldTrans.setTransform(trans);

Re: [JAVA3D] Rotation pairs

2003-07-22 Thread Nick Stark
To: [EMAIL PROTECTED] | | cc: | | Su

[JAVA3D] Rotation pairs

2003-07-22 Thread ahmet balci
   Hi,    I am trying to make a rotation around x axis which is following the rotation around y axis (of a plane object).    I wrote the following code piece for this purpose;       trans.rotY(0.5);     trans.rotX(1.2);     trans.setScale(0.007);    worldTrans.setTransform(trans);      "trans" is

Re: [JAVA3D] rotation problem

2002-11-27 Thread Lan Wu-Cavener
Thank all of you that helped me.! I will look into the code repository. I have tried several ways but the rotation around (0,1,0) seems to be around the moved y (after a rotation around x, the local y changed). I did use Transform3D.setEuler(). What I like to have is after I rotate around x for a

Re: [JAVA3D] rotation problem

2002-11-27 Thread Shantz Family
moving camera. You might not want to force the wings level. I'm not allowing roll in this application. Mike Shantz - Original Message - From: "Dipl. Ing. Paul Szawlowski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 11:53 P

Re: [JAVA3D] rotation problem

2002-11-27 Thread Silvio Simone
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, November 27, 2002 8:53 AM Subject: Re: [JAVA3D] rotation problem > Lan Wu-Cavener schrieb: > > Hi, every one: > > > > I have the following rotation problem. What I need is to rotate the > > ViewPlatform

Re: [JAVA3D] rotation problem

2002-11-26 Thread Dipl. Ing. Paul Szawlowski
Lan Wu-Cavener schrieb: Hi, every one: I have the following rotation problem. What I need is to rotate the ViewPlatform around its local x axis and local original y(0,1,0), or the vector (0,1,0) in the local coordinates. Could anyone please help to figure out how to make it work. Thanks in adva

[JAVA3D] rotation problem

2002-11-26 Thread Lan Wu-Cavener
Hi, every one: I have the following rotation problem. What I need is to rotate the ViewPlatform around its local x axis and local original y(0,1,0), or the vector (0,1,0) in the local coordinates. Could anyone please help to figure out how to make it work. Thanks in advance! Lan Lan Wu-Cavener

Re: [JAVA3D] Rotation angles from matrix ???

2002-07-11 Thread Josh Richmond
To follow up: yaw = angle about Z pitch = angle about Y roll = angle about X If this doesn't work then you need code for RPY Euler sequence. josh ==To unsubscribe, send email to [EMAIL PROTECTED] and include in the body o

Re: [JAVA3D] Rotation angles from matrix ???

2002-07-11 Thread Josh Richmond
Hi Vincent, I've struggled with Euler angle problems before. I have a set of routines for converting. Check the computeYPRRotationMatrix() function below. If it produces the same rotation matrix as your sequence (which I think it will), then the other function will produce your Euler angles fr

[JAVA3D] Rotation angles from matrix ???

2002-07-11 Thread Vincent St-Amour
  Hello,     I build a rotation matrix from the 3 rotation angles ( Rotation around X axis, rotation around Y axis and rotation around Z axis).     I want to know if it is possible to retreive those angle from a rotation matrix ( the other way arround ) ?     Thank you all,     Vincent St-Amour  

Re: [JAVA3D] Rotation

2002-04-24 Thread Simeon H.K. Fitch
> how ratation a cube in the left side of the screen ? > > I with him rotate in the center of scene > Translate to origin, rotate, then translate back. See section 5.01 of http://www.faqs.org/faqs/graphics/algorithms-faq/ Simeon =

[JAVA3D] Rotation

2002-04-24 Thread João Paulo Menegatti
how ratation a cube in the left side of the screen ? I with him rotate in the center of scene []'s J.P. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTERES

Re: [JAVA3D] Rotation (rotX, rotY, rotZ)

2002-03-01 Thread Cheng Chang Dong
Sent: Thursday, February 21, 2002 12:48 AM Subject: [JAVA3D] Rotation (rotX, rotY, rotZ) > Hi! > My problem is, I'm sure for you experts its very simple, but I can't find my > > way out... > > I use three buttons to control the rotation of an object (rotX, rotY, rotZ). &

[JAVA3D] Rotation (rotX, rotY, rotZ)

2002-02-20 Thread Norbert Dec
Hi! My problem is, I'm sure for you experts its very simple, but I can't find my way out... I use three buttons to control the rotation of an object (rotX, rotY, rotZ). First it works fine, but after some "Button-Clicks" the object disappears. Why?? Thanks Norbert sourcecode: case ROTATE_Y:

Re: [JAVA3D] rotation about axis

2002-01-30 Thread Karsten Fries
Hi there, i recently accountered a stability problem of my app on some graphics cards. The log looks like this on and ATI mobility and Java.1.2.1_03: ** An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred a

Re: [JAVA3D] rotation about axis

2002-01-29 Thread Fred Klingener
geometric requirement or if it just fixed a problem du jour. HTH, Fred Klingener Brock Engineering - Original Message - From: "Saurabh Akhauri" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 3:38 AM Subject: [JAVA3D] rotation about a

[JAVA3D] rotation about axis

2002-01-29 Thread Saurabh Akhauri
I want to have customised rotation behaviour that rotates the view platform around a specified axis. I have been trying things with orbit behaviour but not much succesful yet all i have been able to achieve till now is the rotation about the center point of specified axis by changing the rotation

[JAVA3D] Rotation Problem

2001-12-19 Thread Roger Berggren
Hi, I'm trying to create an application that displays a Shape3D object using a triangle strip array. The program works but I have encountered some problems along the way. When I try to rotate my Shape3D object (using the PickRotateBehavior), the object seems to rotate around the wrong axis. Wh

Re: [JAVA3D] Rotation

2001-12-17 Thread Justin Couch
"kani A." wrote: > > Dear friends > >Iam a beginner in learning java3D, I have a doubt about the rotation please help >to understand it. Actually I rotate a object around yAxis , I want to tilt the axis >of rotation to certain degree. I don't have idea . please anybody help me. Rotations i

Re: [JAVA3D] Rotation

2001-12-16 Thread Joao Manuel De Oliveira Francisco
Hi there! You should place a transformgroup just above the shape you want to tilt. Thats where you'll apply the desired rotation. If you are using a behavior to rotate the object around the other one, the behavior is placed above the first transformgroup. This way, no matter what transforms you ap

[JAVA3D] Rotation

2001-12-16 Thread kani A.
Thanks for the reply, I know we can rotate in any axis ..what I mean is tilting the axis of rotation to 45o. I have a object in the origin and another one rotates around it. I want to give some inclination to the rotation. please help me. kani ===

Re: [JAVA3D] Rotation

2001-12-16 Thread Ben Arbel
kani you can rotate it on any axis.. not just the yAxis.. i think you are a little confused : ) - ben - Original Message - From: "kani A." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 17, 2001 6:07 AM Subject: [JAVA3D] Rotation >

[JAVA3D] Rotation

2001-12-16 Thread kani A.
Dear friends Iam a beginner in learning java3D, I have a doubt about the rotation please help to understand it. Actually I rotate a object around yAxis , I want to tilt the axis of rotation to certain degree. I don't have idea . please anybody help me. Thankyou in advance kani =

[JAVA3D] Rotation Interpolator

2001-11-21 Thread Raúl
I want to generate an event or to do something when the animation generated by a Rotation Interpolator behavior ends, is it possible? How could I do?   thanks everybody for your help, and sorry for my english.

Re: [JAVA3D] Rotation and texturing

2001-10-28 Thread Dipl. Ing. Paul Szawlowski
Change the face culling policy (default is backface culling) to CULL_NONE in a PolygonAttributes object and add it to the Appearance object of your textured object. Vidya Sagar schrieb: > Hi, >I created a polygon and mapped an image onto it. > Now I used RotationInterpolator class to rotate

[JAVA3D] Rotation and texturing

2001-10-27 Thread Vidya Sagar
Hi, I created a polygon and mapped an image onto it. Now I used RotationInterpolator class to rotate the image continuosly. My problem is, I could'nt see the image always, instead I could only see a blank screen for some time and after some time the image again reappers. This means that I could

[JAVA3D] Rotation problem

2001-10-19 Thread Michael Haller
Hello! I'm using two cylinders (A and B) with a high of 3.0 which are connected to each other (I'm using the Cylinder-class). Now, I want to rotate the second cylinder (B). Of course, without any translation the cylinder B will be rotated in the center - which is not what I want to have. Instead,

[JAVA3D] Rotation about Y - axis.

2001-10-08 Thread Shreesha
Hi, I have the following problem. I want to write code that would make an object (eg Color Cube class defined in the utility classes) rotate about the X -axis.I tried customizing the RotationInterpolator with appropriate Transform3D objects, but nothing seems to work. Whatever I do, rotation abo

[JAVA3D] Rotation

2001-09-05 Thread Desiree Hilbring
Hi everybody, my 3D-objects are created far away from the origin, somewhere around +x and -z coordinates. The objects are clipped by a ModelClip plane plane = new Vector4d(crossVector.x,crossVector.y,crossVector.z,dist); It is parallel to the x-Axis and has a significant distance. My scenegrap

Re: [JAVA3D] Rotation Matrix

2001-08-30 Thread Spencer Goh
Thanks for those links.. and have had a quick read. I think the FAQ covers all the matrices I need! Just one further quick question given that this (taken from the FAQ) is the final matrix I need: | CE -CF D 0 | M = | BDE+AF -BDF+AE -BC 0 | | -ADE+BF AD

Re: [JAVA3D] Rotation Matrix

2001-08-30 Thread Renoir Sewjee
If you are able to create the geometry of the objects yourself then you could use 1 geometry array for all of the objects. In the case of 200 cubes: Use a QuadArray with 200*6*4 coordinates (numCubes*facesPerCube*coordinatesPerFace) . Use Transform3D to perform the rotations and tr

Re: [JAVA3D] Rotation Matrix

2001-08-30 Thread Spencer Goh
transformGroups??   Regards, Spencer   -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]] On Behalf Of Kevin Williams Sent: 29 August 2001 19:29 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Rotation Matrix   Use 2 transforms, one to translate and one to do

Re: [JAVA3D] Rotation Matrix

2001-08-29 Thread David Homiak
9 PM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Rotation Matrix > > Use 2 transforms, one to translate and one to do the rotation. Then you > can use the rotX, rotY, rotZ. Also every time you move the object, you > don't have to also rotate it (the rot

Re: [JAVA3D] Rotation Matrix

2001-08-29 Thread Kevin Williams
API [mailto:[EMAIL PROTECTED]]On Behalf Of Spencer GohSent: Wednesday, August 29, 2001 10:54 AMTo: [EMAIL PROTECTED]Subject: [JAVA3D] Rotation Matrix Could anyone point me to a website which explains the matrix transforms for rotations. I need to do various rotations about a point

[JAVA3D] Rotation Matrix

2001-08-29 Thread Spencer Goh
Could anyone point me to a website which explains the matrix transforms for rotations. I need to do various rotations about a point, not necessarily the origin.  At the moment I’m computing them by hand using standard trig equations but I’m certain there is a nice neat was of putting it all

Re: [JAVA3D] Rotation

2001-07-20 Thread Mona Wong
/onlineTraining/ http://java.sun.com/docs/books/tutorial/ Have fun! Cheers, Mona > Date: Fri, 20 Jul 2001 09:20:36 +0200 > From: Riana Karsten <[EMAIL PROTECTED]> > Subject: Re: [JAVA3D] Rotation > To: [EMAIL PROTECTED] > > As I start with Java3D I have read the whole T

Re: [JAVA3D] Rotation

2001-07-20 Thread Frank Bellegarde
On Fri, 20 July 2001, Riana Karsten wrote: > > As I start with Java3D I have read the whole Tutorial from Sun, but it > doesn't help me much, because I have no skills in other programming > language. Maybe it would be everything much easier if I have knowledge in > Java or C++, but I haven't. So a

Re: [JAVA3D] Rotation

2001-07-20 Thread Riana Karsten
As I start with Java3D I have read the whole Tutorial from Sun, but it doesn't help me much, because I have no skills in other programming language. Maybe it would be everything much easier if I have knowledge in Java or C++, but I haven't. So and this rotation is only just for fun, because I am a

Re: [JAVA3D] Rotation

2001-07-19 Thread Frank Bellegarde
On Thu, 19 July 2001, Riana Karsten wrote: > > How to create a rotation by a sphere? > > I suggest you have a look at RotationInterpolator and alphabetically folowing in the Java3d API documentation and read the chapter on animation in the tutorial as well. Then comparing with example included in

Re: [JAVA3D] Rotation

2001-07-19 Thread Corysia Taware
Sent: Thursday, July 19, 2001 2:05 AM Subject: [JAVA3D] Rotation > How to create a rotation by a sphere? > > === > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message &qu

[JAVA3D] Rotation

2001-07-19 Thread Riana Karsten
How to create a rotation by a sphere? === 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

Re: [JAVA3D] Rotation Issues - Help :-0

2001-05-13 Thread Sebastian Hentschel
I think it´s a simple Problem You make a simple Rotate of your Object. And without translation it normaly rotates in the origin. coords[0] = new Point3f(0.f,0.f,0.f); coords[1] = new Point3f(0.f,1.f,0.f); coords[2] = new Point3f(0.f,1.f,1.f); coords[3] = new Point3f(0.f,0

[JAVA3D] Rotation Issues - Help :-0

2001-05-10 Thread Jai Kumblekere
HI Members I have problems with rotation of object about its own center rather than the origin. I took an example from this board. It works with real fine with primitives. But if I create two lines with "Test" class, it no more rotates about it's center. Can Someone look at these codes and hel

[JAVA3D] rotation & zoom about centroid using MouseRotate and MouseZoom classes

2001-04-10 Thread Mona Wong
Hi: I need to rotate and zoom about the centroid of the objects which isn't at the origin. How can I accomplish this using the MouseRotate and MouseZoom classes? Any sample code or pointer to docs will be greatly appreciated. I've posted this before but didn't see any response

Re: [JAVA3D] Rotation around arbitary point

2001-03-25 Thread Leyland Needham
Rich Gold wrote: > Is there a method for rotating an object around an arbitary point in space? Or one > vertix of the object (as opposed to its center)? In VRML you could set the center - I > can't seem to find it in J3D (but I'm sure its there!) There is diffrent ways you could do this, It depen

Re: [JAVA3D] Rotation around arbitary point

2001-03-24 Thread Nathan Bower
Rich, I have just had to solve this problem and would suggest looking at the UI framework located here : http://www.manning.com/Barrilleaux/ The ones you are interested are /navigating/oribtcamera.java The ebook probably wouldnt be a bad idea either... Hope that helps, N > Is there a meth

[JAVA3D] Rotation around arbitary point

2001-03-24 Thread Gold, Rich <[EMAIL PROTECTED]>
Is there a method for rotating an object around an arbitary point in space? Or one vertix of the object (as opposed to its center)? In VRML you could set the center - I can't seem to find it in J3D (but I'm sure its there!) Thanks, Rich Gold ===

[JAVA3D] Rotation in NCSA Display

2001-02-14 Thread Ashley Martin
Hi, I am using the NCSA portfolio posted on your website and it gives very interesting results. But I don't know how to rotate the DXF image once I have loaded it in my software. I was wondering if you have any function to rotate the image by say "x" degrees assuming I have a button on the NCSA Di

[JAVA3D] Rotation

2001-01-22 Thread Zak
Whenever you use Mose Rotations, does the view change or is it fixed and the object moved?   Zak

[JAVA3D] Rotation of cone

2001-01-16 Thread Zak
I am trying to have a cone always follow a path in the same direction. I always want the point to be facing straight along the path. Can anyone help? THankz, Zak === To unsubscribe, send email to [EMAIL PROTECTED] and includ

Re: [JAVA3D] Rotation Matrix

2000-10-25 Thread Mohammed Akacem
t; __ Reply Separator _ > > [EMAIL PROTECTED] > 25/10/2000 10:44:00 > > To: [EMAIL PROTECTED]@internet > cc: (bcc: Hans RAKOTOMANGA/ress/fr/socgen) > Return Receipt: No > Importance: Normal > > SUBJECT: Re: [JAVA3D] Rotati

Re: [JAVA3D] Rotation Matrix

2000-10-25 Thread Mohammed Akacem
Hi Boris I have tried what you said but it doesn't work. when I try to rotate the object it seems  to want to rotate (jerk) but it comes again to the initial position. may  be I have something wrong. I changed the  processStimulus(Enumeration enumeration) methode of the MouseRotate classe as foll

Re: [JAVA3D] Rotation Matrix

2000-10-25 Thread Hans RAKOTOMANGA
t: No Importance: Normal SUBJECT: Re: [JAVA3D] Rotation Matrix Hi Mohammed! It is esier then you describe. The A matrix is actually constant. The center of the object should be calculated only once, when the object is just created , and no transformation is aplied to it yet. All further transformation

Re: [JAVA3D] Rotation Matrix

2000-10-25 Thread Epelman Boris
Hi Mohammed! It is esier then you describe. The A matrix is actually constant. The center of the object should be calculated only once, when the object is just created , and no transformation is aplied to it yet. All further transformations are present in T matrix, so what this formula does is f

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Mohammed Akacem
Hi Boris, I unterstand now what you mean. to get the A matrix I can use the BoundingBoxcenter Ok , but when the user translate the object again I would have to get the new Center and to calculate the new A matrix again(I am using the MouseRotate, MouseTranslate and MouseZoom classes)I think it wou

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Andreas Ebbert
Hi, maybe I can help by describing what my scenegraph looks like: The ViewBranch looks like this: LOCALE   |  BG   |  TG    - only translation to Point of Interest   |  TG    - Z-Rotation   |  TG    - Y-Rotation   |  TG    - X-Rotation   |  TG    - only translation along z-axis (zoom)   |  ViewPl

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Mohammed Akacem
-Original Message- > From: Mohammed Akacem [mailto:[EMAIL PROTECTED]] > Sent: dinsdag 24 oktober 2000 15:27 > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Rotation Matrix > > Hi Boris, > > my point is that I don't want to translate the object to the origine because > my

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Epelman Boris
Hi Mohammed! I do not think that what you are sying is possible, but the way I suggested you need to calculte the matrix T*A*R*A^(-1)*T^(-1) first and then multiply the transform attached to your object by this matrix as a single operation. In that way you perform only one multiplication by th

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Thijs Maenhout
[mailto:[EMAIL PROTECTED]] Sent: dinsdag 24 oktober 2000 15:27 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Rotation Matrix Hi Boris, my point is that I don't want to translate the object to the origine because my objects kann have 500.000 triangles or more( and that will cost me too much time

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Mohammed Akacem
Hi Boris, my point is that I don't want to translate the object to the origine because my objects kann have 500.000 triangles or more( and that will cost me too much time). Until now I have translated my objects to the origine and it works fine( and that is done with the A Matrix you suggest I sh

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Epelman Boris
Hi! You need to perform the following transformation: T*A*R*A^(-1)*T^(-1)*M where M is your object T is the object's transform that holds all bthe transformations performed on the object till now. A this matrix brings the center of the object to (0,0,0) if the object was not originally crea

[JAVA3D] Rotation Matrix

2000-10-24 Thread Mohammed Akacem
Hello, can someone please tell me how to calculare the Rotation Matrix. the rotation should rotate a Shape3D object whose boundingbox center is not at (0.0,0.0,0.0) but I still want to have the same effect as if the obejct is at (0.0,0.0,0.0).I too translate the view so that the camera is on the

Re: [JAVA3D] Rotation with respect to 2 3d points

2000-08-17 Thread John R.
First of all, thanks to Carl and Niklas for thier hints and help. I ended up with the following approach. (Which seems to work in all the test data I can find.) The folloing code/math/hidden errors is/are GPL. Use/abuse as you feel the need. This started out as the "Arrow" class I found on j3d.o

Re: [JAVA3D] Rotation with respect to 2 3d points

2000-08-12 Thread Niklas Mehner
Hi ! I haven't tried this, so it might not work ... > And what I want to do is, create a standard "arrow" inside a transform > group and translate it to the midpoint of A and B, and rotate it such > that it "points" at B. // create the transform group to place the arrow in TransformGroup arrowT

Re: [JAVA3D] Rotation with respect to 2 3d points

2000-08-12 Thread Carl Smotricz
John R, At 22:13 11.08.00 , you wrote: >I have two cylinders (pipes actually) that I'm trying to draw an "arrow" >between to show flow direction. So, what I really have is 2 3D points. >(Transformation matricies actually, but only containing translation.) > >Call these two points, A and B. > >An

[JAVA3D] Rotation with respect to 2 3d points

2000-08-11 Thread John R.
I have a problem I'm trying to figure out here. I can see intuitively how to do it but not mathmatically. I have two cylinders (pipes actually) that I'm trying to draw an "arrow" between to show flow direction. So, what I really have is 2 3D points. (Transformation matricies actually, but only c

Re: [JAVA3D] Rotation of a 3D object without usingPickRotateBehaviour

2000-08-08 Thread Ashish Tayal
thanx ipsita.. But i want an example in which the object rotates exactly the same way as is provided by the PickRotateBehavior()... That's the object should rotate dynamically within "mousebuttondown" and "mousebuttonup". And not in steps on "mousepress". ashish ipsita trim wrote: > At

Re: [JAVA3D] Rotation of a 3D object without using PickRotateBehaviour

2000-08-08 Thread ipsita trim
Attached is a simple behavior that makes a 3d object rotate on the y-axis on clicking the mouse. --- Ashish Tayal <[EMAIL PROTECTED]> wrote: > hello, > > Can anyone send me an example of creating a > Simple behaviour in which > a 3-D object rotates using a mouse ( i.e. between > mousebu

[JAVA3D] Rotation of a 3D object without using PickRotateBehaviour

2000-08-08 Thread Ashish Tayal
hello, Can anyone send me an example of creating a Simple behaviour in which a 3-D object rotates using a mouse ( i.e. between mousebuttonup and mousebuttondown).. I don't want to use the default behaviours.. Ashish ==

[JAVA3D] rotation of an object

2000-06-27 Thread Sánchez Sanz, Javier
thanks for the help with my problem of the objects size. But by the way, I have another, and far away, problem that is how can I know the rotation of an object (the 3 x,y,z angles)? Of course I can change the rotation at the transform, but is there an inverse way? thanks in advance, Javi Radar, M

Re: [JAVA3D] Rotation about a target

2000-03-23 Thread Ahmed Shakil
<<<<<<<<<<<<< From: Sterling Wright [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 22, 2000 8:36 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] Rotation about a target Hello all, I am new to Java and graphic programming, and am trying to rotate the ViewPlat

Re: [JAVA3D] Rotation about a target

2000-03-23 Thread Dvorak, Daniel J.
> -Original Message- > From: Sterling Wright [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, March 22, 2000 11:36 PM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Rotation about a target > > Hello all, >I am new to Java and graphic programming, and am trying t

[JAVA3D] Rotation about a target

2000-03-22 Thread Sterling Wright
Hello all, I am new to Java and graphic programming, and am trying to rotate the ViewPlatform around a lookat point. I have the correct Matrix4d setup for rotation about the X, Y and Z axis but don't know how to use it in Java3D? The steps I take are: 1) Construct the Matrix4d and initialize i

[JAVA3D] rotation field in the transform node

2000-03-08 Thread Nicolas Trussart
Hello, I would like to know how to transform a rotation defined with 3 angles (in degrees) into a rotation defined with a vector and 1 angle (in radian), as we can find in the rotation field ? Transform { rotation 0 0 1 0.66 children [

Re: [JAVA3D] Rotation problem

2000-01-11 Thread Matthew Gahan
-Original Message- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: 11 January 2000 16:13 Subject: [JAVA3D] Rotation problem >Hello > >I have a problem, I want to rotate a object around a point. If I use the RotX, >RotY... my obj

[JAVA3D] Rotation problem

2000-01-11 Thread oscar . saez
Hello I have a problem, I want to rotate a object around a point. If I use the RotX, RotY... my object rotate around a axis located in the middle of this object. I want to rotate this object around a axis locate in the extreme. How can I specified the position of the rotation axis?. My program

Re: [JAVA3D] rotation of scene graph

1999-12-03 Thread Vladimir Olenin
I'm Very sorry!!! I confused MouseNavigator behavior with KeyNavigator one. It is the last that has a bug for sure. As to the former one, i'm not sure at all. Possibly everything just OK with it, possibly it has the same bug too. David has a nice tutorial where in all examples MouseNavigator class

Re: [JAVA3D] rotation of scene graph

1999-12-03 Thread Vladimir Olenin
Yes, i guess so. Or u can register listeners (like it's done in utils MouseNavigator or KeyNavigator) and translate the event to them. The latter way is more convenient and could be easily extended or reused. But certainly that depends on the goal. vladimir -=V=- >---<===

Re: [JAVA3D] rotation of scene graph

1999-12-02 Thread Dave Frost
Hi, I would be grateful for some pointers on this. The mouse behavior class has a method processStimulus(...) would i over ride this method and put the rotation in here, like when writing normal listeners ? Cheers Dave Vladimir Olenin wrote: > > Do u use that default MouseNavigator class in u

Re: [JAVA3D] rotation of scene graph

1999-12-01 Thread Vladimir Olenin
Do u use that default MouseNavigator class in util package? I guess u do. Don't. There is a bug there and as far as i can recall it, Doug posted some workaround here a couple of months ago. But anyway, u can handle MouseEvents yourself - just right the appropriate Behavior class. vladimir

[JAVA3D] rotation of scene graph

1999-11-30 Thread Dave Frost
Hi everyone, I have myself a scene, it is fine. I have added 3 mouse behaviours to it. to rotate, translate and zoom. The zoom and translate work fine, but the rotation behaviour just send s the scene straight out of the window. It does not appear to be rotating around the origin, which would

Re: [JAVA3D] Rotation

1999-09-17 Thread Jon Barrilleaux
> > If I understand you correctly what you want is for a Vector3d to be > > facing the same direction. Do you want the vector in local or world > > coordinates? > > > > Assuming local coordinates then you could build a Transform3D using > > your axis angle and then use it to transform a vector po

Re: [JAVA3D] Rotation

1999-09-16 Thread Ale
- Original Message - From: Jon Barrilleaux <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 16, 1999 9:29 AM Subject: Re: [JAVA3D] Rotation > If I understand you correctly what you want is for a Vector3d to be > facing the same direction. Do you

Re: [JAVA3D] Rotation

1999-09-16 Thread Jon Barrilleaux
If I understand you correctly what you want is for a Vector3d to be facing the same direction. Do you want the vector in local or world coordinates? Assuming local coordinates then you could build a Transform3D using your axis angle and then use it to transform a vector pointing along the -Z axi

[JAVA3D] Rotation

1999-09-15 Thread Ale
Hi, I've set up a Transform3D to rotate an object using a AxisAngle4d(used in setRotation metod) ,there is a way to create a Vector3d facing the same thirection? I need this vector to translate the object in the direction is facing.