Thread: BMP Loading Questions, More OpenGL!!! :D

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    968
    Another Question, also if I have 100 different textures, is there any way to organize them into a specific file, and load them all at once?

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    You'd either have to make your own file format and loader or find some API to do that for you.

  3. #3
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    968
    Oh I see, like alot of games have a .pak file

    For instance

    textures.pak
    sound.pak
    map.pak

    I see.. I'll have to learn that one on my own i guess

  4. #4
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    I believe a lot of them are just implementations of zip compression with a different filename. I know the warcraft 3 files you can open in winrar after renaming them.

  5. #5
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    You could check out ZLIB.

    http://www.gzip.org/zlib/
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGl questions
    By Shadowwoelf in forum Windows Programming
    Replies: 4
    Last Post: 06-20-2007, 05:35 PM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  3. Loading an image into memory using OpenGL
    By Kaelin in forum C++ Programming
    Replies: 3
    Last Post: 02-08-2005, 12:03 PM
  4. OpenGL, loading BMP Textures?
    By Zeusbwr in forum Game Programming
    Replies: 12
    Last Post: 12-09-2004, 05:16 PM
  5. MISC questions about OpenGL
    By Silvercord in forum Game Programming
    Replies: 12
    Last Post: 01-25-2003, 04:20 PM