Dirk,

            Thanks. Right now I am trying to implement your idea. I will get back to you as soon as I am done.

 

Thanks

Shyam

 

-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Dirk L. van Krimpen
Sent:
Tuesday, September 02, 2003 6:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Plane equation

 

 

Shyam,

 

When you rotate along the X-axis, the normal vectors

you have to calculate are in the Z and Y directions only.

The X direction in that case remains to be zero. So,

in my opinion, if the rotation angle is called A, your

vector components will be Ydirection=Math.sin(A) and

Zdirection=Math.cos(A). So, let's assume you rotate

45 degrees (is 1/4 PI), the resulting values are:

 

Y= -.707 and Z= .707

 

Hope, this is what you meant.

 

Dirk

----- Original Message -----

Sent: Tuesday, September 02, 2003 11:49 AM

Subject: [JAVA3D] Plane equation

 

Hello,

          Not exactly a java 3d question. I have a plane with certain normal say (0,0,1), i.e along the XY plane. Now I want to rotate this plane about X axes by a certain alpha value. Does any body know how the value of plane’s normal changes(a relation between alpha value, old plane normal and new plane normal). Any suggestions will be of great help.

 

Thanks and Regards

Shyam

 

=========================================================================== 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".

=========================================================================== 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".

Reply via email to