Texture buffers and driver compatibility

Updating this script. Added a function to export obj files. Added global, tile, and cylinder cap UV mapping types. Fixed a few bugs and refined cylinder and sphere UV mapping types.