# Where can I find the code behind the Remesh Blocks modifier?

In this answer by @RayMairlot, I learned how to generate a mesh surface that looks like many small cubes stacked in the shape of a sphere (or other meshes). Remesh -> Blocks

Because I can't leave well-enough alone, I would like to see exactly how this algorithm works, and what an Octree is. Where can I find the C code (?) behind this modifier?

• After some searching I found this: wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.62/… – VRM Jul 8 '15 at 0:22
• Interesting link @NoviceInDisguise. Although the git repository mentioned there seems to be in limbo at this moment, another link there has lots of useful information and explanations and will make for good reading. Still, isn't there a central Blender source-code repository with everything in one place, or am I just naive? (I'm relatively new to Blender) – uhoh Jul 8 '15 at 1:45
• Not that I know of (at least for modifiers specifically), although it seems there should be. – VRM Jul 8 '15 at 1:51
• Wow! So there is code in blender for which we can not see the source? That is not open-source? That could possibly have unpleasant things in it hypothetically speaking? – uhoh Jul 8 '15 at 1:55
• It appears that the Remesh modifier might be part of the standard distribution source code. You might download that, and look to see if the modifier code has been included in the source distribution file. – brasshat Jul 8 '15 at 4:53

• What a difference one letter makes: "scripting nodes" becomes "script in nodes". Node eats script for lunch. Wow @zeffii , that is exactly what I didn't realize I was looking for! Thanks! – uhoh Jul 10 '15 at 0:37