OpenVDB remesh


(kabu) #264

Good luck. Did that before you based on @ambi advices. Had to let go, it was taking too much time. The main problem is building boost with boost-python.
I used make. I still have my setup. Here it is:

openvdb mac (14.1 KB)

I didn’t tried using cmake.

EDIT: CMake doesn’t work

(Agilardo) #265

hello, yesterday bought an addon.
Today I installed and received an error:

Modules Installed (openvdb-remesh) from 'D:\\3D\\' into 'C:\\Users\\1\\AppData\\Roaming\\Blender Foundation\\Blender\\2.79\\scripts\\addons'
Traceback (most recent call last):
  File "C:\Users\1\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\openvdb-remesh\", line 459, in execute
    self.filter_style, self.filter_sigma, grid=self.grid)
  File "C:\Users\1\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\openvdb-remesh\", line 213, in vdb_remesh
    grid = _read(verts, tris, quads, vxsize)
  File "C:\Users\1\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\openvdb-remesh\", line 194, in _read
    vtransform = vdb.createLinearTransform(voxelSize=vxsize)
AttributeError: module 'openvdb-remesh.pyopenvdb' has no attribute 'createLinearTransform'

location: <unknown location>:-1

Blender 2.79.7
windows 10
Microsoft Visual C++ Redistributable for Visual Studio 2017 – Ok.

(avpiedra) #266

Yeah I have similar problem on 2.79 daily but it works just fine on 2.8.
Tried coping 2.8 files on top of 2.79 but it didn’t work for me.

(ambi) #267

I uploaded vdb_remesh_b2.79-beta-win64 to Gumroad, which includes Python 3.7 version and is updated to have some of the same features as the 2.80 version.

(avpiedra) #268

Works flawlessly! Thank you!

(Metin Seven) #269

Hi @ambi,

In Windows 10’s Paint 3D there’s a freeform 2D drawing mode that results in a 3D form that has proportionally more volume where the shape is larger. So small protrusions in the 2D shape become thin protrusions in the 3D result.

I really like how fast you can create basic 3D shapes that are usable for further sculpting with this method. Looking at the resulting topology, I suspect the 3D result is shaped using smoothed voxels, similar to Dynamesh or OpenVDB.

Being able to start such a drawing mode with the touch of a button or keyboard shortcut, you could very easily create the base shapes of body parts and other organic forms. Additionally, there’s a drawing mode that results in straight extrusions, for flat hard-surface objects.

Here’s a video showing some fast object creation using Paint 3D’s 2D to 3D drawing method.

It would be great to have a similar easy-to-use tool in Blender, preferably also usable in Sculpt Mode, maybe using the masking lasso tool. I guess OpenVDB could be a great method for such a tool. Do you think you could add something like it to OpenVDB Remesh? That’d be great.

(ambi) #270

Yes I’ve been thinking about doing exactly that kind of an addon. I just don’t think it has much to do with OpenVDB outside possibly using distance fields. Thin and sharp object ends would be destroyed by voxelization process and produce artifacts, which is why something like this is better done using only meshes and computational geometry.

(obsurveyor) #271

Thanks for posting about Paint 3D, that’s pretty neat and it’s been sitting on my computer here the whole time and I didn’t know about it!

Have you guys seen G-Lasso Draw? This does something similar with grease pencil. Maybe @ambi can collaborate with @Bookyakuno on it and get some OpenVDB options in there and help out with some of the technical stuff.

(Metin Seven) #272

That’d be great! I’d love to test it when you’ve initiated the add-on.

(Metin Seven) #273

:slightly_smiling_face::+1: You can export the Paint 3D meshes as FBX, although I dislike having to go back and forth between different editors with different navigation controls.

(CG Thoughts) #274

Hi @ambi, I’m the Fluent developer and I use open vdb to complete my models. So I use it a lot and I have a suggestion : in preferences, could you add inputs to set up our own values for each thing ? Like that we don’t need to change all parameters for each blender launching.

(Mystical) #275

I love your Fluent add-on, I bought it when it was on the $14 sale at the beginning. I’d love to see a tutorial how how you use Fluent with OpenVDB. Would be really neat to see.

(CG Thoughts) #276

Thanks @Mystical. Yes, good idea. I will do it a tutorial Fluent + OpenVDB.

(ambi) #277

Simply setting the values you want and saving Blender startup file doesn’t work for you?

(CG Thoughts) #278

I didn’t try it, I changed the default value in the script :wink: but it could be more userfrendly in preferences.

(kabu) #279

@ambi I did it man!

(ambi) #280

Nice job! :smile:

(kabu) #281

Yes! It took some blood spills, but in the end I cracked it!
Now I’ve got to realise how to pack all those libraries and why I get the “convertToComplex” error when I use the latest scripts you did. I used a very old one for my test…

(ambi) #282

The latest on Gumroad should match the latest on Github. Have you updated your local git repo to the latest?

(kabu) #283

Yes, I think in the rush I didn’t update.
I think it’s vdb_remesh-linux-beta-2018-05-04 the one akin to mac os… is that?