Transform3D trans3D = new Transform3D();
    trans3D.setTranslation(new Vector3f(0.0f,0.0f,0.0f));
 
is pretty much the same as
 
    Transform3D trans3D = new Transform3D();
The origin of course IS Vector3f(0.0f,0.0f,0.0f). If you cannot see anything ... where is your camera looking to?
 
(IIRC, ColorCube is visible w/o light, right? Otherwise, some ambient light in the scene would be helpful....)
 
 
----- Original Message -----
Sent: Saturday, April 23, 2005 11:51 AM
Subject: [JAVA3D] Origin of the 3dVector

Hello,
I want to transfer a ColorCube.I am using Transform3D Class to locate the Color cube.
But when I set Location :
    Transform3D trans3D = new Transform3D();
    trans3D.setTranslation(new Vector3f(0.0f,0.0f,0.0f));
nothing appears, just a black screen.
I tested with another locations, and now I can't find where id the origin of the 3d Vector on
the screen.
Can you help me?
 
=========================================================================== 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