tags:

views:

136

answers:

2

I am starting to study OpenGL.

But I cannot get started. I started with the superbible, but I could not even successfully compile even 1 program correctly. The examples I just copy paste and still they won't work. They just include things without saying what they are. and they say they will be covered later so how can I even test it?

The red book is too short. What are some tips to get past the beginning stage?

+4  A: 

If I were you, I would start with the basics, ie I would try to obtain a working knowledge of a programming language (it seems you've started working with c++, but other languages are probably good choices also, including c#)

By working knowledge, I mean that you should :

  • learn to read compilers errors so that you're not stuck when a program doesn't compile
  • start with some pets projects not involving complex third party libraries (such as openGL)

Using a library is often not trivial (it certainly isn't with openGL), and 3d programming brings a lot of new challenges on the table (3d maths, for one, which you don't seem to master yet, based on other questions you asked)

ps : no offense meant. We all have to start somewhere, and it's quite common to directly aim at the top of the mountain (typically, game programming) !

Brann
+1 I have read OpenGL and Direct3D described as "500 ways of coding a black screen". I'd certainly agree with that. It's not something I'd expect a beginner to jump right into.
ZoogieZork
A: 

I am using devC++ for openGL learning. You have to install openGL glut packages from update section. then along with the package, u will get template. So start a project with that template and replace the codes in main.cpp with ur code. It works! see...

guru