hi all!
i am programming in java3d and want the help of all u guys.
i am trying to design a modeling application in j3d. i want that the AWT pixel coords
be converted to VWorld Coords. but i am having problems. i am using the following code
for the purpose ....
Point3d npoint=new Point3d();
Transform3D t3d=new Transform3D();
this.c3d.getPixelLocationInImagePlate(temppoint,npoint);
this.c3d.getImagePlateToVworld(t3d);
Vector3d v3d=new Vector3d();
t3d.get(v3d); // get x,y,z, transform -> as a check
t3d.transform(npoint);
// temppoint is Point2d object with AWT coords
this code caused very small rectangles to be drawn even if i cover the entire canvas
diagonally.the view transformgroup object had transform3d set to (0.0f,0.0f,10.0f).
changing this to (0.0f,0.0f,2.40005f) makes the rectangles look fine. but when i zoom
in/out the setting gets changed and the new rects. to be drawn get distorted.
Also please cud any of u suggest a very good link on picking.
thanks in advance !
kapil
===========================================================================
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".