finished 4 of 5 parts for volume rendering