You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1142,17 +1142,18 @@ VDB volumes have the following parameters:
1142
1142
| uint32\[\] | node.level | level on which each input node exists, may be 1, 2 or 3 (levels are counted from the root level = 0 down) |
1143
1143
| vec3i\[\] | node.origin | the node origin index (per input node) |
1144
1144
| OSPData\[\] | node.data | [data](#data) arrays with the node data (per input node). Nodes that are tiles are expected to have single-item arrays. Leaf-nodes with grid data expected to have compact 3D arrays in zyx layout (z changes most quickly) with the correct number of voxels for the `level`. Only `OSP_FLOAT` is supported as field `OSPDataType`. |
1145
-
| OSPData\[\] | nodesPackedDense | Optionally provided instead of `node.data`, for each attribute a single array of all dense node data in a contiguous zyx layout, provided in the same order as the corresponding `node.*` parameters. This packed layout may be more performant. |
1146
-
| OSPData\[\] | nodesPackedTile | Optionally provided instead of `node.data`, for each attribute a single array of all tile node data in a contiguous layout, provided in the same order as the corresponding `node.*` parameters. This packed layout may be more performant. |
1145
+
| OSPData | nodesPackedDense | optionally provided instead of `node.data`, a single array of all dense node data in a contiguous zyx layout, provided in the same order as the corresponding `node.*` parameters |
1146
+
| OSPData | nodesPackedTile | optionally provided instead of `node.data`, a single array of all tile node data in a contiguous layout, provided in the same order as the corresponding `node.*` parameters |
1147
+
| uint32\[\] | node.format | for each input node, whether it is of format `OSP_VOLUME_FORMAT_DENSE_ZYX` (and thus stored in `nodesPackedDense`), or `OSP_VOLUME_FORMAT_TILE` (stored in `nodesPackedTile`) |
1147
1148
| int | filter | filter used for reconstructing the field, default is `OSP_VOLUME_FILTER_TRILINEAR`, alternatively `OSP_VOLUME_FILTER_NEAREST`, or `OSP_VOLUME_FILTER_TRICUBIC`. |
1148
1149
| int | gradientFilter | filter used for reconstructing the field during gradient computations, default same as `filter` |
1149
1150
| float | background | value that is used when sampling an undefined region outside the volume domain, default `NaN` |
1150
1151
1151
1152
Configuration parameters for VDB volumes.
1152
1153
1153
-
The `nodesPackedDense` and `nodesPackedTile` parameters may be provided
1154
-
instead of `node.data`; this packed data layout may provide better
1155
-
performance.
1154
+
The `nodesPackedDense` and `nodesPackedTile` together with `node.format`
1155
+
parameters may be provided instead of `node.data`; this packed data
1156
+
layout may provide better performance.
1156
1157
1157
1158
1. Museth, K. VDB: High-Resolution Sparse Volumes with Dynamic
1158
1159
Topology. ACM Transactions on Graphics 32(3), 2013. DOI:
0 commit comments