How to run OpenGL ES 2 H/W Accelerated C++ programs

A. Setup:
---------

1. Enable HW GL driver

$sudo raspi-config
  > Select Advanced-Settings>GL Driver>Full KMS GL Driver
  > Partition 128Mb (Pi3) / 64Mb (PiZero) for GPU
  > Restart


2. Install latest SDL2 2.0.8

See 
	https://choccyhobnob.com/raspberry-pi/sdl2-2-0-8-on-raspberry-pi/

and follow instructions


B. Unzip archive
----------------

1. Unzip into a folder like 3Ddemo
2. Change the 'ShipDemo' Properties->Permissions so that 'Execute' can ne 'Anyone'


C. To run a scene
-----------------

1) Open Terminal and navigate to ShipDemo executable
2) Enter following commands to run demos ...

	$ ./ShipDemo -scene -CargoBay.scene
	$ ./ShipDemo -scene -Bridge.scene
    $ ./ShipDemo -scene -KendalCastle.scene
	
Each of the scene files have settings you ccan play with - have fun!

