07.01.2013 Views

3D graphics eBook - Course Materials Repository

3D graphics eBook - Course Materials Repository

3D graphics eBook - Course Materials Repository

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Surface normal 208<br />

If a (possibly non-flat) surface S is parameterized by a system of curvilinear coordinates x(s, t), with s and t real<br />

variables, then a normal is given by the cross product of the partial derivatives<br />

If a surface S is given implicitly as the set of points satisfying , then, a normal at a point<br />

on the surface is given by the gradient<br />

since the gradient at any point is perpendicular to the level set, and (the surface) is a level set of<br />

.<br />

For a surface S given explicitly as a function of the independent variables (e.g.,<br />

), its normal can be found in at least two equivalent ways. The first<br />

one is obtaining its implicit form , from which the normal follows readily as the<br />

gradient<br />

.<br />

(Notice that the implicit form could be defined alternatively as<br />

;<br />

these two forms correspond to the interpretation of the surface being oriented upwards or downwards, respectively,<br />

as a consequence of the difference in the sign of the partial derivative .) The second way of obtaining the<br />

normal follows directly from the gradient of the explicit form,<br />

by inspection,<br />

;<br />

, where is the upward unit vector.<br />

If a surface does not have a tangent plane at a point, it does not have a normal at that point either. For example, a<br />

cone does not have a normal at its tip nor does it have a normal along the edge of its base. However, the normal to<br />

the cone is defined almost everywhere. In general, it is possible to define a normal almost everywhere for a surface<br />

that is Lipschitz continuous.<br />

Hypersurfaces in n-dimensional space<br />

The definition of a normal to a surface in three-dimensional space can be extended to -dimensional<br />

hypersurfaces in a -dimensional space. A hypersurface may be locally defined implicitly as the set of points<br />

satisfying an equation , where is a given scalar function. If is continuously<br />

differentiable, then the hypersurface obtained is a differentiable manifold, and its hypersurface normal can be<br />

obtained from the gradient of , in the case it is not null, by the following formula

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!