In opengl for overlays you usually write to the backbuffer after the frame
has been drawn and before you swap buffers. This doesn't use the card,
since the card has already drawn its stuff. Are you saying that by turning
off j3d.g2ddrawpixel that Java3d will build a image plate aligned texture
and lay it on top of the geometry sent to the card?
Dave Yazel
-----Original Message-----
From: Andrea Tartaro [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 16, 2001 8:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Flushing out the delays
ChrisThorne wrote:
>
> Some time ago Garth Shoemaker asked a question about the amount of
> time
> flush() took:
>
> "When drawing graphics2d on the canvas, calling flush() appears
> to add nearly a half second delay."
>
> I did not see an answer - anyone have something to say now?
>
J3DGraphics2D is being optimized for the 1.3 release. You might want to
try setting the system property -Dj3d.g2ddrawpixel=false. (ex. java
-Dj3d.g2ddrawpixel=false MyProgram) This will use texture mapping
instead of glDrawPixel to flush the graphics2D to the screen.
glDrawPixel is not accelerated on some older video cards (windows). For
more information see the README.
andrea
===========================================================================
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".
===========================================================================
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".