OpenVDB remesh

Hey guys. The default Blender retopology modifier isn’t that great so I decided to make a different one. It’s based on OpenVDB.

Currently only supports 64-bit Linux (tested on Ubuntu 16.04 LTS) and Blender 2.7x as those are what I’ve been testing it with. Windows 10 64-bit with Blender 2.76, 2.79, 2.80, both Python 3.5 and Python 3.6 tested and working.

It’s here (PAID)

Installation instructions are on Gumroad


Help me to try it, please.

Traceback (most recent call last):
  File "/home/bm/.config/blender/2.79/scripts/addons/", line 152, in execute
    new_mesh = vdb_remesh(*startmesh, self.isosurface, self.adaptivity, self.only_quads, self.voxel_size)
  File "/home/bm/.config/blender/2.79/scripts/addons/", line 67, in vdb_remesh
    grid = vdb.FloatGrid.createLevelSetFromPolygons(verts, quads=quads, transform=vtransform)
NotImplementedError: this module was built without NumPy support
location: <unknown location>:-1

My system is Gentoo, python-3.6.4, openvdb-4.0.2 (with python), blender-2.79-git my own system build.

@brothermechanic: Seems the addon is trying to use PyOpenVDB that’s already installed in your system, that doesn’t have Numpy support. If you uninstall OpenVDB in your system, and only use the included PyOpenVDB library binary, it should probably work.

You could also try changing the line “import pyopenvdb as vdb” into “from modules import pyopenvdb as vdb” in and see if that helps.

Hello, I like this thing. I’m on Os X; how to build the .so file? I found something here
Is this the way to go?

99% of the time spent building this addon was on trying to compile OpenVDB. So I wish you good luck. Here’s the Makefile I got it working with:

It’s all Ubuntu specific though. Most of it was just linking to correct libraries, folders and not compiling the OpenVDB command line tools. Also shared=no in Makefile (link executables against static OpenVDB libraries)

OpenVDB version 5.1.0 (if I recall correctly)

Managed to get it running on Xubuntu 17.10.

Unpack from Gumroad to /usr/local/lib

Plus replacing

import pyopenvdb as vdb


    import pyopenvdb as vdb
except SystemError as e:

…in ~/.config/blender/2.78/script/addons/ (or wherever you’re running the addon from) gets past the SystemError.

You also need Numpy. sudo apt install python3-numpy

Windows please!

ambi that is really impressive! I 100% agree with you, default Remesh is slow and OpenVDB solution would fit ideally there + would also be ideal for all sort of mesh combination/boolean operations and smoothed bevels. This needs to happen.

I often use Blender>Houdini (mesh to openVDB to mesh)>blender conversion to achieve smooth corners/bevels, such as here:

Key to it is Houdini VDB Smoothing with iterations. Was wondering if this is hard to have here?

PS. Win build please :slight_smile:

1 Like

No, it would be very easy, assuming that it’s just a sequence of VDB commands through Python. The really hard part is the binary builds.

Seems to work fine. PyOpenVDB doesn’t have the functionality but you can just do it with Numpy.

1 Like

Surprisingly no one on the internet shared a way to compile PyOpenVDB on windows.

1 Like

I have been able to install the addon in Kubuntu 16.04. But I can’t install it on Kubuntu 18.04 because of the following errors:

Traceback (most recent call last):
File “/media/TEMPORAL/blender-2.79b-linux-glibc219-x86_64/2.79/scripts/modules/”, line 331, in enable
mod = import(module_name)
File “/home/yafu/.config/blender/2.79/scripts/addons/”, line 11, in <module>
import pyopenvdb as vdb
ImportError: cannot open shared object file: No such file or directory

I copied in /usr/local/lib, I still have the same error (there is no file, just “modules” folder containing file).

I have also added those lines of the message #6, but I get:

Traceback (most recent call last):
File “/media/TEMPORAL/blender-2.79b-linux-glibc219-x86_64/2.79/scripts/modules/”, line 331, in enable
mod = import(module_name)
File “/home/yafu/.config/blender/2.79/scripts/addons/”, line 12
except SystemError as e:
SyntaxError: invalid syntax

There should be a in Gumroad. Did you copy those to /usr/local/lib? is included in the package.

I really do not know where to look for that file. Could you provide a link to download it?

Ok, doing click in “View Product”
I downloaded the addon a few hours ago, and it downloaded the addon only. I’m not sure if that option was there. I’m going to try now.

Ok, this is what I have done. I copied libraries:

$ ls /usr/local/lib   python2.7  libopenjp2.a        openjpeg-2.3  python3.6           pkgconfig

I have installed the addon from “” file. I have restarted Blender, and when I try to enable the addon, I keep getting:

Traceback (most recent call last):
File “/media/TEMPORAL/blender-2.79b-linux-glibc219-x86_64/2.79/scripts/modules/”, line 331, in enable
mod = import(module_name)
File “/home/yafu/.config/blender/2.79/scripts/addons/”, line 12, in <module>
import pyopenvdb as vdb
ImportError: cannot open shared object file: No such file or directory


$ python -m site
sys.path = [
USER_BASE: '/home/yafu/.local' (exists)
USER_SITE: '/home/yafu/.local/lib/python2.7/site-packages' (doesn't exist)

As Blender still can’t seem to find the libraries you could try launching Blender with: LD_LIBRARY_PATH=/usr/local/lib blender

It might not be Python but the system dynamic linker that’s not finding it. Also “sudo ldconfig -v” might help.

Also as it’s Linux I can just download the image easily, put it into a virtual machine and do the installation from a clean build for Kubuntu 18.04 and see what happens, once I get back to the project.

Yes, I can enable addon by launching blender with:

LD_LIBRARY_PATH=/usr/local/lib ./blender

What do you need us to test? Addon still does not work with Dyntopo meshes, right?

If should work with any meshes. You just have to 1. triangulate and 2. make faces if the mesh has ngons. Pure triangle mesh or mesh that has ngons isn’t working right now.

It does similar job to the remesh modifier, except with much better results (IMO) and more features.

If it’s working that’s good, there’s really no need to test beyond that. The goal is to find gotchas that some systems might have.

Thank you for answer
In first I tryed to compile openvdb by myself from git (version 5.0.0)
End look like i do it!
But, when i enable addon

Traceback (most recent call last):
  File "/usr/share/blender/2.79/scripts/modules/", line 338, in enable
    mod = __import__(module_name)
  File "/home/bm/.config/blender/2.79/scripts/addons/", line 11, in &lt;module&gt;
    import pyopenvdb as vdb
ImportError: /usr/lib64/python3.6/ undefined symbol: _ZN5boost6python5numpy6detail13get_int_dtypeILi64ELb0EEENS1_5dtypeEv

It happend, when i compile with CXXFLAG


Do you use it?

In second I tryed to compile openvdb without DPY_OPENVDB_USE_NUMPY and get “built without NumPy support” error,
but WHY? Now i have numpy support…

I found your build config, but it looks like mine

This is my config

        -DOPENVDB_BUILD_DOCS=$(usex doc)
        -DOPENVDB_BUILD_PYTHON_MODULE=$(usex python)
        -BOOST_PYTHON_LIB := -lboost_python-3.6-mt -lboost_numpy

What i missed?

I also try with your static libs
I just beautyful!
Future is happend!
But i want it on system side anyway)))!!!