OpenGL question

This is a discussion on OpenGL question within the C++ Programming forums, part of the General Programming Boards category; I'm starting the NeHe tutorials for opengl. Do I really need to memorize all that stuff you have to initialize ...

  1. #1
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    OpenGL question

    I'm starting the NeHe tutorials for opengl. Do I really need to memorize all that stuff you have to initialize etc. in the beginning just when making a window? Just THINKING about memorizing all of that stuff makes my head hurt.

    Oh and also, I know this is the STUPIDEST question EVER because I could easily find out myself but because of HUMAN STUPIDITY and LAZINESS I am asking it now, but when I call all of the OpenGL functions, are they case sensitive?

    thanks

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571

    Re: OpenGL question

    Originally posted by Leeman_s
    I'm starting the NeHe tutorials for opengl. Do I really need to memorize all that stuff you have to initialize etc. in the beginning just when making a window? Just THINKING about memorizing all of that stuff makes my head hurt.

    Oh and also, I know this is the STUPIDEST question EVER because I could easily find out myself but because of HUMAN STUPIDITY and LAZINESS I am asking it now, but when I call all of the OpenGL functions, are they case sensitive?

    thanks
    You don't need to memorize the individual parameters. You really don't have to remember the function names but it will help you later. Just remember the concepts and that will help you a lot. You will become more and more familiar with them through practice.

    They are case sensitive.

  3. #3
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    Just a suggestion, if you are trying to learn GL from NeHe's tutorials before you know Win32 then you arent going to get anywhere very fast. It is a good idea to have an understanding of Win32 before trying GL in it. Id suggest if you really are determined to use GL now to use it with Glut instead of trying to learn GL and Win32 together.
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  4. #4
    Seeking motivation... endo's Avatar
    Join Date
    May 2002
    Posts
    537
    Glut is great, very simple to get OGL programs up and running quickly. I think Nehe has glut code available for download...
    Couldn't think of anything interesting, cool or funny - sorry.

  5. #5
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    Is it really necessary to learn the Win32 API before OpenGL? I've got a visual c++ book (very good one) by ivor horton and there is a Win32 section in there. I read like half way through it awhile ago.....

    OpenGL seems pretty easy right now, lol im only on the first tutorial though.

  6. #6
    Seeking motivation... endo's Avatar
    Join Date
    May 2002
    Posts
    537
    Nope, in fact its totally unnecessary! OpenGL is platform-independent so can be adapted to all operating systems which support it. Glut is the way to go if you're just starting in my opinion.
    Couldn't think of anything interesting, cool or funny - sorry.

  7. #7
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    Well if your trying to use NeHe's tutorials then you need to know your Win32 or you wont understand the ways things work w/ GL under windows.
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  8. #8
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    Heh, I decided to learn some Win32 anyways. I'm going on sunlight's tutorials. I guess its sort of good because:

    a) After going through part of the NeHe tutorials, some of the things used in it were explained in the Win32 tutorial.

    b) I now know what resources are lol.

    I'm not really interested in doing a lot with Win32 except knowing about it to give me some base knowledge to help me with other APIs. Now, here is my next question:

    QUESTION: Should I go for Allegro, OpenGL, or DirectX? (or stay ith Win32 for awhile)

  9. #9
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    do a search on the game programming forum...

    each has their advantages and disadvantages, what you use depends on what suits your needs.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL Question
    By Halo3Master in forum Game Programming
    Replies: 16
    Last Post: 10-02-2007, 03:40 AM
  2. Opengl question
    By Shadowwoelf in forum Windows Programming
    Replies: 3
    Last Post: 06-03-2007, 02:21 PM
  3. OpenGL Camera Question
    By Astra in forum Game Programming
    Replies: 2
    Last Post: 03-25-2007, 02:53 PM
  4. OpenGL Question
    By Shamino in forum C++ Programming
    Replies: 5
    Last Post: 05-05-2005, 03:35 PM
  5. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 11:14 PM

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