PDA

View Full Version : OpenGL for newbies?


Ride Jib
May 29th, 2005, 09:42 PM
Hey all,

I have recently taken an interest in learning how to work with openGL in C++ applications. I've been looking at the source for mythtv and it's just confusing the hell out of me.

Does anyone know of a good site (or a book?) that has a good beginners guide to writing code for OpenGL? (Looking more to do GUI's than game programming or anything like that)

Thanks,
Brad

Quest-Master
May 30th, 2005, 11:46 AM
I'd advise trying Python and PyOpenGL. There are a good amount of docs for both too, just Google.

Ride Jib
May 30th, 2005, 11:55 AM
What is the advantage of Python over C++? I already know C/C++ fairly well and would prefer not to learn another language.

apoth
May 31st, 2005, 08:19 AM
I'd stick with C++ if you're comfortable with it. Start perhaps by looking at the red book (http://rush3d.com/reference/opengl-redbook-1.1/). Also nehe (http://nehe.gamedev.net) has some good tutorials.

Once you're up to speed on the basics take a look at using GLUT (GL Utility Toolkit). It's a cross platform library which makes things that bit easier. I suspect Ubuntu may have it in their package management stuff (sorry, I'm yet to use Ubuntu - isn't it based on Debian, apt?)

Hope that helps.

hamiltjr
May 31st, 2005, 10:36 AM
I found the following site to be rather useful. It has quite a few in depth tutorials and it also provides the source code for them at the bottom in every tutorial (for damn near every language and every OS).

http://nehe.gamedev.net/

Hope its helpful.

..and I just noticed that this site was posted previously. Sorry about that.

Ride Jib
May 31st, 2005, 11:57 AM
Great! Thanks for the links guys! I guess my Google skills need some work, as I couldn't find anything helpful.

globe_trotter
June 3rd, 2005, 03:55 AM
Try this :)
Byez

http://www.opengl.org/documentation/red_book_1.0/