Hi,

   I can reproduce the problem but it seems to me VRML
did not load the texture completely before passing it
to Java3D.

Please check the loader source code. For your reference
our utility TextureLoaders use an Image observer to
make sure Texture load completely before the
constructor return.

Thanks.

- Kelvin
----------------
Java 3D Team
Sun Microsystems Inc.


>Delivered-To: [EMAIL PROTECTED]
>Mime-Version: 1.0
>Date: Fri, 11 Jan 2002 17:03:05 -0500
>From: Josh Richmond <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Test app to demonstrate texture issues.
>To: [EMAIL PROTECTED]
>
>Attached is an app that demonstrates my texture problem. It uses the Xj3d
loader.
>
>To run:
>
>java IndieViewer file.wrl
>
>It displays four viewports of the same scene, pauses, goes to single viewport
mode, pauses, then goes back to tiled mode.
>
>The textures disappear after going to single viewport mode.
>
>Curiously, if the textures haven't completed loaded before the view mode is
switched, they will appear afterwards. Try changing the pauses in main() and
you'll see what I mean. For example, if I pause for 4 secs, the textures aren't
loaded until I go to single viewport mode. In single viewport mode, the texture
appears. When I return back to tiled mode the first viewport's texture (the one
displayed in single viewport mode) is MISSING, but the ones that were never
shown are there!!! Crazy, but probably gives insight as to what is happening.
>
>josh
>
>----------------------------------------------------
>Joshua L. Richmond, BASc, MSc.
>Systems Engineering (R&D)
>
>MD Robotics
>9445 Airport Rd, Brampton, ON, Canada
>(905) 790-2800 x4332
>-----------------------------------------------------
>

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