Anders Hasselkvist wrote:

> when drawing Java2D graphics on a Canvas3D? Performance is very bad when
> using the J3DGraphics2D object returned by getGraphics2D.

Correct. It sucks very badly. Even the J3D team do not recommend that
you do this. If you want to do pure 2D then the recommend you create
your own image, draw to that, and then use the Graphics  drawImage()
call to blit the pixels to screen. An alternative method is to use one
of the overlay libraries around that put 3D into your world but keep it
screen aligned so that it looks the same.

--
Justin Couch                         http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler              http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                               - Greg Bear, Slant
-------------------------------------------------------------------

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