lprantl commited on
Commit
057a306
·
verified ·
1 Parent(s): 6f60c8b

README: the same 100 objects as usdz/, usda/ (USD layer tree) and glb/; fix the download repo id

Browse files
Files changed (1) hide show
  1. README.md +33 -13
README.md CHANGED
@@ -3,6 +3,7 @@ license: cc-by-4.0
3
  tags:
4
  - usd
5
  - usdz
 
6
  - isaac-sim
7
  - simready
8
  - 3d
@@ -14,22 +15,37 @@ size_categories:
14
 
15
  # SimReady Dataset Sample with Real Objects
16
 
17
- 100 SimReady assets for NVIDIA Isaac Sim, one self-contained `.usdz` per object. Each
18
- asset has a physics setup and two visual levels of detail. Both the level of detail and
19
- the collider type are USD variant sets, so you can switch them in Isaac Sim without
20
- re-exporting.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
  ## Contents
23
 
24
  | | |
25
  |---|---|
26
- | Assets | 100 `.usdz` and `.glb` files |
27
  | Up axis / units | Z-up, meters (`metersPerUnit = 1`), kilograms |
28
  | Visual LODs | `0` = native mesh, `1` = 300k-triangle mesh (**default**) |
29
  | Colliders | `sdf` (**default**) and `convexHull` |
30
  | Physics | rigid body with mass, physics materials, collider meshes |
31
 
32
- Inside each package, the root prim is `/Asset`:
33
 
34
  ```
35
  /Asset
@@ -44,13 +60,16 @@ Inside each package, the root prim is `/Asset`:
44
  ```python
45
  from huggingface_hub import snapshot_download
46
 
47
- path = snapshot_download(repo_id="ALLSIDES/ALLSIDES-Dataset-Sample-with-Real-Objects", repo_type="dataset")
48
  ```
49
 
 
 
 
50
  ## Using the assets in Isaac Sim
51
 
52
- Drag a `.usdz` into the viewport or the Stage window, or add it as a reference from
53
- Python. Either way, the asset appears under a prim of your choice (e.g. `/World/Object`),
54
  and both variant sets are available on that prim.
55
 
56
  ### In the UI
@@ -68,14 +87,14 @@ import omni.usd
68
 
69
  stage = omni.usd.get_context().get_stage()
70
  prim = stage.DefinePrim("/World/Object", "Xform")
71
- prim.GetReferences().AddReference("/path/to/<asset>.usdz")
72
 
73
  prim.GetVariantSet("lod").SetVariantSelection("0") # native mesh
74
  prim.GetVariantSet("collision_mode").SetVariantSelection("convexHull")
75
  ```
76
 
77
- The selections are stored on your stage, not in the `.usdz`. The package itself stays
78
- unchanged and read-only.
79
 
80
  ### Level of detail (`lod`)
81
 
@@ -99,4 +118,5 @@ are the same in both modes.
99
 
100
  - Colliders and grasp vectors use `purpose = "guide"`, so they don't show up in rendered
101
  images or synthetic data.
102
- - To modify an asset, extract the `.usdz` (it's a zip archive).
 
 
3
  tags:
4
  - usd
5
  - usdz
6
+ - glb
7
  - isaac-sim
8
  - simready
9
  - 3d
 
15
 
16
  # SimReady Dataset Sample with Real Objects
17
 
18
+ 100 SimReady assets for NVIDIA Isaac Sim. The same 100 objects come in three formats, one
19
+ folder each (see below). Each USD asset has a physics setup and two visual levels of
20
+ detail. Both the level of detail and the collider type are USD variant sets, so you can
21
+ switch them in Isaac Sim without re-exporting.
22
+
23
+ ## Formats
24
+
25
+ | Folder | Format | Per object | Use it for |
26
+ |---|---|---|---|
27
+ | `usdz/` | USDZ package | `usdz/<ID>.usdz`, one self-contained file | Isaac Sim: drag in or reference, nothing to unpack |
28
+ | `usda/` | USD layer tree | `usda/<ID>/<ID>.usd` + `payloads/` + `textures/` | Isaac Sim / USD tools, when you want to inspect or edit the layers |
29
+ | `glb/` | glTF binary | `glb/<ID>.glb` | other engines and DCC tools; textured mesh only, no physics |
30
+
31
+ `usdz/` and `usda/` hold the same USD asset: the `.usdz` is the `usda/` tree zipped into one
32
+ file. `glb/` holds the same objects as plain textured meshes, without colliders, mass or
33
+ grasp vectors.
34
+
35
+ The ID is the object's item ID. In `usda/`, IDs that start with a digit carry a leading
36
+ underscore (`usda/_0SDU0DKMY8/`), since USD names can't start with a digit.
37
 
38
  ## Contents
39
 
40
  | | |
41
  |---|---|
42
+ | Objects | 100, each as `.usdz`, as a `.usd` layer tree and as `.glb` |
43
  | Up axis / units | Z-up, meters (`metersPerUnit = 1`), kilograms |
44
  | Visual LODs | `0` = native mesh, `1` = 300k-triangle mesh (**default**) |
45
  | Colliders | `sdf` (**default**) and `convexHull` |
46
  | Physics | rigid body with mass, physics materials, collider meshes |
47
 
48
+ Inside each USD asset (`.usdz` or `usda/`), the root prim is `/Asset`:
49
 
50
  ```
51
  /Asset
 
60
  ```python
61
  from huggingface_hub import snapshot_download
62
 
63
+ path = snapshot_download(repo_id="ALLSIDES/ALLSIDES-Dataset-Sample", repo_type="dataset")
64
  ```
65
 
66
+ To download one format only, pass `allow_patterns`, e.g. `allow_patterns="usdz/*"`,
67
+ `"usda/*"` or `"glb/*"`.
68
+
69
  ## Using the assets in Isaac Sim
70
 
71
+ Drag a `.usdz` (or the `<ID>.usd` entry file of a `usda/` folder) into the viewport or
72
+ the Stage window, or add it as a reference from Python. Either way, the asset appears under a prim of your choice (e.g. `/World/Object`),
73
  and both variant sets are available on that prim.
74
 
75
  ### In the UI
 
87
 
88
  stage = omni.usd.get_context().get_stage()
89
  prim = stage.DefinePrim("/World/Object", "Xform")
90
+ prim.GetReferences().AddReference("/path/to/<ID>.usdz") # or ".../usda/<ID>/<ID>.usd"
91
 
92
  prim.GetVariantSet("lod").SetVariantSelection("0") # native mesh
93
  prim.GetVariantSet("collision_mode").SetVariantSelection("convexHull")
94
  ```
95
 
96
+ The selections are stored on your stage, not in the asset. The asset itself stays
97
+ unchanged.
98
 
99
  ### Level of detail (`lod`)
100
 
 
118
 
119
  - Colliders and grasp vectors use `purpose = "guide"`, so they don't show up in rendered
120
  images or synthetic data.
121
+ - To modify an asset, edit its `usda/` tree (or extract the `.usdz`, a zip archive of the
122
+ same files).