You may start working with the Canvas3D.postSwap method:
public void postSwap()
This routine is called by the Java 3D rendering loop after completing all
rendering to the canvas, and all other canvases associated with this view,
for this frame following the buffer swap. Applications that wish to perform
operations at the very end of the rendering loop may override this function.
I didn't try it, but getting a GraphicsContext from the Canvas (from wich
the Canvas3D is derived) object and drawing into it may help.
--
Avare Christophe
P�le g�nie logiciel et nouvelles technologies
Dassault Data Services
[EMAIL PROTECTED]
Tel: 01 46 97 60 14
-----Original Message-----
From: Guillaume Bedard <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: vendredi 15 janvier 1999 00:55
Subject: [java3d] Drawing onto a live Canvas3D with AWT
Hi!
Is there a way to draw onto a Canvas3D with AWT?
Actually, I have succeeded in drawing a little box
(as an example) but sometimes it shows up when the
next rendered frame appears, and sometimes it does
not show at all.
This issue seems to be related with the double-buffered
nature of the native renderer, but is there a sure way
to draw some 2D graphics over a Canvas3D component?
Any hint would be appreciated,
Guillaume B�dard
Adrenaline Software, Inc.
�����������������������
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/