File size: 1,587 Bytes
9fe98c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
pretty_name: Voxel Video Compression Test Suite
tags:
- 3d
- voxel
- nanovdb
- volumetric-video
- compression
- benchmark
viewer: false
---

# Voxel Video Compression Test Suite

Ten voxel video sequences at several resolutions, for measuring volumetric video codecs. Every frame is a NanoVDB file.

The suite mixes animated content with synthetic edge cases, so a codec can be checked both for typical compression ratio and for its behavior on degenerate input.

## Sequences

| Sequence | Frames | Resolutions |
|---|---|---|
| `BirdOrange` | 128 (122 at 512) | 128, 256, 512 |
| `Breakdance1990` | 106 | 128, 256, 512 |
| `Chapa-Giratoria` | 91 | 128, 256, 512 |
| `Jumping` | 36 | 128, 256, 512 |
| `Rumba Dancing` | 72 | 128, 256, 512 |
| `car` | 73 | 64, 128, 256, 512 |
| `centered_static_cube` | 30 | 64, 128, 256, 512 |
| `empty` | 30 | 64, 128, 256, 512 |
| `filled` | 30 | 64, 128, 256, 512 |
| `random_noise` | 30 | 64, 128 |

The last four are synthetic stress cases, named for what they contain.

## Layout

```
<sequence>/<resolution>/frame_00000.nvdb
<sequence>/<resolution>_nvdb/frame_00000.nvdb   # BirdOrange, Breakdance1990, Chapa-Giratoria, Jumping, Rumba Dancing
```

Frames are numbered from `frame_00000` in playback order.

## Loading

```python
from spatialstudio import splv

frame = splv.Frame.load_from_nvdb(
    "car/128/frame_00000.nvdb", (0, 0, 0), (127, 127, 127)
)
print(frame.get_num_voxels())
```

To encode a sequence with True3D's `.splv` codec, pass the frames to `splv.Encoder` from [`spatialstudio`](https://pypi.org/project/spatialstudio/).