Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
9298b75
Remove the OPENVDB_USE_DELAYED_LOADING flag and all the code guarded …
danrbailey Jan 30, 2026
27f2841
Remove Delayed Load Metadata seek optimization
danrbailey Jan 30, 2026
d607475
File::open() and Stream() deprecations
danrbailey Jan 30, 2026
4c8551b
Adapt all tooling to remove support for out-of-core data
danrbailey Jan 30, 2026
0081124
Merge pull request #2164 from danrbailey/remove_delayed_loading
danrbailey Feb 12, 2026
d593e9e
Merge remote-tracking branch 'upstream/master' into feature/io
danrbailey Feb 13, 2026
0f0143f
Delete wireframe rendering, this is only useful for delayed-loading
danrbailey Feb 12, 2026
759482d
Fix the patching of marker decor shaders for recent Houdini releases
danrbailey Feb 12, 2026
eac8cc0
Remove support for Houdini < 20.0
danrbailey Feb 12, 2026
94fafd5
Add Vulkan support
danrbailey Feb 12, 2026
d6a78e7
Add USE_VULKAN macro for Mac OSX
danrbailey Feb 13, 2026
c48b99f
Remove unused class members and methods in future ABI=14
danrbailey Feb 13, 2026
bd73169
Merge pull request #2169 from danrbailey/future_abi
danrbailey Feb 26, 2026
8af0ab5
Merge branch 'upstream' into feature/io
danrbailey Mar 12, 2026
6e55069
Remove TreeBase readTopology() and writeTopology()
danrbailey Feb 17, 2026
2d104aa
Merge branch 'upstream' into feature/io
danrbailey Apr 16, 2026
d7b883a
Merge branch 'upstream' into feature/io
danrbailey Apr 21, 2026
2665fe3
Merge branch 'upstream' into feature/io
danrbailey Apr 22, 2026
bdaceec
Update all existing unit tests to use Grid I/O methods instead of Lea…
danrbailey Nov 29, 2025
47cf7af
Add TreeIO methods for regression testing
danrbailey Mar 11, 2026
6d3f320
Clean up some custom initialization logic in the unit tests
danrbailey Apr 16, 2026
7716263
Change testWriteHalf() to use a Stream when testing write as half
danrbailey Apr 16, 2026
4042079
Refactor GridDescriptor reading
danrbailey Apr 16, 2026
b2691d0
Move body of readGridDescriptors into sole call site and delete method
danrbailey Mar 20, 2026
f5495e2
Remove File::readGridByName()
danrbailey Mar 20, 2026
2fc9312
Simplify readGridPartial() and remove unused topology read option
danrbailey Mar 20, 2026
5eb40b1
Eliminate File::Impl
danrbailey Mar 20, 2026
c388ae6
Eliminate Stream::Impl
danrbailey Mar 20, 2026
aaa82b5
Refactor Archive::readGrid() to always take a BBox
danrbailey Mar 20, 2026
3b2ea9c
Archive::readGrid() now creates the grid, remove File::readGridPartial()
danrbailey Mar 20, 2026
f32548c
Update TestFile to use Archive::readGrid
danrbailey Apr 16, 2026
518d4bd
Add io/Codec.h with ReadOptions and WriteOptions
danrbailey Mar 23, 2026
7405a77
Pass writeOptions as an argument to all the I/O write routines
danrbailey Mar 23, 2026
de3a3e0
Pass readOptions as an argument to all the I/O read routines
danrbailey Mar 24, 2026
a6eaed5
Make ReadOptions and WriteOptions non-virtual and remove Ptr typdefs
danrbailey Mar 28, 2026
2ee82e5
Add BoolCodec, Codec Registry and Archive integration
danrbailey Mar 24, 2026
fa84a40
Add ReadDiagnostics to Codecs
danrbailey Apr 1, 2026
906eef6
Add Scalar and ValueMask codecs
danrbailey Apr 23, 2026
42fbdf7
Add support for implicit conversion - float to half and scalar to boo…
danrbailey Apr 21, 2026
94e20c0
Update to Tree Iterator to work with Mask Grids
danrbailey Feb 17, 2026
37851c8
Merge remote-tracking branch 'upstream/master' into feature/io
danrbailey May 6, 2026
1c4162e
Merge pull request #2155 from danrbailey/remove_leaf_io_testing
danrbailey May 6, 2026
6d66401
Merge remote-tracking branch 'upstream/feature/io' into io_refactor
danrbailey May 6, 2026
c1eabdb
Add pending changes
danrbailey May 6, 2026
458bd5b
Merge pull request #2179 from danrbailey/io_refactor
danrbailey May 7, 2026
ea040c9
Add pending changes
danrbailey May 7, 2026
c4f28da
Add pending changes
danrbailey May 7, 2026
45ce206
Merge remote-tracking branch 'upstream/feature/io' into io_options
danrbailey May 7, 2026
7669319
Merge remote-tracking branch 'upstream/feature/io' into io_bool_codec
danrbailey May 7, 2026
d1438a1
Merge pull request #2184 from danrbailey/io_options
danrbailey May 7, 2026
20cd916
Merge pull request #2180 from danrbailey/remove_treebase_io
danrbailey May 7, 2026
0e42087
Improve and extend docs
danrbailey May 12, 2026
886f3ff
Merge remote-tracking branch 'upstream/feature/io' into io_bool_codec
danrbailey May 12, 2026
e7b7014
Merge pull request #2185 from danrbailey/io_bool_codec
danrbailey May 12, 2026
2621268
Merge remote-tracking branch 'upstream/feature/io' into io_scalar_codecs
danrbailey May 12, 2026
2a54d6d
Update docs
danrbailey May 12, 2026
f4682d1
Add pending notes
danrbailey May 13, 2026
27f6e19
Add back support for 221 VDB files
danrbailey May 13, 2026
0a48d70
Merge pull request #2166 from danrbailey/vdb_points_gr_primitive
danrbailey May 14, 2026
ff40f23
Address feedback
danrbailey May 14, 2026
96964f2
Add PointIndexCodec
danrbailey Apr 13, 2026
000fb24
Move PointData I/O overloads to a new header
danrbailey Feb 17, 2026
6528cb8
Remove support for multi-pass I/O except PointDataLeafNode
danrbailey Mar 18, 2026
0b95d2e
Remove AttributeArray out-of-core atomic
danrbailey Mar 18, 2026
a9a6cff
Rename MultiPass tag class to PointDataGridMultiPass
danrbailey Mar 27, 2026
646cdaa
Add PointDataCodec
danrbailey Apr 20, 2026
056b322
Address feedback
danrbailey May 14, 2026
031489e
Address feedback (fix unused error)
danrbailey May 14, 2026
9e8309d
Merge pull request #2196 from danrbailey/io_scalar_codecs
danrbailey May 15, 2026
4076e47
Merge pull request #2197 from danrbailey/io_point_codecs
danrbailey May 15, 2026
c1118e2
Fix underflow bug when reading or writing empty grids
danrbailey Jun 10, 2026
74db979
Fix an issue in the old version codepath for reading topology where t…
danrbailey Jun 10, 2026
b8f7f6c
Fix issue where instanced grids were not being clipped using the corr…
danrbailey Jun 10, 2026
98d9d0e
Fix a bug where the Stream assignment operator was not calling the Ar…
danrbailey Jun 11, 2026
8cb8ceb
Fix topology-only and data race condition
danrbailey Jun 10, 2026
863900f
Add conversion codec fallback and read diagnostics
danrbailey Jun 11, 2026
8dceecf
Fix a bug in PointDataGrid where read-and-discard not being used when…
danrbailey Jun 11, 2026
132ee15
Calling initialize will now clear the registry making it idempotent a…
danrbailey Jun 11, 2026
6624c4d
Fix a potential memory leak when reading topology
danrbailey Jun 11, 2026
f173582
Throw an error if the attribute descriptor is not homogeneous
danrbailey Jun 11, 2026
4208d6b
Fix an issue where the background value was previously using ValueT i…
danrbailey Jun 10, 2026
ca04e21
Add ReadOptions argument to Stream
danrbailey Jun 11, 2026
b416ce6
Merge remote-tracking branch 'upstream/master' into feature/io
danrbailey Jun 18, 2026
009cf88
Merge remote-tracking branch 'upstream/feature/io' into fix_io_bugs
danrbailey Jun 18, 2026
392162b
Add an Index64 size to readBuffers() to aid seeking for faster perfor…
danrbailey Jun 24, 2026
b846e93
Address feedback
danrbailey Aug 5, 2026
ee6c3dc
Merge remote-tracking branch 'upstream/master' into feature/io
danrbailey Aug 7, 2026
cf1e95d
Merge remote-tracking branch 'upstream/feature/io' into fix_io_bugs
danrbailey Aug 7, 2026
6bff7fa
Remove delayed loading option in vdb tool
danrbailey Aug 12, 2026
5354d14
Fix doxygen errors
danrbailey Aug 12, 2026
d85dead
Retry vcpkg install in Windows CI when a download fails
danrbailey Aug 12, 2026
722093b
Merge pull request #2230 from danrbailey/fix_io_bugs
danrbailey Aug 12, 2026
610e8cc
Add pending changes
danrbailey Aug 12, 2026
fc294a0
More pending changes
danrbailey Aug 12, 2026
53af683
Make Codec read/write methods const
danrbailey Aug 18, 2026
d940d20
Skip readBuffers() logic in ScalarCodec
danrbailey Aug 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,14 @@ jobs:
matrix:
config:
- { name: 'all', image: '2026', build: 'Release', components: 'core,python,bin,view,render,test', cmake: '-DUSE_BLOSC=ON -DUSE_ZLIB=ON -DUSE_EXR=ON -DUSE_PNG=ON' }
- { name: 'lite', image: '2026', build: 'Release', components: 'core,python,bin,view,render,test', cmake: '-DUSE_BLOSC=OFF -DUSE_ZLIB=OFF -DUSE_EXR=OFF -DUSE_PNG=OFF -DOPENVDB_USE_DELAYED_LOADING=OFF' }
- { name: 'lite', image: '2026', build: 'Release', components: 'core,python,bin,view,render,test', cmake: '-DUSE_BLOSC=OFF -DUSE_ZLIB=OFF -DUSE_EXR=OFF -DUSE_PNG=OFF' }
- { name: 'half', image: '2026', build: 'Release', components: 'core,python,bin,view,render,test', cmake: '-DUSE_BLOSC=OFF -DUSE_IMATH_HALF=ON' }
- { name: 'simd', image: '2026', build: 'Release', components: 'core,python,bin,view,render,test', cmake: '-DOPENVDB_X86_INSTRSET=7 -DUSE_VCL=ON' } # 7=AVX
- { name: 'pygrid', image: '2026', build: 'Release', components: 'core,python,bin,view,render,test', cmake: '-DOPENVDB_PYTHON_WRAP_ALL_GRID_TYPES=ON' }
- { name: 'asan', image: '2026', build: 'asan', components: 'core,test', cmake: '-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON -DNANOVDB_USE_OPENVDB=ON -DOPENVDB_AX_STATIC=OFF -DOPENVDB_CORE_STATIC=OFF -DUSE_BLOSC=OFF' } # We never called blosc_destroy(), so disable blosc to silence these errors
- { name: 'ubsan', image: '2026', build: 'ubsan', components: 'core,test', cmake: '-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" ' }
- { name: 'c++20', image: '2026', build: 'Release', components: 'core,test', cmake: '-DCMAKE_CXX_STANDARD=20' }
- { name: 'abi14', image: '2026', build: 'Release', components: 'core,test', cmake: '-DOPENVDB_USE_FUTURE_ABI_14=ON -DOPENVDB_ENABLE_ASSERTS=ON' }
- { name: 'conf', image: '2026', build: 'Release', components: 'core,python,bin,view,render,test', cmake: '-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON' }
fail-fast: false
steps:
Expand Down Expand Up @@ -215,7 +216,6 @@ jobs:
--components=\"core,axcore,python,bin,render,test,axbin\"
--cargs=\'
-DCMAKE_CXX_STANDARD=20
-DOPENVDB_USE_DELAYED_LOADING=OFF
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install
${{ matrix.config.cmake }}
\'
Expand Down Expand Up @@ -420,7 +420,6 @@ jobs:
--components="${{ matrix.config.components }}"
--cargs=\'
-A x64 -G \"Visual Studio 17 2022\"
-DOPENVDB_USE_DELAYED_LOADING=OFF
-DUSE_BLOSC=OFF \
-DUSE_ZLIB=OFF \
-DVCPKG_TARGET_TRIPLET=${VCPKG_DEFAULT_TRIPLET}
Expand Down
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ option(OPENVDB_ENABLE_VEC_RELATIONAL_OPERATIONS [=[
Enabled deprecated relational < and > operators on Vector types. This option
will be switched to OFF and the feature will be subsequently removed in future
releases.]=] ON)
option(OPENVDB_USE_DELAYED_LOADING "Build the core OpenVDB library with delayed-loading." ON)
option(OPENVDB_CXX_STRICT "Enable or disable pre-defined compiler warnings" OFF)
cmake_dependent_option(OPENVDB_INSTALL_CMAKE_MODULES
"Install the provided OpenVDB CMake modules when building the core library"
Expand Down Expand Up @@ -264,7 +263,6 @@ mark_as_advanced(
OPENVDB_BUILD_HOUDINI_ABITESTS
OPENVDB_CXX_STRICT
OPENVDB_ENABLE_RPATH
OPENVDB_USE_DELAYED_LOADING
OPENVDB_FUTURE_DEPRECATION
OPENVDB_SIMD
SYSTEM_LIBRARY_PATHS
Expand Down
52 changes: 42 additions & 10 deletions ci/install_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,52 @@ $vcpkgPackages = @(
"nanobind"
)

$maxAttempts = 3

# curl's schannel backend reports an unreachable CRL/OCSP responder as a
# certificate verification failure (error 60), which vcpkg then treats as
# permanent. Downgrade a missing revocation answer to a warning; the rest of
# certificate validation still applies.
$env:VCPKG_SSL_REVOKE_BEST_EFFORT = "1"

# Update vcpkg
vcpkg update

# Allow the vcpkg command to fail once so we can retry with the latest
try {
vcpkg install $vcpkgPackages
} catch {
Write-Host "vcpkg install failed, retrying with latest ports..."
# Retry the installation with updated ports
Push-Location $env:VCPKG_INSTALLATION_ROOT
git pull
Pop-Location
vcpkg update
$installed = $false

for ($attempt = 1; $attempt -le $maxAttempts; $attempt++) {
vcpkg install $vcpkgPackages

# A failing native command does not raise a terminating error, so the exit
# code has to be inspected explicitly rather than relying on try/catch.
if ($LASTEXITCODE -eq 0) {
$installed = $true
break
}

if ($attempt -eq $maxAttempts) {
break
}

# vcpkg fetches port sources directly from upstream hosts and won't retry
# downloads it classifies as permanent failures, so a single flaky TLS
# handshake aborts the whole install.
Write-Host "vcpkg install failed (attempt $attempt of $maxAttempts), retrying..."
Start-Sleep -Seconds 15

# Refresh the ports before the last attempt in case the failure is caused
# by a stale port rather than the network.
if ($attempt -eq ($maxAttempts - 1)) {
Write-Host "Retrying with latest ports..."
Push-Location $env:VCPKG_INSTALLATION_ROOT
git pull
Pop-Location
vcpkg update
}
}

if (-not $installed) {
throw "vcpkg install failed after $maxAttempts attempts"
}

Write-Host "vcpkg install completed successfully"
18 changes: 0 additions & 18 deletions cmake/FindOpenVDB.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ This will define the following variables:
True if the OpenVDB Library has been built with log4cplus support
``OpenVDB_USES_IMATH_HALF``
True if the OpenVDB Library has been built with Imath half support
``OpenVDB_USES_DELAYED_LOADING``
True if the OpenVDB Library has been built with delayed-loading
``OpenVDB_ABI``
Set if this module was able to determine the ABI number the located
OpenVDB Library was built against. Unset otherwise.
Expand Down Expand Up @@ -522,7 +520,6 @@ set(OpenVDB_USES_BLOSC ${USE_BLOSC})
set(OpenVDB_USES_ZLIB ${USE_ZLIB})
set(OpenVDB_USES_LOG4CPLUS ${USE_LOG4CPLUS})
set(OpenVDB_USES_IMATH_HALF ${USE_IMATH_HALF})
set(OpenVDB_USES_DELAYED_LOADING ${OPENVDB_USE_DELAYED_LOADING})
set(OpenVDB_DEFINITIONS)

if(WIN32)
Expand Down Expand Up @@ -555,7 +552,6 @@ if(_OPENVDB_HAS_NEW_VERSION_HEADER)
OPENVDB_GET_VERSION_DEFINE(${_OPENVDB_VERSION_HEADER} "OPENVDB_USE_IMATH_HALF" OpenVDB_USES_IMATH_HALF)
OPENVDB_GET_VERSION_DEFINE(${_OPENVDB_VERSION_HEADER} "OPENVDB_USE_BLOSC" OpenVDB_USES_BLOSC)
OPENVDB_GET_VERSION_DEFINE(${_OPENVDB_VERSION_HEADER} "OPENVDB_USE_ZLIB" OpenVDB_USES_ZLIB)
OPENVDB_GET_VERSION_DEFINE(${_OPENVDB_VERSION_HEADER} "OPENVDB_USE_DELAYED_LOADING" OpenVDB_USES_DELAYED_LOADING)
elseif(NOT OPENVDB_USE_STATIC_LIBS)
# Use GetPrerequisites to see which libraries this OpenVDB lib has linked to
# which we can query for optional deps. This basically runs ldd/otoll/objdump
Expand Down Expand Up @@ -602,11 +598,6 @@ elseif(NOT OPENVDB_USE_STATIC_LIBS)
if(NOT ${_HAS_DEP} EQUAL -1)
set(OpenVDB_USES_IMATH_HALF ON)
endif()

string(FIND ${PREREQUISITE} "boost_iostreams" _HAS_DEP)
if(NOT ${_HAS_DEP} EQUAL -1)
set(OpenVDB_USES_DELAYED_LOADING ON)
endif()
endforeach()

unset(_OPENVDB_PREREQUISITE_LIST)
Expand All @@ -628,10 +619,6 @@ if(OpenVDB_USES_IMATH_HALF)
find_package(Imath REQUIRED CONFIG)
endif()

if(OpenVDB_USES_DELAYED_LOADING)
find_package(Boost REQUIRED COMPONENTS iostreams)
endif()

if(UNIX)
find_package(Threads REQUIRED)
endif()
Expand All @@ -643,11 +630,6 @@ endif()

set(_OPENVDB_VISIBLE_DEPENDENCIES "")

if(OpenVDB_USES_DELAYED_LOADING)
list(APPEND _OPENVDB_VISIBLE_DEPENDENCIES Boost::iostreams)
list(APPEND OpenVDB_DEFINITIONS OPENVDB_USE_DELAYED_LOADING)
endif()

if(OpenVDB_USES_IMATH_HALF)
list(APPEND _OPENVDB_VISIBLE_DEPENDENCIES Imath::Imath)
endif()
Expand Down
4 changes: 2 additions & 2 deletions doc/changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@ Bug fixes:
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
- Added @c io::DelayedLoadMetadata, which stores
mask offsets and compression sizes on write to accelerate delayed load
reading.

Expand Down Expand Up @@ -2933,7 +2933,7 @@ New features:
- 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.
by inheriting from @c io::MultiPass.
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.
<I>[Contributed&nbsp;by&nbsp;Double&nbsp;Negative]</I>
Expand Down
2 changes: 1 addition & 1 deletion nanovdb/nanovdb/cmd/convert/nanovdb_convert.cc
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ int main(int argc, char* argv[])
}
if (verbose) std::cout << "Opening OpenVDB file named \"" << inputFile << "\"" << std::endl;
openvdb::io::File file(inputFile);
file.open(false); //disable delayed loading
file.open();
if (gridName.empty()) {// convert all grid in the file
auto grids = file.getGrids();
std::vector<nanovdb::GridHandle<nanovdb::HostBuffer> > handles;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ int main(int argc, char *argv[])
cpuTimer.start("Read input VDB file");
openvdb::initialize();
openvdb::io::File inFile(argv[1]);
inFile.open(false); // disable delayed loading
inFile.open();
auto baseGrids = inFile.getGrids();
inFile.close();
auto grid = openvdb::gridPtrCast<GridT>(baseGrids->at(0));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int main(int argc, char *argv[])
cpuTimer.start("Read input VDB file");
openvdb::initialize();
openvdb::io::File inFile(argv[1]);
inFile.open(false); // disable delayed loading
inFile.open();
auto baseGrids = inFile.getGrids();
inFile.close();
auto grid = openvdb::gridPtrCast<GridT>(baseGrids->at(0));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ int main(int argc, char *argv[])
cpuTimer.start("Read first input VDB file");
openvdb::initialize();
openvdb::io::File inFile1(argv[1]);
inFile1.open(false); // disable delayed loading
inFile1.open();
auto baseGrids1 = inFile1.getGrids();
inFile1.close();
auto grid1 = openvdb::gridPtrCast<GridT>(baseGrids1->at(0));
Expand All @@ -51,7 +51,7 @@ int main(int argc, char *argv[])
cpuTimer.start("Read second input VDB file");
openvdb::initialize();
openvdb::io::File inFile2(argv[2]);
inFile2.open(false); // disable delayed loading
inFile2.open();
auto baseGrids2 = inFile2.getGrids();
inFile2.close();
auto grid2 = openvdb::gridPtrCast<GridT>(baseGrids2->at(0));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void runOpenVDB(nanovdb::GridHandle<nanovdb::cuda::DeviceBuffer>& handle, int nu
openvdb::initialize();
std::string filename = "C:/Users/william/Downloads/dragon.vdb";
openvdb::io::File file(filename);
file.open(false); //disable delayed loading
file.open();
auto srcGrid = file.readGrid<BufferT>("ls_dragon");
std::cout << "Loading OpenVDB grid[" << srcGrid->getName() << "]...\n";
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ int main(int argc, char *argv[])
cpuTimer.start("Read input VDB file");
openvdb::initialize();
openvdb::io::File inFile(argv[1]);
inFile.open(false); // disable delayed loading
inFile.open();
auto baseGrids = inFile.getGrids();
inFile.close();
auto grid = openvdb::gridPtrCast<GridT>(baseGrids->at(0));
Expand Down
8 changes: 4 additions & 4 deletions nanovdb/nanovdb/unittest/TestOpenVDB.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class TestOpenVDB : public ::testing::Test
mTimer.start("Reading grid from the file \"" + fileName + "\"");
try {
openvdb::io::File file(fileName);
file.open(false); //disable delayed loading
file.open();
grid = openvdb::gridPtrCast<openvdb::FloatGrid>(file.readGrid(file.beginName().gridName()));
} catch(const std::exception& e) {
std::cerr << "An exception occurred: \"" << e.what() << "\"" << std::endl;
Expand Down Expand Up @@ -2860,7 +2860,7 @@ TEST_F(TestOpenVDB, LevelSetFiles)
//mTimer.start("\nReading grid from the file \"" + fileName + "\"");
try {
openvdb::io::File file(fileName);
file.open(false); //disable delayed loading
file.open();
auto srcGrid = openvdb::gridPtrCast<openvdb::FloatGrid>(file.readGrid(file.beginName().gridName()));

const size_t pos = fileName.find_last_of("/\\") + 1;
Expand Down Expand Up @@ -2938,7 +2938,7 @@ TEST_F(TestOpenVDB, FogFiles)
//mTimer.start("Reading grid from the file \"" + fileName + "\"");
try {
openvdb::io::File file(fileName);
file.open(false); //disable delayed loading
file.open();
auto srcGrid = openvdb::gridPtrCast<openvdb::FloatGrid>(file.readGrid(file.beginName().gridName()));

const size_t pos = fileName.find_last_of("/\\") + 1;
Expand Down Expand Up @@ -3008,7 +3008,7 @@ TEST_F(TestOpenVDB, PointFiles)
//mTimer.start("Reading grid from the file \"" + fileName + "\"");
try {
openvdb::io::File file(fileName);
file.open(false); //disable delayed loading
file.open();

auto srcGrid = openvdb::gridPtrCast<openvdb::points::PointDataGrid>(file.readGrid(file.beginName().gridName()));
//std::cerr << "Read PointDataGrid named \"" << srcGrid->getName() << "\"" << std::endl;
Expand Down
Loading
Loading