LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   OpenGl programming (https://www.linuxquestions.org/questions/linux-newbie-8/opengl-programming-669407/)

ankit_mcgill 09-12-2008 01:38 AM

OpenGl programming
 
Hi all,

I am taking a Computer Graphics course this semester and i need some help to understand a bit about all the tool kits available.

The course uses OpenGL (from what i understand opengl is a toolkit that provides api's to do complex graphics tasks such as texturing, coordinate systems etc etc and has bindings for various languages)

Now i was looking on the net as to which programming language should i code in, what all libraries do i need etc. but i got all confused.

what exactly is GLUT/GLX .. are they needed for OpenGL programming in C under linux ?

any help is appreciated.
ankit

BrianK 09-12-2008 06:34 PM

Glut and GLX are "things" that allow X windows to interact with OpenGL. You don't need them, per se, but they will make writing code much, much easier. Without them, you'd have to write your own windowing system - something you don't want to do in all but the most extreme cases.

As far as the language goes, I would guess the class will dictate that? I always write my GL apps in C++, but a buddy of mine has pretty good luck with python (I think it's called pyGL)?


All times are GMT -5. The time now is 10:06 PM.