usually we use image to texture map to surface? recently I heard there is 3d texture or even 4d texture, I am wondering why there is 3d-4d texture? How to map them to the surface.
Since surface is 2d concept, how to map 3d or 4d object to 2d? Any reason behind?
Is there any 3d texture images available to try?
You are correct that in the end, a 2D image is mapped onto a surface. However, 3D textures allow interpolation between 3-dimensional texture coordinates inside that 3D texture.
This may be helpful:
http://content.gpwiki.org/index.php/OpenGL:Tutorials:3D_Textures