Hi Jon,

Unfortunately, there is no easy way to do this at this time.  Rendering
into an offscreen buffer and giving that to Java 3D is the only solution
today.  We are looking at ways to make it easier in Java 3D 1.2, but 
having multiple API's rendering into hardware resources, and syncronizing
between them all is a very hard problem.

Doug Twilleager
Java 3D Team


> To: [EMAIL PROTECTED]
> Subject: [java3d] Rendering over a canvas3d
> MIME-Version: 1.0
> 
> Hi,
>  I am trying to overlay some graphics on a Canvas3D. What is the best
> way to go about this? I'm am currently doing my drawing in the postSwap method
> using a call to canvas.getGraphics(). This has serveral drawbacks, but mainly
> there is a lot of flicker. (I've tried drawing into a off screen image, but
> this is quite slow.) Is there anyway to draw directly into the rendering 
buffer
> in the postRender() method. Also, is it possible to get info. from the
> Z-buffer?
> 
> Cheers,
> 
> Jon Beniston.
> 
> 
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to