Questions tagged [openvdb]

OpenVDB is an open-source C++ library comprising a novel hierarchical data structure and a suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids.

Information on OpenVDB, including documentation, can be obtained from the OpenVDB website.

33 questions
4
votes
0 answers

Analyze traditional triangle-type mesh by voxels

I have a qmake project on Qt Creator using Qt3D to render 3D scenes with triangle-type meshes. An example is available here. I intend to use OpenVDB tools to analyze my Qt3D meshes. Is converting Qt3D meshes to OpenVDB grid the right approach to…
Megidd
  • 7,089
  • 6
  • 65
  • 142
3
votes
1 answer

How to downsample grid in OpenVDB

Is there any good way to downsample voxels grid in OpenVDB? For example I have grid 8x8x8 with voxel size - 1.0, and I want to get grid 4x4x4 with voxel size - 2.0: each voxel of new grid is some interpolation of original voxels, e. g. [0,0,0] voxel…
user15221088
2
votes
1 answer

Create a LevelSet from a point cloud

I am fairly new to OpenVDB. Apologies in advance if this query sounds trivial. I want to construct an implicit surface from a set of unorganized data points. I want to know how I can do it using OpenVDB. The current way I am doing it is as follows:…
2
votes
1 answer

how to do closest point query using OpenVDB?

First, How to find closest point using openvdb? Second, If ClosestSurfacePoint is right way to do that, how to use it? I read paper about ICP using OpenVDB for faster NNS. (http://www.pmavridis.com/research/efficient_sparse_icp/) The author says…
eclipse0922
  • 158
  • 2
  • 15
2
votes
0 answers

How to build OpenVDB in datastructure-only mode?

I want to use OpenVDB as data structure. I do not want any tests or samples or zlib in it. How to configure OpenVDB to build as data structure only?
DuckQueen
  • 772
  • 10
  • 62
  • 134
2
votes
2 answers

How to fill OpenVDB voxels that are inside a given plane?

I have a quad defined by 4 (x,y,z) points (like a plane that has edges). I have an OpenVDB grid. I want to fill all the voxels with value 1 that are inside my quad (including edges). Is such thing possible with out setting each voxel of the quad…
DuckQueen
  • 772
  • 10
  • 62
  • 134
1
vote
0 answers

ImportError: libboost_python37.so.1.68.0: cannot open shared object file: No such file or directory while importing pyopenvdb

While importing the library pyopenvdb, I keep the getting the following error ImportError: libboost_python37.so.1.68.0: cannot open shared object file: No such file or directory I tried running the following commands: apt-get install…
lokit khemka
  • 349
  • 3
  • 11
1
vote
0 answers

How to convert VTK Structured point file to OpenVDB

I'm trying to render a VTK file containing a structured point data array into blender 3D. I've found an addon (BVTKnodes) allowing to import VTK files and extract iso surfaces from them, but here I would like to do a volumetric rendering. Since…
1
vote
0 answers

CMake boost linkage not respecting order

Im trying to compile a project which uses OpenVDB. OpenVDB itself depends on Boost. The project consists on several libraries and several executables. One of the libraries needs OpenVDB (and therefore, Boost), and the executable needs that library.…
jjcasmar
  • 1,387
  • 1
  • 18
  • 30
1
vote
0 answers

OpenVDB 5.1.0 Hello World example link error on Mac

I tried different ways to run the hello world example from the openvdb cookbook for the latest version 5.1.0. But I keep on getting Undefined symbols for architecture x86_64 error on my MacBook pro (macOS High Sierra 10.13.4). To narrow down the…
1
vote
0 answers

Reconstruction of Enright Test using OpenVDB

I want to recreate the Enright Test results with OpenVDB as mentioned in the article by Ken Museth. After setting up OpenVDB I've Created the sphere similarly to the way it was described in the OpenVDB test git. I have recieved results which are…
DRVPR
  • 71
  • 1
  • 6
1
vote
2 answers

Including OpenVDB in DLL; Linking errors with Visual Studio 2015

I am trying to compile, in Visual Studio 2015, a DLL that I am making which acts as a C-compatible wrapper around some functionality from OpenVDB, making it usable in an existing C project. When I build, however, I get the following Linker…
1
vote
0 answers

What version of zlib is required for OpenVDB?

The software I'm working on at work already uses zlib version 1.2.5-1, but I am getting ready to add some functionality that requires OpenVDB. In the INSTALL file in OpenVDB, it lists the required versions for all of its dependencies, except for…
1
vote
0 answers

Interpolation across planar narrow-band level sets in OpenVDB

I'm aware of OpenVDB's voxel value interpolation for sparse point clouds, but I'm still learning. I have a triangle, and I find the narrow band level set of voxels it intersects. I assign the points in that level set to a point group and assign…
AaronF
  • 2,841
  • 3
  • 22
  • 32
1
vote
0 answers

Computing Distance From Boundary Field, Itertaing over voxels and accessing their neighbours

I am working on a project which involves extracting center line from a closed object. I have to do following processing steps before implementing the center line extraction algorithm. I am new to openvdb thus some help is needed. Voxelize a…
1
2 3