I have seen a few DEM/hillshades in published journal articles that use a phong lighting scheme which gives surfaces a metallic luster. Does anyone know how/if this can be achieved in arcmap?
|
Yes, it can. Phong shading is a sum of ambient, diffuse, and (specularly) reflected light.
ArcGIS computes hillshades and allows semi-transparent overlays, which is tantamount to forming a positive linear combination of images. Thus the only novelty is to compute the reflection map (3). Spatial Analyst (part of ArcGIS) computes aspect grids (again in degrees east of north) and slope grids (in degrees). The specular reflection therefore can be computed from these grids using raster calculations ("map algebra") according to the Phong shading formula. The formula requires the component of the reflected light reaching the observer to be raised to a positive power alpha (which determines the "shininess"; the larger it is, the more point-like the reflections become). To find this component we do a small amount of 3D analytic geometry and conversion between spherical and Cartesian coordinates:
By raising this last grid to the alpha power you will have computed the specular component of the reflection (up to a multiple determined by the sun's intensity). That multiple can be set in terms of the transparency parameter in the grid's display. To show the Phong shaded map you will display the three grids--a good order is hillshade, DEM, reflection--with appropriate transparency settings to balance the diffuse, ambient, and specular portions, respectively. The terminology here--R, N, V, and alpha--is the same as that used in the Wikipedia article. |
|||||||||
|