Hello, Not to get too much into detail, you can do this using simple vector math. Create a vector to p1, then p2. Subtract the vectors to get the resulting vector from p1 to p2. Get the distance of the vector and scale it to be wherever you want p3.
Java3D provides the Vector3* and Vector4* classes for this, so the math is mostly done for you. The tricky part is just remembering which point to subtract from which. You can find more information on this at places like Dr. Math and Mathworld. Just google it a bit. Good luck, -mike -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of hterrolle Sent: Thursday, May 27, 2004 4:23 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] point projection using angle. Hi, I got a little problem. I woul like to do some point projection using angle calculation. I really do not know how to do it. I have seen the Project method inside the point.class. But i do not think this will help me. What i want to do is : i want to do a parralelle projection of a point. Example i got point-1 (0,0,0) and point-2 (1,2.5,3) and i would like to create a thrid point at 2.0 of distance from point-2 on the same direction that point-1,point-2. Point-1 point-2 point-3 ( parrlelle projection) O-----------------O---------------O Thanks a lot. Herve =========================================================================== 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".