I believe i've ran for help to this forum once before, i was quite desperate about some desktop-hijack thingy that was doing what it does
Well, now i'm becoming quite desperate again and i believe i could find salvation here.
I've got about, a problems and a question. I'll start out with the problem.
I've started downloading OpenGL ( I have Microsoft Visual C++ 2005 ( enterprise ) installed so should already have the glu32.dll and the opengl32.dll, and i do have those, confirmed it by searching for em , yay ! ) So then i started downloading the glut API ( i believe it is an api right ? ). Now he problem is that these api's have an
#include <windows.h>
And, thats my problem... I don't seem to have any windows headers... Or i'm just to stupid to be able to find them which i do believe might be a possibility. Now they are suposed to come automatically with Microsoft Visual C++ right ? Or doesn't that count for the Enterprise version. Because i'd really need them to be able to use any bit of OpenGL at all.
Then, the question .
Would anybody of you perhaps now a good book that starts out with basic OpenGL and provides quite a bit of information about Graphics Algorithms like Shading, RayTracing and those kind of algorithms.
Actually the only thing i really want to use form OpenGL ( if that's possible ) would be to draw lines and and color pixels in a Window. Because i basically want to implement the algorithms myself. Got to Backface culling, HiddenLine Removal, Depth Buffering programmed in Oberon. That's a language that you can't find anything about We learned that at college and now we got an introduction to c++, so my plan this summer is to put my 3D Engine (... noobish engine, but , heck with it ) in c++ using OpenGL, or any other program that would give me the opportunity to open a window in which i can render and stuff.
So, if anybody would be able to help me out here ? So far i've found two books that sound promising.
-Computer Graphics With OpenGL ( 3/E ) - Donald Hearn & M. Pauline Baker
-Computer Graphics: A mathematical introduction with OpenGL - Samuel R. Buss ( which i already found in e-book version )
I have a book "Computer Graphics using OpenGL" - F.S. Hill, Jr. ( international edition )
But this one seems to date from 2001... Still living in the times of windows 95 and 98. Now, i wouldn't mind this so much if not all the information about OpenGL, or more so, about obtaining and installing it is very limited and most often outdated and wrong.
I've looked at e.g. www.opengl.org but that site is a terrible mess, not clear at all, so much texts and not a single handy direction.
So my biggest problem after all seems to be in actually getting the right OpenGL files at the right locations with the right libraries installed at the right locations, and then getting the whole to compile. Because ( i also never used Microsoft Visual C++ before ) i also don't know how to 'add extra libraries to projects????' with Visual C++. Well, quite new to C++ too, but that shouldn't be a problem.
Well if anybody could shed some light on this for me i'd be absolutely totally gratefull, i'd even be inclined to yell a sincere
"ME LOVE YOU LONG TIME !!". That must count for something
Thanks a million in advance,
-Tom