Algorithm Search⌘K

Definitioncore

Silhouette curve of a surface

Also called contour generator, surface silhouette.

The curve on a surface where the normal is perpendicular to the view or pull direction, computed as an intersection and used for drawings, draft and parting lines.

The silhouette curve of a surface, also called its contour generator, is the set of points where a line of sight touches the surface. For a parallel view along a direction dd it is where the normal is perpendicular to dd, and for an eye at a point ee it is where the normal is perpendicular to the line from the eye. In a picture, the image of this curve is the outline of the smooth part of the surface. In molding, the pull direction takes the place of the view direction, and the silhouette is where the draft is zero, so it is the natural candidate for the parting line.

Definition

Let x(u,v)x(u, v) be a regular parametric surface on a domain DD, of class C2C^2, with normal n=xu×xvn = x_u \times x_v and unit normal N=n/∣n∣N = n / |n|.

Parallel view. For a view direction d≠0d \ne 0, put g(u,v)=n(u,v)⋅dg(u, v) = n(u, v) \cdot d. The silhouette for dd is

Cd={ x(u,v):g(u,v)=0 }.C_d = \{\, x(u, v) : g(u, v) = 0 \,\}.

Central view. For an eye ee that is not on the surface, put ge(u,v)=n(u,v)⋅(x(u,v)−e)g_e(u, v) = n(u, v) \cdot (x(u, v) - e). The silhouette for ee is Ce={x(u,v):ge(u,v)=0}C_e = \{ x(u, v) : g_e(u, v) = 0 \}. A point with N⋅(e−x)>0N \cdot (e - x) > 0 faces the eye, a point with N⋅(e−x)<0N \cdot (e - x) < 0 faces away, and the silhouette lies between the two parts.

Implicit surfaces. For an implicit surface F=0F = 0 with ∇F≠0\nabla F \ne 0, the normal is ∇F\nabla F, and the silhouette is the intersection of the surface with the surface ∇F⋅d=0\nabla F \cdot d = 0, or with ∇F(x)⋅(x−e)=0\nabla F(x) \cdot (x - e) = 0 for an eye. For a polynomial FF of degree mm, these have degree m−1m - 1 and mm. For a polynomial patch of degree pp in uu and qq in vv, nn has degree at most 2p−12p - 1 in uu and 2q−12q - 1 in vv, so CdC_d is the image of a plane algebraic curve g=0g = 0 in the domain. In both cases the silhouette is computed by an intersection method.

The apparent contour, or outline, is the image of the silhouette under the projection along dd, or from ee.

Regular points. The zero sets of n⋅dn \cdot d and N⋅dN \cdot d are the same, and at a zero, ∇(n⋅d)=∣n∣ ∇(N⋅d)\nabla (n \cdot d) = |n| \, \nabla (N \cdot d). At a point of CdC_d, the vector dd is tangent, so d=axu+bxvd = a x_u + b x_v. With the coefficients h11=−Nu⋅xuh_{11} = -N_u \cdot x_u, h12=−Nu⋅xv=−Nv⋅xuh_{12} = -N_u \cdot x_v = -N_v \cdot x_u and h22=−Nv⋅xvh_{22} = -N_v \cdot x_v of the second fundamental form II\mathrm{II},

∇(N⋅d)=(Nu⋅d,  Nv⋅d)=−(h11h12h12h22)(ab).\nabla (N \cdot d) = (N_u \cdot d, \; N_v \cdot d) = -\begin{pmatrix} h_{11} & h_{12} \\ h_{12} & h_{22} \end{pmatrix} \begin{pmatrix} a \\ b \end{pmatrix}.

So the gradient vanishes exactly when dd is in the kernel of the second fundamental form, II(d,⋅)=0\mathrm{II}(d, \cdot) = 0. That needs h11h22−h122=0h_{11} h_{22} - h_{12}^2 = 0, so the Gaussian curvature is 00 at the point. Away from such points, the implicit function theorem shows that CdC_d is a regular C1C^1 curve. The same holds for CeC_e, with x−ex - e in place of dd, because ∂u(N⋅(x−e))=Nu⋅(x−e)+N⋅xu=Nu⋅(x−e)\partial_u (N \cdot (x - e)) = N_u \cdot (x - e) + N \cdot x_u = N_u \cdot (x - e).

Tangent of the silhouette. Along CdC_d with unit tangent tt, N⋅d=0N \cdot d = 0, so 0=dN(t)⋅d=−II(t,d)0 = dN(t) \cdot d = -\mathrm{II}(t, d). The tangent of the silhouette is conjugate to the view direction. If II(d,d)≠0\mathrm{II}(d, d) \ne 0, then tt is not parallel to dd, so the projection along dd maps tt to a vector that is not zero, and the outline is a regular curve at that point. Where II(d,d)=0\mathrm{II}(d, d) = 0, the line of sight is an asymptotic direction, tt can be parallel to dd, and the outline can have a cusp or end there.

