[WIP] 3D Textures

Implementation of 3D textures using PyOpenGL.
I added the texture interpolation setting in a PR right after the check
conversion function was added (I originally used it for setting something
else). It might be easiest if I just remove gl after this is merged in a
subsequent PR.