8 Step Guide to surpass OpenGL NEWB!

Started by
13 comments, last by Elfs1der 20 years, 6 months ago
Well I was sitting here reading a few posts and thought that I should help out the general public with the basic questions that will get people started in a theroretical way. I dunno maybe a mod should make this a sticky or something.... **** 1. Many beginners want to start off very quickly, I know this because I was one of those people. However this is not good, with my motto I always think if I jump too far I will fall back; and if you get what I mean then thats good but if you don't what I'm trying to say is not to start off with OpenGL unless you FIRMLY know C++ very well. **** 2. Start of with a really good C++, theres really no point starting off with C now because it's basically the exact same thing just less advanced. A great book to start off with is C++ Primer Plus 4th edition. I have this book and its a little over a 1000 pages but its amazing book I highly recommend this. **** 3. Most computer people like to think that they know everything, my advice to you is don't get full of yourself because if you start skipping pages when reading books I can almost promise you that it will catch up with you. Just take the few more minutes that it takes to read the pages and go on. Even with me which I am I guess Intermediate level at C++ and beginner at OpenGL, when I read C++ Primer Plus(still do because I'm a dumbass and jumped ahead) I learned a lot on the way. **** 4. A good idea for reading any programming book is when you are done reading a chapter is to take what you learned in that chapter and summarize it(some books already do this) and then sort of make your own homework questions I guess you could say and then try then out. Best way I find to learn and most programmers is to manipulate what you just learned in the chapter and do some practical work before you go on, because things start to pile up very quickly. **** 5. Good thing to do once you know C++ classes pretty well is to start thinking about game structure and design just to get your imagination a boost. Just take a peice of paper and start drawing flow charts or something, anything that can help you understand game structure better. **** 6. If you are going to school or working a lot, or busy in general TRY not to procrastinate a lot. I speak from experience because if you read a chapter and don't read the next chapter for like 2 weeks after your retention level goes down quickly(for most people). This will just result in massive frustration down the road. **** 7. When coding this applys to advanced people aswell, try not to code for a long amount of time without testing your code and compiling it. Theres nothing like getting your hopes up when you just finished coding for 30 minutes straight and then you compile it and it doesn't work. I hate that. **** 8. If you goto school, lets say high-school, don't let your programming interupt your school work because even if you know lots of C++ when you get out of school that won't matter when you don't have the marks to support it. **** Well theres my 8 step guide to surpassing an OpenGL Newb. This some of this stuff doesn't apply to all people, but for most people my age(around 17) it does. Anyways hope I helped out some people, Enjoy! [edited by - Elfs1der on October 7, 2003 10:10:57 PM]
Advertisement
I have to disagree with one of your statements
quote:Start of with a really good C++, theres really no point starting off with C now because it's basically the exact same thing just less advanced

What you mean is C is a subset of C++. This is true, however, there are plenty of people using it and using it very well. Don't try to force your personal preference on others. Since OpenGL is designed to be used in a procedural manner, there is no advantage to using C++ over C.

But other than that, good advice.

I have a more consise 3 step guide to surpassing the OpenGL newbie stage:

1) If you don't understand C, C++ or how to use your compiler, learn how before you try to use OpenGL. If you don't, you should be posting in For Beginners.

2) RTF(OpenGL)M. At least get a basic understanding of the subject before posting here. This will prevent you from asking questions which are covered better by the manual. The OpenGL pages on MSDN are very good.

3) Use this forum to ask relevant questions.

Note that these steps are to be taken IN ORDER.

[edited by - benjamin bunny on October 8, 2003 8:51:24 AM]

____________________________________________________________www.elf-stone.com | Automated GL Extension Loading: GLee 5.00 for Win32 and Linux

I use Delphi/Kylix to program in Opengl very happily, as do much of the opengl programming community. Delphi is based on pascal which is designed as a structural, procedural language and OpenGL fits incredibly neatly into its framework.

It''s also worth remembering that opengl is a GRAPHICS library and not a GAMES library. C++ is the standard these days for game coding, but it is not a completely homonogous standard in all fields. Many applications are written in Delphi and indeed many other langauges, depending upon the requirements and purposes of the application being coded. Opengl should be treated as a seperate learning process. I originally learned Opengl on c++ and found no problems (actually less) with using it with Delphi.
quote:Original post by benjamin bunny
What you mean is C is a subset of C++. This is true, however, there are plenty of people using it and using it very well. Don''t try to force your personal preference on others. Since OpenGL is designed to be used in a procedural manner, there is no advantage to using C++ over C.


Let me rephrase, I wasn''t trying to force anything, I was just saying that if you are pure beginner then really you might as well learn c++ rather than c.
quote:Original post by Elfs1der
Let me rephrase, I wasn''t trying to force anything, I was just saying that if you are pure beginner then really you might as well learn c++ rather than c.

No, if you are a pure beginner then either one will do. Both C and C++ contain the fundamentals of procedural programming, which is a good place for a beginner to begin. Eventually you''ll have to learn both (including the C-only parts of C which you usually do not learn in any depth when learning C++), so you may as well start with either.

How appropriate. You fight like a cow.
I agree that C is adequate for just programming small graphics demos at first. C++, however, becomes quite handy when one starts designing an engine.
-Ostsol
I know this is going to sound unfair, but i really dont think this thread belongs here. Sure, its a great thread full of a lot of useful advice, but, i mean, you''re concentrating on empasising learning the language, which effectively is one step. Theres not really any newcomer friendly opengl advice in here...

Sorry to sound so picky..
*st0ned*
Many (maybe most) console games are coded in C.
quote:Original post by jonbell
Many (maybe most) console games are coded in C.


Thats because you dont really need an easy to maintain and reusable engine structure. Theres hardly any relicencing and patching going on in console games nowadays. Plus, c ''feels'' closer to the hardware haha
*st0ned*
Well if you learn c++ you basically know C, so i dont see what the problem is because if u know C++ you could still make same games in it. And another thing is if you are pure beginner you wouldn''t start out with c++ anyways maybe VB or turing, thats what I started on.

This topic is closed to new replies.

Advertisement