Hi Andrei,

 From J3DGraphics2D doc:

 * immediate-mode rendering: In mixed-mode rendering, all Java 2D
 * requests must be done from one of the Canvas3D callback methods; in
 * pure-immediate mode, the Java 3D renderer must be stopped for the
 * Canvas3D being rendered into.
 *

In other words, you can't use this method in the AWT mouse
event callback thread. Instead it should extends Canvas3D
and do this inside preRender() or postRender().

Thanks.

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

>Date: Mon, 06 May 2002 14:22:18 +0400
>From: Andrei Moisseev <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Canvas graphics draw - bug or feature?
>To: [EMAIL PROTECTED]
>MIME-version: 1.0
>X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
>X-Priority: 3
>X-MSMail-priority: Normal
>Delivered-to: [EMAIL PROTECTED]
>

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