I think that your text is inside the cube , try to run your app without creating the cube to check that text2d is viewable

  $BN-!!9?1F (B <[EMAIL PROTECTED]> wrote:

hi,All friend

I create a Text2D object and a ColorCube , and then
put them into TransformGroup object.
ColorCube can show but my Text2D object never show.

Text2D label = new Text2D("aaaaaaaaaaaaaaaaaaaaaaaaaa",new
Color3f(0f,0f,1f),"Serif",256,Fo
nt.BOLD);
ColorCube cube = new ColorCube(0.2);
objTrans.addChild(label);
objTrans.addChild(cube);

thanks for any help.

Hongying Liu

===========================================================================
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".



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to