|
| 1 | +Minutes from OpenVDB TSC meeting, December 19th, 2023 |
| 2 | + |
| 3 | +Attendees: *Jeff* L., *Andre* P, *Dan* B., *Ken* M. |
| 4 | + |
| 5 | +Additional Attendees: |
| 6 | + |
| 7 | +Regrets: *Nick* A., *Rich* J. |
| 8 | + |
| 9 | +Agenda: |
| 10 | + |
| 11 | +1) Confirm quorum |
| 12 | +2) Secretary |
| 13 | +3) Autodesk VTT |
| 14 | +4) Read-Only Grids |
| 15 | +5) Half Grid Types |
| 16 | +6) Next meeting |
| 17 | + |
| 18 | +------------ |
| 19 | + |
| 20 | +1) Confirm quorum |
| 21 | + |
| 22 | +Quorum is present. |
| 23 | + |
| 24 | +2) Secretary |
| 25 | + |
| 26 | +Secretary is Dan Bailey. |
| 27 | + |
| 28 | +3) Autodesk VTT |
| 29 | + |
| 30 | +Potential 9th January meeting to discuss VTT responses with Autodesk. To be |
| 31 | +proposed. |
| 32 | + |
| 33 | +NanoVTT is being pitched for integration now, VTT for later. VTT is not being |
| 34 | +proposed or considered as a replacement for VDB, will be complementary. |
| 35 | + |
| 36 | +One of the key questions is around GridBase/TreeBase integration. Autodesk |
| 37 | +suggests TreeBase will be easier, but it is thought there may have been some |
| 38 | +confusion there as GridBase is many fewer methods. Curious to understand the |
| 39 | +concern better. The Autodesk response appears to rely on expectation that |
| 40 | +integrating greater functionality to the tree/grid classes is desired by TSC, |
| 41 | +however worth sharing back that efforts have been underway for years to extract |
| 42 | +functionality from the object-oriented hierarchy classes and to move more |
| 43 | +towards using free-standing tools. Perhaps a better candidate would be to start |
| 44 | +from NanoVTT and work towards making that a canidate for VTT. |
| 45 | + |
| 46 | +Autodesk not opposed to the idea about using VDB transforms. Question over |
| 47 | +transforms leads to the assumption that VTT does have transforms but that it |
| 48 | +exists at a higher-level than VTT in the BiFrost API. Would be good to confirm |
| 49 | +this. |
| 50 | + |
| 51 | +Would like to propose an MVP for VTT in addition to considering NanoVTT. |
| 52 | +Candidates are conversion (VDB <-> VTT), serialization, sampling and |
| 53 | +re-grading. |
| 54 | + |
| 55 | +Reflecting on NanoVDB experience, one learning is that NanoVDB grids were |
| 56 | +originally pitched as read-only, however subsequent realization was that |
| 57 | +obtaining the memory layout would allow room for modifying the grid values. |
| 58 | +GridHandle is one of the more awkward components of NanoVDB that is simpler in |
| 59 | +OpenVDB. |
| 60 | + |
| 61 | +While three of the MVP requirements appear to suggest an ability to pre-allocate |
| 62 | +memory, grading is expected to require dynamic memory management in VTT. |
| 63 | + |
| 64 | +4) Read-Only Grids |
| 65 | + |
| 66 | +Question over whether there is value in having a VDB grid that uses contiguous |
| 67 | +memory to accelerate performance. Even with an allocator like jemalloc, the |
| 68 | +smaller fragments of memory in VDB are a considerable source of slowness. |
| 69 | +NanoVDB is a grid with a contiguous block of memory and exists on the host as |
| 70 | +well as the device. Limitation is that you cannot deserialize vdb files |
| 71 | +directly into NanoVDB grids, you have to go via VDB or use nvdb files. |
| 72 | + |
| 73 | +5) Half Grid Types |
| 74 | + |
| 75 | +Brief discussion of Andre's work adding half grid support. Looking very |
| 76 | +promising. Main component missing is VDB I/O which should be alleviated by |
| 77 | +registering the VDB half grid type. Worth also adding static asserts to disable |
| 78 | +tools that either do not support half grid types or have not yet been tested. |
| 79 | + |
| 80 | +Subsequent discussion around extending the std namespace being UB. Ken points |
| 81 | +out that this is already done in the math/Coord around hash usage, this should |
| 82 | +be resolved. The approach being taken in this PR is the right approach by using |
| 83 | +openvdb::is_floating_point. Will also be needed in the pybind11 functionality |
| 84 | +that Matt Cong is working on due to needing to specialize std::is_arithmetic. |
| 85 | + |
| 86 | +6) Next meeting |
| 87 | + |
| 88 | +Next meeting is on January 9th, 2024. Intention is to invite Autodesk. 2pm-3pm |
| 89 | +EDT (GMT-4). |
0 commit comments