OpenGL only supports BMP?

This is a discussion on OpenGL only supports BMP? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I'm pretty new at programming and just got into OpenGL, but from what I understand if you want other graphic ...

  1. #1
    Loom Weaver the dead tree's Avatar
    Join Date
    Apr 2004
    Posts
    140

    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,267
    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
    Loom Weaver the dead tree's Avatar
    Join Date
    Apr 2004
    Posts
    140
    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
    Loom Weaver the dead tree's Avatar
    Join Date
    Apr 2004
    Posts
    140
    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, 04:16 PM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 06:57 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 09:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21