Hello all,
this patch is also outstanding [1].
the attached changeset adds the new plotting function surfl. To work
properly it requires the previous changeset about surface normals to be
applied as well.
The function surfl plots lighted surfaces. For best visual experience
colormaps like pink, copper, bone, or gray should be used.
For example:
colormap(bone);
surfl(peaks);
shading interp;
I have used the time since then, to revise the patch. The new patch also
includes the functions specular and diffuse, which perform the light
calculation now. All three are matlab core functions.
Kai
[1] http://www.nabble.com/New-plotting-function-surfl-td20407867.html