hi Florin,

thanks for reply.

I have several View objects in my scenegraph and I'd like to switch them to 
rendering on my Canvas3D.

[pseudo-code]
canvas3D.getView().removeCanvas3D(canvas3D);
newView.addCanvas3D(canvas3D);
[/pseudo-code]

but is this valid through AWT-Event-Thread ?
is there any synchronisation needed ?
do I have to start/stop the views ?
..


greetings
-Michael Nischt

p.s. all works fine, but I know some GeometryUpdate things do work even if the 
are 'forbidden'..





On Wednesday 22 January 2003 05:48, Florin Herinean wrote:
> What do you mean by "changing the view" ? You want to change to a different
> view object or you want to change the transform bound to that view ?
>
> Florin
>
> -----Urspr�ngliche Nachricht-----
> Von: Michael Nischt [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 22. Januar 2003 23:34
> An: [EMAIL PROTECTED]
> Betreff: [JAVA3D] Where to change the View of a Canvas3D? - Thread issue
>
>
> Hi all,
>
> can anybody tell me where to change the View of a Canvas3D through a
> keyboard
> input?
>
> It seems not to be allowed in a behavior's processStimulus method, there
> for I
> use a KeyEventListener. Is this valid ? I ask, because I assume the
> JavaEventLoop is another Thread and I wonder about whether this o.k.
> without
>
> any synchronization.
>
> thanks for reply
> -Michael Nischt
>
> ==========================================================================T
>o 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".

Reply via email to