[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenGL programming for GNU/Linux



On Sun, Jul 22, 2007 at 09:39:20AM -0400, Lic. Orestes leal wrote:
> 
> Hi, my respects to all members.
> 
> I'm searching for a book about OpenGL programming
> that i'ts focused only in linux, can anyone comment me
> or get me any address to find out this info on the net?

OpenGL is intended to be platform independent. There is no reason to be
learning anything specific to Linux to start programming in OpenGL. I've
done OpenGL programming in C/C++ on Linux, Solaris, and IRIX, and in Ruby
on MacOS X. I haven't done anything on Windows, but there is no difference
in API.

The only platform-specific parts are 1) getting a GL surface on the screen,
and 2) installing the libraries/headers. For (1) you just use GLUT or Qt
(or another cross-platform windowing API with OpenGL support), and for (2)
you just apt-get install freeglut3-dev glut-doc (you're on Debian,
otherwise you wouldn't be posting to this list, right?).

Go to http://opengl.org/documentation/books/ to take a look at the
available and recommended books (I learned from the Blue and Red Books,
go to
http://opengl.org/documentation/books/#opengl_reference_manual_the_official_reference_document_to_opengl_version_1
for the official Reference Manual and Programming Guide). There is also
quite a bit of information online at opengl.org.

Incidentally, I found using Ruby (with the ruby-opengl gem) very convenient
and, unsurprisingly, more pleasant than C/C++. Take a look at
http://www.ruby-forum.com/topic/114196#267676 for a silly and flashy OpenGL
thing wrote in Ruby.

> Thanks,
> Cheers,
> Orestes
--Greg



Reply to: