Hi

Try getting an image of the canvas in your postRender() method and applying
your Java2D transforms to that.

B.D.


>From: Richard Bragg <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [JAVA3D] Graphics2D affine transform operations in a Canvas3D
>Date: Fri, 27 Jul 2001 18:26:39 -0700
>
>Does anyone know how to apply the Graphics2D affine transform methods
>(such as translate, rotate) to the Graphics2D object from a Canvas3D?
>I have tried to do it in the preRender and postRender methods, but my
>J3D objects in the canvas don't seem to move at all.
>Strangely enough, if I use the Graphics2D object to paint into the canvas,
>the 2D objects in the canvas are affected by translate and rotate,
>but the 3d objects are not.
>FYI, I am trying to create images of a scene that match images taken from a
>real
>camera.  I can set the projection and viewing transforms to model an ideal
>camera, but I still need to apply some affine transforms to the scene to
>model the distortions in the actual camera.
>Any ideas or explanations would be appreciated.
>Thanks
>Rich Bragg
>
>===========================================================================
>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".


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

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