/** @page changes Release Notes @htmlonly @endhtmlonly @par Version 9.0.0 - October 29, 2021 @par
This version introduces ABI changes relative to older major releases, so to preserve ABI compatibility it might be necessary to define the macro OPENVDB_ABI_VERSION_NUMBER=N, where, for example, N is 7 for Houdini 18.5 and 8 for Houdini 19.0.@par
Official release of NanoVDB, which for the first time offers GPU support for static sparse volumes in OpenVDB. See the documentation for details.@par
Faster build times from support for explicit template instantiation, which is enabled by default for most of the tools.@par
Added support for OpenEXR 3. This is contributed by Cary Phillips.@par
Added transient data to the RootNode, InternalNode, and LeafNode.@par New features: - NanoVDB, which for the first time offers GPU support for static sparse volumes in OpenVDB. @par Improvements: - Added tools::countActiveLeafVoxels(), tools::countInactiveVoxels(), tools::countInactiveLeafVoxels() and tools::activeTiles() to perform multi-threaded counting. The Tree methods now use these implementations. - Moved from the deprecated TBB task scheduler to TBB arenas. Various methods now respect the TBB arena state they were invoked from. - Introduced a new thread/Threading.h header to consolidate calls to third-party threading methods. - Minor performance improvements to dilation calls in fast sweeping algorithms. - Added hsvtogrb() and rgbtohsv() AX helper functions for converting hue, saturation and value inputs to RGB values and vice-versa. - PointDataGrid conversion can now be performed using 32-bit float arrays. - Improved support for size_t grid types on systems where size_t is a unique type. [Contributed by Brecht Van Lommel] - Add support for dilation in one direction and extending a field in one direction in fast sweeping algorithms. - Added PNG support to vdb_render which can be enabled with during CMake with -DUSE_PNG=ON. - Explicit template instantiation has been enabled by default for most of the tools. This pre-compiles template instantiations into the core library to reduce the time spent compiling code in downstream libraries or applications. - Added a python binding for OpenVDB AX which allows you to invoke accelerated AX code from the python module. @par Bug Fixes: - Fixed a bug where ax::run() would crash if it could not parse a single statement. @par ABI changes: - Added transient data to the RootNode, InternalNode, and LeafNode. @par API changes: - DynamicNodeManager can now set one grain size for threading across leaf nodes and another for threading across non-leaf nodes. - StringGrid and StringTrees are deprecated. - The NullInterrupter is now a virtual base class to help reduce compile-time instantiation cost. @par Houdini: - Fix crash in VDB Combine in Copy B mode if the second input has more VDBs than the first. - VDB Vector Merge SOP is now VDB Vector From Scalar SOP to distinguish it from the VDB Merge SOP. It keeps the same internal name so this is merely a label change. - Add option to pass in OPENVDB_DSO_NAMES to CMake to configure which Houdini DSOs are compiled. - VDB Activate SOP now has an option for the expansion pattern to use for dilation. - The label for Voxels to Expand is now Expand Voxels to match Houdini. - Fix bug to allow VDB LOD SOPs to be chained together. - SOP Extrapolate supports dilation in one direction and extending a field in one (domain) direction. - The default OpenVDB ABI is now 8 for Houdini versions > 18.5. - VDB Visualize Tree SOP is now multi-threaded and provides slicing and color remapping. - A new HoudiniInterrupter has been added that derives from the NullInterrupter and the Interrupter is now deprecated. All the SOPs have been updated to use the new HoudiniInterrupter. - Add a sanitizer in SOP OpenVDB Extrapolate when expanding a narrow-band level-set with a dilation value of 0, which will result in no operation. @par Build: - Added support for TBB 2021. - Enabled the OPENVDB_FUTURE_DEPRECATION variable by default to warn on upcoming deprecations. - Introduced a OPENVDB_DOXYGEN_INTERNAL CMake variable which is ON by default and removes the majority of internal namespaces from the generated doxygen. - Improved the doxygen deprecation listings, folder layouts and fixes issues when using later versions of doxygen. - Build fixes for MinGW on Windows. [Contributed by Brecht Sanders] - Added support for OpenEXR 3. [Contributed by Cary Phillips] - Added an OPENVDB_NAMESPACE_SUFFIX CMake string option which provides the ability to customise the VDB namespace. - The Python Module now appends the base directory defined by Python_SITELIB to the default install path (typically dist-packages or site-packages). [Contributed by Ignacio Vizzo] - As of this release, VFX Reference Platform 2019 is no longer supported. CMake now issues deprecation warnings for 2020 VFX Reference Platform version dependencies. - Build fixes for OpenVDB AX with C++17 and greater. - Bumped the new blosc version future minimum to 1.17.0. - OpenEXR is now optional for vdb_render. It can be enabled with -DUSE_EXR=ON. @htmlonly @endhtmlonly @par Version 8.2.0 - In development @par New features: - Added tools::countActiveLeafVoxels(), tools::countInactiveVoxels(), tools::countInactiveLeafVoxels() and tools::activeTiles() to perform multi-threaded counting. The Tree methods now use these implementations. @par Improvements: - Moved from the deprecated TBB task scheduler to TBB arenas. Various methods now respect the TBB arena state they were invoked from. - Introduced a new thread/Threading.h header to consolidate calls to third-party threading methods. - Minor performance improvements to dilation calls in fast sweeping algorithms. - Added hsvtogrb() and rgbtohsv() AX helper functions for converting hue, saturation and value inputs to RGB values and vice-versa. - PointDataGrid conversion can now be performed using 32-bit float arrays. - Improved support for size_t grid types on systems where size_t is a unique type. [Contributed by Brecht Van Lommel] - Add support for dilation in one direction and extending a field in one direction in fast sweeping algorithms. @par API changes: - DynamicNodeManager can now set one grain size for threading across leaf nodes and another for threading across non-leaf nodes. @par Houdini: - Fix crash in VDB Combine in Copy B mode if the second input has more VDBs than the first. - VDB Vector Merge SOP is now VDB Vector From Scalar SOP to distinguish it from the VDB Merge SOP. It keeps the same internal name so this is merely a label change. - Add option to pass in OPENVDB_DSO_NAMES to CMake to configure which Houdini DSOs are compiled. - VDB Activate SOP now has an option for the expansion pattern to use for dilation. - The label for Voxels to Expand is now Expand Voxels to match Houdini. - Fix bug to allow VDB LOD SOPs to be chained together. - SOP Extrapolate supports dilation in one direction and extending a field in one (domain) direction. - The default OpenVDB ABI is now 8 for Houdini versions > 18.5. - VDB Visualize Tree SOP is now multi-threaded and provides slicing and color remapping. @par Build: - Added support for TBB 2021. - Enabled the OPENVDB_FUTURE_DEPRECATION variable by default to warn on upcoming deprecations. - Introduced a OPENVDB_DOXYGEN_INTERNAL CMake variable which is ON by default and removes the majority of internal namespaces from the generated doxygen. - Improved the doxygen deprecation listings, folder layouts and fixes issues when using later versions of doxygen. - Build fixes for MinGW on Windows. [Contributed by Brecht Sanders] - Added support for OpenEXR 3. [Contributed by Cary Phillips] - Added an OPENVDB_NAMESPACE_SUFFIX CMake string option which provides the ability to customise the VDB namespace. - The Python Module now appends the base directory defined by Python_SITELIB to the default install path (typically dist-packages or site-packages). [Contributed by Ignacio Vizzo] @htmlonly @endhtmlonly @par Version 8.1.0 - June 11, 2021 @par
As of this release, support for grid ABI=5 has been removed.@par New features: - Added @vdblink::tools::erodeActiveValues() tools::erodeActiveValues@endlink, to match the existing @vdblink::tools::dilateActiveValues() tools::dilateActiveValues@endlink. New erosion tools support all tile policies and edge/vertex neighbor patterns. - Added support for automatic filtering of active tiles in @vdblink::tools::Filter Filter@endlink by setting @vdblink::tools::Filter::setProcessTiles Filter::setProcessTiles@endlink. Active tiles are densified on demand, only when necessary. - Added tools::visitNodesDepthFirst and tools::DepthFirstNodeVisitor which visit nodes in a tree or sub-tree in single-threaded depth-first order. - Significant performance improvements to AX volume kernels, primarily due to improved vectorization. Performance scales depending on the available host CPU instruction set and scalability of the AX kernel. Trivial assignments profile upwards of 3x faster on AVX. - Introduced Active Tile Streaming for volumes kernels. AX can now dynamically expand and collapse active nodes at all levels of a VDB tree on demand, switching on or off by checking the spatial access pattern of AX programs. - Added tools::countActiveVoxels() for multi-threaded counting of active voxels, optionally by bounding box. The Tree::activeVoxelCount() method now uses this implementation. - Added tools::memUsage() for multi-threaded counting of bytes of memory used. The Tree::memUsage() method now uses this implementation. - Added tools::SumMergeOp that uses a parallel breadth-first algorithm to accelerate summing grids. @par Improvements: - Significant performance improvements to large dilations with @vdblink::tools::dilateActiveValues() tools::dilateActiveValues@endlink. Performance gains will improve relative to increases in the inputs size and dilation scheme. - Added an optional argument to @vdblink::tree::Tree::topologyUnion() Tree::topologyUnion@endlink which preserves active tiles on the destination tree should they overlap leaf nodes from the source tree. - Reduced the time spent in the hot path of @vdblink::initialize() initialize@endlink and @vdblink::uninitialize() uninitialize@endlink by leveraging atomics with double-checked locks. [Contributed by Ben FrantzDale] - Extended @vdblink::tree::DynamicNodeManager DynamicNodeManager@endlink to allow for use with a const tree. - Replace tbb::mutex with std::mutex and tbb::atomic with std::atomic as these have now been removed in TBB 2021. [Contributed by Ben FrantzDale]. - Significant performance improvements to @vdblink::tools::activate() tools::activate@endlink and @vdblink::tools::deactivate() tools::deactivate@endlink through use of the DynamicNodeManager to parallelize tile processing. - Added degree() and radians() AX helper functions for converting radians to degrees and vice versa, respectively. - Added adjoint(), cofactor() and inverse() AX matrix functions. - Added sort(), argsort(), isfinite(), isinf() and isnan() AX utility and math functions. - Added Vec4 argument support to normalize() AX function. - Removed unused int16 AX modulo function signatures. - Refactored the backend AX representation of strings with SSO support and heap allocation. - Added new methods on the VolumeExecutable to control active tile streaming and node execution levels - The deletepoint() AX function is now natively supported by the PointExecutable - vdb_view: Fixed a bug which wouldn't reset the camera speed on focus - vdb_view: Improved the drawing of PointDataGrids - vdb_view: Improved the exception handling of BufferObjects and added support for drawing an array without index values @par Bug Fixes: - Fix a memory leak in AttributeArray when delayed-loading is disabled. - Fixed a crash in OpenVDB AX when declaring arrays with non-scalar elements (unsupported) i.e. {"foo", 1, 2}, {1, {1,2}, 3} etc. - Fixed a bug in OpenVDB AX which would cause an error when multiplying a vec3 by a mat4. - In OpenVDB AX, improved the error message produced when attempting to use a matrix literal (i.e. {1,2,3...}) in a binary expression (this is invalid but would previously print out bad IR). - Fixed a non-deterministic failure in the TestStreamCompression unit test. - Use copy-by-reference for the operator in a @vdblink::tree::DynamicNodeManager DynamicNodeManager@endlink to fix a performance regression. - @vdblink::tools::deactivate() tools::deactivate@endlink now also works with a MaskTree. - Fixed a memory leak in the OpenVDB AX parser - Fixed an occurrence of undefined behavior in the OpenVDB AX visitor - Fixed some memory leaks in the OpenVDB and OpenVDB AX unit tests - Fixed a bug in AX which could cause string allocations in loops to overflow the stack - Fixed a bug where the ValueOff iterator for the AX VolumeExecutable could remove child branches of a VDB tree. - Fixed a crash in the AX Houdini SOP with an empty PointDataGrid input. - Fixed all cases where PointIndex and PointData aliases were used instead of a templated type. [Reported by Karl Marrett] - Fixed a crash when calling openvdb::points::pointOffsets with an empty PointDataGrid input. - Add missing 8-bit and 16-bit attribute type registration. @par API changes: - Restructured the internals of Morphology.h and moved @vdblink::tools::activate() tools::activate@endlink and @vdblink::tools::deactivate() tools::deactivate@endlink to a new header, Activate.h. - Deprecated @vdblink::tools::dilateVoxels() tools::dilateVoxels@endlink and @vdblink::tools::erodeVoxels() tools::erodeVoxels@endlink in favour of new morphology methods. - The @vdblink::tools::Film tools::Film@endlink class no longer has a saveExr method in any build configuration. Sample code for saving exrs from this object can be found in the command line render tool. - Added ability to run @vdblink::tools::activate() tools::activate@endlink and @vdblink::tools::deactivate() tools::deactivate@endlink single-threaded. @par Houdini: - Updated the VDB Activate SOP and others to use the multi-threaded implementation for voxel dilation, providing a significant performance increase. - Introduced the VDB AX SOP which provides an interface for running OpenVDB AX code in Houdini on VDB grids. - Updated the VDB Smooth SOP to support the filtering of active tiles. - Fixed a parameter warning in VDB AX SOP. - Transfer Surface Attributes in Convert VDB SOP could use uninitialized memory. - VDB Activate SOP now uses the multi-threaded @vdblink::tools::deactivate() tools::deactivate@endlink for much faster performance. - Improved the formatting and updated the OpenVDB AX SOPs help card. - The AX SOP utilizes the new Active Tile Streaming feature for Volumes. Grids will only be densified in areas where unique values are created. - VDB Activate SOP dilation will affect tiles, changing its behavior from previous versions, but producing a more expected result. - VDB Activate SOP has a world space dilation option. - Introduced the VDB Merge SOP that merges multiple grids in parallel and is faster and more convenient to use than the VDB Combine SOP. - Fix a bug where the VDB Rebuild SDF was not preserving metadata from the input grid. - Fix a bug in VDB Resample SOP where input transform was not being used for voxel size and voxel scale transform modes. @par Build: - Dependency on OpenEXR's Half implementation has been removed from the core library by naturalizing the implementation into openvdb::math. This is fully bitwise compatible, but may require switching Half references to math::Half. The USE_IMATH_HALF build configuration can be used to switch back to OpenEXR based half. - Blosc, Log4cplus, IlmBase, OpenEXR and TBB find modules now configure release and debug library variants. [Reported by Matthew Cong] - Fixed an issue where FindBlosc wouldn't add zstd as a dep in non static builds BLOSC_USE_EXTERNAL_SOURCES. - Fixed Log4cplus interface language and missing interface libraries on Win32. - Removed Jemalloc and Tbbmalloc logic from the core library builds. - The variable CMAKE_MSVC_RUNTIME_LIBRARY is no longer set by the OpenVDB CMake. If CMAKE_MSVC_RUNTIME_LIBRARY is not explicitly provided, OpenVDB configures the static library with /MT(d) and the dynamic library with /MD(d). [Reported by Jérémie Dumas] - Added support for ABI=9 and a CMake option OPENVDB_USE_FUTURE_ABI_9 to use it without errors. - The value of CONCURRENT_MALLOC is now respected when building the vdb_ax command line binary. - Added an option OPENVDB_ENABLE_UNINSTALL to allow the toggling of the uninstall build target. [Contributed by Jérémie Dumas] - Improved the behavior of locating static zlib libraries when USE_STATIC_DEPENDENCIES is enabled. - Fixed an issue where extra hboost libraries could not be found when building against Houdini 18.5 on Windows. - Build fixes to OpenVDB AX for LLVM 12. - Re-introduced the OPENVDB_DEPRECATED macro with an additional option that takes a message. Added support to disable deprecations throughout OpenVDB by defining OPENVDB_NO_DEPRECATION_WARNINGS - Added an optional OPENVDB_TESTS variable to easily build a subset of the unit tests. - Fixed various incorrect RPATH directory paths in CMake (introduced in 8.0.1) [Contributed by Ignacio Vizzo]. - Removed some unnecessary CMake for vdb_view - The Windows defines NOMINMAX and _USE_MATH_DEFINES are now provided in Platform.h. - Moved the logic from PlatformConfig.h into Platform.h. - The version.h header is now an auto generated header (version.h.in) populated by CMake. The OpenVDB Version and ABI defines are computed from the installation settings. Importantly, the value of OPENVDB_ABI_VERSION_NUMBER now always matches the version used at build time. - Added OPENVDB_USE_HALF, OPENVDB_USE_BLOSC and OPENVDB_USE_ZLIB as publicly available defines in version.h. These will be defined depending on the settings used to build OpenVDB. @htmlonly @endhtmlonly @par Version 8.0.1 - February 5, 2021 @par Bug fixes: - Fixed a bug in the new CSG intersection merge algorithm where data outside of the intersection region was not being removed. @par Build: - Fixed various incorrect RPATH directory paths in CMake - Dropped the minimum boost requirement back to 1.61. - Documentation installed by the doc target is now installed to the share/doc/OpenVDB prefix @par Houdini: - VDB Combine SOP no longer attempts to invoke SDF CSG operations on bool grids because unary negation is undefined on bools in the template expansion. @htmlonly @endhtmlonly @par Version 8.0.0 - December 23, 2020 @par
This version introduces ABI changes relative to older major releases, so to preserve ABI compatibility it might be necessary to define the macro OPENVDB_ABI_VERSION_NUMBER=N, where, for example, N is 6 for Houdini 18.0 and 7 for Houdini 18.5.@par
Official release of OpenVDB AX, a new C++ library that implements a domain specific JIT (just-in-time) compiled expression language, providing users with a new way of interacting with OpenVDB data. AX is tailored towards writing highly parallelizable and customizable OpenVDB volume and point kernel operations. See the documentation for more.@par New features: - Added @vdblink::tools::anyActiveVoxels tools::anyActiveVoxels@endlink and @vdblink::tools::anyActiveTiles tools::anyActiveTiles@endlink that check if respectively active voxels or tiles in a tree intersect a given CoordBBox. - Added @vdblink::tools::activeTiles tools::activeTiles@endlink that returns a vector containing all the active tiles in a tree that intersects a given CoordBBox. @par Improvements: - Made LeafManager class non-virtual. @par Bug fixes: - Fixed a determinism bug in @vdblink::tree::NodeManager NodeManager@endlink when using non-thread-safe functor members. - Fix @vdblink::tools::GridTransformer grid transformer tool@endlink construction to use correct rotate-scale-translate order when recomposing matrix components. [Contributed by Tom Cnops] - OpenVDB AX: Fixed a potential code generation crash in binary, ternary or comma operators when errors occurred in first operand. @anchor v8_0_0_ABI_changes @par ABI changes: - @vdblink::Grid::isTreeUnique() Grid::isTreeUnique@endlink is now virtual as of ABI=8 so that it can be accessed from the GridBase. - Private method RootNode::getChildCount() has been removed as of ABI=8. - Mark map classes and functions as final for ABI=8 where beneficial to allow devirtualization optimization. - As of ABI 8, Vector, Matrix and Quaternion types now satisfy the Trivial Type requirement. Their empty constructors and copy constructors have been removed (and are left to the compiler to define). - As of ABI 8, removed an unnecessary specialization of NodeUnion and CopyTraits from NodeUnion.h. Replaced std::is_pod usage with std::is_trivially_copyable which allows more types to benefit from the union storage. - As of ABI 8, PointDataGrids use the union NodeUnion specialization, reducing the memory footprint of their topology by 50%. @par API changes: - Removed a number of deprecated point, volume and AX methods. @par Houdini: - VDB to Spheres SOP doesn't reset the radius when in worldspace mode. VDB Write SOP should likewise not reset the compression values. @par Build: - As of this release, VFX Reference Platform 2018 is no longer supported. CMake now issues deprecation warnings for 2019 VFX Reference Platform version dependencies, with the exception that OpenEXR/IlmBase 2.2 is still supported. - Added a missing header include to resolve an undefined size_t build error on GCC10. - Improved the python module's linkage with the CMake 3.15 Python::Module target. Explicitly linking with the Development target could result in crashes, particularly on macOS. [Reported by Alexander Hagen] - Removed OPENVDB_DEPRECATED macro in favor of C++14 [[deprecated]] attribute. @htmlonly @endhtmlonly @par Version 7.2.3 -
As of this release, support for grid ABI=4 has been removed.@par New features: - Added a novel parallel sparse @vdblink::tools::FastSweeping tools::FastSweeping@endlink class that outperforms our existing techniques for computing signed distance fields in addition to supporting velocity extension. - Added @vdblink::tools::fogToSdf tools::fogToSdf@endlink which converts a scalar (fog) volume into a signed distance. - Added @vdblink::tools::sdfToSdf tools::sdfToSdf@endlink which re-normalizes a signed distance field; - Added @vdblink::tools::fogToExt tools::fogToExt@endlink which extends an arbitrary field (e.g. velocity) off the iso-surface of a scalar (fog) volume. - Added @vdblink::tools::sdfToExt tools::sdfToExt@endlink which extends an arbitrary field (e.g. velocity) off the iso-surface of a signed distance field. - Added @vdblink::tools::fogToSdfAndExt tools::fogToSdfAndExt@endlink which computes a signed distance and extends an arbitrary field (e.g. velocity) off the iso-surface of a signed distance field. - Added @vdblink::tools::fogToSdfAndExt tools::fogToSdfAndExt@endlink which re-normalizes a signed distance and extends an arbitrary field (e.g. velocity) off the iso-surface of a signed distance field. - Added @vdblink::tools::dilateSdf tools::dilateSdf@endlink which dilates a signed distance field. - Added @vdblink::tools::maskSdf tools::maskSdf@endlink which extends an existing signed distance into a user-defined mask. - Added @vdblink::Grid::isTreeUnique() Grid::isTreeUnique@endlink to tell if the tree is shared with another grid. - Added @vdblink::points::PointDataLeafNode::stealAttributeSet() PointDataLeafNode::stealAttributeSet@endlink and @vdblink::points::AttributeSet::removeAttribute() AttributeSet::removeAttribute@endlink for releasing ownership of attribute data. - Added AttributeSet::Descriptor::groupIndexCollision for detecting group index collisions when attempting to merge two Descriptors. - Added @vdblink{tree::RootNode::childCount,RootNode::childCount}, @vdblink{tree::InternalNode::childCount,InternalNode::childCount} and @vdblink{tree::LeafNode::childCount,LeafNode::childCount} to count the number of immediate child nodes that exist below the current node. @par Improvements: - Added GroupWriteHandle::setUnsafe() for faster performance when the group array is known to be in-core and non-uniform. - Add support for default value metadata when creating AttributeArrays or appending to an AttributeSet. - Added new group inspection methods to the @vdblink::points::AttributeSet::Descriptor AttributeSet::Descriptor@endlink. - Introduced a @vdblink::points::StringMetaCache StringMetaCache@endlink class for convenient string attribute metadata lookup and performed some minor optimizations. - Removed redundant floor in @vdblink::points::floatingPointToFixedPoint floatingPointToFixedPoint@endlink. - Add gitignore to repository root. - Removed some logic for compilers older than Visual Studio 2019. - Add a new Houdini ABI test binary. - Fixed an indexing typo in tools::Filter. [Contributed by Yuanming Hu] - Removed redundant null pointer checks. [Contributed by Kuba Roth] - Added support for vdb_view on Windows. Requires GLEW. - Removed support for GLFW 2. - vdb_view now uses OPENVDB_LOG_FATAL when catching exceptions. - vdb_view, vdb_print and vdb_render now use std::terminate() when catching an unknown exception. - Removed Boost::thread as a dependency of vdb_view in favour of std::thread. - Removed usage of boost/integer.hpp and boost/math/constants/constants.hpp, the latter in favour of new openvdb math constants for pi - Removed usage of boost/mpl/*.hpp methods in favour of new template meta-programming methods on the @vdblink::TypeList TypeList@endlink struct. This now supports get, front, back, contains, index, unique, popback, popfront and range removal of types. - Changed the @vdblink::tree::NodeChain tree::NodeChain@endlink implementation to use an @vdblink::TypeList TypeList@endlink rather than a boost::mpl::vector and updated all usage of @vdblink::tree::NodeChain tree::NodeChain@endlink accordingly. @par Bug fixes: - Fixed a bug where grids with no active values might return true when the method evalActiveVoxelBoundingBox is called. The correct behavior is to only return true if the grid contains any active values. - Fixed a sign propagation bug in @vdblink::tools::traceExteriorBoundaries() tools::traceExteriorBoundaries@endlink used by @vdblink::tools::meshToVolume() tools::meshToVolume@endlink. This could cause values to not be propagated across node boundaries, leading to voxels incorrectly being marked as inside the isosurface. [Contributed by Tristan Barback] - Fixed a rotation order bug in the @vdblink::tools::local_util::decompose() decompose@endlink utility that caused it to fail to decompose some matrices. - Fixed a bug where @vdblink::math::Quat::inverse() Quat::inverse@endlink was not marked as const. [Contributed by Michael Tao] - Fixed a bug in the unit test for util::CpuTimer on Windows by using a more accurate sleep implementation. - Fixed a bug where the requested uniform value of an @vdblink::points::AttributeArray AttributeArray@endlink was not being applied on attribute creation if the default attribute value was not the default value for that value type. - Fixed a compiler error when using C++17 by changing std::unexpected() to std::terminate(). [Contributed by Mark Sisson] @par API changes: - Removed a number of deprecated point methods. - points::StringIndexType is now deprecated, use @vdblink::Index Index@endlink instead. - @vdblink{tools::PointPartitioner::voxelOffsets(),PointPartitioner::voxelOffsets} now returns a std::unique_ptr instead of a boost::scoped_array. - Renamed AttributeSet::Descriptor::nextUnusedGroupOffset() to AttributeSet::Descriptor::unusedGroupOffset() to allow for providing an optional group offset hint. @par Houdini: - Platonic SOP is now verbified. - Extend all SOP references to support VDB Points. - Combine SOP will not error in flatten-all mode if second has no grids. - Changed the label (but not the opname) of Resize Narrow Band SOP to match the corresponding native Houdini SOP. The new label is Activate SDF. - Fixed a bug by using @c GEO_Detail::getBBox() instead of @c GEO_Detail::computeQuickBounds() as the latter was incorrectly using the point of the VDB when computing bounding box. SOPs affected include Clip, Fill, Points Group, Rasterize Points, Read, Remove Divergence. [Contributed by Kuba Roth] - OpenVDB from Polygons SOP now always displays the vector UI, as otherwise it might be stuck hidden if the input hasn't cooked. - OpenVDB from Polygons and OpenVDB from Particles SOPs no longer require input geometry to have been cooked to offer a choice of attributes, the user may now also type in a value. @par Build: - Improved the CMake build for the OpenVDB Houdini library on Windows. [Reported by Ian Woodward] - Remove some logic for compilers older than Visual Studio 2019. - Fixed a bug in the CMake FindIlmBase/OpenEXR modules which could cause compilers on UNIX systems to fail to find stdlib.h if IlmBase/OpenEXR headers were installed to /usr/include. - CMake now checks the minimum supported MSVC compiler for Windows. - CMake now only requires a CXX compiler. - Improved the Windows README instructions and various MSVC warnings. - Remove CMake warning when using GLFW 3.2+ on Debian. - Various fixes to unary minus on unsigned compiler warnings. - The defines _CRT_NONSTDC_NO_WARNINGS and _CRT_SECURE_NO_WARNINGS are now enabled by default with MSVC. - New CMake option OPENVDB_BUILD_PYTHON_UNITTESTS to disable or enable the python module tests and fixed the required environment for them on Windows. The python interpreter is no longer required by default if the tests are disabled. - Improved the CMake user messages when locating python and numpy. - The python module extension is now .pyd on Windows. - Fixed some build issues with the Houdini plugin on Windows. - Standardized the library components install paths for the OpenVDB Houdini shared library. - Added a USE_PKGCONFIG option to CMake to optionally disable use of pkg-config. [Contributed by Kartik Shrivastava] - Standardized the dependency search paths in FindPackage modules using GNU install paths. - Added better library type detection of dependencies through FindPackage modules on UNIX. - Added missing TBB, OpenEXR and IlmBase defines for static builds on Windows through the relevant FindPackage modules. - Improved the logic in FindOpenVDB for static builds. - Fixed a compiler warning on Apple Clang 11.0 where the @vdblink::points::AttributeArray AttributeArray@endlink move constructor was being implicitly deleted despite being marked default. - Added an option BLOSC_USE_EXTERNAL_SOURCES to FindBlosc to include blosc dependencies as interface libraries. - Added a root CMake option USE_STATIC_DEPENDENCIES to force CMake to only locate static libraries on UNIX. On Windows, if enabled, located libraries are assumed to be static. - Added support for CMAKE_MSVC_RUNTIME_LIBRARY for compilers that target the MSVC ABI. Requires CMake 3.15 or greater. - Fixed an issue where OPENVDB_OPENEXR_STATICLIB was not being defined and OPENEXR_DLL was being defined when linking against static builds of OpenEXR/IlmBase on Windows. - Improved the behaviour of boost implicit linking with the Boost::disable_autolinking target. - Added support for importing pyopenvdb and openvdb_houdini through the FindOpenVDB CMake module - Removed the @c OPENVDB_2_ABI_COMPATIBLE and @c OPENVDB_3_ABI_COMPATIBLE macros. - Fixed a few GCC compiler warnings by adding override keywords. [Contributed by Edward Lam] - jemalloc/tbbmalloc are no longer linked into library artifacts of the OpenVDB CMake build. The @c CONCURRENT_MALLOC CMake option now only applies to the executables. - Introduced a new @c OpenVDB::openvdb_je interface target through the FindOpenVDB CMake module which adds Jemalloc as a link time dependency. - CMake build fix for the vdb_render binary on Windows when building statically and using OpenEXR 2.5 @htmlonly @endhtmlonly @par Version 7.0.0 - December 6, 2019 @par
Some changes in this release (see @ref v7_0_0_ABI_changes "ABI changes" below) alter the grid ABI so that it is incompatible with earlier versions of the OpenVDB library, such as the ones built into Houdini up to and including Houdini 18. To preserve ABI compatibility, when compiling OpenVDB or any dependent code define the macro OPENVDB_ABI_VERSION_NUMBER=N, where, for example, N is 5 for Houdini 17.0 and 17.5 and 6 for Houdini 18.0. As of this release, a C++14 compiler is required and the oldest supported Houdini version is 17.0.@par New features: - @vdblink{tools::LevelSetMeasure, tools::LevelSetMeasure} can now compute multiple types of curvatures (averge and total Gaussian and mean curvature) as well as Euler characteristic and genus of level set surfaces. - Most stencil classes now have an intersection method that detcts the axial directions of zero-crossings (as oppose to the existing boolean intersection test). - The @vdblink{math::CurvatureStencil, math::CurvatureStencil} can now compute Gaussian and principal curvatures (in addition to mean curvature). - Added @vdblink{tree::Tree::nodeCount,Tree::nodeCount}, which counts the number and type of nodes in a tree very efficiently. - Added new @vdblink::tree::RootNode::addChild() RootNode::addChild@endlink and @vdblink::tree::InternalNode::addChild() InternalNode::addChild@endlink methods to allow the insertion of child nodes directly. @par Improvements: - The minimum ABI for OpenVDB is now always enforced through CMake separately from other minimum dependency version variables. - Added support for CMake 3.12 compatible @c Xxx_ROOT variables. - Replaced the CMake @c USE_SYSTEM_LIBRARY_PATHS option with @c DISABLE_CMAKE_SEARCH_PATHS and removed the hard coded list of @c SYSTEM_LIBRARY_PATHS in favor of using CMake's default search procedure. @c SYSTEM_LIBRARY_PATHS can still be used as a global list of paths for all dependency searches. - Improvements to OpenVDB's CMake module setup order in regards to CMake policy, minimum version and project calls. - Replaced occurrences of boost::scoped_array with std::unique_ptr. - Added an OPENVDB_SIMD option to CMake to optionally define SSE4.2 and AVX compiler flags, this is switched off by default. - Made various small changes to improve Visual Studio compatiblity and deprecate some logic for compilers older than Visual Studio 2017. - Standardized CMake install locations using GNUInstallDirs. Importantly, this changes the default library installation folder from lib to lib64 on some 64-bit systems, or to lib/multiarch-tuple on Debian [Contributed by David Aguilar] - Added SIMD intrinsics to a few common NodeMask methods. [Contributed by Konstantin] @par Bug fixes: - Fixed a bug in FindJemalloc.cmake where paths were not being handled correctly. - Fixed a Windows build issue in openvdb_render. - Fixed a non deterministic threading bug in @vdblink::tools::meshToVolume() mesh to volume@endlink during polygon voxelization which could result in different distance values. @anchor v7_0_0_ABI_changes @par ABI changes: - OpFactory destructor is now virtual as of ABI=7 - Added new virtual methods for copying const grids and replacing the metadata and/or the transform - @vdblink::GridBase::copyGridReplacingMetadata() GridBase::copyGridReplacingMetadata@endlink, @vdblink::GridBase::copyGridReplacingTransform() GridBase::copyGridReplacingTransform@endlink and @vdblink::GridBase::copyGridReplacingMetadataAndTransform() GridBase::copyGridReplacingMetadataAndTransform@endlink. - AttributeArray copy constructor is now thread-safe. @par API changes: - @vdblink{tools::VolumeToMesh::pointList(),VolumeToMesh::pointList} and @vdblink{tools::VolumeToMesh::polygonPoolList(),VolumeToMesh::polygonPoolList} now return a std::unique_ptr instead of a boost::scoped_array. - @vdblink::points::AttributeArray::copyUncompressed() AttributeArray::copyUncompressed@endlink is now deprecated. @par Python: - Removed the requirement of CMake 3.14 for NumPy usage. - Added support for Boost versions 1.65 and later when building the Python module with NumPy support through CMake. - Improved CMake Python3 support. - The Python Module is now disabled by default in CMake. @par Houdini: - Fixed a bug in the Points Convert SOP during conversion from Houdini geometry to OpenVDB Points, where point group information could end up corrupted or cause a crash with non-contiguous point offsets (mesh inputs). - Threaded the population of point group memberships during conversion from Houdini geometry to OpenVDB Points - Added logic to the Rasterize Points SOP to suppress the output of non-finite attribute values due to subnormal input densities. - Introduced a position compression option to the Scatter SOP for VDB Points and default to 16-bit fixed point. @htmlonly @endhtmlonly @par Version 6.2.1 - September 30, 2019 @par Bug fixes: - Fixed a crash that arose from an inadvertent ABI change of an I/O class with the 6.2.0 release. The crash occured when attempting to write out a point data grid using an I/O routine from a different version of OpenVDB than the one with which the grid was authored and when one of those OpenVDB versions was 6.2.0. @htmlonly @endhtmlonly @par Version 6.2.0 - September 18, 2019 @par New features: - Added @vdblink{tools::FindActiveValues,FindActiveValues}, which counts the active values in a tree that intersect a given bounding box. - Added @vdblink{io::DelayedLoadMetadata,DelayedLoadMetadata}, which stores mask offsets and compression sizes on write to accelerate delayed load reading. @par Improvements: - @vdblink{tree::LeafNode::modifyValue(),LeafNode::modifyValue} and @vdblink{tree::LeafNode::modifyValueAndActiveState(), LeafNode::modifyValueAndActiveState} now modify voxel values in place for improved performance. - Added @vdblink{math::isInfinite(),math::isInfinite} and @vdblink{math::isNan(),math::isNan} to resolve Visual Studio compatibility issues with integer types. - Made minor performance improvements to moving and filtering VDB points. - Improved performance related to a mutex contention when appending multiple @vdblink{points::AttributeArray,AttributeArray}s in parallel through various point operations. - Significantly improved the performance of @vdblink::tools::createLevelSetSphere() createLevelSetSphere@endlink using threading. - Improved directory and file path lookups of some CMake commands in the root CMakeLists.txt. [Reported by Daniel Elliott] - Improved CMake support for GLFW versions 3.1 and later. - FindOpenVDB.cmake now correctly propagates @c CXX version requirements. - Added CMake support for linking against Jemalloc and TBB malloc and enabled Jemalloc by default for Linux and non-Maya builds and TBB malloc for all other builds. - Added a @c USE_COLORED_OUTPUT option to CMake to display compiler output in color. - Added an @c OPENVDB_CODE_COVERAGE option to CMake. - CMake now automatically detects and configures the CXX11 ABI requirement for Houdini builds. - CMake now issues deprecation warnings for 2017 VFX Reference Platform version dependencies. In particular, C++11-only compilers are now deprecated; OpenVDB 7.0 will require a C++14-compatible compiler. @par Bug fixes: - Replaced @b std::vector with @b std::deque as the underlying container for @vdblink{util::PagedArray,PagedArray}, to address a rare crash when reading from multiple threads while writing from another thread. - Fixed a bug that could cause an empty @vdblink{math::CoordBBox::volume(),CoordBBox} to report nonzero volume. - Fixed a bug in @vdblink{tools::computeScalarPotential(),computeScalarPotential} that could produce a corrupt result due to invalid memory access. [Reported by Edwin Braun] - Partially reverted the @vdblink{tools::ClosestSurfacePoint,ClosestSurfacePoint} tool’s distance calculations to their pre-OpenVDB 5.0 behavior to address a bug in the @vdblink{tools::fillWithSpheres(),fillWithSpheres} tool that caused generated spheres to sometimes extend outside the target volume. - CMake now correctly sets rpaths for the unit test binary. - Addressed a Valgrind warning by allocating the point attribute array @vdblink{points::AttributeArray::registerType,registry} using a Meyers singleton. [Contributed by Autodesk] @par ABI changes: - ABI versions 3 and older are now deprecated, and support for them will be removed in a future release. Until then, define the macro @c OPENVDB_USE_DEPRECATED_ABI (or set the CMake @c OPENVDB_USE_DEPRECATED_ABI option to @c ON) to suppress deprecation messages when compiling OpenVDB or dependent code. @par API changes: - Changed @vdblink{points::RandomLeafFilter::LeafMap,RandomLeafFilter::LeafMap} from a @b std::map to a @b std::unordered_map. - Removed the @b TableT template argument from @vdblink{util::PagedArray,PagedArray}. The table type is now hardcoded to @b std::deque. - The minimum supported version of GLFW is now 3.1. @par Python: - CMake now always produces a .so for the Python module on Linux and Unix platforms. - Fixed a compile-time error when building the Python module for Python 3. [Reported by yurivict] @par Houdini: - OpenVDB SOPs are now displayed in an ASWF sub-menu of the VDB tab menu. - Added API documentation and examples. - Added @hvdblink{GEOvdbApply,GEOvdbApply}, which invokes a functor on a VDB primitive if the resolved grid type is a member of a given type list. - Fixed a regression in the Fill SOP that caused it to modify VDBs in the input detail. - The Combine SOP no longer crashes in Copy B mode when the destination is not a VDB. - Added an @hulink{OpFactory::addSpareData(),OpFactory::addSpareData} method and @hulink{addOperatorSpareData(),addOperatorSpareData} and @hulink{getOperatorSpareData(),getOperatorSpareData} functions to manage spare data associated with operator types. - Added an @c opsparedata HScript command and @c hou.NodeType.spareData and @c hou.NodeType.spareDataDict methods to retrieve spare data associated with operator types. - Added a pythonrc.py startup script to set the tab menu visibility of nodes and their native Houdini equivalents, based on an OPENVDB_OPHIDE_POLICY environment variable. - Added an @hulink{OpFactory::setInvisible(),OpFactory::setInvisible} method to hide nodes from tab menus. - Added an @hvdblink{OpenVDBOpFactory::setNativeName(),OpenVDBOpFactory::setNativeName} method to pair OpenVDB nodes with their native Houdini equivalents. - Added an @hulink{OpPolicy::getTabSubMenuPath(),OpPolicy::getTabSubMenuPath} method to allow @b OpPolicy subclasses to provide their own tab sub-menu path. - OpenVDB nodes now override @b OP_Operator::getVersion to return a version string of the form @c "vdb6.2.0 houdini18.0.222". @htmlonly @endhtmlonly @par Version 6.1.0 - May 8, 2019 @par
As of this release, the oldest supported Houdini version is 16.5.@par New features: - Added new @vdblink::QuatTraits QuatTraits@endlink, @vdblink::MatTraits MatTraits@endlink and @vdblink::ValueTraits ValueTraits@endlink type traits to complement @vdblink::VecTraits VecTraits@endlink and added an @vdblink::IsSpecializationOf IsSpecializationOf@endlink helper metafunction. - Added support for @vdblink::Vec4SMetadata Vec4s@endlink, @vdblink::Vec4DMetadata Vec4d@endlink and @vdblink::Vec4IMetadata Vec4i@endlink metadata. - Added a generic @vdblink::TypeList TypeList@endlink class. - Added @vdblink::GridBase::apply() GridBase::apply@endlink, which invokes a functor on a grid if the resolved grid type is a member of a given type list. - Added @vdblink::util::printTime() printTime@endlink, which outputs nicely formatted time information. - Added a @link std::hash
Some changes in this release (see @ref v6_0_0_ABI_changes "ABI changes" below) alter the grid ABI so that it is incompatible with earlier versions of the OpenVDB library, such as the ones built into Houdini up to and including Houdini 17. To preserve ABI compatibility, when compiling OpenVDB or any dependent code define the macro OPENVDB_ABI_VERSION_NUMBER=N, where, for example, N is 3 for Houdini 15, 15.5 and 16, 4 for Houdini 16.5 and 5 for Houdini 17.0.@par New features: - Added support to the @link ParticlesToLevelSet.h ParticlesToLevelSet@endlink tool for fast rasterization of particles into boolean mask grids. - Added convenience functions @vdblink::tools::particlesToSdf() particlesToSdf@endlink, @vdblink::tools::particleTrailsToSdf() particleTrailsToSdf@endlink, @vdblink::tools::particlesToMask() particlesToMask@endlink and @vdblink::tools::particleTrailsToMask() particleTrailsToMask@endlink for common particle rasterization use cases. - Added batch copying functions @vdblink::points::AttributeArray::copyValues() AttributeArray::copyValues@endlink and @vdblink::points::AttributeArray::copyValuesUnsafe() AttributeArray::copyValuesUnsafe@endlink that significantly outperform the older @vdblink::points::AttributeArray::set() AttributeArray::set@endlink method. @par Improvements: - Improved the responsiveness of the @link MeshToVolume.h mesh to volume@endlink converter to interrupt requests. - Attempts to use a partially deserialized @vdblink::points::AttributeArray AttributeArray@endlink now errors. - Updated point deletion to use faster batch copying for ABI=6+. - Methods relating to in-memory Blosc compression for @vdblink::points::AttributeArray::compress() AttributeArray@endlink now do nothing and have been marked deprecated resulting in memory savings for ABI=6+. @par Bug fixes: - Fixed various signed/unsigned casting issues to resolve compiler warnings when moving points in point data grids. @anchor v6_0_0_ABI_changes @par ABI changes: - Added multiple new virtual functions to @vdblink::points::AttributeArray AttributeArray@endlink. - Changed the order and size of member variables in @vdblink::points::AttributeArray AttributeArray@endlink and @vdblink::points::TypedAttributeArray TypedAttributeArray@endlink. @par API changes: - Removed a number of methods that were deprecated in version 5.0.0 or earlier. - Removed the experimental @b ValueAccessor::newSetValue method. - Deprecated @vdblink::points::AttributeArray::compress() AttributeArray@endlink methods relating to in-memory Blosc compression. @par Houdini: - The Convert and To Polygons SOPs now correctly transfer vertex attributes when the output is a polygon soup. - Added an option to the Visualize SOP to display leaf nodes as points. - Renamed the Visualize SOP’s leafmode, internalmode, tilemode and voxelmode parameters to leafstyle, internalstyle, etc. and converted them from ordinals to strings. - Made various improvements to viewport rendering of point data grids. - Added a ParmFactory::setInvisible method to allow parameters to be marked as hidden. This is useful for multi-parms, whose child parameters cannot be made obsolete. - Removed the option to use in-memory Blosc compression from the Points Convert SOP as this feature has now been deprecated. - Made various small changes for Houdini 17 compatibility. @htmlonly @endhtmlonly @par Version 5.2.0 - August 13, 2018 @par New features: - Added @link points/PointAdvect.h tools@endlink to advect points stored in point data grids through velocity fields. [Contributed by Dan Bailey] - For point data grids, voxel data can now be @vdblink::points::prefetch() prefetched@endlink independently of position or other attributes. [Contributed by Dan Bailey] - Added @link points/PointSample.h tools@endlink to sample voxel values onto points stored in point data grids. [Contributed by Double Negative] @par Improvements: - The @vdblink::tools::UniformPointScatter UniformPointScatter@endlink tool now generates points in “points per volume” mode even when the product of the density and the voxel volume is less than one, and the point count now varies continuously with the density. - Added a minimum/maximum sphere count argument to the @vdblink::tools::fillWithSpheres() fillWithSpheres@endlink tool. (The previous version, now deprecated, supported only a maximum sphere count.) - Added a method to the level set tracking tool to enable and disable @vdblink::tools::LevelSetTracker::setTrimming() trimming@endlink of voxels outside the narrow band. Previously, trimming was always enabled, which caused dense SDFs to be converted to narrow-band level sets. - Added @b state methods to point data @link points/IndexFilter.h index filters@endlink to improve optimization opportunities. [Contributed by Dan Bailey] - Added @vdblink::points::ActiveFilter active@endlink and @vdblink::points::InactiveFilter inactive@endlink value mask point data index filters. [Contributed by Dan Bailey] - Replaced include/exclude group list parameters with filter functors in various point data functions. [Contributed by Dan Bailey] - Refactored and simplified the @link points/PointCount.h point count@endlink API. [Contributed by Dan Bailey] - Computing cumulative per-leaf point offsets is now parallelized. [Contributed by Dan Bailey] - Made various small changes for Visual Studio 2017 compatibility. [Contributed by Edward Lam] @par Bug fixes: - Fixed a bug that could cause an infinite loop when iterating over an empty root node. - Fixed namespace-related bugs in @vdblink::math::Tuple::isZero() Tuple::isZero@endlink and @vdblink::math::Mat::isZero() Mat::isZero@endlink that led to compile-time errors. - Fixed type conversion bugs in the vector-to-vector rotation function that made it impossible for it to return a single-precision rotation matrix, and modified the function to accept @b Vec3 arguments of any value type. - Fixed a bug in the @link MeshToVolume.h mesh to volume@endlink converter that made it uninterruptible in certain cases even though an interrupter was provided. [Reported by Doug Epps] @par Houdini: - Added an option to the From Particles SOP to output an interior mask grid. - Added options to the Metadata SOP to set the grid name and to propagate metadata to primitive attributes and vice-versa. - Modified convertVolumesToVDBs to set the output VDBs’ grid names to the names of the volume primitives. - Added an option to the Offset Level Set, Renormalize Level Set, Smooth Level Set and Resize Narrow Band SOPs to enable and disable trimming of voxels outside the narrow band. Previously, trimming was always enabled, which caused dense SDFs to be converted to narrow-band level sets. - Fixed a bug in the Resample SOP that prevented it from reading a reference VDB from the second input. - Added an option to the Scatter SOP to scatter points only on an isosurface of a signed distance field. - The Scatter SOP now generates points in Point Density mode even when the product of the density and the voxel volume is less than one, and the point count now varies continuously with the density. - Added a minimum sphere count option to the To Spheres SOP. - Added enable/disable toggles to the To Spheres SOP’s minimum and maximum radius parameters and eliminated the world space radius parameters. The remaining minimum and maximum parameters, formerly the voxel space radii, are now used in both world unit and voxel unit modes. - Added transform and rotation order options to the Transform SOP. - Added support to the Advect Points SOP for advecting points stored in point data grids. [Contributed by Dan Bailey] - Added support to the Sample Points SOP for sampling onto points stored in point data grids. [Contributed by Double Negative] @htmlonly @endhtmlonly @par Version 5.1.0 - April 10, 2018 @par New features: - Added an option to @vdblink::points::deleteFromGroups() points::deleteFromGroups@endlink to delete the groups as well as the points. [Contributed by Nick Avramoussis] - Added a @c header_test Makefile target that checks library header files for dependencies on missing or indirectly included headers. [Contributed by Dan Bailey] - Added support for @vdblink::math::Mat3s Mat3s@endlink and @vdblink::math::Mat3d Mat3d@endlink point data @vdblink::points::TypedAttributeArray typed attributes@endlink. [Contributed by Dan Bailey] @par Improvements: - Added per-test timings to vdb_test to help in identifying performance regressions. - @vdblink::zeroVal zeroVal@endlink now returns a zero matrix instead of an identity matrix for @vdblink::math::Mat4s Mat4s@endlink and @vdblink::math::Mat4d Mat4d@endlink, and it is now also defined (and returns a zero matrix) for @vdblink::math::Mat3s Mat3s@endlink and @vdblink::math::Mat3d Mat3d@endlink. @par Python: - Fixed a bug introduced in version 3.2.0 that caused boolean and integer values added to a grid’s metadata to be stored as floating-point values. @par Houdini: - Added options to the Clip SOP to expand or shrink the clipping region and, when clipping to a camera frustum, to set the near and far clipping planes. - Added output grid naming options to the Points Convert SOP. - Added a Keep Original Geometry toggle to the Points Convert SOP and improved the efficiency of point unpacking. [Contributed by Dan Bailey] - Added an option to the Points Delete SOP to delete point groups. [Contributed by Nick Avramoussis] - Fixed a rare crash when extracting points from a point data primitive. [Contributed by Jeff Lait] - Added a @b SOP_NodeVDB::evalStdString method that facilitates string parameter evaluation in expressions, e.g., matchGroup(*gdp, evalStdString("group", time)). - Removed the deprecated @b openvdb_houdini::validateGeometry function. Use @b convertGeometry instead. - Added a @b SOP_NodeVDB::matchGroup overload that eliminates the need to @c const_cast the @b GU_Detail. [Contributed by Jeff Lait] - Grid transforms are now more aggressively simplified, making it less likely to produce nonuniform voxels erroneously. [Contributed by Jeff Lait] - Fixed a bug when copying and pasting a Create SOP that could cause the Voxel Size toggle to change state. - Added a @b houdini_utils::OpFactory::setVerb method to register compilable SOPs. - Made @b SOP_NodeVDB::cookMySop @c final (that is, non-overridable) to facilitate the implementation of compilable SOPs. Override @b SOP_NodeVDB::cookVDBSop instead. (In most cases, it suffices to rename @b cookMySop to @b cookVDBSop.) - Renamed some parameters on the following SOPs to match the equivalent native Houdini nodes: Advect, Advect Points, Analysis, Combine, Filter, Fracture, From Particles, From Polygons, Morph Level Set, Occlusion Mask, Offset Level Set, Points Group, Resample, Resize Narrow Band, Smooth Level Set, Topology To Level Set, Vector Merge, and Visualize. - Added @b SOP_VDBCacheOptions, a convenience base class for compilable SOPs. [Contributed by Jeff Lait] - Converted most SOPs into compilable SOPs. @htmlonly @endhtmlonly @par Version 5.0.0 - November 6, 2017 @par
Some changes in this release (see @ref v5_0_0_ABI_changes "ABI changes" below) alter the grid ABI so that it is incompatible with earlier versions of the OpenVDB library, such as the ones built into Houdini up to and including Houdini 16. To preserve ABI compatibility, when compiling OpenVDB or any dependent code define the macro OPENVDB_ABI_VERSION_NUMBER=N, where, for example, N is 3 for Houdini 15, 15.5 and 16 and 4 for Houdini 16.5.@par New features: - Added a @vdblink::getLibraryAbiVersionString() getLibraryAbiVersionString@endlink function, which returns a string such as "5.0.0abi3". - Added a @vdblink::WeakPtr weak pointer@endlink type alias for ABI compatibility. - Metadata fields of unregistered types are no longer discarded after being read from a .vdb file, and although their values are not printable, they can be written back to disk. - Added a @c DESTDIR_LIB_DIR Makefile variable for Linux multiarch support. [Contributed by Mathieu Malaterre] - Added tools to create @link tools/PotentialFlow.h potential flow@endlink fields, as described in the 2017 SIGGRAPH OpenVDB course. [Contributed by Double Negative] - Added @link points/PointMask.h tools@endlink to create mask grids from point data grids and to compute @vdblink::points::pointCountGrid() point counts@endlink. [Contributed by Dan Bailey] - Added @link points/PointScatter.h tools@endlink to scatter @ref secPtOverview "OpenVDB points" randomly throughout a volume. [Contributed by Nick Avramoussis] @par Improvements: - Significantly improved the performance of point data grid @vdblink::points::MultiGroupFilter group filters@endlink. [Contributed by Double Negative] @par Bug fixes: - Fixed bugs in the @vdblink::tools::ClosestSurfacePoint ClosestSurfacePoint@endlink tool’s distance calculations that caused searches to produce incorrect results. - Fixed a locking issue that affected multithreaded access to @vdblink::points::PointDataLeafNode PointDataLeafNode@endlinks when delayed loading was in effect. [Contributed by Dan Bailey] @anchor v5_0_0_ABI_changes @par ABI changes: - Made @vdblink::tree::InternalNode InternalNode@endlink’s destructor non-virtual. - The @ref v4_0_2_delayed_load_fix "fix" for a delayed-loading race condition in the @vdblink::tree::LeafBuffer LeafBuffer@endlink class that was only partially rolled out in the previous release is now enabled on all platforms. - Replaced a bit flag with an atomic integer in @vdblink::points::AttributeArray points::AttributeArray@endlink to address a threading issue during delayed loading. [Contributed by Dan Bailey] - Deprecated the @c OPENVDB_2_ABI_COMPATIBLE and @c OPENVDB_3_ABI_COMPATIBLE macros in favor of a new @c OPENVDB_ABI_VERSION_NUMBER macro. The new macro defaults to the library major version number but can be set at compile time to an earlier version number to disable ABI changes since that version. (Older ABIs will not be supported indefinitely, however.) For example, compile OpenVDB and any dependent code with -DOPENVDB_ABI_VERSION_NUMBER=4 to use the 4.x ABI. @par API changes: - Replaced @b tools::ClosestSurfacePoint::initialize with @vdblink::tools::ClosestSurfacePoint::create() tools::ClosestSurfacePoint::create@endlink, which returns a newly-allocated and properly initialized object. - Removed methods that were deprecated in version 4.0.0 or earlier, including @b io::File::readGridPartial, @b points::initialize, @b points::uninitialize and @b util::PagedArray::pop_back. - Deprecated IllegalValueException in favor of @vdblink::ValueError ValueError@endlink. - Changed the naming scheme for the @link OPENVDB_VERSION_NAME library namespace@endlink from openvdb::vX_Y_Z to openvdb::vX_YabiN, where @e X, @e Y, @e Z and @e N are the major, minor, patch and ABI version numbers, respectively. The abiN suffix is added only when the library is built using an older ABI version. @par Python: - Reimplemented NumPy support for Boost 1.65 compatibility. @par Houdini: - Fixed bugs that caused the Ray SOP’s closest surface point searches to produce incorrect results. - Changed the @b VdbPrimCIterator::FilterFunc type from @b boost::function to @b std::function. - Changed the @b houdini_utils::OpPolicyPtr type from @b boost:shared_ptr to @b std::shared_ptr. - Debug-level log messages generated by OpenVDB are no longer forwarded to Houdini’s error manager. - Fixed a bug in the Read SOP that made it impossible to select among grids of the same name in a file. - Added @b houdini_utils::ParmFactory::setAttrChoiceList, a convenience method for the creation of menus of attributes. - Added a Potential Flow SOP. [Contributed by Double Negative] - Added point data grid support to the Scatter SOP. [Contributed by Nick Avramoussis] - Added mask and point count output options to the Points Convert SOP. [Contributed by Dan Bailey] @htmlonly @endhtmlonly @par Version 4.0.2 - July 28, 2017 @par New features: - Added @vdblink::tools::compActiveLeafVoxels compActiveLeafVoxels@endlink, which composites active voxel values from a source tree into a destination tree. It is threaded and faster than existing tools that merge trees, however it operates only on leaf nodes. - Added a vdb_test -f option that reads a list of tests to be run from a text file. - Added functions for @link points/PointDelete.h deleting points@endlink from point data grids based on group membership. [Contributed by Double Negative] - Enabled display of point data grids in vdb_view. [Contributed by Nick Avramoussis] - Added a view mode indicator to vdb_view. - Added @vdblink::math::Mat::isFinite() isFinite@endlink, @vdblink::math::Mat::isNan() isNan@endlink, and @vdblink::math::Mat::isZero() isZero@endlink methods to @vdblink::math::Mat math::Mat@endlink and added @vdblink::math::Tuple::isZero() isZero@endlink to @vdblink::math::Tuple math::Tuple@endlink. - Added @vdblink::tools::interiorMask() tools::interiorMask@endlink, which constructs a boolean mask grid from the active voxels of an input grid or, if the input grid is a level set, from the interior voxels of the level set. - Added @vdblink::math::CoordBBox::begin() begin@endlink and @vdblink::math::CoordBBox::end() end@endlink iterator methods (and related methods) to @vdblink::math::CoordBBox CoordBBox@endlink, so that it can be used in range-based for loops. - The @link tools/Clip.h clip@endlink tool now accepts either a box, a mask grid or a camera frustum as the clipping region. The latter is new in this version. @par Improvements: - Moved the @vdblink::math::Tuple::isFinite() isFinite@endlink, @vdblink::math::Tuple::isInfinite() isInfinite@endlink, and @vdblink::math::Tuple::isNan() isNan@endlink methods from @vdblink::math::Vec3 math::Vec3@endlink et al. to @vdblink::math::Tuple math::Tuple@endlink. @par Bug fixes: - @anchor v4_0_2_delayed_load_fix Fixed a delayed-loading race condition that could result in crashes. [Reported by Dan Bailey]
@b Note: To preserve ABI compatibility, this fix is currently enabled only on platforms for which the alignment of a tbb::atomic<uint32_t> is the same as for a @c uint32_t. On other platforms, warnings will be logged during OpenVDB initialization, and it is recommended to disable delayed loading in that case (for example, by defining the environment variable @c OPENVDB_DISABLE_DELAYED_LOAD).- Fixed a delayed-loading memory leak in the @vdblink::points::PointDataLeafNode PointDataLeafNode@endlink. [Contributed by Double Negative] - Changed the random number seeding mechanism for .vdb file UUIDs to avoid duplicate IDs. [Reported by Jason Lefley] - Fixed an off-by-one bug in the @vdblink::tools::GridResampler resampler@endlink that produced grid patterns of missing interior voxels for scale factors greater than one. @par Houdini: - As of Houdini 16.0.549, @c houdini_utils::OpFactory can generate help cards for operators automatically. New @c OpFactory::setDocumentation and @c ParmFactory::setDocumentation methods allow one to add custom help text in wiki markup format. - Added help cards for all SOPs. Houdini 16.0.578 or later is required. [Contributed by Dan Bailey and SideFX] - The Extended Operator Info window in Houdini 16 now renders correctly for OpenVDB SOPs, instead of displaying a Python stack trace. [Contributed by Dan Bailey] - Added a Points Delete SOP for deleting points from point data grids based on group membership. [Contributed by Double Negative] - Added a Mantra VRAY procedural and a delayed load SHOP for rendering point data grids. Houdini 16 is required. [Contributed by Double Negative] - Replaced the Combine SOP’s “A/B Pairs” and “Flatten” toggles with a menu of collation options that include flattening only A grids and flattening groups of A grids independently. - Added a slider to the Remove Divergence SOP to set the error tolerance for the pressure solver. - Added value type conversion options (for VDB output) to the Convert SOP. - Added a Densify SOP that replaces active tiles with leaf voxels. - Fixed a bug in the Rasterize Points SOP that capped density values to one instead of to the particles’ densities. - The Convert and To Polygons SOPs now accept grids of any type as surface masks, not just level set or SDF grids. - Added an option to the Clip SOP to clip to a camera frustum. @htmlonly @endhtmlonly @par Version 4.0.1 - March 8, 2017 @par New features: - Added functions to util/logging.h to simplify configuration of the logging system (via command-line arguments, in particular). - Added @vdblink::tree::LeafManager::activeLeafVoxelCount() LeafManager::activeLeafVoxelCount@endlink, a faster, threaded alternative to @vdblink::tree::Tree::activeLeafVoxelCount() Tree::activeLeafVoxelCount@endlink. - Added a -shuffle option that causes vdb_test to run unit tests in random order, which can help to identify unintended dependencies between tests. - Added @c vdb_lod, a command-line tool to generate volume mipmaps for level-of-detail effects. - Added methods to compute the median value of @vdblink::tree::LeafNode::medianOn() active@endlink, @vdblink::tree::LeafNode::medianOff() inactive@endlink or @vdblink::tree::LeafNode::medianAll() all@endlink voxels in leaf nodes. @par Improvements: - Added a @vdblink::Metadata::str() Metadata::str@endlink specialization for @vdblink::StringMetadata StringMetadata@endlink that eliminates the overhead of writing to a string stream. - Made various minor improvements to @vdblink::util::PagedArray util::PagedArray@endlink. - Added an @c install_lib build target to the Makefile. [Contributed by Double Negative] - Added @subpage points "documentation" and Cookbook @ref openvdbPointsHelloWorld "examples" for OpenVDB Points. [Contributed by Double Negative] - Registration of OpenVDB Points grid and attribute types is now handled in @vdblink::initialize() openvdb::initialize@endlink, and @vdblink::points::initialize() points::initialize@endlink and @vdblink::points::uninitialize() points::uninitialize@endlink are therefore deprecated. - Extended multi-pass I/O to handle a variable number of passes per leaf node. [Contributed by Double Negative] - Addressed a name conflict between macros in util/NodeMasks.h and symbols in the Eigen library. [Reported by Trevor Thomson] @par Bug fixes: - The @vdblink::tools::fillWithSpheres() fillWithSpheres@endlink and @vdblink::tools::ClosestSurfacePoint ClosestSurfacePoint@endlink tools now correctly handle isosurfaces outside the input volume’s narrow band. - The @vdblink::tools::MultiResGrid MultiResGrid@endlink tool now supports all standard grid types, including @vdblink::BoolGrid BoolGrid@endlink and @vdblink::MaskGrid MaskGrid@endlink. - @vdblink::tree::LeafNode::fill() LeafNode::fill@endlink now correctly clips the fill region to the node’s bounding box. - @vdblink::Grid::denseFill() Grid::denseFill@endlink no longer densifies all existing active tiles, and it now correctly handles both active and inactive fill values. - Fixed a bug that caused @vdblink::tools::copyToDense() tools::copyToDense@endlink to only partially populate the output array when delayed loading was in effect. [Reported by Stuart Levy] - Fixed an issue with duplicate registration of @link points/PointDataGrid.h PointDataGrid@endlink attribute types. [Reported by SideFX] - Fixed an uninitialized memory bug in the @vdblink::tools::meshToVolume() mesh to volume@endlink converter. [Reported by SideFX] - Fixed a thread race condition in @vdblink::math::QuantizedUnitVec QuantizedUnitVec@endlink that could cause it to produce incorrect results. [Contributed by Jeff Lait] - Fixed a dangling pointer bug in the @vdblink::tools::ParticleAtlas particle atlas@endlink tool. [Contributed by SideFX] - Grid operators (@vdblink::tools::divergence() divergence@endlink, @vdblink::tools::gradient() gradient@endlink, etc.) now produce correct results even for grids with active tile values. - Fixed a bug when writing an out-of-core @vdblink::points::AttributeArray points::AttributeArray@endlink that could cause corruption of the metadata associated with the array. [Contributed by Double Negative] @par Python: - Added functions @c getLoggingLevel, @c setLoggingLevel, and @c setProgramName, to allow configuration of the logging system. @par Houdini: - Fixed a crash in the Ray SOP when the user selected an isosurface outside the target volume’s narrow band. - The LOD SOP now supports all standard grid types, including boolean grids. - Added @c houdini_utils::ParmFactory::setGroupChoiceList, a convenience method for the creation of menus of primitive groups. - Made various small changes for Houdini 16 compatibility. [Contributed by SideFX] - The Create SOP now supports matching the new grids’ transform, voxel size, and topology to a reference grid. If the topology is being matched, it can optionally be resampled to a different voxel size. - Added some support for point data grids to the Clip, Topology To Level Set and Visualize SOPs. [Contributed by Double Negative] - Compression is no longer enabled by default in the Points Convert SOP for normals and colors, because they are not guaranteed to have a [0, 1] range. [Contributed by Double Negative] - Added a 16-bit truncation compression option to the Points Convert SOP. [Contributed by Double Negative] - Fixed a build issue with the GR_PrimVDBPoints render hook plugin that could cause @c hython to report a DSO error. [Reported by Double Negative] - Added an @c install_lib build target to the Makefile. - Rewrote the Remove Divergence SOP to actually remove divergence from vector fields on collocated grids, and added support for stationary and moving obstacles and an option to output a pressure field. - The Analysis SOP now produces correct results for grids with active tile values. - Added a sparse/dense toggle to the Fill SOP. - Added @c openvdb_houdini::startLogForwarding, @c openvdb_houdini::stopLogForwarding and @c openvdb_houdini::isLogForwarding, which control the forwarding of log messages to Houdini’s error manager. Forwarding of library warnings and error messages is now enabled by default for SOPs when OpenVDB is built with log4cplus. @htmlonly @endhtmlonly @par Version 4.0.0 - November 15, 2016 @par Highlights: - Incorporated Double Negative’s OpenVDB Points library. - Introduced some C++11 constructs. A C++11-compatible compiler is now required. - Blosc-compressed .vdb files are now as much as 20% smaller. - Vector-valued grids are now constructed and destroyed much faster.
@b Note: This change and other changes in this release (see @ref v4_0_0_ABI_changes "ABI changes" below) alter the grid ABI so that it is incompatible with earlier versions of the OpenVDB library, such as the ones built into Houdini 15, 15.5 and 16. To disable these changes and preserve ABI compatibility, define the macro @c OPENVDB_3_ABI_COMPATIBLE when compiling OpenVDB or any code that depends on OpenVDB.@par New features: - Added an option to the @link PointScatter.h point scattering@endlink tools to specify how far each point may be displaced from the center of its host voxel or tile. - Added a toggle to the @vdblink::tools::clip() clip@endlink tool to invert the clipping mask. - Custom leaf node implementations may now optimize their file layout by inheriting from @vdblink::io::MultiPass io::MultiPass@endlink. Voxel data for grids with such leaf nodes will be written and read in multiple passes, allowing blocks of related data to be stored contiguously. [Contributed by Double Negative] - Added @vdblink::tree::Tree::unallocatedLeafCount() Tree::unallocatedLeafCount@endlink, which returns the number of leaf nodes with unallocated data buffers (typically due to delayed loading). @par Improvements: - Vector-valued grids are now constructed and destroyed much faster. - Changed @vdblink::math::Coord Coord@endlink’s data representation to facilitate C++11 uniform initialization. - Delayed loading from @vdblink::io::File io::Files@endlink is now faster due to the use of seeks instead of reads. [Contributed by Double Negative] - Made many small changes to address type conversion and other warnings reported by newer compilers, including Clang 3.8. - Improved Blosc compression ratios and write times by increasing the block size. [Contributed by Dan Bailey] @par Bug fixes: - Fixed a bug that caused topology operations (@vdblink::Grid::topologyUnion() union@endlink, @vdblink::Grid::topologyIntersection() intersection@endlink and @vdblink::Grid::topologyDifference() difference@endlink) on @vdblink::MaskGrid MaskGrids@endlink to sometimes produce incorrect results. (MaskGrids are used internally in a number of tools.) - Changed @vdblink::GridBase::copyGrid() GridBase::copyGrid@endlink and @vdblink::Grid::copy() Grid::copy@endlink to close const-correctness holes. - @vdblink::tools::fillWithSpheres() tools::fillWithSpheres@endlink now returns an empty list of spheres instead of crashing when the user selects an isosurface that lies outside the bounding volume’s narrow band. - Fixed a null pointer dereference when copying grids that were loaded with @c io::File::readGridPartial. [Reported by Nick Avramoussis] @anchor v4_0_0_ABI_changes @par ABI changes: - Added a @vdblink::tree::NodeUnion NodeUnion@endlink template specialization for non-POD value types that significantly expedites construction and destruction of vector-valued grids. - Changed @vdblink::math::Coord Coord@endlink’s data representation to facilitate C++11 uniform initialization. - Replaced occurrences of boost::shared_ptr with std::shared_ptr. - Changed @vdblink::GridBase::copyGrid() GridBase::copyGrid@endlink and @vdblink::Grid::copy() Grid::copy@endlink to close const-correctness holes. - Added virtual function @vdblink::tree::Tree::unallocatedLeafCount() Tree::unallocatedLeafCount@endlink. @par API changes: - Introduced some C++11 constructs. A C++11-compatible compiler is now required. - Added a parameter to the @link PointScatter.h point scattering@endlink tools to control the displacement of each point from the center of its host voxel or tile. The default behavior, as before, is to allow each point to be placed (randomly) anywhere within its voxel or tile. - Renamed @c LeafManager::getPreFixSum to @vdblink::tree::LeafManager::getPrefixSum() LeafManager::getPrefixSum@endlink. - Made @c LeafNode::Buffer a top-level class and renamed it to @vdblink::tree::LeafBuffer LeafBuffer@endlink. [Contributed by Double Negative] - Deprecated @c io::File::readGridPartial in favor of delayed loading. - @c tools::ClosestSurfacePoint::initialize now returns a boolean indicating whether initialization was successful. - Dropped the @c CopyPolicy enum and added @vdblink::GridBase::copyGridWithNewTree() GridBase::copyGridWithNewTree@endlink and @vdblink::Grid::copyWithNewTree() Grid::copyWithNewTree@endlink in order to close const-correctness holes that allowed newly-constructed, non-const grids to share their trees with existing const grids. (Where that behavior is still required, use a @vdblink::ConstPtrCast ConstPtrCast@endlink.) @par Python: - Fixed a build issue with Python 3 and NumPy. [Contributed by Jonathan Scruggs] @par Houdini: - Certain changes in this release (see @ref v4_0_0_ABI_changes "ABI changes" above) alter the grid ABI so that it is incompatible with earlier versions of the OpenVDB library, such as the ones built into Houdini 15, 15.5 and 16. To disable these changes and preserve ABI compatibility, define the macro @c OPENVDB_3_ABI_COMPATIBLE when compiling OpenVDB or any code that depends on OpenVDB. - Introduced some C++11 constructs that are incompatible with versions of Houdini older than 15.0. - Fixed a bug in the Rasterize Points SOP that caused vector-valued attributes to be transferred as scalars. [Contributed by Double Negative] - Added a toggle to the Clip SOP to invert the clipping mask. - Added a slider to the Scatter SOP to specify how far each point may be displaced from the center of its host voxel or tile. @htmlonly @endhtmlonly @par Version 3.2.0 - August 10, 2016 @par Highlights: - New features: tool to produce and store a sequences of progressively lower resolution grids (mipmaps), an acceleration structure for fast range and nearest-neighbor searches on particles, arbitrary volume and level set specific segmentation tools, a new binary mask grid type and an efficient point to level set conversion scheme. - Optimizations: Faster volume to mesh conversion and threaded grid destruction, morphological dilation, csg operations and fracture tool. - New Houdini nodes: Segment, LOD and Topology To Level Set. @par New features: - Added @link MultiResGrid.h tools::MultiResGrid@endlink a tool to produce and store a sequences of progressively lower resolution grids (mipmaps). - Added @link ParticleAtlas.h tools::ParticleAtlas@endlink an acceleration structure for fast range and nearest-neighbor searches on particles, points with radius. - Added @vdblink::tools::segmentActiveVoxels() segmentActiveVoxels@endlink, which operates on grids of arbitrary type and separates connected components of a grid’s active voxels into distinct grids or trees. - Added @vdblink::tools::segmentSDF() segmentSDF@endlink, which separates disjoint signed-distance-field surfaces into distinct grids or trees. - Added @vdblink::tools::extractActiveVoxelSegmentMasks() extractActiveVoxelSegmentMasks@endlink, which constructs a mask for each connected component of a grid’s active voxels. - Added threaded level-set CSG tools @vdblink::tools::csgUnionCopy() csgUnionCopy@endlink, @vdblink::tools::csgIntersectionCopy() csgIntersectionCopy@endlink and @vdblink::tools::csgDifferenceCopy() csgDifferenceCopy@endlink, which, unlike the existing CSG tools, produce new grids rather than modifying their input grids. These new tools are faster and use less memory than the existing tools (if only because the input grids never need to be deep-copied). - Added a threaded @vdblink::tools::dilateActiveValues dilateActiveValues()@endlink tool with tile value support. - Added a @vdblink::tools::PointsToMask PointsToMask@endlink tool, which activates voxels that intersect points from a given list. - Added a new @link openvdb.h MaskGrid@endlink type that uses a single bit-field to represent both voxel values and states for the @link tree/LeafNodeMask.h leafnode@endlink to reduce memory usage. - Added a @vdblink::tools::topologyToLevelSet() topologyToLevelSet@endlink tool that generates a level set from the implicit boundary between active and inactive voxels in an input grid of arbitrary type. - Added @link LevelSetPlatonic.h tools::LevelSetPlatonic@endlink a new tool that produces narrow-band level sets of the five Platonic solids. - Added @vdblink::tools::extractIsosurfaceMask() extractIsosurfaceMask@endlink which masks voxels that intersect the implicit surface defined by the given isovalue. - Added a @vdblink::tree::LeafManager::getPrefixSum() getPrefixSum@endlink method to the @vdblink::tree::LeafManager LeafManager@endlink, for user-managed external buffers. - Added a @vdblink::tools::Dense::print() print@endlink method to the @vdblink::tools::Dense Dense@endlink grid class. - Added the @vdblink::math::CoordBBox::Iterator CoordBBox::Iterator@endlink class to conveniently iterate over coordinates covered a CoordBBox. - Added bit-wise operations to the @vdblink::math::CoordBBox CoordBBox@endlink class. - New component wise constructor for the @vdblink::math::CoordBBox CoordBBox@endlink class as well as the method @vdblink::math::CoordBBox::getCornerPoints CoordBBox::getCornerPoints@endlink. - Added a new @vdblink::tree::LeafManager LeafManager@endlink constructor to create the structure from an existing array of leafnodes. - Added active tile count to @vdblink::tree::Tree::print Tree::print@endlink. - Added the templated @vdblink::math::MinMax MinMax@endlink class to compute the extrema of arbitrary value types. - Added @vdblink::Grid::sparseFill() sparseFill@endlink and @vdblink::Grid::denseFill() denseFill@endlink methods to the Grid, Tree and RootNode classes. @par Improvements: - Complete overhaul of the @vdblink::tools::VolumeToMesh VolumeToMesh@endlink tool brings significant performance improvements and enhanced region masking, tile support and bool volume surfacing. - Improved the performance, parallel scaling and memory usage, of @vdblink::tools::LevelSetFracture tools::LevelSetFracture@endlink and updated to use the new @vdblink::tools::segmentSDF() segmentSDF@endlink scheme. - Improved the performance of @vdblink::tools::LevelSetAdvection tools::LevelSetAdvection@endlink by up to five times. - Improved the performance of @vdblink::tree::Tree::voxelizeActiveTiles() Tree::voxelizeActiveTiles@endlink by means of multi-threading. - Improved the performance of the @vdblink::tools::meshToVolume() mesh-to-volume converter@endlink, particularly for large narrow-band widths and for signed distance fields with dense interior regions. - Threaded the Tree destructor and the @vdblink::tree::Tree::clear() Tree::clear@endlink method. - Added a parameter to the @vdblink::tools::signedFloodFill() signedFloodFill@endlink and @vdblink::tools::signedFloodFillWithValues() signedFloodFillWithValues@endlink tools to constrain the flood fill to specific levels of the tree. - Added @vdblink::tree::LeafManager::reduce LeafManager::reduce@endlink and similar methods to @vdblink::tree::NodeManager NodeManager@endlink [Contributed by Brett Tully] - Improved constructors of @vdblink::math::Mat3 math::Mat3@endlink and @vdblink::math::Mat4 Mat4@endlink. - Added @vdblink::math::Mat3::cofactor Mat3::cofactor@endlink. - Added @vdblink::math::Mat3::setRows Mat3::setRows@endlink, @vdblink::math::Mat4::setRows Mat4::setRows@endlink, @vdblink::math::Mat3::setColumns Mat3::setColumns@endlink and @vdblink::math::Mat4::setColumns Mat4::setColumns@endlink. - Added @vdblink::util::NodeMask::isConstant NodeMask::isConstant@endlink method for faster bit processing. - @vdblink::tools::prune tools::prune@endlink performs an improved estimate of tile values by means of medians. - Added toggle to switch between cell centered and node centered transforms to @vdblink::tools::PointPartitioner tools::PointPartitioner@endlink @par Bug fixes: - Fixed a bug in @vdblink::tools::LevelSetAdvection tools::LevelSetAdvection@endlink that could cause non-deterministic behavior. [Reported by Jeff Lait] - Fixed a bug that allowed for unexpected implicit conversion between grids of different value types. - Fixed a bug whereby the origins of leaf nodes with value type @c bool were ignored during equality comparisons. - The @vdblink::tools::GridTransformer grid transformer tool@endlink now correctly handles affine transforms with shear and/or reflection. - Fixed a bug in the @vdblink::tools::meshToVolume() mesh-to-volume converter@endlink that could produce incorrect distances for large bandwidths. - Fixed a bug in @vdblink::tools::meshToVolume() mesh-to-volume converter@endlink that produced different results on machines with different core counts. - Fixed a threading bug in the @vdblink::tools::compReplace() compReplace@endlink tool that could cause crashes. - Resolved a floating-point exception in @vdblink::math::QuantizedUnitVec::pack() math::QuantizedUnitVec::pack@endlink caused by calling the method with a zero-length vector. [Contributed by Rick Hankins] - Improved the API of @vdblink::tools::Dense Dense@endlink with non-const access methods. - Fixed a potential threading bug in @vdblink::io::Queue io::Queue@endlink. [Contributed by Josip Šumečki] - Fixed a possible division-by-zero bug in openvdb/tools/LevelSetAdvect.h. [Contributed by Rick Hankins] - Corrected the @vdblink::math::outerProduct outer product@endlink method to not return the transpose result. [Contributed by Gergely Klar] - Fixed a memory overallocation issue in @vdblink::tools::VolumeAdvection VolumeAdvection@endlink. - Fix bug in @vdblink::tools::VolumeToMesh tools::VolumeToMesh@endlink failing to clear its state when exiting early. [Contributed by Edward Lam] - Fixed bug in @vdblink::tools::PointIndexIterator::worldSpaceSearchAndUpdate tools::PointIndexIterator::worldSpaceSearchAndUpdate@endlink that resulted in missing point indices. [Reported by Rick Hankins] - Fixed Windows build issues in unit tests. [Contributed by Edward Lam and Steven Caron] - Fixed @vdblink::math::isApproxZero() isApproxZero@endlink so that it works correctly when tolerance is zero. [Reported by Joshua Olson] - Fixed bugs in @vdblink::tree::NodeUnion NodeUnion@endlink that could cause crashes. - Fixed memory leak in a @vdblink::tools::meshToVolume tools::meshToVolume@endlink sub-tool (expandNarrowband). [Reported by Kévin Dietrich] - Fixed parameter type inconsistencies in @link math/Stencils.h@endlink and @link tools/RayIntersector.h@endlink. [Contributed by Kévin Dietrich and Nick Avramoussis] - Fixed a bug in the @vdblink::tools::VolumeToMesh VolumeToMesh@endlink tool that produced artifacts for adaptive surface extraction on clipped level sets. [Reported by Jeff Lait] - Corrected empty grid background value in @vdblink::tools::meshToVolume() mesh-to-volume converter@endlink [Contributed by Jeff Lait] - Fixed a bug in @vdblink::tools::volumeToMesh volume-to-mesh converter@endlink that could produce NaNs.[Reported by Rick Hankins] - Fixed a bug in the "Advect Points SOP" that could cause a crash when the input grids were of incorrect type.[Reported by SideFX] @par API changes: - Deprecated @c math::Mat3::setBasis and @c math::Mat4::setBasis. - Renamed @c GudonovsNormSqrd to @vdblink::math::GodunovsNormSqrd GodunovsNormSqrd@endlink [Contributed by Branislav Radjenovic] - Renamed @c ValueType to @c PosType in the PointArray interface. - Deprecated tree::Tree::addLeaf(LeafNode&) and added tree::Tree::addLeaf(LeafNode*). @par Python: - Updated the Python module for Python 3 compatibility. - Updated the Python module for Boost 1.60 compatibility, to address “no to_python (by-value) converter found” exceptions. @par Maya: - Fixed bugs related to data ownership, and improved error checking. [Contributed by Crawford Doran] - Updated the Read and Write DAG nodes to support file sequences and subframe evaluation. @par Houdini: - Added a Segment SOP that separates a grid’s connected components into distinct grids. - Added a LOD SOP that produces a sequences of progressively lower resolution grids. - Added a Topology To Level Set SOP that generates a narrow-band signed distance field / level set from the interface between active and inactive voxels in an arbitrary grid. - Revamped the From Particles SOP UI and added a more efficient level set conversion method that supports Houdini 15 packed points. - Updated the Rasterize Points SOP with support for frustum transforms, sub region masking and orientation logic that matches the native Copy SOP’s orientation. - Updated the Platonic SOP with support for all five Platonic solids. - Added hooks for registering SOP_NodeVDB text callbacks for different grid types. [Contributed by Nick Avramoussis] - The Resample and Combine SOPs now correctly handle affine transforms with shear and/or reflection. - Removed the StaggeredBoxSampler code path in SOP_OpenVDB_Advect because it introduces bias. [Contributed by Fredrik Salomonsson] - Fixed a bug in the Ray SOP whereby the distance attribute was created with the wrong data type. [Contributed by Nick Avramoussis] - The From Polygon SOP now allows the user to either specify the voxel count along an axis or the voxel size in world units (the only option in the past). @htmlonly @endhtmlonly @par Version 3.1.0 - October 1, 2015 @par Highlights: - New features: advection of arbitrary volumes, general-purpose preconditioned linear solver and Poisson solver, segmentation of topologically-enclosed regions of a volume, new and faster bitmask operators, concurrent paged array, volume diagnostics - Optimizations: threaded grid constructors and topology operations; faster mesh to volume conversion, SDF to fog volume conversion and grid pruning; faster, unbounded particle partitioning - New Houdini nodes: Advect, Diagnostics, Rasterize Points, Remap, Remove Divergence, Sort Points @par New features: - Added a @vdblink::tools::VolumeAdvection volume advection@endlink tool for sparse advection of non-level-set volumes. - Added a preconditioned @vdblink::math::pcg::solve() conjugate gradient solver@endlink. - Added a @vdblink::tools::poisson::solve() Poisson solver@endlink for functions sampled on grids. - Added @vdblink::tools::extractEnclosedRegion extractEnclosedRegion@endlink, which detects topologically-enclosed (watertight) exterior regions (cavities) that can result from CSG union operations between level sets with concavities that are capped. (See the unit test @c TestPoissonSolver::testSolveWithSegmentDomain for an example in which this tool is used to identify regions of trapped fluid when solving for pressure in a volume of incompressible fluid.) - Added @vdblink::util::PagedArray PagedArray@endlink, a concurrent, dynamic linear array data structure with fast O(1) value access (both random and sequential). - Added @vdblink::tools::Sampler Sampler@endlink, which provides a unified API for both staggered and non-staggered interpolation of various orders. - Added equality and inequality operators to @vdblink::Metadata Metadata@endlink and @vdblink::MetaMap MetaMap@endlink. - Added @vdblink::tools::CheckLevelSet CheckLevelSet@endlink and @vdblink::tools::CheckFogVolume CheckFogVolume@endlink tools that perform various tests on symmetric, narrow-band level sets and fog volumes, respectively, to diagnose potential issues. - Added support for value accessors that are not registered with their trees. (Bypassing accessor registration can improve performance in rare cases but should be used with caution, since the accessor will be left in an invalid state if the tree topology is modified.) - Added a @vdblink::tree::Tree::stealNodes() stealNodes@endlink method that transfers ownership of all nodes in a tree of a certain type and inserts them into a linear array. - Added a @vdblink::tools::createLevelSetBox() tools::createLevelSetBox@endlink factory function for level-set grids. - Added @vdblink::tools::Dense::offsetToCoord() Dense::offsetToCoord@endlink. - Added @vdblink::tree::LeafBuffer::data() LeafNode::Buffer::data@endlink, which provides direct access to a leaf node’s voxel value array, avoiding out-of-core overhead. Use with caution. - Added a @vdblink::util::NodeMask::foreach() NodeMask::foreach@endlink method for efficient evaluation of complex bitwise operations. - Added a bitwise difference method to @vdblink::util::NodeMask::operator-=() NodeMask@endlink. - Added a @c -version option to @c vdb_print, @c vdb_render and @c vdb_view. @par Improvements: - Deep, conversion and topology copy @vdblink::Grid Grid@endlink constructors are now threaded and up to five times faster. - @vdblink::Grid::topologyUnion() Grid::topologyUnion@endlink, @vdblink::Grid::topologyIntersection() Grid::topologyIntersection@endlink, and @vdblink::Grid::topologyDifference() Grid::topologyDifference@endlink are now much faster due to threading. - Significantly improved the performance, parallel scaling and memory usage of the @vdblink::tools::meshToVolume() mesh to volume@endlink converter, and implemented a more robust inside/outside sign classification scheme. - Reimplemented the @vdblink::tools::PointPartitioner point partitioning@endlink tool for improved performance, concurrency and memory usage. The tool is now unbounded in the sense that points may be distributed anywhere in index space. - Significantly improved the performance of the @vdblink::tools::sdfToFogVolume() SDF to fog volume@endlink converter. - Significantly improved the performance of the @vdblink::tools::sdfInteriorMask() sdfInteriorMask@endlink tool and added support for both grid and tree inputs. - Made various optimizations and improvements to the @vdblink::tools::LevelSetMorphing level set morphing@endlink tool. - Aggregated @vdblink::tools::DiscreteField DiscreteField@endlink and @vdblink::tools::EnrightField EnrightField@endlink (formerly in tools/LevelSetAdvect.h) and @vdblink::tools::VelocitySampler VelocitySampler@endlink and @vdblink::tools::VelocityIntegrator VelocityIntegrator@endlink (formerly in tools/PointAdvect.h) into a single header, tools/VelocityFields.h. - Modified the @vdblink::tools::signedFloodFill() signed flood fill@endlink tool to accept grids of any signed scalar value type, not just floating-point grids. - The @vdblink::tools::prune() prune@endlink tool is now faster, and it employs an improved compression technique on trees with floating-point values. @par Bug fixes: - Fixed a build issue that could result in spurious “Blosc encoding is not supported” errors unless @c OPENVDB_USE_BLOSC was @#defined when compiling client code. - Added NaN and inf checks to the @vdblink::tools::PointPartitioner point partitioning@endlink tool. - Fixed a vdb_view issue whereby the frame buffer size did not necessarily match the window size. [Contributed by Rafael Campos] - Fixed a roundoff issue in @vdblink::tools::LevelSetTracker LevelSetTracker@endlink that could result in NaNs. - Changed @vdblink::tools::CheckNormGrad CheckNormGrad@endlink to check the magnitude of the gradient rather than the square of the magnitude. - Fixed parameter type inconsistencies in math/Ray.h and tools/RayIntersector.h. [Contributed by Kévin Dietrich] - Fixed incorrect handling of signed values in the @vdblink::tools::clip() clip@endlink tool (and the Clip SOP). @par API changes: - Removed the math::Hermite class since it was no longer used and caused build issues for some. - Refactored the @vdblink::tools::LevelSetAdvection level set advection@endlink, @vdblink::tools::LevelSetFilter level set filtering@endlink, @vdblink::tools::LevelSetMeasure level set measuring@endlink and @vdblink::tools::LevelSetTracker level set tracking@endlink tools. - Extended the API of the @vdblink::tools::Diagnose Diagnose@endlink tool and disabled copy construction. - Extended and unified the API of various Samplers. - Added an optional template argument to the @vdblink::tree::ValueAccessor ValueAccessor@endlink class to allow for unregistered accessors. @par Houdini: - Added a Rasterize Points SOP that produces density volumes and transfers arbitrary point attributes using a weighted-average scheme. The node incorporates a VOP subnetwork for procedural modeling, and its accompanying creation script defines a default network with VEX procedures for cloud and velocity field modeling. (See the creation script file header for installation details.) - Merged the Advect Level Set SOP into a new Advect SOP that supports advection of arbitrary volumes, not just level sets. - Added a Remove Divergence SOP that eliminates divergence from a velocity field. - Added a Diagnostics SOP that can identify various problems with level sets, fog volumes and other grids. - Added a Sort Points SOP that spatially reorders a list of points so that points that are close together in space are also close together in the list. This can improve CPU cache coherency and performance for random-access operations. - Added a Remap SOP that maps voxel values in an input range to values in an output range through a user-defined transfer function. - Added an option to the Convert SOP to activate interior voxels. [Contributed by SESI] - The To Spheres SOP can now optionally output a pscale attribute. - Added openvdb_houdini::SOP_NodeVDB::duplicateSourceStealable(), which in conjunction with the Unload flag can help to minimize deep copying of grids between nodes. The Advect, Convert, Fill, Filter, Fracture, Noise, Offset Level Set, Prune, Remap, Remove Divergence, Renormalize Level Set, Resize Narrow Band, Smooth Level Set and Transform SOPs all have this optimization enabled, meaning that they can potentially steal, rather than copy, data from upstream nodes that have the Unload flag enabled. [Contributed by Double Negative] - Redesigned the UI of the Visualize SOP and added toggles to draw with or without color, to use the grid name as the attribute name for points with values, and to attach grid index coordinates to points. - Added toggles to the Filter, Rebuild Level Set, Resize Narrow Band, Smooth Level Set and To Spheres SOPs to specify units in either world space or index space. - Fixed an issue whereby grids generated by the Rebuild Level Set SOP did not always display as surfaces in the viewport. - The Metadata SOP now sets appropriate viewport visualization options when the grid class is changed. @htmlonly @endhtmlonly @par Version 3.0.0 - January 14, 2015 - The @vdblink::io::File File@endlink class now supports delayed loading of .vdb files, meaning that memory is not allocated for voxel values until the values are actually accessed. (This feature is enabled by default.) Until a grid has been fully loaded, its source .vdb file must not be modified or deleted, so for safety, @vdblink::io::File::open() File::open@endlink automatically makes private copies of source files that are smaller than a user-specified limit (see @vdblink::io::File::setCopyMaxBytes() File::setCopyMaxBytes@endlink). The limit can be set to zero to disable copying, but if it cannot be guaranteed that a file will not be modified, then it is best not to enable delayed loading for that file. - .vdb files can now optionally be compressed with the Blosc LZ4 codec. Blosc compresses almost as well as ZLIB, but it is much faster. - Added @vdblink::tools::PointPartitioner PointPartitioner@endlink, a tool for fast spatial sorting of points stored in an external array, and @link PointIndexGrid.h PointIndexGrid@endlink, an acceleration structure for fast range and nearest-neighbor searches. - Added @link NodeManager.h tree::NodeManager@endlink, which linearizes a tree to facilitate efficient multithreading across all tree levels. - Added @vdblink::tools::prune() tools::prune@endlink (and other variants), which replaces and outperforms @c Tree::prune. - Added @vdblink::tools::signedFloodFill() tools::signedFloodFill@endlink, which replaces and outperforms @c Tree::signedFloodFill. - Added @vdblink::tools::changeBackground() tools::changeBackground@endlink (and other variants), which replaces and outperforms @c Tree::setBackground(). - Added a fast but approximate narrow-band level set @vdblink::tools::LevelSetTracker::dilate() dilation@endlink method, a fast narrow-band level set @vdblink::tools::LevelSetTracker::erode() erosion@endlink method, and a @vdblink::tools::LevelSetTracker::normalize(const MaskType*) masked normalization@endlink method to @vdblink::tools::LevelSetTracker LevelSetTracker@endlink. - Added @vdblink::tools::Diagnose Diagnose@endlink, which performs multithreaded diagnostics on grids to identify issues like values that are NaNs or out-of-range. It optionally generates a boolean grid of all values that fail user-defined tests. - Added optional alpha masks to @vdblink::tools::LevelSetMorphing LevelSetMorphing@endlink. - Fixed an intermittent crash in @vdblink::tools::LevelSetMorphing LevelSetMorphing@endlink. - Added @c tools::topologyToLevelSet(), which generates a level set from the implicit boundary between active and inactive voxels in an arbitrary input grid. [DWA internal] - Improved the performance of point scattering (by orders of magnitude) and added a @vdblink::tools::DenseUniformPointScatter DenseUniformPointScatter@endlink class as well as support for fractional numbers of particles per voxel. - Improved the performance and memory footprint of the @vdblink::tools::ParticlesToLevelSet ParticlesToLevelSet@endlink tool for large numbers (tens to hundreds of millions) of particles. - Added edge-adjacent (6+12=18 neighbors) and vertex-adjacent (6+12+8=26 neighbors) dilation algorithms to @vdblink::tools::morphology::Morphology::dilateVoxels Morphology::dilateVoxels@endlink. The default dilation pattern is still face-adjacent (6 neighbors). - Added @vdblink::tree::Tree::getNodes() Tree::getNodes@endlink, which allows for fast construction of linear arrays of tree nodes for use in multithreaded code such as the @vdblink::tree::LeafManager LeafManager@endlink or @link NodeManager.h tree::NodeManager@endlink. - Added @vdblink::math::Extrema math::Extrema@endlink and @vdblink::tools::extrema() tools::extrema@endlink to efficiently compute minimum and maximum values in a grid. - Added support for material color grids to all level set @vdblink::tools::BaseShader shaders@endlink, and added an option to @c vdb_render that allows one to specify a reference grid to be used for material color lookups. - Added @vdblink::getLibraryVersionString() getLibraryVersionString@endlink and @link OPENVDB_LIBRARY_VERSION_STRING@endlink. - Modified the mesh to volume converter to always set the grid background value to the exterior narrow-band width, and added finite value checks to narrow band parameters. - @vdblink::tools::volumeToMesh() tools::volumeToMesh@endlink now compiles for all grid types but throws an exception if the input grid does not have a scalar value type. - Added a @vdblink::io::File::readGrid(const Name&, const BBoxd&) File::readGrid@endlink overload and @vdblink::GridBase::readBuffers(std::istream&, const CoordBBox&) readBuffers@endlink overloads to the grid, tree and node classes that allow one to specify a bounding box against which to clip a grid while reading it. For large grids, clipping while reading can result in significantly lower memory usage than clipping after reading. - Added @vdblink::GridBase::clipGrid() GridBase::clipGrid@endlink, which clips a grid against a world-space bounding box, and @vdblink::GridBase::clip() GridBase::clip@endlink and @vdblink::tree::Tree::clip() Tree::clip@endlink, which clip against an index-space bounding box. - Added @vdblink::tools::clip() tools::clip@endlink, which clips a grid either against a bounding box or against the active voxels of a mask grid. - @c io::File::readGridPartial allocates the nodes of a grid’s tree as before, but it now allocates leaf nodes without data buffers. (This feature is mainly for internal use. Partially-read grids should be used with care if at all, and they should be treated as read-only.) - Grid names retrieved using a @vdblink::io::File::NameIterator File::NameIterator@endlink now always uniquely identify grids; they no longer generate ‘more than one grid named “x”’ warnings when there are multiple grids of the same name in a file (for files written starting with this version of the OpenVDB library). - Fixed a bug in @vdblink::tree::Tree::ValueOffIter Tree::ValueOffIter@endlink that could cause @vdblink::tree::TreeValueIteratorBase::setMaxDepth() depth-bounded@endlink iterators to return incorrect values. - Eliminated a recursive call in @vdblink::tree::TreeValueIteratorBase::next() TreeValueIteratorBase::next@endlink that could cause crashes on systems with a limited stack size. - Fixed memory leaks in @vdblink::tree::RootNode::topologyDifference() RootNode::topologyDifference@endlink and @vdblink::tree::RootNode::topologyIntersection() RootNode::topologyIntersection@endlink. - Fixed a memory leak in @vdblink::io::Queue io::Queue@endlink when the queue was full and a write task could not be added within the timeout interval. - Fixed a potential division by zero crash in @vdblink::tools::compDiv() tools::compDiv@endlink with integer-valued grids. - Fixed kernel normalization in the @vdblink::tools::Filter filter tool@endlink so that it is correct for integer-valued grids. - Fixed a bug in @vdblink::tree::LeafBuffer::getValue() LeafNode::Buffer::getValue@endlink whereby Visual C++ would return a reference to a temporary. [Contributed by SESI] - Fixed a bug in @vdblink::tools::ParticlesToLevelSet tools::ParticlesToLevelSet@endlink related to attribute transfer when leaf nodes are produced without active values. - Added @vdblink::util::CpuTimer util::CpuTimer@endlink and removed the more simplistic @c unittest_util::CpuTimer from @c unittest/util.h. - Eliminated the use of @c getopt for command-line argument parsing in @c vdb_test. - @vdblink::initialize() openvdb::initialize@endlink now properly initializes log4cplus if it is enabled, eliminating “No appenders could be found” errors. - Fixed a bug in the @vdblink::math::QuantizedUnitVec::pack() QuantizedUnitVec::pack@endlink method that caused quantization artifacts. - Added convenience class @vdblink::tools::AlphaMask AlphaMask@endlink - Added constructors and methods to both @vdblink::math::RandInt RandInt@endlink and @vdblink::math::Rand01 Rand01@endlink to set and reset the random seed value. - Added convenience methods for @vdblink::math::Transform::indexToWorld(const BBoxd&) const transforming@endlink @vdblink::math::Transform::worldToIndex(const BBoxd&) const bounding@endlink @vdblink::math::Transform::worldToIndexCellCentered(const BBoxd&) const boxes@endlink to @vdblink::math::Transform math::Transform@endlink. - @c vdb_view is now compatible with both GLFW 2 and GLFW 3. - Made many small changes to address type conversion and other warnings reported by newer compilers like GCC 4.8 and ICC 14. - Replaced the @c HALF_INCL_DIR and @c HALF_LIB_DIR Makefile variables with @c ILMBASE_INCL_DIR and @c ILMBASE_LIB_DIR and added @c ILMBASE_LIB, to match OpenEXR’s library organization. [Contributed by Double Negative] - Eliminated most local (function-scope) static variables, because Visual C++ doesn’t guarantee thread-safe initialization of local statics. [Contributed by SESI] - Fixed a bug in @vdblink::readString() readString@endlink related to empty strings. [Contributed by Fabio Piparo] - Fixed a bug in the @vdblink::tools::VolumeToMesh VolumeToMesh@endlink simplification scheme that was creating visual artifacts. @par API changes: - The addition of a @vdblink::GridBase::readBuffers(std::istream&, const CoordBBox&) GridBase::readBuffers@endlink virtual function overload and the @vdblink::GridBase::clip() GridBase::clip@endlink @vdblink::GridBase::readNonresidentBuffers() GridBase::readNonresidentBuffers@endlink and @vdblink::tree::Tree::clipUnallocatedNodes() Tree::clipUnallocatedNodes@endlink virtual functions changes the grid ABI so that it is incompatible with earlier versions of the OpenVDB library (such as the ones in Houdini 12.5 and 13). Define the macro @c OPENVDB_2_ABI_COMPATIBLE when compiling OpenVDB to disable these changes and preserve ABI compatibility. - All @vdblink::tools::BaseShader shaders@endlink now have a template argument to specify the type of an optional material color grid, but the default type mimics the old, uniform color behavior. - Removed a deprecated @vdblink::io::Stream::write() io::Stream::write@endlink overload. - The point counts in @vdblink::tools::UniformPointScatter UniformPointScatter@endlink and @vdblink::tools::NonUniformPointScatter NonUniformPointScatter@endlink are now specified and returned as @vdblink::Index64 Index64@endlink. - @vdblink::math::RandInt RandInt@endlink has an extra template argument to specify the integer type. The @vdblink::math::RandomInt RandomInt@endlink typedef is unchanged. - @vdblink::io::readData() io::readData@endlink, @vdblink::io::HalfReader