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

Reply via email to