Using the Text2D class, I've created a Text2D object as follows:
Text2D frontText = new Text2D("New string",
new Color3f(1.0f, 1.0f, 0.0f), "Helvetica", 100, Font.BOLD);
This displays OK. I now attempt to double the size of the text using:
frontText.setRectangleScaleFactor(2.0f);
frontText.setString("New string");
But the text now completely vanishes. I am aware of the bug where
setString()
must be called after setRectangleScaleFactor(), but as you can see, I am
doing that...what am I doing wrong?
Omitting the final call to setString results in the original text still
being
visible, although it hasn't changed size.
===========================================================================
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".