Hi Raj,
Looks like the texture transformation matrix did not reset
correctly, you can try
java -Dj3d.g2ddrawpixel=true yourapplication
to force rendering Text2D without using Texture mapping
(work in OGL version only) to see if the problem is gone.
However, we need your test program in order for
us to get it fix in the next beta2 release.
Thanks for your bug report.
- Kelvin
-------------------
Java 3D Team
Sun Microsystems Inc.
>Delivered-To: [EMAIL PROTECTED]
>Delivered-To: [EMAIL PROTECTED]
>Date: Tue, 29 Jan 2002 07:04:12 -0700
>From: Raj Vaidya <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] Text2Ds and Textured Objects
>To: [EMAIL PROTECTED]
>
>Hi Kelvin:
>
>Thanks for the e-mail. This Bug, if it is one really, is very weird.
>
>FYI, I am using OpenGL under Win98. I will prepare a test app. if
>necessary.
>
>My preliminary investigation shows that dynamically updating the texture
>coordinates of a ByRef geometry on one part of the scenegraph ( using the
>texture transformation matrix ), messes up the Text2Ds on a completely
>different part of the scenegraph. The Text2Ds I am using are simply the
>ones from the API with no modifications whatsoever. Does this give any
>clues ? My dynamically textured object works excellently well and is not
>affected by the problems with the Text2Ds.
>
>The problem doesn't appear if I have a static textured object - that
>is, a textured object whose texture coordinates are not
>updated at run time.
>
>My app. is quite complex, and I will try to pull out the relevant
>classes to put together a test app. for you.
>
>Thanks very much
>
>Raj Vaidya
>
>
>>On Mon, 28 Jan 2002 11:11:41 -0800, Kelvin Chung <[EMAIL PROTECTED]> wrote:
>
>>Hi Raj,
>>
>>>Has anyone had any problems in displaying Text2Ds along with texture
>>>mapped objects in the same scene ? Well, this is what happens
>>>with j2se1.4beta3 and j3d1.3. The Text2Ds when displayed in a scene
>>>without texture mapped objects, are rendered correctly. In the
>>>presence of texture mapped objects, however, the Text2ds either display
>>>as rectangular semi-transparent boxes without text (if the
>>>background color is white) or as red streaks (if the background
>>>is black). The red color of the streaks is probably because my
>>>specified text font color is red.
>>>
>>>Does this have anything to do with transparency sorting...
>>>
>>>Any clues anybody ? Thanks in advance
>>
>>Which version (OpenGL/DirectX) of Java3D are you using ?
>>Please give us a test program to take a look.
>>
>>Thanks for your bug report.
>>
>>- Kelvin
>>------------------------
>>Java 3D Team
>>Sun Microsystems Inc.
>>
>> ==========================================================================
>>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".