I was wanting to calculate the convexity and concavity and curvature of
a subdivision surface
I found this handy page here:
http://studentpages.scad.edu/~mparro21/curvature/curvature.htm
but it didnt work out so well for a subdivision surface
I have tried replacing Dv(p) with Deriv(p,u) etc
but this hasnt made much difference to the outcome.
The idea is to drive the roughness of a shader with the inverse of the
convexness.
not a very novel idea, I know, shiny on the outside, catch dust on the
inside.
But it might just work, someone here at work mentioned it was used on
Wall-E.
This plugin shows the idea:
http://www.lightengine3d.com/downloads/plugins/curvature/testImages/statue1.jpg
Sam