Loop Subdivision

I am trying to create a program to subdivide 3D surface meshes using the Loop Subdivision Algorithm.

Obviously the meshes are made exclusively out of triangles.

I was curious if anyone here has worked with this algorithm or has any good resources. Google and Wikipedia aren’t much help, as I haven’t been able to find a good step-by-step breakdown of the algorithm anywhere.


You did not search very hard, in the first result pages there are a few detailed pages :

Thank you for the reply. Actually, I have seen both of these links already.

The first link is speaking primarily about how to use an existing program and doesn’t fully explain the algorithm (I understand how the triangle subdivision works on a per-triangle basis, but how do you apply it to the larger polyhedron).

The second link is good, but definitely too vague. It covers what to do more or less, but not how you would go about doing it.

I would really like to see some kind of pseudocode or step-by-step instructions for how to apply this algorithm in the real world.

Second link outlines the weights of new and updated vertex positions.
First link has complete source code, and loop.c seem fairly readable.

You mean you have difficulty with walking around the vertices/edges/triangles of the model ?

The Real-time rendering-book is your friend. Go get it! Depending on how fast you need the subdivision to be, versus how much time you want to spend implementing it, this is the fastest way to do subd:

If you want it really fast, you should be using the GPU of course. Here is a pre-geometry-shader version producing catmull-clark surfaces:

Today, you could do it using either geometry-shaders, or more better, the new tesselation-units on dx11-level cards.

Hope this helps.