A sample program of 3d texture lookup