Thread: I need a good openGL project

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    221

    I need a good openGL project

    Sorry if i'm posting this in the wrong forum, but I am in need of an idea for an opengl (using c++ and glut, goal of this project is to be totally OS independant and do something with opengl)
    I am not a creative person so i cannot come up with an idea. what are some good ideas one might want to try for this project.

    disclaimer: i am NOT asking for the project itself. i am just asking for ideas. i cant come up with any and the proposal is due next week

    keep in mind this is the first anything im doing with graphics but have had a lot of experiance programming, esp in c/c++

    thanks

  2. #2
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Hmm. If it's going to be 2D.... (in order of difficulty):
    -Pong
    -Tetris
    -2D shooter
    -Something like Mario
    -A strategy game
    Just Google It. √

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

  3. #3
    Registered User linuxdude's Avatar
    Join Date
    Mar 2003
    Location
    Louisiana
    Posts
    926
    create a triangular prism that has multi-colors ex: glShadeModel(GL_SMOOTH) and a cube(multi-colored) that rotate along their own axies(sp?) use glPushMatrix() and glPopMatrix() this would be better in the game programming forum though

  4. #4
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    I would actually say 3d pong.

    I made one not to long ago. It is very easy.

    Thin of it as you monitor surface being your side and the Ai's side is deep inside your monitor.

    Very fun.
    What is C++?

  5. #5
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    >>you monitor surface being your side
    That's an interesting approach. I guess you could make the computer's model look like a happy face

    **Note: I can't say how hard 3D is since I've never done it before, but it would seem to me that for your 'first' graphics program ever, 2D would probably be easier to accomplish.
    Just Google It. √

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

  6. #6
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Quote Originally Posted by Hunter2
    **Note: I can't say how hard 3D is since I've never done it before, but it would seem to me that for your 'first' graphics program ever, 2D would probably be easier to accomplish.
    To me the only difference with something like this was the extray coordinate variable.

    Now stuff like First Person Shooters... You have stuff like vectors and trigonometry to figure out what pirsction your pointing and stuff. That is where 3d starts getting alot diffeent than 2d.
    What is C++?

  7. #7
    Registered User
    Join Date
    Dec 2002
    Posts
    221
    it has to be in 3d. i might try out that 3d pong idea. instead of having it play against a computer, i'll just have it playing against yourself (ie just keep hitting the ball)

  8. #8
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    >>(ie just keep hitting the ball)
    That's a good idea. And to make it more interesting, you can add random 'winds' that blow it horribly off course
    Just Google It. √

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

  9. #9
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Just imagine the "field" as a box... and then ofcourse make the box.

    Its really easy as no textures are really needed.

    [note]
    Making your paddles as squares will be MUCH easier than circles as far as collision detection. Also you will want to use the mouse probably, its more fun that way.
    What is C++?

  10. #10
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    >>Making your paddles as squares will be MUCH easier than circles as far as collision detection.
    Is it really? Squares need several tests, while a circle you just check if it's on (a) the same plane, and (b) within a certain distance.
    Just Google It. √

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

  11. #11
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Quote Originally Posted by Hunter2
    Is it really? Squares need several tests, while a circle you just check if it's on (a) the same plane, and (b) within a certain distance.
    Er, yeah I meant circles easier...

    Actually I didnt even think about that... jeez.
    What is C++?

  12. #12
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    My only OpenGL project was to codify an algorithm to solve Rubicks cube. Not very original, but very educational.

  13. #13
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Quote Originally Posted by Vicious
    Er, yeah I meant circles easier...

    Actually I didnt even think about that... jeez.
    *takes another swig of beer and burps*

    Just Google It. √

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

  14. #14
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Quote Originally Posted by elad
    My only OpenGL project was to codify an algorithm to solve Rubicks cube. Not very original, but very educational.
    My first one was a viewer for models that were stored in XML. It's still on the boards under the game section under a topic about problems with lights. You'll have to search to get it though as it was posted back in June.

    If you write your pong game with classes that aren't dependant on each other you can use the paddle and ball later for a breakout game in 3d.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Graphics Programming :: Approach and Books
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2004, 08:33 PM
  2. New OpenGL project (tCUBED)
    By Jeremy G in forum Game Programming
    Replies: 1
    Last Post: 12-10-2003, 05:42 PM
  3. Good OpenGL tutorial
    By Yoshi in forum C++ Programming
    Replies: 3
    Last Post: 11-12-2002, 07:20 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