File size: 7,339 Bytes
26f3af4
817d60a
26f3af4
 
 
bd6f3a1
 
817d60a
 
 
51f6748
817d60a
 
 
 
 
bd6f3a1
26f3af4
817d60a
 
26f3af4
 
817d60a
 
 
26f3af4
 
 
817d60a
 
103d9b9
 
 
817d60a
 
103d9b9
817d60a
26f3af4
51f6748
817d60a
bd6f3a1
26f3af4
817d60a
26f3af4
ffc3595
26f3af4
817d60a
 
103d9b9
817d60a
 
 
 
 
103d9b9
 
817d60a
 
 
26f3af4
 
817d60a
 
 
 
103d9b9
 
817d60a
 
 
26f3af4
 
817d60a
26f3af4
817d60a
bd6f3a1
 
 
 
 
26f3af4
 
11c70d1
817d60a
26f3af4
817d60a
26f3af4
bd6f3a1
26f3af4
bd6f3a1
51f6748
817d60a
 
 
26f3af4
 
817d60a
26f3af4
 
 
 
 
 
 
 
 
 
 
817d60a
bd6f3a1
 
 
 
26f3af4
817d60a
 
 
 
 
 
 
 
 
 
 
 
 
 
26f3af4
817d60a
26f3af4
817d60a
 
26f3af4
817d60a
 
26f3af4
817d60a
 
26f3af4
817d60a
 
26f3af4
817d60a
11c70d1
 
817d60a
26f3af4
817d60a
 
26f3af4
817d60a
 
26f3af4
817d60a
 
 
11c70d1
 
 
 
26f3af4
 
 
817d60a
 
 
26f3af4
 
 
817d60a
 
 
 
26f3af4
817d60a
26f3af4
817d60a
 
 
 
26f3af4
817d60a
 
103d9b9
 
817d60a
 
 
103d9b9
 
817d60a
 
 
 
 
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
# PhysInOne 3D Assets

This guide explains how to download, extract, and open the currently released
PhysInOne Unreal Engine project assets. The release contains shared project
files, Train and Val resource libraries, and Scene/Trajectory resources for
14,847 validation scenes and 120,660 training scenes. The 273 validation
origins reserved for the Motion Transfer test set are intentionally excluded.

Repository location:

