I've got the same problem. In my case texts longer then 53 characters are shown
as a white rectangle. '-Dj3d.sharedctx=false' doesn't change anything.
Another problem with text2D is: when I set:
schrift = new Text2D(inString ,textColor ,"", 35 , Font.BOLD);
textApp = schrift.getAppearance();
textTex = textApp.getTexture();
textTex.setMinFilter(Texture.NICEST);
schrift.setAppearance(textApp);
and call
schrift.setString("something");
later, the MinFilter doesn't apply anymore.
At the moment I work around by always creating a new text2D Obj for any change
of the text But that's not nice (Garbage...)
my best wishes for a good java3D-jear,
Wido.
Blaine Alex Bell wrote:
> I am getting this same problem with Text2D only when the text is longer
> than a specified length (in my case it is above 23 characters). I am
> using the latest Beta version of Java3D, along with a GeForce graphics
> card. I have also disabled the use of shared contexts by setting the
> property as described in your email with little success. Any other
> suggestions?
>
> Happy New Year!
>
> Blaine
>
> On Tue, 1 Feb 2000 15:00:06 -0800, Dan Petersen <[EMAIL PROTECTED]>
> wrote:
>
>
>> Have you tried the suggestion in the README:
>>
>> NOTE: This version of Java 3D uses shared contexts in OpenGL for Display
>> Lists and Texture Objects. Some video cards, such as the Riva TNT,
>
> have
>
>> problems in this area. If you are experiencing no rendering,
>
> crashes,
>
>> or no textures being displayed, this may be the problem. We have
>
> added
>
>> a runtime property that allows applications to disable the use of
>
> shared
>
>> contexts. For single canvas applications, there will be no change
>
> in
>
>> behavior. For multiple canvas applications, memory requirements
>
> will
>
>> increase by using this property. Here is an example of using the
>> property.
>>
>> java -Dj3d.sharedctx=false MyProgram
>>
>> Dan Petersen
>> Java 3D Team
>> Sun Microsystems
>>
>> ** Look for the newsgroup: comp.lang.java.3d **
>>
>>
>>> MIME-Version: 1.0
>>> Content-Transfer-Encoding: 7bit
>>> X-Priority: 3
>>> X-MSMail-Priority: Normal
>>> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
>>> X-OriginalArrivalTime: 30 Jan 2000 17:18:05.0425 (UTC)
>>
>> FILETIME=[F8699E10:01BF6B45]
>>
>>> Date: Sun, 30 Jan 2000 18:25:33 +0100
>>> From: Fr,d,ric Chopard - BaK <[EMAIL PROTECTED]>
>>> Subject: [JAVA3D] Text2D and java3d 1.2 beta 1
>>> To: [EMAIL PROTECTED]
>>>
>>> I have some problems with Text2D, when I create one it only appears as
>>
> a
>
>>> white rectangle. I tried some examples like Text2DTest, I always get
>>
> those
>
>>> white rectangles instead of texts. These tries were done with the beta
>>
> 1
>
>>> I tried with java3d 1.1.3 and everything works fine, could this be a
>>
> bug of
>
>>> the beta 1 ?
>>>
>>> Fred
>>>
>>>
>>
> ===========================================================================
>
>>> 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".
>>
>>
> ==========================================================================
>
>> 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".
>
>
> ===========================================================================
> 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".
===========================================================================
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".