LWJGL Forum

Programming => OpenGL => Topic started by: padam1989 on October 04, 2009, 15:46:18

Title: loading image/texture mapping in lwjgl.....
Post by: padam1989 on October 04, 2009, 15:46:18
Hola everyone.

I have used slick-util to load images and play sounds. Its a really cool lib. Very easy to pick up and implement and is very effective. Here is how i loaded and mapped my images to BOX. I was just going through nehe tutorialshttp://nehe.gamedev.net/lesson.asp?index=02 (http://nehe.gamedev.net/lesson.asp?index=02)and wrote the lwjgl version of that. I am loading a png texture of wooden box.
http://www.gaanza.com/blog/loading-imagetexture-mapping-in-lwjgl/ (http://www.gaanza.com/blog/loading-imagetexture-mapping-in-lwjgl/)

If anything is wrong please do tell/comment !!!

Gracias.
Title: Re: loading image/texture mapping in lwjgl.....
Post by: Evil-Devil on October 05, 2009, 07:47:02
Is there any way to format the code? Plain text line by line without any indented word is hard to read.

From what I've seen so far it looks ok :)
Title: Re: loading image/texture mapping in lwjgl.....
Post by: padam1989 on October 05, 2009, 12:12:04
Quote from: Evil-Devil on October 05, 2009, 07:47:02
Is there any way to format the code? Plain text line by line without any indented word is hard to read.

yeah i have formatted the codes.
Gracias.
Title: Re: loading image/texture mapping in lwjgl.....
Post by: Evil-Devil on October 05, 2009, 12:26:56
Is it my cache or does your blogsystem cache entries?
When i click your above link i still see the whole code as spaghetti code : /
Title: Re: loading image/texture mapping in lwjgl.....
Post by: padam1989 on October 05, 2009, 12:56:34
Quote from: Evil-Devil on October 05, 2009, 12:26:56
Is it my cache or does your blogsystem cache entries?
When i click your above link i still see the whole code as spaghetti code : /

i don't know. I have updated my blog post again. U can check it agian.
Title: Re: loading image/texture mapping in lwjgl.....
Post by: Evil-Devil on October 05, 2009, 14:10:40
Weird. Take a look at the attached screeny. Thats how i see the blog entry :/