[`Assets/PhysicBenchmark`](https://huggingface.co/datasets/vLAR/PhysInOne/tree/main/Assets/PhysicBenchmark)

## Requirements

- Unreal Engine **5.5.4**
- Python 3.9 or newer for the automated downloader
- Approximately **140 GiB** for the compressed public release alone
- Substantially more free disk space when keeping both ZIP files and extracted assets

Windows is recommended for the simplest Unreal Engine setup. Linux is also
supported, but platform plugins, permissions, and case-sensitive paths may
require additional configuration.

## Automated setup

The public downloader uses only the Python standard library and anonymous HTTPS.
Clone the GitHub repository, which contains the script and exact release
manifest:

```bash
git clone https://github.com/vLAR-group/PhysInOne.git
cd PhysInOne
python scripts/download_data.py --task 3d-assets --output-dir ./PhysInOne_data
```

The default command:

1. Downloads the exact current public release list.
2. Maps the project to the space-free local path `assets/PhysicBenchmark/`.
3. Validates ZIP paths and rejects unsafe archive members.
4. Extracts all 285 released ZIP files into their current parent directories.
5. Merges Train and Val resources without overwriting different files.
6. Writes resumable extraction markers and detailed success/failure logs.
7. Shows live file count, estimated size, download speed, and ETA.

After completion, launch:

```text
PhysInOne_data/assets/PhysicBenchmark/PhysInOne.uproject
```

## Download without extraction

```bash
python scripts/download_data.py --task 3d-assets \
  --output-dir ./PhysInOne_data \
  --no-extract
```

Run the default command later with the same output directory to extract the
archives.

## Save disk space

```bash
python scripts/download_data.py --task 3d-assets \
  --output-dir ./PhysInOne_data \
  --delete-zip-after-extract
```

A ZIP is deleted only after successful validation and extraction. Completion
markers prevent it from being downloaded again when the same command resumes.

## Current release contents

- 4,585 downloadable files
- 285 ZIP archives
- Approximately 139.67 GiB before extraction
- Scene and Trajectory resources for 14,847 validation scenes
- Scene and Trajectory resources for 120,660 training scenes
- Six validation resource archives and seven training resource archives
- Shared Unreal Engine project files and dependencies
- Ten Movie Render Queue configurations under `Content/PhysInOne/Scripts/`

Maintained lists:

- [`released.txt`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/Utils/3d_assets_lists/released.txt): every file downloaded by `--task 3d-assets`
- [`released_archives.txt`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/Utils/3d_assets_lists/released_archives.txt): all 285 archives extracted by default
- [`validation.txt`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/Utils/3d_assets_lists/validation.txt): the validation-only subset
- [`validation_archives.txt`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/Utils/3d_assets_lists/validation_archives.txt): the 36 validation archives
- [`summary.json`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/Utils/3d_assets_lists/summary.json): release counts and byte sizes

## Archives and extraction destinations

Every ZIP must be extracted **in place**, into its current parent directory.
Scene and Trajectory files are deliberately packaged separately.

| Archive pattern, relative to `PhysicBenchmark/` | Member paths | Extract in |
| --- | --- | --- |
| `Content/PhysInOne/Scenes/val_scenes_batch_*.zip` | `Val/<Physics>/<Scene>.umap` | `Content/PhysInOne/Scenes/` |
| `Content/PhysInOne/Scenes/train_scenes_batch_*.zip` | `Train/<Physics>/<Scene>.umap` | `Content/PhysInOne/Scenes/` |
| `Content/PhysInOne/Trajectories/val_trajectory_batch_*.zip` | `Val/<Physics>/<Scene>_trajectory.uasset` | `Content/PhysInOne/Trajectories/` |
| `Content/PhysInOne/Trajectories/train_trajectory_batch_*.zip` | `Train/<Physics>/<Scene>_trajectory.uasset` | `Content/PhysInOne/Trajectories/` |
| `Content/PhysInOne/<Resource>/Val.zip` | `Val/...` | its current `<Resource>/` parent |
| `Content/PhysInOne/<Resource>/Train.zip` | `Train/...` | its current `<Resource>/` parent |

Because members begin with their split directory, Train and Val ZIPs can share
one remote parent directory without colliding after extraction.

The Train Scene and Trajectory series each span batches `0000–0120`; the Val
series each span batches `0000–0014`. The final Train batch contains 660 scenes,
and the final Val batch contains 847 scenes.

## Expected project structure

```text
PhysicBenchmark/
β”œβ”€β”€ PhysInOne.uproject
β”œβ”€β”€ Config/
β”œβ”€β”€ DerivedDataCache/
└── Content/
    β”œβ”€β”€ Collections/
    β”œβ”€β”€ Ice/
    β”œβ”€β”€ StarterContent/
    β”œβ”€β”€ __ExternalActors__/
    β”œβ”€β”€ __ExternalObjects__/
    └── PhysInOne/
        β”œβ”€β”€ Backgrounds/
        β”‚   └── Train/
        β”œβ”€β”€ BackGrounds_raw/
        β”‚   β”œβ”€β”€ Train/
        β”‚   └── Val/
        β”œβ”€β”€ BreakableObjects/
        β”‚   β”œβ”€β”€ Train/
        β”‚   └── Val/
        β”œβ”€β”€ InteractableObjects/
        β”‚   β”œβ”€β”€ Train/
        β”‚   └── Val/
        β”œβ”€β”€ MaterialsAppearance/
        β”‚   β”œβ”€β”€ Train/
        β”‚   └── Val/
        β”œβ”€β”€ MaterialsPhysics/
        β”‚   β”œβ”€β”€ Train/
        β”‚   └── Val/
        β”œβ”€β”€ Scripts/
        β”‚   └── MoviePipelinePrimaryConfig*.uasset
        β”œβ”€β”€ SolidObjects/
        β”‚   β”œβ”€β”€ Train/
        β”‚   └── Val/
        β”œβ”€β”€ Scenes/
        β”‚   β”œβ”€β”€ Train/
        β”‚   └── Val/
        └── Trajectories/
            β”œβ”€β”€ Train/
            └── Val/
```

The Movie Render Queue assets must remain in `Content/PhysInOne/Scripts/`,
which Unreal Engine exposes as `/Game/PhysInOne/Scripts/`. The public rendering
tools refer to that package path directly.

Do not rename or flatten `BackGrounds_raw`, `__ExternalActors__`, or
`__ExternalObjects__`. Unreal Engine resolves assets by project-relative
package paths.

## Resume and logs

Re-run the same command with the same output directory. Completed downloads are
reused, `.part` files resume, and archives with valid completion markers are
skipped.

Logs are written to:

```text
<output-dir>/_download_logs/YYYYMMDD_HHMMSS/
β”œβ”€β”€ downloads.tsv
β”œβ”€β”€ extractions.tsv
β”œβ”€β”€ failures.tsv
└── summary.json
```

For slower or rate-limited networks:

```bash
python scripts/download_data.py --task 3d-assets \
  --output-dir ./PhysInOne_data \
  --workers 2
```

Public downloads are anonymous. The downloader has no token parameter or
credential-handling path.

## Contact

For setup questions, contact Siyuan Zhou at
`siyuan.zhou@connect.polyu.hk`. WeChat: `aify20001009`.