Curvature of the outline. Koenderink proved that, at a point of the silhouette, the Gaussian curvature is a positive multiple of the product of the curvature of the outline and the normal curvature of the surface along the line of sight. So at a visible point, where that normal curvature is not negative, a convex part of the outline comes from a part of the surface with positive Gaussian curvature, and a concave part from negative curvature (cited, not proved here).

Examples and non-examples

  • Sphere, parallel view. For the sphere ∣x∣=r|x| = r about the origin, nn is parallel to xx, and CdC_d is the great circle x⋅d=0x \cdot d = 0.
  • Sphere, central view. For an eye at distance D>rD > r from the center, x⋅(x−e)=0x \cdot (x - e) = 0 gives x⋅e=r2x \cdot e = r^2, the small circle of radius r1−r2/D2r \sqrt{1 - r^2 / D^2}. It tends to the great circle as D→∞D \to \infty, and the eye sees less than half of the sphere.
  • Cylinder, side view. For the cylinder y2+z2=1y^2 + z^2 = 1 seen along d=(0,0,1)d = (0, 0, 1), n=(0,y,z)n = (0, y, z) and CdC_d is the two lines z=0z = 0, y=±1y = \pm 1.
  • Cylinder, end view (non-example of a curve). Seen along its axis d=(1,0,0)d = (1, 0, 0), every normal is perpendicular to dd, so the whole cylinder is its own silhouette. Here the Gaussian curvature is 00 and dd is in the kernel of II\mathrm{II} at every point, the case that the regularity test excludes.
  • Torus, top view. For the torus x=((R+rcos⁡φ)cos⁡θ,(R+rcos⁡φ)sin⁡θ,rsin⁡φ)x = ((R + r \cos \varphi) \cos \theta, (R + r \cos \varphi) \sin \theta, r \sin \varphi) with R>rR > r, the unit normal is N=(cos⁡φcos⁡θ,cos⁡φsin⁡θ,sin⁡φ)N = (\cos \varphi \cos \theta, \cos \varphi \sin \theta, \sin \varphi). Along the axis d=(0,0,1)d = (0, 0, 1), N⋅d=sin⁡φ=0N \cdot d = \sin \varphi = 0 gives the outer and the inner equator, two circles.
  • Torus, side view (a singular point). Along d=(1,0,0)d = (1, 0, 0), N⋅d=cos⁡φcos⁡θ=0N \cdot d = \cos \varphi \cos \theta = 0 gives the two meridian circles θ=±π/2\theta = \pm \pi/2 and the top and bottom circles φ=±π/2\varphi = \pm \pi/2. They cross at four points, where the gradient (−sin⁡φcos⁡θ,−cos⁡φsin⁡θ)(-\sin \varphi \cos \theta, -\cos \varphi \sin \theta) is zero. These points are on the circles of zero Gaussian curvature, and dd is the direction of the circle there, which is in the kernel of II\mathrm{II}.
  • Mold, pull direction. For a sphere pulled along dd, the silhouette is the equator, which is the parting line of a mold in two halves. The draft angle of a point is 90∘90^\circ minus the angle between NN and dd, so the silhouette is the set of points with zero draft.
  • Non-example, edges. The boundary curves of a patch and the sharp edges between patches can be part of the outline of a picture, but they are not on the silhouette curve, which is defined only on the smooth part of the surface. The silhouette edges of a polygon mesh are the discrete counterpart, where the faces on the two sides of an edge face the eye and face away.
  • Isophote. The isophote of level 00 for the light direction dd is the silhouette for the parallel view along dd.
  • Apparent contour. The image of the silhouette in the picture, as defined above. Hidden line removal draws the visible part of it, and the pinhole camera model gives the central projection.
  • Parting line. Parting line generation starts from the silhouette in the pull direction and adjusts it to give a parting line that is flat and has no undercut.
  • Silhouette as an intersection. For an implicit surface, the silhouette is a surface surface intersection of the surface with the surface ∇F⋅d=0\nabla F \cdot d = 0.

References

  1. Roberto Cipolla and Peter Giblin, Visual Motion of Curves and Surfaces, Cambridge University Press, 2000, Chapter 3, Views of curves and surfaces (the contour generator and the apparent contour of a smooth surface; general locator inside the chapter)
  2. Jan J. Koenderink, What does the occluding contour tell us about solid shape?, Perception 13(3), 321 to 330, 1984, the whole paper (the theorem that relates the curvature of the outline to the Gaussian curvature of the surface)
  3. Aaron Hertzmann and Denis Zorin, Illustrating smooth surfaces, Proceedings of SIGGRAPH 2000, 517 to 526, 2000, the part on the contour generator of a smooth surface as the zero set of the normal times the vector from the eye (general locator)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/1K4XZJ/text.yaml