Page MenuHome

Initial implementation of an OpenVDB based particle mesher modifier.
AbandonedPublic

Authored by Kévin Dietrich (kevindietrich) on Jan 18 2015, 7:02 PM.

Details

Summary
This is to be considered WIP as there are a few todos left. I'm uploading this here as a reference of my current work as discussed with Ton in IRC (easier than setting up a github repo).
OpenVDB should be compiled and installed separately in order to test the patch. (Connect with me if you have any trouble.)

A crude documentation for the modifier can be found here: http://www.pasteall.org/56206/text. For now, I keep it as a branch (on my computer) of the blender manual.

Diff Detail

Event Timeline

Kévin Dietrich (kevindietrich) retitled this revision from to Initial implementation of an OpenVDB based particle mesher modifier..
Kévin Dietrich (kevindietrich) updated this object.

Pretty huge patch, would take a bit to go into all details. Having some sort of user-side documentation (what it actually does, how to use, what to expect, etc) would be handy. Preferably page in our wiki.blender.org :)

@Sergey Sharybin (sergey), creating a page on wiki.blender.org seems fine, but I'll need wiki access. I asked for it, but they have not really understood the request:

The old Blender Wiki website now no longer accepts new registrations.

The new Blender manual website is accepting new users.

If you wish to participate with the new Blender manual work then
please see the following link:

http://www.blender.org/documentation/contribute

I asked for documenting my coding work...

@Kévin Dietrich (kevindietrich), that's not quite good. I'll talk to the guys who are in charge of registration in IRC.

One of the guys there is @Campbell Barton (campbellbarton) actually, so let's poke him here as well.

  • Merge branch 'master' into vdb_part_mesher
  • Add some comments, and rename some files
  • Code cleanup
  • Modifications to the build process, add a 'WITH_MOD_PARTMESHER' flag
  • Merge branch 'master' into vdb_part_mesher
  • Change particle code according to Lukas' comments (to be continued...)
  • Cleanup: rename *_right -> *_cutter to follow some VDB 'convention'
  • Fix merge conflicts
  • Merge branch 'master' into vdb_part_mesher
  • Add support for lattice deform, and reserve the size of the particle list vector when constructing instances of the class
  • Include OpenVDB version in system info
  • Merge branch 'master' into vdb_part_mesher
  • Don't show the modifier's UI if with build without neither OpenVDB or the modifier itself
  • Merge branch 'master' into vdb_part_mesher
  • Avoid iterating twice over the filter list to get the current one.
  • Some cleanup to the level set ops.
  • Fix for level set filters not being freed when closing Blender or
Kévin Dietrich (kevindietrich) removed rB Blender as the repository for this revision.
  • Severely refactored the code
  • Added an OpenVDBPrimitive for easier handling in the C code
  • Added some quick way of drawing the underlying VDB tree

Closing this, as talked with Campbell months ago, the approach used by this patch does not fit with the current modifier system.

but it would be perfect for the object_nodes branch ? :)

Hello guys,

I would like to aks you about Open VDB, where to find it, how to installed it, and because I'm not a programmer - I can't understand - are you working for a separate add-on integration of it, or as part of regular Blender Installation package??

Thank you@!

@Ivaylo Gogov (ivaydesign), sorry for the delayed response.

This is a patch that needs to be applied on top of the Blender sources, and then compiled, etc... OpenVDB can be installed through the latest install_deps.sh script if you are on Linux (see here). For windows or mac, you can get the pre-compiled library from https://developer.blender.org/diffusion/BL/

Also, a more recent version of the patch can be found in my github repository (openvdb_mesher branch).