-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NanoVDB v32.7.0 #1807
Merged
apradhana
merged 8 commits into
AcademySoftwareFoundation:master
from
kmuseth:feature/nanovdb_v32.7
Jul 16, 2024
Merged
NanoVDB v32.7.0 #1807
Changes from 5 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
5bc540d
initial commit of NanoVDB v32.7.0
kmuseth 02ec97a
fix to CMakeLists.txt
kmuseth f591ab1
fixed readGrids so it works with raw grid buffers
kmuseth d57ab80
improved documentation
kmuseth d813f6d
addressed review comments
kmuseth 1aaa3d6
Merge remote-tracking branch 'upstream/master' into feature/nanovdb_v…
kmuseth a836f7e
fixed typo
kmuseth 569eda1
Add updateFiles.py, bug fix in updateFiles.sh, add pending changes for
apradhana File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,12 @@ | |
* [NanoVDB.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/NanoVDB.h) C++11 implementation of the core data structure and its access methods. | ||
* [CNanoVDB.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/CNanoVDB.h) Incomplete but useable C99 implementation of the core data structure and its access methods. Designed in particular for use in OpenCL kernels. Note that this relies on zero-sized arrays for the _reserved padding, so will not work on all compilers (with MSVC being a particular example) | ||
* [PNanoVDB.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/PNanoVDB.h) C99 implementation of the core data structure and its access methods. More complete coverage than CNanoVDB. This version is pointer-less and supports virtually all graphics APIs. | ||
* [util/GridHandle.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/util/GridHandle.h) defines a handler for the memory allocated to a NanoVDB grid. | ||
* [util/IO.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/util/IO.h) implements I/O support. | ||
* [util/OpenToNanoVDB.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/util/OpenToNanoVDB.h) defines the converter from OpenVDB to NanoVDB and obviously depends on the OpenVDB library (as the only header file). | ||
* [Ray.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/util/Ray.h) Ray class. | ||
* [HDDA.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/util/HDDA.h) HDDA related. | ||
* [SampleFromVoxels.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/util/SampleFromVoxels.h) interpolation. | ||
* [GridHandle.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/GridHandle.h) defines a handler for the memory allocated to a NanoVDB grid. | ||
* [io/IO.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/io/IO.h) implements I/O support. | ||
* [tools/CreateNanoGrid.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/tools/CreateNanoGrid.h) defines the converter from OpenVDB to NanoVDB and obviously depends on the OpenVDB library (as the only header file). | ||
* [math/Ray.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/math/Ray.h) Ray class. | ||
* [math/HDDA.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/math/HDDA.h) HDDA related. | ||
* [math/SampleFromVoxels.h](https://github.com/AcademySoftwareFoundation/openvdb/blob/master/nanovdb/nanovdb/math/SampleFromVoxels.h) interpolation. | ||
|
||
```bash | ||
foo@bar:~$ tree | ||
|
@@ -22,25 +22,19 @@ foo@bar:~$ tree | |
│ │ └── nanovdb_convert.cc | ||
│ │ └── nanovdb_print.cc | ||
│ ├── updateFiles.sh | ||
│ └── validate | ||
│ └── nanovdb_validate.cc | ||
├── CNanoVDB.h | ||
├── cuda | ||
│ ├── DeviceBuffer.h | ||
│ ├── GridHandle.cuh | ||
│ └── NodeManager.cuh | ||
├── docs | ||
│ ├── CMakeLists.txt | ||
│ ├── codingstyle.txt | ||
│ └── doxygen-config | ||
├── examples | ||
│ ├── benchmark | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I forgot that we took away the benchmarks. |
||
│ │ ├── BenchKernels_dense.cu | ||
│ │ ├── BenchKernels_nano.cu | ||
│ │ ├── Benchmark_dense.cu | ||
│ │ ├── Benchmark_nano.cu | ||
│ │ ├── Camera.h | ||
│ │ ├── CMakeLists.txt | ||
│ │ ├── DenseGrid.h | ||
│ │ ├── Image.h | ||
│ │ ├── TestBenchmark.cc | ||
│ │ └── TestBenchmark.cu | ||
│ ├── CMakeLists.txt | ||
│ ├── ex_bump_pool_buffer | ||
│ │ └── bump_pool_buffer.cc | ||
|
@@ -50,7 +44,7 @@ foo@bar:~$ tree | |
│ │ ├── nanovdb.cu | ||
│ │ └── openvdb.cc | ||
│ ├── ex_index_grid_cuda | ||
│ │ ├── index_grid_cuda.cu | ||
│ │ ├── index_grid_cuda.cc | ||
│ │ └── index_grid_cuda_kernel.cu | ||
│ ├── ex_make_custom_nanovdb | ||
│ │ └── make_custom_nanovdb.cc | ||
|
@@ -66,6 +60,7 @@ foo@bar:~$ tree | |
│ ├── ex_map_pool_buffer | ||
│ │ └── map_pool_buffer.cc | ||
│ ├── ex_modify_nanovdb_thrust | ||
│ │ ├── modify_nanovdb_thrust.cc | ||
│ │ └── modify_nanovdb_thrust.cu | ||
│ ├── ex_nodemanager_cuda | ||
│ │ ├── nodemanager_cuda.cc | ||
|
@@ -103,9 +98,38 @@ foo@bar:~$ tree | |
│ │ └── VoxToNanoVDB.h | ||
│ └── ex_write_nanovdb_grids | ||
│ └── write_nanovdb_grids.cc | ||
├── GridHandle.h | ||
├── HostBuffer.h | ||
├── io | ||
│ └── IO.h | ||
├── math | ||
│ ├── CSampleFromVoxels.h | ||
│ ├── DitherLUT.h | ||
│ ├── HDDA.h | ||
│ ├── Math.h | ||
│ ├── Ray.h | ||
│ ├── SampleFromVoxels.h | ||
│ └── Stencils.h | ||
├── NanoVDB.h | ||
├── NodeManager.h | ||
├── PNanoVDB.h | ||
├── Readme.md | ||
├── tools | ||
│ ├── CreateNanoGrid.h | ||
│ ├── CreatePrimitives.h | ||
│ ├── cuda | ||
│ │ ├── AddBlindData.cuh | ||
│ │ ├── GridChecksum.cuh | ||
│ │ ├── GridStats.cuh | ||
│ │ ├── GridValidator.cuh | ||
│ │ ├── IndexToGrid.cuh | ||
│ │ ├── PointsToGrid.cuh | ||
│ │ └── SignedFloodFill.cuh | ||
│ ├── GridBuilder.h | ||
│ ├── GridChecksum.h | ||
│ ├── GridStats.h | ||
│ ├── GridValidator.h | ||
│ └── NanoToOpenVDB.h | ||
├── unittest | ||
│ ├── CMakeLists.txt | ||
│ ├── pnanovdb_validate_strides.h | ||
|
@@ -115,21 +139,25 @@ foo@bar:~$ tree | |
└── util | ||
├── CpuTimer.h | ||
├── CreateNanoGrid.h | ||
├── CSampleFromVoxels.h | ||
├── cuda | ||
│ ├── CudaAddBlindData.cuh | ||
│ ├── CudaDeviceBuffer.h | ||
│ ├── CudaGridChecksum.cuh | ||
│ ├── CudaGridHandle.cuh | ||
│ ├── CudaGridStats.cuh | ||
│ ├── CudaGridValidator.cuh | ||
│ ├── CudaIndexToGrid.cuh | ||
│ ├── CudaNodeManager.cuh | ||
│ ├── CudaPointsToGrid.cuh | ||
│ ├── CudaSignedFloodFill.cuh | ||
│ ├── CudaUtils.h | ||
│ └── GpuTimer.cuh | ||
│ ├── GpuTimer.h | ||
│ ├── Timer.h | ||
│ └── Util.h | ||
├── DitherLUT.h | ||
├── ForEach.h | ||
├── GridBuilder.h | ||
├── GridChecksum.h | ||
├── GridHandle.h | ||
├── GridStats.h | ||
├── GridValidator.h | ||
├── HDDA.h | ||
|
@@ -145,5 +173,6 @@ foo@bar:~$ tree | |
├── Ray.h | ||
├── Reduce.h | ||
├── SampleFromVoxels.h | ||
└── Stencils.h | ||
``` | ||
├── Stencils.h | ||
├── Timer.h | ||
└── Util.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call.