|
-
Jul 28th, 2006, 10:19 AM
#1
Thread Starter
Lively Member
[RESOLVED] Can .jpg files be used for texture mapping in OpenGL?
Hi,
I have read some openGL texture mapping examples from the NeHe openGL website. The texture mapping examples and other code which needs texture mappings all use bitmap files. (.bmp extension)
Can I use .jpg files instead?
I have tried renaming the .jpg files into the .bmp extension but the code taken from NeHe OpenGL gives an error.
-
Jul 28th, 2006, 03:46 PM
#2
Addicted Member
Re: Can .jpg files be used for texture mapping in OpenGL?
Best bet would probably be to get a jpg to bmp converter. Google it.
 Originally Posted by ZaNi
On a side note, I've figured something out: IE is like life... Its a disease we all start with, and it will be fatal someday unless something drastic changes  .
Note: If I was helpful, rate me! This is a subliminal message. GET FIREFOX!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|