Hello all!!!!!
 
I am using a Text3D object with a font size of 1.
However, Java3D displays the text in a size so big, that even a four letter word cannot accomodate itself on my screen.
 
This is my code. Where am i going wrong???
 
  Font3D font = new Font3D(new Font("Serif", Font.PLAIN, 1), new FontExtrusion());
  Text3D t = new Text3D(font, new String("VRML")); //, posn, 1, 0); 
 
  Appearance textApp = new Appearance();
  ColoringAttributes colorAttr = new ColoringAttributes(Red, 1);
  textApp.setColoringAttributes(colorAttr);
 
  Shape3D Name = new Shape3D(t, textApp);
  return Name;
 
any help will be appreciated.
 
Ajit

Reply via email to