- OpenVDB:
- New features:
- Added read and write support for OFF (Object File Format)
files to vdb_tool
- Build:
- Fixed a build issue with vdb_render on Windows with newer
versions of glew not including glu.h by default
- Fixed issues with newer versions of clang refusing to
accept older ::template syntax
- NanoVDB:
- New features:
- Added support for multiple GPUs to DeviceBuffer
- Added a UnifiedBuffer class that wraps CUDA unified memory
- Added example for multiGPU sparse convolution
- Added CUDA utility functions for device queries
- Added functions to independently stop and compute the
elapsed time for timer classes
- Improvements:
- Replaced CUB's CachingDeviceAllocator with the default
asynchronous stream ordered allocator in PointsToGrid for
improved performance
- Bug fix:
- Map is now properly transposed when converting NanoVDB to
OpenVDB.
- Fixed ostream specializations being hidden within the
nanovdb namespace
- Fixed a call to a non-existent method in GridBuild.h
- needs boost 1.80 at least
OBS-URL: https://build.opensuse.org/package/show/graphics/openvdb?expand=0&rev=41
19 lines
771 B
Diff
19 lines
771 B
Diff
Index: openvdb-12.0.0/openvdb_cmd/vdb_tool/CMakeLists.txt
|
|
===================================================================
|
|
--- openvdb-12.0.0.orig/openvdb_cmd/vdb_tool/CMakeLists.txt
|
|
+++ openvdb-12.0.0/openvdb_cmd/vdb_tool/CMakeLists.txt
|
|
@@ -80,10 +80,12 @@ if(OPENVDB_TOOL_USE_PNG)
|
|
target_compile_definitions(vdb_tool_common INTERFACE "VDB_TOOL_USE_PNG")
|
|
if(WIN32)
|
|
find_package(libpng CONFIG REQUIRED)
|
|
+ target_link_libraries(vdb_tool_common INTERFACE png)
|
|
else()
|
|
find_package(PNG REQUIRED)
|
|
+ target_include_directories(vdb_tool_common INTERFACE ${PNG_INCLUDE_DIR})
|
|
+ target_link_libraries(vdb_tool_common INTERFACE ${PNG_LIBRARIES})
|
|
endif()
|
|
- target_link_libraries(vdb_tool_common INTERFACE png)
|
|
endif()
|
|
|
|
if(OPENVDB_TOOL_USE_PDAL)
|