piNGL

piNGL is a port of the main NCCA graphics Library ngl it is a completly separate branch of the code designed to work with OpenGL ES2.0 and the raspberry pi

Eventually I will release on google code but for now here is an alpha download of the source piNGL.tgz and a simple demo program ObjDemo.

To install you need to do the following

sudo apt-get install libboost-dev
sudo apt-get install libmagick++-dev

The source code must be in the root of your home directory, so download the code and do the following

tar vfxz piNGL.tgz
cd piNGL
make

Once this has been done you should see libNGL.so in the directory lib/

Next add the following line to the file ~/.bashrc (it can go anywhere in the file just use a text editor, this is to tell the runtime system where to find the lib)

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/jmacey/piNGL/lib

Finally type source ~/.bashrc to update the paths (this only needs to be done once as the file will be read next time a shell is opened).

To test unzip the demo program (this can go anywhere on the file system)

cd ObjDemo
make
./SimpleNGL
[an error occurred while processing this directive]