-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add new test assets for receptacle testing * modify the simple_room config * updated receptacle metadata and meshes * update a manager test for asset changes * adding Magnum::AnySceneImporter MagnumPlugins::AssimpImporter to python bindings plugins for scene import
- Loading branch information
Showing
6 changed files
with
108 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,36 @@ | ||
{ | ||
"render_asset": "chair.glb", | ||
"mass": 9 | ||
"mass": 9, | ||
"user_defined": { | ||
"receptacle_aabb_chair_test": { | ||
"name": "receptacle_aabb_chair_test", | ||
"parent_object": "chair", | ||
"position": [ | ||
-0.079131, | ||
0.119772, | ||
0 | ||
], | ||
"scale": [ | ||
0.158802, | ||
0.11, | ||
0.19 | ||
|
||
] | ||
}, | ||
"receptacle_mesh_chair_test": { | ||
"name": "receptacle_mesh_chair_test", | ||
"parent_object": "chair", | ||
"position": [ | ||
0.0, | ||
0.0, | ||
0.0 | ||
], | ||
"scale": [ | ||
1.0, | ||
1.0, | ||
1.0 | ||
], | ||
"mesh_filepath": "receptacle_mesh_chair.ply" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ply | ||
format ascii 1.0 | ||
comment Created by Blender 3.3.0 - www.blender.org | ||
element vertex 4 | ||
property float x | ||
property float y | ||
property float z | ||
element face 2 | ||
property list uchar uint vertex_indices | ||
end_header | ||
0.045097 0.009212 0.175879 | ||
-0.243901 0.009212 -0.175879 | ||
-0.243901 0.009212 0.175879 | ||
0.045097 0.009212 -0.175879 | ||
3 0 1 2 | ||
3 0 3 1 |
16 changes: 16 additions & 0 deletions
16
data/test_assets/scenes/receptacle_mesh_simple_room_table.ply
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ply | ||
format ascii 1.0 | ||
comment Created by Blender 3.3.0 - www.blender.org | ||
element vertex 4 | ||
property float x | ||
property float y | ||
property float z | ||
element face 2 | ||
property list uchar uint vertex_indices | ||
end_header | ||
0.950000 1.167508 -0.950000 | ||
-0.450000 1.167508 0.450000 | ||
0.950000 1.167508 0.450000 | ||
-0.450000 1.167508 -0.950000 | ||
3 0 1 2 | ||
3 0 3 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"render_asset": "simple_room.glb", | ||
"up": [0,0,1], | ||
"front": [0,1,0], | ||
"shader_type": "pbr", | ||
"user_defined": { | ||
"receptacle_aabb_simpleroom_test": { | ||
"name": "receptacle_aabb_simpleroom_test", | ||
"position": [ | ||
2.36945, | ||
-1.3934, | ||
2.61652 | ||
], | ||
"scale": [ | ||
1.0, | ||
1.0, | ||
0.39171 | ||
] | ||
}, | ||
"receptacle_mesh_simpleroom_test": { | ||
"name": "receptacle_mesh_simpleroom_test", | ||
"position": [ | ||
0.0, | ||
0.0, | ||
0.0 | ||
], | ||
"scale": [ | ||
1.0, | ||
1.0, | ||
1.0 | ||
], | ||
"mesh_filepath": "receptacle_mesh_simple_room_table.ply" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters