Results 1 to 2 of 2

Thread: [RESOLVED] Can .jpg files be used for texture mapping in OpenGL?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2006
    Posts
    108

    Resolved [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.

  2. #2
    Addicted Member bobabot1's Avatar
    Join Date
    Jul 2006
    Location
    The Restaurant at the End of the Universe
    Posts
    162

    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.
    Quote 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
  •  



Click Here to Expand Forum to Full Width