PDA

View Full Version : how to begin ?



08-08-2002, 07:18 AM
i am used to programming in the turboc3 compiler just heard about opengl don't know nothing bout windows programming
how and where should i begin please help !

Deiussum
08-08-2002, 07:45 AM
You'll need to begin by getting a new compiler. Turbo C++ doesn't do Win32 apps, which you need in order to write OpenGL apps for Windows.

(Note: There is an exception with Mesa, which works with DOS programming, but even that won't work with TC++ so far as I know.)

There are some free compilers available you can use. Borland offers their command-line compiler tools for free, and there are GNU ports such as Dev-C++ and Cygwin.

nexusone
08-08-2002, 07:50 AM
Well, here is a good spot.
This web site has the documentation on the openGL api, links to other sites with tutors on it.

If you don't want to have to learn to use windows API, then you may want to look at the GLUT library and its examples. GLUT let's you: open windows, mouse control, keyboard, without having to learn the windows API.

nehe.gamedev.net is a good source for tutors on openGL.
http://www.xmission.com/~nate/index.html Nate Robins web site has the windows GLUT, and good tutor examples.
http://romka.demonews.com/ has some good GLUT examples

If you start to get into programming with openGL the openGL blue book is a good one to have handy... also can see it on-line.

If you need a compiler, lcc-win32 is a nice free C/C++ compiler, just do a search on the name to get the site... I use it myself.



Originally posted by hardeep:
i am used to programming in the turboc3 compiler just heard about opengl don't know nothing bout windows programming
how and where should i begin please help !



[This message has been edited by nexusone (edited 08-08-2002).]