[newbie alert] 2D drawing on top of canvas

Any way to draw on top of the canvas? Does have to be the “proper” way of doing as long as it works, I only need it for frmae counting. I tried just doing drawString() to the GLCanvas.getGraphics() but the text isn’t visible most of the time and when it does it only shows a fraction of a second.

In my experience, you’re gonna wanna stay over on the video hardware side of things. Mixing in AWT is problematic, and using GL calls like glDrawPixels() or glBitmap() can be painfully slow.

You might want to give this code snippet that Java Cool Dude posted a try:

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1060061548

Works like a charm, thanks :slight_smile: