Commit 5a66d3c
authored
Match gridbatch and grid API (#282)
Changed some things in grid, now changing them in gridbatch too.
1. Rigorous naming of coordinates spaces (world means world, voxel means
ijk, index means linear offset). Updated methods to reflect this.
2. Moved load/save functions to from_nanovdb, save_nanovdb which
conforms with `Grid` and `GaussianSplat3d` (`from_ply`/`save_ply`).
3. Renamed `read/write_to/from_dense_cmajor/minor` to
`inject_to/from_dense_cmajor/minor` because these are just injection
functions over dense grids and it conforms with `inject_from_ijk`.
Signed-off-by: Francis Williams <francis@fwilliams.info>1 parent bd15de3 commit 5a66d3c
File tree
11 files changed
+252
-256
lines changed- examples/wip
- fvdb
- tests
- unit
- wip/unit
11 files changed
+252
-256
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
128 | | - | |
| 126 | + | |
129 | 127 | | |
130 | 128 | | |
131 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 78 | + | |
| 79 | + | |
86 | 80 | | |
87 | 81 | | |
88 | 82 | | |
| |||
0 commit comments