----- Original Message -----
From: "Doug Gehringer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 12:15 PM
Subject: Re: [JAVA3D] Text3D vs. Texture


> This happens when the size of the texture for the Text2D is larger than the
> maximum texture size for the graphics card.  There is no easy fix.  One way
> would be use a smaller font, which would result in a smaller texture.   The
real
> fix is to re-implement Text2D using a font object that has textures for each
> character, but that is alot of work.

And what if individual characters are larger than the maximum texture size?

I just implemented this myself in OpenGL, and simply tiled the whole 2D image. A
disadvantage (so far) is visible white lines on the edges of the tiles. But it
works for arbitrarily large text, requires no font management, and allows the OS
to construct the whole displayed image.

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

Reply via email to