ping.
On 2024-04-03 2:31 a.m., Brad Smith wrote:
Here is an update to OpenVDB 11.0.0.
Version 11.0.0 - November 1, 2023
OpenVDB:
Improvements:
- Removed use of boost::any in favor of std::any.
[Contributed by Brian McKinnon]
Bug Fixes:
- Fix potential crash reading corrupt .vdb files with invalid
blosc or zip chunks.
[Contributed by Matthias Ueberheide]
NanoVDB:
Highlights:
- Several new tools to generate and modify NanoVDB grids on the GPU.
- New file format that supports streaming of raw grid buffers.
New Features:
- New memory efficient GridClass::IndexGrid that separates values from tree
- 4 new GridTypes (Index, OnIndex, IndexMask, OnIndexMask) used by
IndexGrid
- Added createNanoGrid that replaces older conversion methods in
GridBuilder.h,
IndexGridBuilder.h and OpenToNanoVDB.h
- Added cudaPointsToGrid that constructs a point device grid from a list of
points.
- Added cudaVoxelsToGrid that constructs a voxel device grid from a list of
voxels.
- Added cuda/CudaUtils.h with several cuda utility functions.
- Added GpuTimer for timing of kernels in a specific cuda stream.
- Added cudaIndexToGrid that converts IndexGrids into regular Grids.
- Added cudaSignedFloodFill that performs signed-flood filling on the GPU.
- Added cudaAddBlindData that adds blind data to an existing grid on the
GPU.
- Added cudaGridChecksum that computes checksums of device grids.
- Added cudaGridHandle that handles grids on the GPU.
- Added cudaNodeManager that constructs a NodeManager on the GPU.
- Added build type Points and GridType::PointIndex for point grids.
- Added GridType::Vec3u16 and GridType::Vec3u8 for compressed coordinates.
- Added PrefixSum.h for concurrent computation of prefix sum on the CPU.
API Changes:
- Version 32.6.0 (ABI is unchanged).
- Transition from C++11 to C++17
- Vec3R is deprecated, please use Vec3d instead.
- nanoToOpenVDB now takes the index of a NanoVDB in a GridHandle.
- GridData, InternalData and LeafData are now public.
- GridMetaData can be copied.
- Improvements to GridBuilder.h that allows construction of grids on CPU.
- GridHandle's move c-tor now requires the GridBuffer to contain a valid
grid.
- Moved CudaDeviceBuffer.h to cuda/CudaDeviceBuffer.h.
- New API for acceleration of custom random-access with ValueAccessors.
- Added BitFlags class for convenient bit-mask operations.
- Added Vec2/3::min/maxComponentAtomic GPU methods.
- Added BBox::expandAtomic and BBox::intersectAtomic.
- Added Coord::expandAtomic.
- Added Map constructors.
- Added Mask::DenseIterator, Mask::setOnAtomic, and Mask::setOffAtomic.
- InternalNode::ChildIterator is now const-correct.
- Added several new NanoVDB Build Traits.
- Syncing PNanoVDB.h with NanoVDB.h.
Build:
- Support for OpenEXR 2.X has been removed.
- Better support for building with external package configurations
with CMAKE_FIND_PACKAGE_PREFER_CONFIG=ON.
Python:
- Removed Python 2 support.
[Contributed by Matthew Cong]
- Removed explicit bindings for Math types.
[Contributed by Matthew Cong]
- Improved type casting for TypedMetadata.
[Contributed by Matthew Cong]
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/openvdb/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile 10 May 2023 09:35:17 -0000 1.9
+++ Makefile 3 Apr 2024 03:57:43 -0000
@@ -6,9 +6,9 @@ COMMENT= tools for storage and manipulat
GH_ACCOUNT= AcademySoftwareFoundation
GH_PROJECT= openvdb
-GH_TAGNAME= v10.0.1
+GH_TAGNAME= v11.0.0
-SHARED_LIBS += openvdb 4.0 # 9.0
+SHARED_LIBS += openvdb 5.0 # 9.0
CATEGORIES= graphics
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/openvdb/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- distinfo 10 May 2023 09:35:17 -0000 1.5
+++ distinfo 3 Apr 2024 03:57:43 -0000
@@ -1,2 +1,2 @@
-SHA256 (openvdb-10.0.1.tar.gz) = iHozkfvZayDHeRT0+zq0sz0m5fxHmqA205Xe9VI8Yi8=
-SIZE (openvdb-10.0.1.tar.gz) = 3461352
+SHA256 (openvdb-11.0.0.tar.gz) = YxT/HbBX6pAFB2Pnt9fthtgiT81CqCzbucUV4AG5bHQ=
+SIZE (openvdb-11.0.0.tar.gz) = 4620858
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/openvdb/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 PLIST
--- pkg/PLIST 10 May 2023 09:35:17 -0000 1.6
+++ pkg/PLIST 3 Apr 2024 03:57:43 -0000
@@ -25,7 +25,6 @@ include/openvdb/math/Coord.h
include/openvdb/math/DDA.h
include/openvdb/math/FiniteDifference.h
include/openvdb/math/Half.h
-include/openvdb/math/HalfLimits.h
include/openvdb/math/LegacyFrustum.h
include/openvdb/math/Maps.h
include/openvdb/math/Mat.h
@@ -70,9 +69,20 @@ include/openvdb/points/PointStatistics.h
include/openvdb/points/PointTransfer.h
include/openvdb/points/StreamCompression.h
include/openvdb/points/impl/
+include/openvdb/points/impl/PointAttributeImpl.h
+include/openvdb/points/impl/PointConversionImpl.h
+include/openvdb/points/impl/PointCountImpl.h
+include/openvdb/points/impl/PointDeleteImpl.h
+include/openvdb/points/impl/PointGroupImpl.h
+include/openvdb/points/impl/PointMaskImpl.h
+include/openvdb/points/impl/PointMoveImpl.h
include/openvdb/points/impl/PointRasterizeFrustumImpl.h
include/openvdb/points/impl/PointRasterizeSDFImpl.h
include/openvdb/points/impl/PointRasterizeTrilinearImpl.h
+include/openvdb/points/impl/PointReplicateImpl.h
+include/openvdb/points/impl/PointSampleImpl.h
+include/openvdb/points/impl/PointScatterImpl.h
+include/openvdb/points/impl/PointStatisticsImpl.h
include/openvdb/thread/
include/openvdb/thread/Threading.h
include/openvdb/tools/
@@ -155,7 +165,6 @@ include/openvdb/util/logging.h
include/openvdb/version.h
lib/cmake/OpenVDB/
lib/cmake/OpenVDB/FindBlosc.cmake
-lib/cmake/OpenVDB/FindIlmBase.cmake
lib/cmake/OpenVDB/FindJemalloc.cmake
lib/cmake/OpenVDB/FindLog4cplus.cmake
lib/cmake/OpenVDB/FindOpenEXR.cmake