Spherical height field (POV-Ray)

by Oyonale
The source for the image contains the pov file and a png file for the height field. The idea is to create a function using a pigment{image_map{}} statement and then mix it with one describing the basic object (a sphere in this example). The catch is to have in the pigment statement the map_type corresponding to the object. In this example, map_type 1 (spherical mapping) is used.