Thread: OpenGL levels

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    183

    OpenGL levels

    Hello people.

    I was reading these OpenGL tutorials , and it was goin' on about textures for your levels , an stuff , but it didn't say how to actually make the levels. ( For a 3D first person shooter if it matters. )

    If someone could please tell me where to start , that will really give me a headstart.

    Sorry if this was a stupid question.
    Thanks again.
    Last edited by Necrofear; 03-07-2005 at 03:07 PM.

  2. #2
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    I'm not an OpenGL kind of person, but I really doubt there is a prebuilt method of saving levels. You will need to make your own. I've made some clever level saving things in a .txt before, but you will probably end up making your own extension.

    EDIT
    I'll try and give a more useful answer. To save a level you're going to need to find all the information which is going to be vital to recovering the level identically, and output that to a file. You could seperate each block of data with a special code or character, in addition having a header which tells some information about the stored data is also useful.
    Last edited by MadCow257; 03-07-2005 at 03:14 PM.

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    http://nehe.gamedev.net/lesson.asp?index=02 <-- Have a look at lesson 10

    also, http://nehe.gamedev.net/ is a great place to learn many basic and advanced OpenGL techniques.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  3. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM