Spaces:
Running
Running
add Scenes tab: bedroom / kitchen / garage room GLBs from scenes-and-worlds dataset
Browse files- classes.json +7 -1
- viewer/scenes.json +46 -0
classes.json
CHANGED
|
@@ -28,5 +28,11 @@
|
|
| 28 |
"label": "Wardrobes",
|
| 29 |
"dataset": "articulated-storage-and-appliances",
|
| 30 |
"catalog_path": "viewer/wardrobe.json"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
}
|
| 32 |
-
]
|
|
|
|
| 28 |
"label": "Wardrobes",
|
| 29 |
"dataset": "articulated-storage-and-appliances",
|
| 30 |
"catalog_path": "viewer/wardrobe.json"
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"class": "scenes",
|
| 34 |
+
"label": "Scenes",
|
| 35 |
+
"dataset": "scenes-and-worlds",
|
| 36 |
+
"catalog_path": "viewer/scenes.json"
|
| 37 |
}
|
| 38 |
+
]
|
viewer/scenes.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"class": "scenes",
|
| 3 |
+
"label": "Scenes",
|
| 4 |
+
"items_dir": "scenes",
|
| 5 |
+
"items": [
|
| 6 |
+
{
|
| 7 |
+
"id": "bedroom",
|
| 8 |
+
"label": "Bedroom",
|
| 9 |
+
"dims_m": [
|
| 10 |
+
4.5,
|
| 11 |
+
3.0,
|
| 12 |
+
4.5
|
| 13 |
+
],
|
| 14 |
+
"mass_kg": 0.0,
|
| 15 |
+
"tris": 269472,
|
| 16 |
+
"joints": [],
|
| 17 |
+
"glb": "scenes/bedroom/bedroom.glb"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "kitchen",
|
| 21 |
+
"label": "Kitchen",
|
| 22 |
+
"dims_m": [
|
| 23 |
+
5.0,
|
| 24 |
+
3.0,
|
| 25 |
+
4.5
|
| 26 |
+
],
|
| 27 |
+
"mass_kg": 0.0,
|
| 28 |
+
"tris": 346058,
|
| 29 |
+
"joints": [],
|
| 30 |
+
"glb": "scenes/kitchen/kitchen.glb"
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"id": "garage",
|
| 34 |
+
"label": "Garage",
|
| 35 |
+
"dims_m": [
|
| 36 |
+
7.0,
|
| 37 |
+
3.5,
|
| 38 |
+
6.0
|
| 39 |
+
],
|
| 40 |
+
"mass_kg": 0.0,
|
| 41 |
+
"tris": 840444,
|
| 42 |
+
"joints": [],
|
| 43 |
+
"glb": "scenes/garage/garage.glb"
|
| 44 |
+
}
|
| 45 |
+
]
|
| 46 |
+
}
|