Hi Francois,


>X-Accept-Language: en
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>Date: Fri, 13 Oct 2000 19:51:13 -0400
>From: Francois Savard <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] Safely updating a live scene graph
>To: [EMAIL PROTECTED]
>
>And what about updating a scene graph in a swing component event
>handler?
>

It should be OK as long as the update is using

SwingUtilities.invokeLater(runnable)


>Sometimes, my program has strange behavior when I
>set the Transform of a TransformGroup from these
>Swing events handler.
>
>A copy of the shape3D connected to the old transform stay
>in place and the real shape3D is moved to the desire
>position. On the screen, there is two copies of the same
>objet. It's a spontaneous creation of java3d (or god, I
>don't know!??)
>
>This doesn't occur frequently (about 1/500 clicks on a
>Swing component) but it's very annoying!
>
>In an another case, I've tried to remove the branchgraph
>before changing the transform, and the old shape3d became
>a kind of phantom shape3D and was throwing an exception
>when I click on it.
>
>very scary stuff, I need help
>
>I think that it's and problem of synchronisation between
>the swing and java3d thread but I don't know how to
>resolve this problem.
>
>

Java 3D v1.2.1 beta1 will be out pretty soon, probably next
week. You may need to try that out. If the problem still
exists, please send your test program to us.

Thanks.

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

Reply via email to