ArticleslgStudy

computer science

Silhouette edge

Silhouette edge is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Silhouette edge rather than just read about it. In short: In computer graphics, a silhouette edge of a 3D body projected onto a 2D plane (display plane) is the collection of points whose outwards surface normal is perpendicular to the view vector. Due to discontinuities in the surface normal, a silhouette edge is also an edge which separates a front facing face from a back facing face.

Key takeaways

  • Silhouette edge belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Silhouette edge to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Silhouette edge from memory before moving on to harder problems.

Reference excerpt

In computer graphics, a silhouette edge of a 3D body projected onto a 2D plane (display plane) is the collection of points whose outwards surface normal is perpendicular to the view vector. Due to discontinuities in the surface normal, a silhouette edge is also an edge which separates a front facing face from a back facing face. Without loss of generality, this edge is usually chosen to be the closest one on a face, so that in parallel view this edge corresponds to the same one in a perspective view. Hence, if there is an edge between a front facing face and a side facing face, and another edge between a side facing face and back facing face, the closer one is chosen. The easy example is looking at a cube in the direction where the face normal is collinear with the view vector. The first type of silhouette edge is sometimes troublesome to handle because it does not necessarily correspond to a physical edge in the CAD model. The reason that this can be an issue is that a programmer might corrupt the original model by introducing the new silhouette edge into the problem. Also, given that the edge strongly depends upon the orientation of the model and view vector, this can introduce numerical instabilities into the algorithm (such as when a trick like dilution of precision is considered).

Computation To determine the silhouette edge of an object, we first have to know the plane equation of all faces. Then, by examining the sign of the point-plane distance from the light-source to each face

ax+by+cz+d={>0front facing=0parallel<0back facing Using this result, we can determine if the face is front- or back facing. The silhouette edge(s) consist of all edges separating a front facing face from a back facing face.

Similar Technique

A convenient and practical implementation of front/back facing detection is to use the unit normal of the plane (which is commonly precomputed for lighting effects anyway), then simply applying the dot product of the light position to the plane's unit normal and adding the D component of the plane equation (a scalar value):

𝐧𝐨𝐫𝐦𝐚𝐥⋅(𝐥𝐢𝐠𝐡𝐭𝐩𝐨𝐬𝐢𝐭𝐢𝐨𝐧)+planeD=⟨a,b,c,d⟩⋅⟨Lx,Ly,Lz,Lw⟩+planeD aLx+bLy+cLz+dLw+planeD=indicator Where plane_D is easily calculated as a point on the plane dot product with the unit normal of the plane:

planeD=PointOnPlane⋅(𝐧𝐨𝐫𝐦𝐚𝐥) Note: The homogeneous coordinates, L_w and d, are not always needed for this computation. After doing this calculation, you may notice indicator is actually the signed distance from the plane to the light position. This distance indicator will be negative if it is behind the face, and positive if it is in front of the face.

indicator={>0front-facing=0parallel<0back-facing This is also the technique used in the 2002 SIGGRAPH paper, "Practical and Robust Stenciled Shadow Volumes for Hardware-Accelerated Rendering".

See also Apparent contour

References

External links Fractional Quantitative Invisibility at the Wayback Machine (archived 2001-07-25)

Worked examples

Example 1 — a first encounter with Silhouette edge

Start with the simplest possible case. Write down what Silhouette edge claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Silhouette edge before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Silhouette edge ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Silhouette edge

In research
Silhouette edge appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Silhouette edge in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Silhouette edge is common in secondary-school and first-year university syllabi. It links to neighbouring topics 3D computer graphics, so understanding it makes those chapters shorter.
In everyday life
Look for Silhouette edge outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Silhouette edge” →

How to study Silhouette edge in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Silhouette edge means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Silhouette edge out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Silhouette edge in simple terms?

In computer graphics, a silhouette edge of a 3D body projected onto a 2D plane (display plane) is the collection of points whose outwards surface normal is perpendicular to the view vector. Due to discontinuities in the surface normal, a silhouette edge is also an edge which separates a front facin…

Why does Silhouette edge matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Silhouette edge?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Silhouette edge.

Tags

  • 3D computer graphics

Keep exploring