09 May 2023

Tutorial: Render subdivision modifier wireframe in Blender with Geometry Nodes 🔗

Blender's Geometry Nodes offers a powerful way to create wireframe visualizations of your 3D models that incorporate subdivision surface modifiers. This tutorial will guide you through the process of rendering a clean wireframe that showcases both the original edges and vertices of your model and the effects of the subdivision modifier.

Option 1: Use pre-made assets 🔗

If you prefer not to follow a detailed procedure, you can download the template directly from BlenderKit and apply the geometry nodes modifier to your model. Alternatively, you can download one of the prepared scenes for this purpose.

Option 2: Follow our tutorial and learn more about Geometry Nodes! 🔗

Oops! Marketing cookies are needed to play this video.
Click here to enable them.

You might need to disable cookie consent blocker if the consent prompt doesn't appear.

Option 3: Follow this article 🔗

Step 1: Replicating Subdivision Modifier 🔗

  1. Add a new Geometry Nodes modifier on your mesh (delete the Subdivision Modifier first)
  2. Add a subdivision surface node and set the subdivision to 2.
  3. Add an Input > Named Attribute node, select 'crease' in the Name field, and connect it to the Edge Crease input of the Subdivision Surface node.

Step 2: Visualize Original Edges 🔗

1. Create a new branch after the subdivision by adding Mesh to Curve, Curve to Mesh, and Join Geometry nodes.

2. Add a Curve Primitives > Curve Circle node and connect it to the Profile Curve of the Curve to Mesh node. Set the Curve Circle radius to 0.001 and the resolution to 8.

3. Add a Capture Attribute node before the subdivision node. Set the first value to Boolean, the second value to Edge, and check the 'value' field

4. Connect the 'Attribute' output of the Capture Attribute node to the Selection input of the Mesh To Curve node. Now only the original edges are visible.

Step 3: Visualize Original Vertices 🔗

1. Add another Capture Attribute node behind the first one. Set it to Integer and the second value to Point.

2. Add an Input > Index node and connect it to the Value input of the Capture Attribute

3. Add Mesh Primitives > Icosphere and Instances > Instances on Points nodes. Connect the Subdivision Surface output to the Points input of the Instances On Points node, and the Mesh output of the Ico Sphere to 'Instances'. Connect the Instances On Points geometry output to your Join Geometry node. Set the radius of the Ico Sphere node to 0.2.

4. Connect a Utilities > Compare node to the Attribute Output of the Capture Attribute node. Set the first field (type) to Integer and the second field (function) to Equal. Add another Input > Index node and connect it to the other input of the Compare node. Connect the output of the Compare node directly into the

Selection Input of the Instances on Points node.

Step 4: Apply Materials and Smooth Shading 🔗

1. Add 3 Material > Set Material nodes, one for each part of the mesh: surface, edges, and vertices. Assign any materials you like. Simple colors usually work best in this case.

2. Add a Mesh > Set Shade Smooth node to finalize the look.

Conclusion:

Congratulations! You've successfully created a wireframe visualization that emphasizes the original edges and vertices of your model while showcasing the effects of the subdivision surface modifier. Feel free to customize the input parameters, such as the subdivision level, sphere radius for vertices, and edge thickness. Compare your results with the provided asset to ensure that you've followed the tutorial correctly. Happy rendering!

See next articles

Workflow: Creating a fantasy landscape with Blender

Want to create a fantasy landscape in Blender 3D? Check out this workflow tutorial to learn how to easily do it with BlenderKit assets.

Vector Displacement Mesh Brushes: explanation, step by step tutorial and video

In the tutorial you will learn how to create a VDM brush. It is really easy and you will have your first brush in no time.

Tutorial: Render subdivision modifier wireframe in Blender with Geometry Nodes

A step-by-step guide to visualizing your subdivision surface modeling skills in Blender.

Isometric room in Blender: quick workflow

What can you create with BlenderKit add-on and Blender in 2 hours?

Bevel video tutorials

Maybe you'll be surprised what's the reason to bevel all your models.

Procedural Fabric materials

New procedural fabric materials in our database.

Workflow: Create Stunning 3D Environments

Want to create stunning 3D environments in Blender? This workflow tutorial shows you how to easily design beautiful spring scenes using BlenderKit assets.

How to make an island with geometry nodes

In the tutorial you will learn how to make an island in a few minutes. It can have any shape you want. We chose to do a hexagon like our logo.