Thread: OpenGL only supports BMP?

  1. #1

    Question OpenGL only supports BMP?

    I'm pretty new at programming and just got into OpenGL, but from what I understand if you want other graphic formats you will need other libraries.
    Is this true?
    If so, my real question is why? Sounds odd.

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    technically OpenGL natively supports NO "File" formats of any kind, helper libraries such as Glaux offer BMP support.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    Uhm, I see, thanks

  4. #4
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Actually just using opengl by itself, you could write code to load any kind of image file.

    http://nehe.gamedev.net

    has a few tutorials on image loading

  5. #5
    Registered User linuxdude's Avatar
    Join Date
    Mar 2003
    Location
    Louisiana
    Posts
    926
    or wotsit

  6. #6
    I'll get there someday

  7. #7
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Quote Originally Posted by Vicious
    Actually just using opengl by itself, you could write code to load any kind of image file.

    http://nehe.gamedev.net

    has a few tutorials on image loading

    actually OpenGL has nothing to do with file loading in those situations.. its all just regular file IO.

  8. #8
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Yes but the tutorials show how to load the file and use it with OpenGL.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  2. BMP Loading Questions, More OpenGL!!! :D
    By Shamino in forum Game Programming
    Replies: 13
    Last Post: 05-08-2005, 02:31 PM
  3. OpenGL, loading BMP Textures?
    By Zeusbwr in forum Game Programming
    Replies: 12
    Last Post: 12-09-2004, 05:16 PM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM