http://www.dynamicdrive.com/dynamicindex4/plane.htm

In this website there is a code from the same author of Starfield 3D, but it was modified to FF. Did you guys can get some idea from there?
...