Thread: Beginning OpenGL

  1. #1
    Resu Deretsiger Nightowl's Avatar
    Join Date
    Nov 2008
    Location
    /dev/null
    Posts
    186

    Beginning OpenGL

    I think I'm going to give learning OpenGL a shot.

    I've read the first fifteen-or-so NeHe tutorials, compiled them, understood them, modified them, combined them . . . basically everything there *is* to do with the first fifteen-or-so NeHe tutorials.

    Problem is, all the ideas that I have that I want to try are way too complex.

    So, can anyone give me an idea that is . . .

    • Fairly simple (I'm not afraid of thousands of lines, mind, but this will be my first foray into the wild world of 3D programming . . .)
    • Requires a fairly broad band of OpenGL features (I don't want to keep on making rotating cubes and such . . . but I don't want to use too many features, otherwise I won't be able to complete it . . .)
    • Not graphically complicated (I'll probably be writing it on an XO laptop, which does not have 3D hardware acceleration, but it does work for all the NeHe tutorials.), but it should include loaded models (not hardcoded models if possible, perhaps implementing a model loader would be good practice for me)


    Thanks.
    Do as I say, not as I do . . .

    Experimentation is the essence of programming. Just remember to make a backup first.

    "I'm a firm believer that <SomeGod> gave us two ears and one mouth for a reason - we are supposed to listen, twice as much as we talk." - LEAF

    Questions posted by these guidelines are more likely to be answered.

    Debian GNU/Linux user, with the awesome window manager, the git version control system, and the cmake buildsystem generator.

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I believe this should probably be in game programming.

    Moved.

  3. #3
    Resu Deretsiger Nightowl's Avatar
    Join Date
    Nov 2008
    Location
    /dev/null
    Posts
    186
    . . . I'm asking for ideas, not for help with game programming. It should be in GD.
    Do as I say, not as I do . . .

    Experimentation is the essence of programming. Just remember to make a backup first.

    "I'm a firm believer that <SomeGod> gave us two ears and one mouth for a reason - we are supposed to listen, twice as much as we talk." - LEAF

    Questions posted by these guidelines are more likely to be answered.

    Debian GNU/Linux user, with the awesome window manager, the git version control system, and the cmake buildsystem generator.

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Most of your OpenGL savvy crowd will be on this forum.

  5. #5
    Resu Deretsiger Nightowl's Avatar
    Join Date
    Nov 2008
    Location
    /dev/null
    Posts
    186
    Right. But it's not a problem, it's a request. I'd say that belongs in GD.

    However, you're the expert around here, not me.

    The best thing I've been able to come up with, by the way, is a "brick dodging" game. You play as a spaceship that has to avoid falling bricks and shapes of various sizes . . .
    Do as I say, not as I do . . .

    Experimentation is the essence of programming. Just remember to make a backup first.

    "I'm a firm believer that <SomeGod> gave us two ears and one mouth for a reason - we are supposed to listen, twice as much as we talk." - LEAF

    Questions posted by these guidelines are more likely to be answered.

    Debian GNU/Linux user, with the awesome window manager, the git version control system, and the cmake buildsystem generator.

  6. #6
    Registered User valaris's Avatar
    Join Date
    Jun 2008
    Location
    RING 0
    Posts
    507
    Make some of the classics. Hang man, space invaders, old atari games etc.

  7. #7
    Resu Deretsiger Nightowl's Avatar
    Join Date
    Nov 2008
    Location
    /dev/null
    Posts
    186
    I suppose I could try to recreate some old games in OpenGL . . . but wouldn't that be defeating the point? Writing 2D games in OpenGL?
    Do as I say, not as I do . . .

    Experimentation is the essence of programming. Just remember to make a backup first.

    "I'm a firm believer that <SomeGod> gave us two ears and one mouth for a reason - we are supposed to listen, twice as much as we talk." - LEAF

    Questions posted by these guidelines are more likely to be answered.

    Debian GNU/Linux user, with the awesome window manager, the git version control system, and the cmake buildsystem generator.

  8. #8
    Not stupid, just stupider yaya's Avatar
    Join Date
    May 2007
    Location
    Earthland
    Posts
    204
    2D is one of the fundamental areas of OpenGL. It would help to familiarise yourself with the features on a small project (classic 2D game) first before taking on something more complex (Huge 3D Game).

  9. #9
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    You could also do a 2D game using 3D graphics. That would let you focus more on the graphics and flashy effects, and less on the actual game logic.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  10. #10
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    I'd suggest 2D, until you get the hang of OpenGL and matrices. Then all you have to do is change the projection matrix if you want 3D :-)
    Just be aware that software OpenGL is very slow...

    I'd also suggest you check out the Quake engines, specically Quake 2 and 3. They did a lot for OpenGL and even helped shape the specification in some odd way.
    Last edited by zacs7; 12-02-2008 at 03:52 PM.

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