For drawing surfaces of revolution (in the light)
| If the surface has holes (a torus for example), the result is not always acceptable. I think that a global soluiton is out of reach in TikZ; but I intend to give at least a local solution i.e. one that works for a fiven point of view. |
surfacesOfRevolution.sty :
(main file)
sets up the observer and light source, discretises the
surface into a grid, computes visibility and shading,
and provides the drawing commands