Marcin, I suppose you want to move and rotate your 3d objects while the text should remain in the plane of the screen. If so, take a look at the java3d demo files where you can find OrientedShape3D/OrientedTest.java. Just take out the portion at // create 3D text:
Appearance apText = new Appearance(); Material m = new Material(); m.setLightingEnable(true); apText.setMaterial(m); // create 3D text Font3D f3d = new Font3D(new Font(fontName, Font.PLAIN, 2), new FontExtrusion()); Text3D txt = new Text3D(f3d, textString, new Point3f( -sl/2.0f, 3.0f, 0.0f)); OrientedShape3D textShape = new OrientedShape3D(); textShape.setGeometry(txt); textShape.setAppearance(apText); textShape.setAlignmentAxis( 0.0f, 1.0f, 0.0f); objScale.addChild( textShape ); Dirk -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Marcin Sent: Sunday, September 05, 2004 12:27 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] 2D how can i mix 2d and 3d modes in a single BranchGroup ? i'd like to add Text2D to 3d scene displaying actual number of objects in Canvas3D's lower-left point. i've tried to use ortho(..) transformation, but with no luck :( thanks for any help Marcin ======================================================================== === 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".