I just cann't understand what have i to do.
I know c++ and i want to do some realtime animations
Can someone explain me what do i need to begin? (Mesa?
OpenGL? GLUT? )
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
From: Stephen J Baker <sjbaker@li...> - 2001-01-25 15:46:17
On Thu, 25 Jan 2001, [iso-8859-1] Flav Vara wrote:
> I just cann't understand what have i to do.
> I know c++ and i want to do some realtime animations
> using LINUX.
> Can someone explain me what do i need to begin? (Mesa?
> OpenGL? GLUT? )
You *need* some kind of OpenGL API, the GL-Utilities library,
and X-windows. Since you are just starting, you'll certainly
want to use GLUT to hide all the nasty X-windows issues until
you are ready to climb *that* learning curve.
Now, for an OpenGL API, what you need depends on what (if
any) 3D graphics card you have.
Essentially, if you have an nVidia card, you should probably
head over to http://www.nvidia.com and grab a copy of their OpenGL
for Linux. If you have any other 3D card then you'll need
Mesa from http://www.mesa3d.org.
The Mesa site is also a good place to get the GL-utilities
library (libGLU.so) and GLUT (libglut.a or .so). There is
an alternative (OpenSource) version of GLUT called 'freeglut'
that you can get from http://freeglut.sourceforge.net.
If you have a reasonably recent Linux distro, you'll find
that Mesa, GLU and GLUT are already installed...although
Mesa probably won't be set up for your 3D card - so it'll
run in software only (S-L-O-W!). Some Linux distro's
install those libraries in /usr/X11/lib - but that's
**WRONG**, they should be in /usr/lib - if that happens
to you, use symbolic links to make it *look* like they are
If you have to replace/upgrade Mesa, please try hard to be
sure that you don't leave the old version lying around
somewhere (like in /usr/X11/lib) because some programs
that do a search for a valid OpenGL/Mesa library will
inevitably find the wrong one and end up running with
the wrong driver.
Steve Baker (817)619-2657 (Vox/Vox-Mail)
L3Com/Link Simulation & Training (817)619-2466 (Fax)
Work: sjbaker@... http://www.link.com
Home: sjbaker1@... http://web2.airmail.net/sjbaker1
Get latest updates about Open Source Projects, Conferences and News.