LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: pdufranc on November 02, 2005, 14:04:55

Title: simple sample
Post by: pdufranc on November 02, 2005, 14:04:55
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:
Title: Re: simple sample
Post by: CaseyB on November 02, 2005, 14:57:57
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!
Title: simple sample
Post by: pdufranc on November 03, 2005, 06:41:48
I went there but I seek an example which traces a texture in JPanel.
:?:
Title: hmmmmmmm...
Post by: Fool Running on November 03, 2005, 14:17:20
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:
Title: simple sample
Post by: Evil-Devil on November 04, 2005, 20:08:04
when you know the german language, check my website and my LWJGL Tutorial..

*for myself: Todo: translate it to english....*
Title: simple sample
Post by: CaseyB on November 04, 2005, 20:37:01
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)
Title: simple sample
Post by: Evil-Devil on November 04, 2005, 20:53:20
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 :)