Sub topic 8
Subdivision Surface: levels, creases, and clean topology
This chapter assumes you already know how to add a Subdivision Surface modifier and what it does to a low-poly mesh. It also assumes you can switch between Object Mode and Edit Mode and select edges. Here you will learn how the level settings work, how creases hold edges sharp, and which mesh layouts produce clean results.
How levels work
Each subdivision level splits every face into smaller faces. A quad becomes four quads. The new vertices are then moved so the surface looks smooth. The face count grows fast:
| Level | Faces produced from one quad |
|---|---|
| 0 | 1 |
| 1 | 4 |
| 2 | 16 |
| 3 | 64 |
| 4 | 256 |
The cost grows by a factor of four per level. A 5,000-face mesh at level 3 becomes about 320,000 faces. Level 4 would be about 1.28 million.
The modifier has two separate settings:
- Levels Viewport is the level used while you work in the 3D viewport.
- Render is the level used when you render an image or animation.
Keep the viewport level low (often 1 or 2) so the scene stays responsive. Set the render level one step higher for a smoother final image. The Python property names are levels for the viewport and render_levels for the render.
There is also a third setting, Sculpt Level. It is used only in Sculpt Mode and does not affect the viewport or render.
Quality settings
The modifier's Advanced panel has options that change the result:
- Quality controls how precisely the surface is calculated. The default is fine for most work.
- UV Smooth controls how UV coordinates behave at the borders. The default keeps UV borders sharp, which avoids texture distortion.
- Boundary Smooth controls what happens at open edges of the mesh. The default, All, rounds off the boundary. Preserve Corners keeps the corner points fixed.
- Use Creases lets the modifier read edge crease values. It is on by default.
Edge creases
A smoothed mesh shrinks toward its center and rounds every corner. Sometimes you want a corner to stay sharp, such as the edge of a table top. A crease tells the modifier to keep an edge tight.
To add a crease:
- Enter Edit Mode and switch to Edge select mode.
- Select the edges you want to keep sharp.
- Press Shift+E and move the mouse, or type a value between 0 and 1.
- Press Enter to confirm.
A value of 0 means no crease, and a value of 1 means the edge stays fully sharp at every level. Values in between give a partial effect, which is useful for a slightly softened edge. Creased edges appear magenta in Edit Mode. The color gets stronger as the value increases.
You can also set the value in the Item tab of the sidebar (press N) under Edge Data. Use the Mean Crease field there.
A crease is stored in the mesh data, so it stays with the mesh even if you remove the modifier. It only has an effect while a Subdivision Surface modifier reads it.
Support loops as an alternative
Creases are quick, but another standard approach is to add support loops. A support loop is an extra edge loop placed close to a corner. It pulls the surface tight there without any special data. To add one, use Loop Cut (Ctrl+R) and slide the new loop near the edge.
The two methods compare like this:
| Method | Advantage | Drawback |
|---|---|---|
| Crease | Fast, adds no geometry, easy to change | Not every other program reads creases the same way |
| Support loop | Plain geometry, works in any program | Adds vertices and is harder to adjust later |
Creases work well for hard-surface props you will render in Blender. Support loops are safer when you export the mesh to a game engine or other software.
Clean topology
Topology means how the vertices, edges, and faces of a mesh are connected. Subdivision Surface depends on it heavily. Poor topology gives pinching, lumps, or dark shading artifacts.
Prefer quads
A quad is a face with four sides. The algorithm gives its smoothest results on grids of quads. Triangles and faces with five or more sides (n-gons) can produce visible creases or pinched areas after subdividing. A few triangles in flat, hidden areas often cause no trouble. Avoid them on curved, visible surfaces.
Watch the poles
A pole is a vertex where a number of edges other than four meet. A vertex with three edges is a 3-pole, and a vertex with five edges is a 5-pole. Poles are sometimes needed to change the direction of edge flow. However, they create slight tension in the smoothed surface. Place them on flat or low-curvature areas, and keep them away from the places where light and reflections are most visible.
Keep edge density even
If two neighboring faces differ greatly in size, the smoothed surface can show waves. Try to keep faces roughly the same size across a curved area. Use extra loops only where you need more detail or sharper control.
Avoid overlapping and duplicate geometry
Duplicate vertices, loose edges, and faces that overlap give odd shading. Use Mesh > Clean Up > Merge by Distance to remove duplicates, and check for non-manifold geometry with Select > Select All by Trait > Non Manifold.
Seeing the mesh before and after
To judge your topology, turn on the modifier's On Cage option, or use the wireframe overlay. You can also toggle the modifier's Edit Mode display button. When the button is off, you see only the control mesh. When it is on, you see the smoothed result with the control mesh drawn on top.
Setting levels and creases with Python
The script below sets the viewport and render levels and creases every edge that is on the boundary of a flat top. It assumes the active object is a mesh. For clarity it creases all edges of the mesh at a value of 0.8. Run it in Object Mode.
import bpy
obj = bpy.context.active_object
subsurf = obj.modifiers.new(name="Subdivision", type='SUBSURF')
subsurf.levels = 2
subsurf.render_levels = 3
subsurf.use_creases = True
for edge in obj.data.edges:
edge.crease = 0.8In Blender 4.0 and later, edge.crease is available on the mesh edges. In versions before 4.0, the equivalent data is accessed through the crease layer of a BMesh. If the line fails in your version, check the API documentation for your release.
Common errors
- The object looks too small or too round. Subdivision pulls the surface inward. Add support loops or creases near corners.
- Creases seem to do nothing. Check that Use Creases is on in the modifier. Also check that the modifier is in the stack.
- Shading looks lumpy. Look for triangles, n-gons, or poles on curved areas. Fix the topology rather than raising the level.
- The viewport is slow. Lower the viewport level and keep the render level higher.
- Applying the modifier produced a huge mesh. Applying bakes in the level shown in the viewport. Check the face count first.
Summary of decisions
- Use level 1 or 2 in the viewport and one more for rendering.
- Use creases for fast, editable sharp edges in Blender-only work.
- Use support loops when the mesh leaves Blender.
- Keep quads on visible curved surfaces and place poles in flat areas.
Exercise
A mesh has 2,000 quads. You set Levels Viewport to 3. About how many faces does the viewport show, and what two ways can you keep a corner sharp?
Show answer
Each level multiplies the quad count by four, so level 3 gives 2,000 x 64 = 128,000 faces. You can keep a corner sharp by adding an edge crease (Shift+E in Edit Mode, value near 1) or by adding a support loop close to the corner with Loop Cut.
Exercise
You set a crease of 1 on an edge, but the edge still looks rounded. Name two things to check.
Show answer
Check that Use Creases is enabled in the Subdivision Surface modifier, and check that the modifier is actually in the stack and visible in the viewport. Also confirm the crease was applied to the intended edges (they show as magenta in Edit Mode).