[JAVA3D] lights

2001-12-17 Thread kani A.
Dear Friends, Thanks for the help regarding the rotation. I solved it.Now, as I rotate two objects around one another I like to give 2 different colors. I use directional lights to give colors,but same color is seen on both the objects. Iam confused , is there any other method? Since Iam a begin

[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 ===

[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 =