Can someone please let me know how I would go about finding a normal vector at any point on a sphere/ellipsoid?
If the (any) surface is defined implicitly by an equation of the form:Originally Posted by scorpion007
then the gradient of :
defines the direction of the normal. In general there will be ambigity
in the sense of the outward and inward directions of the normal (but with
the usual forms of the equation of the sphere of ellipse you should get
an outward normal).