logo back up home forward   further reading more topics »

Programming - Platforms

I don't claim to have much experience in writing games on Linux, so I would welcome some help to improve this page.

 


Mesa

If your Linux installation does not have OpenGL support you will need to install Mesa. If you already have OpenGL installed then skip this stage, for example I am using Red Hat 6.2 and I did not need to install Mesa.

If you don't have it already, install Mesa from their website

Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL

Download MesaLib-3.3.tar.gz and optionally MesaDemos-3.3.tar.gz
Unpack with:
gzcat MesaLib-3.3.tar.gz | tar xf -
gzcat MesaDemos-3.3.tar.gz | tar xf -

gunzip MesaLib-3.2.tar.gz ; tar xf MesaLib-3.2.tar
gunzip MesaDemos-3.2.tar.gz ; tar xf MesaLib-3.2.tar
or
tar zxf MesaLib-3.2.tar.gz
tar zxf MesaDemos-3.2.tar.gz

 

Are there any sites which can advise people about


GUI

Most people these days like to use a graphical interface. I find it annoying that Linux users and programmers have to choose between KDE and Gnome. Could anyone give me some unbiased advise about which is best for 3d programers without stating a format war?

Using Java on Linux

If you have not already done so load the latest version of Java for linux from the blackdown website.

Unpack it to suitable directory:

cd /usr/local
gunzip /jdk-1_2_2-rc3-linux-i386_sh.gz
./jdk-1_2_2-rc3-linux-i386_sh

Make sure path is set:

export PATH=/usr/local/jdk1.2.2/bin:$PATH

Download and install Java3D for Linux

bunzip2 java3d1_1_3-fcs-linux-sdk_t.bz2
./java3d1_1_3-fcs-linux-sdk_t

see http://www.blackdown.org/java-linux/jdk1.2-status/README-3D

 

Apologies to Richard Stallman - I have used the word Linux here where I probably mean GNU/Linux. Its just that putting GNU/Linux everywhere seems over pedantic and makes the page more difficult to write and read. While I'm apologizing I'm probably writing 'Open Source' where I mean 'Free software'. Could anyone give me a simple one sentence definition of these terms?

 


metadata block
see also:
Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover I have only seen the Aug 1999 edition, so I'm not sure if my comments also apply to this later edition. It is a large book and it is not really a reference book or a tutorial, its somewhere in-between. It includes Linux programs and concepts like GNU cc, make, autoconf, RCS, Emacs. Systems Programming concepts like I/O routines, files, process control, errors, memory management, pipes, Semephores, Network and socket programming. It also covers lots of languages including C++. There is a chapter on Java and there is also a chapter on OpenGL programming. The book did not cover writing programs for a GUI such as Gnome or KDE. Also there was no information about any of the Graphical IDEs. It assumed everything is done with command line tools.

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to this site, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

 

Can this page be improved?

Please send me any improvements to here. I would appreciate ideas to make the pages more useful including error correction, ideas for new pages, improvements to wording. It helps if you quote the full URL of the page.

 

progam

I am working on a project which uses these principles, if you would like to help me with this you are welcome to join in, here:

for 3D programming: http://sourceforge.net/projects/mjbworld/

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2008 Martin John Baker - All rights reserved - privacy policy.