ArticleslgStudy

computer science

Computer representation of surfaces

Computer representation of surfaces 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 Computer representation of surfaces rather than just read about it. In short: In technical applications of 3D computer graphics (CAx) such as computer-aided design and computer-aided manufacturing, surfaces are one way of representing objects. The other ways are wireframe (lines and curves) and solids.

Computer representation of surfaces — main illustration
Computer representation of surfaces — illustration

Key takeaways

  • Computer representation of surfaces 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 Computer representation of surfaces to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Computer representation of surfaces from memory before moving on to harder problems.

Reference excerpt

In technical applications of 3D computer graphics (CAx) such as computer-aided design and computer-aided manufacturing, surfaces are one way of representing objects. The other ways are wireframe (lines and curves) and solids. Point clouds are also sometimes used as temporary ways to represent an object, with the goal of using the points to create one or more of the three permanent representations.

Open and closed surfaces

If one considers a local parametrization of a surface:

𝐱=𝐱(u,v), then the curves obtained by varying u while keeping v fixed are coordinate lines, sometimes called the u flow lines. The curves obtained by varying v while u is fixed are called the v flow lines. These are generalizations of the x and y Cartesian coordinate lines in the plane coordinate system and of the meridians and circles of latitude on a spherical coordinate system. Open surfaces are not closed in either direction. This means moving in any direction along the surface will cause an observer to hit the edge of the surface. The top of a car hood is an example of a surface open in both directions. Surfaces closed in one direction include a cylinder, cone, and hemisphere. Depending on the direction of travel, an observer on the surface may hit a boundary on such a surface or travel forever. Surfaces closed in both directions include a sphere and a torus. Moving in any direction on such surfaces will cause the observer to travel forever without hitting an edge. Places where two boundaries overlap (except at a point) are called a seam. For example, if one imagines a cylinder made from a sheet of paper rolled up and taped together at the edges, the boundaries where it is taped together are called the seam.

Flattening a surface

Some open surfaces and surfaces closed in one direction may be flattened into a plane without deformation of the surface. For example, a cylinder can be flattened into a rectangular area without distorting the surface distance between surface features (except for those distances across the split created by opening up the cylinder). A cone may also be so flattened. Such surfaces are linear in one direction and curved in the other (surfaces linear in both directions were flat to begin with). Sheet metal surfaces which have flat patterns can be manufactured by stamping a flat version, then bending them into the proper shape, such as with rollers. This is a relatively inexpensive process. Other open surfaces and surfaces closed in one direction, and all surfaces closed in both directions, can't be flattened without deformation. A hemisphere or sphere, for example, can't. Such surfaces are curved in both directions. This is why maps of the Earth are distorted. The larger the area the map represents, the greater the distortion. Sheet metal surfaces which lack a flat pattern must be manufactured by stamping using 3D dies (sometimes requiring multiple dies with different draw depths and/or draw directions), which tend to be more expensive.

Regions

Patches

A surface may be composed of one or more patches, where each patch has its own U-V coordinate system. These surface patches are analogous to the multiple polynomial arcs used to build a spline. They allow more complex surfaces to be represented by a series of relatively simple equation sets rather than a single set of complex equations. Thus, the complexity of operations such as surface intersections can be reduced to a series of patch intersections. Surfaces closed in one or two directions frequently must also be broken into two or more surface patches by the software.

Faces Surfaces and surface patches can only be trimmed at U and V coordinate lines. To overcome this severe limitation, surface faces allow a surface to be limited to a series of boundaries projected onto the surface in any orientation, so long as those boundaries are collectively closed. For example, trimming a cylinder at an angle would require such a surface face. A single surface face may span multiple surface patches on a single surface, but can't span multiple surfaces. Planar faces are similar to surface faces, but are limited by a collectively closed series of boundaries projected to an infinite plane, instead of a surface.

Skins and volumes As with surfaces, surface faces closed in one or two directions frequently must also be broken into two or more surface faces by the software. To combine them back into a single entity, a skin or volume is created. A skin is an open collection of faces and a volume is a closed set. The constituent faces may have the same support surface or face or may have different supports.

Solids Volumes can be filled in to build a solid model (possibly with other volumes subtracted from the interior). Skins and faces can also be offset to create solids of uniform thickness.

Continuity

A surface's patches and the faces built on that surface typically have point continuity (no gaps) and tangent continuity (no sharp angles). Curvature continuity (no sharp radius changes) may or may not be maintained. Skins and volumes, however, typically only have point continuity. Sharp angles between faces built on different supports (planes or surfaces) are common.

Visualization and display Surfaces may be displayed in many ways:

Wireframe mode. In this representation the surface is drawn as a series of lines and curves, without hidden-line removal. The boundaries and flow lines (isoparametric curves) may each be shown as solid or dashed curves. The advantage of this representation is that a great deal of geometry may be displayed and rotated on the screen with no delay needed for graphics processing.

Faceted mode. In this mode each surface is drawn as a series of planar regions, usually rectangles. Hidden-line removal is typically used with such a representation. Static hidden-line removal does not update which lines are hidden during rotation, but only once the screen is refreshed. Dynamic hidden-line removal continuously updates which curves are hidden during rotations.

Shaded mode. Shading can then be added to the facets, possibly with blending between the regions for a smoother display. Shading can also be static or dynamic. A lower quality of shading is typically used for dynamic shading, while high quality shading, with multiple light sources, textures, etc., requires a delay for rendering.

CAD/CAM representation

CAD/CAM systems use primarily two types of surfaces:

… excerpt ends here. Continue reading the full article.

Illustrations

Computer representation of surfaces: An open surface with u- and v-flow lines and Z-contours shown.
An open surface with u- and v-flow lines and Z-contours shown.
Computer representation of surfaces: Catmull–Clark subdivision surface
Catmull–Clark subdivision surface
Computer representation of surfaces illustration
Computer representation of surfaces illustration
Computer representation of surfaces illustration

Worked examples

Example 1 — a first encounter with Computer representation of surfaces

Start with the simplest possible case. Write down what Computer representation of surfaces 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 Computer representation of surfaces 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 Computer representation of surfaces 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 Computer representation of surfaces

In research
Computer representation of surfaces 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 Computer representation of surfaces 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
Computer representation of surfaces is common in secondary-school and first-year university syllabi. It links to neighbouring topics 3D computer graphics, Surfaces, so understanding it makes those chapters shorter.
In everyday life
Look for Computer representation of surfaces 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 “Computer representation of surfaces” →

How to study Computer representation of surfaces in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Computer representation of surfaces 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 Computer representation of surfaces out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Computer representation of surfaces in simple terms?

In technical applications of 3D computer graphics (CAx) such as computer-aided design and computer-aided manufacturing, surfaces are one way of representing objects. The other ways are wireframe (lines and curves) and solids.

Why does Computer representation of surfaces 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 Computer representation of surfaces?

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 Computer representation of surfaces.

Tags

  • 3D computer graphics
  • Surfaces

Keep exploring