LWJGL Forum

Programming => OpenGL => Topic started by: pdufranc on November 03, 2005, 06:43:41

Title: Find sample
Post by: pdufranc on November 03, 2005, 06:43:41
Hello I seek a simple example of code which makes it possible to post a texture on a rectangle in LWJGL and over a rectangle with a color and a alpha layer.
The whole in JPanel.

Thank you in advance
:shock:
Title: Find sample
Post by: CaseyB on November 03, 2005, 14:44:28
Tae a look at the code in the LWJGL Sourceforge  (http://cvs.sourceforge.net/viewcvs.py/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/awt/)area!  Other than using an AWTGLCanvas you'd do it pretty much the same as you would in a native window!