Hi, Roy ! There is no Text2D bug. you just forget to add the following lines : text.setCapability( Shape3D.ALLOW_GEOMETRY_READ); text.setCapability( Shape3D.ALLOW_GEOMETRY_WRITE);
See your code working in the zip file ;) Alessandro --- Roy Duffy <[EMAIL PROTECTED]> escreveu: > I've seen a posting back in May about a possible bug > in either the > Text2D class or the Texture2D class, but I couldn't > find any resolution > on the problem. > Now I've hit the problem too and I'm thinking that > it's a bug. > The problem is I get an "illegal image size" > exception when I try to > call setString() on a Text2D object. I'm guessing > that it's trying to > create an image that's not a power of 2. > I've attached a sample program that demonstrates the > problem. If you > click on the image, the text should alternate > between "Java" and "3D", > but it throws the exception after the first click. > Please check it out. > Thanks. > -Roy > > > ATTACHMENT part 2 application/x-unknown-content-type-java_auto_file name=Text2dTest.java _______________________________________________________________________ Yahoo! GeoCities Tudo para criar o seu site: ferramentas f�ceis de usar, espa�o de sobra e acess�rios. http://br.geocities.yahoo.com/
Text2dTest2.zip
Description: Text2dTest2.zip
