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. Thank you in advance
:oops:
You should check out the NeHe Tutorials (http://nehe.gamedev.net/) most of them have been ported to LWJGL so it should have everything that you need!
I went there but I seek an example which traces a texture in JPanel.
:?:
Quote... I seek an example which traces a texture in JPanel.
What do you mean?
The NeHe tutorials have examples of putting a texture on a polygon and you just need to put a AWTGLCanvas on your Frame and override the required methods and you're good to go. :lol:
when you know the german language, check my website and my LWJGL Tutorial..
*for myself: Todo: translate it to english....*
Ahhh, the beauty of Google Translate!
It's not perfect, but here it is! (http://www.google.com/translate?u=http%3A%2F%2Fhome.pages.at%2Fevil-devil%2Fevil-devil.com%2Findex.php%3Fmenu%3Dtutorials%26cat%3Djava%26content%3Djava_lwjgl&langpair=de%7Cen&hl=en&ie=UTF8)
Urgs, the google translation is really awfull and did not translate the whole content...
As i prever babelfish...Babelfish Version (http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=de_en&url=http%3A%2F%2Fhome.pages.at%2Fevil-devil%2Fevil-devil.com%2Findex.php%3Fmenu%3Dtutorials%26cat%3Djava%26content%3Djava_lwjgl) its much better than the google version and complete :)