diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_0.json b/Layouts/RoboDojo/align_blocks/align_blocks_0.json new file mode 100644 index 0000000000000000000000000000000000000000..7a8b30d58f68e12432aab53096cad2764553317b --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_0.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.035383202523962834, + -0.19013405507501507, + 0.774781176577168 + ], + "default_ori": [ + 0.9928623719711575, + 0.01658245985790412, + 0.0019723139648672484, + 0.11809082236351866 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.028761569951967936, + -0.10248577073681545, + 0.7825 + ], + "default_ori": [ + 0.9630134948755331, + 0.0, + 0.0, + 0.2694531660374612 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.09517096302818914, + -0.09348656280135875, + 0.7825 + ], + "default_ori": [ + 0.9997349632181521, + 0.0, + 0.0, + 0.023021800954745656 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.14603711256799923, + -0.14405859346775124, + 0.7825 + ], + "default_ori": [ + 0.9990610465620802, + 0.0, + 0.0, + 0.04332464936131739 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_1.json b/Layouts/RoboDojo/align_blocks/align_blocks_1.json new file mode 100644 index 0000000000000000000000000000000000000000..20c9cc0ac9d667d504c01fe8c348f18c0870233b --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_1.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.021390854944255133, + -0.1899572777986686, + 0.774781176577168 + ], + "default_ori": [ + 0.991620326283233, + 0.01656171562049204, + 0.0021395263543508396, + 0.12810253902487453 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.06124445689640062, + -0.11798531879388255, + 0.7825 + ], + "default_ori": [ + 0.9670390050441064, + 0.0, + 0.0, + -0.2546282834315639 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.040559381670770445, + -0.096316980961046, + 0.7825 + ], + "default_ori": [ + 0.9964100851907579, + 0.0, + 0.0, + 0.0846577942669584 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.014637425610369847, + -0.060871420661631453, + 0.7825 + ], + "default_ori": [ + 0.9682158331452401, + 0.0, + 0.0, + -0.2501161739009866 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_10.json b/Layouts/RoboDojo/align_blocks/align_blocks_10.json new file mode 100644 index 0000000000000000000000000000000000000000..0d6b6e5ff3b249df8b2ce5dab9d7621dcbe2581a --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_10.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.012980666535680058, + -0.1840847904692011, + 0.774781176577168 + ], + "default_ori": [ + 0.9932970102212253, + 0.016589719042598722, + 0.0019102930148668788, + 0.11437736440511331 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.04742075372818305, + -0.06726669853133786, + 0.7825 + ], + "default_ori": [ + 0.9846388880418592, + 0.0, + 0.0, + 0.1746031504747014 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.047572380490501734, + -0.08592592839967125, + 0.7825 + ], + "default_ori": [ + 0.997058403413591, + 0.0, + 0.0, + 0.07664554900541157 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.14215223477735903, + -0.13751683968371542, + 0.7825 + ], + "default_ori": [ + 0.9654555017129348, + 0.0, + 0.0, + -0.2605679838587721 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_11.json b/Layouts/RoboDojo/align_blocks/align_blocks_11.json new file mode 100644 index 0000000000000000000000000000000000000000..1d6eb3b1b71780c2694015de5b30e178601e5bb3 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_11.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.01430730678532266, + -0.164721745329199, + 0.774781176577168 + ], + "default_ori": [ + 0.9967600593157377, + 0.016647557746347453, + -0.0013140846232410973, + -0.07867983322028582 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.14699835301419215, + -0.06411602563306348, + 0.7825 + ], + "default_ori": [ + 0.9997299126881207, + 0.0, + 0.0, + -0.02324008770642751 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.11881174008817345, + -0.06741862420877623, + 0.7825 + ], + "default_ori": [ + 0.9641732712317046, + 0.0, + 0.0, + 0.26527326107686355 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.06269301099137745, + -0.08535219205689219, + 0.7825 + ], + "default_ori": [ + 0.9821942770040131, + 0.0, + 0.0, + 0.1878680447030952 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_12.json b/Layouts/RoboDojo/align_blocks/align_blocks_12.json new file mode 100644 index 0000000000000000000000000000000000000000..6a0a7179a8bde3401e89362ad8d1f004f9418d12 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_12.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.003662355432126542, + -0.17269170461737218, + 0.774781176577168 + ], + "default_ori": [ + 0.9998511330583746, + 0.0166991838404589, + 7.250087977522653e-05, + 0.004340935909416109 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.10849439597958496, + -0.06095133217904873, + 0.7825 + ], + "default_ori": [ + 0.9822050570475335, + 0.0, + 0.0, + -0.18781167671433918 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.010910943219069047, + -0.05522939847091346, + 0.7825 + ], + "default_ori": [ + 0.9638380359950925, + 0.0, + 0.0, + -0.2664887246566403 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.05097565213654588, + -0.09313383860040071, + 0.7825 + ], + "default_ori": [ + 0.9981510919084088, + 0.0, + 0.0, + -0.060781557417125175 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_13.json b/Layouts/RoboDojo/align_blocks/align_blocks_13.json new file mode 100644 index 0000000000000000000000000000000000000000..9a3b75d4fddeb082173f74a5709f508bfe7396f4 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_13.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.008854686096990846, + -0.18417862141072014, + 0.774781176577168 + ], + "default_ori": [ + 0.9960598364062125, + 0.016635862854269174, + 0.001454669862532006, + 0.08709726919435647 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.1360332391606904, + -0.09998804676636483, + 0.7825 + ], + "default_ori": [ + 0.9945369527013511, + 0.0, + 0.0, + 0.10438510291948018 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.11390298145663728, + -0.09043576085681691, + 0.7825 + ], + "default_ori": [ + 0.9823178571975046, + 0.0, + 0.0, + 0.18722079860662597 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.06824178752826948, + -0.09750093636181419, + 0.7825 + ], + "default_ori": [ + 0.9912014030711561, + 0.0, + 0.0, + 0.13236230033423968 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_14.json b/Layouts/RoboDojo/align_blocks/align_blocks_14.json new file mode 100644 index 0000000000000000000000000000000000000000..9d816b72731d219247f1e4115a500e69a85d01f9 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_14.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.02951491978227931, + -0.1696571559423746, + 0.774781176577168 + ], + "default_ori": [ + 0.999046400973233, + 0.01668574347060005, + 0.0006737671321306868, + 0.04034130271960921 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.08692387185942832, + -0.053490386628813655, + 0.7825 + ], + "default_ori": [ + 0.9754135401015858, + 0.0, + 0.0, + 0.22038245344512358 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.12404864223573028, + -0.06804439808739293, + 0.7825 + ], + "default_ori": [ + 0.9999014595381004, + 0.0, + 0.0, + 0.014038205497025391 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.03603552693878992, + -0.08658488627031126, + 0.7825 + ], + "default_ori": [ + 0.9641166210264359, + 0.0, + 0.0, + 0.26547907838578866 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_15.json b/Layouts/RoboDojo/align_blocks/align_blocks_15.json new file mode 100644 index 0000000000000000000000000000000000000000..86e873944c26c5a32776a7f0753144a4b356724c --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_15.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.010320876844156682, + -0.18143018806328465, + 0.774781176577168 + ], + "default_ori": [ + 0.9925268700222513, + 0.016576856415013098, + 0.002018868175748724, + 0.12087822089408078 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.014808353324535922, + -0.12203298186276623, + 0.7825 + ], + "default_ori": [ + 0.9992927605846887, + 0.0, + 0.0, + 0.03760290737472372 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.07549821334834582, + -0.11864454718511856, + 0.7825 + ], + "default_ori": [ + 0.9977763679490153, + 0.0, + 0.0, + 0.06665072814659549 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.0713445480645494, + -0.08489418728827651, + 0.7825 + ], + "default_ori": [ + 0.999789093848425, + 0.0, + 0.0, + -0.020536986676368087 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_16.json b/Layouts/RoboDojo/align_blocks/align_blocks_16.json new file mode 100644 index 0000000000000000000000000000000000000000..cfa333bfa9e26755e385dd110a063cb0c1bfd912 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_16.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.014008161606572922, + -0.16382474518619017, + 0.774781176577168 + ], + "default_ori": [ + 0.999854975508233, + 0.016699248015789068, + -5.5794463673959506e-05, + -0.003340651750155216 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.10495601320547525, + -0.05001096901930825, + 0.7825 + ], + "default_ori": [ + 0.990739719054329, + 0.0, + 0.0, + 0.13577484703784143 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.025818076589073355, + -0.07876841054564039, + 0.7825 + ], + "default_ori": [ + 0.981493895125594, + 0.0, + 0.0, + 0.1914934302559477 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.07825026829065149, + -0.07607405573099435, + 0.7825 + ], + "default_ori": [ + 0.989174066217155, + 0.0, + 0.0, + -0.14674694791858378 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_17.json b/Layouts/RoboDojo/align_blocks/align_blocks_17.json new file mode 100644 index 0000000000000000000000000000000000000000..e2bb021ae85520ff0202da9e6f7f9b57b9150bc8 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_17.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.036348307304209224, + -0.18063769064820484, + 0.774781176577168 + ], + "default_ori": [ + 0.9938973108276435, + 0.01659974506532818, + 0.0018211153398740663, + 0.10903791786467538 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.01362948468500888, + -0.12739837073693683, + 0.7825 + ], + "default_ori": [ + 0.9706180012034247, + 0.0, + 0.0, + 0.2406256340040869 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.1300624747516618, + -0.09699845021325494, + 0.7825 + ], + "default_ori": [ + 0.9983456351743164, + 0.0, + 0.0, + 0.057497762812050095 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.11916938109215228, + -0.0503033885567806, + 0.7825 + ], + "default_ori": [ + 0.9722379660897801, + 0.0, + 0.0, + 0.23399431038725665 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_18.json b/Layouts/RoboDojo/align_blocks/align_blocks_18.json new file mode 100644 index 0000000000000000000000000000000000000000..499fa7090c71dbe1cb833bfe51d4e54466b9cf93 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_18.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.013612754297742218, + -0.17947807946462224, + 0.774781176577168 + ], + "default_ori": [ + 0.9997944012778324, + 0.016698236324972297, + 0.00019209620086693552, + 0.011501616242326276 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.10349631111375418, + -0.07495008253818074, + 0.7825 + ], + "default_ori": [ + 0.9819115623587408, + 0.0, + 0.0, + 0.18934012703654954 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.05598063074945833, + -0.054090932030640165, + 0.7825 + ], + "default_ori": [ + 0.9869956844667854, + 0.0, + 0.0, + -0.16074675375864275 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.014131964237688144, + -0.12039002985125306, + 0.7825 + ], + "default_ori": [ + 0.9987075955644144, + 0.0, + 0.0, + -0.05082458619552309 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_19.json b/Layouts/RoboDojo/align_blocks/align_blocks_19.json new file mode 100644 index 0000000000000000000000000000000000000000..8c3402c9fe27ea6af8bdf60a11bb0ac56f29c6f3 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_19.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.01953751665246141, + -0.19917110997230225, + 0.774781176577168 + ], + "default_ori": [ + 0.9998604966275293, + 0.016699340227702506, + 5.768400867936883e-06, + 0.0003453786843024005 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.05865578811237343, + -0.07967365619966243, + 0.7825 + ], + "default_ori": [ + 0.9923686476145347, + 0.0, + 0.0, + -0.12330639574531208 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.11847494293483732, + -0.11656943532180819, + 0.7825 + ], + "default_ori": [ + 0.9946361713480184, + 0.0, + 0.0, + -0.10343542258895379 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.033358927598422405, + -0.13589923012141547, + 0.7825 + ], + "default_ori": [ + 0.9562009677656221, + 0.0, + 0.0, + 0.29271096536359487 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_2.json b/Layouts/RoboDojo/align_blocks/align_blocks_2.json new file mode 100644 index 0000000000000000000000000000000000000000..59f7b2f21f9ed5086c08a69e71742b4525c6223a --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_2.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.031201797994032776, + -0.15872848153911526, + 0.774781176577168 + ], + "default_ori": [ + 0.9991391420324789, + 0.016687292401182514, + 0.0006342472959722715, + 0.03797508211033978 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.04954658451650851, + -0.09290325826707345, + 0.7825 + ], + "default_ori": [ + 0.9928452144131932, + 0.0, + 0.0, + 0.11940845956975003 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.11651708880303743, + -0.08902235118848237, + 0.7825 + ], + "default_ori": [ + 0.9851318992496838, + 0.0, + 0.0, + -0.17179971210892925 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.12864394041723468, + -0.05289304620267958, + 0.7825 + ], + "default_ori": [ + 0.959251186021775, + 0.0, + 0.0, + -0.28255470641243646 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_20.json b/Layouts/RoboDojo/align_blocks/align_blocks_20.json new file mode 100644 index 0000000000000000000000000000000000000000..d84203d09ba97201c2f474aa07f394ed3e338ccf --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_20.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.030265463630539724, + -0.16552534153156653, + 0.774781176577168 + ], + "default_ori": [ + 0.9997044440037057, + 0.01669673388825071, + 0.00029508436073799946, + 0.01766795522766022 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.03299192424869235, + -0.05027351432988904, + 0.7825 + ], + "default_ori": [ + 0.982744166611814, + 0.0, + 0.0, + 0.18497000565078484 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.09454285245526281, + -0.08167580023661136, + 0.7825 + ], + "default_ori": [ + 0.9988241053083803, + 0.0, + 0.0, + -0.04848099271790809 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.1153434912866993, + -0.05431607784063629, + 0.7825 + ], + "default_ori": [ + 0.987888797048566, + 0.0, + 0.0, + -0.15516354167760277 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_21.json b/Layouts/RoboDojo/align_blocks/align_blocks_21.json new file mode 100644 index 0000000000000000000000000000000000000000..59ca15134c5d681aeec5803e623450702e457152 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_21.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.004432584675560236, + -0.1724324939477559, + 0.774781176577168 + ], + "default_ori": [ + 0.9991877521152991, + 0.01668810427075257, + -0.0006125138067845104, + -0.036673805712804305 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.11352300951334895, + -0.108077550731188, + 0.7825 + ], + "default_ori": [ + 0.9929371909160614, + 0.0, + 0.0, + -0.11864120235281278 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.018803577774745284, + -0.10516015800376162, + 0.7825 + ], + "default_ori": [ + 0.9881814257806851, + 0.0, + 0.0, + 0.1532888441539447 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.07320222954286033, + -0.05302577712117208, + 0.7825 + ], + "default_ori": [ + 0.9964405278991646, + 0.0, + 0.0, + -0.08429872098694235 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_22.json b/Layouts/RoboDojo/align_blocks/align_blocks_22.json new file mode 100644 index 0000000000000000000000000000000000000000..bde008ba653537dadaf235c50b17292c1bf682af --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_22.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.019769378139623067, + -0.16894152118884173, + 0.774781176577168 + ], + "default_ori": [ + 0.9921773999023987, + 0.01657101968033809, + -0.0020662294327735012, + -0.12371394070839663 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.08549435666107927, + -0.08946919497556696, + 0.7825 + ], + "default_ori": [ + 0.9989963741096346, + 0.0, + 0.0, + 0.044791120948275656 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.11759123527090154, + -0.06228040960313436, + 0.7825 + ], + "default_ori": [ + 0.9999446028273006, + 0.0, + 0.0, + -0.010525743515409558 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.010505914758198787, + -0.0755265915963144, + 0.7825 + ], + "default_ori": [ + 0.9939743130265284, + 0.0, + 0.0, + 0.10961325213422458 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_23.json b/Layouts/RoboDojo/align_blocks/align_blocks_23.json new file mode 100644 index 0000000000000000000000000000000000000000..42b0b2e5850f4365dc0614d35543cdcc79955be7 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_23.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.008039875581507858, + -0.1806350894955216, + 0.774781176577168 + ], + "default_ori": [ + 0.9988254424218956, + 0.016682053093755034, + 0.0007596722267859844, + 0.045484805961874604 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.05692288986009701, + -0.056543495217722256, + 0.7825 + ], + "default_ori": [ + 0.9816493373660815, + 0.0, + 0.0, + 0.1906949880010827 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.1371496177496061, + -0.10560975016890532, + 0.7825 + ], + "default_ori": [ + 0.9656747657985134, + 0.0, + 0.0, + 0.25975420439328106 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.05140958994292916, + -0.06252016233043008, + 0.7825 + ], + "default_ori": [ + 0.9997872198098544, + 0.0, + 0.0, + 0.02062801747337663 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_24.json b/Layouts/RoboDojo/align_blocks/align_blocks_24.json new file mode 100644 index 0000000000000000000000000000000000000000..0bf2a1d448a0d4df50189cf0626126cee756968d --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_24.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.013249030181033752, + -0.15228202233887816, + 0.774781176577168 + ], + "default_ori": [ + 0.9953212164906681, + 0.01662352666806096, + 0.0015894522425281732, + 0.095167263311612 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.13426235736742925, + -0.06163164005038409, + 0.7825 + ], + "default_ori": [ + 0.9956306787541115, + 0.0, + 0.0, + -0.09337853888141139 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.003095016280525359, + -0.07356610776103135, + 0.7825 + ], + "default_ori": [ + 0.988603674659835, + 0.0, + 0.0, + -0.1505416037149568 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.06047796668082729, + -0.07272144941153777, + 0.7825 + ], + "default_ori": [ + 0.9973664494342961, + 0.0, + 0.0, + 0.07252699871651705 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_25.json b/Layouts/RoboDojo/align_blocks/align_blocks_25.json new file mode 100644 index 0000000000000000000000000000000000000000..24841448ab1116f0d16af4c7081da8e234382913 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_25.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.01658247078918343, + -0.1686763536792933, + 0.774781176577168 + ], + "default_ori": [ + 0.9973983543694616, + 0.01665821833980399, + 0.0011712211825397837, + 0.07012599164200778 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.04219216672366047, + -0.08248128459825664, + 0.7825 + ], + "default_ori": [ + 0.961593796258491, + 0.0, + 0.0, + 0.27447653997597654 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.08982781250468516, + -0.0650519024595097, + 0.7825 + ], + "default_ori": [ + 0.9940190273427655, + 0.0, + 0.0, + -0.10920702028964357 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.10289409467590743, + -0.09055925891180656, + 0.7825 + ], + "default_ori": [ + 0.9594800744709102, + 0.0, + 0.0, + 0.2817764835703943 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_26.json b/Layouts/RoboDojo/align_blocks/align_blocks_26.json new file mode 100644 index 0000000000000000000000000000000000000000..257081f49f06ab94c2ef41b6646d08b56d0612fe --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_26.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.005079599356317799, + -0.1755554084964299, + 0.774781176577168 + ], + "default_ori": [ + 0.999712124785522, + 0.016696862170135232, + -0.00028773422896638, + -0.01722787158943014 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.024191041740616842, + -0.09278314909984664, + 0.7825 + ], + "default_ori": [ + 0.9759936489530665, + 0.0, + 0.0, + 0.21779898347622836 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.13819502560726096, + -0.09983313230535514, + 0.7825 + ], + "default_ori": [ + 0.9748919578571178, + 0.0, + 0.0, + -0.22267840152452098 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.10858081417551324, + -0.07709504972515703, + 0.7825 + ], + "default_ori": [ + 0.9973758223115954, + 0.0, + 0.0, + 0.0723979907750824 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_27.json b/Layouts/RoboDojo/align_blocks/align_blocks_27.json new file mode 100644 index 0000000000000000000000000000000000000000..160a200339b96b45a32b00ce36bbf6e07513bd2d --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_27.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.03862021912248879, + -0.1768809797152526, + 0.774781176577168 + ], + "default_ori": [ + 0.9992035500749249, + 0.01668836812306355, + -0.0006052823342277227, + -0.0362408267062455 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.11725569705156327, + -0.08118966654439842, + 0.7825 + ], + "default_ori": [ + 0.9762091939021645, + 0.0, + 0.0, + -0.2168308320808785 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.030634504836058077, + -0.10793354852858392, + 0.7825 + ], + "default_ori": [ + 0.9817227610340923, + 0.0, + 0.0, + -0.19031663213602357 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.07555167567467974, + -0.07411288139680099, + 0.7825 + ], + "default_ori": [ + 0.9983380649132517, + 0.0, + 0.0, + 0.05762905643218474 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_28.json b/Layouts/RoboDojo/align_blocks/align_blocks_28.json new file mode 100644 index 0000000000000000000000000000000000000000..98e02737f463c2a194348a27545591c05ad166ac --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_28.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.0450709976267242, + -0.15700218981029637, + 0.774781176577168 + ], + "default_ori": [ + 0.9998246504751815, + 0.01669874153708924, + -0.00014152170329092138, + -0.008473506055125287 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.13799995974322474, + -0.06536377376351817, + 0.7825 + ], + "default_ori": [ + 0.9922620811705389, + 0.0, + 0.0, + -0.124161033626137 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.09814924254234081, + -0.08171693134058232, + 0.7825 + ], + "default_ori": [ + 0.9930055018390002, + 0.0, + 0.0, + 0.11806808763368463 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.03722309656236619, + -0.08688150647789915, + 0.7825 + ], + "default_ori": [ + 0.9904684746455932, + 0.0, + 0.0, + -0.13773961207013735 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_29.json b/Layouts/RoboDojo/align_blocks/align_blocks_29.json new file mode 100644 index 0000000000000000000000000000000000000000..42e68b1d0ca5403fcf41d29a80cc5180cd20e92e --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_29.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.01536101087227685, + -0.17057590209422596, + 0.774781176577168 + ], + "default_ori": [ + 0.9997489471684781, + 0.016697477165430127, + -0.00024950676333790735, + -0.01493903069829782 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.08292981523337639, + -0.051808983287016844, + 0.7825 + ], + "default_ori": [ + 0.9998505866053022, + 0.0, + 0.0, + 0.01728596150155172 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.10576388172878291, + -0.09190739588324885, + 0.7825 + ], + "default_ori": [ + 0.9551349935988926, + 0.0, + 0.0, + -0.29617080207684787 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.0017848709181070566, + -0.10661999182243084, + 0.7825 + ], + "default_ori": [ + 0.9984187922077746, + 0.0, + 0.0, + 0.056213124502811615 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_3.json b/Layouts/RoboDojo/align_blocks/align_blocks_3.json new file mode 100644 index 0000000000000000000000000000000000000000..a17ceb0c8fe5067a5feb487172a8e58727add9a7 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_3.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.02058061752559817, + -0.16527342889489036, + 0.774781176577168 + ], + "default_ori": [ + 0.9935034359006031, + 0.016593166696209694, + -0.0018801107166359625, + -0.11257022189007779 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.0443725641364284, + -0.07908130602496194, + 0.7825 + ], + "default_ori": [ + 0.9935449599627904, + 0.0, + 0.0, + -0.11343902561525067 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.1084052189630069, + -0.10566262177766184, + 0.7825 + ], + "default_ori": [ + 0.9931277614007072, + 0.0, + 0.0, + 0.11703524911418796 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.05977845570907081, + -0.053273772159414645, + 0.7825 + ], + "default_ori": [ + 0.9826372657512064, + 0.0, + 0.0, + -0.18553706895656485 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_30.json b/Layouts/RoboDojo/align_blocks/align_blocks_30.json new file mode 100644 index 0000000000000000000000000000000000000000..2e036fafc14eee303c711a640d250d7914aae98c --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_30.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.03650297524051303, + -0.18884211071879917, + 0.774781176577168 + ], + "default_ori": [ + 0.9989752194393337, + 0.01668455462009888, + 0.0007025912353203298, + 0.042067124323161544 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.044629949874076036, + -0.06994630720101143, + 0.7825 + ], + "default_ori": [ + 0.995593469972018, + 0.0, + 0.0, + 0.09377442374697165 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.11962223466993263, + -0.05327905184798214, + 0.7825 + ], + "default_ori": [ + 0.9616655735674021, + 0.0, + 0.0, + 0.2742249525759452 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.059374712475567304, + -0.09967887954299294, + 0.7825 + ], + "default_ori": [ + 0.9995759619853394, + 0.0, + 0.0, + 0.02911865761128996 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_31.json b/Layouts/RoboDojo/align_blocks/align_blocks_31.json new file mode 100644 index 0000000000000000000000000000000000000000..9b4419305df131b6d985a85642023fae005eb8dc --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_31.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.0037025745587549452, + -0.16756688548212775, + 0.774781176577168 + ], + "default_ori": [ + 0.9972289101119739, + 0.016655388337703733, + 0.0012107999980567818, + 0.07249574359622613 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.10632321094269612, + -0.052302697541290175, + 0.7825 + ], + "default_ori": [ + 0.9866628874007689, + 0.0, + 0.0, + 0.1627769843251122 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.10036849266055312, + -0.07949733093360492, + 0.7825 + ], + "default_ori": [ + 0.958706387485554, + 0.0, + 0.0, + 0.2843977190386707 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.011036580179932448, + -0.09962989899737007, + 0.7825 + ], + "default_ori": [ + 0.9983578608522735, + 0.0, + 0.0, + -0.057285091205937354 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_32.json b/Layouts/RoboDojo/align_blocks/align_blocks_32.json new file mode 100644 index 0000000000000000000000000000000000000000..3a57ccc31065f1fc70b74c975946f5b3310d8107 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_32.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.020789774043288273, + -0.16790810846954615, + 0.774781176577168 + ], + "default_ori": [ + 0.999222152810517, + 0.016688678819817615, + -0.0005966544762111353, + -0.03572424016547989 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.020397725941720207, + -0.05107225355323322, + 0.7825 + ], + "default_ori": [ + 0.9997479982052406, + 0.0, + 0.0, + -0.022448609859283646 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.1379710312042622, + -0.05195026468676253, + 0.7825 + ], + "default_ori": [ + 0.9744142070713362, + 0.0, + 0.0, + -0.2247597674352309 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.0451697358903235, + -0.07724411017866159, + 0.7825 + ], + "default_ori": [ + 0.9909039262369881, + 0.0, + 0.0, + -0.13457120408215753 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_33.json b/Layouts/RoboDojo/align_blocks/align_blocks_33.json new file mode 100644 index 0000000000000000000000000000000000000000..c2b2cf7aea13ebb3cda8fc576131e0d6b4d2551e --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_33.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 5.071843589055103e-05, + -0.1778228853091003, + 0.774781176577168 + ], + "default_ori": [ + 0.9980971043816216, + 0.016669888632036285, + 0.0009913678986730094, + 0.059357410891206115 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.03511407191214169, + -0.05617613796178124, + 0.7825 + ], + "default_ori": [ + 0.9720041146390244, + 0.0, + 0.0, + 0.2349638293967956 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.1184360264834787, + -0.08783109121258287, + 0.7825 + ], + "default_ori": [ + 0.9646790753143629, + 0.0, + 0.0, + 0.2634279439441189 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.09494501728535437, + -0.12597040368554852, + 0.7825 + ], + "default_ori": [ + 0.9732481529543185, + 0.0, + 0.0, + 0.2297564640461882 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_34.json b/Layouts/RoboDojo/align_blocks/align_blocks_34.json new file mode 100644 index 0000000000000000000000000000000000000000..476f473062e714c680fff323c5bcab2a06180225 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_34.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.047018470856356465, + -0.18500219755006722, + 0.774781176577168 + ], + "default_ori": [ + 0.9996617144741313, + 0.016696020233741365, + 0.0003330250283548124, + 0.01993962430251359 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.0719257901625079, + -0.09175670988528564, + 0.7825 + ], + "default_ori": [ + 0.9777002111520454, + 0.0, + 0.0, + -0.2100054692460316 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.01026547026198285, + -0.10719084713147008, + 0.7825 + ], + "default_ori": [ + 0.9939347272449831, + 0.0, + 0.0, + 0.10997162350552601 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.07821678629900958, + -0.10968531775603628, + 0.7825 + ], + "default_ori": [ + 0.9986594696062421, + 0.0, + 0.0, + 0.05176160513140303 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_35.json b/Layouts/RoboDojo/align_blocks/align_blocks_35.json new file mode 100644 index 0000000000000000000000000000000000000000..673d00e0f2883711a3c1e6fbfd160cf78cebc7a6 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_35.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.006841696733507652, + -0.18238796418205655, + 0.774781176577168 + ], + "default_ori": [ + 0.9998597018887702, + 0.016699326954237884, + -2.183095224476063e-05, + -0.0013071119251219254 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.01926004972466483, + -0.10835185666873934, + 0.7825 + ], + "default_ori": [ + 0.9998995298105372, + 0.0, + 0.0, + 0.014174987995290444 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.06701070319277752, + -0.07678683650204889, + 0.7825 + ], + "default_ori": [ + 0.977779706185081, + 0.0, + 0.0, + 0.20963503088133104 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.12652747155247387, + -0.0991188790013447, + 0.7825 + ], + "default_ori": [ + 0.9831067243745047, + 0.0, + 0.0, + 0.18303324421981831 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_36.json b/Layouts/RoboDojo/align_blocks/align_blocks_36.json new file mode 100644 index 0000000000000000000000000000000000000000..9806d4db83962888a6031ee6327b9d8cefa30395 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_36.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.03250469480587329, + -0.1898303054435158, + 0.774781176577168 + ], + "default_ori": [ + 0.9990264648955314, + 0.016685410504805855, + 0.000681963049678139, + 0.040832027148094086 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.10336598706184999, + -0.10482429085232241, + 0.7825 + ], + "default_ori": [ + 0.9747823808606008, + 0.0, + 0.0, + -0.22315758997564653 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.05135289823881821, + -0.11961443912147565, + 0.7825 + ], + "default_ori": [ + 0.9824007582983553, + 0.0, + 0.0, + -0.18678530481495717 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.004381573072113926, + -0.06290459320609641, + 0.7825 + ], + "default_ori": [ + 0.9685266423740659, + 0.0, + 0.0, + 0.24890990942832783 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_37.json b/Layouts/RoboDojo/align_blocks/align_blocks_37.json new file mode 100644 index 0000000000000000000000000000000000000000..fecfaf91f64ff6b2421b592bebcb286cda004b22 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_37.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.01156793677641671, + -0.19379233325548978, + 0.774781176577168 + ], + "default_ori": [ + 0.9989992832861017, + 0.016684956526530553, + -0.0006929812571761821, + -0.04149173407487811 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.149868491113574, + -0.11061419322347019, + 0.7825 + ], + "default_ori": [ + 0.9867065218173628, + 0.0, + 0.0, + -0.16251227585349443 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.05981026030287487, + -0.1263500223935292, + 0.7825 + ], + "default_ori": [ + 0.999531179076246, + 0.0, + 0.0, + 0.030617348912822924 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.009255344533340343, + -0.07221192162388722, + 0.7825 + ], + "default_ori": [ + 0.9803776948673746, + 0.0, + 0.0, + 0.1971283221826153 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_38.json b/Layouts/RoboDojo/align_blocks/align_blocks_38.json new file mode 100644 index 0000000000000000000000000000000000000000..fe2ec4eced33d66df2bd51889ee60b4bbfcb6f03 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_38.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.04256975679633311, + -0.1747970046665642, + 0.774781176577168 + ], + "default_ori": [ + 0.9987111344680356, + 0.016680143960012196, + -0.0008004965885502077, + -0.047929134065350466 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.0030708046978109582, + -0.08392944099981581, + 0.7825 + ], + "default_ori": [ + 0.9668665851482661, + 0.0, + 0.0, + -0.2552822095715462 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.12413688388434983, + -0.0555815560480296, + 0.7825 + ], + "default_ori": [ + 0.9923209309104446, + 0.0, + 0.0, + -0.12368981395825923 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.07058905778029809, + -0.09185973872916421, + 0.7825 + ], + "default_ori": [ + 0.9960566143803824, + 0.0, + 0.0, + -0.08871990165171703 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_39.json b/Layouts/RoboDojo/align_blocks/align_blocks_39.json new file mode 100644 index 0000000000000000000000000000000000000000..c3a37e11c888f87d88efcaa442ab3b8fdf7b55c0 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_39.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.048266362772915586, + -0.15754550548118804, + 0.774781176577168 + ], + "default_ori": [ + 0.9991685114766026, + 0.016687782919951256, + -0.0006212073177248789, + -0.0371943231732399 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.0739846715421209, + -0.05951292851343326, + 0.7825 + ], + "default_ori": [ + 0.9956479697465298, + 0.0, + 0.0, + 0.0931939930446879 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.0008495930253585582, + -0.06854253665169144, + 0.7825 + ], + "default_ori": [ + 0.9623185826329925, + 0.0, + 0.0, + 0.27192452173209447 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.09999461788651862, + -0.07278817155710918, + 0.7825 + ], + "default_ori": [ + 0.9852555316349642, + 0.0, + 0.0, + 0.17108926729255727 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_4.json b/Layouts/RoboDojo/align_blocks/align_blocks_4.json new file mode 100644 index 0000000000000000000000000000000000000000..d4799caa09a4b887f13116bd3132b4bdea319fd1 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_4.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.03195594668534055, + -0.19911943605971524, + 0.774781176577168 + ], + "default_ori": [ + 0.9937481391906527, + 0.016597253649848886, + -0.0018436834320429613, + -0.11038916549100342 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.04418381842137642, + -0.09375109736639954, + 0.7825 + ], + "default_ori": [ + 0.9883350386640304, + 0.0, + 0.0, + 0.1522952768439309 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.12257072090541994, + -0.05415827664819654, + 0.7825 + ], + "default_ori": [ + 0.978634207824283, + 0.0, + 0.0, + 0.2056090641876909 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.14581300594583615, + -0.16848672836162912, + 0.7825 + ], + "default_ori": [ + 0.993806373611654, + 0.0, + 0.0, + -0.11112556757494489 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_40.json b/Layouts/RoboDojo/align_blocks/align_blocks_40.json new file mode 100644 index 0000000000000000000000000000000000000000..a13d6aab91f66d0791c2563beb6537106907d5c3 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_40.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.005662440801607348, + -0.19642949358228212, + 0.774781176577168 + ], + "default_ori": [ + 0.9979973334357538, + 0.01666822229060615, + -0.0010190009744608605, + -0.06101192062056374 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.05443354867156383, + -0.1332097612566946, + 0.7825 + ], + "default_ori": [ + 0.9755874358964295, + 0.0, + 0.0, + -0.21961137247654136 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.0034801145309145964, + -0.09370764307423098, + 0.7825 + ], + "default_ori": [ + 0.9907168889848279, + 0.0, + 0.0, + -0.1359413324939267 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.13193554336502353, + -0.0943382283593529, + 0.7825 + ], + "default_ori": [ + 0.9903075011925504, + 0.0, + 0.0, + -0.1388922354984857 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_41.json b/Layouts/RoboDojo/align_blocks/align_blocks_41.json new file mode 100644 index 0000000000000000000000000000000000000000..d7d5568768d564a6acf11457b0cfd32a1e9b0c93 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_41.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.04146491673362629, + -0.1575697270013647, + 0.774781176577168 + ], + "default_ori": [ + 0.9993131170259836, + 0.01669019807414134, + 0.000552526525101334, + 0.03308211212268406 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.10615590704191055, + -0.058089073330872903, + 0.7825 + ], + "default_ori": [ + 0.999005225759947, + 0.0, + 0.0, + 0.044593260750000446 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.1170986852765428, + -0.05088906701434992, + 0.7825 + ], + "default_ori": [ + 0.9938620718104503, + 0.0, + 0.0, + 0.11062631792046357 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.01686155945447998, + -0.09297617761141451, + 0.7825 + ], + "default_ori": [ + 0.9543519623405673, + 0.0, + 0.0, + -0.2986843350038775 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_42.json b/Layouts/RoboDojo/align_blocks/align_blocks_42.json new file mode 100644 index 0000000000000000000000000000000000000000..6d6076f1b465112d2f33621a97be69525a01546c --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_42.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.0425006550388541, + -0.16640031637303518, + 0.774781176577168 + ], + "default_ori": [ + 0.9998149288863797, + 0.016698579170319573, + -0.00015953371926059523, + -0.009551962029261628 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.11288792840923748, + -0.05827636361526227, + 0.7825 + ], + "default_ori": [ + 0.9751205623138646, + 0.0, + 0.0, + -0.22167518795005609 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.0643563841379041, + -0.050293960267081536, + 0.7825 + ], + "default_ori": [ + 0.9610655628257554, + 0.0, + 0.0, + 0.2763204370842193 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.13851637994009572, + -0.10230527266104084, + 0.7825 + ], + "default_ori": [ + 0.9881950723579193, + 0.0, + 0.0, + 0.1532008451919463 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_43.json b/Layouts/RoboDojo/align_blocks/align_blocks_43.json new file mode 100644 index 0000000000000000000000000000000000000000..72241e0e009a9646346229c334ed437ce71eba14 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_43.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.04029509538192281, + -0.1781290001530644, + 0.774781176577168 + ], + "default_ori": [ + 0.9939386865376607, + 0.016600436108789814, + 0.001814805309943515, + 0.10866010954565992 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.0018703776183846832, + -0.08268281446839836, + 0.7825 + ], + "default_ori": [ + 0.9669571685974574, + 0.0, + 0.0, + 0.2549388830641343 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.13378264381411425, + -0.07227728374269705, + 0.7825 + ], + "default_ori": [ + 0.999240350288011, + 0.0, + 0.0, + 0.03897078849976273 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.08368931220395445, + -0.06369597840056497, + 0.7825 + ], + "default_ori": [ + 0.9699151336001604, + 0.0, + 0.0, + -0.243443286236 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_44.json b/Layouts/RoboDojo/align_blocks/align_blocks_44.json new file mode 100644 index 0000000000000000000000000000000000000000..196dd9f07c499e140c87310b687ba43018d667bb --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_44.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.029742278045259543, + -0.17210049489862622, + 0.774781176577168 + ], + "default_ori": [ + 0.9972589249642457, + 0.016655889635866488, + 0.0012038844433113539, + 0.07208167993215706 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.04231404595171978, + -0.053666892801233074, + 0.7825 + ], + "default_ori": [ + 0.9826401595716729, + 0.0, + 0.0, + 0.1855217421138486 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.04551090048439772, + -0.11208109761967239, + 0.7825 + ], + "default_ori": [ + 0.9992343524956114, + 0.0, + 0.0, + 0.039124273701581135 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.10433102348909332, + -0.07348448777787897, + 0.7825 + ], + "default_ori": [ + 0.9989047476077528, + 0.0, + 0.0, + 0.04679001182615358 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_45.json b/Layouts/RoboDojo/align_blocks/align_blocks_45.json new file mode 100644 index 0000000000000000000000000000000000000000..8e1767c6d1645534921894ce9361853787a2706b --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_45.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.02588514793100699, + -0.16065719836472514, + 0.774781176577168 + ], + "default_ori": [ + 0.9998043070645644, + 0.016698401768155038, + -0.00017713188388452237, + -0.010605638963840355 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.029870491298523205, + -0.08286649433948728, + 0.7825 + ], + "default_ori": [ + 0.9608124880682435, + 0.0, + 0.0, + -0.2771991391979988 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.0757951379622957, + -0.09634500641372401, + 0.7825 + ], + "default_ori": [ + 0.9867335648088199, + 0.0, + 0.0, + 0.16234799684529025 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.12733502569018476, + -0.05403871821158984, + 0.7825 + ], + "default_ori": [ + 0.9966728931295371, + 0.0, + 0.0, + 0.08150548509639298 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_46.json b/Layouts/RoboDojo/align_blocks/align_blocks_46.json new file mode 100644 index 0000000000000000000000000000000000000000..d90da02ab43e28eba3a5186ee1cb837ad22f5c1d --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_46.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.02086027553508049, + -0.15923672871299246, + 0.774781176577168 + ], + "default_ori": [ + 0.9932292601738363, + 0.016588587503653433, + -0.001920094255146103, + -0.11496420633057416 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.14158618806094117, + -0.08008598552703289, + 0.7825 + ], + "default_ori": [ + 0.9834966438552232, + 0.0, + 0.0, + 0.18092637045359744 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.045916842516089185, + -0.0989088859791056, + 0.7825 + ], + "default_ori": [ + 0.9781535802418931, + 0.0, + 0.0, + 0.20788355745456744 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.013565239229808429, + -0.056706863001787636, + 0.7825 + ], + "default_ori": [ + 0.9927164698532251, + 0.0, + 0.0, + 0.12047410710252587 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_47.json b/Layouts/RoboDojo/align_blocks/align_blocks_47.json new file mode 100644 index 0000000000000000000000000000000000000000..2301f25b091e32f02af6572f99163074c1314fc0 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_47.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.029709362665290662, + -0.1911429821015318, + 0.774781176577168 + ], + "default_ori": [ + 0.9980219070547952, + 0.016668632711086186, + -0.0010122652112561008, + -0.06060862184041768 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.020356722733588406, + -0.1224717424996217, + 0.7825 + ], + "default_ori": [ + 0.9872729299336935, + 0.0, + 0.0, + 0.1590350961899301 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.14817651004728777, + -0.056492687631719954, + 0.7825 + ], + "default_ori": [ + 0.9879056884716477, + 0.0, + 0.0, + -0.15505595985114473 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.12247263732629296, + -0.07344093317909761, + 0.7825 + ], + "default_ori": [ + 0.9560830068992152, + 0.0, + 0.0, + 0.29309603190516825 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_48.json b/Layouts/RoboDojo/align_blocks/align_blocks_48.json new file mode 100644 index 0000000000000000000000000000000000000000..b1b0d4204c5524bbd36e32bc2a4b950bd3b5a67a --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_48.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.030151335483777908, + -0.16672186036763764, + 0.774781176577168 + ], + "default_ori": [ + 0.9990818093000794, + 0.016686334848796204, + -0.0006589587459478621, + -0.039454661681033974 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.028248705830062934, + -0.06149502304275571, + 0.7825 + ], + "default_ori": [ + 0.9969912322004242, + 0.0, + 0.0, + 0.07751440456766716 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.14516848218703204, + -0.08080240549719597, + 0.7825 + ], + "default_ori": [ + 0.9751592596761888, + 0.0, + 0.0, + -0.22150489445560215 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.08100445175342547, + -0.05218950844488028, + 0.7825 + ], + "default_ori": [ + 0.993228289892095, + 0.0, + 0.0, + -0.1161790177184524 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_49.json b/Layouts/RoboDojo/align_blocks/align_blocks_49.json new file mode 100644 index 0000000000000000000000000000000000000000..7d668dbddb2ba75b63e083cfb9c3b5da5f3f4c6b --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_49.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.03729900645261296, + -0.1537635519335709, + 0.774781176577168 + ], + "default_ori": [ + 0.9914415549306588, + 0.016558729840326032, + 0.002162513211545314, + 0.12947885989366226 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.08061364552752344, + -0.09943700615980257, + 0.7825 + ], + "default_ori": [ + 0.99102129031249, + 0.0, + 0.0, + -0.13370415905037342 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.045332307146128986, + -0.053332853151540294, + 0.7825 + ], + "default_ori": [ + 0.9911444620295632, + 0.0, + 0.0, + -0.1327880092031195 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.14993271555683782, + -0.1130174278080843, + 0.7825 + ], + "default_ori": [ + 0.9954861983154182, + 0.0, + 0.0, + -0.09490642214052734 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_5.json b/Layouts/RoboDojo/align_blocks/align_blocks_5.json new file mode 100644 index 0000000000000000000000000000000000000000..e6ce63979a9e5f9b73c2184e5689ad4aeaa3dcdb --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_5.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.008536582594904009, + -0.1896610703961303, + 0.774781176577168 + ], + "default_ori": [ + 0.9998032436286581, + 0.01669838400699929, + 0.0001787984054799139, + 0.01070542069696802 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.007321677594080006, + -0.06914151113288657, + 0.7825 + ], + "default_ori": [ + 0.9909967099882918, + 0.0, + 0.0, + -0.1338862233106207 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.1357873649673106, + -0.114046192542273, + 0.7825 + ], + "default_ori": [ + 0.9650846941664674, + 0.0, + 0.0, + -0.261938032911634 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.10735668670966624, + -0.0596111661264119, + 0.7825 + ], + "default_ori": [ + 0.9992251706468533, + 0.0, + 0.0, + -0.03935807853245312 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_50.json b/Layouts/RoboDojo/align_blocks/align_blocks_50.json new file mode 100644 index 0000000000000000000000000000000000000000..97d2d63b5ad799648b55d683106019d90b572250 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_50.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.01980858609260827, + -0.15458942245179116, + 0.774781176577168 + ], + "default_ori": [ + 0.999056236270116, + 0.016685907736484585, + -0.0006696867361204968, + -0.04009699206268771 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.07514972956970409, + -0.0941577049045674, + 0.7825 + ], + "default_ori": [ + 0.9999734961060479, + 0.0, + 0.0, + 0.007280596503572709 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.11254755988797047, + -0.05811560811762928, + 0.7825 + ], + "default_ori": [ + 0.9999639221618964, + 0.0, + 0.0, + -0.00849437311382612 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.029019259590537763, + -0.06880553978950964, + 0.7825 + ], + "default_ori": [ + 0.9991136096280865, + 0.0, + 0.0, + -0.04209507163476009 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_51.json b/Layouts/RoboDojo/align_blocks/align_blocks_51.json new file mode 100644 index 0000000000000000000000000000000000000000..18dcfd116fdaee3caa00d9b66ab91e593245fd7d --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_51.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.021973288139854885, + -0.17708541336402472, + 0.774781176577168 + ], + "default_ori": [ + 0.9998540022655403, + 0.016699231761010624, + 6.0464097329228765e-05, + 0.0036202425700296915 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.06496652749942441, + -0.0631295980455212, + 0.7825 + ], + "default_ori": [ + 0.960966846953807, + 0.0, + 0.0, + 0.2766635484765904 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.1455577348177856, + -0.08347790604977214, + 0.7825 + ], + "default_ori": [ + 0.9999875282367355, + 0.0, + 0.0, + 0.004994333887929515 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.08044653992173889, + -0.07461345867905074, + 0.7825 + ], + "default_ori": [ + 0.9907001977350591, + 0.0, + 0.0, + 0.1360629200322955 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_52.json b/Layouts/RoboDojo/align_blocks/align_blocks_52.json new file mode 100644 index 0000000000000000000000000000000000000000..4989bd0cc576ab3be707b4993ff259cb33017ff5 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_52.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.0304478707411404, + -0.16227918782867193, + 0.774781176577168 + ], + "default_ori": [ + 0.9987695083151639, + 0.016681118900753314, + 0.0007799163634278057, + 0.04669690849050676 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.0057759197019546515, + -0.07756052486366596, + 0.7825 + ], + "default_ori": [ + 0.9989369973385989, + 0.0, + 0.0, + 0.04609637022742959 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.08793432255781208, + -0.08652691214801586, + 0.7825 + ], + "default_ori": [ + 0.964408203753277, + 0.0, + 0.0, + -0.2644178824009031 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.13193573562396607, + -0.06357098466788265, + 0.7825 + ], + "default_ori": [ + 0.9541974590926665, + 0.0, + 0.0, + -0.29917755440724353 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_53.json b/Layouts/RoboDojo/align_blocks/align_blocks_53.json new file mode 100644 index 0000000000000000000000000000000000000000..8899298d8de933708a4ed8a048ba44a8b6aee783 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_53.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.035084600180261306, + -0.16165221100456154, + 0.774781176577168 + ], + "default_ori": [ + 0.9998584872408903, + 0.016699306667589627, + 3.397258907582004e-05, + 0.0020340833423300874 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.12876805446197748, + -0.06858904832724137, + 0.7825 + ], + "default_ori": [ + 0.9555600244762549, + 0.0, + 0.0, + -0.29479660721069917 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.040543765143126076, + -0.0861766009565412, + 0.7825 + ], + "default_ori": [ + 0.9664471790111929, + 0.0, + 0.0, + 0.2568654320481978 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.07924410182294803, + -0.08378943925370361, + 0.7825 + ], + "default_ori": [ + 0.9932504023680857, + 0.0, + 0.0, + -0.1159898193620282 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_54.json b/Layouts/RoboDojo/align_blocks/align_blocks_54.json new file mode 100644 index 0000000000000000000000000000000000000000..bf401a0b7d8b1e1c7e53dbba4f7df926214a144e --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_54.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.0427955477264428, + -0.16347412785574614, + 0.774781176577168 + ], + "default_ori": [ + 0.9993413195462572, + 0.01669066910333283, + -0.0005381098382883919, + -0.0322189237906924 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.0499883450328914, + -0.05689415219354266, + 0.7825 + ], + "default_ori": [ + 0.9858829137083366, + 0.0, + 0.0, + 0.1674361981710063 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.02503404196242251, + -0.09708675065523496, + 0.7825 + ], + "default_ori": [ + 0.9966673429428329, + 0.0, + 0.0, + -0.08157332597898373 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.14604102305560754, + -0.07273090253139912, + 0.7825 + ], + "default_ori": [ + 0.971943265394644, + 0.0, + 0.0, + 0.23521540947394676 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_6.json b/Layouts/RoboDojo/align_blocks/align_blocks_6.json new file mode 100644 index 0000000000000000000000000000000000000000..d6a12fb3ac430beb217d9a83c96b5fa04d719df4 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_6.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.038381794089027414, + -0.16428203836209312, + 0.774781176577168 + ], + "default_ori": [ + 0.9968464448914753, + 0.016649000529740613, + -0.001295676917950098, + -0.07757768564420978 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.04961626973556171, + -0.09234377225019581, + 0.7825 + ], + "default_ori": [ + 0.998242971578874, + 0.0, + 0.0, + -0.059253436131412866 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.03939198557887054, + -0.07530123688932384, + 0.7825 + ], + "default_ori": [ + 0.9991325476771123, + 0.0, + 0.0, + 0.04164315276540615 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.1461006357017384, + -0.05464434949670208, + 0.7825 + ], + "default_ori": [ + 0.9999887513540154, + 0.0, + 0.0, + -0.004743117691680905 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_7.json b/Layouts/RoboDojo/align_blocks/align_blocks_7.json new file mode 100644 index 0000000000000000000000000000000000000000..b75d65d5127361f47ba0a2c28b7d9429979bf43f --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_7.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.02522567542532661, + -0.15596310359869592, + 0.774781176577168 + ], + "default_ori": [ + 0.9996367613525844, + 0.016695603474935653, + -0.00035330146154298513, + -0.021153660562684484 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.10062872686225441, + -0.07862096589684525, + 0.7825 + ], + "default_ori": [ + 0.9969954186251024, + 0.0, + 0.0, + 0.0774605398932697 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.020664235286029536, + -0.05807013973171962, + 0.7825 + ], + "default_ori": [ + 0.9704549530199718, + 0.0, + 0.0, + -0.24128237432312488 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.09239893850234997, + -0.05032420427490211, + 0.7825 + ], + "default_ori": [ + 0.9639087155114188, + 0.0, + 0.0, + -0.26623295844265193 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_8.json b/Layouts/RoboDojo/align_blocks/align_blocks_8.json new file mode 100644 index 0000000000000000000000000000000000000000..d55eeeb82967c2e067afbc3b74c69c0e005a1893 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_8.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + 0.005715105908911014, + -0.18967257822271064, + 0.774781176577168 + ], + "default_ori": [ + 0.9997540482029922, + 0.01669756236122609, + -0.00024373860584154462, + -0.014593666585686256 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + -0.1274340367587568, + -0.08518306040070099, + 0.7825 + ], + "default_ori": [ + 0.9972058273600632, + 0.0, + 0.0, + -0.07470299779213502 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + 0.09461426655771216, + -0.08890762934085146, + 0.7825 + ], + "default_ori": [ + 0.9997062494091751, + 0.0, + 0.0, + -0.02423664358446451 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + -0.0023277201813380888, + -0.12215649725700857, + 0.7825 + ], + "default_ori": [ + 0.9681005091561066, + 0.0, + 0.0, + 0.2505621762590819 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/align_blocks/align_blocks_9.json b/Layouts/RoboDojo/align_blocks/align_blocks_9.json new file mode 100644 index 0000000000000000000000000000000000000000..bf099a4f8731a6687987ed7feffd269164397b90 --- /dev/null +++ b/Layouts/RoboDojo/align_blocks/align_blocks_9.json @@ -0,0 +1,344 @@ +{ + "Rigid": { + "triangular_prism": [ + { + "category": "triangular_prism", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.15 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target", + "default_pos": [ + -0.020711833745408883, + -0.15671034650308205, + 0.774781176577168 + ], + "default_ori": [ + 0.9947506737908633, + 0.016613997652072627, + -0.0016861433307809673, + -0.10095656984717899 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.06, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "cube": [ + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube0", + "default_pos": [ + 0.1354864835317263, + -0.07906239801773564, + 0.7825 + ], + "default_ori": [ + 0.9959686488569549, + 0.0, + 0.0, + -0.08970200942036784 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube1", + "default_pos": [ + -0.1338622015999585, + -0.05510039261100495, + 0.7825 + ], + "default_ori": [ + 0.9999780037692948, + 0.0, + 0.0, + -0.006632644840199435 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "cube", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + 0.15 + ], + "ylim": [ + -0.17, + -0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 35, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cube2", + "default_pos": [ + 0.019127079657814294, + -0.07796440041543785, + 0.7825 + ], + "default_ori": [ + 0.9966017529921547, + 0.0, + 0.0, + 0.08237078324845697 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ], + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_0.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_0.json new file mode 100644 index 0000000000000000000000000000000000000000..3c036f6b4993a45cc2ac0465bb82c9594dbee6da --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_0.json @@ -0,0 +1,937 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.07057236632103366, + -0.02802604423154905, + 0.8031 + ], + "default_ori": [ + 0.2340312257454272, + 0.0, + 0.0, + 0.9722290807089103 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.22539883439076336, + -0.2401333020906339, + 0.7996 + ], + "default_ori": [ + 0.65411855925247, + 0.0, + 0.0, + 0.7563920348876454 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.30968901756395745, + -0.15015069731432898, + 0.7996 + ], + "default_ori": [ + 0.942055868972363, + 0.0, + 0.0, + 0.33545601758610044 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "cake": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.08994617647731859, + 0.28344510800825257, + 0.7649278750461119 + ], + "default_ori": [ + 0.9754396497451071, + 0.002156628079947943, + 0.0018135177275864403, + 0.22024883612387058 + ] + } + ], + "phone_stand": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.492373397757204, + 0.2447734542554615, + 0.7652017247465114 + ], + "default_ori": [ + 0.9756621438086015, + -0.005386735677572749, + 0.0029919286545312083, + 0.2191926380617518 + ] + } + ], + "plate": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.47396238509445343, + -0.22919166814077874, + 0.7803002731258395 + ], + "default_ori": [ + 0.7006901595358915, + 0.6997064963229982, + 0.09851042532697381, + 0.09869050326581542 + ] + } + ], + "garage": [ + { + "category_idx": 2, + "physics": { + "mass": 8.5, + "friction": 0.55, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3151709602471313, + 0.17416593668071573, + 0.8901 + ], + "default_ori": [ + 0.9892468683379531, + 0.0, + 0.0, + -0.14625537078532377 + ] + } + ], + "racket": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3989542418589312, + 0.08255156761760847, + 0.7777131983932335 + ], + "default_ori": [ + 0.9673267411767713, + -0.016693852337424812, + 0.006125501878770303, + -0.2529086185269239 + ] + } + ], + "tissue": [ + { + "category_idx": 1, + "physics": { + "mass": 0.45, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.454563511396711, + 0.36444560247449, + 0.8060060361661949 + ], + "default_ori": [ + 0.9980997673656842, + -0.05960499322629002, + 0.00022685076251643694, + -0.015622026302391198 + ] + } + ], + "walkie_talkie": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.1456020608617864, + 0.23825044294627404, + 0.7880404744334204 + ], + "default_ori": [ + 0.6858030967863565, + -0.6844478963809904, + 0.17476021431291597, + -0.17511155607550377 + ] + } + ], + "pokeball": [ + { + "category_idx": 4, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5424071960906537, + -0.00433941522782432, + 0.8047553286929123 + ], + "default_ori": [ + 0.9901039885019093, + -0.02332757337212039, + 0.02755502707127352, + -0.13561208189641868 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5506428112984069, + 0.2219041629438645, + 0.805 + ], + "default_ori": [ + 0.9721368640163356, + 0.0, + 0.0, + 0.23441398768095026 + ] + } + ], + "stapler": [ + { + "category_idx": 2, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.29951586807379704, + 0.3446873230784517, + 0.7977007182491022 + ], + "default_ori": [ + 0.9952832612570279, + -0.0009467807359023172, + 0.0005946466813379354, + -0.09700505070942145 + ] + } + ], + "audio": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.44262095100822624, + -0.30029153647921664, + 0.7720399740406522 + ], + "default_ori": [ + 0.9986116312363048, + 0.0010511745030648578, + -0.0009460592709309651, + 0.052657477755646116 + ] + } + ], + "pen": [ + { + "category_idx": 2, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.004273521735480158, + 0.24074508294557107, + 0.7715255368825626 + ], + "default_ori": [ + 0.6407367188739488, + 0.7648003339585743, + -0.018997640835081903, + -0.06462194601063043 + ] + } + ], + "comb": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.07781487732010803, + -0.2149127721029619, + 0.765007233038835 + ], + "default_ori": [ + 0.9898320408671969, + 8.433907935765461e-05, + -0.00011351936177085596, + -0.1422410309051293 + ] + } + ], + "gamepad": [ + { + "category_idx": 0, + "physics": { + "mass": 0.22, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4758304601763673, + -0.4158204706468311, + 0.7881213315101707 + ], + "default_ori": [ + -0.6845027385898373, + 0.7276719821923585, + 0.029833752870270014, + -0.032548953668777705 + ] + } + ], + "toy_car": [ + { + "category_idx": 1, + "physics": { + "mass": 0.045, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5032944848249674, + 0.4007473932840797, + 0.7948002807175407 + ], + "default_ori": [ + 0.9999856100545874, + 0.0018998551815940987, + 0.0002011623831697647, + 0.005012959977821701 + ] + } + ], + "calculator": [ + { + "category_idx": 1, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.47985177374946275, + -0.4386685501234539, + 0.7816947085391605 + ], + "default_ori": [ + 0.7071719010092882, + -0.7056213784181766, + -0.032439163138773985, + 0.03088807920538334 + ] + } + ], + "house": [ + { + "category_idx": 2, + "physics": { + "mass": 0.08, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.538435403465462, + -0.04944649833123568, + 0.8109343641348757 + ], + "default_ori": [ + 0.9844404930938533, + -0.004725482804437043, + -0.0008421879327339243, + 0.17565271443641908 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.12240822943886671, + 0.12288199504103793, + 0.8335036579437697 + ], + "default_ori": [ + 0.9999504704045774, + 0.009200922417390399, + -0.0034989668431200725, + -0.0014686712921266054 + ] + } + ], + "coin": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.005 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.47421304168563344, + -0.1294852499314255, + 0.7695999984360117 + ], + "default_ori": [ + -0.6994189567864924, + 0.6998004726607829, + 0.10247402993147735, + -0.10291498696031709 + ] + } + ], + "dice": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3214452426682341, + -0.11159953488074636, + 0.765 + ], + "default_ori": [ + 0.9941151955602985, + -0.0004935599383056929, + -8.00887837109801e-05, + 0.10832694928079399 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.19507588699776332, + 0.022381332550225258, + 0.9177 + ], + "default_ori": [ + 0.9984808717334591, + 0.0, + 0.0, + -0.05509944448351221 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_pink", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0196", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0263", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_1.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_1.json new file mode 100644 index 0000000000000000000000000000000000000000..a00feae7a4778377a4fabaa09a0255af84419e9b --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_1.json @@ -0,0 +1,928 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + -0.19111258940721307, + -0.15623129874401104, + 0.806 + ], + "default_ori": [ + 0.981603806000994, + 0.0, + 0.0, + 0.19092922260451142 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.402812686043121, + -0.03449843110811501, + 0.806 + ], + "default_ori": [ + 0.9324449936558511, + 0.0, + 0.0, + 0.361311961891853 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.23531495467647684, + -0.24178490769859, + 0.7996 + ], + "default_ori": [ + 0.18929971126804332, + 0.0, + 0.0, + 0.981919354791337 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "microscope": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3069681488114843, + 0.11177937601678374, + 0.8565019559257262 + ], + "default_ori": [ + 0.9999699681211791, + 0.00019764134831527498, + -0.0003015590808384366, + -0.007741631336256772 + ] + } + ], + "garage": [ + { + "category_idx": 13, + "physics": { + "type": "rigid", + "mass": 0.04 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.368721694271682, + 0.1724492809019419, + 0.8482757591176587 + ], + "default_ori": [ + 0.9822185991969414, + -0.0767907703221294, + -0.021169179169281408, + 0.1700049023946989 + ] + } + ], + "sound_card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4381994275377802, + -0.34500568949454075, + 0.765101676207007 + ], + "default_ori": [ + 0.9677838367941802, + -0.0038377349880059017, + 0.0019291057585427785, + -0.2517458948643846 + ] + } + ], + "stapler": [ + { + "category_idx": 3, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.29831347569141325, + 0.26938300405719096, + 0.799692594638761 + ], + "default_ori": [ + 0.9688814354379872, + -0.017746643174933657, + 0.0016379215864584487, + -0.24688284252358186 + ] + } + ], + "pokeball": [ + { + "category_idx": 7, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4623515900660061, + 0.2710130549122043, + 0.8047343578181123 + ], + "default_ori": [ + 0.9673168745582535, + 0.01991291382107862, + 0.03242107093118457, + 0.2506998488585137 + ] + } + ], + "tape_measure": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.03119934627933451, + -0.33202917754219047, + 0.7865834893656257 + ], + "default_ori": [ + 0.7346833748181253, + -0.1531930742721521, + -0.6586570839294446, + -0.054250037331395974 + ] + } + ], + "racket": [ + { + "category_idx": 4, + "physics": { + "mass": 0.09, + "friction": 0.65, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.1437089408513558, + 0.11883714156565525, + 0.7690007313579938 + ], + "default_ori": [ + -0.7012260969791279, + 0.7127046649682964, + 0.013642663333447847, + -0.012161380884486806 + ] + } + ], + "box": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2571238745685817, + 0.35695601277813943, + 0.7649015989707201 + ], + "default_ori": [ + 0.9815614371212006, + -0.0005789925798591314, + -0.002159699246664787, + 0.19113384217171006 + ] + } + ], + "cutter": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.030661973919616798, + 0.2577877206225007, + 0.765 + ], + "default_ori": [ + 0.977302506558772, + 0.0, + 0.0, + 0.21184855598738786 + ] + } + ], + "book": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4948678022370869, + -0.1616956683887532, + 0.7653 + ], + "default_ori": [ + 0.9910461038905415, + 0.0, + 0.0, + 0.1335201107076315 + ] + } + ], + "cake": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5299632572726845, + 0.10287560944069148, + 0.7650000204678449 + ], + "default_ori": [ + 0.9703479286186174, + 0.0008977914524253097, + -0.000118170607171017, + -0.24171073089909395 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 13, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5062702503736735, + 0.3230516909352985, + 0.805 + ], + "default_ori": [ + 0.9804723144692826, + 0.0, + 0.0, + 0.19665716503409741 + ] + } + ], + "office_mail": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.11281190406146825, + -0.08728861829787884, + 0.7655999377952247 + ], + "default_ori": [ + 0.9929857555532414, + -0.0008497053073734108, + 0.007149497439983338, + 0.11801462602408483 + ] + } + ], + "cereal": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3516886622707582, + 0.39341925624739893, + 0.7645000000000001 + ], + "default_ori": [ + 0.9746863216628507, + 0.0, + 0.0, + -0.22357677509826882 + ] + } + ], + "gamepad": [ + { + "category_idx": 0, + "physics": { + "mass": 0.22, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5496733474886499, + -0.4027021508836146, + 0.7881213315101707 + ], + "default_ori": [ + -0.6842440432443307, + 0.7269095541269326, + -0.04471092257004463, + 0.03759684569973999 + ] + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.09786483064078091, + 0.4120707646548114, + 0.7713263732154156 + ], + "default_ori": [ + -0.5267482588673676, + -0.5443416913404302, + 0.44433980517561517, + 0.4783205331002769 + ] + } + ], + "book_shelf": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5792846846324454, + 0.24639655907029975, + 0.7646996401480936 + ], + "default_ori": [ + 0.9672311740581828, + -0.0003107625869888803, + -0.0003916970124062672, + 0.25389684111877825 + ] + } + ], + "toy_car": [ + { + "category_idx": 1, + "physics": { + "mass": 0.045, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5482601560686401, + 0.3938048544807957, + 0.7948002807175407 + ], + "default_ori": [ + 0.9948180766050316, + 0.0019104735910467807, + -2.5832818860322424e-06, + -0.10165305968759619 + ] + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.05299244844114312, + -0.26254331088060606, + 0.7759905181449079 + ], + "default_ori": [ + 0.8067979025422581, + -0.5854492610549225, + 0.0472285976297645, + -0.06399817770518412 + ] + } + ], + "house": [ + { + "category_idx": 2, + "physics": { + "mass": 0.08, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.0962151551229656, + 0.3068279232860874, + 0.8109343641348757 + ], + "default_ori": [ + 0.9806808779065675, + -0.0047074557589889135, + -0.0009377251869470722, + 0.1955555579372646 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.07552343529256329, + 0.01981583811135336, + 0.9177 + ], + "default_ori": [ + 0.9996457738283536, + 0.0, + 0.0, + 0.02661441089169911 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_deep_blue", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0197", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0300", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_10.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_10.json new file mode 100644 index 0000000000000000000000000000000000000000..7c524a28d8eb62f9de847b3049a8cbe46732e4b2 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_10.json @@ -0,0 +1,900 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.23691382182944437, + -0.16596054653732514, + 0.8031 + ], + "default_ori": [ + 0.7901433869922238, + 0.0, + 0.0, + 0.6129220407135454 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.10178242065956104, + -0.04332972587565125, + 0.7996 + ], + "default_ori": [ + 0.4829526691013045, + 0.0, + 0.0, + 0.8756464579999886 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.32525877105402173, + -0.1209454837225323, + 0.8031 + ], + "default_ori": [ + 0.6072618155941707, + 0.0, + 0.0, + 0.7945017855998006 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "book": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.13324322754608142, + 0.2318361496967826, + 0.7636000000000001 + ], + "default_ori": [ + 0.9936729505636421, + 0.0, + 0.0, + 0.11231236493879776 + ] + } + ], + "pokeball": [ + { + "category_idx": 6, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.43596849450518393, + 0.1898106322793418, + 0.804889002983205 + ], + "default_ori": [ + 0.9811722778646058, + 0.015129645268823716, + -0.014206993612794145, + -0.19201618764184042 + ] + } + ], + "audio": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.28893723063279747, + 0.07479520566772142, + 0.7720399740406522 + ], + "default_ori": [ + 0.9948287060423693, + 0.0010962964732250907, + -0.0008933812303839319, + 0.10155710530575981 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 15, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.12566010747559386, + 0.3015100988058679, + 0.805 + ], + "default_ori": [ + 0.9987385033860235, + 0.0, + 0.0, + 0.050213562453243696 + ] + } + ], + "book_shelf": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.48845660284868964, + 0.3876968033508645, + 0.7646996401480936 + ], + "default_ori": [ + 0.9928306900469402, + -0.00036130840316610105, + -0.0003456243232204284, + 0.11952811761665731 + ] + } + ], + "keyboard": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.48765825302703736, + -0.2700906985856564, + 0.765200479743693 + ], + "default_ori": [ + 0.9848246016908722, + -0.0007878596813526978, + -0.00013884060248748478, + 0.17355075310935597 + ] + } + ], + "ball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4983322617294603, + -0.02004561618196312, + 0.7647818013684299 + ], + "default_ori": [ + 0.9725948863742903, + 0.001295040784390908, + -0.0032897849465403774, + 0.23247943389244957 + ] + } + ], + "coffee_bag": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2620070446956719, + 0.2579145217816995, + 0.7640272467517178 + ], + "default_ori": [ + 0.9981874702333247, + 0.03183973584460428, + 0.008910348490937019, + 0.050285297854457386 + ] + } + ], + "stapler": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.408167481174953, + 0.26742798472846807, + 0.7987996524041738 + ], + "default_ori": [ + 0.9784167590535829, + 0.0004945648700786523, + 0.0004067006076761976, + -0.2066403532790438 + ] + } + ], + "scale": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5162244471429771, + -0.0019314851836740327, + 0.7653839385430405 + ], + "default_ori": [ + 0.9867777389264285, + -0.0010368803523077854, + -0.000474212433409663, + 0.1620752725154229 + ] + } + ], + "garage": [ + { + "category_idx": 17, + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3065589735062881, + 0.127875378169657, + 0.8221863761395345 + ], + "default_ori": [ + 0.9957596347428348, + -0.0015254305925601962, + -0.0008502960695477076, + 0.09197662678592664 + ] + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5148369155434969, + -0.35958151898521523, + 0.7781030694047488 + ], + "default_ori": [ + 0.9356106969494511, + -0.0013913528732559313, + 0.3520009498960358, + -0.026944742775411784 + ] + } + ], + "ice_cream": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.12095328954201048, + -0.3066814274982152, + 0.7760330782519896 + ], + "default_ori": [ + -0.6984614970074822, + 0.6987086227791341, + 0.11032201573777597, + -0.10856726254127776 + ] + } + ], + "tissue": [ + { + "category_idx": 2, + "physics": { + "mass": 0.15, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.10539757271569607, + -0.25433657063716386, + 0.7829072436546988 + ], + "default_ori": [ + 0.999359098879511, + -0.0049759579301269855, + -0.004928228575574606, + -0.03510475598143785 + ] + } + ], + "tape_measure": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5391350045159784, + 0.32791154930059146, + 0.7865834893656257 + ], + "default_ori": [ + 0.7342306488260963, + -0.15840508883693266, + -0.6574230753829347, + -0.06006731314964417 + ] + } + ], + "toothpaste": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.011993799612579964, + -0.3534954153204076, + 0.7786688472111792 + ], + "default_ori": [ + -0.686267566113259, + 0.727202540595172, + -0.012203356705767757, + -0.008023137666952356 + ] + } + ], + "card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5340448362487731, + -0.2395520924728445, + 0.7673 + ], + "default_ori": [ + 0.9799778433675805, + 0.0, + 0.0, + -0.199106570731922 + ] + } + ], + "pen": [ + { + "category_idx": 2, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.015236135927710635, + 0.25482413953901784, + 0.7715255368825626 + ], + "default_ori": [ + 0.6439866429404394, + 0.7629230989990717, + 0.05682258524652154, + -0.0008617040429437055 + ] + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.24544400754537124, + -0.3499701555875893, + 0.7759905181449079 + ], + "default_ori": [ + 0.8062343849372872, + -0.5850337509457836, + 0.05212377536341505, + -0.07074417884862022 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.14531460769695487, + 0.036374381970889984, + 0.9177 + ], + "default_ori": [ + 0.9867774956843429, + 0.0, + 0.0, + -0.16208076385227382 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_azure", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0206", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0117", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_11.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_11.json new file mode 100644 index 0000000000000000000000000000000000000000..3bd1d060a7a860eb639f995a388a87d746f2a4e1 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_11.json @@ -0,0 +1,902 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.43482357938611266, + -0.1152253954500714, + 0.7996 + ], + "default_ori": [ + 0.4693230164463692, + 0.0, + 0.0, + 0.8830265603217613 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.03510633794585891, + -0.20745604138797022, + 0.8051 + ], + "default_ori": [ + 0.8442524199095149, + 0.0, + 0.0, + 0.5359457542297805 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.2209827685701686, + -0.08430905628910706, + 0.806 + ], + "default_ori": [ + 0.9853840404321105, + 0.0, + 0.0, + 0.17034756488335512 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "plier": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.04769750133887127, + 0.2967154524043321, + 0.7652063769359179 + ], + "default_ori": [ + 0.9988190327036558, + 0.0026725575228049416, + -0.0006303803900244467, + -0.048507730989858805 + ] + } + ], + "garage": [ + { + "category_idx": 1, + "physics": { + "mass": 12.5, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.31354182101968237, + 0.28277181417167796, + 0.8473 + ], + "default_ori": [ + 0.994537400124196, + 0.0, + 0.0, + 0.10438083997652506 + ] + } + ], + "stapler": [ + { + "category_idx": 3, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2256128266111616, + 0.23104399980641055, + 0.799692594638761 + ], + "default_ori": [ + 0.9899932437735526, + -0.01781949338717887, + -0.0003029629120772852, + -0.1399848247190298 + ] + } + ], + "book": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2530057419059095, + -0.14573321755258997, + 0.7636000000000001 + ], + "default_ori": [ + 0.9746212348344301, + 0.0, + 0.0, + -0.22386033281894951 + ] + } + ], + "toy_car": [ + { + "category_idx": 0, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.48227766980181846, + 0.20234572393859968, + 0.7937309890088791 + ], + "default_ori": [ + 0.9963407918286127, + -0.010198255916093593, + 0.0075849695520692675, + -0.08451917150266594 + ] + } + ], + "croissant": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4660563117399563, + 0.09363699502006342, + 0.7657638918224734 + ], + "default_ori": [ + 0.9831126534718214, + -0.0031373001811986776, + 0.009244263602951573, + -0.1827408315664748 + ] + } + ], + "box": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5451506844755993, + 0.2319493153806763, + 0.7649 + ], + "default_ori": [ + 0.9804135428376084, + 0.0, + 0.0, + 0.1969499556247958 + ] + } + ], + "plane": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 75000.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.20220071338143317, + 0.12087937400421182, + 0.7602640105182119 + ], + "default_ori": [ + 0.9822670022477621, + -0.06598570494866018, + -0.011034824330363695, + 0.1751446707428507 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 6, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5757708059988229, + -0.05639094971658648, + 0.805 + ], + "default_ori": [ + 0.9764308394832883, + 0.0, + 0.0, + -0.21583052542668946 + ] + } + ], + "chocolate": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4910233838696, + -0.41997387123774443, + 0.7647 + ], + "default_ori": [ + 0.9955787326523966, + 0.0, + 0.0, + -0.0939307568917008 + ] + } + ], + "coffee_bag": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.23357868618467387, + 0.3439761817729948, + 0.7640272467517178 + ], + "default_ori": [ + 0.991327777916542, + 0.032914136821916816, + 0.0031341164867092672, + -0.12718519427263195 + ] + } + ], + "sculpture": [ + { + "category_idx": 2, + "physics": { + "mass": 1.4, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5241036342663159, + 0.37762055195891214, + 0.8337125621683963 + ], + "default_ori": [ + 0.9663561537384663, + -0.0008312584976828181, + -0.005882828648076237, + -0.2571390391757062 + ] + } + ], + "tissue": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.11236303447773853, + 0.2731371930467594, + 0.765 + ], + "default_ori": [ + 0.9920867570423983, + 0.0, + 0.0, + 0.12555423728850137 + ] + } + ], + "hammer": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5877565265480702, + -0.3042618848845903, + 0.7645765963079757 + ], + "default_ori": [ + 0.9902083757703992, + 0.00533309923781435, + 0.0034980413937630885, + -0.13945140484439403 + ] + } + ], + "phone_stand": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4875352548272879, + 0.3882041044673198, + 0.7652017247465114 + ], + "default_ori": [ + 0.9944737469792563, + -0.004144880496800001, + 0.004559443387200574, + -0.10480457056209197 + ] + } + ], + "audio": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.42654403070094854, + -0.08688047772375189, + 0.7720399740406522 + ], + "default_ori": [ + 0.9829342850473072, + 0.0011668059754913135, + -0.0007990993652643236, + 0.18395160038053268 + ] + } + ], + "office_mail": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.26723511610992046, + -0.31185412890933295, + 0.7655999377952247 + ], + "default_ori": [ + 0.991401961818279, + 0.0009407045312102609, + 0.007138094125091608, + -0.13065340711253623 + ] + } + ], + "key": [ + { + "category_idx": 0, + "physics": { + "mass": 0.2, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.48763550021695307, + 0.06535001224742973, + 0.7701040130940491 + ], + "default_ori": [ + 0.6928093444648752, + 0.700714214278695, + 0.11553251149972282, + 0.1251680507018767 + ] + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3824263647731931, + -0.3277537066367088, + 0.7652999844004095 + ], + "default_ori": [ + 0.9995197511475098, + 0.0008492046522946387, + -0.005027739947176694, + -0.030565793765291914 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.01951636798592199, + 0.04876829274073269, + 0.9177 + ], + "default_ori": [ + 0.9943208464244863, + 0.0, + 0.0, + -0.10642393699583447 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_blue", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0199", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0221", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_12.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_12.json new file mode 100644 index 0000000000000000000000000000000000000000..389b1602a831696f592ad3411bffadfe5b8d0e4f --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_12.json @@ -0,0 +1,931 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + -0.24555473056519822, + -0.014894070129174042, + 0.806 + ], + "default_ori": [ + 0.7293300714431843, + 0.0, + 0.0, + 0.6841620033944298 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.06213593173548917, + -0.16711927974999738, + 0.8051 + ], + "default_ori": [ + 0.9899832538185553, + 0.0, + 0.0, + 0.14118483331727194 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.4280319597599702, + -0.027249066340459645, + 0.8051 + ], + "default_ori": [ + 0.7996827911103707, + 0.0, + 0.0, + 0.6004227124301073 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "helmets": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.25737134940359324, + 0.2508284302205158, + 0.8120601733927771 + ], + "default_ori": [ + 0.9980857347568409, + -0.05886624837433028, + -0.002521117881594393, + -0.018795606982903997 + ] + } + ], + "foosball_table": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.41675611573248095, + 0.2583035434584939, + 0.7650017999933401 + ], + "default_ori": [ + 0.9724336263049249, + -0.00029186194667433157, + -6.939935939691169e-05, + 0.23317965698530976 + ] + } + ], + "dice": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2724374905255089, + 0.09417383819607872, + 0.765 + ], + "default_ori": [ + 0.9771258838782446, + -0.0004934710077264675, + 8.063492115732594e-05, + -0.2126611319435999 + ] + } + ], + "scale": [ + { + "category_idx": 1, + "physics": { + "mass": 0.25, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.04683533784050858, + 0.3181518897186122, + 0.7764003384861654 + ], + "default_ori": [ + 0.9753072327561174, + -0.0022872806432992538, + 0.00031355760291392913, + -0.22084037620528815 + ] + } + ], + "sculpture": [ + { + "category_idx": 1, + "physics": { + "mass": 3.2, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4799070009834838, + 0.2633964177231028, + 0.8335998185680182 + ], + "default_ori": [ + 0.9958007756153578, + 9.184547021461914e-06, + 9.957732219742933e-05, + -0.09154673824802687 + ] + } + ], + "stapler": [ + { + "category_idx": 4, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4965151175728465, + 0.057044524746452795, + 0.7993 + ], + "default_ori": [ + 0.9864544196665057, + 0.0, + 0.0, + -0.1640355995521021 + ] + } + ], + "pokeball": [ + { + "category_idx": 5, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.18477699953987223, + 0.1861363881391501, + 0.8048566320568888 + ], + "default_ori": [ + 0.9776968966799725, + -0.11075567297117381, + -0.1702584453665953, + 0.0534230372442799 + ] + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.09105114412554624, + -0.34348044560811963, + 0.7713263732154156 + ], + "default_ori": [ + -0.5357881199044255, + -0.552729308916115, + 0.4338617872779044, + 0.4681723519970155 + ] + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.21665697052347863, + -0.3275933744847518, + 0.7781030694047488 + ], + "default_ori": [ + 0.9248030203601114, + 0.042865568551839726, + 0.3493839544444721, + -0.1443356121762264 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 14, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.37592467831624854, + 0.36637888224835635, + 0.805 + ], + "default_ori": [ + 0.9998505821214444, + 0.0, + 0.0, + -0.017286220853874025 + ] + } + ], + "cake": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.234886426892032, + 0.3157406740888789, + 0.7649278750461119 + ], + "default_ori": [ + 0.9846580742014829, + 0.0022389374384624624, + 0.001710862463829686, + 0.17447216688802744 + ] + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.186772133772701, + -0.2384584459451719, + 0.7652999844004095 + ], + "default_ori": [ + 0.990803646528711, + 0.0003172909598382285, + -0.005089071031604893, + -0.13521144444125696 + ] + } + ], + "eraser": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.332951959919116, + -0.17813949829660766, + 0.7722034910034408 + ], + "default_ori": [ + 0.7114703958590088, + -0.7011292619677466, + -0.03174903605530231, + 0.03492323779874279 + ] + } + ], + "audio": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.558519973691918, + -0.03636155168667215, + 0.7647990833806197 + ], + "default_ori": [ + 0.9872424417612198, + 3.6189188063001155e-05, + -0.0010191590165885588, + -0.15922098225606568 + ] + } + ], + "iron": [ + { + "category_idx": 0, + "physics": { + "mass": 1.3, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4379577963679012, + 0.14105262675491562, + 0.8222979921182717 + ], + "default_ori": [ + 0.9990617674186966, + -0.002657555313857108, + 0.0010184920443776693, + -0.04321440680999456 + ] + } + ], + "wrench": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5381077756235537, + -0.29677519842123146, + 0.7649099444727391 + ], + "default_ori": [ + 0.9927601145731758, + 0.0009308602780448802, + 0.015297885367631265, + -0.11913212461412881 + ] + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4292231059915246, + -0.4611937242788803, + 0.7759905181449079 + ], + "default_ori": [ + 0.7977229640635268, + -0.5790582130482776, + -0.09835122574307054, + 0.13658951241538414 + ] + } + ], + "racket": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.502711729693197, + -0.2971246500972628, + 0.7640663126662783 + ], + "default_ori": [ + 0.9943372325986911, + 0.0031000189679036877, + 0.006766595407489605, + 0.10600976812052164 + ] + } + ], + "pen": [ + { + "category_idx": 2, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.24182736358366128, + -0.07802582539842008, + 0.7715255368825626 + ], + "default_ori": [ + 0.6433508541641081, + 0.7595217197897937, + 0.09169088475960874, + 0.028621971732693336 + ] + } + ], + "mini_fan": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.15330746937076944, + 0.37195598670533997, + 0.8569091681740725 + ], + "default_ori": [ + 0.6956020525108192, + 0.6928928511683929, + -0.12585349758780842, + -0.14212029583204003 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.0901122697792382, + 0.04370603947241344, + 0.9177 + ], + "default_ori": [ + 0.9827765261134985, + 0.0, + 0.0, + 0.18479799706783648 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_pink", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0197", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0357", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_13.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_13.json new file mode 100644 index 0000000000000000000000000000000000000000..8b35a7b477f32b282c81841d84d393cb84c1213a --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_13.json @@ -0,0 +1,896 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.3847093918582952, + -0.1614538287416398, + 0.8051 + ], + "default_ori": [ + 0.7849240924509785, + 0.0, + 0.0, + 0.619591937560527 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.19197893748007086, + 0.004334932708506045, + 0.806 + ], + "default_ori": [ + 0.9778930603031899, + 0.0, + 0.0, + 0.20910562548832054 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.4428803051594476, + -0.02973284698190553, + 0.7996 + ], + "default_ori": [ + 0.9842720273501314, + 0.0, + 0.0, + 0.17665949217650964 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.0012106194788104872, + 0.2670876237782319, + 0.7652999844004095 + ], + "default_ori": [ + 0.9906422826771998, + 0.0016749936097256147, + -0.004815985249696423, + 0.1363886668847133 + ] + } + ], + "key": [ + { + "category_idx": 0, + "physics": { + "mass": 0.2, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.16845749206152918, + 0.3494530343031861, + 0.7701040130940491 + ], + "default_ori": [ + 0.6884578949265641, + 0.696666497225015, + 0.1378548619014603, + 0.14723299768612197 + ] + } + ], + "pokeball": [ + { + "category_idx": 4, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4572411076192155, + 0.32115590999505206, + 0.8047553286929123 + ], + "default_ori": [ + 0.9966188975936355, + -0.02499525742833044, + 0.02605172359790746, + -0.07380594666364144 + ] + } + ], + "calendar": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.1883098278827218, + 0.20733352121552234, + 0.765401379635816 + ], + "default_ori": [ + 0.9723022152482381, + -0.006884330587961213, + -0.0017387165427911904, + 0.23361931658257315 + ] + } + ], + "french_fries": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.48383683051268794, + -0.03035143634056056, + 0.7788729825038763 + ], + "default_ori": [ + 0.7480992285249831, + -0.663465677015081, + 0.009306217107336225, + -0.008615917037456873 + ] + } + ], + "cup": [ + { + "category_idx": 3, + "physics": { + "type": "rigid", + "mass": 0.15 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.30643910781556916, + 0.3192945913897316, + 0.7649962177334373 + ], + "default_ori": [ + 0.967312162174383, + -7.144558792030426e-05, + 0.00012204720548511122, + -0.253588566204251 + ] + } + ], + "chocolate": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.25465614041830686, + -0.2789450482151232, + 0.7647 + ], + "default_ori": [ + 0.9960693556516483, + 0.0, + 0.0, + 0.08857673922486749 + ] + } + ], + "eraser": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2577162619951258, + -0.35728739819332916, + 0.7722034910034408 + ], + "default_ori": [ + 0.7036524586280117, + -0.6937102023470363, + -0.10656640388749092, + 0.11082858019877573 + ] + } + ], + "game_machine": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.05 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.03456475711597628, + -0.24681685889264532, + 0.7689166712439107 + ], + "default_ori": [ + 0.9698430650038334, + 0.03497961987527873, + -0.008522470414913476, + -0.24105647254404597 + ] + } + ], + "stapler": [ + { + "category_idx": 2, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2785463776657645, + 0.20373207385855782, + 0.7977007182491022 + ], + "default_ori": [ + 0.9798223912842192, + -0.0008798888739594034, + 0.0006897782302917411, + -0.1998670346496315 + ] + } + ], + "nvlink": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3980971690915403, + -0.2761769341997027, + 0.779 + ], + "default_ori": [ + 0.9915658784164905, + 0.0, + 0.0, + 0.12960366028833298 + ] + } + ], + "racket": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5176330820438372, + 0.20610491638970893, + 0.7653839543010679 + ], + "default_ori": [ + 0.9915264221469332, + -0.006721065567961643, + 0.0002742811719904604, + -0.12973089929531645 + ] + } + ], + "book": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4786265712167914, + -0.37969061939571463, + 0.7659983199202184 + ], + "default_ori": [ + 0.993479861383009, + -0.0001986891139406423, + -2.2861119865027226e-05, + 0.11400756565422517 + ] + } + ], + "pen": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.008 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.26233567265862057, + -0.013604114839643473, + 0.7776985904885821 + ], + "default_ori": [ + 0.6647780598051737, + -0.5656243545574295, + -0.42372570683657196, + -0.24206558222722988 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5957685720362282, + 0.09523914063631846, + 0.8335036579437697 + ], + "default_ori": [ + 0.9999454950317261, + 0.00921812419924302, + -0.003453393772424606, + 0.0034795435700965727 + ] + } + ], + "monitor": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.07342556635005948, + 0.14639559946069713, + 0.765 + ], + "default_ori": [ + 0.9904849197907497, + 0.0, + 0.0, + 0.13762130528051267 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.29092603017074536, + 0.3622438251637475, + 0.8049999792000057 + ], + "default_ori": [ + 0.9957031271680938, + -0.0004885768298327672, + 0.00014591987921658354, + -0.09260141763358172 + ] + } + ], + "phone_stand": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5660993323203366, + 0.21544262272582007, + 0.8412968630517244 + ], + "default_ori": [ + 0.7000316936204206, + 0.7016465739963617, + -0.09465235418406977, + -0.09321290132544562 + ] + } + ], + "toy": [ + { + "category_idx": 2, + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.37979756535872305, + 0.16180941525276044, + 0.8404276753862634 + ], + "default_ori": [ + 0.9939682818077695, + 0.0030221890520518106, + -0.0026544365197169453, + -0.10959413807410949 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.12125065002601576, + 0.002661622648182038, + 0.9177 + ], + "default_ori": [ + 0.9781134346896924, + 0.0, + 0.0, + 0.20807236452622171 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_deep_blue", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0209", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0242", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_14.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_14.json new file mode 100644 index 0000000000000000000000000000000000000000..7afef37ba51ab010eeee3aad8be7bba8f6db08e4 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_14.json @@ -0,0 +1,929 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.2943966206772353, + -0.04593001964574219, + 0.8031 + ], + "default_ori": [ + 0.2368762726587676, + 0.0, + 0.0, + 0.971539824943522 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.02824679036920682, + -0.04137692628193931, + 0.8051 + ], + "default_ori": [ + 0.435180081774961, + 0.0, + 0.0, + 0.9003434324891465 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.2665353878146629, + -0.12449703867543005, + 0.806 + ], + "default_ori": [ + 0.5423024038065186, + 0.0, + 0.0, + 0.8401833745234856 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "audio": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.39209909737815396, + 0.21616733678421834, + 0.7647990833806197 + ], + "default_ori": [ + 0.975787809594782, + 0.0004120087897593575, + -0.0009328684342325274, + 0.21871696470886617 + ] + } + ], + "cutter": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.031195720492275796, + 0.2151108149339172, + 0.765 + ], + "default_ori": [ + 0.991026879976895, + 0.0, + 0.0, + 0.1336627216663685 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 5, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.24178891382417694, + 0.2375695156478214, + 0.8049999936000007 + ], + "default_ori": [ + 0.9861201460142035, + -0.0002303978288721452, + 0.00016406349640003066, + 0.16603306184292246 + ] + } + ], + "ball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5016915573225413, + 0.013441813294792193, + 0.7647818013684299 + ], + "default_ori": [ + 0.9989299744825189, + 0.0006556491193565034, + -0.003474181897944685, + 0.04611297284633172 + ] + } + ], + "stapler": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4589889337376108, + 0.2383593776148298, + 0.7987996524041738 + ], + "default_ori": [ + 0.9942992169534374, + 0.00034424576343428093, + 0.000539902444296793, + 0.10662390522760999 + ] + } + ], + "balance": [ + { + "category_idx": 0, + "physics": { + "mass": 2.1, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4739898001257647, + 0.06671921046139297, + 0.8453001268002515 + ], + "default_ori": [ + 0.9884076735713755, + 0.0030039412022395727, + -0.0021808592870490038, + -0.15177776851451197 + ] + } + ], + "glasses": [ + { + "category_idx": 1, + "physics": { + "mass": 0.025, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.528941674564894, + -0.3063387631171448, + 0.7853284965438686 + ], + "default_ori": [ + 0.9785860631956469, + -0.020193641444118587, + 0.005032342485009797, + -0.204783322791641 + ] + } + ], + "garage": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.21331013351184425, + 0.38854706683331663, + 0.8900960300131513 + ], + "default_ori": [ + 0.9989825661379751, + -0.00019979195352068583, + -9.119413818414033e-06, + 0.045097589208268445 + ] + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.18197308136617837, + -0.3480669191379746, + 0.7713263732154156 + ], + "default_ori": [ + -0.354982197949461, + -0.3821356041185733, + 0.5896762836165252, + 0.6166375756829178 + ] + } + ], + "pokeball": [ + { + "category_idx": 6, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2569688747039053, + 0.2861357735458483, + 0.804889002983205 + ], + "default_ori": [ + 0.9962463966225815, + 0.01844204955756559, + -0.009520275289649369, + 0.08403792229135475 + ] + } + ], + "box": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3941863484109019, + 0.373292525414984, + 0.7649015989707201 + ], + "default_ori": [ + 0.9991301180318078, + -0.0010639267289490478, + -0.001966619729130205, + -0.04164141818553191 + ] + } + ], + "toothpaste": [ + { + "category_idx": 1, + "physics": { + "mass": 0.05, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.13567799540630718, + 0.30184631410820634, + 0.7778054544084064 + ], + "default_ori": [ + -0.6695492428712023, + 0.7352623621388764, + 0.07707390891912141, + -0.07178218968857482 + ] + } + ], + "piano": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3238180759577189, + -0.3207130764016251, + 0.7849067766106135 + ], + "default_ori": [ + 0.999845524242322, + -0.0009945819333729065, + 0.0003174989601707484, + -0.017545302898051816 + ] + } + ], + "bridge": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2993039574865041, + 0.11056631069370029, + 0.7649997800026972 + ], + "default_ori": [ + 0.9783992692452556, + -9.776637584598695e-05, + 2.1014593868173515e-05, + -0.20672411552712555 + ] + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5200075263762997, + -0.26906410485641646, + 0.7759905181449079 + ], + "default_ori": [ + 0.8090083072639962, + -0.5870933268669514, + 0.0174012428327347, + -0.02289500107042094 + ] + } + ], + "card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.347283734363113, + -0.2542185258212896, + 0.7673 + ], + "default_ori": [ + 0.980302308733354, + 0.0, + 0.0, + 0.19750286957929467 + ] + } + ], + "power_bank": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.22 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.05008481219194424, + -0.3030542114608462, + 0.7739 + ], + "default_ori": [ + 0.9702069646360698, + 0.0, + 0.0, + 0.24227762127704658 + ] + } + ], + "sound_card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5678529316360624, + 0.3054220485451145, + 0.765101676207007 + ], + "default_ori": [ + 0.9998915025306622, + -0.0042120571701577915, + 0.0008415659576824095, + 0.014090191911718617 + ] + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.23528598738979553, + -0.306936774502141, + 0.7781030694047488 + ], + "default_ori": [ + 0.8978150878213441, + 0.08840766962829907, + 0.3407208366704669, + -0.2646156901807278 + ] + } + ], + "bottle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3517142662468338, + 0.15725497603926508, + 0.7654150963726012 + ], + "default_ori": [ + 0.9780993319810836, + -0.0035689347212679804, + -0.0038407876704680947, + 0.20807260231271157 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.16694283909388027, + 0.046895466247437276, + 0.9177 + ], + "default_ori": [ + 0.9770240592354814, + 0.0, + 0.0, + 0.21312903996176244 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_green", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0206", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0357", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_15.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_15.json new file mode 100644 index 0000000000000000000000000000000000000000..b45a6fb3fe9a9471f10c76d8e81d42d2b726665f --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_15.json @@ -0,0 +1,928 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + -0.18720878791351442, + 0.000959586008964431, + 0.7996 + ], + "default_ori": [ + 0.20621349598762934, + 0.0, + 0.0, + 0.9785070230062531 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.1676329863127691, + -0.19040727602732027, + 0.806 + ], + "default_ori": [ + 0.989663360908721, + 0.0, + 0.0, + 0.14341001385835894 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.4220392919896999, + -0.11851376823707307, + 0.806 + ], + "default_ori": [ + 0.6589709716293546, + 0.0, + 0.0, + 0.7521683711442968 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "pokeball": [ + { + "category_idx": 7, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.28829258817178527, + 0.055391905589380674, + 0.8047343578181123 + ], + "default_ori": [ + 0.998920819242628, + 0.028103587594778993, + 0.025648359430442896, + -0.02663732168342649 + ] + } + ], + "racket": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.46694265917125166, + 0.04291965670903883, + 0.7653839543010679 + ], + "default_ori": [ + 0.9999657842531752, + -0.006696881870049843, + -0.0006322386802037254, + 0.004814807410719439 + ] + } + ], + "garage": [ + { + "category_idx": 2, + "physics": { + "mass": 8.5, + "friction": 0.55, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.40561855370839794, + 0.21531672380766237, + 0.8901 + ], + "default_ori": [ + 0.993788378011447, + 0.0, + 0.0, + -0.1112863860918184 + ] + } + ], + "cake": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.057537371056293946, + 0.23613510806063814, + 0.7650000204678449 + ], + "default_ori": [ + 0.9976985240124734, + 0.0009046018032562485, + 4.1101849017501944e-05, + -0.06779996452467958 + ] + } + ], + "gamepad": [ + { + "category_idx": 0, + "physics": { + "mass": 0.22, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3094748521347504, + 0.3441533812805134, + 0.7881213315101707 + ], + "default_ori": [ + -0.685179877285409, + 0.7280855529265905, + -0.016970388848267928, + 0.011487788519614732 + ] + } + ], + "book": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.41075887255740495, + -0.20078401051235856, + 0.7659983199202184 + ], + "default_ori": [ + 0.9983908128717831, + -0.00019967474215139893, + -1.1401409859005945e-05, + 0.056707537181802624 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 6, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.23870990052612606, + 0.18756412664133626, + 0.805 + ], + "default_ori": [ + 0.9742327921192725, + 0.0, + 0.0, + -0.22554482206312415 + ] + } + ], + "graphics_card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.21415500127720802, + 0.34331088154659606, + 0.7679151314343793 + ], + "default_ori": [ + 0.9999557476302549, + -0.005398340298437173, + -0.0002388767623561226, + 0.0077008857369055906 + ] + } + ], + "box": [ + { + "category_idx": 4, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4895293760717354, + 0.3411198573881279, + 0.7649 + ], + "default_ori": [ + 0.9881463628780021, + 0.0, + 0.0, + -0.15351470786532434 + ] + } + ], + "cap": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5624953852222542, + 0.10972639115551505, + 0.802797711173963 + ], + "default_ori": [ + 0.698411044528204, + 0.7100763571793768, + -0.06492317138531263, + -0.06163247255434937 + ] + } + ], + "coffee_bag": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5092754001544783, + 0.3686571437737507, + 0.7640272467517178 + ], + "default_ori": [ + 0.9988644587725226, + 0.03247916048417432, + 0.0061860506890400275, + -0.03430203947568377 + ] + } + ], + "sculpture": [ + { + "category_idx": 2, + "physics": { + "mass": 1.4, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.05137800302083664, + 0.37729139482350843, + 0.8337125621683963 + ], + "default_ori": [ + 0.9993092491137824, + 0.0009253429120755968, + -0.00586876512459545, + 0.036684137880779066 + ] + } + ], + "book_shelf": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.23600152697370327, + 0.18829931667130737, + 0.7646996401480936 + ], + "default_ori": [ + 0.9816448456303335, + -0.0004498949904330636, + -0.00021816148281319147, + -0.19071745344216295 + ] + } + ], + "keyboard": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.10458916954024967, + -0.2351259117082514, + 0.765200479743693 + ], + "default_ori": [ + 0.9676549383151895, + -0.0007741239506521516, + -0.00020182095883967906, + 0.2522761985495988 + ] + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5283087661473759, + -0.3891633518756905, + 0.7713263732154156 + ], + "default_ori": [ + -0.4024729212317364, + -0.4274171685614908, + 0.5577278040529644, + 0.5867450965115336 + ] + } + ], + "audio": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3884529707140299, + -0.044367163723616196, + 0.7720399740406522 + ], + "default_ori": [ + 0.9676097428036287, + 0.0007150409323654648, + -0.001220128044530576, + -0.2524467976337108 + ] + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.554409114700793, + -0.4597970415614871, + 0.7759905181449079 + ], + "default_ori": [ + 0.7790138458126761, + -0.5655610651392677, + -0.15849939842903452, + 0.21944486853949327 + ] + } + ], + "pen": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.008 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4879397895774195, + -0.42627091510689585, + 0.7776985904885821 + ], + "default_ori": [ + 0.6548649469223395, + -0.5816695682867246, + -0.40141611630799867, + -0.26772656982402837 + ] + } + ], + "toothpaste": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3469714947880622, + -0.33474747138516914, + 0.7786688472111792 + ], + "default_ori": [ + -0.6728282546983945, + 0.7086401562911873, + -0.16371189894006677, + 0.13538715861023026 + ] + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5109745394104841, + -0.29419028171304235, + 0.7781030694047488 + ], + "default_ori": [ + 0.9337541675579004, + -0.03584548864109756, + 0.35017382188651736, + 0.06478078401596458 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.07668135120188518, + 0.029145059548085845, + 0.9177 + ], + "default_ori": [ + 0.9791655423434322, + 0.0, + 0.0, + -0.2030636370384718 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_lime", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0211", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0322", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_16.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_16.json new file mode 100644 index 0000000000000000000000000000000000000000..59cb989a999c97b8d74a1ba6ade01636163f67f7 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_16.json @@ -0,0 +1,935 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.04026155277774508, + -0.17118812665259223, + 0.7996 + ], + "default_ori": [ + 0.9854788712293681, + 0.0, + 0.0, + 0.1697980988129452 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.3272121950385795, + -0.17243554360500882, + 0.7996 + ], + "default_ori": [ + 0.5849313394168825, + 0.0, + 0.0, + 0.8110828121517383 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.33931378169745835, + -0.0963996297898139, + 0.806 + ], + "default_ori": [ + 0.9306873197715388, + 0.0, + 0.0, + 0.36581568147971655 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "toy_plane": [ + { + "category_idx": 2, + "physics": { + "mass": 0.45, + "friction": 0.32, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4785242259684972, + 0.17562351266384094, + 0.8110694266353823 + ], + "default_ori": [ + 0.9852872008444952, + 0.0028633955254731983, + 0.006891143580695786, + 0.17074379917945615 + ] + } + ], + "pokeball": [ + { + "category_idx": 6, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3834541275204667, + 0.07108272885301536, + 0.804889002983205 + ], + "default_ori": [ + 0.9764154082326192, + 0.01479339558508688, + -0.014556794995380871, + -0.2149004554030852 + ] + } + ], + "plant": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.36134907801566274, + 0.34696903799265844, + 0.7655959982749213 + ], + "default_ori": [ + 0.9889290603991332, + -0.0007911075642624881, + 0.0001189468560619178, + -0.1483869047407988 + ] + } + ], + "hammer": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.10757000350215823, + 0.2673371976461683, + 0.7645765963079757 + ], + "default_ori": [ + 0.9814559212545799, + 0.0038982680373102867, + 0.005047944867185161, + 0.19158182688671438 + ] + } + ], + "eraser": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.05096748157323934, + -0.35613866113420956, + 0.7722034910034408 + ], + "default_ori": [ + 0.7079220077262508, + -0.6972067823698452, + 0.08057881790746932, + -0.07909606626726931 + ] + } + ], + "bowl": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.32 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3939179362633425, + 0.32241430958563666, + 0.7652057499033325 + ], + "default_ori": [ + 0.9966577268844059, + -0.004750222199043905, + -0.0007967467366712683, + 0.08154861142475926 + ] + } + ], + "card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.45170647339918335, + -0.42140218805934193, + 0.7673 + ], + "default_ori": [ + 0.9988499265846745, + 0.0, + 0.0, + 0.04794605470516219 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.17606388553107127, + 0.39406367172882917, + 0.8335036579437697 + ], + "default_ori": [ + 0.9984795620269178, + 0.00938154959800905, + -0.0029809846427291584, + 0.054237113420925215 + ] + } + ], + "cake": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5194684230259575, + 0.04158420910243827, + 0.7649278750461119 + ], + "default_ori": [ + 0.9997165662409692, + 0.0025329860381260094, + 0.0012344524916532596, + -0.02363995118739908 + ] + } + ], + "coin": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.21017579171354603, + 0.2048290760671021, + 0.766299999948 + ], + "default_ori": [ + 0.9949298337329741, + 0.00010952328248972958, + -8.946870063142273e-05, + 0.10057139726621594 + ] + } + ], + "garage": [ + { + "category_idx": 5, + "physics": { + "mass": 0.25, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3679004193573772, + 0.04128628842759434, + 0.8507055832992458 + ], + "default_ori": [ + 0.9998951052176522, + -0.010055478013084236, + -0.005089855274322926, + 0.009097213694044667 + ] + } + ], + "audio": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.0682497878338237, + 0.2512896052814711, + 0.7720399740406522 + ], + "default_ori": [ + 0.9685165282894909, + 0.0007194495310706826, + -0.0012175337170896975, + -0.24894524384709948 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 11, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5435285083529232, + 0.23455157923040484, + 0.8049999992000001 + ], + "default_ori": [ + 0.9943237769691897, + -9.942917685310392e-05, + 1.0669479383469495e-05, + -0.10639650630413564 + ] + } + ], + "cap": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5567291068532795, + -0.031538274827240954, + 0.802797711173963 + ], + "default_ori": [ + 0.7007626892181236, + 0.7127383806876605, + 0.020674909977847905, + 0.022543340300920263 + ] + } + ], + "bottle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.21770809455476126, + 0.3326143908646423, + 0.7654150963726012 + ], + "default_ori": [ + 0.9869247133713102, + -0.004719530140214783, + -0.002283633120686444, + -0.16109662067213848 + ] + } + ], + "stapler": [ + { + "category_idx": 4, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5306698704038464, + 0.3651468551419092, + 0.7993 + ], + "default_ori": [ + 0.9945869282704528, + 0.0, + 0.0, + -0.10390785395505496 + ] + } + ], + "toothpaste": [ + { + "category_idx": 1, + "physics": { + "mass": 0.05, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5770428978783825, + -0.2723732416254927, + 0.7778054544084064 + ], + "default_ori": [ + -0.6682455905805714, + 0.7338602869830593, + 0.08944388074795931, + -0.08304638496352616 + ] + } + ], + "pencil_case": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.18029749911673912, + 0.04051609518430601, + 0.7815 + ], + "default_ori": [ + 0.9709118833207271, + 0.0, + 0.0, + 0.23943707905543538 + ] + } + ], + "racket": [ + { + "category_idx": 4, + "physics": { + "mass": 0.09, + "friction": 0.65, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5464417413127092, + -0.1669026965939905, + 0.7690007313579938 + ], + "default_ori": [ + -0.699153157992199, + 0.710720924902011, + -0.054861905151310425, + 0.0552340469197574 + ] + } + ], + "plier": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4391260638917491, + -0.3613492047629448, + 0.7652063769359179 + ], + "default_ori": [ + 0.9862999405841454, + 0.0027454793600992654, + -4.781455947287811e-05, + 0.16493904104414617 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.13322876121613103, + 0.048021786669420204, + 0.9177 + ], + "default_ori": [ + 0.9931207025334823, + 0.0, + 0.0, + 0.11709513311578156 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_magenta", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0212", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0378", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_17.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_17.json new file mode 100644 index 0000000000000000000000000000000000000000..10e4401a4caa0a35bef555d6331f094f754686e1 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_17.json @@ -0,0 +1,932 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.039985929909025573, + -0.1307611883621948, + 0.8051 + ], + "default_ori": [ + 0.13223561612229245, + 0.0, + 0.0, + 0.9912183118913602 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.42224706639464776, + -0.13349265301148994, + 0.806 + ], + "default_ori": [ + 0.9785352556715223, + 0.0, + 0.0, + 0.20607948322884628 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.22379921857958013, + -0.15388786915347866, + 0.7996 + ], + "default_ori": [ + 0.36559766855573583, + 0.0, + 0.0, + 0.9307729823896965 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "stapler": [ + { + "category_idx": 4, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.03218783642904919, + 0.30771213395220715, + 0.7993 + ], + "default_ori": [ + 0.9855621099284385, + 0.0, + 0.0, + 0.16931428608775015 + ] + } + ], + "garage": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4908290834130419, + 0.3365361539709345, + 0.8900960300131513 + ], + "default_ori": [ + 0.9929014983011824, + -0.0001985683560807543, + -2.388715896439231e-05, + 0.11893937393175964 + ] + } + ], + "lamp": [ + { + "category_idx": 0, + "physics": { + "mass": 1.1, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.32632115374735754, + 0.29676531257076405, + 0.8689174656911823 + ], + "default_ori": [ + 0.9783579096710886, + 0.014368023759750145, + 0.0026224129578614067, + 0.20640369044068876 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.523283468806437, + 0.20866441930684212, + 0.8335036579437697 + ], + "default_ori": [ + 0.9913676818116061, + 0.009582737568180602, + -0.0022518621182192745, + 0.13074104067653047 + ] + } + ], + "plate": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5021763127203915, + -0.10448781398922517, + 0.7803002731258395 + ], + "default_ori": [ + 0.7069652579822633, + 0.7059652483128275, + -0.03010901973354385, + -0.03011044854140923 + ] + } + ], + "wrench": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.30970696953258015, + 0.2716618437835955, + 0.7649099444727391 + ], + "default_ori": [ + 0.9991417167923008, + -0.00030893689241697045, + 0.01532306612838737, + -0.03848295684787603 + ] + } + ], + "tissue": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.01737189545243737, + 0.11823223145052958, + 0.765 + ], + "default_ori": [ + 0.9830493289494425, + 0.0, + 0.0, + 0.183341257910081 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 10, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2585920703719638, + 0.1045442512285234, + 0.805 + ], + "default_ori": [ + 0.9940601003879103, + 0.0, + 0.0, + -0.10883251727667584 + ] + } + ], + "trophy": [ + { + "category_idx": 0, + "physics": { + "mass": 0.35, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.14332783378838213, + 0.29941119366668983, + 0.8902000134735264 + ], + "default_ori": [ + 0.9830249405622232, + 8.286797618847201e-05, + -0.00011459579201321671, + -0.18347192219339922 + ] + } + ], + "gamepad": [ + { + "category_idx": 0, + "physics": { + "mass": 0.22, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4385272071813454, + 0.05256492434679751, + 0.7881213315101707 + ], + "default_ori": [ + -0.6820982217471818, + 0.7244322701615291, + -0.07479607226782627, + 0.06592002284019668 + ] + } + ], + "croissant": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5145698954152689, + 0.1498716316371859, + 0.7657638918224734 + ], + "default_ori": [ + 0.9696208482121359, + -0.0025476688045863957, + 0.009423823303200341, + -0.24441790370263458 + ] + } + ], + "racket": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.45806503215797123, + -0.4774525037751962, + 0.7653839543010679 + ], + "default_ori": [ + 0.9948772123339731, + -0.006605157322692322, + -0.001272732993456215, + 0.10086666657549714 + ] + } + ], + "power_bank": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.22 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5482618072486354, + -0.37293336011178163, + 0.7739 + ], + "default_ori": [ + 0.9801336011619927, + 0.0, + 0.0, + 0.19833840745862627 + ] + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.06808855240757812, + -0.2798346957845411, + 0.7781030694047488 + ], + "default_ori": [ + 0.9359534815814554, + -0.008068670148716798, + 0.3519112120301947, + -0.009191067675893007 + ] + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5809174719641952, + 0.1037729295610118, + 0.7652999844004095 + ], + "default_ori": [ + 0.9903681753450618, + 0.0016845995774279082, + -0.004812633559876014, + 0.13836501706058166 + ] + } + ], + "ice_cream": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.543654825851203, + -0.2096287775924457, + 0.7760330782519896 + ], + "default_ori": [ + -0.6974785019435656, + 0.698260639613006, + -0.11312279111477075, + 0.11471291393822736 + ] + } + ], + "box": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.466942538904022, + 0.3642071746323892, + 0.7649015989707201 + ], + "default_ori": [ + 0.9999161675908852, + -0.000955405929422606, + -0.0020215669055464137, + 0.012753754628071347 + ] + } + ], + "clip": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.16990044570781282, + 0.36135124578550093, + 0.7712473108579913 + ], + "default_ori": [ + 0.9815211989196129, + 0.16336560977755388, + 0.016587943850769102, + 0.09824791973480984 + ] + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.24457246358962106, + -0.3038831461594165, + 0.7713263732154156 + ], + "default_ori": [ + -0.5074139806129091, + -0.5263378903324603, + 0.4655256862894236, + 0.49878383382352987 + ] + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.22539229125733776, + -0.30932413549864596, + 0.7759905181449079 + ], + "default_ori": [ + 0.7961378846645345, + -0.5776338367072946, + 0.10639797175998916, + -0.14554412010813628 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.19418800153763677, + 0.018701226362069303, + 0.9177 + ], + "default_ori": [ + 0.9995845362667825, + 0.0, + 0.0, + -0.028822818327176015 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_orange", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0213", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0415", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_18.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_18.json new file mode 100644 index 0000000000000000000000000000000000000000..a29fa5d1ae2a609d25fad87f0434c2eeb45ea46a --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_18.json @@ -0,0 +1,929 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.20481061495541544, + -0.04437004990684947, + 0.8051 + ], + "default_ori": [ + 0.3922759016794957, + 0.0, + 0.0, + 0.9198476052920607 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.026910231286281828, + -0.22116476410847166, + 0.8031 + ], + "default_ori": [ + 0.7402779509085422, + 0.0, + 0.0, + 0.6723009410960615 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.327840730497633, + -0.08634268229727196, + 0.8031 + ], + "default_ori": [ + 0.968654992944267, + 0.0, + 0.0, + 0.24840995278801148 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2708111530526431, + 0.21717885554716565, + 0.7652999844004095 + ], + "default_ori": [ + 0.988394078922676, + 0.0017499188973367293, + -0.004789269398421743, + 0.1518260367429685 + ] + } + ], + "tissue": [ + { + "category_idx": 3, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5209165338929077, + 0.24993165282964752, + 0.8223004200986137 + ], + "default_ori": [ + 0.9917912114145737, + -0.0017500839929353031, + -0.0002778410619505707, + -0.1278555942114953 + ] + } + ], + "book": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.48720682140188, + -0.35389170290434147, + 0.765 + ], + "default_ori": [ + 0.977469443162944, + 0.0, + 0.0, + -0.2110769709909735 + ] + } + ], + "calendar": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.48492880370587976, + 0.32749963577906743, + 0.765401379635816 + ], + "default_ori": [ + 0.9954931395117717, + -0.007060427867972916, + -0.0007533267429645164, + 0.09456739418074248 + ] + } + ], + "garage": [ + { + "category_idx": 9, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.011527639602595362, + 0.10748437009968026, + 0.8222942937847153 + ], + "default_ori": [ + 0.9722842520553899, + 0.004521944963647047, + -0.001285094849879234, + 0.23375464433902396 + ] + } + ], + "office_mail": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.43193334674378125, + -0.0460078915185507, + 0.7649892800027872 + ], + "default_ori": [ + 0.997206027782748, + -0.0005060728720920503, + 6.23713117748941e-05, + 0.0746985820067614 + ] + } + ], + "jeans": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.11690846114569095, + 0.26929367855884917, + 0.7651007199819352 + ], + "default_ori": [ + 0.9975251046695249, + 0.0002992575314008575, + -2.1093169507343877e-05, + -0.07031056502447959 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 6, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.23288477055268864, + 0.371362205816435, + 0.805 + ], + "default_ori": [ + 0.994695099785261, + 0.0, + 0.0, + -0.10286718846741018 + ] + } + ], + "coffee_bag": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3716053373589619, + 0.36469421744967023, + 0.7640272467517178 + ], + "default_ori": [ + 0.99876164928852, + 0.03249682147334183, + 0.0060925924706870084, + -0.03717532544028729 + ] + } + ], + "pokeball": [ + { + "category_idx": 7, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3300819705816047, + 0.17742271018386313, + 0.8047343578181123 + ], + "default_ori": [ + 0.9888607330533233, + 0.030924219989069444, + 0.02216624901146431, + -0.1438985776443731 + ] + } + ], + "calculator": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4935411903131351, + -0.42100161320065854, + 0.7656013461123851 + ], + "default_ori": [ + 0.9992548531182788, + 0.0033974925087229767, + 0.0001300406041463621, + 0.03844708901414904 + ] + } + ], + "phone_stand": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5419673766193103, + 0.05701637758882437, + 0.7652017247465114 + ], + "default_ori": [ + 0.9983857908838791, + -0.004361084556879416, + 0.004353102321515994, + -0.056460995411323676 + ] + } + ], + "ball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.501945367025967, + 0.11972256991614957, + 0.7647818013684299 + ], + "default_ori": [ + 0.9980819473738671, + 0.000710165238913111, + -0.003463449286644598, + 0.06180555404461265 + ] + } + ], + "plier": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.10293020461929334, + 0.2296661272117841, + 0.7652063769359179 + ], + "default_ori": [ + 0.9867928253883212, + 0.0027453226941849176, + -5.60932582573296e-05, + 0.1619641312729004 + ] + } + ], + "racket": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.28754318713576776, + -0.24863544047556893, + 0.7640663126662783 + ], + "default_ori": [ + 0.9970957959921409, + 0.003303888916185913, + 0.006669426440071584, + 0.07579298571628475 + ] + } + ], + "stapler": [ + { + "category_idx": 1, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.539123575688197, + 0.3561590202059746, + 0.7967980902801215 + ], + "default_ori": [ + 0.991524958132886, + 0.00043323905881788397, + 0.004078237488213886, + -0.12985159869052987 + ] + } + ], + "coin": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.15841405917317566, + -0.30652792382159455, + 0.766299999948 + ], + "default_ori": [ + 0.9942027069409215, + 8.863502166171097e-05, + -0.00011019905051781653, + -0.10752189317225844 + ] + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5106214338050654, + 0.15630911117136578, + 0.7781030694047488 + ], + "default_ori": [ + 0.9331441596961305, + 0.01596626544152731, + 0.351641412462156, + -0.07304363514005204 + ] + } + ], + "pen": [ + { + "category_idx": 2, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.07849701187158371, + 0.0662149993709663, + 0.7715255368825626 + ], + "default_ori": [ + 0.6280838896071335, + 0.7567832629969911, + -0.11206941611373149, + -0.14223278959342922 + ] + } + ], + "key": [ + { + "category_idx": 0, + "physics": { + "mass": 0.2, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.37070642065415554, + 0.27534376669836225, + 0.7701040130940491 + ], + "default_ori": [ + 0.688071271622101, + 0.6963043229119705, + 0.1396726931069369, + 0.14902937248308634 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.1736531052439092, + 0.039470356579091814, + 0.9177 + ], + "default_ori": [ + 0.994262546721521, + 0.0, + 0.0, + -0.10696722949967054 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_purple", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0214", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0452", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_19.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_19.json new file mode 100644 index 0000000000000000000000000000000000000000..20bbad10d567877901373e4c730942839d350781 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_19.json @@ -0,0 +1,926 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + -0.39943329008647727, + -0.15434951684547224, + 0.7996 + ], + "default_ori": [ + 0.9901506632196668, + 0.0, + 0.0, + 0.14000594317975895 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.39399914824729115, + -0.1321442460845884, + 0.806 + ], + "default_ori": [ + 0.18087312012023618, + 0.0, + 0.0, + 0.9835064384222254 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.06563668892747747, + 0.018799780244690346, + 0.7996 + ], + "default_ori": [ + 0.35516652316299197, + 0.0, + 0.0, + 0.9348030492164175 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "racket": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.1641540845218018, + 0.3532478300586747, + 0.7640663126662783 + ], + "default_ori": [ + 0.9877273256210231, + 0.002754895464510662, + 0.006914295480353774, + 0.1560106832576914 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 4, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.38607041753379623, + 0.07960335643164296, + 0.805 + ], + "default_ori": [ + 0.9734190819212883, + 0.0, + 0.0, + -0.2290312008253815 + ] + } + ], + "plant": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2694954691827483, + 0.046897702374684144, + 0.7655959982749213 + ], + "default_ori": [ + 0.9731223554767108, + -0.0007784425453691589, + 0.0001844633740326961, + -0.23028730158635666 + ] + } + ], + "clip": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5791069481579181, + -0.1611372807042939, + 0.7712473108579913 + ], + "default_ori": [ + 0.9800482327390231, + 0.16317034224135527, + -0.018409827593632397, + -0.11199097805595484 + ] + } + ], + "puzzle_pieces": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.30315282654387754, + 0.2780416805679372, + 0.7651999996400003 + ], + "default_ori": [ + 0.9901102171995791, + -0.00042329269772795974, + 0.0008490126512902593, + 0.14028848063120672 + ] + } + ], + "calculator": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.13578689421974283, + -0.23839555722277544, + 0.7656013461123851 + ], + "default_ori": [ + 0.9857759494012666, + 0.0033517523545710513, + 0.0005706330337291245, + 0.1680304071176585 + ] + } + ], + "coin": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.49585212525122313, + -0.44251824867859535, + 0.766299999948 + ], + "default_ori": [ + 0.9942305452812268, + 8.866358439732882e-05, + -0.00011017607091296186, + -0.10726417309519977 + ] + } + ], + "garage": [ + { + "category_idx": 15, + "physics": { + "mass": 0.04, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.030099880770654036, + 0.27527641889360904, + 0.8500001175998966 + ], + "default_ori": [ + 0.9712636187899424, + 0.00043966502425793664, + -0.0007257368895438796, + -0.23800475376701863 + ] + } + ], + "tissue": [ + { + "category_idx": 3, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.559128835878586, + 0.22118715544982176, + 0.8223004200986137 + ], + "default_ori": [ + 0.9997486882495191, + -0.0017109311069326727, + -0.00046119885663814726, + -0.022347714731670132 + ] + } + ], + "money_stack": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.40738454469028995, + 0.3574728505797675, + 0.7646982015706939 + ], + "default_ori": [ + 0.989975274244521, + 0.0015697018321816415, + -0.00038213786250956323, + 0.1412315346914329 + ] + } + ], + "ice_cream": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5467865851907371, + 0.16229920472073672, + 0.7760330782519896 + ], + "default_ori": [ + -0.7011080532324265, + 0.7014018809490267, + 0.09165199454200568, + -0.08990445478549286 + ] + } + ], + "key": [ + { + "category_idx": 0, + "physics": { + "mass": 0.2, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.44639779050398626, + -0.3137736171229606, + 0.7701040130940491 + ], + "default_ori": [ + 0.6460470363730507, + 0.6559399584858867, + 0.2721965138777049, + 0.27977679583545834 + ] + } + ], + "power_bank": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.22 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.10063430461099516, + -0.260846220597875, + 0.7739 + ], + "default_ori": [ + 0.9769916702264895, + 0.0, + 0.0, + -0.21327746319771965 + ] + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5475213624637068, + -3.509258744893131e-05, + 0.7652999844004095 + ], + "default_ori": [ + 0.9995181627381546, + 0.0011550898185359922, + -0.004966395577179655, + 0.030617691601849576 + ] + } + ], + "tape_measure": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5311004815120716, + -0.36193164677280093, + 0.7865834893656257 + ], + "default_ori": [ + 0.73503830039555, + -0.059409990164883776, + -0.6736228360766882, + 0.0492079743154394 + ] + } + ], + "microscope": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.26495027895336576, + 0.21489403285258296, + 0.8565019559257262 + ], + "default_ori": [ + 0.9911537077842605, + 0.0001583828040398575, + -0.000323905648583773, + -0.1327184898404542 + ] + } + ], + "audio": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.41497003285942724, + 0.0661249545139266, + 0.7720399740406522 + ], + "default_ori": [ + 0.9929470031379287, + 0.001111410170112172, + -0.0008745075264280539, + 0.11855061772688595 + ] + } + ], + "dice": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.522587264996558, + 0.38854583615618266, + 0.765 + ], + "default_ori": [ + 0.9667715863221316, + -0.0004894247832027689, + 0.00010236702380916492, + -0.2556412522746738 + ] + } + ], + "toothpaste": [ + { + "category_idx": 1, + "physics": { + "mass": 0.05, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5834565144177145, + -0.35841568359862663, + 0.7778054544084064 + ], + "default_ori": [ + -0.6666927904526885, + 0.7321857092127768, + 0.1022507498197259, + -0.09470794340652967 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5939458207639089, + 0.06947878865932168, + 0.8335036579437697 + ], + "default_ori": [ + 0.9995595262304751, + 0.009104854211119867, + -0.0037418407361008385, + -0.027997388799821492 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.19298060292498792, + 0.01874295978545082, + 0.9177 + ], + "default_ori": [ + 0.9951330457490222, + 0.0, + 0.0, + -0.09854045493235092 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_red", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0215", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0489", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_2.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_2.json new file mode 100644 index 0000000000000000000000000000000000000000..d6cc8d6827ab76891ff7bead461d58a17f299535 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_2.json @@ -0,0 +1,927 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + -0.41568174036777106, + -0.08134910528354666, + 0.8031 + ], + "default_ori": [ + 0.6040658085712491, + 0.0, + 0.0, + 0.7969344382790613 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.15787670518857325, + -0.0886983598449575, + 0.8051 + ], + "default_ori": [ + 0.8218732230886039, + 0.0, + 0.0, + 0.5696704355765272 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.43536167216903005, + -0.0866807175938176, + 0.8031 + ], + "default_ori": [ + 0.30971642057239307, + 0.0, + 0.0, + 0.9508289745415969 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.18566649154050205, + 0.22011830510888988, + 0.7713263732154156 + ], + "default_ori": [ + -0.3913686536004741, + -0.41685412934314797, + 0.5656663099782678, + 0.5942094223286 + ] + } + ], + "scale": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2190024017978956, + 0.009875027477680041, + 0.7653839385430405 + ], + "default_ori": [ + 0.9868174957027446, + -0.0010369967315259731, + -0.000473957884000973, + 0.16183303178482025 + ] + } + ], + "foosball_table": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.49548529284487236, + 0.250402807367239, + 0.7650017999933401 + ], + "default_ori": [ + 0.991301727282825, + -0.0002974644611792753, + -3.891736548837122e-05, + 0.13160849321537282 + ] + } + ], + "calculator": [ + { + "category_idx": 1, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5454908167502186, + -0.32937214874025506, + 0.7816947085391605 + ], + "default_ori": [ + 0.6886891265295969, + -0.6868741482029956, + -0.1647960361062148, + 0.16356484345356553 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 8, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.25600624195160987, + 0.32003620953038314, + 0.805 + ], + "default_ori": [ + 0.9984495354985987, + 0.0, + 0.0, + 0.05566439672387032 + ] + } + ], + "tissue": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4500486262591608, + 0.14627777984871587, + 0.765 + ], + "default_ori": [ + 0.9878254415544835, + 0.0, + 0.0, + 0.1555663749583749 + ] + } + ], + "stapler": [ + { + "category_idx": 4, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2216977304818958, + 0.358208662260919, + 0.7993 + ], + "default_ori": [ + 0.9999855057864212, + 0.0, + 0.0, + -0.005384070678910134 + ] + } + ], + "comb": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5650741752381465, + -0.3620423416277224, + 0.765007233038835 + ], + "default_ori": [ + 0.9983548605925522, + 0.00010521958716732329, + -9.449108042612958e-05, + 0.057337181056447445 + ] + } + ], + "clip": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.21439362655417643, + 0.10172844932407599, + 0.7712473108579913 + ], + "default_ori": [ + 0.9858149840619032, + 0.1640954625801994, + 0.006013443254796691, + 0.0347179328278835 + ] + } + ], + "helmets": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.09683865810016141, + 0.3435485384976099, + 0.8120601733927771 + ], + "default_ori": [ + 0.9935253065806465, + -0.058882393114593375, + 0.0021106904414724334, + -0.09713842674653174 + ] + } + ], + "pokeball": [ + { + "category_idx": 6, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.37863583077556207, + 0.30144828367189314, + 0.804889002983205 + ], + "default_ori": [ + 0.9997391413874367, + 0.017470496725708135, + -0.011203864406151781, + -0.009534376982088685 + ] + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.20616498095172056, + -0.2569505555969707, + 0.7652999844004095 + ], + "default_ori": [ + 0.9956699327852465, + 0.001462207840731891, + -0.004884799458362374, + 0.09281910164349266 + ] + } + ], + "key": [ + { + "category_idx": 0, + "physics": { + "mass": 0.2, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.04280771728227147, + -0.2169553980208255, + 0.7701040130940491 + ], + "default_ori": [ + 0.6306335757293102, + 0.640907085788162, + 0.30591874524482465, + 0.3129746345268608 + ] + } + ], + "box": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.49467410157554187, + 0.3638256371328415, + 0.7649000404759948 + ], + "default_ori": [ + 0.9675666740246971, + -5.046508123218116e-05, + 0.00019352847432930906, + 0.2526156988723997 + ] + } + ], + "cake": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.17741312499250114, + 0.20807765050311305, + 0.7649278750461119 + ], + "default_ori": [ + 0.9665519166468959, + 0.0020875299191239634, + 0.0018926463114519146, + 0.25645555664673897 + ] + } + ], + "coin": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.005 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3642258045599849, + -0.2741500143999751, + 0.7695999984360117 + ], + "default_ori": [ + -0.7034854526801146, + 0.7037485465667022, + -0.0704245095964954, + 0.06990414523332356 + ] + } + ], + "dice": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.28167795331874446, + -0.276746546955595, + 0.765 + ], + "default_ori": [ + 0.9833751014656207, + -0.0004957787494540755, + 6.495427288775223e-05, + -0.18158513100431506 + ] + } + ], + "eraser": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5739910245902504, + -0.15898295033180623, + 0.7722034910034408 + ], + "default_ori": [ + 0.6878263333938968, + -0.6770101048023646, + 0.18506096636884078, + -0.18521525804325673 + ] + } + ], + "audio": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5405879045578914, + 0.046821540504693844, + 0.7647990833806197 + ], + "default_ori": [ + 0.9866122027326484, + 0.00035849373503245774, + -0.000954713046087093, + 0.16308072057810227 + ] + } + ], + "book": [ + { + "category_idx": 4, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.13872185259809755, + -0.31063076238346665, + 0.7719 + ], + "default_ori": [ + -0.7059384225487724, + 0.7059384225487724, + 0.04063180489900626, + -0.04063180489900626 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.008761336318585222, + 0.04609727528774401, + 0.9177 + ], + "default_ori": [ + 0.9964869376328664, + 0.0, + 0.0, + 0.08374833208531354 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_green", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0223", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0263", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_20.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_20.json new file mode 100644 index 0000000000000000000000000000000000000000..c8d7cf6df732e9c04d7ee34b0d4b2cf5f065c737 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_20.json @@ -0,0 +1,933 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.2470648549064897, + -0.11465494445471147, + 0.8051 + ], + "default_ori": [ + 0.9217481476697712, + 0.0, + 0.0, + 0.3877890564048267 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.29566448569997306, + -0.0025178516979239007, + 0.806 + ], + "default_ori": [ + 0.9686617172448533, + 0.0, + 0.0, + 0.24838373043388318 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.11567779547328569, + -0.2446157146213883, + 0.806 + ], + "default_ori": [ + 0.6945471178042953, + 0.0, + 0.0, + 0.7194472191549192 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "darts_board": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.06095642856160918, + 0.2794936489451006, + 0.770899999764 + ], + "default_ori": [ + 0.967858806313499, + 0.00012191379442684214, + -7.167303906246698e-05, + 0.25149415707210976 + ] + } + ], + "garage": [ + { + "category_idx": 16, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.39437594894955325, + 0.38315048116392614, + 0.8221702238862089 + ], + "default_ori": [ + 0.9771525508841347, + 0.002736264727868906, + -0.0005939634833238953, + -0.21252071043394388 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 4, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4836722133185854, + -0.04503024392339072, + 0.805 + ], + "default_ori": [ + 0.9941216998584503, + 0.0, + 0.0, + -0.1082683973768209 + ] + } + ], + "bottle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3804082141759011, + 0.10293850071751108, + 0.7654150963726012 + ], + "default_ori": [ + 0.9792822582655549, + -0.004811335340870801, + -0.002083265996453534, + -0.20243213603907065 + ] + } + ], + "cap": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3358871805441905, + 0.3191020405523572, + 0.802797711173963 + ], + "default_ori": [ + 0.6837162993075507, + 0.6948311755204964, + -0.16010336889855153, + -0.1552693493685321 + ] + } + ], + "glasses": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.02 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.14976680735214185, + 0.28212085958847744, + 0.7650409393916515 + ], + "default_ori": [ + 0.9746347905181856, + 0.0012812625922389448, + -0.00021991349376448255, + 0.22379753152302104 + ] + } + ], + "pokeball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.47252784622217864, + 0.24666051850007975, + 0.8047553286929123 + ], + "default_ori": [ + 0.9907324184557725, + -0.023457241191893248, + 0.027444726852268415, + -0.13094204758001102 + ] + } + ], + "plate": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4901188953302756, + -0.3682899007004609, + 0.7803002731258395 + ], + "default_ori": [ + 0.7066043707176889, + 0.7056088082369476, + 0.03754590035065805, + 0.037640116736692375 + ] + } + ], + "calculator": [ + { + "category_idx": 1, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.24370688802076304, + 0.10170107086721274, + 0.7816947085391605 + ], + "default_ori": [ + 0.6997314749735426, + -0.6985112780847744, + 0.10505152723443259, + -0.10687391611351685 + ] + } + ], + "toy_car": [ + { + "category_idx": 0, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4561911920032035, + 0.2592952924750936, + 0.7937309890088791 + ], + "default_ori": [ + 0.9815659553932039, + -0.009327603980536281, + 0.008633191230260084, + -0.19070065292544486 + ] + } + ], + "card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.49399462848833675, + -0.48169113144139053, + 0.7673 + ], + "default_ori": [ + 0.9985041449829366, + 0.0, + 0.0, + 0.054676068365370874 + ] + } + ], + "hammer": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.32717944583385505, + -0.24715445805010525, + 0.7645765963079757 + ], + "default_ori": [ + 0.9899551758969326, + 0.004150838918539275, + 0.004842393761890468, + 0.1412376418445184 + ] + } + ], + "toy_plane": [ + { + "category_idx": 1, + "physics": { + "mass": 0.45, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5047040758398424, + 0.04329766666928469, + 0.8105987658350451 + ], + "default_ori": [ + 0.9950913838744376, + -0.002200806595860114, + 0.006012882390148036, + 0.0987529211443713 + ] + } + ], + "sandwich": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5158825944712557, + 0.12536440663037612, + 0.7659033437149024 + ], + "default_ori": [ + 0.9863196462060368, + 0.015176428427384757, + -0.007490077159989172, + -0.16397295591750569 + ] + } + ], + "coin": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.005 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.22502663394119998, + -0.2868687446365957, + 0.7695999984360117 + ], + "default_ori": [ + -0.6996012269680699, + 0.6999819565111823, + 0.10122691788961005, + -0.10166855402787359 + ] + } + ], + "nvlink": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.46485438953263064, + -0.1475650676095821, + 0.779 + ], + "default_ori": [ + 0.9754690350742264, + 0.0, + 0.0, + -0.22013668847186227 + ] + } + ], + "pen": [ + { + "category_idx": 2, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5857275754141423, + -0.19419356488958195, + 0.7715255368825626 + ], + "default_ori": [ + 0.6206048819625247, + 0.7505936987770286, + -0.14795120998716038, + -0.17195673672129078 + ] + } + ], + "stapler": [ + { + "category_idx": 3, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.1619331915870622, + 0.19305149181010228, + 0.799692594638761 + ], + "default_ori": [ + 0.9857321704090657, + -0.016885323244674278, + -0.005701928623252695, + 0.16737521348613996 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5504362273180972, + 0.3677867764955196, + 0.8335036579437697 + ], + "default_ori": [ + 0.9858802743240163, + 0.009659167850250732, + -0.001897424238480547, + 0.1671621516866257 + ] + } + ], + "tissue": [ + { + "category_idx": 2, + "physics": { + "mass": 0.15, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.08336183751072677, + -0.31036373689418484, + 0.7829072436546988 + ], + "default_ori": [ + 0.999096998742745, + -0.0050093878170251824, + -0.004894244366002112, + -0.04190631824706015 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.025860673613941954, + 0.007655472173855694, + 0.9177 + ], + "default_ori": [ + 0.9904541198607134, + 0.0, + 0.0, + -0.13784279615177464 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_teal", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0216", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0555", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_21.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_21.json new file mode 100644 index 0000000000000000000000000000000000000000..0f49a775edfb3038ea7c47358338b96c2855d6bc --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_21.json @@ -0,0 +1,922 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.22370746813706482, + -0.18463958952215104, + 0.7996 + ], + "default_ori": [ + 0.8054795228999261, + 0.0, + 0.0, + 0.5926236058316507 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.165649705148994, + -0.03875762536418975, + 0.806 + ], + "default_ori": [ + 0.8319313497462014, + 0.0, + 0.0, + 0.5548785716798438 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.34348594288542283, + -0.16385625306787704, + 0.806 + ], + "default_ori": [ + 0.8591578770518637, + 0.0, + 0.0, + 0.5117106040524612 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "plane": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 75000.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2211436077262676, + 0.24171415083294462, + 0.7602640105182119 + ], + "default_ori": [ + 0.9945624299946609, + -0.06662623804263938, + 0.006068361381721962, + -0.07981035169413472 + ] + } + ], + "keyboard": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4596395995633942, + 0.23445520391174599, + 0.765200479743693 + ], + "default_ori": [ + 0.970373542616128, + -0.0007762988340929024, + -0.00019328660219027782, + 0.24160825273784725 + ] + } + ], + "lamp": [ + { + "category_idx": 0, + "physics": { + "mass": 1.1, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.25099203565300854, + 0.11060302940953098, + 0.8689174656911823 + ], + "default_ori": [ + 0.9974355817957112, + 0.01453598755315954, + -0.001422048640762712, + -0.07006384953290076 + ] + } + ], + "candle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.03446319283974841, + 0.3051947029033656, + 0.765 + ], + "default_ori": [ + 0.9699819417347655, + -7.338935851323605e-05, + -0.00029088449848265976, + -0.24317677255170692 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 9, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.577770316526739, + 0.3653508198710086, + 0.8049999992000001 + ], + "default_ori": [ + 0.9929264957213741, + -9.928907871701891e-05, + 1.1902850394998691e-05, + -0.11873063671383588 + ] + } + ], + "box": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.49582114399812993, + -0.39793495082898195, + 0.7657016805597984 + ], + "default_ori": [ + 0.9852285226332472, + 0.00016284305727849358, + 0.00023126203557046374, + 0.17124449827634988 + ] + } + ], + "comb": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4538403869118104, + 0.13264133692961322, + 0.765007233038835 + ], + "default_ori": [ + 0.9960145858646301, + 9.027965833631215e-05, + -0.00010885453180478054, + -0.08919038482473174 + ] + } + ], + "scale": [ + { + "category_idx": 1, + "physics": { + "mass": 0.25, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.48763017455951024, + -0.3218221331722815, + 0.7764003384861654 + ], + "default_ori": [ + 0.9958751905251091, + -0.0022724942067924815, + -0.00040711324180279953, + 0.09070432693905019 + ] + } + ], + "garage": [ + { + "category_idx": 9, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.36454997818545226, + 0.06871847631666606, + 0.8222942937847153 + ], + "default_ori": [ + 0.9738943516355477, + 0.003465893182883827, + -0.0031760099924714414, + -0.22695306210172375 + ] + } + ], + "coffee_bag": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.39809067876265875, + 0.30511899949748333, + 0.7640272467517178 + ], + "default_ori": [ + 0.9815172677663938, + 0.030292775441253913, + 0.013248050609425023, + 0.18849586199041343 + ] + } + ], + "walkie_talkie": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.07090877755747906, + -0.3427983241167414, + 0.7880404744334204 + ], + "default_ori": [ + 0.6943813896902001, + -0.6930089465581915, + 0.13692572934757388, + -0.1372021511669819 + ] + } + ], + "pokeball": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.12088807206284852, + 0.3725189391815989, + 0.804797635494598 + ], + "default_ori": [ + 0.9730223238553044, + -0.03113906040226556, + 0.12298824129776749, + 0.1926961564198138 + ] + } + ], + "mini_fan": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.09617986518958523, + 0.13375414839940608, + 0.8569091681740725 + ], + "default_ori": [ + 0.7086159629789487, + 0.7017655431645493, + 0.05886194426209839, + 0.043861269430650836 + ] + } + ], + "toothpaste": [ + { + "category_idx": 1, + "physics": { + "mass": 0.05, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.49397272982425866, + -0.046739408048583335, + 0.7778054544084064 + ], + "default_ori": [ + -0.650375512771959, + 0.7135744488170734, + -0.19329416599970872, + 0.17452954985474003 + ] + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.09789411381273197, + 0.21292898343781452, + 0.7652999844004095 + ], + "default_ori": [ + 0.9908372387856133, + 0.000318556444082717, + -0.005088991973843989, + -0.13496505813796364 + ] + } + ], + "ice_cream": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2759928657517963, + 0.3069781714913368, + 0.7760330782519896 + ], + "default_ori": [ + -0.7020726751938693, + 0.7023860923651374, + 0.08377627321857396, + -0.08203214030953587 + ] + } + ], + "sound_card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3983145093592265, + -0.08409718671140201, + 0.765101676207007 + ], + "default_ori": [ + 0.991045426883565, + -0.004041989712142392, + 0.0014532646120863986, + -0.13345603094018132 + ] + } + ], + "calculator": [ + { + "category_idx": 1, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5464154665066259, + -0.10126069809116374, + 0.7816947085391605 + ], + "default_ori": [ + 0.7070392511820612, + -0.7056367775419649, + 0.03210244797680332, + -0.03378858242067319 + ] + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.17286712375506433, + -0.26765606786138074, + 0.7759905181449079 + ], + "default_ori": [ + 0.8069953828356601, + -0.5857144378279378, + -0.043817519598121815, + 0.06145790736835917 + ] + } + ], + "sculpture": [ + { + "category_idx": 1, + "physics": { + "mass": 3.2, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5897768369154794, + 0.17035942193790146, + 0.8335998185680182 + ], + "default_ori": [ + 0.9971763041356037, + -7.479683541312509e-06, + 9.971987431862275e-05, + 0.07509599503608097 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.04548297575085178, + 0.020194820107040764, + 0.9177 + ], + "default_ori": [ + 0.9977951145058198, + 0.0, + 0.0, + -0.06636949199984965 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_yellow", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0205", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0042", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_22.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_22.json new file mode 100644 index 0000000000000000000000000000000000000000..e8e0aa2c1be2379fec7bebb9b934b9d29864b61d --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_22.json @@ -0,0 +1,902 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.0712527373463698, + -0.17063200371814555, + 0.806 + ], + "default_ori": [ + 0.4650752685130525, + 0.0, + 0.0, + 0.8852711418641818 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.1781033636864833, + -0.22750384978777602, + 0.8051 + ], + "default_ori": [ + 0.8515990362403522, + 0.0, + 0.0, + 0.5241937442153458 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.2720472429438034, + 0.010217330004599434, + 0.8031 + ], + "default_ori": [ + 0.3740884547045158, + 0.0, + 0.0, + 0.9273930278241191 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "garage": [ + { + "category_idx": 4, + "physics": { + "mass": 0.15, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2158984323506263, + 0.21756906768603257, + 0.8522454425035034 + ], + "default_ori": [ + 0.9950260345510001, + 0.009817317015670504, + 0.036141175855286534, + -0.09230723839506356 + ] + } + ], + "french_fries": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.0680398508187083, + 0.11131461518961897, + 0.7788729825038763 + ], + "default_ori": [ + 0.7313999041026344, + -0.6483239980155155, + 0.14124200455638775, + -0.15741940803067617 + ] + } + ], + "book": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5366948297022149, + -0.30502754277792804, + 0.765 + ], + "default_ori": [ + 0.9847981496854716, + 0.0, + 0.0, + -0.17370263203553205 + ] + } + ], + "pen": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.1120079857719837, + 0.33948185233678596, + 0.7650019781032761 + ], + "default_ori": [ + 0.9986926003092037, + 0.0006554620321108734, + 0.015386082364526406, + -0.048743501378521084 + ] + } + ], + "stapler": [ + { + "category_idx": 3, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3112377883250992, + 0.2837896093421056, + 0.799692594638761 + ], + "default_ori": [ + 0.9998267747499616, + -0.017616309501785228, + -0.0027003278762249214, + -0.005366037829527303 + ] + } + ], + "tissue": [ + { + "category_idx": 2, + "physics": { + "mass": 0.15, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4427383123064278, + -0.32744660152427246, + 0.7829072436546988 + ], + "default_ori": [ + 0.9807204036706947, + -0.0037114755670944193, + -0.005939069230979286, + 0.1952906608872381 + ] + } + ], + "body_lotion": [ + { + "category_idx": 0, + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5276585872509214, + 0.003437405700168683, + 0.7818118647148823 + ], + "default_ori": [ + -0.3284934304880513, + 0.3820993341371341, + 0.6444242383884309, + -0.5751604697435676 + ] + } + ], + "candle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.44777450762266435, + 0.152231725120472, + 0.765 + ], + "default_ori": [ + 0.9985865514495966, + -1.6394007484245214e-05, + -0.00029955137442365257, + -0.05314893474203245 + ] + } + ], + "box": [ + { + "category_idx": 4, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4931921086101202, + 0.3863324928408225, + 0.7649 + ], + "default_ori": [ + 0.9982004835961004, + 0.0, + 0.0, + 0.05996494433009515 + ] + } + ], + "pokeball": [ + { + "category_idx": 8, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.33278236585632326, + 0.3322941275651853, + 0.8048623554934082 + ], + "default_ori": [ + 0.9904722201311308, + -0.06663991915292188, + -0.01848611974265917, + 0.1190888983098798 + ] + } + ], + "book_shelf": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5048168240342367, + 0.34447653926517335, + 0.7646996401480936 + ], + "default_ori": [ + 0.9911695444787425, + -0.0003567229391613874, + -0.0003503550765667284, + 0.1325997137925544 + ] + } + ], + "dog_toy": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5145361236786903, + 0.18857646338744632, + 0.7666665582268457 + ], + "default_ori": [ + 0.982917942413241, + 0.0023001467064564375, + 0.011849163149102462, + 0.18364810137846596 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 13, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.10926658422932367, + 0.0028001510640606186, + 0.805 + ], + "default_ori": [ + 0.9920044004501845, + 0.0, + 0.0, + -0.12620328635764627 + ] + } + ], + "dice": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.13441256070307417, + 0.10780908879777684, + 0.765 + ], + "default_ori": [ + 0.9951374548571196, + -0.000499479108601314, + 2.315698701170753e-05, + -0.09849464921947972 + ] + } + ], + "phone_stand": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.29256142184236134, + 0.3812558355450071, + 0.7652017247465114 + ], + "default_ori": [ + 0.9999097222544082, + -0.0045506281156812095, + 0.0041545567858210525, + -0.01194063577782137 + ] + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2808126005192059, + 0.15256358343044574, + 0.7652999844004095 + ], + "default_ori": [ + 0.9761285083551773, + -0.00010699213803245781, + -0.005097829950117442, + -0.21713391227253875 + ] + } + ], + "can": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.32 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2647214057015721, + -0.25508616906056447, + 0.7645000000999999 + ], + "default_ori": [ + 0.9803778479737844, + -0.00031378687172206295, + 3.921337954069537e-05, + 0.19712730709468376 + ] + } + ], + "chocolate": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.36133065094686156, + -0.2853637108432604, + 0.7647 + ], + "default_ori": [ + 0.9982577173937726, + 0.0, + 0.0, + -0.05900448850532472 + ] + } + ], + "gamepad": [ + { + "category_idx": 0, + "physics": { + "mass": 0.22, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.538594406887977, + -0.48106366882338913, + 0.7881213315101707 + ], + "default_ori": [ + -0.6852028662911454, + 0.7282594827889597, + 0.005890009001472394, + -0.010023250386894455 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.19352136180165408, + 0.013378397772257572, + 0.9177 + ], + "default_ori": [ + 0.9987813393217013, + 0.0, + 0.0, + 0.04935419154183892 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_azure", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0196", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0080", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_23.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_23.json new file mode 100644 index 0000000000000000000000000000000000000000..5c6d1544a5d623b181118af722781f4ff34113e8 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_23.json @@ -0,0 +1,925 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.38218960613329195, + -0.12779464481582245, + 0.8031 + ], + "default_ori": [ + 0.9886125114892556, + 0.0, + 0.0, + 0.15048356098559942 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.002892445481057404, + -0.17862074187186772, + 0.806 + ], + "default_ori": [ + 0.751225539387793, + 0.0, + 0.0, + 0.6600455961306911 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.3385147634677823, + -0.05560941856036489, + 0.806 + ], + "default_ori": [ + 0.6673555749719504, + 0.0, + 0.0, + 0.7447392406432319 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "book": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.21690214859132673, + 0.30615962806022035, + 0.765 + ], + "default_ori": [ + 0.9787743149007307, + 0.0, + 0.0, + 0.20494106589604053 + ] + } + ], + "keyboard": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.042954017928194865, + 0.364387464181041, + 0.7793985725095364 + ], + "default_ori": [ + 0.9995065280482078, + -0.010548914373136535, + 0.0014900409884869336, + 0.029549967384381225 + ] + } + ], + "garage": [ + { + "category_idx": 6, + "physics": { + "mass": 0.45, + "friction": 0.32, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.42102105332418316, + 0.2530121781478407, + 0.8499 + ], + "default_ori": [ + 0.9993394869769715, + 0.0, + 0.0, + 0.036339919766057244 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 9, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.32668586847677517, + 0.1120133479157618, + 0.8049999992000001 + ], + "default_ori": [ + 0.9883013733962951, + -9.883470385124311e-05, + -1.522170537874012e-05, + 0.15251355789895496 + ] + } + ], + "ball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.11113929244896258, + 0.04143534348972464, + 0.7647818013684299 + ], + "default_ori": [ + 0.9830759001772678, + 0.0011275877760421023, + -0.00335087472684968, + 0.1831646108696408 + ] + } + ], + "calculator": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.45652781923098856, + -0.3667564633474094, + 0.7656013461123851 + ], + "default_ori": [ + 0.9723553839823237, + 0.0033061669404751775, + 0.0007931746763888109, + 0.23348114993438412 + ] + } + ], + "glasses": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.02 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3870282978670807, + 0.14855843720943296, + 0.7650409393916515 + ], + "default_ori": [ + 0.9998542885126719, + 0.001207903076410198, + -0.0004805891519888282, + 0.017020920863563993 + ] + } + ], + "pen": [ + { + "category_idx": 2, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.23223675161717425, + 0.23810890274167218, + 0.7715255368825626 + ], + "default_ori": [ + 0.6417800131736394, + 0.7650167665195432, + -0.005459681714925377, + -0.05327244607109478 + ] + } + ], + "hammer": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5598596892030522, + 0.18111026689666757, + 0.7645765963079757 + ], + "default_ori": [ + 0.9936828645839966, + 0.005234428877840694, + 0.0036440355919891095, + -0.11204323447254609 + ] + } + ], + "ice_cream": [ + { + "category_idx": 0, + "physics": { + "mass": 0.25, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.016097352394691622, + 0.19604223464120304, + 0.8352020174570048 + ], + "default_ori": [ + 0.9998999686081944, + -3.3018115171133665e-05, + -0.002299756720552779, + -0.013955744557788067 + ] + } + ], + "bottle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4767416787744002, + 0.10816069813575412, + 0.7654150963726012 + ], + "default_ori": [ + 0.9944979722981014, + -0.00395109448448679, + -0.0034464180461676376, + 0.10462453894756439 + ] + } + ], + "can": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.32 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4195410606827782, + -0.3692446496706538, + 0.7645000000999999 + ], + "default_ori": [ + 0.9956189290095566, + -0.00030796417969193823, + 7.181889742117017e-05, + 0.09350319886492477 + ] + } + ], + "calendar": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.43301610132591795, + 0.3808020615791567, + 0.765401379635816 + ], + "default_ori": [ + 0.9926605134660094, + -0.007038164135695084, + -0.0009388229116982501, + 0.12072567192829389 + ] + } + ], + "tape_measure": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5152117088142567, + -0.034434148878602695, + 0.7865834893656257 + ], + "default_ori": [ + 0.7277235777850148, + -0.20689592243113064, + -0.6438100259368161, + -0.11454746666943517 + ] + } + ], + "pokeball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5731028562881992, + -0.031769877451521204, + 0.8047553286929123 + ], + "default_ori": [ + 0.98806212881321, + -0.03016467718299396, + 0.01983803031492895, + 0.14976573175722613 + ] + } + ], + "wrench": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.18247313396156617, + -0.25068708522487987, + 0.7649099444727391 + ], + "default_ori": [ + 0.9948433623294728, + -0.0024280455872896234, + 0.015132626745032468, + 0.10025862871299819 + ] + } + ], + "eraser": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5824079895982868, + 0.37512303951009945, + 0.7722034910034408 + ], + "default_ori": [ + 0.7122350047794954, + -0.7017092353682313, + 0.013942463082614147, + -0.011447911987533392 + ] + } + ], + "clip": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.1139454206189466, + 0.20020422222461842, + 0.7712473108579913 + ], + "default_ori": [ + 0.9856674474057137, + 0.16406996175453192, + 0.006673079428174141, + 0.03868075471751587 + ] + } + ], + "toothpaste": [ + { + "category_idx": 1, + "physics": { + "mass": 0.05, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.1828401331652141, + -0.24283293394910327, + 0.7778054544084064 + ], + "default_ori": [ + -0.6696052824807398, + 0.7349535608181895, + -0.07996494266100003, + 0.07125754037135659 + ] + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.22308271797729565, + -0.029767277037737565, + 0.7652999844004095 + ], + "default_ori": [ + 0.999941153915388, + 0.0010503132446484582, + -0.004989605155323535, + 0.00957545763108167 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.1090022469068567, + 0.019372387517232022, + 0.9177 + ], + "default_ori": [ + 0.9948919727987089, + 0.0, + 0.0, + 0.1009453439277562 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_blue", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0216", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0242", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_24.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_24.json new file mode 100644 index 0000000000000000000000000000000000000000..b467c5607dfeb826bbefdb71a37c9e86ea437ba0 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_24.json @@ -0,0 +1,932 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.10868819636361801, + -0.07430076201508856, + 0.806 + ], + "default_ori": [ + 0.9652810265392052, + 0.0, + 0.0, + 0.2612135903880543 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.3114504163800419, + -0.06623426260902904, + 0.7996 + ], + "default_ori": [ + 0.761544492009466, + 0.0, + 0.0, + 0.6481126342620119 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.41298686713850347, + 0.000549856575160601, + 0.806 + ], + "default_ori": [ + 0.5433142698647263, + 0.0, + 0.0, + 0.8395293944593956 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "toy": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.43275444065827084, + 0.1480326853105993, + 0.8170615560928621 + ], + "default_ori": [ + 0.9962243026509998, + 0.021314949267222272, + 0.07795799701563437, + -0.031707450963065535 + ] + } + ], + "helmets": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.13651730921656935, + 0.2996136282358326, + 0.8036226725165769 + ], + "default_ori": [ + 0.9267035883000442, + -0.23126550395660006, + -0.07327108798901905, + 0.28699838636554664 + ] + } + ], + "racket": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.10292567832374666, + 0.3565346589251506, + 0.7640663126662783 + ], + "default_ori": [ + 0.9998164868964898, + 0.0036863293979163526, + 0.006465903384684906, + 0.017652070670360745 + ] + } + ], + "stapler": [ + { + "category_idx": 1, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.0883674454370815, + 0.17598882663896592, + 0.7967980902801215 + ], + "default_ori": [ + 0.9819797285417238, + 0.0006764632902792496, + 0.004045011064170664, + -0.18894177149595656 + ] + } + ], + "ice_cream": [ + { + "category_idx": 0, + "physics": { + "mass": 0.25, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5076935570438416, + 0.30919531973181175, + 0.8352020174570048 + ], + "default_ori": [ + 0.9997131529269403, + -5.575058361844526e-05, + -0.002299317951498515, + -0.023839502799063415 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5802759774074634, + 0.099472098266445, + 0.8335036579437697 + ], + "default_ori": [ + 0.9961231492258128, + 0.008866102341773827, + -0.0042769114516533445, + -0.08741722847442096 + ] + } + ], + "dice": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3094294101582229, + 0.1631650524392022, + 0.765 + ], + "default_ori": [ + 0.9901271389849868, + -0.000490735794178209, + -9.588538099682355e-05, + 0.14017131885581535 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 9, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.32769302783715665, + 0.33839233447951833, + 0.8049999992000001 + ], + "default_ori": [ + 0.9948690761477965, + -9.948386354011535e-05, + 1.0146915547683002e-05, + -0.10117070388620968 + ] + } + ], + "cake": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5085074837071636, + 0.16123024075591216, + 0.765 + ], + "default_ori": [ + 0.9868786949611885, + 0.0, + 0.0, + -0.16146343682611733 + ] + } + ], + "power_bank": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.22 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5426783894310357, + -0.19720000856917594, + 0.7739 + ], + "default_ori": [ + 0.9883303267293285, + 0.0, + 0.0, + -0.15232585226119333 + ] + } + ], + "garage": [ + { + "category_idx": 1, + "physics": { + "mass": 12.5, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3340993274024997, + 0.30857452109250894, + 0.8473 + ], + "default_ori": [ + 0.9913402143582524, + 0.0, + 0.0, + 0.1313186178579958 + ] + } + ], + "plant": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5074833056984134, + 0.29643338986523504, + 0.7655959982749213 + ], + "default_ori": [ + 0.9912770859122839, + -0.00079305322740561, + -0.00010519558594298041, + 0.13179187738900264 + ] + } + ], + "audio": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.13478078895299098, + 0.24177504888468299, + 0.7647990833806197 + ], + "default_ori": [ + 0.9944764355641724, + 9.190885550982118e-05, + -0.0010156512790841612, + -0.10495512904484498 + ] + } + ], + "plate": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4378189685149459, + -0.2478568810566269, + 0.7803002731258395 + ], + "default_ori": [ + 0.6967632421692853, + 0.6957865599810499, + 0.1231850146910893, + 0.12339975472843878 + ] + } + ], + "sound_card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.07627213516355194, + -0.3084917953829927, + 0.765101676207007 + ], + "default_ori": [ + 0.98118060869731, + -0.00429468394339343, + 7.3134753477616e-05, + 0.1930444597949147 + ] + } + ], + "toothpaste": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3954520703957348, + -0.3031293249728012, + 0.7786688472111792 + ], + "default_ori": [ + -0.6802523428830884, + 0.7233342990043969, + 0.07589432684185667, + -0.09101809182304431 + ] + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5911715989325701, + 0.01324992735292308, + 0.7652999844004095 + ], + "default_ori": [ + 0.9999719345943229, + 0.0009750286432799241, + -0.005004861303043159, + -0.005489144393184055 + ] + } + ], + "plane": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 75000.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5487472171202494, + -0.39441506293286493, + 0.7602640105182119 + ], + "default_ori": [ + 0.9646777247672763, + -0.06486381137871446, + -0.016388001067859877, + 0.25479601003990954 + ] + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.21837402477614695, + -0.28380223401770766, + 0.7781030694047488 + ], + "default_ori": [ + 0.9291744393666336, + -0.053845506759840386, + 0.3478609865913471, + 0.11281957559383372 + ] + } + ], + "coin": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5704925506707414, + -0.014301663140800568, + 0.766299999948 + ], + "default_ori": [ + 0.9717097698554229, + 0.00012076671191308784, + -7.358939525299479e-05, + 0.23617811746121428 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.1161825384981782, + 0.03400649217779526, + 0.9177 + ], + "default_ori": [ + 0.9994626165770392, + 0.0, + 0.0, + 0.03277923222069701 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_pink", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0220", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0134", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_25.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_25.json new file mode 100644 index 0000000000000000000000000000000000000000..94156973f6d426661a0b38c66922c5ecb901c047 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_25.json @@ -0,0 +1,896 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + -0.15500437237919734, + -0.11614535055924896, + 0.8031 + ], + "default_ori": [ + 0.8763505714167581, + 0.0, + 0.0, + 0.481673827374419 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.35307211271423977, + -0.016025547201407028, + 0.8051 + ], + "default_ori": [ + 0.3498750289261199, + 0.0, + 0.0, + 0.9367963834974743 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.045798235341163306, + -0.136750860575355, + 0.806 + ], + "default_ori": [ + 0.5942885697192115, + 0.0, + 0.0, + 0.804251885854857 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "bag": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.85 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4528765232054095, + 0.3136967160706282, + 0.765557977070564 + ], + "default_ori": [ + 0.9858558947749899, + 0.0008941834600206595, + -0.00106321074294314, + 0.16758945299827147 + ] + } + ], + "eraser": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2996601622819302, + -0.2951311702285568, + 0.7722034910034408 + ], + "default_ori": [ + 0.7076738789537594, + -0.6969541169460611, + 0.08273573683611064, + -0.08128614745860464 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 13, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4850987327835706, + 0.2690625880241656, + 0.805 + ], + "default_ori": [ + 0.9833832391977969, + 0.0, + 0.0, + -0.1815417441385 + ] + } + ], + "garage": [ + { + "category_idx": 17, + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5518780803549401, + 0.1267338650602028, + 0.8221863761395345 + ], + "default_ori": [ + 0.9816873246651159, + -0.0014333649858911505, + -0.0009977007145572732, + 0.19049132959257967 + ] + } + ], + "body_lotion": [ + { + "category_idx": 0, + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.17743444965008365, + 0.32265414430795225, + 0.7818118647148823 + ], + "default_ori": [ + -0.3495120981144483, + 0.4056395933049665, + 0.6298722255457307, + -0.5626355775287284 + ] + } + ], + "clip": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.056625332804872856, + 0.06268759466741225, + 0.7712473108579913 + ], + "default_ori": [ + 0.970134019621533, + 0.16153577734974214, + -0.0294902522064973, + -0.17853991607979083 + ] + } + ], + "money_stack": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3393267960549859, + 0.00827144421918701, + 0.7646982015706939 + ], + "default_ori": [ + 0.977096585766257, + 0.001337970782793316, + -0.0009054431910999283, + -0.21279015976011612 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.09385142219240843, + 0.22174307458564627, + 0.8335036579437697 + ], + "default_ori": [ + 0.9671200341111229, + 0.009789587652404166, + -0.0010313660339505064, + 0.25412976976064916 + ] + } + ], + "walkie_talkie": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.20087661181188954, + 0.03856426962033363, + 0.7880404744334204 + ], + "default_ori": [ + 0.7077156987186113, + -0.706315966692408, + 0.011305333362109335, + -0.011332891077249595 + ] + } + ], + "pokeball": [ + { + "category_idx": 7, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.29518645379011366, + 0.1673468159707061, + 0.8047343578181123 + ], + "default_ori": [ + 0.9986577505117812, + 0.02832099185113901, + 0.025408097090068013, + -0.03514324068122643 + ] + } + ], + "office_mail": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.07724354591360537, + -0.3094379466672006, + 0.7655999377952247 + ], + "default_ori": [ + 0.9869690511576918, + 0.001157393107779634, + 0.007106177168335381, + -0.1607490427471714 + ] + } + ], + "bowl": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.32 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2859877003321119, + 0.29454143836384206, + 0.7652057499033325 + ], + "default_ori": [ + 0.9995539868505903, + -0.004809277013587161, + -0.0002650866071079088, + -0.029472494885697795 + ] + } + ], + "keyboard": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.6137147426811376, + -0.2665246294142249, + 0.7793985725095364 + ], + "default_ori": [ + 0.9823881505329378, + -0.010651945467123222, + -0.00018940529182347177, + 0.1865476396952657 + ] + } + ], + "tissue": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5541459018097737, + 0.07260772753794015, + 0.765 + ], + "default_ori": [ + 0.9993227963063881, + 0.0, + 0.0, + -0.0367960430261357 + ] + } + ], + "monitor": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5139849769236536, + 0.03390714923912885, + 0.765 + ], + "default_ori": [ + 0.9996208872839635, + 0.0, + 0.0, + 0.027533283596798342 + ] + } + ], + "pen": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5922361306820143, + -0.3835315474688477, + 0.7650019781032761 + ], + "default_ori": [ + 0.9925026938638154, + -0.0019620937344503983, + 0.015274532699259899, + 0.12124867633119155 + ] + } + ], + "box": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.13128849388164018, + 0.3950443951905842, + 0.7649 + ], + "default_ori": [ + 0.9999678763160208, + 0.0, + 0.0, + -0.008015381215354814 + ] + } + ], + "sound_card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2963294154977004, + -0.2138509762769676, + 0.765101676207007 + ], + "default_ori": [ + 0.9970308582566307, + -0.004256609381435654, + 0.0005752698842122376, + 0.07688314526071838 + ] + } + ], + "ice_cream": [ + { + "category_idx": 0, + "physics": { + "mass": 0.25, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.021594954109526776, + 0.17959109214253707, + 0.8352020174570048 + ], + "default_ori": [ + 0.9895405617186886, + -0.0003326544240648198, + -0.002275810230183358, + -0.14423656520554196 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.14052004886266167, + 0.04845280370962746, + 0.9177 + ], + "default_ori": [ + 0.9990366614523322, + 0.0, + 0.0, + 0.04388335759918796 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_deep_blue", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0221", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0171", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_26.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_26.json new file mode 100644 index 0000000000000000000000000000000000000000..75a3867f953d3469478060897fa4025c502bbe54 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_26.json @@ -0,0 +1,895 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.445191678844241, + -0.14555996235258106, + 0.806 + ], + "default_ori": [ + 0.13782938400446204, + 0.0, + 0.0, + 0.99045598635424 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.027972962208446785, + -0.16269989730564952, + 0.8051 + ], + "default_ori": [ + 0.7947658029714173, + 0.0, + 0.0, + 0.6069162367470475 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.22717988857814247, + -0.22454179236819555, + 0.8031 + ], + "default_ori": [ + 0.9380203268861721, + 0.0, + 0.0, + 0.3465802451790336 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "sculpture": [ + { + "category_idx": 1, + "physics": { + "mass": 3.2, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.35972012139790754, + 0.20348446322875405, + 0.8335998185680182 + ], + "default_ori": [ + 0.9795529740118187, + 2.0148023175303494e-05, + 9.794925299422927e-05, + -0.20118638399405223 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 12, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4760535112719898, + 0.044968828498933154, + 0.8049999992000001 + ], + "default_ori": [ + 0.9998796152909624, + -9.998841800885245e-05, + -1.5215991873975916e-06, + 0.015515957128002477 + ] + } + ], + "game_machine": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.05 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2252140435445728, + 0.07993205279301331, + 0.7689166712439107 + ], + "default_ori": [ + 0.9821497053158501, + 0.0353519644746343, + 0.006815050724408766, + 0.18462326516286315 + ] + } + ], + "ball": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.037720088713671454, + 0.21022867309045873, + 0.7683537298662597 + ], + "default_ori": [ + 0.9607708121693048, + -0.08182409669204803, + 0.2017257720955992, + 0.17184579295548488 + ] + } + ], + "card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.19471765934694965, + -0.22501403647755144, + 0.7673 + ], + "default_ori": [ + 0.994296713766534, + 0.0, + 0.0, + 0.10664916780299506 + ] + } + ], + "sound_card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5491966553382753, + 0.1922947753898718, + 0.765101676207007 + ], + "default_ori": [ + 0.9929259103103298, + -0.004063218190409433, + 0.0013928089613918565, + -0.11865785677963757 + ] + } + ], + "box": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4989272356342648, + 0.3204613396892698, + 0.7649 + ], + "default_ori": [ + 0.9991046580275962, + 0.0, + 0.0, + -0.042307000692084505 + ] + } + ], + "house": [ + { + "category_idx": 1, + "physics": { + "mass": 1200.0, + "friction": 0.65, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.39054856438324764, + 0.2200292325833116, + 0.8221003566737254 + ], + "default_ori": [ + 0.9997466429733844, + -0.00031807672003066593, + -0.0007929859003002299, + -0.02249266244823822 + ] + } + ], + "darts_board": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.494704812145313, + -0.4360818934960399, + 0.770899999764 + ], + "default_ori": [ + 0.9816370244427669, + 7.905269262443017e-05, + -0.0001172632490971814, + -0.19075830845117372 + ] + } + ], + "nvlink": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5250656100049881, + 0.03527896862223712, + 0.779 + ], + "default_ori": [ + 0.9969692176609727, + 0.0, + 0.0, + -0.07779703745302977 + ] + } + ], + "garage": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.13965006977393962, + 0.389351870656072, + 0.8900960300131513 + ], + "default_ori": [ + 0.9997516635634485, + -0.00019994805433791338, + -4.556749552720579e-06, + 0.022283877627758106 + ] + } + ], + "plant": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.17501034617986094, + 0.3375238359967444, + 0.7655959982749213 + ], + "default_ori": [ + 0.9992046550433628, + -0.00079937322029045, + -3.1654185865647145e-05, + 0.03986749728966785 + ] + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3212970077256145, + -0.26334350429961867, + 0.7713263732154156 + ], + "default_ori": [ + -0.4149813959414931, + -0.4392966963685531, + 0.5484196859655377, + 0.5779660038683816 + ] + } + ], + "shampoo": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.46613858110720346, + -0.503379312913441, + 0.7896886376941357 + ], + "default_ori": [ + -0.7051998845731375, + 0.7089998835454143, + 0.002478645117921246, + -0.002478759569236607 + ] + } + ], + "phone_stand": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.47910549849191875, + 0.18451182881556483, + 0.7652017247465114 + ], + "default_ori": [ + 0.9898605814042726, + -0.0039715332689935845, + 0.004711208106963352, + -0.14190863547952903 + ] + } + ], + "chocolate": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.007581117411840643, + 0.04807683633546911, + 0.7647 + ], + "default_ori": [ + 0.9999693878007363, + 0.0, + 0.0, + -0.007824542249911937 + ] + } + ], + "monitor": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5608319355637065, + 0.37487906642201174, + 0.765 + ], + "default_ori": [ + 0.9991308788266863, + 0.0, + 0.0, + -0.04168317376368584 + ] + } + ], + "key": [ + { + "category_idx": 0, + "physics": { + "mass": 0.2, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3438116225491251, + -0.16623147175038497, + 0.7701040130940491 + ], + "default_ori": [ + 0.6092692259288545, + 0.6199739951333878, + 0.3463818942496683, + 0.35276456600743233 + ] + } + ], + "coin": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.07748776188622052, + -0.3101537178487932, + 0.766299999948 + ], + "default_ori": [ + 0.991560199975878, + 8.615767401564158e-05, + -0.00011214656931094544, + -0.12964702011152945 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.1801507578374667, + 0.024368398453896014, + 0.9177 + ], + "default_ori": [ + 0.992293503559563, + 0.0, + 0.0, + -0.12390965577180672 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_green", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0222", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0221", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_27.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_27.json new file mode 100644 index 0000000000000000000000000000000000000000..f0f4b8d40c0b674b6e29efe28a262b2f4d25ae56 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_27.json @@ -0,0 +1,896 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.36418618659272434, + -0.0693731734198276, + 0.806 + ], + "default_ori": [ + 0.9268102136864657, + 0.0, + 0.0, + 0.37553006245365755 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.3227064135594365, + -0.16395038481498525, + 0.806 + ], + "default_ori": [ + 0.19853573910031622, + 0.0, + 0.0, + 0.9800936487396963 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.0958369738157275, + -0.07487227044116346, + 0.806 + ], + "default_ori": [ + 0.6192921934323522, + 0.0, + 0.0, + 0.7851606072350715 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "garage": [ + { + "category_idx": 7, + "physics": { + "mass": 0.45, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.28553599992339335, + 0.25904829683366054, + 0.8502064955877018 + ], + "default_ori": [ + 0.9989290718005923, + 0.006105644741701527, + -0.002229185093914285, + 0.045808965800511234 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5325419346417959, + 0.08264314011119549, + 0.8049999792000057 + ], + "default_ori": [ + 0.9663873925805384, + -0.0004574621968157802, + 0.0002252293681660973, + -0.2570897653767237 + ] + } + ], + "money_stack": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2624136908345666, + 0.252307839969384, + 0.7646982015706939 + ], + "default_ori": [ + 0.995859531797687, + 0.0015483239275790317, + -0.0004611791443723601, + 0.09089104980416811 + ] + } + ], + "plate": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5073856593786623, + 0.08206240729579868, + 0.7803002731258395 + ], + "default_ori": [ + 0.7061098259389822, + 0.7051154472809732, + 0.045887807753913705, + 0.04599379107785418 + ] + } + ], + "sculpture": [ + { + "category_idx": 2, + "physics": { + "mass": 1.4, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5166769723115655, + 0.33460540420898105, + 0.8337125621683963 + ], + "default_ori": [ + 0.9965292667211413, + 0.0011967636744906526, + -0.00581948625739558, + 0.08303084911424083 + ] + } + ], + "earth_globe": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.019584901006977802, + 0.25338904134458984, + 0.765 + ], + "default_ori": [ + 0.9992088733300339, + 0.0, + 0.0, + 0.0397696801410886 + ] + } + ], + "microscope": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5700980478976425, + 0.2757084595840034, + 0.8565019559257262 + ], + "default_ori": [ + 0.9948910577422149, + 0.00016866022858654612, + -0.0003186749269916549, + -0.10095371823065909 + ] + } + ], + "stapler": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.19254640658366806, + 0.10816656474123397, + 0.7987996524041738 + ], + "default_ori": [ + 0.9810704519237938, + 0.0004891292604889601, + 0.00041322192770184115, + -0.19365009259550608 + ] + } + ], + "game_machine": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.05 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3222827040738364, + -0.3050786435992092, + 0.7689166712439107 + ], + "default_ori": [ + 0.9747230063590276, + 0.035151994055968284, + -0.007780978247061258, + -0.2204968357274706 + ] + } + ], + "racket": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5768407587307535, + -0.38335230158008077, + 0.7716579458632032 + ], + "default_ori": [ + -0.7055579115743865, + 0.7083616119324883, + -0.01428050969025186, + 0.01441968093211478 + ] + } + ], + "calculator": [ + { + "category_idx": 1, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5266167291705575, + -0.4144726017548295, + 0.7816947085391605 + ], + "default_ori": [ + 0.7019645256429017, + -0.7007035249667336, + 0.08926588981859647, + -0.09106028636581594 + ] + } + ], + "bottle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.45304135954179203, + 0.36695291927167684, + 0.7654150963726012 + ], + "default_ori": [ + 0.9772370595509416, + -0.0035531401559389334, + -0.0038554040004318796, + 0.2120854556428968 + ] + } + ], + "tape_measure": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5188787484086137, + -0.09390434656494706, + 0.7865834893656257 + ], + "default_ori": [ + 0.7298514035486355, + -0.012519873323790842, + -0.6761216791283566, + 0.10009823436352125 + ] + } + ], + "house": [ + { + "category_idx": 2, + "physics": { + "mass": 0.08, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.32748540188491243, + 0.3623974476238658, + 0.8109343641348757 + ], + "default_ori": [ + 0.981279839979361, + -0.0047099582171077755, + 0.0009250739657842247, + -0.19252749461266735 + ] + } + ], + "toothpaste": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.21647467379869656, + 0.06718928104375774, + 0.7786688472111792 + ], + "default_ori": [ + -0.6663413608484964, + 0.7108111452433411, + 0.15401289803393342, + -0.16436767887760992 + ] + } + ], + "sound_card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.07205619553277218, + -0.22612033628970232, + 0.765101676207007 + ], + "default_ori": [ + 0.995056007963754, + -0.0040896724225732576, + 0.0013131025633404863, + -0.09922243373537931 + ] + } + ], + "ice_cream": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5729853498417078, + -0.27009775503606115, + 0.7760330782519896 + ], + "default_ori": [ + -0.7025532024715719, + 0.703250484091629, + -0.07618033425530299, + 0.07780945311835924 + ] + } + ], + "power_bank": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.22 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4378220004277456, + -0.3963931090189225, + 0.7739 + ], + "default_ori": [ + 0.9753851171573851, + 0.0, + 0.0, + -0.22050821578316346 + ] + } + ], + "card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.14254604145708474, + -0.3311566702877933, + 0.7673 + ], + "default_ori": [ + 0.9979761079083905, + 0.0, + 0.0, + -0.06358999955983996 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.1015874745889187, + 0.01035307206320766, + 0.9177 + ], + "default_ori": [ + 0.9817533111007457, + 0.0, + 0.0, + -0.19015897597200757 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_lime", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0223", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0258", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_28.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_28.json new file mode 100644 index 0000000000000000000000000000000000000000..66439db7d00e23bee442cf7ea291abc31c0e3900 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_28.json @@ -0,0 +1,936 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + -0.34063581094866, + -0.13709747743320266, + 0.7996 + ], + "default_ori": [ + 0.971408217443407, + 0.0, + 0.0, + 0.23741540616274814 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.07313559419973567, + -0.030840570321418903, + 0.806 + ], + "default_ori": [ + 0.5865592650646106, + 0.0, + 0.0, + 0.8099063085115857 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.4298938662040062, + -0.09517687574318404, + 0.8031 + ], + "default_ori": [ + 0.9857249826383945, + 0.0, + 0.0, + 0.16836347169899085 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "power_bank": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.22 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.09354745893298082, + 0.2638165118320446, + 0.7739 + ], + "default_ori": [ + 0.9979885050034003, + 0.0, + 0.0, + 0.06339514083175617 + ] + } + ], + "garage": [ + { + "category_idx": 15, + "physics": { + "mass": 0.04, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5730564489858029, + 0.04369051335067058, + 0.8500001175998966 + ], + "default_ori": [ + 0.969871627415321, + 0.00043546262303473964, + -0.0007282662084294874, + -0.2436150782184685 + ] + } + ], + "trophy": [ + { + "category_idx": 0, + "physics": { + "mass": 0.35, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.319511913114565, + 0.3613423828264362, + 0.8902000134735264 + ], + "default_ori": [ + 0.9992673287881974, + 0.00010614083665755035, + -9.345276784742545e-05, + 0.03827251777978243 + ] + } + ], + "bottle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5324267429192254, + 0.24243932180964312, + 0.7654150963726012 + ], + "default_ori": [ + 0.999681508734223, + -0.004363094027327039, + -0.0029072934979109035, + -0.024685869437661604 + ] + } + ], + "toothpaste": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4437947335905911, + 0.23793228331003322, + 0.7786688472111792 + ], + "default_ori": [ + -0.6760104694052991, + 0.7196693111216571, + 0.1051120335291849, + -0.11847948468602641 + ] + } + ], + "earth_globe": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.28530058771639016, + 0.0955991178828478, + 0.765 + ], + "default_ori": [ + 0.975475676140581, + 0.0, + 0.0, + -0.22010725853110027 + ] + } + ], + "piano": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.1757602565380218, + -0.2560307649804731, + 0.7849067766106135 + ], + "default_ori": [ + 0.9806930300417931, + -0.0010393582512088285, + 9.865717178908776e-05, + 0.19555073722345018 + ] + } + ], + "darts_board": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5131631393929286, + 0.12490871329103441, + 0.770899999764 + ], + "default_ori": [ + 0.9998448187472924, + 9.81923634991103e-05, + -0.00010177552530180736, + -0.017615857180283915 + ] + } + ], + "money_stack": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.11942142019858772, + 0.2895937052991703, + 0.7646982015706939 + ], + "default_ori": [ + 0.9794400165062787, + 0.0013481225435138247, + -0.000890257713017751, + -0.20172913540932266 + ] + } + ], + "tissue": [ + { + "category_idx": 2, + "physics": { + "mass": 0.15, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.45267865526755313, + -0.4558402504381796, + 0.7829072436546988 + ], + "default_ori": [ + 0.9839276582241613, + -0.0038128590322296044, + -0.005874495741410393, + 0.17843014259732717 + ] + } + ], + "pencil_case": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5020961421049298, + -0.4627527722238573, + 0.7815 + ], + "default_ori": [ + 0.9952930128676255, + 0.0, + 0.0, + -0.09691139528912322 + ] + } + ], + "pokeball": [ + { + "category_idx": 7, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.24747933847361228, + 0.2941298850524944, + 0.8047343578181123 + ], + "default_ori": [ + 0.9908974040906349, + 0.023770066528112033, + 0.029709155397280022, + 0.12913049442045288 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 6, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.013994757102351985, + 0.14155427289690947, + 0.805 + ], + "default_ori": [ + 0.9981416910164479, + 0.0, + 0.0, + -0.06093574201424001 + ] + } + ], + "ice_cream": [ + { + "category_idx": 0, + "physics": { + "mass": 0.25, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.28635471962193093, + 0.1879842004967048, + 0.8352020174570048 + ], + "default_ori": [ + 0.9801406030544724, + -0.0004569697243647459, + -0.0022541405991355406, + -0.19829046440221382 + ] + } + ], + "stapler": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5500311839630994, + 0.3193026489106193, + 0.7987996524041738 + ], + "default_ori": [ + 0.9830500252507373, + 0.00030138232198098777, + 0.0005649499898198519, + 0.1833364062447224 + ] + } + ], + "chocolate": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5646858926637225, + -0.2760082263230028, + 0.7647 + ], + "default_ori": [ + 0.9997741430420638, + 0.0, + 0.0, + 0.0212523623276804 + ] + } + ], + "book": [ + { + "category_idx": 4, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5202146136439619, + -0.2821412119511499, + 0.7719 + ], + "default_ori": [ + -0.6950282555135786, + 0.6950282555135786, + 0.13013732761107338, + -0.13013732761107338 + ] + } + ], + "cake": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.045526893066858004, + 0.3772928851458481, + 0.7649278750461119 + ], + "default_ori": [ + 0.98041756716874, + 0.002708888448657738, + 0.0007757671017895188, + -0.19690976130122584 + ] + } + ], + "calculator": [ + { + "category_idx": 1, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.12136505601177602, + -0.2836443369531309, + 0.7816947085391605 + ], + "default_ori": [ + 0.7058092382596087, + -0.7042095367799468, + -0.05516119373331743, + 0.05366088148250527 + ] + } + ], + "tape_measure": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3975946259176238, + -0.3391890869347722, + 0.7865834893656257 + ], + "default_ori": [ + 0.7343277048543572, + -0.15733191921351622, + -0.6576807275661831, + -0.05886891937125943 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.17038292600033966, + 0.0277381164108792, + 0.9177 + ], + "default_ori": [ + 0.9995806434459847, + 0.0, + 0.0, + -0.02895750762947527 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_magenta", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0224", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0295", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_29.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_29.json new file mode 100644 index 0000000000000000000000000000000000000000..9a2766db4fd9eefbc9a6c2044a560bfad46b7dd6 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_29.json @@ -0,0 +1,932 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.30402695862024337, + -0.06347911784849877, + 0.806 + ], + "default_ori": [ + 0.9900360812437209, + 0.0, + 0.0, + 0.14081391208107458 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.10098780033270213, + -0.19886595379069044, + 0.806 + ], + "default_ori": [ + 0.30281482855767594, + 0.0, + 0.0, + 0.953049410894097 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.3767279314679965, + -0.03371089070657656, + 0.7996 + ], + "default_ori": [ + 0.7975849306612312, + 0.0, + 0.0, + 0.6032066630783509 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "garage": [ + { + "category_idx": 9, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.40504139600123196, + 0.15530756339116203, + 0.8222942937847153 + ], + "default_ori": [ + 0.9673882588514857, + 0.0033785764536435406, + -0.003268742292430601, + -0.25325453042594 + ] + } + ], + "notes_holder": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5857372419573287, + 0.20678019936574907, + 0.7735 + ], + "default_ori": [ + 0.9984794550055237, + 0.0, + 0.0, + -0.05512511162684778 + ] + } + ], + "plate": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.08658979454898899, + 0.2823021259251873, + 0.7803002731258395 + ], + "default_ori": [ + 0.7025669157090207, + 0.7015699672884685, + -0.08422034132894592, + -0.08429854124720494 + ] + } + ], + "calculator": [ + { + "category_idx": 1, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4351503352751947, + -0.3276372706366528, + 0.7816947085391605 + ], + "default_ori": [ + 0.7043269744415391, + -0.7026919106486861, + -0.07195767988763, + 0.07049598632628722 + ] + } + ], + "house": [ + { + "category_idx": 2, + "physics": { + "mass": 0.08, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.11813306816345101, + 0.2892726303479623, + 0.8109343641348757 + ], + "default_ori": [ + 0.9786557748399694, + -0.0046973502990285, + 0.000987101016760528, + -0.20545032222931722 + ] + } + ], + "tissue": [ + { + "category_idx": 1, + "physics": { + "mass": 0.45, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.45050107898210473, + 0.29032470237618313, + 0.8060060361661949 + ], + "default_ori": [ + 0.9688670759458409, + -0.058018486797226924, + 0.013662425426495067, + -0.24029936011022124 + ] + } + ], + "pen": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.008 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.09102265929341885, + -0.26303136010064493, + 0.7776985904885821 + ], + "default_ori": [ + 0.6233739041699794, + -0.620360170336519, + -0.33856704529931203, + -0.33456029426280715 + ] + } + ], + "toy_car": [ + { + "category_idx": 1, + "physics": { + "mass": 0.045, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2992759186221614, + 0.16124905151877855, + 0.7948002807175407 + ], + "default_ori": [ + 0.9694063847450707, + 0.0018897274066724118, + -0.0002807959114795771, + -0.24545388833643825 + ] + } + ], + "glasses": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.02 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5426812961043458, + -0.28245938275477817, + 0.7650409393916515 + ], + "default_ori": [ + 0.9983789266234299, + 0.001169092078725149, + -0.0005685239541766652, + -0.05690192332841484 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 4, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.058203083621540364, + 0.09730755680955239, + 0.805 + ], + "default_ori": [ + 0.9964122148150687, + 0.0, + 0.0, + 0.08463272515599067 + ] + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.16101440124178115, + -0.23665095025550173, + 0.7759905181449079 + ], + "default_ori": [ + 0.7815350802165059, + -0.5673818884720948, + -0.15185246240238676, + 0.21028918347635278 + ] + } + ], + "bowl": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5316621597226817, + 0.001172494067967822, + 0.7648 + ], + "default_ori": [ + 0.9730413739286232, + 0.0, + 0.0, + 0.23063062377554558 + ] + } + ], + "book_shelf": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2551174929554634, + 0.23746379585177255, + 0.7646996401480936 + ], + "default_ori": [ + 0.982851881637063, + -0.00033785877492841144, + -0.0003685802262790149, + 0.1843961191634724 + ] + } + ], + "walkie_talkie": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.48231588527030145, + -0.5076289548177221, + 0.7880404744334204 + ], + "default_ori": [ + 0.7059040568021515, + -0.7045074489489268, + -0.05176204924975916, + 0.05185949501495066 + ] + } + ], + "stapler": [ + { + "category_idx": 3, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.039910113248867, + -0.05742593153087905, + 0.799692594638761 + ], + "default_ori": [ + 0.9983319831221718, + -0.017421493220402536, + -0.003757353466640347, + 0.054914709725628355 + ] + } + ], + "box": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2787481460526659, + 0.27827280824289974, + 0.7649000404759948 + ], + "default_ori": [ + 0.9789159640463335, + 4.091139108408108e-05, + 0.0001957709193919415, + -0.2042632990413175 + ] + } + ], + "audio": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5593327720751857, + 0.36160099881110247, + 0.7647990833806197 + ], + "default_ori": [ + 0.968697632448207, + -5.6538468584034306e-05, + -0.0010182328613812216, + -0.24824152935091323 + ] + } + ], + "key": [ + { + "category_idx": 0, + "physics": { + "mass": 0.2, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5803007195980283, + -0.3800987848674814, + 0.7701040130940491 + ], + "default_ori": [ + 0.6902422701044199, + 0.6983331582152074, + 0.1291470922739518, + 0.138626971601686 + ] + } + ], + "comb": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5781379273909938, + -0.1924456376644103, + 0.765007233038835 + ], + "default_ori": [ + 0.9999879796532016, + 9.913552421433517e-05, + -0.00010085570703985075, + -0.0049010763493754494 + ] + } + ], + "chocolate": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3295683127182085, + -0.2549874981441767, + 0.7647 + ], + "default_ori": [ + 0.9959155718432545, + 0.0, + 0.0, + 0.09028938896749417 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.15255924352277367, + 0.03164793601814321, + 0.9177 + ], + "default_ori": [ + 0.9957450912761872, + 0.0, + 0.0, + 0.09215049212770204 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_orange", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0225", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0357", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_3.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_3.json new file mode 100644 index 0000000000000000000000000000000000000000..5d8a3cf723c291824ba95c7545ec6504b557bb7a --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_3.json @@ -0,0 +1,929 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + -0.21327350720520036, + -0.19181904972607206, + 0.806 + ], + "default_ori": [ + 0.3978130483024782, + 0.0, + 0.0, + 0.9174664999880323 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.4138277562154182, + -0.09872755215426088, + 0.7996 + ], + "default_ori": [ + 0.4778072786174109, + 0.0, + 0.0, + 0.8784646859721932 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.02930761925326385, + -0.006942200129681241, + 0.7996 + ], + "default_ori": [ + 0.9881373680386435, + 0.0, + 0.0, + 0.1535725948392569 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "toy_plane": [ + { + "category_idx": 1, + "physics": { + "mass": 0.45, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5511986336024013, + 0.037962927050347976, + 0.8105987658350451 + ], + "default_ori": [ + 0.9933173281004813, + -0.002300195045450768, + 0.005975567509702948, + 0.11523752596706759 + ] + } + ], + "key": [ + { + "category_idx": 0, + "physics": { + "mass": 0.2, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.03923256996639298, + 0.3578626695383099, + 0.7701040130940491 + ], + "default_ori": [ + 0.6967355527637799, + 0.7043012985580135, + 0.09114741990390267, + 0.10105146317252368 + ] + } + ], + "pokeball": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.48142486566738185, + 0.1874845338169231, + 0.803999959440041 + ], + "default_ori": [ + 0.9999932487851834, + -0.0003974142341696038, + 0.0006017153822862747, + -0.0036031076281152975 + ] + } + ], + "oscilloscope": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.46350752779522136, + 0.19683849317241164, + 0.765 + ], + "default_ori": [ + 0.9853898797043723, + 0.0, + 0.0, + -0.1703137838702516 + ] + } + ], + "book": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5007048926166546, + -0.37328299622417055, + 0.7653 + ], + "default_ori": [ + 0.9999951166282951, + 0.0, + 0.0, + -0.003125175125126873 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.12185557624482905, + 0.19095706185128905, + 0.8335036579437697 + ], + "default_ori": [ + 0.9698087012717536, + 0.00977787576190547, + -0.0011370522788475414, + 0.24366818256656864 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 11, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.28910388429725914, + -0.023792296105195215, + 0.8049999992000001 + ], + "default_ori": [ + 0.9964177041937043, + -9.963922441145971e-05, + 8.486693035739748e-06, + -0.0845680126841631 + ] + } + ], + "calculator": [ + { + "category_idx": 1, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.14613043977644183, + -0.18850752248018285, + 0.7816947085391605 + ], + "default_ori": [ + 0.7018447261039167, + -0.700165773146057, + -0.09339014455870555, + 0.09197908161210684 + ] + } + ], + "garage": [ + { + "category_idx": 14, + "physics": { + "mass": 0.25, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.15739516043825777, + 0.2945873620572841, + 0.844135237527957 + ], + "default_ori": [ + 0.9879495466327198, + 0.004100619217915973, + -0.006199329854602173, + -0.15459769254289268 + ] + } + ], + "tissue": [ + { + "category_idx": 2, + "physics": { + "mass": 0.15, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5073071690427816, + -0.31396799718055607, + 0.7829072436546988 + ], + "default_ori": [ + 0.9991628552014705, + -0.005001540252318154, + -0.004902263693432351, + -0.040305597519822746 + ] + } + ], + "card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.16874028356316031, + 0.360223459866998, + 0.7673 + ], + "default_ori": [ + 0.9968514578871659, + 0.0, + 0.0, + -0.07929168246564113 + ] + } + ], + "box": [ + { + "category_idx": 4, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4342117210553341, + 0.37173139976238445, + 0.7649 + ], + "default_ori": [ + 0.9829547895160279, + 0.0, + 0.0, + -0.1838474415582154 + ] + } + ], + "audio": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.05491118198825669, + -0.32234878901538183, + 0.7720399740406522 + ], + "default_ori": [ + 0.9985083933931914, + 0.0009438229658398017, + -0.00105318288495467, + -0.054580109264894386 + ] + } + ], + "ball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.24858034970830298, + 0.11320355537045765, + 0.7647818013684299 + ], + "default_ori": [ + 0.982006793860703, + -0.00017513707475519012, + -0.0035311673187156806, + -0.18881249163070513 + ] + } + ], + "game_machine": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.05 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4950225657512084, + -0.13072851901119426, + 0.7689166712439107 + ], + "default_ori": [ + 0.985462957349904, + 0.035474428599657076, + 0.006145829815403471, + 0.166031784254068 + ] + } + ], + "pen": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.008 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3373814899269804, + 0.15518183015481984, + 0.7776985904885821 + ], + "default_ori": [ + 0.5608615918674233, + -0.6670564662465794, + -0.23347388706510058, + -0.4312306687438623 + ] + } + ], + "cake": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.34581719137185385, + 0.2820064944854089, + 0.7649278750461119 + ], + "default_ori": [ + 0.9845483584807168, + 0.0026909939493059303, + 0.0008357288964066684, + -0.1750902336559716 + ] + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2785255548818706, + -0.34903179860080646, + 0.7713263732154156 + ], + "default_ori": [ + -0.5289989531620083, + -0.5464318801574237, + 0.4417668386632101, + 0.475830188364122 + ] + } + ], + "book_shelf": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3991580018703096, + 0.08154604090956405, + 0.7646996401480936 + ], + "default_ori": [ + 0.9999965351708268, + -0.000399253362994572, + -0.0003009928356913857, + 0.0025845011910929265 + ] + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5159313644559607, + -0.46245127125989366, + 0.7781030694047488 + ], + "default_ori": [ + 0.9114870392577487, + 0.06876413527701428, + 0.3452218102758485, + -0.21280219142342943 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.19759748235478697, + 0.04367885220048217, + 0.9177 + ], + "default_ori": [ + 0.9849874437157191, + 0.0, + 0.0, + -0.17262599955502983 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_lime", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0199", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0399", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_4.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_4.json new file mode 100644 index 0000000000000000000000000000000000000000..7d58de3e5a4c304f9cbf8626c77b534cf0a1b391 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_4.json @@ -0,0 +1,873 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.024329564056751473, + -0.16611743425702055, + 0.7996 + ], + "default_ori": [ + 0.4538417019615488, + 0.0, + 0.0, + 0.8910823247942049 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.19361384300566564, + -0.080446666252181, + 0.7996 + ], + "default_ori": [ + 0.7992174180234024, + 0.0, + 0.0, + 0.6010420274223809 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.3018709809992834, + -0.008432038219728787, + 0.7996 + ], + "default_ori": [ + 0.8410191192150044, + 0.0, + 0.0, + 0.5410053984155967 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "pen": [ + { + "category_idx": 2, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.10151050096245993, + 0.3931886322318727, + 0.7715255368825626 + ], + "default_ori": [ + 0.6369737816227342, + 0.746024958031134, + 0.16949107107777173, + 0.09478365019763578 + ] + } + ], + "plant": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.40435980735214005, + 0.35492646631604663, + 0.7655959982749213 + ], + "default_ori": [ + 0.9963718094977647, + -0.0007970769510614354, + 6.832178925457996e-05, + -0.08510333271157691 + ] + } + ], + "walkie_talkie": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.16318720176540769, + 0.11411843318195344, + 0.7880404744334204 + ], + "default_ori": [ + 0.7038188294383009, + -0.7024272679357437, + 0.0748731502435032, + -0.07502666166797595 + ] + } + ], + "toothpaste": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4333726383709172, + -0.4731784397465434, + 0.7786688472111792 + ], + "default_ori": [ + -0.6856178392999294, + 0.7253396710874196, + -0.05343050167979857, + 0.030914745199260543 + ] + } + ], + "garage": [ + { + "category_idx": 12, + "physics": { + "mass": 0.015, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4921642314226332, + 0.09062537835621096, + 0.8503591379392014 + ], + "default_ori": [ + 0.994503262203968, + 0.00021072185302404932, + -0.006657597111334032, + -0.10449350918918014 + ] + } + ], + "phone_stand": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.362793318077458, + 0.19190641516925824, + 0.8412968630517244 + ], + "default_ori": [ + 0.7018786901520813, + 0.7035242305613623, + -0.07950245258142466, + -0.07809815207148234 + ] + } + ], + "pokeball": [ + { + "category_idx": 8, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.12235123779820331, + 0.1247467646763898, + 0.8048623554934082 + ], + "default_ori": [ + 0.9726783753591101, + -0.06897187157309201, + 0.005049393978766149, + -0.22161715335441518 + ] + } + ], + "jeans": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.43354622780730784, + -0.2276586564375875, + 0.7651007199819352 + ], + "default_ori": [ + 0.9999995364329075, + 0.00029999986092987227, + 2.7448507796997274e-07, + 0.0009149502598999091 + ] + } + ], + "toy_car": [ + { + "category_idx": 1, + "physics": { + "mass": 0.045, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.446140358262477, + 0.3668996736989215, + 0.7948002807175407 + ], + "default_ori": [ + 0.9677035918090932, + 0.0017911444384454017, + 0.0006646183988264182, + 0.25208353473355755 + ] + } + ], + "coin": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.005 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.20997798108671029, + -0.3205951684398581, + 0.7695999984360117 + ], + "default_ori": [ + -0.706835795885489, + 0.7071401626182593, + -0.013206769433684273, + 0.012709418093481317 + ] + } + ], + "calculator": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5046651757601831, + -0.00933787804843046, + 0.7656013461123851 + ], + "default_ori": [ + 0.990312270361451, + 0.003367155979827926, + 0.0004713029949666478, + 0.13881659593018045 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 8, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2873625152499835, + 0.19817619915782325, + 0.805 + ], + "default_ori": [ + 0.9757215360141804, + 0.0, + 0.0, + 0.21901480351366276 + ] + } + ], + "glasses": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.02 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5145394696228348, + -0.3099509437804186, + 0.7650409393916515 + ], + "default_ori": [ + 0.9993079183760941, + 0.0012173465684313573, + -0.00045613935078982177, + 0.03717518359151117 + ] + } + ], + "toy_plane": [ + { + "category_idx": 1, + "physics": { + "mass": 0.45, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.09615963629385345, + 0.3538757160278726, + 0.8105987658350451 + ], + "default_ori": [ + 0.9877702875125284, + -0.0006107432792234695, + 0.006373797687173409, + -0.15578466164262453 + ] + } + ], + "cake": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5640807477514614, + 0.20501445380614697, + 0.7649278750461119 + ], + "default_ori": [ + 0.9999693234937308, + 0.002493571827395955, + 0.0013122464574566136, + 0.007308363720205636 + ] + } + ], + "stapler": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.49916087821222854, + -0.06172362505607311, + 0.7987996524041738 + ], + "default_ori": [ + 0.9972364935101673, + 0.0004358987592939568, + 0.00046903311892241867, + -0.07428974365113311 + ] + } + ], + "ball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5601859921074936, + 0.3675597191723561, + 0.7647818013684299 + ], + "default_ori": [ + 0.9910413166076784, + 0.0009576965898855484, + -0.0034033267356281096, + 0.13350883476718609 + ] + } + ], + "card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.23077976657462876, + -0.293546304725696, + 0.7673 + ], + "default_ori": [ + 0.9689932769005091, + 0.0, + 0.0, + 0.2470870885368424 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.04012553112736145, + 0.037946968751867344, + 0.9177 + ], + "default_ori": [ + 0.9871198641860937, + 0.0, + 0.0, + 0.15998241693770007 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_magenta", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0200", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0436", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_5.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_5.json new file mode 100644 index 0000000000000000000000000000000000000000..a3f22f3b4d0ffa1a666e9841a5c58ee7ab9315e9 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_5.json @@ -0,0 +1,930 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + -0.28117049770602187, + -0.06784680663766282, + 0.8031 + ], + "default_ori": [ + 0.3699106047941734, + 0.0, + 0.0, + 0.9290673519507662 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.15134978506233301, + -0.1514206027399396, + 0.8051 + ], + "default_ori": [ + 0.9580992759320849, + 0.0, + 0.0, + 0.28643634102259913 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + 0.37738709912449403, + -0.05366927236707264, + 0.806 + ], + "default_ori": [ + 0.6579240360973041, + 0.0, + 0.0, + 0.7530842998797899 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "bowl": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.32 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3750291698444122, + 0.13925577867204586, + 0.7652057499033325 + ], + "default_ori": [ + 0.9870248807950796, + -0.004671880959596308, + -0.00117172718755148, + 0.16049512539375277 + ] + } + ], + "cereal": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5002914168507819, + 0.2274842534729504, + 0.7645000000000001 + ], + "default_ori": [ + 0.9891538616756301, + 0.0, + 0.0, + 0.14688307571734885 + ] + } + ], + "tissue": [ + { + "category_idx": 3, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5552459239660317, + 0.3589472164876604, + 0.8223004200986137 + ], + "default_ori": [ + 0.9733651860709907, + -0.0017693859629170949, + -9.624423237856604e-05, + -0.22925329780691914 + ] + } + ], + "nvlink": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5052161321659919, + 0.19079330093067026, + 0.779 + ], + "default_ori": [ + 0.9996372548990817, + 0.0, + 0.0, + 0.026932482578261908 + ] + } + ], + "cup": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.21 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2339980826843455, + 0.31490945115857183, + 0.7652364370958376 + ], + "default_ori": [ + 0.9758672849841425, + -0.010057763379023733, + 0.0017909116397294609, + 0.218125367917142 + ] + } + ], + "pencil_case": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.102060312972551, + -0.31774938166800615, + 0.7815 + ], + "default_ori": [ + 0.9999999710450945, + 0.0, + 0.0, + -0.0002406445722848583 + ] + } + ], + "cutter": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4079744718029735, + -0.3738071846024566, + 0.765 + ], + "default_ori": [ + 0.9862999730648321, + 0.0, + 0.0, + 0.16496170201689675 + ] + } + ], + "book": [ + { + "category_idx": 4, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4143007051994907, + 0.342110927556884, + 0.7719 + ], + "default_ori": [ + -0.7062371239351378, + 0.7062371239351378, + 0.03505887584941671, + -0.03505887584941671 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5718450460365214, + 0.10362282470877084, + 0.8335036579437697 + ], + "default_ori": [ + 0.9925546723840563, + 0.008714792997180401, + -0.004577349158234085, + -0.12140149334451672 + ] + } + ], + "pokeball": [ + { + "category_idx": 8, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.028348014933823353, + 0.26380094515137853, + 0.8048623554934082 + ], + "default_ori": [ + 0.9772309578455847, + -0.06488287271990312, + -0.023933831190612785, + 0.20059172360881042 + ] + } + ], + "trophy": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.23974482069657868, + 0.22090615412240355, + 0.7659777792544488 + ], + "default_ori": [ + 0.9903204117176385, + 0.008801936159101579, + 0.0066494683912557565, + -0.13836109505699876 + ] + } + ], + "plate": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4971810425824053, + -0.160593721241635, + 0.7803002731258395 + ], + "default_ori": [ + 0.6924405570628004, + 0.6914712755455015, + 0.14546807206457424, + 0.14571406946431642 + ] + } + ], + "bottle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.09041404277434084, + 0.18267570920767506, + 0.7654150963726012 + ], + "default_ori": [ + 0.9947402156534281, + -0.003959153146456135, + -0.0034371574501611615, + 0.10229572042269115 + ] + } + ], + "ball": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.22422996607733015, + 0.07013755902639, + 0.7683537298662597 + ], + "default_ori": [ + 0.9760134803814855, + -0.045690579729899025, + 0.21283994186003005, + 0.0030358172844192205 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 11, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.39083333325625474, + 0.37707328561343534, + 0.8049999992000001 + ], + "default_ori": [ + 0.966694935851339, + -9.667716282674565e-05, + -2.5564138705831798e-05, + 0.25593141854679824 + ] + } + ], + "scale": [ + { + "category_idx": 1, + "physics": { + "mass": 0.25, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5490441185564833, + -0.29615799843494883, + 0.7764003384861654 + ], + "default_ori": [ + 0.9894444177280418, + -0.002304660241525871, + 0.0001360598496489421, + -0.14489449353134462 + ] + } + ], + "cake": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.133626005157188, + 0.06907950485446541, + 0.7649278750461119 + ], + "default_ori": [ + 0.9970895299194593, + 0.0023972343596585957, + 0.0014809316825439584, + 0.07618746244473684 + ] + } + ], + "stapler": [ + { + "category_idx": 3, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.009898626007187213, + 0.3862325847732271, + 0.799692594638761 + ], + "default_ori": [ + 0.9873107437721333, + -0.016939886998133983, + -0.005537721516314896, + 0.1577969236107443 + ] + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5339000553250299, + -0.13777994172922428, + 0.7759905181449079 + ], + "default_ori": [ + 0.8087793313038636, + -0.5869203397608431, + 0.022492053682252006, + -0.029910124570893183 + ] + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.10084975455705322, + -0.15594891146554957, + 0.7652999844004095 + ], + "default_ori": [ + 0.9720451162130999, + 0.002148051200161696, + -0.004624412779953695, + 0.23473877551172379 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.029457752803224407, + 0.0008684994545673952, + 0.9177 + ], + "default_ori": [ + 0.9981459832455737, + 0.0, + 0.0, + -0.060865393539572946 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_orange", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0201", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0473", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_6.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_6.json new file mode 100644 index 0000000000000000000000000000000000000000..976faff753cb8f4b24f9270dd305d731f2573674 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_6.json @@ -0,0 +1,934 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.37813818973783325, + -0.021083250172482443, + 0.806 + ], + "default_ori": [ + 0.526701288739026, + 0.0, + 0.0, + 0.8500504411154959 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.3222596244750499, + -0.013208539475809822, + 0.8031 + ], + "default_ori": [ + 0.8663008741852497, + 0.0, + 0.0, + 0.4995225674440269 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.23935963587928036, + -0.24852247708747865, + 0.7996 + ], + "default_ori": [ + 0.23012683782900187, + 0.0, + 0.0, + 0.9731606437329987 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "glasses": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.02 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.14730365584680408, + 0.14995055346239783, + 0.7650409393916515 + ], + "default_ori": [ + 0.9897991387401762, + 0.0011159268205954247, + -0.0006668606346804023, + -0.14246394264314866 + ] + } + ], + "toy": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.25339950447525, + 0.1949313469719192, + 0.814710071916362 + ], + "default_ori": [ + 0.9996637383073275, + -0.009287003389032378, + -0.0006277361571426767, + 0.024202640946563023 + ] + } + ], + "calendar": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.036243763486271535, + 0.3436804863198572, + 0.765401379635816 + ], + "default_ori": [ + 0.9884955999561479, + -0.007030948505705434, + 0.0009914161440246162, + -0.1510828637684461 + ] + } + ], + "racket": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.492224304051867, + -0.3226576251855708, + 0.7640663126662783 + ], + "default_ori": [ + 0.9957549283835007, + 0.003196715354878327, + 0.0067214538568606715, + 0.09174271452796492 + ] + } + ], + "mini_fan": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4073476358367788, + 0.3727499030416979, + 0.8569091681740725 + ], + "default_ori": [ + 0.6918615162810033, + 0.6895567706310199, + -0.1430072240562275, + -0.15933623641219147 + ] + } + ], + "shampoo": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4889048251387713, + -0.46240766319927384, + 0.7896886376941357 + ], + "default_ori": [ + -0.7033561167688023, + 0.707147107940212, + 0.05128300187026666, + -0.051021509727560754 + ] + } + ], + "toothpaste": [ + { + "category_idx": 1, + "physics": { + "mass": 0.05, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5285102163803407, + 0.14547920596231884, + 0.7778054544084064 + ], + "default_ori": [ + -0.6545335204615832, + 0.7190008791706046, + 0.17201414001764748, + -0.15822370864713428 + ] + } + ], + "jeans": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.13966792108236534, + -0.1701434429559179, + 0.7651007199819352 + ], + "default_ori": [ + 0.9900779488545655, + 0.00029702338465636963, + 4.215567420021894e-05, + 0.14051891400072977 + ] + } + ], + "microscope": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4732331041314184, + 0.14694813154083913, + 0.8565019559257262 + ], + "default_ori": [ + 0.998676152465411, + 0.0002151375354060812, + -0.00028933686709335833, + 0.051437461999027656 + ] + } + ], + "plane": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 75000.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5218750651390804, + -0.14830958941805217, + 0.7602640105182119 + ], + "default_ori": [ + 0.9769280367485474, + -0.06564769307725984, + -0.012894223482145481, + 0.20281945273827934 + ] + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4598084526915947, + 0.26922817623801576, + 0.7781030694047488 + ], + "default_ori": [ + 0.9286658172341159, + 0.03251794401157089, + 0.3504984848865823, + -0.11693243908497865 + ] + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5686256766766447, + 0.2316862243311297, + 0.7759905181449079 + ], + "default_ori": [ + 0.7770662618710813, + -0.5641542644997246, + -0.16343605339888656, + 0.22624466172238272 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 4, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3062703349040176, + 0.1541649526239065, + 0.805 + ], + "default_ori": [ + 0.9993364136960259, + 0.0, + 0.0, + 0.03642433611152696 + ] + } + ], + "money_stack": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5325027232080581, + 0.3940502598896093, + 0.7646982015706939 + ], + "default_ori": [ + 0.9999897379098521, + 0.0014974451050539814, + -0.0006063425972729043, + -0.004232503017995314 + ] + } + ], + "garage": [ + { + "category_idx": 17, + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.11261181242336103, + 0.14852715864383526, + 0.8221863761395345 + ], + "default_ori": [ + 0.9733261090366182, + -0.0017166308200532048, + -0.00032112384877223504, + -0.22941934427100652 + ] + } + ], + "pen": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5942711420364966, + 0.0048327351530120756, + 0.7650019781032761 + ], + "default_ori": [ + 0.9868516030411071, + 0.0023838790813072853, + 0.015214410324729479, + -0.16089360588349652 + ] + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.29157699848639695, + -0.3631449276624209, + 0.7713263732154156 + ], + "default_ori": [ + -0.4314036462595491, + -0.45486065359541183, + 0.5355814832549932, + 0.5658137101547667 + ] + } + ], + "sculpture": [ + { + "category_idx": 1, + "physics": { + "mass": 3.2, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2518167745408647, + 0.3632311654818113, + 0.8335998185680182 + ], + "default_ori": [ + 0.9782868808612724, + 2.0754878995759122e-05, + 9.78224616224285e-05, + -0.20725532257272392 + ] + } + ], + "audio": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.1664179553168397, + 0.05677306216801743, + 0.7720399740406522 + ], + "default_ori": [ + 0.9768056889390987, + 0.0007625636189645853, + -0.00119100491478403, + -0.21412296948303494 + ] + } + ], + "cutter": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.08499788242181984, + -0.1597706442293817, + 0.765 + ], + "default_ori": [ + 0.9996782993611315, + 0.0, + 0.0, + 0.025363315761860766 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.022545455878090287, + 0.0435615176929609, + 0.9177 + ], + "default_ori": [ + 0.999887381461433, + 0.0, + 0.0, + 0.015007477942641862 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_purple", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0221", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0134", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_7.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_7.json new file mode 100644 index 0000000000000000000000000000000000000000..532e38f03f659894a132add7d16e34266e1cdf02 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_7.json @@ -0,0 +1,925 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 11, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.11452009976849965, + -0.13432350483083275, + 0.8051 + ], + "default_ori": [ + 0.9502555432601132, + 0.0, + 0.0, + 0.3114713510155105 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 10, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + 0.43067562037452783, + -0.06229544981373444, + 0.8031 + ], + "default_ori": [ + 0.9778559000353116, + 0.0, + 0.0, + 0.2092793319134278 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.15992469070270846, + -0.230595119555515, + 0.806 + ], + "default_ori": [ + 0.7704481119655067, + 0.0, + 0.0, + 0.6375027111854397 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "tape_measure": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5621546632945538, + 0.1409187828354322, + 0.7865834893656257 + ], + "default_ori": [ + 0.7294784202983914, + -0.19647260048756918, + -0.6470670672140906, + -0.10278113690542194 + ] + } + ], + "cereal": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.21368571439599646, + 0.2641995750172743, + 0.7645000000000001 + ], + "default_ori": [ + 0.970193416629889, + 0.0, + 0.0, + 0.24233186816434746 + ] + } + ], + "tissue": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.0010984817402227216, + 0.22014135537435492, + 0.765 + ], + "default_ori": [ + 0.9999998018460022, + 0.0, + 0.0, + -0.0006295299486211278 + ] + } + ], + "candle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4455709766133231, + 0.051725241564253954, + 0.765 + ], + "default_ori": [ + 0.99563360147071, + -2.8452037701852868e-05, + -0.00029864740238466023, + -0.0933468886609196 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5029404992564691, + 0.2865450205541675, + 0.8049999792000057 + ], + "default_ori": [ + 0.9875156562407151, + -0.00047798806637872266, + 0.000177559393442163, + -0.15752005802290725 + ] + } + ], + "pokeball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.33553203281924177, + 0.24092796263980032, + 0.8047553286929123 + ], + "default_ori": [ + 0.9946583619768997, + -0.029060403587575053, + 0.0214230749346944, + 0.09670205661256868 + ] + } + ], + "piano": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.23989006502141513, + 0.3449333776180225, + 0.7849067766106135 + ], + "default_ori": [ + 0.995239546516929, + -0.000966003542096063, + 0.00039602521202463254, + -0.09745334806955382 + ] + } + ], + "ball": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.39061424904026276, + 0.19347266963625293, + 0.7683537298662597 + ], + "default_ori": [ + 0.9612562353408008, + -0.007445233564401209, + 0.21756157386865618, + -0.16910937316244656 + ] + } + ], + "toy": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.09002843009719504, + 0.06080664483857376, + 0.8170615560928621 + ], + "default_ori": [ + 0.9916858754170371, + 0.026625190396529917, + 0.07630776891839029, + -0.10013664732449808 + ] + } + ], + "bottle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.47816372857280787, + 0.341346415472341, + 0.7654150963726012 + ], + "default_ori": [ + 0.9924942851706666, + -0.0046261188028488606, + -0.0024673811615192574, + -0.12217857814933572 + ] + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4262289445205738, + 0.09623640041571876, + 0.7759905181449079 + ], + "default_ori": [ + 0.8091211778471914, + -0.5871795272466831, + 0.014197904288685441, + -0.018480851044929796 + ] + } + ], + "cake": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2826473207976061, + 0.04357427796753361, + 0.7649278750461119 + ], + "default_ori": [ + 0.9996112084185972, + 0.002538027387755468, + 0.001224054003095204, + -0.02773972084734358 + ] + } + ], + "sculpture": [ + { + "category_idx": 2, + "physics": { + "mass": 1.4, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5515924908779276, + 0.17501535813575078, + 0.8337125621683963 + ], + "default_ori": [ + 0.9785431949976673, + -0.0005206913267562228, + -0.005918407229554015, + -0.20595610420709765 + ] + } + ], + "garage": [ + { + "category_idx": 13, + "physics": { + "type": "rigid", + "mass": 0.04 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.05159244077199401, + 0.35105276930222684, + 0.8482757591176587 + ], + "default_ori": [ + 0.9702251095805197, + -0.07894205138107654, + 0.010635275131120722, + -0.22873189586522807 + ] + } + ], + "can": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.32 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.434695413519988, + -0.4373133294174562, + 0.7645000000999999 + ], + "default_ori": [ + 0.9994874962326883, + -0.0002965353931044087, + 0.00010984830739039543, + -0.03201007458007402 + ] + } + ], + "plier": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5066048638083858, + -0.14502089989245281, + 0.7652063769359179 + ], + "default_ori": [ + 0.9760463910750883, + 0.0027440978426676796, + 9.934877299314023e-05, + 0.2175451735298831 + ] + } + ], + "pencil_case": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4836359896622734, + -0.3890907868759287, + 0.7815 + ], + "default_ori": [ + 0.9938066178464531, + 0.0, + 0.0, + 0.11112338333849471 + ] + } + ], + "dice": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.14180679148706976, + -0.08777108240226128, + 0.765 + ], + "default_ori": [ + 0.9981966011986557, + -0.0005000006559648618, + 3.869109888779253e-06, + -0.06002745488379446 + ] + } + ], + "stapler": [ + { + "category_idx": 2, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2202214697176726, + 0.23119179047964764, + 0.7977007182491022 + ], + "default_ori": [ + 0.9999733443007524, + -0.0010035809989936127, + 0.0004927713627646553, + 0.007215309385720856 + ] + } + ], + "coin": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.005 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3151582200028775, + -0.11420190175886287, + 0.7695999984360117 + ], + "default_ori": [ + -0.6909989291928934, + 0.6912012378868382, + -0.1498748714439991, + 0.14932799974426209 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.17242375795176867, + 0.04853883692478318, + 0.9177 + ], + "default_ori": [ + 0.9910644068488238, + 0.0, + 0.0, + -0.13338418750882347 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_red", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0203", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0005", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_8.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_8.json new file mode 100644 index 0000000000000000000000000000000000000000..d7a8e47e7eee17449b35e7ddd84da9e40436ec5b --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_8.json @@ -0,0 +1,932 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.213908582910667, + -0.045077205124767365, + 0.7996 + ], + "default_ori": [ + 0.8909260653945016, + 0.0, + 0.0, + 0.4541483744335902 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.230382927331387, + -0.04092078700700105, + 0.806 + ], + "default_ori": [ + 0.8501129686022135, + 0.0, + 0.0, + 0.5266003613883415 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.07143540657362793, + -0.2378139686442154, + 0.806 + ], + "default_ori": [ + 0.6773703609415189, + 0.0, + 0.0, + 0.7356421644508669 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "plane": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 75000.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.28506744301994713, + 0.2219415553790604, + 0.7602640105182119 + ], + "default_ori": [ + 0.9897497536281479, + -0.06627012273676706, + 0.009173409291394954, + -0.1261726776582285 + ] + } + ], + "garage": [ + { + "category_idx": 2, + "physics": { + "mass": 8.5, + "friction": 0.55, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.09693787861892167, + 0.2652274032250856, + 0.8901 + ], + "default_ori": [ + 0.9799507798356936, + 0.0, + 0.0, + -0.19923972771366671 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 12, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3074439055085157, + 0.23565708275234445, + 0.8049999992000001 + ], + "default_ori": [ + 0.9957690820860644, + -9.957414252194816e-05, + 9.218955527545018e-06, + -0.09189083284788434 + ] + } + ], + "house": [ + { + "category_idx": 2, + "physics": { + "mass": 0.08, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.40579703319972243, + 0.11089294284850373, + 0.8109343641348757 + ], + "default_ori": [ + 0.9951402763863451, + -0.0047765787192577455, + 0.00047303698355080425, + -0.09835034745978183 + ] + } + ], + "keyboard": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2569250763020253, + -0.29455653253853725, + 0.7793985725095364 + ], + "default_ori": [ + 0.9991546623558482, + -0.010563510435655217, + 0.0013827739782556788, + 0.039704670707260845 + ] + } + ], + "glasses": [ + { + "category_idx": 1, + "physics": { + "mass": 0.025, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3975299247973525, + -0.31122541459483655, + 0.7853284965438686 + ], + "default_ori": [ + 0.986588171113315, + -0.02064962271946689, + -0.002588572425823768, + 0.16189710619286693 + ] + } + ], + "book_shelf": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.07915451657197169, + 0.21499962033737138, + 0.7646996401480936 + ], + "default_ori": [ + 0.9928186716720176, + -0.0003612736638282059, + -0.0003456606353407362, + 0.11962790301378429 + ] + } + ], + "eraser": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2153841300737771, + 0.2940100894507434, + 0.7722034910034408 + ], + "default_ori": [ + 0.7048778963255948, + -0.69488738583823, + -0.09859900750407626, + 0.10274681500526607 + ] + } + ], + "helmets": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5308052219871655, + 0.25902381965454946, + 0.8036226725165769 + ], + "default_ori": [ + 0.944294929773407, + -0.23576928019294516, + -0.05714221007884865, + 0.22238412701638932 + ] + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5512604364707213, + -0.03649470619844406, + 0.7713263732154156 + ], + "default_ori": [ + -0.5528138825357685, + -0.5684685046357899, + 0.413024573883943, + 0.4479409245434781 + ] + } + ], + "pokeball": [ + { + "category_idx": 7, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.40748130383143466, + -0.058842339279216505, + 0.8047343578181123 + ], + "default_ori": [ + 0.9891033846676709, + 0.02337516636245208, + 0.03002085233130954, + 0.14222111116774053 + ] + } + ], + "cutter": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4921558245562362, + 0.2746335526098453, + 0.765 + ], + "default_ori": [ + 0.9870020485483307, + 0.0, + 0.0, + -0.16070767300100758 + ] + } + ], + "pen": [ + { + "category_idx": 2, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5172563708971782, + 0.08695759882749564, + 0.7715255368825626 + ], + "default_ori": [ + 0.6420284675180243, + 0.7650341649292834, + -0.0017854051079753755, + -0.05018949806495047 + ] + } + ], + "monitor": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4131943294595649, + 0.11198716491328065, + 0.765 + ], + "default_ori": [ + 0.9998152641594222, + 0.0, + 0.0, + 0.019220758409198558 + ] + } + ], + "bottle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5899128724877744, + 0.14011528023294872, + 0.7654150963726012 + ], + "default_ori": [ + 0.9677865661343317, + -0.004910571884858137, + -0.0018371795606125963, + -0.2517174476768443 + ] + } + ], + "card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4716851384213703, + -0.47345130425352155, + 0.7673 + ], + "default_ori": [ + 0.9969579489698286, + 0.0, + 0.0, + -0.07794131116341717 + ] + } + ], + "phone_stand": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.11418978136586994, + 0.35468773870320575, + 0.8412968630517244 + ], + "default_ori": [ + 0.6878468150848368, + 0.6893160173628022, + -0.16158716273424487, + -0.1599993000741821 + ] + } + ], + "stapler": [ + { + "category_idx": 4, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.35931408480476124, + 0.3922545378025219, + 0.7993 + ], + "default_ori": [ + 0.9999798720564129, + 0.0, + 0.0, + -0.006344720800818021 + ] + } + ], + "toothpaste": [ + { + "category_idx": 1, + "physics": { + "mass": 0.05, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5632566251380352, + -0.3442249403494353, + 0.7778054544084064 + ], + "default_ori": [ + -0.6574330310399082, + 0.7221517542983933, + 0.1582655122819436, + -0.14570751896716228 + ] + } + ], + "coin": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.005 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5454004885634711, + -0.1601510091440331, + 0.7695999984360117 + ], + "default_ori": [ + -0.7053863392311872, + 0.7057315975154016, + 0.04652462374927854, + -0.04699451116217693 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + -0.026751553526258298, + 0.03732866368890896, + 0.9177 + ], + "default_ori": [ + 0.9805441182360302, + 0.0, + 0.0, + -0.19629883390567113 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_teal", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0204", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0042", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_9.json b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_9.json new file mode 100644 index 0000000000000000000000000000000000000000..8791c3a928ce95978b2733fb182c387f383b4506 --- /dev/null +++ b/Layouts/RoboDojo/hang_mugs_random/hang_mugs_random_9.json @@ -0,0 +1,927 @@ +{ + "Rigid": { + "mug": [ + { + "category": "mug", + "category_idx": 13, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug0", + "default_pos": [ + 0.12218769720083009, + -0.15041437445162095, + 0.806 + ], + "default_ori": [ + 0.5521197686665815, + 0.0, + 0.0, + 0.8337648115911108 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 12, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug1", + "default_pos": [ + -0.36963529197282174, + -0.06234116912759283, + 0.806 + ], + "default_ori": [ + 0.14231891590469453, + 0.0, + 0.0, + 0.9898208555974726 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ], + "type": "rigid" + }, + "visual": {} + }, + { + "category": "mug", + "category_idx": 14, + "group": null, + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 15, + 165 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.05, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mug2", + "default_pos": [ + -0.12593963545306924, + -0.14194324950138668, + 0.7996 + ], + "default_ori": [ + 0.329403327296045, + 0.0, + 0.0, + 0.9441893072717434 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "minecraft_blocks": [ + { + "category_idx": 6, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5514729785080904, + 0.07376018877809509, + 0.805 + ], + "default_ori": [ + 0.9814897544091682, + 0.0, + 0.0, + 0.19151465215442595 + ] + } + ], + "garage": [ + { + "category_idx": 8, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4621520614321832, + 0.37550216173666656, + 0.8397108576761542 + ], + "default_ori": [ + 0.9899108148116694, + -0.0001554096787979809, + 0.0003253426034750324, + -0.14169138547886004 + ] + } + ], + "pokeball": [ + { + "category_idx": 5, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.06264899353207838, + 0.24679974637318333, + 0.8048566320568888 + ], + "default_ori": [ + 0.9718389622158027, + -0.13899067434601334, + -0.1481092494032294, + -0.11947499405885831 + ] + } + ], + "oscilloscope": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.42723116500209335, + 0.25310199134886646, + 0.765 + ], + "default_ori": [ + 0.990593549006386, + 0.0, + 0.0, + 0.13683720498071045 + ] + } + ], + "shampoo": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.21863176884381375, + 0.0778188714299819, + 0.7896886376941357 + ], + "default_ori": [ + -0.7005717115639143, + 0.704345182832011, + -0.08114703919658757, + 0.08069881292420779 + ] + } + ], + "box": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.05166215296176041, + 0.05100323718914127, + 0.7649015989707201 + ], + "default_ori": [ + 0.9998809897748553, + -0.0010116664406581595, + -0.001994007085349104, + -0.015264558742792932 + ] + } + ], + "toothpaste": [ + { + "category_idx": 1, + "physics": { + "mass": 0.05, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4436139547651924, + -0.051285050059741315, + 0.7778054544084064 + ], + "default_ori": [ + -0.6665404411815642, + 0.7320212105593275, + 0.10342183476118602, + -0.09577427449671745 + ] + } + ], + "keyboard": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3859910374189446, + -0.2706703730705601, + 0.765200479743693 + ], + "default_ori": [ + 0.9818127218905797, + -0.0007854501775124639, + 0.00015188024573953431, + -0.1898503071744179 + ] + } + ], + "tissue": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.491413722630429, + 0.16378107158809924, + 0.765 + ], + "default_ori": [ + 0.9671472736081066, + 0.0, + 0.0, + 0.25421674050385884 + ] + } + ], + "cake": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.22918404878862883, + 0.2616603840177945, + 0.765 + ], + "default_ori": [ + 0.9994492581631108, + 0.0, + 0.0, + 0.033184037686930436 + ] + } + ], + "ball": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2099652318516474, + 0.39517288288127933, + 0.7683537298662597 + ], + "default_ori": [ + 0.9451331157072248, + 0.009550810910282904, + 0.2174793138162599, + -0.24358760983785382 + ] + } + ], + "power_bank": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.22 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5325950688063302, + -0.09743702836203008, + 0.7739 + ], + "default_ori": [ + 0.9993581840100332, + 0.0, + 0.0, + 0.03582206097042187 + ] + } + ], + "pencil_case": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3509362201299189, + -0.3208456979152902, + 0.7815 + ], + "default_ori": [ + 0.999859584221014, + 0.0, + 0.0, + 0.016757441373348392 + ] + } + ], + "sculpture": [ + { + "category_idx": 2, + "physics": { + "mass": 1.4, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.06826791719119132, + 0.36807135370861416, + 0.8337125621683963 + ], + "default_ori": [ + 0.9998387510909161, + 0.0006093605375276913, + -0.005909935983401204, + -0.016946184035490138 + ] + } + ], + "dice": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.28003361785771963, + -0.15005629251393637, + 0.765 + ], + "default_ori": [ + 0.9989720802851609, + -0.0005000034347594525, + -3.491590665223912e-06, + -0.04532695439925353 + ] + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5100090065905184, + -0.4193755369210494, + 0.7781030694047488 + ], + "default_ori": [ + 0.9058985918925355, + 0.07734913996904876, + 0.34340022588312014, + -0.23545941607120333 + ] + } + ], + "walkie_talkie": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5531327472238577, + -0.524085158504376, + 0.7880404744334204 + ], + "default_ori": [ + 0.7076866101054249, + -0.7062867586509756, + -0.013002689004887718, + 0.013023306432443316 + ] + } + ], + "racket": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.005972777932109482, + -0.35356109694378507, + 0.7640663126662783 + ], + "default_ori": [ + 0.9984031922288323, + 0.003435551055753953, + 0.00660256919337692, + 0.05599704292431409 + ] + } + ], + "ice_cream": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.32764918768812623, + 0.2566896033218638, + 0.7760330782519896 + ], + "default_ori": [ + -0.7006284406440566, + 0.7013621352950754, + -0.09195565168434579, + 0.09356869913767805 + ] + } + ], + "pen": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.008 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.35747300536310395, + -0.027830723375055717, + 0.7776985904885821 + ], + "default_ori": [ + 0.684377436183345, + -0.5238502724898753, + -0.4743999126422187, + -0.17931296590166113 + ] + } + ] + }, + "Geometry": { + "cup_holder": [ + { + "category": "cup_holder", + "category_idx": 1, + "group": null, + "xlim": [ + -0.2, + 0.2 + ], + "ylim": [ + 0.0, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 25, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.03, + "check_mode": "bbox", + "need_check_stable": true, + "label": "cup_holder", + "default_pos": [ + 0.1952285628713279, + 0.04562219806317056, + 0.9177 + ], + "default_ori": [ + 0.9890238819248812, + 0.0, + 0.0, + 0.14775574771303676 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_yellow", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0205", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0080", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_0.json b/Layouts/RoboDojo/make_toast/make_toast_0.json new file mode 100644 index 0000000000000000000000000000000000000000..51a5949f9158d7fdbcae2aa3fc6084aae2307a84 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_0.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.3067032294533632, + -0.037584972714654316, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016044010886269, + 0.08804126517190244, + 0.7016044010886268, + -0.08804126517190242 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.33092810234049774, + -0.031407958974710805, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016044010886269, + 0.08804126517190244, + 0.7016044010886268, + -0.08804126517190242 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.3551529752276323, + -0.0252309452347673, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016044010886269, + 0.08804126517190244, + 0.7016044010886268, + -0.08804126517190242 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.37840885319928147, + -0.01930101204442154, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016044010886269, + 0.08804126517190244, + 0.7016044010886268, + -0.08804126517190242 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.3392038889529657, + -0.022176963356744, + 0.8031 + ], + "default_ori": [ + 0.9922184598041742, + 0.0, + 0.0, + -0.1245091483539763 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.2536647936429697, + -0.0769220087627487, + 0.845 + ], + "default_ori": [ + 0.7527444206144916, + 0.0, + 0.0, + -0.6583128718426773 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_1.json b/Layouts/RoboDojo/make_toast/make_toast_1.json new file mode 100644 index 0000000000000000000000000000000000000000..48b4e2ce2b3ca5723ac81a784aba4236e3e8b036 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_1.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.12404547737735881, + -0.15197178465707625, + 0.8579999898910523 + ], + "default_ori": [ + 0.7053215700169788, + -0.05021436914653096, + 0.7053215700169787, + 0.05021436914653097 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.14879332886833324, + -0.15551351239366856, + 0.8579999898910523 + ], + "default_ori": [ + 0.7053215700169788, + -0.05021436914653096, + 0.7053215700169787, + 0.05021436914653097 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.17354118035930766, + -0.15905524013026084, + 0.8579999898910523 + ], + "default_ori": [ + 0.7053215700169788, + -0.05021436914653096, + 0.7053215700169787, + 0.05021436914653097 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.1972991177906431, + -0.16245529875738945, + 0.8579999898910523 + ], + "default_ori": [ + 0.7053215700169788, + -0.05021436914653096, + 0.7053215700169787, + 0.05021436914653097 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.15996695723855794, + -0.15014229031983334, + 0.8031 + ], + "default_ori": [ + 0.9974753301297999, + 0.0, + 0.0, + 0.07101384218901777 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.14043652200951207, + -0.042714592684341704, + 0.845 + ], + "default_ori": [ + 0.757195124634008, + 0.0, + 0.0, + -0.6531887500795533 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_10.json b/Layouts/RoboDojo/make_toast/make_toast_10.json new file mode 100644 index 0000000000000000000000000000000000000000..4c825b0819803d27ad6d97e6994bbfa1bcf8225e --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_10.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.02692961589618476, + -0.04393158117538524, + 0.8579999898910523 + ], + "default_ori": [ + 0.7053780440551365, + 0.04941472417155055, + 0.7053780440551359, + -0.049414724171550566 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.051685435038049544, + -0.04044597493713927, + 0.8579999898910523 + ], + "default_ori": [ + 0.7053780440551365, + 0.04941472417155055, + 0.7053780440551359, + -0.049414724171550566 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.0764412541799143, + -0.03696036869889331, + 0.8579999898910523 + ], + "default_ori": [ + 0.7053780440551365, + 0.04941472417155055, + 0.7053780440551359, + -0.049414724171550566 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.1002068405561045, + -0.033614186710177185, + 0.8579999898910523 + ], + "default_ori": [ + 0.7053780440551365, + 0.04941472417155055, + 0.7053780440551359, + -0.049414724171550566 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.060922806242298774, + -0.032177298148188524, + 0.8031 + ], + "default_ori": [ + 0.9975551962585895, + 0.0, + 0.0, + -0.0698829765929236 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.30561332783561607, + -0.11314477727117575, + 0.845 + ], + "default_ori": [ + 0.6592683848379585, + 0.0, + 0.0, + -0.7519077049433325 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_11.json b/Layouts/RoboDojo/make_toast/make_toast_11.json new file mode 100644 index 0000000000000000000000000000000000000000..65b82539cf1b16d4b4ef18a0bbb54ebb45c06274 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_11.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.027853938466128946, + -0.04411979316830247, + 0.8579999898910523 + ], + "default_ori": [ + 0.706611938441069, + 0.02644935637317033, + 0.7066119384410688, + -0.02644935637317034 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.0527839819846722, + -0.04225085004329293, + 0.8579999898910523 + ], + "default_ori": [ + 0.706611938441069, + 0.02644935637317033, + 0.7066119384410688, + -0.02644935637317034 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.07771402550321543, + -0.040381906918283396, + 0.8579999898910523 + ], + "default_ori": [ + 0.706611938441069, + 0.02644935637317033, + 0.7066119384410688, + -0.02644935637317034 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.10164686728101695, + -0.03858772151827424, + 0.8579999898910523 + ], + "default_ori": [ + 0.706611938441069, + 0.02644935637317033, + 0.7066119384410688, + -0.02644935637317034 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.06253933471455846, + -0.03460015356937397, + 0.8031 + ], + "default_ori": [ + 0.999300186638972, + 0.0, + 0.0, + -0.03740503954436991 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.28016295322064916, + -0.11260335143519075, + 0.845 + ], + "default_ori": [ + 0.6297930681141877, + 0.0, + 0.0, + -0.7767629569922335 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_12.json b/Layouts/RoboDojo/make_toast/make_toast_12.json new file mode 100644 index 0000000000000000000000000000000000000000..0362d394171ff6dc56e0a73960a7b5991ccaa0ed --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_12.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.19331321524636116, + -0.02454393566055962, + 0.8579999898910523 + ], + "default_ori": [ + 0.7030993182316154, + -0.07517545279037265, + 0.7030993182316153, + 0.07517545279037273 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.21774807976738778, + -0.02982951648934552, + 0.8579999898910523 + ], + "default_ori": [ + 0.7030993182316154, + -0.07517545279037265, + 0.7030993182316153, + 0.07517545279037273 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.2421829442884144, + -0.035115097318131415, + 0.8579999898910523 + ], + "default_ori": [ + 0.7030993182316154, + -0.07517545279037265, + 0.7030993182316153, + 0.07517545279037273 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.2656404142285999, + -0.040189254913765876, + 0.8579999898910523 + ], + "default_ori": [ + 0.7030993182316154, + -0.07517545279037265, + 0.7030993182316153, + 0.07517545279037273 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.22927406582034177, + -0.02526315304571215, + 0.8031 + ], + "default_ori": [ + 0.9943325918558428, + 0.0, + 0.0, + 0.10631414192496708 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.17224132915456306, + -0.06240550577668014, + 0.845 + ], + "default_ori": [ + 0.7086784975480889, + 0.0, + 0.0, + -0.7055315635129186 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_13.json b/Layouts/RoboDojo/make_toast/make_toast_13.json new file mode 100644 index 0000000000000000000000000000000000000000..2a6651a0a321fb55a2eb774b39eabe3156b6dd24 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_13.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.28164290127641584, + -0.07558427868492955, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070231904022849, + 0.010872360984382818, + 0.7070231904022846, + -0.010872360984382816 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.30663108018524077, + -0.07481557755813056, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070231904022849, + 0.010872360984382818, + 0.7070231904022846, + -0.010872360984382816 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.3316192590940657, + -0.07404687643133157, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070231904022849, + 0.010872360984382818, + 0.7070231904022846, + -0.010872360984382816 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.35560791084653764, + -0.07330892334960454, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070231904022849, + 0.010872360984382818, + 0.7070231904022846, + -0.010872360984382816 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.3167140355246325, + -0.06760213646128911, + 0.8031 + ], + "default_ori": [ + 0.9998817847854287, + 0.0, + 0.0, + -0.015375839954479541 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.1519034383776369, + -0.10751401581950677, + 0.845 + ], + "default_ori": [ + 0.7838407023802869, + 0.0, + 0.0, + -0.6209619580070734 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_14.json b/Layouts/RoboDojo/make_toast/make_toast_14.json new file mode 100644 index 0000000000000000000000000000000000000000..10a491d05ad38fc2fb8fb73d5336f38bd4b6cc74 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_14.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.06453814601798197, + -0.05536598866172849, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055307913579354, + 0.04718370953884145, + 0.7055307913579353, + -0.04718370953884147 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.08931551521916528, + -0.052037032743177995, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055307913579354, + 0.04718370953884145, + 0.7055307913579353, + -0.04718370953884147 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.11409288442034861, + -0.0487080768246275, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055307913579354, + 0.04718370953884145, + 0.7055307913579353, + -0.04718370953884147 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.13787915885348456, + -0.04551227914281903, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055307913579354, + 0.04718370953884145, + 0.7055307913579353, + -0.04718370953884147 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.09860500035662605, + -0.04382694977930239, + 0.8031 + ], + "default_ori": [ + 0.9977712137842021, + 0.0, + 0.0, + -0.06672784234186065 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.33382790832138365, + -0.09551853513423386, + 0.845 + ], + "default_ori": [ + 0.7564540801488557, + 0.0, + 0.0, + -0.6540468061432215 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_15.json b/Layouts/RoboDojo/make_toast/make_toast_15.json new file mode 100644 index 0000000000000000000000000000000000000000..536dfd20a7c546078a30f13c7dcf8db008e17270 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_15.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.1377820217972754, + -0.19535853801186115, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058043941925656, + -0.04289705279463236, + 0.7058043941925656, + 0.042897052794632365 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.16259800586757645, + -0.19838623082156212, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058043941925656, + -0.04289705279463236, + 0.7058043941925656, + 0.042897052794632365 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.1874139899378775, + -0.2014139236312631, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058043941925656, + -0.04289705279463236, + 0.7058043941925656, + 0.042897052794632365 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.2112373346453665, + -0.20432050872857602, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058043941925656, + -0.04289705279463236, + 0.7058043941925656, + 0.042897052794632365 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.17365783093777823, + -0.19278442867829307, + 0.8031 + ], + "default_ori": [ + 0.9981581467863672, + 0.0, + 0.0, + 0.06066559159857563 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.20458199910178113, + -0.06412562037453567, + 0.845 + ], + "default_ori": [ + 0.6331655641155229, + 0.0, + 0.0, + -0.7740163876936145 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_16.json b/Layouts/RoboDojo/make_toast/make_toast_16.json new file mode 100644 index 0000000000000000000000000000000000000000..2fe21f77fa4ad56ad55f7f8fc2ff3507d39e395f --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_16.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.05668019851269412, + -0.08738232095365016, + 0.8579999898910523 + ], + "default_ori": [ + 0.7018705879330507, + -0.08589340949405667, + 0.7018705879330503, + 0.08589340949405666 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.08094243010105776, + -0.09341092657868354, + 0.8579999898910523 + ], + "default_ori": [ + 0.7018705879330507, + -0.08589340949405667, + 0.7018705879330503, + 0.08589340949405666 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.10520466168942141, + -0.09943953220371692, + 0.8579999898910523 + ], + "default_ori": [ + 0.7018705879330507, + -0.08589340949405667, + 0.7018705879330503, + 0.08589340949405666 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.1284964040142505, + -0.10522699360374897, + 0.8579999898910523 + ], + "default_ori": [ + 0.7018705879330507, + -0.08589340949405667, + 0.7018705879330503, + 0.08589340949405666 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.09260236206769205, + -0.08919833254263816, + 0.8031 + ], + "default_ori": [ + 0.9925949052047629, + 0.0, + 0.0, + 0.12147161874918683 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.2147046449092671, + -0.0931953931794899, + 0.845 + ], + "default_ori": [ + 0.639535773595039, + 0.0, + 0.0, + -0.7687613376674162 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_17.json b/Layouts/RoboDojo/make_toast/make_toast_17.json new file mode 100644 index 0000000000000000000000000000000000000000..9a5dcf0bad2562140898b77faa3db964ffd156a6 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_17.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.09440143344644629, + -0.013534596855523747, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069469368386765, + 0.015034244058564489, + 0.7069469368386764, + -0.015034244058564496 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.11937882987503134, + -0.012471755607756537, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069469368386765, + 0.015034244058564489, + 0.7069469368386764, + -0.015034244058564496 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.14435622630361641, + -0.011408914359989326, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069469368386765, + 0.015034244058564489, + 0.7069469368386764, + -0.015034244058564496 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.16833452687505807, + -0.010388586762132805, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069469368386765, + 0.015034244058564489, + 0.7069469368386764, + -0.015034244058564496 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.12937617818711467, + -0.005140103345294478, + 0.8031 + ], + "default_ori": [ + 0.9997739459744883, + 0.0, + 0.0, + -0.021261630948754443 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.3183823640125386, + -0.06533784020796296, + 0.845 + ], + "default_ori": [ + 0.7458022097964997, + 0.0, + 0.0, + -0.666167444313108 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_18.json b/Layouts/RoboDojo/make_toast/make_toast_18.json new file mode 100644 index 0000000000000000000000000000000000000000..e94fb4ad86a7efda21d2ce97ee3931c492510b20 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_18.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.1668591829548742, + -0.1415544785325988, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069503055965403, + -0.014874993007008366, + 0.7069503055965402, + 0.014874993007008367 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.19183705622061747, + -0.14260606660969696, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069503055965403, + -0.014874993007008366, + 0.7069503055965402, + 0.014874993007008367 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.21681492948636072, + -0.1436576546867951, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069503055965403, + -0.014874993007008366, + 0.7069503055965402, + 0.014874993007008367 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.24079368782147426, + -0.1446671792408093, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069503055965403, + -0.014874993007008366, + 0.7069503055965402, + 0.014874993007008367 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.2024181729975363, + -0.13614542958146936, + 0.8031 + ], + "default_ori": [ + 0.9997787100953623, + 0.0, + 0.0, + 0.021036416996567185 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.2220873309866971, + -0.05828259678170612, + 0.845 + ], + "default_ori": [ + 0.7395247300453811, + 0.0, + 0.0, + -0.6731293884917715 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_19.json b/Layouts/RoboDojo/make_toast/make_toast_19.json new file mode 100644 index 0000000000000000000000000000000000000000..e45554be54b6b65624300dd03aa5f69fc0a029d1 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_19.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.3115304383686013, + -0.12035644345717078, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058113213253373, + 0.042782925203652365, + 0.7058113213253371, + -0.04278292520365237 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.3363473999550767, + -0.1173367762266243, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058113213253373, + 0.042782925203652365, + 0.7058113213253371, + -0.04278292520365237 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.361164361541552, + -0.11431710899607783, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058113213253373, + 0.042782925203652365, + 0.7058113213253371, + -0.04278292520365237 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3849886446645684, + -0.11141822845475322, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058113213253373, + 0.042782925203652365, + 0.7058113213253371, + -0.04278292520365237 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.3457385622144193, + -0.1092431906838039, + 0.8031 + ], + "default_ori": [ + 0.9981679432478694, + 0.0, + 0.0, + -0.06050419053518764 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.0932152917525838, + -0.09606138081411111, + 0.845 + ], + "default_ori": [ + 0.7526756170363706, + 0.0, + 0.0, + -0.6583915366398012 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_2.json b/Layouts/RoboDojo/make_toast/make_toast_2.json new file mode 100644 index 0000000000000000000000000000000000000000..4f88cb9bdcb9db0df0752b18b186184b09b74090 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_2.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.029715666650535346, + -0.13689587180005416, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032460251381552, + 0.07379043384738355, + 0.7032460251381552, + -0.0737904338473836 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.05417116331935096, + -0.13170658898042545, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032460251381552, + 0.07379043384738355, + 0.7032460251381552, + -0.0737904338473836 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.07862665998816658, + -0.12651730616079673, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032460251381552, + 0.07379043384738355, + 0.7032460251381552, + -0.0737904338473836 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.10210393679022955, + -0.12153559465395317, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032460251381552, + 0.07379043384738355, + 0.7032460251381552, + -0.0737904338473836 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.06281458369710068, + -0.12281888373935781, + 0.8031 + ], + "default_ori": [ + 0.9945400667654467, + 0.0, + 0.0, + -0.10435542917443684 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.1611059352904136, + -0.11167289202379835, + 0.845 + ], + "default_ori": [ + 0.6255197377378365, + 0.0, + 0.0, + -0.7802083424960209 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_20.json b/Layouts/RoboDojo/make_toast/make_toast_20.json new file mode 100644 index 0000000000000000000000000000000000000000..5893aa3a8611f693c9d9c492d52d945aafaf2c57 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_20.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.1169609668651744, + -0.1551743035165823, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070338714659392, + -0.010154043523937714, + 0.7070338714659391, + 0.010154043523937716 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.14195065675174437, + -0.15589222879691486, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070338714659392, + -0.010154043523937714, + 0.7070338714659391, + 0.010154043523937716 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.16694034663831436, + -0.15661015407724743, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070338714659392, + -0.010154043523937714, + 0.7070338714659391, + 0.010154043523937716 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.19093044892942154, + -0.15729936234636668, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070338714659392, + -0.010154043523937714, + 0.7070338714659391, + 0.010154043523937716 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.15244454950287606, + -0.14929086564665733, + 0.8031 + ], + "default_ori": [ + 0.9998968900766757, + 0.0, + 0.0, + 0.014359986594436158 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.2101655119584468, + -0.03018816414208597, + 0.845 + ], + "default_ori": [ + 0.7873158011940098, + 0.0, + 0.0, + -0.6165499405483993 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_21.json b/Layouts/RoboDojo/make_toast/make_toast_21.json new file mode 100644 index 0000000000000000000000000000000000000000..15113f10e038467e2c654d38298de25723f477a6 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_21.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.13956354295818302, + -0.07021138448753006, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069602440369797, + 0.014394907126280597, + 0.7069602440369795, + -0.014394907126280597 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.16454282140342685, + -0.0691937217909897, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069602440369797, + 0.014394907126280597, + 0.7069602440369795, + -0.014394907126280597 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.1895220998486707, + -0.06817605909444935, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069602440369797, + 0.014394907126280597, + 0.7069602440369795, + -0.014394907126280597 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.21350220715610477, + -0.06719910290577061, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069602440369797, + 0.014394907126280597, + 0.7069602440369795, + -0.014394907126280597 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.17455341097672517, + -0.0618801621960358, + 0.8031 + ], + "default_ori": [ + 0.9997927651614607, + 0.0, + 0.0, + -0.020357473585893987 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.0827002777112879, + -0.057523772080169795, + 0.845 + ], + "default_ori": [ + 0.6352386609789357, + 0.0, + 0.0, + -0.7723158962482184 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_22.json b/Layouts/RoboDojo/make_toast/make_toast_22.json new file mode 100644 index 0000000000000000000000000000000000000000..d671b1cbbcb04494b296f99ea9ef6ea5d8374ed4 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_22.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.0018721348634378532, + -0.1884267945032893, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069847127774022, + 0.01313833699729652, + 0.7069847127774016, + -0.01313833699729651 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.0231106036314352, + -0.1874979341592966, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069847127774022, + 0.01313833699729652, + 0.7069847127774016, + -0.01313833699729651 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.048093342126308246, + -0.1865690738153039, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069847127774022, + 0.01313833699729652, + 0.7069847127774016, + -0.01313833699729651 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.07207677108138638, + -0.1856773678850709, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069847127774022, + 0.01313833699729652, + 0.7069847127774016, + -0.01313833699729651 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.03314712634612303, + -0.18022001522582123, + 0.8031 + ], + "default_ori": [ + 0.9998273691819248, + 0.0, + 0.0, + -0.01858041535464547 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.1863142149791915, + -0.035769896736043125, + 0.845 + ], + "default_ori": [ + 0.6405901323990808, + 0.0, + 0.0, + -0.7678829873574021 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_23.json b/Layouts/RoboDojo/make_toast/make_toast_23.json new file mode 100644 index 0000000000000000000000000000000000000000..19411ca4d7ffc07db3df707285d393b37b00e516 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_23.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.2864763086046153, + -0.06305596121408312, + 0.8579999898910523 + ], + "default_ori": [ + 0.7036269056380603, + -0.07006552406289629, + 0.7036269056380602, + 0.07006552406289633 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.3109853913392001, + -0.06798596010364859, + 0.8579999898910523 + ], + "default_ori": [ + 0.7036269056380603, + -0.07006552406289629, + 0.7036269056380602, + 0.07006552406289633 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.3354944740737849, + -0.07291595899321406, + 0.8579999898910523 + ], + "default_ori": [ + 0.7036269056380603, + -0.07006552406289629, + 0.7036269056380602, + 0.07006552406289633 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3590231934989863, + -0.07764875792719692, + 0.8579999898910523 + ], + "default_ori": [ + 0.7036269056380603, + -0.07006552406289629, + 0.7036269056380602, + 0.07006552406289633 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.3224438194083752, + -0.06325261228394825, + 0.8031 + ], + "default_ori": [ + 0.9950787123020511, + 0.0, + 0.0, + 0.09908761942489014 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.338671360836649, + -0.057124753479893486, + 0.845 + ], + "default_ori": [ + 0.612829182329049, + 0.0, + 0.0, + -0.7902154094206904 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_24.json b/Layouts/RoboDojo/make_toast/make_toast_24.json new file mode 100644 index 0000000000000000000000000000000000000000..869407dede1ed4c27bcb8a498eb2e24f53469c23 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_24.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.13295973193384236, + -0.20209388617280982, + 0.8579999898910523 + ], + "default_ori": [ + 0.707085763092741, + -0.005451938330219661, + 0.7070857630927407, + 0.005451938330219663 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.1579567591521842, + -0.20247938496381157, + 0.8579999898910523 + ], + "default_ori": [ + 0.707085763092741, + -0.005451938330219661, + 0.7070857630927407, + 0.005451938330219663 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.18295378637052603, + -0.20286488375481332, + 0.8579999898910523 + ], + "default_ori": [ + 0.707085763092741, + -0.005451938330219661, + 0.7070857630927407, + 0.005451938330219663 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.2069509325001342, + -0.20323496259417498, + 0.8579999898910523 + ], + "default_ori": [ + 0.707085763092741, + -0.005451938330219661, + 0.7070857630927407, + 0.005451938330219663 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.1683619346567081, + -0.19573902361828102, + 0.8031 + ], + "default_ori": [ + 0.9999702759288577, + 0.0, + 0.0, + 0.007710204845815063 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.28679084711876784, + -0.0409359620319609, + 0.845 + ], + "default_ori": [ + 0.7104482207091547, + 0.0, + 0.0, + -0.7037494765122005 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_25.json b/Layouts/RoboDojo/make_toast/make_toast_25.json new file mode 100644 index 0000000000000000000000000000000000000000..6fe8c3de58e3c1c7324858944af5683e150d1b87 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_25.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.26164267759065185, + -0.14550541303850797, + 0.8579999898910523 + ], + "default_ori": [ + 0.7020032834421273, + -0.08480206386917889, + 0.7020032834421271, + 0.08480206386917885 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.28592353861074005, + -0.15145854577221063, + 0.8579999898910523 + ], + "default_ori": [ + 0.7020032834421273, + -0.08480206386917889, + 0.7020032834421271, + 0.08480206386917885 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.31020439963082824, + -0.15741167850591328, + 0.8579999898910523 + ], + "default_ori": [ + 0.7020032834421273, + -0.08480206386917889, + 0.7020032834421271, + 0.08480206386917885 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3335140262101129, + -0.16312668593026783, + 0.8579999898910523 + ], + "default_ori": [ + 0.7020032834421273, + -0.08480206386917889, + 0.7020032834421271, + 0.08480206386917885 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.2975703243460296, + -0.14720972421889708, + 0.8031 + ], + "default_ori": [ + 0.9927825646585114, + 0.0, + 0.0, + 0.11992822566046997 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.0848974708729828, + -0.10076072722687435, + 0.845 + ], + "default_ori": [ + 0.6635016045895819, + 0.0, + 0.0, + -0.7481748597133228 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_26.json b/Layouts/RoboDojo/make_toast/make_toast_26.json new file mode 100644 index 0000000000000000000000000000000000000000..804c32a1c3f9a06cecad2c1db6b7f58c80404476 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_26.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.16741921031747115, + -0.14563997000451023, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032612465953304, + -0.07364522413016374, + 0.7032612465953305, + 0.0736452241301638 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.1918768482831503, + -0.15081915318961078, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032612465953304, + -0.07364522413016374, + 0.7032612465953305, + 0.0736452241301638 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.21633448624882948, + -0.15599833637471136, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032612465953304, + -0.07364522413016374, + 0.7032612465953305, + 0.0736452241301638 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.23981381869588148, + -0.16097035223240788, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032612465953304, + -0.07364522413016374, + 0.7032612465953305, + 0.0736452241301638 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.20338285420243996, + -0.1462026726109981, + 0.8031 + ], + "default_ori": [ + 0.994561593124785, + 0.0, + 0.0, + 0.10415007192071339 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.08336892956602464, + -0.11903507576324825, + 0.845 + ], + "default_ori": [ + 0.7071017187672992, + 0.0, + 0.0, + -0.7071118435695525 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_27.json b/Layouts/RoboDojo/make_toast/make_toast_27.json new file mode 100644 index 0000000000000000000000000000000000000000..c554164df7b12d14d2fc18a49e97793ccf6b98e8 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_27.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.023247457265423606, + -0.03750289772737481, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055449881560191, + 0.046970945146150536, + 0.705544988156019, + -0.04697094514615053 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.0480268306727875, + -0.03418888618338563, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055449881560191, + 0.046970945146150536, + 0.705544988156019, + -0.04697094514615053 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.0728062040801514, + -0.030874874639396442, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055449881560191, + 0.046970945146150536, + 0.705544988156019, + -0.04697094514615053 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.09659440255122073, + -0.02769342355716683, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055449881560191, + 0.046970945146150536, + 0.705544988156019, + -0.04697094514615053 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.057321265863869306, + -0.025984406985237834, + 0.8031 + ], + "default_ori": [ + 0.9977912911695502, + 0.0, + 0.0, + -0.0664269468378753 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.14209894871721868, + -0.09464304746184646, + 0.845 + ], + "default_ori": [ + 0.6937878516381146, + 0.0, + 0.0, + -0.7201794338353251 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_28.json b/Layouts/RoboDojo/make_toast/make_toast_28.json new file mode 100644 index 0000000000000000000000000000000000000000..54266165c448b7dcb71cbc4904670ddfedc8c4eb --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_28.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.31574749033234184, + -0.13495191705649348, + 0.8579999898910523 + ], + "default_ori": [ + 0.7030444400526926, + 0.07568695601618539, + 0.7030444400526926, + -0.0756869560161854 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.34017463903210227, + -0.12963078764503452, + 0.8579999898910523 + ], + "default_ori": [ + 0.7030444400526926, + 0.07568695601618539, + 0.7030444400526926, + -0.0756869560161854 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.36460178773186275, + -0.12430965823357554, + 0.8579999898910523 + ], + "default_ori": [ + 0.7030444400526926, + 0.07568695601618539, + 0.7030444400526926, + -0.0756869560161854 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3880518504836327, + -0.11920137399857493, + 0.8579999898910523 + ], + "default_ori": [ + 0.7030444400526926, + 0.07568695601618539, + 0.7030444400526926, + -0.0756869560161854 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.3487699888407868, + -0.12069659276051753, + 0.8031 + ], + "default_ori": [ + 0.9942549820492621, + 0.0, + 0.0, + -0.10703751991811825 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.07745002269111087, + -0.07809397455439153, + 0.845 + ], + "default_ori": [ + 0.6747128267274395, + 0.0, + 0.0, + -0.7380803489115993 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_29.json b/Layouts/RoboDojo/make_toast/make_toast_29.json new file mode 100644 index 0000000000000000000000000000000000000000..b6b81ad760e46e3cc5e09e6071e336dd7186a15f --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_29.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.08431768229852384, + -0.06248091995126881, + 0.8579999898910523 + ], + "default_ori": [ + 0.7043279174912017, + 0.06262734740117161, + 0.7043279174912013, + -0.0626273474011716 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.10892546436439221, + -0.058069900938936846, + 0.8579999898910523 + ], + "default_ori": [ + 0.7043279174912017, + 0.06262734740117161, + 0.7043279174912013, + -0.0626273474011716 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.1335332464302606, + -0.05365888192660488, + 0.8579999898910523 + ], + "default_ori": [ + 0.7043279174912017, + 0.06262734740117161, + 0.7043279174912013, + -0.0626273474011716 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.15715671721349425, + -0.0494243036747662, + 0.8579999898910523 + ], + "default_ori": [ + 0.7043279174912017, + 0.06262734740117161, + 0.7043279174912013, + -0.0626273474011716 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.11784642741228683, + -0.049460813743466406, + 0.8031 + ], + "default_ori": [ + 0.9960700929982056, + 0.0, + 0.0, + -0.08856844717249035 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.07824366446895593, + -0.04538408527466431, + 0.845 + ], + "default_ori": [ + 0.7019310753514955, + 0.0, + 0.0, + -0.7122448774514937 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_3.json b/Layouts/RoboDojo/make_toast/make_toast_3.json new file mode 100644 index 0000000000000000000000000000000000000000..4cb73e77bf4a95e1b9ffa0d782068fe5469dd76c --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_3.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.024700360328708936, + -0.039467463837538824, + 0.8579999898910523 + ], + "default_ori": [ + 0.7018995880429786, + -0.08565610489099522, + 0.7018995880429784, + 0.08565610489099526 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.04896666291431074, + -0.045479662166510684, + 0.8579999898910523 + ], + "default_ori": [ + 0.7018995880429786, + -0.08565610489099522, + 0.7018995880429784, + 0.08565610489099526 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.07323296549991255, + -0.05149186049548255, + 0.8579999898910523 + ], + "default_ori": [ + 0.7018995880429786, + -0.08565610489099522, + 0.7018995880429784, + 0.08565610489099526 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.09652861598209028, + -0.05726357089129554, + 0.8579999898910523 + ], + "default_ori": [ + 0.7018995880429786, + -0.08565610489099522, + 0.7018995880429784, + 0.08565610489099526 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.06062374590493856, + -0.04125918785898301, + 0.8031 + ], + "default_ori": [ + 0.9926359167489982, + 0.0, + 0.0, + 0.1211360259372742 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.21692688353610576, + -0.08458288454815821, + 0.845 + ], + "default_ori": [ + 0.712610003928217, + 0.0, + 0.0, + -0.7015603910579806 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_30.json b/Layouts/RoboDojo/make_toast/make_toast_30.json new file mode 100644 index 0000000000000000000000000000000000000000..452b691d7163873e60d3318f886cbbb05ad87dd1 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_30.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.026623544362081676, + -0.08004078879872614, + 0.8579999898910523 + ], + "default_ori": [ + 0.7043076146151124, + -0.06285526227111056, + 0.7043076146151119, + 0.06285526227111049 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.05122846540500083, + -0.08446773268202597, + 0.8579999898910523 + ], + "default_ori": [ + 0.7043076146151124, + -0.06285526227111056, + 0.7043076146151119, + 0.06285526227111049 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.07583338644792001, + -0.08889467656532579, + 0.8579999898910523 + ], + "default_ori": [ + 0.7043076146151124, + -0.06285526227111056, + 0.7043076146151119, + 0.06285526227111049 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.0994541106491224, + -0.09314454269329363, + 0.8579999898910523 + ], + "default_ori": [ + 0.7043076146151124, + -0.06285526227111056, + 0.7043076146151119, + 0.06285526227111049 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.06258753284769002, + -0.0795006723174912, + 0.8031 + ], + "default_ori": [ + 0.9960413811458482, + 0.0, + 0.0, + 0.08889075905329608 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.19325666692832236, + -0.08919858701214134, + 0.845 + ], + "default_ori": [ + 0.7538473866034505, + 0.0, + 0.0, + -0.6570495549889276 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_31.json b/Layouts/RoboDojo/make_toast/make_toast_31.json new file mode 100644 index 0000000000000000000000000000000000000000..0647b95c9c2b6772bb732d02a61ddeedaaff6cf9 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_31.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.06418091858746158, + -0.1363844438371367, + 0.8579999898910523 + ], + "default_ori": [ + 0.7067259743197684, + -0.023203388152897655, + 0.7067259743197684, + 0.02320338815289763 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.08912707920195209, + -0.13802428756925528, + 0.8579999898910523 + ], + "default_ori": [ + 0.7067259743197684, + -0.023203388152897655, + 0.7067259743197684, + 0.02320338815289763 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.1140732398164426, + -0.1396641313013739, + 0.8579999898910523 + ], + "default_ori": [ + 0.7067259743197684, + -0.023203388152897655, + 0.7067259743197684, + 0.02320338815289763 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.1380215540063535, + -0.14123838128420776, + 0.8579999898910523 + ], + "default_ori": [ + 0.7067259743197684, + -0.023203388152897655, + 0.7067259743197684, + 0.02320338815289763 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.09985749095604433, + -0.13181476248510057, + 0.8031 + ], + "default_ori": [ + 0.9994614577688032, + 0.0, + 0.0, + 0.032814546083386256 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.19483207705899375, + -0.0502393879276757, + 0.845 + ], + "default_ori": [ + 0.7250137387574354, + 0.0, + 0.0, + -0.6887344035351839 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_32.json b/Layouts/RoboDojo/make_toast/make_toast_32.json new file mode 100644 index 0000000000000000000000000000000000000000..5353a9c8cdbd76d690cae964782450f9762a5930 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_32.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.024356444016233932, + -0.06358446275513917, + 0.8579999898910523 + ], + "default_ori": [ + 0.7039487448131342, + 0.06675451052934835, + 0.7039487448131339, + -0.06675451052934832 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.0001979397384962926, + -0.058885287322814756, + 0.8579999898910523 + ], + "default_ori": [ + 0.7039487448131342, + 0.06675451052934835, + 0.7039487448131339, + -0.06675451052934832 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.02475232349322652, + -0.05418611189049035, + 0.8579999898910523 + ], + "default_ori": [ + 0.7039487448131342, + 0.06675451052934835, + 0.7039487448131339, + -0.06675451052934832 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.04832453189776753, + -0.049674903475458915, + 0.8579999898910523 + ], + "default_ori": [ + 0.7039487448131342, + 0.06675451052934835, + 0.7039487448131339, + -0.06675451052934832 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.00901737386516004, + -0.05017221771423548, + 0.8031 + ], + "default_ori": [ + 0.9955338624064518, + 0.0, + 0.0, + -0.09440513122755516 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.18126850911070486, + -0.09506451554086488, + 0.845 + ], + "default_ori": [ + 0.661251132593471, + 0.0, + 0.0, + -0.750164608365292 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_33.json b/Layouts/RoboDojo/make_toast/make_toast_33.json new file mode 100644 index 0000000000000000000000000000000000000000..2052763e6e5e1cb192fdea6cd4b49c4706a4a411 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_33.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.2853692015088816, + -0.07195077209769117, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070011755242614, + 0.012220384908533784, + 0.7070011755242611, + -0.012220384908533789 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.3103542675651331, + -0.07108678945375907, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070011755242614, + 0.012220384908533784, + 0.7070011755242611, + -0.012220384908533789 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.3353393336213847, + -0.07022280680982697, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070011755242614, + 0.012220384908533784, + 0.7070011755242611, + -0.012220384908533789 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3593249970353861, + -0.06939338347165215, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070011755242614, + 0.012220384908533784, + 0.7070011755242611, + -0.012220384908533789 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.3204096509752805, + -0.06383495323150089, + 0.8031 + ], + "default_ori": [ + 0.9998506510509931, + 0.0, + 0.0, + -0.01728223344666921 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.19110823897403992, + -0.07567825398220948, + 0.845 + ], + "default_ori": [ + 0.7908509507884234, + 0.0, + 0.0, + -0.6120088019277556 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_34.json b/Layouts/RoboDojo/make_toast/make_toast_34.json new file mode 100644 index 0000000000000000000000000000000000000000..36fe9eb757f796dd1f02f4c412c0b3b63edb302e --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_34.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.15424291658674677, + -0.03351180415492354, + 0.8579999898910523 + ], + "default_ori": [ + 0.7034790238541714, + -0.0715350473347311, + 0.7034790238541712, + 0.0715350473347311 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.1787311898497244, + -0.03854414459209738, + 0.8579999898910523 + ], + "default_ori": [ + 0.7034790238541714, + -0.0715350473347311, + 0.7034790238541712, + 0.0715350473347311 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.20321946311270198, + -0.04357648502927122, + 0.8579999898910523 + ], + "default_ori": [ + 0.7034790238541714, + -0.0715350473347311, + 0.7034790238541712, + 0.0715350473347311 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.22672820544516048, + -0.048407531848958116, + 0.8579999898910523 + ], + "default_ori": [ + 0.7034790238541714, + -0.0715350473347311, + 0.7034790238541712, + 0.0715350473347311 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.19020928234248843, + -0.033858706749523806, + 0.8031 + ], + "default_ori": [ + 0.9948695765016545, + 0.0, + 0.0, + 0.10116583292504798 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.23750878144204263, + -0.054859333765077886, + 0.845 + ], + "default_ori": [ + 0.782121441663684, + 0.0, + 0.0, + -0.6231260309840384 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_35.json b/Layouts/RoboDojo/make_toast/make_toast_35.json new file mode 100644 index 0000000000000000000000000000000000000000..5346b7a02c4b553e2d05a5ee256ff63f505f77b9 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_35.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.15605933778441716, + -0.09480911220935362, + 0.8579999898910523 + ], + "default_ori": [ + 0.7013037253272868, + -0.09040511513221793, + 0.7013037253272865, + 0.09040511513221794 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.1802420299545603, + -0.1011492567839958, + 0.8579999898910523 + ], + "default_ori": [ + 0.7013037253272868, + -0.09040511513221793, + 0.7013037253272865, + 0.09040511513221794 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.20442472212470342, + -0.10748940135863799, + 0.8579999898910523 + ], + "default_ori": [ + 0.7013037253272868, + -0.09040511513221793, + 0.7013037253272865, + 0.09040511513221794 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.2276401066080408, + -0.11357594015029449, + 0.8579999898910523 + ], + "default_ori": [ + 0.7013037253272868, + -0.09040511513221793, + 0.7013037253272865, + 0.09040511513221794 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.19195518424697577, + -0.09708697266487855, + 0.8031 + ], + "default_ori": [ + 0.9917932392695614, + 0.0, + 0.0, + 0.12785214327179126 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.22074144274774615, + -0.05171267436717693, + 0.845 + ], + "default_ori": [ + 0.7212756596973559, + 0.0, + 0.0, + -0.6926481233123672 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_36.json b/Layouts/RoboDojo/make_toast/make_toast_36.json new file mode 100644 index 0000000000000000000000000000000000000000..3d6c5613d515ed44374661b9c91439f6284a0f54 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_36.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.2384659216097971, + -0.16115732902768298, + 0.8579999898910523 + ], + "default_ori": [ + 0.7013611022751987, + 0.0899589029241601, + 0.7013611022751984, + -0.08995890292416013 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.2626566618971011, + -0.15484796131137057, + 0.8579999898910523 + ], + "default_ori": [ + 0.7013611022751987, + 0.0899589029241601, + 0.7013611022751984, + -0.08995890292416013 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.28684740218440496, + -0.14853859359505817, + 0.8579999898910523 + ], + "default_ori": [ + 0.7013611022751987, + 0.0899589029241601, + 0.7013611022751984, + -0.08995890292416013 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.31007051286021675, + -0.14248160058739825, + 0.8579999898910523 + ], + "default_ori": [ + 0.7013611022751987, + 0.0899589029241601, + 0.7013611022751984, + -0.08995890292416013 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.2708818513567295, + -0.14557185842898035, + 0.8031 + ], + "default_ori": [ + 0.9918743828847086, + 0.0, + 0.0, + -0.12722110114709123 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.24275942780750498, + -0.0931864463622177, + 0.845 + ], + "default_ori": [ + 0.6611373923940741, + 0.0, + 0.0, + -0.7502648521544669 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_37.json b/Layouts/RoboDojo/make_toast/make_toast_37.json new file mode 100644 index 0000000000000000000000000000000000000000..0ece5da858c2ceb5d550daa159af8feee76e30ec --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_37.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.18329772752623794, + -0.06380172755084033, + 0.8579999898910523 + ], + "default_ori": [ + 0.7059662593283849, + 0.040145244922501905, + 0.7059662593283846, + -0.04014524492250192 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.20813656401734587, + -0.06096760864815708, + 0.8579999898910523 + ], + "default_ori": [ + 0.7059662593283849, + 0.040145244922501905, + 0.7059662593283846, + -0.04014524492250192 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.2329754005084538, + -0.058133489745473825, + 0.8579999898910523 + ], + "default_ori": [ + 0.7059662593283849, + 0.040145244922501905, + 0.7059662593283846, + -0.04014524492250192 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.25682068353991744, + -0.0554127355988979, + 0.8579999898910523 + ], + "default_ori": [ + 0.7059662593283849, + 0.040145244922501905, + 0.7059662593283846, + -0.04014524492250192 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.21758794400370554, + -0.05294443361723551, + 0.8031 + ], + "default_ori": [ + 0.9983870584085309, + 0.0, + 0.0, + -0.056773951794469674 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.2012990001402635, + -0.04929558041710387, + 0.845 + ], + "default_ori": [ + 0.717301228998657, + 0.0, + 0.0, + -0.6967631928259532 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_38.json b/Layouts/RoboDojo/make_toast/make_toast_38.json new file mode 100644 index 0000000000000000000000000000000000000000..3e7baea5ba2c3804eb55794a740d9374b489f0c3 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_38.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.024942395569949417, + -0.06498918855914267, + 0.8579999898910523 + ], + "default_ori": [ + 0.7041557685998133, + -0.06453412699964306, + 0.7041557685998135, + 0.06453412699964309 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + 0.00035886067357566195, + -0.06953339638539942, + 0.8579999898910523 + ], + "default_ori": [ + 0.7041557685998133, + -0.06453412699964306, + 0.7041557685998135, + 0.06453412699964309 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.024224674222798084, + -0.07407760421165617, + 0.8579999898910523 + ], + "default_ori": [ + 0.7041557685998133, + -0.06453412699964306, + 0.7041557685998135, + 0.06453412699964309 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.047824867723316886, + -0.07844004372486266, + 0.8579999898910523 + ], + "default_ori": [ + 0.7041557685998133, + -0.06453412699964306, + 0.7041557685998135, + 0.06453412699964309 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.011023756921627426, + -0.0646205521227453, + 0.8031 + ], + "default_ori": [ + 0.9958266379693365, + 0.0, + 0.0, + 0.0912650377235889 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.287956381273105, + -0.0447401538602535, + 0.845 + ], + "default_ori": [ + 0.6483830244619683, + 0.0, + 0.0, + -0.7613142935670857 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_39.json b/Layouts/RoboDojo/make_toast/make_toast_39.json new file mode 100644 index 0000000000000000000000000000000000000000..ac745bdf3276e99c2bea8588f12b9391b5214f00 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_39.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.027116323433210673, + -0.015360146120441193, + 0.8579999898910523 + ], + "default_ori": [ + 0.7066216379012582, + 0.026188945181950474, + 0.7066216379012581, + -0.026188945181950477 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.052047737858583756, + -0.013509578548622366, + 0.8579999898910523 + ], + "default_ori": [ + 0.7066216379012582, + 0.026188945181950474, + 0.7066216379012581, + -0.026188945181950477 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.07697915228395683, + -0.011659010976803538, + 0.8579999898910523 + ], + "default_ori": [ + 0.7066216379012582, + 0.026188945181950474, + 0.7066216379012581, + -0.026188945181950477 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.10091331013231498, + -0.009882466107857462, + 0.8579999898910523 + ], + "default_ori": [ + 0.7066216379012582, + 0.026188945181950474, + 0.7066216379012581, + -0.026188945181950477 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.06180872213692461, + -0.005866074256047277, + 0.8031 + ], + "default_ori": [ + 0.9993139038062402, + 0.0, + 0.0, + -0.037036760921178566 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.29187626731950744, + -0.08600383781853836, + 0.845 + ], + "default_ori": [ + 0.6139742961029448, + 0.0, + 0.0, + -0.7893260186544553 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_4.json b/Layouts/RoboDojo/make_toast/make_toast_4.json new file mode 100644 index 0000000000000000000000000000000000000000..39d37c0ce5b6cba95c118d8fc4cabae6fdff6c56 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_4.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.1453315209895554, + -0.057209645543217516, + 0.8579999898910523 + ], + "default_ori": [ + 0.7054609872704483, + -0.04821613256374543, + 0.7054609872704479, + 0.04821613256374542 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.17009904201330572, + -0.06061110566925988, + 0.8579999898910523 + ], + "default_ori": [ + 0.7054609872704483, + -0.04821613256374543, + 0.7054609872704479, + 0.04821613256374542 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.19486656303705602, + -0.06401256579530225, + 0.8579999898910523 + ], + "default_ori": [ + 0.7054609872704483, + -0.04821613256374543, + 0.7054609872704479, + 0.04821613256374542 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.21864338321985632, + -0.06727796751630291, + 0.8579999898910523 + ], + "default_ori": [ + 0.7054609872704483, + -0.04821613256374543, + 0.7054609872704479, + 0.04821613256374542 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.18124205898356566, + -0.0551766707084808, + 0.8031 + ], + "default_ori": [ + 0.997672495643359, + 0.0, + 0.0, + 0.06818791268804142 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.12388718524181525, + -0.10332073823155626, + 0.845 + ], + "default_ori": [ + 0.6974699166111588, + 0.0, + 0.0, + -0.7166140630928362 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_40.json b/Layouts/RoboDojo/make_toast/make_toast_40.json new file mode 100644 index 0000000000000000000000000000000000000000..0ef5f10a0e1974783ff565670364183081902d4b --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_40.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.03266500283777821, + -0.07968785223333921, + 0.8579999898910523 + ], + "default_ori": [ + 0.7046342920501414, + -0.05908057605504856, + 0.7046342920501409, + 0.059080576055048524 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + 0.008014053598047379, + -0.08385087233750906, + 0.8579999898910523 + ], + "default_ori": [ + 0.7046342920501414, + -0.05908057605504856, + 0.7046342920501409, + 0.059080576055048524 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.016636895641683455, + -0.0880138924416789, + 0.8579999898910523 + ], + "default_ori": [ + 0.7046342920501414, + -0.05908057605504856, + 0.7046342920501409, + 0.059080576055048524 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.04030180691182506, + -0.09201039174168195, + 0.8579999898910523 + ], + "default_ori": [ + 0.7046342920501414, + -0.05908057605504856, + 0.7046342920501409, + 0.059080576055048524 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.0032911308895706595, + -0.07876237122825368, + 0.8031 + ], + "default_ori": [ + 0.9965033720685079, + 0.0, + 0.0, + 0.08355255505424686 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.2218586849981824, + -0.05494874796591179, + 0.845 + ], + "default_ori": [ + 0.7904793936135541, + 0.0, + 0.0, + -0.6124886352189303 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_41.json b/Layouts/RoboDojo/make_toast/make_toast_41.json new file mode 100644 index 0000000000000000000000000000000000000000..b263342d984e2103467037b68e096e1bccd2082c --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_41.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.19544896567454298, + -0.02673709439577691, + 0.8579999898910523 + ], + "default_ori": [ + 0.7035182674387334, + 0.07114806659356882, + 0.7035182674387328, + -0.07114806659356876 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.21994276130785903, + -0.02173169786574475, + 0.8579999898910523 + ], + "default_ori": [ + 0.7035182674387334, + 0.07114806659356882, + 0.7035182674387328, + -0.07114806659356876 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.24443655694117508, + -0.016726301335712596, + 0.8579999898910523 + ], + "default_ori": [ + 0.7035182674387334, + 0.07114806659356882, + 0.7035182674387328, + -0.07114806659356876 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.2679506007491585, + -0.011921120666881724, + 0.8579999898910523 + ], + "default_ori": [ + 0.7035182674387334, + 0.07114806659356882, + 0.7035182674387328, + -0.07114806659356876 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.2286527208741267, + -0.01290918711409987, + 0.8031 + ], + "default_ori": [ + 0.9949250748781016, + 0.0, + 0.0, + -0.10061856378821989 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.264089508214193, + -0.11436733190850361, + 0.845 + ], + "default_ori": [ + 0.6305662350090133, + 0.0, + 0.0, + -0.7761354413158557 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_42.json b/Layouts/RoboDojo/make_toast/make_toast_42.json new file mode 100644 index 0000000000000000000000000000000000000000..4b7a782aff163b18cd3a62056e317ddc20e65919 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_42.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.019042396585055944, + -0.19701991487794834, + 0.8579999898910523 + ], + "default_ori": [ + 0.7052053643901356, + 0.05182078767614706, + 0.7052053643901355, + -0.05182078767614706 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.005689063628605252, + -0.19336548518889862, + 0.8579999898910523 + ], + "default_ori": [ + 0.7052053643901356, + 0.05182078767614706, + 0.7052053643901355, + -0.05182078767614706 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.03042052384226645, + -0.1897110554998489, + 0.8579999898910523 + ], + "default_ori": [ + 0.7052053643901356, + 0.05182078767614706, + 0.7052053643901355, + -0.05182078767614706 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.05416272564738119, + -0.18620280299836117, + 0.8579999898910523 + ], + "default_ori": [ + 0.7052053643901356, + 0.05182078767614706, + 0.7052053643901355, + -0.05182078767614706 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.014869802687614554, + -0.185033978826843, + 0.8031 + ], + "default_ori": [ + 0.9973109909246896, + 0.0, + 0.0, + -0.07328565603727495 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.24562739618766183, + -0.10831196866070464, + 0.845 + ], + "default_ori": [ + 0.6747040518568581, + 0.0, + 0.0, + -0.7380883703242711 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_43.json b/Layouts/RoboDojo/make_toast/make_toast_43.json new file mode 100644 index 0000000000000000000000000000000000000000..e84d4ee44f530b81a3191e99aff50a6a4ca7e8d2 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_43.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.010132180201425577, + -0.1930481758127927, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058249714340497, + 0.04255713453844205, + 0.7058249714340497, + -0.042557134538442065 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.014686708105192165, + -0.1900443870733499, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058249714340497, + 0.04255713453844205, + 0.7058249714340497, + -0.042557134538442065 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.0395055964118099, + -0.18704059833390707, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058249714340497, + 0.04255713453844205, + 0.7058249714340497, + -0.042557134538442065 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.06333172918616292, + -0.18415696114404195, + 0.8579999898910523 + ], + "default_ori": [ + 0.7058249714340497, + 0.04255713453844205, + 0.7058249714340497, + -0.042557134538442065 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.024083043514366232, + -0.18195680768035274, + 0.8031 + ], + "default_ori": [ + 0.9981872473212305, + 0.0, + 0.0, + -0.06018487588476455 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.27242944978954714, + -0.06010423952673941, + 0.845 + ], + "default_ori": [ + 0.7906122300091039, + 0.0, + 0.0, + -0.6123171578194033 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_44.json b/Layouts/RoboDojo/make_toast/make_toast_44.json new file mode 100644 index 0000000000000000000000000000000000000000..2b4980613836b0d30981e85bc8c8cef15a0e97a3 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_44.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.26647398198953715, + -0.1590590541500281, + 0.8579999898910523 + ], + "default_ori": [ + 0.7062994370066334, + -0.03378024991193312, + 0.7062994370066336, + 0.03378024991193314 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.2913598718773469, + -0.16144495133940684, + 0.8579999898910523 + ], + "default_ori": [ + 0.7062994370066334, + -0.03378024991193312, + 0.7062994370066336, + 0.03378024991193314 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.3162457617651567, + -0.16383084852878557, + 0.8579999898910523 + ], + "default_ori": [ + 0.7062994370066334, + -0.03378024991193312, + 0.7062994370066336, + 0.03378024991193314 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.34013621605745403, + -0.16612130983058915, + 0.8579999898910523 + ], + "default_ori": [ + 0.7062994370066334, + -0.03378024991193312, + 0.7062994370066336, + 0.03378024991193314 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.30227136422822687, + -0.15555943435205755, + 0.8031 + ], + "default_ori": [ + 0.9988582428855122, + 0.0, + 0.0, + 0.04777248810421446 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.22985555004775005, + -0.07881664379434541, + 0.845 + ], + "default_ori": [ + 0.7272253213143623, + 0.0, + 0.0, + -0.6863988141301111 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_45.json b/Layouts/RoboDojo/make_toast/make_toast_45.json new file mode 100644 index 0000000000000000000000000000000000000000..9c04495f6d38edd266b4026604d0f1d43d7c9350 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_45.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.003936089304287643, + -0.15053550888670805, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016606891001611, + -0.08759153709969518, + 0.701660689100161, + 0.08759153709969524 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.02816886129697106, + -0.1566814626462591, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016606891001611, + -0.08759153709969518, + 0.701660689100161, + 0.08759153709969524 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.05240163328965446, + -0.16282741640581014, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016606891001611, + -0.08759153709969518, + 0.701660689100161, + 0.08759153709969524 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.07566509440263054, + -0.16872753201497914, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016606891001611, + -0.08759153709969518, + 0.701660689100161, + 0.08759153709969524 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.03984904603958005, + -0.1525253472039795, + 0.8031 + ], + "default_ori": [ + 0.9922980625944543, + 0.0, + 0.0, + 0.12387314063707533 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.25152887745338165, + -0.11117599065417527, + 0.845 + ], + "default_ori": [ + 0.6176630445052661, + 0.0, + 0.0, + -0.7864428545371149 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_46.json b/Layouts/RoboDojo/make_toast/make_toast_46.json new file mode 100644 index 0000000000000000000000000000000000000000..7f60ab9e8c39d038ce32f7c7ea9db61169f99241 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_46.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.2839926500813548, + -0.03689570829027947, + 0.8579999898910523 + ], + "default_ori": [ + 0.7061287752384527, + 0.0371773153985457, + 0.7061287752384526, + -0.03717731539854573 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.30885443436070126, + -0.034270511118114556, + 0.8579999898910523 + ], + "default_ori": [ + 0.7061287752384527, + 0.0371773153985457, + 0.7061287752384526, + -0.03717731539854573 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.33371621864004775, + -0.03164531394594964, + 0.8579999898910523 + ], + "default_ori": [ + 0.7061287752384527, + 0.0371773153985457, + 0.7061287752384526, + -0.03717731539854573 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.35758353154822037, + -0.029125124660671322, + 0.8579999898910523 + ], + "default_ori": [ + 0.7061287752384527, + 0.0371773153985457, + 0.7061287752384526, + -0.03717731539854573 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.31837292977336007, + -0.026327076921385844, + 0.8031 + ], + "default_ori": [ + 0.9986168908373078, + 0.0, + 0.0, + -0.052576661499457236 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.17528719211787938, + -0.11603303636519981, + 0.845 + ], + "default_ori": [ + 0.7451438867977586, + 0.0, + 0.0, + -0.6669037321592446 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_47.json b/Layouts/RoboDojo/make_toast/make_toast_47.json new file mode 100644 index 0000000000000000000000000000000000000000..46b602dfc4640a9856c0c3152b2825431ac31cc3 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_47.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.23481880198736205, + -0.14274963464257742, + 0.8579999898910523 + ], + "default_ori": [ + 0.7051406153244371, + 0.05269452172545562, + 0.705140615324437, + -0.052694521725455676 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.25954113076944363, + -0.13903392988858249, + 0.8579999898910523 + ], + "default_ori": [ + 0.7051406153244371, + 0.05269452172545562, + 0.705140615324437, + -0.052694521725455676 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.28426345955152527, + -0.13531822513458755, + 0.8579999898910523 + ], + "default_ori": [ + 0.7051406153244371, + 0.05269452172545562, + 0.705140615324437, + -0.052694521725455676 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3079968951823236, + -0.1317511485707524, + 0.8579999898910523 + ], + "default_ori": [ + 0.7051406153244371, + 0.05269452172545562, + 0.705140615324437, + -0.052694521725455676 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.2687012050137261, + -0.13067969662162077, + 0.8031 + ], + "default_ori": [ + 0.9972194215076745, + 0.0, + 0.0, + -0.07452130814672513 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.12665007244489462, + -0.03822927235546009, + 0.845 + ], + "default_ori": [ + 0.7325240064087942, + 0.0, + 0.0, + -0.6807411990138461 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_48.json b/Layouts/RoboDojo/make_toast/make_toast_48.json new file mode 100644 index 0000000000000000000000000000000000000000..d23401d9a0678dbb0760d54fc9342480a6069465 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_48.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.0319952754383623, + -0.009490969334053094, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055480783737603, + -0.04692450429247263, + 0.7055480783737602, + 0.04692450429247267 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.05677508395963306, + -0.012801718641327915, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055480783737603, + -0.04692450429247263, + 0.7055480783737602, + 0.04692450429247267 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.0815548924809038, + -0.016112467948602733, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055480783737603, + -0.04692450429247263, + 0.7055480783737602, + 0.04692450429247267 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.10534350866132373, + -0.019290787283586557, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055480783737603, + -0.04692450429247263, + 0.7055480783737602, + 0.04692450429247267 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.06789813351712552, + -0.007326519971851364, + 0.8031 + ], + "default_ori": [ + 0.9977956614198213, + 0.0, + 0.0, + 0.06636126921466576 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.13452770155816937, + -0.043237684629919726, + 0.845 + ], + "default_ori": [ + 0.7184590364016884, + 0.0, + 0.0, + -0.6955692726197423 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_49.json b/Layouts/RoboDojo/make_toast/make_toast_49.json new file mode 100644 index 0000000000000000000000000000000000000000..042b2a56303aed522d3780dbe9296f03d2d649b5 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_49.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.20978175103078026, + -0.009126510839710974, + 0.8579999898910523 + ], + "default_ori": [ + 0.7057558984002957, + -0.043687662711472786, + 0.7057558984002958, + 0.04368766271147283 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.23459088950762885, + -0.012209793362568163, + 0.8579999898910523 + ], + "default_ori": [ + 0.7057558984002957, + -0.043687662711472786, + 0.7057558984002958, + 0.04368766271147283 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.2594000279844775, + -0.015293075885425353, + 0.8579999898910523 + ], + "default_ori": [ + 0.7057558984002957, + -0.043687662711472786, + 0.7057558984002958, + 0.04368766271147283 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.28321680092225215, + -0.01825302710736825, + 0.8579999898910523 + ], + "default_ori": [ + 0.7057558984002957, + -0.043687662711472786, + 0.7057558984002958, + 0.04368766271147283 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.24566323808799023, + -0.006632783638076939, + 0.8031 + ], + "default_ori": [ + 0.9980895633203761, + 0.0, + 0.0, + 0.061783683856994946 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.320446007840252, + -0.044974410469466916, + 0.845 + ], + "default_ori": [ + 0.7672572520031518, + 0.0, + 0.0, + -0.641339464908072 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_5.json b/Layouts/RoboDojo/make_toast/make_toast_5.json new file mode 100644 index 0000000000000000000000000000000000000000..45530825e52117dfc526fa4b9699d483382f09ea --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_5.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.040335731104852446, + -0.06236917253523118, + 0.8579999898910523 + ], + "default_ori": [ + 0.705981045006711, + -0.03988438405231491, + 0.705981045006711, + 0.03988438405231492 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.06517665524864365, + -0.06518493451117523, + 0.8579999898910523 + ], + "default_ori": [ + 0.705981045006711, + -0.03988438405231491, + 0.705981045006711, + 0.03988438405231492 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.09001757939243485, + -0.06800069648711927, + 0.8579999898910523 + ], + "default_ori": [ + 0.705981045006711, + -0.03988438405231491, + 0.705981045006711, + 0.03988438405231492 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.11386486657047441, + -0.07070382798402555, + 0.8579999898910523 + ], + "default_ori": [ + 0.705981045006711, + -0.03988438405231491, + 0.705981045006711, + 0.03988438405231492 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.07618826901105007, + -0.05948893316472441, + 0.8031 + ], + "default_ori": [ + 0.9984079684746306, + 0.0, + 0.0, + 0.056405039547552605 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.12457357582199413, + -0.044121381384677485, + 0.845 + ], + "default_ori": [ + 0.7467119833197197, + 0.0, + 0.0, + -0.6651475129373415 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_50.json b/Layouts/RoboDojo/make_toast/make_toast_50.json new file mode 100644 index 0000000000000000000000000000000000000000..cd77058758487992919ae85384f62adbfce2129c --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_50.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.010612147695553659, + -0.18430336846132886, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070227787418313, + -0.010899098136066314, + 0.7070227787418308, + 0.010899098136066307 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.014375973098742608, + -0.1850739595210285, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070227787418313, + -0.010899098136066314, + 0.7070227787418308, + 0.010899098136066307 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.039364093893038875, + -0.18584455058072816, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070227787418313, + -0.010899098136066314, + 0.7070227787418308, + 0.010899098136066307 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.06335268985556328, + -0.18658431799803984, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070227787418313, + -0.010899098136066314, + 0.7070227787418308, + 0.010899098136066307 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.024883761101562474, + -0.1784947284822681, + 0.8031 + ], + "default_ori": [ + 0.9998812025994023, + 0.0, + 0.0, + 0.015413652661622156 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.2665458728701258, + -0.08335286012052798, + 0.845 + ], + "default_ori": [ + 0.739182999985333, + 0.0, + 0.0, + -0.6735046343809993 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_51.json b/Layouts/RoboDojo/make_toast/make_toast_51.json new file mode 100644 index 0000000000000000000000000000000000000000..a6d6665f6a1c3e83593ca62983a4eb0628b39648 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_51.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.30089628421967957, + -0.1436678788017299, + 0.8579999898910523 + ], + "default_ori": [ + 0.7060748367909643, + -0.03818801972625931, + 0.7060748367909643, + 0.038188019726259334 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.3257504510254237, + -0.14636423870435022, + 0.8579999898910523 + ], + "default_ori": [ + 0.7060748367909643, + -0.03818801972625931, + 0.7060748367909643, + 0.038188019726259334 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.3506046178311679, + -0.14906059860697052, + 0.8579999898910523 + ], + "default_ori": [ + 0.7060748367909643, + -0.03818801972625931, + 0.7060748367909643, + 0.038188019726259334 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3744646179646823, + -0.15164910411348603, + 0.8579999898910523 + ], + "default_ori": [ + 0.7060748367909643, + -0.03818801972625931, + 0.7060748367909643, + 0.038188019726259334 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.33673456225533394, + -0.14061538572919324, + 0.8031 + ], + "default_ori": [ + 0.9985406104208665, + 0.0, + 0.0, + 0.05400601207572488 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.04848859852747039, + -0.07960780074727739, + 0.845 + ], + "default_ori": [ + 0.7796247528542508, + 0.0, + 0.0, + -0.6262469518783691 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_52.json b/Layouts/RoboDojo/make_toast/make_toast_52.json new file mode 100644 index 0000000000000000000000000000000000000000..ad8fab8b49799c422db99aad6db7149eab041b6d --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_52.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.14841484314180253, + -0.03762281962192646, + 0.8579999898910523 + ], + "default_ori": [ + 0.7064676206356674, + -0.030058293254589672, + 0.7064676206356675, + 0.03005829325458969 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.1733244929311359, + -0.03974634070402971, + 0.8579999898910523 + ], + "default_ori": [ + 0.7064676206356674, + -0.030058293254589672, + 0.7064676206356675, + 0.03005829325458969 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.19823414272046924, + -0.04186986178613296, + 0.8579999898910523 + ], + "default_ori": [ + 0.7064676206356674, + -0.030058293254589672, + 0.7064676206356675, + 0.03005829325458969 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.22214740651822923, + -0.04390844202495208, + 0.8579999898910523 + ], + "default_ori": [ + 0.7064676206356674, + -0.030058293254589672, + 0.7064676206356675, + 0.03005829325458969 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.18417336740375537, + -0.03374616917739008, + 0.8031 + ], + "default_ori": [ + 0.9990960905333078, + 0.0, + 0.0, + 0.04250884473918897 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.16764800230402985, + -0.03904855143106707, + 0.845 + ], + "default_ori": [ + 0.7000162812015482, + 0.0, + 0.0, + -0.7141268837207819 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_53.json b/Layouts/RoboDojo/make_toast/make_toast_53.json new file mode 100644 index 0000000000000000000000000000000000000000..060d9fe7b991cc189cd0ec0e4e7c15da87e3a14d --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_53.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.07532032463646537, + -0.1473769119199226, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070278588620644, + 0.010564411622282622, + 0.7070278588620642, + -0.010564411622282624 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.10030916366673119, + -0.1466299785956601, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070278588620644, + 0.010564411622282622, + 0.7070278588620642, + -0.010564411622282624 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.125298002696997, + -0.14588304527139762, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070278588620644, + 0.010564411622282622, + 0.7070278588620642, + -0.010564411622282624 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.1492872881660522, + -0.1451659892801056, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070278588620644, + 0.010564411622282622, + 0.7070278588620642, + -0.010564411622282624 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.11039841491712186, + -0.1394253245649905, + 0.8031 + ], + "default_ori": [ + 0.9998883869803928, + 0.0, + 0.0, + -0.014940334057451064 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.19019579855538776, + -0.05119381983660376, + 0.845 + ], + "default_ori": [ + 0.6511088093273537, + 0.0, + 0.0, + -0.7589843993234089 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_54.json b/Layouts/RoboDojo/make_toast/make_toast_54.json new file mode 100644 index 0000000000000000000000000000000000000000..95f54247bb004253919e68d82af4187420a1f55b --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_54.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.24021135971777863, + -0.204815831252206, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070722107101798, + 0.006992055593265913, + 0.7070722107101796, + -0.006992055593265914 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.2652064706467909, + -0.2043214424353278, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070722107101798, + 0.006992055593265913, + 0.7070722107101796, + -0.006992055593265914 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.2902015815758032, + -0.2038270536184496, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070722107101798, + 0.006992055593265913, + 0.7070722107101796, + -0.006992055593265914 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.314196888067655, + -0.20335244035424652, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070722107101798, + 0.006992055593265913, + 0.7070722107101796, + -0.006992055593265914 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.2753680089534764, + -0.19721910867008824, + 0.8031 + ], + "default_ori": [ + 0.9999511099655969, + 0.0, + 0.0, + -0.009888259633056699 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.1768536514565297, + -0.0490689805703757, + 0.845 + ], + "default_ori": [ + 0.7568082330708469, + 0.0, + 0.0, + -0.6536369775006481 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_55.json b/Layouts/RoboDojo/make_toast/make_toast_55.json new file mode 100644 index 0000000000000000000000000000000000000000..7f6fca271d5abf4728a37fe5a7f2f8a6e9ade626 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_55.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.00806085431947731, + -0.15777501196823, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032284334426572, + -0.07395789611519839, + 0.7032284334426572, + 0.07395789611519844 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.032513877395534754, + -0.1629759415354478, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032284334426572, + -0.07395789611519839, + 0.7032284334426572, + 0.07395789611519844 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.05696690047159218, + -0.16817687110266566, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032284334426572, + -0.07395789611519839, + 0.7032284334426572, + 0.07395789611519844 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.08044180262460733, + -0.17316976348719476, + 0.8579999898910523 + ], + "default_ori": [ + 0.7032284334426572, + -0.07395789611519839, + 0.7032284334426572, + 0.07395789611519844 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.04402397904581955, + -0.15836969090003428, + 0.8031 + ], + "default_ori": [ + 0.9945151875977938, + 0.0, + 0.0, + 0.10459226375466293 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.2243481755736649, + -0.08640376283240064, + 0.845 + ], + "default_ori": [ + 0.7431366935143571, + 0.0, + 0.0, + -0.6691396377084148 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_56.json b/Layouts/RoboDojo/make_toast/make_toast_56.json new file mode 100644 index 0000000000000000000000000000000000000000..d3f34d01943d3f0c57f774cf7a3b4e1f5a3770e7 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_56.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.016973071951191444, + -0.08501168843976577, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016298047271036, + -0.08783858559088185, + 0.7016298047271032, + 0.0878385855908819 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.007255366783816795, + -0.09117470551899988, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016298047271036, + -0.08783858559088185, + 0.7016298047271032, + 0.0878385855908819 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.031483805518825035, + -0.097337722598234, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016298047271036, + -0.08783858559088185, + 0.7016298047271032, + 0.0878385855908819 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.05474310670443295, + -0.10325421899429876, + 0.8579999898910523 + ], + "default_ori": [ + 0.7016298047271036, + -0.08783858559088185, + 0.7016298047271032, + 0.0878385855908819 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.01893847678853532, + -0.08702681713978798, + 0.8031 + ], + "default_ori": [ + 0.9922543855504561, + 0.0, + 0.0, + 0.12422251951996062 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.17492265706408544, + -0.07821745310137765, + 0.845 + ], + "default_ori": [ + 0.7276096102920611, + 0.0, + 0.0, + -0.6859914394587115 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_57.json b/Layouts/RoboDojo/make_toast/make_toast_57.json new file mode 100644 index 0000000000000000000000000000000000000000..137fa00df6678a75fa6a8325663e5709abc90b9d --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_57.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.0024597107601675005, + -0.031775011235098835, + 0.8579999898910523 + ], + "default_ori": [ + 0.702841203880479, + -0.07755154497390228, + 0.702841203880479, + 0.07755154497390226 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.02685828648333874, + -0.03722565334401607, + 0.8579999898910523 + ], + "default_ori": [ + 0.702841203880479, + -0.07755154497390228, + 0.702841203880479, + 0.07755154497390226 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.051256862206509976, + -0.042676295452933305, + 0.8579999898910523 + ], + "default_ori": [ + 0.702841203880479, + -0.07755154497390228, + 0.702841203880479, + 0.07755154497390226 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.07467949490075436, + -0.047908911877493854, + 0.8579999898910523 + ], + "default_ori": [ + 0.702841203880479, + -0.07755154497390228, + 0.702841203880479, + 0.07755154497390226 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.03841487706604145, + -0.03273731019379862, + 0.8031 + ], + "default_ori": [ + 0.9939675630926949, + 0.0, + 0.0, + 0.10967444332919928 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.18869854294478047, + -0.038474938990605695, + 0.845 + ], + "default_ori": [ + 0.75525705042149, + 0.0, + 0.0, + -0.6554287053437856 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_58.json b/Layouts/RoboDojo/make_toast/make_toast_58.json new file mode 100644 index 0000000000000000000000000000000000000000..7c7cf3bd0ad171ccdaaa212b1403c12292195cb7 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_58.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.015282119981789794, + -0.11103282821996238, + 0.8579999898910523 + ], + "default_ori": [ + 0.7040899519190197, + 0.06524829198279974, + 0.7040899519190197, + -0.0652482919827998 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.009292146392321381, + -0.10643876148088005, + 0.8579999898910523 + ], + "default_ori": [ + 0.7040899519190197, + 0.06524829198279974, + 0.7040899519190197, + -0.0652482919827998 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.03386641276643256, + -0.10184469474179772, + 0.8579999898910523 + ], + "default_ori": [ + 0.7040899519190197, + 0.06524829198279974, + 0.7040899519190197, + -0.0652482919827998 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.05745770848557929, + -0.09743439067227867, + 0.8579999898910523 + ], + "default_ori": [ + 0.7040899519190197, + 0.06524829198279974, + 0.7040899519190197, + -0.0652482919827998 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.018148780983382563, + -0.0977635119425936, + 0.8031 + ], + "default_ori": [ + 0.9957335586803262, + 0.0, + 0.0, + -0.09227502434469147 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.17799883255621524, + -0.05564082046470663, + 0.845 + ], + "default_ori": [ + 0.6149592631641401, + 0.0, + 0.0, + -0.7885588783652228 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_59.json b/Layouts/RoboDojo/make_toast/make_toast_59.json new file mode 100644 index 0000000000000000000000000000000000000000..50b1a402173ce5b5228f7f29696aafe2ff67c165 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_59.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.25861917137389145, + -0.15278176778173122, + 0.8579999898910523 + ], + "default_ori": [ + 0.7033588734489, + -0.07270691260598418, + 0.7033588734488998, + 0.07270691260598416 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.2830905422497269, + -0.15789567307746086, + 0.8579999898910523 + ], + "default_ori": [ + 0.7033588734489, + -0.07270691260598418, + 0.7033588734488998, + 0.07270691260598416 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.3075619131255623, + -0.1630095783731905, + 0.8579999898910523 + ], + "default_ori": [ + 0.7033588734489, + -0.07270691260598418, + 0.7033588734488998, + 0.07270691260598416 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3310544291663643, + -0.16791892745709094, + 0.8579999898910523 + ], + "default_ori": [ + 0.7033588734489, + -0.07270691260598418, + 0.7033588734488998, + 0.07270691260598416 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.2945841810706686, + -0.1532485112041772, + 0.8031 + ], + "default_ori": [ + 0.9946996580479293, + 0.0, + 0.0, + 0.10282310187566085 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.1721596957288861, + -0.10390116116139089, + 0.845 + ], + "default_ori": [ + 0.7658651402540115, + 0.0, + 0.0, + -0.6430012340141372 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_6.json b/Layouts/RoboDojo/make_toast/make_toast_6.json new file mode 100644 index 0000000000000000000000000000000000000000..c251e59b83856e899475cb1d0bb089c589aed6e2 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_6.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.027304583389423806, + -0.19864908982278504, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070547175243614, + 0.008580584277631552, + 0.7070547175243611, + -0.008580584277631552 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + 0.002311946053169686, + -0.19804239556403555, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070547175243614, + 0.008580584277631552, + 0.7070547175243611, + -0.008580584277631552 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.022680691283084434, + -0.19743570130528607, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070547175243614, + 0.008580584277631552, + 0.7070547175243611, + -0.008580584277631552 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.04667362312588839, + -0.19685327481688658, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070547175243614, + 0.008580584277631552, + 0.7070547175243611, + -0.008580584277631552 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.00781757331871884, + -0.1908944679682963, + 0.8031 + ], + "default_ori": [ + 0.9999263708638235, + 0.0, + 0.0, + -0.012134778576610595 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.264674827070833, + -0.0909163551657888, + 0.845 + ], + "default_ori": [ + 0.6416698186821314, + 0.0, + 0.0, + -0.7669809931102862 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_60.json b/Layouts/RoboDojo/make_toast/make_toast_60.json new file mode 100644 index 0000000000000000000000000000000000000000..15cf29e58e379f6e8b7fdecc8b05fc91a455df9f --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_60.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.28170311909921886, + -0.13813075646116132, + 0.8579999898910523 + ], + "default_ori": [ + 0.706765515620805, + 0.021966017601231916, + 0.7067655156208046, + -0.021966017601231912 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.30665486913927315, + -0.13657827404617068, + 0.8579999898910523 + ], + "default_ori": [ + 0.706765515620805, + 0.021966017601231916, + 0.7067655156208046, + -0.021966017601231912 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.3316066191793275, + -0.13502579163118, + 0.8579999898910523 + ], + "default_ori": [ + 0.706765515620805, + 0.021966017601231916, + 0.7067655156208046, + -0.021966017601231912 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.35556029921777965, + -0.13353540851278897, + 0.8579999898910523 + ], + "default_ori": [ + 0.706765515620805, + 0.021966017601231916, + 0.7067655156208046, + -0.021966017601231912 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.31650650632838984, + -0.129051965705354, + 0.8031 + ], + "default_ori": [ + 0.9995173775683798, + 0.0, + 0.0, + -0.031064641295675016 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.16602540773623567, + -0.0873102103376409, + 0.845 + ], + "default_ori": [ + 0.6684132865589408, + 0.0, + 0.0, + -0.7437900768035799 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_61.json b/Layouts/RoboDojo/make_toast/make_toast_61.json new file mode 100644 index 0000000000000000000000000000000000000000..42474e8267f6094cae091805a1ea1cc28bfa3b8e --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_61.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.029467624050367028, + -0.09173913494246622, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068699219832497, + -0.01830063920726838, + 0.7068699219832496, + 0.018300639207268384 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.054434132200467736, + -0.09303275205689093, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068699219832497, + -0.01830063920726838, + 0.7068699219832496, + 0.018300639207268384 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.07940064035056844, + -0.09432636917131564, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068699219832497, + -0.01830063920726838, + 0.7068699219832496, + 0.018300639207268384 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.10336848817466511, + -0.09556824160116335, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068699219832497, + -0.01830063920726838, + 0.7068699219832496, + 0.018300639207268384 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.06507737058723405, + -0.08667496568014701, + 0.8031 + ], + "default_ori": [ + 0.9996650305214727, + 0.0, + 0.0, + 0.02588101142735794 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.33837282560920806, + -0.06466536056128391, + 0.845 + ], + "default_ori": [ + 0.7035860703920669, + 0.0, + 0.0, + -0.7106100488666407 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_62.json b/Layouts/RoboDojo/make_toast/make_toast_62.json new file mode 100644 index 0000000000000000000000000000000000000000..32e2a2f8a22a7cf3ff7713563994440987cf7b54 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_62.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.21101380576805068, + -0.15857790720840417, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069115671838121, + -0.016614336632167034, + 0.706911567183812, + 0.01661433663216705 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.2359862028570552, + -0.15975239391630017, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069115671838121, + -0.016614336632167034, + 0.706911567183812, + 0.01661433663216705 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.2609585999460597, + -0.16092688062419616, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069115671838121, + -0.016614336632167034, + 0.706911567183812, + 0.01661433663216705 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.284932101151504, + -0.1620543878637763, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069115671838121, + -0.016614336632167034, + 0.706911567183812, + 0.01661433663216705 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.2465989917009851, + -0.15334390816477533, + 0.8031 + ], + "default_ori": [ + 0.9997239256730702, + 0.0, + 0.0, + 0.023496221756390556 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.08630659826853271, + -0.04661029558885911, + 0.845 + ], + "default_ori": [ + 0.616543316822199, + 0.0, + 0.0, + -0.7873209882137537 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_63.json b/Layouts/RoboDojo/make_toast/make_toast_63.json new file mode 100644 index 0000000000000000000000000000000000000000..7144412096b48994487e7bd0d11d72cdf86d2490 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_63.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.2487679184515513, + -0.13663750817642834, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069651454779156, + 0.01415214045258689, + 0.7069651454779153, + -0.014152140452586889 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.2737478898007906, + -0.13563700118677044, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069651454779156, + 0.01415214045258689, + 0.7069651454779153, + -0.014152140452586889 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.29872786115002997, + -0.13463649419711257, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069651454779156, + 0.01415214045258689, + 0.7069651454779153, + -0.014152140452586889 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3227086336452997, + -0.133676007487041, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069651454779156, + 0.01415214045258689, + 0.7069651454779153, + -0.014152140452586889 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.28376349436879195, + -0.12833031639931142, + 0.8031 + ], + "default_ori": [ + 0.9997996968568411, + 0.0, + 0.0, + -0.020014149119277867 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.28986537651283345, + -0.041753295273236526, + 0.845 + ], + "default_ori": [ + 0.7804689310349682, + 0.0, + 0.0, + -0.6251945678659837 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_64.json b/Layouts/RoboDojo/make_toast/make_toast_64.json new file mode 100644 index 0000000000000000000000000000000000000000..adab4b6e076a12428f3c78733a9ee5d014c96aef --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_64.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.1519527416912732, + -0.13842345613037926, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068280343757916, + -0.019852703101971524, + 0.7068280343757914, + 0.01985270310197153 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.17691332811991548, + -0.13982670080831033, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068280343757916, + -0.019852703101971524, + 0.7068280343757914, + 0.01985270310197153 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.20187391454855777, + -0.1412299454862414, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068280343757916, + -0.019852703101971524, + 0.7068280343757914, + 0.01985270310197153 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.22583607752005433, + -0.14257706037705523, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068280343757916, + -0.019852703101971524, + 0.7068280343757914, + 0.01985270310197153 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.18758438056974058, + -0.13351571684099384, + 0.8031 + ], + "default_ori": [ + 0.9996057924830857, + 0.0, + 0.0, + 0.02807596185818374 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.33526866931665866, + -0.03170081084463905, + 0.845 + ], + "default_ori": [ + 0.6448105528883256, + 0.0, + 0.0, + -0.7643424303830398 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_7.json b/Layouts/RoboDojo/make_toast/make_toast_7.json new file mode 100644 index 0000000000000000000000000000000000000000..b80c5a983dfd51f1fd8ecad64e491a1f93fff519 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_7.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.2409798969004816, + -0.01614154374548782, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071050153435604, + -0.0015802771855672798, + 0.7071050153435601, + 0.0015802771855672791 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.2659796465609735, + -0.01625328593510751, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071050153435604, + -0.0015802771855672798, + 0.7071050153435601, + 0.0015802771855672791 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.29097939622146546, + -0.0163650281247272, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071050153435604, + -0.0015802771855672798, + 0.7071050153435601, + 0.0015802771855672791 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3149791558955377, + -0.016472300626762103, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071050153435604, + -0.0015802771855672798, + 0.7071050153435601, + 0.0015802771855672791 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.27631039845109406, + -0.009399392516325279, + 0.8031 + ], + "default_ori": [ + 0.9999975027210225, + 0.0, + 0.0, + 0.002234849372670873 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.15487726449590872, + -0.04303208706920328, + 0.845 + ], + "default_ori": [ + 0.7859707345544813, + 0.0, + 0.0, + -0.6182637013636569 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_8.json b/Layouts/RoboDojo/make_toast/make_toast_8.json new file mode 100644 index 0000000000000000000000000000000000000000..a31a508e107f033693380e6ab9005c936208a6b7 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_8.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.03238767063593218, + -0.10679385531477341, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069872052426216, + 0.013003523492778215, + 0.7069872052426215, + -0.013003523492778217 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + 0.007404580473654957, + -0.1058745228663803, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069872052426216, + 0.013003523492778215, + 0.7069872052426215, + -0.013003523492778217 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.017578509688622266, + -0.10495519041798719, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069872052426216, + 0.013003523492778215, + 0.7069872052426215, + -0.013003523492778217 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.04156227624440839, + -0.10407263126752982, + 0.8579999898910523 + ], + "default_ori": [ + 0.7069872052426216, + 0.013003523492778215, + 0.7069872052426215, + -0.013003523492778217 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.002634717032975842, + -0.09860042463472735, + 0.8031 + ], + "default_ori": [ + 0.9998308940907207, + 0.0, + 0.0, + -0.018389758610436686 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.1898535294713411, + -0.07664166466481724, + 0.845 + ], + "default_ori": [ + 0.7090215960547835, + 0.0, + 0.0, + -0.7051867669829941 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast/make_toast_9.json b/Layouts/RoboDojo/make_toast/make_toast_9.json new file mode 100644 index 0000000000000000000000000000000000000000..cfbc4905a05f7ad7260810793892ef5147d22c16 --- /dev/null +++ b/Layouts/RoboDojo/make_toast/make_toast_9.json @@ -0,0 +1,442 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.014589640813740177, + -0.12718117667424664, + 0.8579999898910523 + ], + "default_ori": [ + 0.7012054116594646, + 0.09116452522489853, + 0.7012054116594645, + -0.09116452522489862 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.009579261821834165, + -0.1207886709092854, + 0.8579999898910523 + ], + "default_ori": [ + 0.7012054116594646, + 0.09116452522489853, + 0.7012054116594645, + -0.09116452522489862 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.033748164457408504, + -0.11439616514432416, + 0.8579999898910523 + ], + "default_ori": [ + 0.7012054116594646, + 0.09116452522489853, + 0.7012054116594645, + -0.09116452522489862 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.05695031098755987, + -0.10825935960996137, + 0.8579999898910523 + ], + "default_ori": [ + 0.7012054116594646, + 0.09116452522489853, + 0.7012054116594645, + -0.09116452522489862 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.01777251728038447, + -0.11148433916286891, + 0.8031 + ], + "default_ori": [ + 0.9916542037433012, + 0.0, + 0.0, + -0.12892610363397897 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.24372618527631135, + -0.06710810314651378, + 0.845 + ], + "default_ori": [ + 0.6828291988018853, + 0.0, + 0.0, + -0.7305780487145611 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_0.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_0.json new file mode 100644 index 0000000000000000000000000000000000000000..0ec3b6d254a5db10dacd37e6d986d2f46c2cf38e --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_0.json @@ -0,0 +1,677 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.03476037903182016, + -0.034924820708231656, + 0.8579999898910523 + ], + "default_ori": [ + 0.7010612671885053, + 0.0922664600385607, + 0.7010612671885053, + -0.09226646003856075 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.05890906973235117, + -0.028456376390652384, + 0.8579999898910523 + ], + "default_ori": [ + 0.7010612671885053, + 0.0922664600385607, + 0.7010612671885053, + -0.09226646003856075 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.08305776043288217, + -0.02198793207307312, + 0.8579999898910523 + ], + "default_ori": [ + 0.7010612671885053, + 0.0922664600385607, + 0.7010612671885053, + -0.09226646003856075 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.10624050350539194, + -0.015778225528197017, + 0.8579999898910523 + ], + "default_ori": [ + 0.7010612671885053, + 0.0922664600385607, + 0.7010612671885053, + -0.09226646003856075 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "calculator": [ + { + "category_idx": 1, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4736482077014006, + 0.16094451513609212, + 0.7816947085391605 + ], + "default_ori": [ + 0.7053325232404033, + -0.7039925953847948, + 0.057864104843090756, + -0.059600357997366946 + ] + } + ], + "shampoo": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.1612084515205715, + 0.1367188597116803, + 0.7896886376941357 + ], + "default_ori": [ + -0.700356984231636, + 0.7041292632448187, + -0.08299975416433655, + 0.08254160217088462 + ] + } + ], + "gamepad": [ + { + "category_idx": 0, + "physics": { + "mass": 0.22, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.40667467776143107, + -0.06252513547463061, + 0.7881213315101707 + ], + "default_ori": [ + -0.6674195788590452, + 0.7103710089471913, + 0.1605291130151474, + -0.1554173068790419 + ] + } + ], + "tissue": [ + { + "category_idx": 1, + "physics": { + "mass": 0.45, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.24765118677250583, + 0.17806891762451116, + 0.8060060361661949 + ], + "default_ori": [ + 0.9951268897296315, + -0.05936088980676626, + -0.005393648127518887, + 0.07854722565600561 + ] + } + ], + "box": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.34239001037079203, + 0.36033368320491727, + 0.7649000404759948 + ], + "default_ori": [ + 0.9839350600985262, + -3.5646286626477304e-05, + 0.00019679770590569319, + 0.17852662969124508 + ] + } + ], + "stapler": [ + { + "category_idx": 3, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.45312501491156915, + 0.3367921663960032, + 0.799692594638761 + ], + "default_ori": [ + 0.986872360340735, + -0.017821941978792766, + 6.719528517766658e-05, + -0.16051578820915063 + ] + } + ], + "graphics_card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.34713670837790817, + -0.28564238323994967, + 0.7679151314343793 + ], + "default_ori": [ + 0.9989496111779542, + -0.005403404082693598, + 4.86251422069678e-05, + -0.045502474518742925 + ] + } + ], + "sculpture": [ + { + "category_idx": 2, + "physics": { + "mass": 1.4, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5229846685696686, + 0.36263306842772974, + 0.8337125621683963 + ], + "default_ori": [ + 0.9983227362710309, + 0.0010479540385467203, + -0.005848115587579473, + 0.05758832851133417 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.06707303646730377, + -0.01912633917635743, + 0.8031 + ], + "default_ori": [ + 0.9914503513981385, + 0.0, + 0.0, + -0.1304844845662031 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.13823121947633923, + -0.07387841205750227, + 0.845 + ], + "default_ori": [ + 0.6811530242445453, + 0.0, + 0.0, + -0.732141077636346 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_deep_blue", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0306", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0556", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_1.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_1.json new file mode 100644 index 0000000000000000000000000000000000000000..1cabcd3268325e06968ec82522c58556c1f1df51 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_1.json @@ -0,0 +1,674 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.14312915391008352, + -0.09204086699692157, + 0.8579999898910523 + ], + "default_ori": [ + 0.7064526237042252, + 0.03040872344273176, + 0.7064526237042251, + -0.03040872344273176 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.1680366847542951, + -0.08989263476041702, + 0.8579999898910523 + ], + "default_ori": [ + 0.7064526237042252, + 0.03040872344273176, + 0.7064526237042251, + -0.03040872344273176 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.19294421559850666, + -0.08774440252391247, + 0.8579999898910523 + ], + "default_ori": [ + 0.7064526237042252, + 0.03040872344273176, + 0.7064526237042251, + -0.03040872344273176 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.21685544520894978, + -0.08568209957686809, + 0.8579999898910523 + ], + "default_ori": [ + 0.7064526237042252, + 0.03040872344273176, + 0.7064526237042251, + -0.03040872344273176 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "meta_quest": [ + { + "category_idx": 0, + "physics": { + "mass": 0.45, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4143870552929941, + 0.13359592099199358, + 0.8304144247063929 + ], + "default_ori": [ + 0.9949108395370417, + 0.003512423436642139, + -5.221343776269405e-05, + -0.10069797181203646 + ] + } + ], + "garage": [ + { + "category_idx": 4, + "physics": { + "mass": 0.15, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.12175047482368681, + 0.2401317728908544, + 0.8522454425035034 + ], + "default_ori": [ + 0.9737062545849695, + -0.0020240160549830624, + 0.037396091568479325, + 0.22470773345953549 + ] + } + ], + "can": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.32 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5417944992362568, + 0.0660669324338442, + 0.7645000000999999 + ], + "default_ori": [ + 0.9981795466265379, + -0.0003054029971054092, + 8.202986870131158e-05, + 0.060311629861492064 + ] + } + ], + "game_machine": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.05 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.49974004488187324, + -0.33224219717545855, + 0.7689166712439107 + ], + "default_ori": [ + 0.9867516807284249, + 0.03557494343978783, + -0.005534411246733175, + -0.15819264923199378 + ] + } + ], + "racket": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.47027509343359886, + -0.5142190189974963, + 0.7716579458632032 + ], + "default_ori": [ + -0.7003627652051361, + 0.703165961890383, + -0.08682013738401198, + 0.08667116531816735 + ] + } + ], + "piano": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4900233384181893, + -0.11206710500445291, + 0.7849067766106135 + ], + "default_ori": [ + 0.9985513357638361, + -0.0010146904988800021, + 0.0002457681903419314, + 0.0537972103872194 + ] + } + ], + "tissue": [ + { + "category_idx": 2, + "physics": { + "mass": 0.15, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5294251932746662, + -0.13527014305991772, + 0.7829072436546988 + ], + "default_ori": [ + 0.9999329873435164, + -0.004752666067853827, + -0.005143905079117865, + 0.009218092430402261 + ] + } + ], + "ball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.44450833418309094, + 0.38336027430310715, + 0.7647818013684299 + ], + "default_ori": [ + 0.9993513209636442, + 0.0003689646831667781, + -0.0035162025951721173, + -0.03583904954922453 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.17770567348484467, + -0.08213308581140161, + 0.8031 + ], + "default_ori": [ + 0.9990748816693432, + 0.0, + 0.0, + -0.04300442788118221 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.17404613278210315, + -0.11654407349005524, + 0.845 + ], + "default_ori": [ + 0.7230935478504582, + 0.0, + 0.0, + -0.6907501147716424 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_green", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0317", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0379", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_11.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_11.json new file mode 100644 index 0000000000000000000000000000000000000000..9d303ce37095c9e5fb25272ac721bc616eff41f9 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_11.json @@ -0,0 +1,643 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.21499705514088804, + -0.014308014510908603, + 0.8579999898910523 + ], + "default_ori": [ + 0.7063442993139234, + 0.03282881092459493, + 0.7063442993139228, + -0.03282881092459491 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.23988928249255353, + -0.011989170125463484, + 0.8579999898910523 + ], + "default_ori": [ + 0.7063442993139234, + 0.03282881092459493, + 0.7063442993139228, + -0.03282881092459491 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.26478150984421905, + -0.009670325740018366, + 0.8579999898910523 + ], + "default_ori": [ + 0.7063442993139234, + 0.03282881092459493, + 0.7063442993139228, + -0.03282881092459491 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.2886780481018179, + -0.007444235129991053, + 0.8579999898910523 + ], + "default_ori": [ + 0.7063442993139234, + 0.03282881092459493, + 0.7063442993139228, + -0.03282881092459491 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "sculpture": [ + { + "category_idx": 1, + "physics": { + "mass": 3.2, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3902869020492731, + 0.07900610940708544, + 0.8335998185680182 + ], + "default_ori": [ + 0.9849601492289127, + 1.730771104707116e-05, + 9.849082260957715e-05, + -0.17278163800288285 + ] + } + ], + "book": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.04704599837856955, + 0.29644660142862844, + 0.765 + ], + "default_ori": [ + 0.9851629294596479, + 0.0, + 0.0, + 0.17162168399851147 + ] + } + ], + "shampoo": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.45547774399295426, + -0.24008360715806343, + 0.7896886376941357 + ], + "default_ori": [ + -0.6870383520759201, + 0.6907374028009917, + -0.159902529438318, + 0.1590324628111272 + ] + } + ], + "mini_fan": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.27694337623710097, + 0.2796379181657676, + 0.8575830605847898 + ], + "default_ori": [ + 0.7032185844804177, + 0.7003038545262147, + 0.09751129939789992, + 0.07449617618923231 + ] + } + ], + "comb": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.08597828125385734, + 0.08630265240775169, + 0.765007233038835 + ], + "default_ori": [ + 0.9964040820192824, + 0.00010777444303531265, + -9.156634333742603e-05, + 0.08472830303732873 + ] + } + ], + "chocolate": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5538159519687564, + -0.15464020558985403, + 0.7647 + ], + "default_ori": [ + 0.9775289150835845, + 0.0, + 0.0, + -0.21080137612337913 + ] + } + ], + "house": [ + { + "category_idx": 1, + "physics": { + "mass": 1200.0, + "friction": 0.65, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.24860157282667325, + 0.1251334436121417, + 0.8221003566737254 + ], + "default_ori": [ + 0.999414268990974, + -0.00027261747062782855, + -0.0008097401759879018, + 0.03421094763082661 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.24950487248135186, + -0.004163551775327468, + 0.8031 + ], + "default_ori": [ + 0.9989216877130089, + 0.0, + 0.0, + -0.04642695140318802 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.2132733359901551, + -0.09960811128397107, + 0.845 + ], + "default_ori": [ + 0.6308425935593673, + 0.0, + 0.0, + -0.7759108338922011 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_pink", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0297", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0513", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_14.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_14.json new file mode 100644 index 0000000000000000000000000000000000000000..07a3f848d8b01242a601f2fff3ce5a04fbe7a9f9 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_14.json @@ -0,0 +1,669 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.15144160777222154, + -0.020517648529166134, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068918920627675, + -0.01743137791227804, + 0.7068918920627671, + 0.017431377912278036 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.17641122281443117, + -0.02174985851710454, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068918920627675, + -0.01743137791227804, + 0.7068918920627671, + 0.017431377912278036 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.2013808378566408, + -0.022982068505042943, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068918920627675, + -0.01743137791227804, + 0.7068918920627671, + 0.017431377912278036 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.22535166829716202, + -0.024164990093463814, + 0.8579999898910523 + ], + "default_ori": [ + 0.7068918920627675, + -0.01743137791227804, + 0.7068918920627671, + 0.017431377912278036 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "iron": [ + { + "category_idx": 0, + "physics": { + "mass": 1.3, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3305726864790851, + 0.3201301673944642, + 0.8222979921182717 + ], + "default_ori": [ + 0.9999025948978131, + -0.0026865000502081207, + 0.000939491229816714, + -0.013663849762397833 + ] + } + ], + "game_machine": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.05 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4823306575128091, + 0.07379272502885394, + 0.7689166712439107 + ], + "default_ori": [ + 0.9990816620184654, + 0.03598887619776934, + 0.001003543030318673, + 0.02322985815343492 + ] + } + ], + "pokeball": [ + { + "category_idx": 7, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2679987780874777, + 0.34323146252739667, + 0.8047343578181123 + ], + "default_ori": [ + 0.9772160049198255, + 0.03231893266888321, + 0.020078261087922895, + -0.2088090748779013 + ] + } + ], + "racket": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.19704038339662358, + -0.3161814589669475, + 0.7777131983932335 + ], + "default_ori": [ + 0.9974873463242512, + -0.017775564712141922, + 0.0004855700722010701, + 0.06857687251452121 + ] + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.29325674974895394, + 0.07171299859621895, + 0.7713263732154156 + ], + "default_ori": [ + -0.5341333972595385, + -0.5511955049149659, + 0.4358087364388183, + 0.47005933086911533 + ] + } + ], + "cake": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.10274777374574431, + 0.1876924066367009, + 0.7650000204678449 + ], + "default_ori": [ + 0.9904927263314423, + 0.0009052579142369411, + -2.2402972090704803e-05, + -0.13756212811207233 + ] + } + ], + "cap": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.01122436740137983, + -0.01800243171875069, + 0.802797711173963 + ], + "default_ori": [ + 0.6875885782376209, + 0.6988275782067244, + -0.14164556874673181, + -0.1371076068980374 + ] + } + ], + "candle": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.26941567702198566, + 0.13861180335100842, + 0.765 + ], + "default_ori": [ + 0.9894154281819494, + 4.308777813752131e-05, + -0.00029688926012179113, + 0.14511037342568003 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.18703879000798543, + -0.015365915441624784, + 0.8031 + ], + "default_ori": [ + 0.9996961008578635, + 0.0, + 0.0, + 0.024651692225573018 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.18631788975302022, + -0.0827730607441525, + 0.845 + ], + "default_ori": [ + 0.6156609463601684, + 0.0, + 0.0, + -0.7880111668795702 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_lime", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0300", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0081", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_15.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_15.json new file mode 100644 index 0000000000000000000000000000000000000000..471da746617fc4899939eefda6823194274545f8 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_15.json @@ -0,0 +1,670 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.20163259643166903, + -0.14625156497660946, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070757319049269, + 0.006626413140755245, + 0.7070757319049266, + -0.006626413140755242 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.2266282050594652, + -0.1457830273926623, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070757319049269, + 0.006626413140755245, + 0.7070757319049266, + -0.006626413140755242 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.2516238136872614, + -0.1453144898087151, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070757319049269, + 0.006626413140755245, + 0.7070757319049266, + -0.006626413140755242 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.27561959796994573, + -0.1448646937281258, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070757319049269, + 0.006626413140755245, + 0.7070757319049266, + -0.006626413140755242 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "cap": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2535652845807778, + -0.009334488778625728, + 0.802797711173963 + ], + "default_ori": [ + 0.7008127562887362, + 0.7126496332116896, + -0.023536174096584747, + -0.020929152279152513 + ] + } + ], + "mini_fan": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5623569998454286, + 0.21625118069377366, + 0.8564999983882173 + ], + "default_ori": [ + 0.7070347144858583, + 0.7071363899705246, + -0.005275564524101315, + -0.005675113241791547 + ] + } + ], + "book": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5098722053206381, + -0.049938069107832474, + 0.7636000000000001 + ], + "default_ori": [ + 0.997481564553333, + 0.0, + 0.0, + -0.07092621783399251 + ] + } + ], + "box": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2689876566615712, + 0.3051102302110841, + 0.7649 + ], + "default_ori": [ + 0.9970887005608523, + 0.0, + 0.0, + -0.0762503981227058 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 13, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5552925610118421, + -0.05237777302049429, + 0.805 + ], + "default_ori": [ + 0.9779957192552203, + 0.0, + 0.0, + -0.20862495804305 + ] + } + ], + "audio": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.30808964502584485, + 0.14708021525022857, + 0.7720399740406522 + ], + "default_ori": [ + 0.9941983608913719, + 0.0011016625523486488, + -0.0008867556601233175, + 0.10755286702328926 + ] + } + ], + "trophy": [ + { + "category_idx": 0, + "physics": { + "mass": 0.35, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.005197044105658097, + 0.35646009632606473, + 0.8902000134735264 + ], + "default_ori": [ + 0.98033209083322, + 0.00011970226958903254, + -7.530380919943002e-05, + 0.19735493833008183 + ] + } + ], + "toothpaste": [ + { + "category_idx": 1, + "physics": { + "mass": 0.05, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.419602380686824, + -0.43771879055442703, + 0.7778054544084064 + ], + "default_ori": [ + -0.6556863510016272, + 0.7194598120103602, + -0.1700844129135009, + 0.15337627096802703 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.23679707897799085, + -0.1386912057450968, + 0.8031 + ], + "default_ori": [ + 0.9999560896844129, + 0.0, + 0.0, + -0.009371163378075843 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.09335659044507648, + -0.06529756783671187, + 0.845 + ], + "default_ori": [ + 0.7501961701281968, + 0.0, + 0.0, + -0.6612153252345151 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_magenta", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0301", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0118", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_17.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_17.json new file mode 100644 index 0000000000000000000000000000000000000000..83e622d9a90b28c3bfcdc81a5b99da6ecef970a3 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_17.json @@ -0,0 +1,677 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.03627680667897622, + -0.18645648833554204, + 0.8579999898910523 + ], + "default_ori": [ + 0.7048931515649424, + -0.05590746709378851, + 0.7048931515649423, + 0.05590746709378849 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.060964242902006305, + -0.19039736751656947, + 0.8579999898910523 + ], + "default_ori": [ + 0.7048931515649424, + -0.05590746709378851, + 0.7048931515649423, + 0.05590746709378849 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.0856516791250364, + -0.1943382466975969, + 0.8579999898910523 + ], + "default_ori": [ + 0.7048931515649424, + -0.05590746709378851, + 0.7048931515649423, + 0.05590746709378849 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.10935161789914528, + -0.19812149071138319, + 0.8579999898910523 + ], + "default_ori": [ + 0.7048931515649424, + -0.05590746709378851, + 0.7048931515649423, + 0.05590746709378849 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "cup": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.21 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5114975964153341, + 0.15501774566378645, + 0.7652364370958376 + ], + "default_ori": [ + 0.9902246063833436, + -0.008784890562444983, + 0.005214562924696037, + -0.13910737918695223 + ] + } + ], + "balance": [ + { + "category_idx": 0, + "physics": { + "mass": 2.1, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4242808419680798, + 0.1539052625823757, + 0.8453001268002515 + ], + "default_ori": [ + 0.9803083060960681, + 0.0035707638224159507, + -0.0010146209641762043, + 0.1974382060014757 + ] + } + ], + "pokeball": [ + { + "category_idx": 4, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.05957081575369853, + 0.28438794721136407, + 0.8047553286929123 + ], + "default_ori": [ + 0.9988417422414333, + -0.027605581227716728, + 0.023267726176191137, + 0.03180752677854611 + ] + } + ], + "garage": [ + { + "category_idx": 4, + "physics": { + "mass": 0.15, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.15233653621282586, + 0.33233069169951057, + 0.8522454425035034 + ], + "default_ori": [ + 0.9964922170478818, + 0.009181800288396179, + 0.03630783454094897, + -0.07483780500127121 + ] + } + ], + "tissue": [ + { + "category_idx": 3, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3318832799141216, + 0.2542036728472597, + 0.8223004200986137 + ], + "default_ori": [ + 0.9884143950661323, + -0.001756283194049179, + -0.0002354973043043361, + -0.1517690470300649 + ] + } + ], + "ice_cream": [ + { + "category_idx": 0, + "physics": { + "mass": 0.25, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.498949554412377, + 0.36248281141973965, + 0.8352020174570048 + ], + "default_ori": [ + 0.9957913457377482, + -0.0002116431156748881, + -0.002290235437950551, + -0.09162044413030777 + ] + } + ], + "tape_measure": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5313839093703276, + -0.27243797786579094, + 0.7865834893656257 + ], + "default_ori": [ + 0.7359861985161827, + -0.07510818028887283, + -0.6720535941940097, + 0.03204751750613288 + ] + } + ], + "toothpaste": [ + { + "category_idx": 1, + "physics": { + "mass": 0.05, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3516542130671795, + -0.07012033789414379, + 0.7778054544084064 + ], + "default_ori": [ + -0.6710709872577846, + 0.7366027540078826, + -0.06298818462311823, + 0.05579069319115133 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.07222315099105424, + -0.1852072770163012, + 0.8031 + ], + "default_ori": [ + 0.9968694547260192, + 0.0, + 0.0, + 0.07906510124099753 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.16101248643752325, + -0.11206998164966017, + 0.845 + ], + "default_ori": [ + 0.7402798001600087, + 0.0, + 0.0, + -0.6722989048593323 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_purple", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0306", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0206", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_18.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_18.json new file mode 100644 index 0000000000000000000000000000000000000000..d323ead9f5e8a5def50e2a756b420b38ac3f0906 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_18.json @@ -0,0 +1,674 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.24559538741781778, + -0.0579652327746908, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070939765609334, + -0.004255386145369207, + 0.7070939765609335, + 0.0042553861453692105 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.27059357692673275, + -0.0582661285699169, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070939765609334, + -0.004255386145369207, + 0.7070939765609335, + 0.0042553861453692105 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.29559176643564766, + -0.058567024365142994, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070939765609334, + -0.004255386145369207, + 0.7070939765609335, + 0.0042553861453692105 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.319590028364206, + -0.058855884328560044, + 0.8579999898910523 + ], + "default_ori": [ + 0.7070939765609334, + -0.004255386145369207, + 0.7070939765609335, + 0.0042553861453692105 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "garage": [ + { + "category_idx": 6, + "physics": { + "mass": 0.45, + "friction": 0.32, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5336406307967839, + 0.056730093895204003, + 0.8499 + ], + "default_ori": [ + 0.9947962537594319, + 0.0, + 0.0, + 0.10188431432855544 + ] + } + ], + "plant": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.09065271362850695, + 0.29649484134358944, + 0.7655059216187868 + ], + "default_ori": [ + 0.9954371560436998, + 0.008192710705982858, + 0.0163475141264072, + 0.09365098312781299 + ] + } + ], + "tissue": [ + { + "category_idx": 1, + "physics": { + "mass": 0.45, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.13517756182827126, + 0.06172359717516672, + 0.8060060361661949 + ], + "default_ori": [ + 0.9678199706109875, + -0.057958925364332156, + 0.013912931013496352, + -0.24448251022879502 + ] + } + ], + "magic_potion": [ + { + "category_idx": 0, + "physics": { + "mass": 0.32, + "friction": 0.65, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.15861547766396342, + 0.13470041572480426, + 0.8801821179125787 + ], + "default_ori": [ + 0.9891205660126129, + 0.0017736438935429311, + 0.0017617124519814465, + 0.1470858811968839 + ] + } + ], + "keyboard": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.19148881187864475, + -0.295093831195346, + 0.7793985725095364 + ], + "default_ori": [ + 0.9962375446253402, + -0.010616279848099836, + 0.0008913017367687524, + 0.08600729540146158 + ] + } + ], + "book_shelf": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5006200008279001, + 0.4029250949502597, + 0.7646996401480936 + ], + "default_ori": [ + 0.9943744140875143, + -0.00036600750687207687, + -0.00034064415438005624, + 0.10592107726122296 + ] + } + ], + "pencil_case": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5176730486556324, + 0.015119277304326962, + 0.7815 + ], + "default_ori": [ + 0.9731127130056586, + 0.0, + 0.0, + 0.23032943317510876 + ] + } + ], + "pokeball": [ + { + "category_idx": 5, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5477075556735311, + 0.2861686386518871, + 0.8048566320568888 + ], + "default_ori": [ + 0.9695632939508108, + -0.14159971893513532, + -0.14561688401912118, + -0.13671964639109568 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.2809758898079315, + -0.05149059890026915, + 0.8031 + ], + "default_ori": [ + 0.9999818915239413, + 0.0, + 0.0, + 0.006018024941821394 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.28644686173603284, + -0.061625107422810334, + 0.845 + ], + "default_ori": [ + 0.7802215724228808, + 0.0, + 0.0, + -0.6255032357438028 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_red", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0307", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0243", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_2.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_2.json new file mode 100644 index 0000000000000000000000000000000000000000..a6d74a985ee660dc4148af3c5c06f0ec24654188 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_2.json @@ -0,0 +1,644 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.1931884527920527, + -0.08615948132776452, + 0.8579999898910523 + ], + "default_ori": [ + 0.7040138628440037, + -0.0660642181779541, + 0.7040138628440038, + 0.06606421817795409 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.21775200523126553, + -0.09081049397193623, + 0.8579999898910523 + ], + "default_ori": [ + 0.7040138628440037, + -0.0660642181779541, + 0.7040138628440038, + 0.06606421817795409 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.24231555767047833, + -0.09546150661610794, + 0.8579999898910523 + ], + "default_ori": [ + 0.7040138628440037, + -0.0660642181779541, + 0.7040138628440038, + 0.06606421817795409 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.26589656801212264, + -0.09992647875451278, + 0.8579999898910523 + ], + "default_ori": [ + 0.7040138628440037, + -0.0660642181779541, + 0.7040138628440038, + 0.06606421817795409 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "baseball_bat": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.24329964816198554, + -0.29013634405330035, + 0.7713263732154156 + ], + "default_ori": [ + -0.5468761724876576, + -0.5629885519695412, + 0.42046358908483733, + 0.4551710805514628 + ] + } + ], + "toy_plane": [ + { + "category_idx": 2, + "physics": { + "mass": 0.45, + "friction": 0.32, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5293477002051142, + 0.05379176774568542, + 0.8110694266353823 + ], + "default_ori": [ + 0.9851243540564479, + 0.005020430559548154, + 0.005521066091057024, + -0.1716808671666157 + ] + } + ], + "racket": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4438011066766547, + -0.10215248661345781, + 0.7777131983932335 + ], + "default_ori": [ + 0.9742016220264461, + -0.017629821449126448, + -0.0023229022369620706, + 0.2249777614830204 + ] + } + ], + "plant": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.07488151336628392, + 0.15800471210039269, + 0.7655959982749213 + ], + "default_ori": [ + 0.999974083182906, + -0.000799980911730231, + -5.483946353638936e-06, + 0.007154925783947506 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 10, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4767860784207729, + 0.3430893116091944, + 0.805 + ], + "default_ori": [ + 0.9742954552423475, + 0.0, + 0.0, + -0.22527397962060966 + ] + } + ], + "sculpture": [ + { + "category_idx": 2, + "physics": { + "mass": 1.4, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.27265498090266643, + 0.1712211075000927, + 0.8337125621683963 + ], + "default_ori": [ + 0.995602169416842, + 0.00015481307810962755, + -0.005939250500142473, + -0.09349343072582879 + ] + } + ], + "stapler": [ + { + "category_idx": 0, + "physics": { + "mass": 0.12, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.47849101480481476, + 0.37841159022849824, + 0.7987996524041738 + ], + "default_ori": [ + 0.9691816995832181, + 0.0005107298906874436, + 0.0003862056107289153, + -0.24634614507475006 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.22915587490253425, + -0.08594716839502639, + 0.8031 + ], + "default_ori": [ + 0.995625952395363, + 0.0, + 0.0, + 0.09342891906056881 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.12318692198026623, + -0.0502365468905107, + 0.845 + ], + "default_ori": [ + 0.762849038222627, + 0.0, + 0.0, + -0.6465766349651163 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_lime", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0030", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0490", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_20.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_20.json new file mode 100644 index 0000000000000000000000000000000000000000..83bad25a50afb66d6990d37450de940937a96bbe --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_20.json @@ -0,0 +1,670 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.2975562160974892, + -0.021476994944645895, + 0.8579999898910523 + ], + "default_ori": [ + 0.704604474685416, + 0.05943512642612288, + 0.7046044746854158, + -0.05943512642612288 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.32220296320976344, + -0.01728916924996568, + 0.8579999898910523 + ], + "default_ori": [ + 0.704604474685416, + 0.05943512642612288, + 0.7046044746854158, + -0.05943512642612288 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.3468497103220376, + -0.013101343555285465, + 0.8579999898910523 + ], + "default_ori": [ + 0.704604474685416, + 0.05943512642612288, + 0.7046044746854158, + -0.05943512642612288 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3705105875498208, + -0.00908103088839246, + 0.8579999898910523 + ], + "default_ori": [ + 0.704604474685416, + 0.05943512642612288, + 0.7046044746854158, + -0.05943512642612288 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "minecraft_blocks": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.057541704601932094, + -0.03376020478271126, + 0.8049999792000057 + ], + "default_ori": [ + 0.9919302605155753, + -0.000508639911774074, + 3.585205643308678e-05, + 0.12678366721929635 + ] + } + ], + "phone_stand": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.1858663613156647, + 0.10252648352907737, + 0.8412968630517244 + ], + "default_ori": [ + 0.706155099364971, + 0.7079305271640962, + -0.010067356285694957, + -0.008831346863848217 + ] + } + ], + "shampoo": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4974240157959293, + -0.22980668684987554, + 0.7896886376941357 + ], + "default_ori": [ + -0.7048051552939226, + 0.7086025267812345, + -0.023862891448468957, + 0.023721604542654488 + ] + } + ], + "racket": [ + { + "category_idx": 4, + "physics": { + "mass": 0.09, + "friction": 0.65, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.08876123824059726, + -0.22961758082117215, + 0.7690007313579938 + ], + "default_ori": [ + -0.6826027067185304, + 0.6935037680901778, + 0.16488355095377588, + -0.1609952889066467 + ] + } + ], + "box": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.426860561886818, + -0.28621370330389073, + 0.7657016805597984 + ], + "default_ori": [ + 0.9724565580441002, + 0.00014792272231230303, + 0.00024107853206728813, + 0.23308402501465256 + ] + } + ], + "monitor": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.48419100089472533, + 0.28816191505774114, + 0.765 + ], + "default_ori": [ + 0.9994121917149124, + 0.0, + 0.0, + 0.03428222646788645 + ] + } + ], + "pen": [ + { + "category_idx": 2, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.35938711035494214, + 0.22145816102748672, + 0.7715255368825626 + ], + "default_ori": [ + 0.641267724326743, + 0.7649352104479741, + -0.012433221519748669, + -0.05912059333561336 + ] + } + ], + "calculator": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.11328237928744944, + -0.2584456572773892, + 0.7656013461123851 + ], + "default_ori": [ + 0.9991852693321757, + 0.0033972571259668987, + 0.00013605118750905311, + 0.040214893804190154 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.33120158674186034, + -0.008761282663687904, + 0.8031 + ], + "default_ori": [ + 0.9964612038254802, + 0.0, + 0.0, + -0.08405396641845608 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.2672975546739768, + -0.11840288195816599, + 0.845 + ], + "default_ori": [ + 0.7394192479915074, + 0.0, + 0.0, + -0.6732452567227443 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_yellow", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0309", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0325", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_23.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_23.json new file mode 100644 index 0000000000000000000000000000000000000000..3bf2dc4ed063b40be8ba89c285a5d61889e9aea3 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_23.json @@ -0,0 +1,671 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.28533317175230577, + -0.1267098973116601, + 0.8579999898910523 + ], + "default_ori": [ + 0.7065731958806712, + -0.027464865974087434, + 0.7065731958806711, + 0.02746486597408744 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.3102577405842264, + -0.12865049118015415, + 0.8579999898910523 + ], + "default_ori": [ + 0.7065731958806712, + -0.027464865974087434, + 0.7065731958806711, + 0.02746486597408744 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.335182309416147, + -0.13059108504864816, + 0.8579999898910523 + ], + "default_ori": [ + 0.7065731958806712, + -0.027464865974087434, + 0.7065731958806711, + 0.02746486597408744 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.35910989549479083, + -0.13245405516240244, + 0.8579999898910523 + ], + "default_ori": [ + 0.7065731958806712, + -0.027464865974087434, + 0.7065731958806711, + 0.02746486597408744 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "book": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.34320949666791156, + -0.025227764778709874, + 0.7659983199202184 + ], + "default_ori": [ + 0.9846854457538319, + -0.0001969475318422352, + 3.480897156269393e-05, + -0.174340279111233 + ] + } + ], + "pokeball": [ + { + "category_idx": 4, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3586703291376054, + 0.09533549881470517, + 0.8047553286929123 + ], + "default_ori": [ + 0.9813544750804996, + -0.030926790559871985, + 0.01862763597443566, + 0.1887854312258943 + ] + } + ], + "darts_board": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.20852738783524002, + 0.2771587031486273, + 0.770899999764 + ], + "default_ori": [ + 0.9683306908595168, + 7.182941357634332e-05, + -0.0001218217269015625, + -0.24967108991537912 + ] + } + ], + "racket": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.511943192940371, + 0.1724761700835718, + 0.7777131983932335 + ], + "default_ori": [ + 0.9913650280921955, + -0.01777170129523993, + -0.0006108291113967144, + 0.12991987760396695 + ] + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.34408630242223, + -0.29608468790182974, + 0.7781030694047488 + ], + "default_ori": [ + 0.9152125565633114, + 0.06246354494897015, + 0.3464172486221456, + -0.19616159593130916 + ] + } + ], + "power_bank": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.22 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.47245226938696444, + -0.4215650936557249, + 0.7739 + ], + "default_ori": [ + 0.9829731696490399, + 0.0, + 0.0, + 0.18374914353574498 + ] + } + ], + "eraser": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.12948381487642463, + -0.34492611492471653, + 0.7722034910034408 + ], + "default_ori": [ + 0.7089859746395765, + -0.6982931735478747, + 0.07054705560344507, + -0.06891040913020334 + ] + } + ], + "kettle": [ + { + "category_idx": 1, + "physics": { + "mass": 1.1, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5233828611763592, + 0.08098989922896008, + 0.8679 + ], + "default_ori": [ + 0.9877033196061554, + 0.0, + 0.0, + -0.1563398619641864 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.3210622792898079, + -0.12257083625495611, + 0.8031 + ], + "default_ori": [ + 0.9992453964389154, + 0.0, + 0.0, + 0.03884118555907849 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.09142817132607832, + -0.05847890980752768, + 0.845 + ], + "default_ori": [ + 0.733202448025694, + 0.0, + 0.0, + -0.6800104191915957 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_pink", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0312", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0453", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_24.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_24.json new file mode 100644 index 0000000000000000000000000000000000000000..194f83fb099bb9a3e96ee756b632ab791156853b --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_24.json @@ -0,0 +1,670 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.0026442417332026074, + -0.126932150340175, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071035962871132, + 0.0021222907038267185, + 0.7071035962871132, + -0.002122290703826721 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.02764379171813456, + -0.12678208239888933, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071035962871132, + 0.0021222907038267185, + 0.7071035962871132, + -0.002122290703826721 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.052643341703066504, + -0.12663201445760366, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071035962871132, + 0.0021222907038267185, + 0.7071035962871132, + -0.002122290703826721 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.07664290968860117, + -0.12648794923396942, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071035962871132, + 0.0021222907038267185, + 0.7071035962871132, + -0.002122290703826721 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "pen": [ + { + "category_idx": 2, + "physics": { + "type": "rigid", + "mass": 0.018 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4698364881743005, + -0.054375974682819475, + 0.7715255368825626 + ], + "default_ori": [ + 0.6431121133004243, + 0.7648242437054759, + 0.018009370360800084, + -0.03356111657583304 + ] + } + ], + "racket": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.1936590860476983, + 0.1988111251423554, + 0.7653839543010679 + ], + "default_ori": [ + 0.9855633819385945, + -0.006704778580107538, + 0.0005421224233318261, + -0.1691732018649228 + ] + } + ], + "game_machine": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.05 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.502653113882574, + 0.055130925796870185, + 0.7689166712439107 + ], + "default_ori": [ + 0.9777782420032352, + 0.0351908248092668, + 0.007603430662244653, + 0.20652724555484442 + ] + } + ], + "bowl": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3438406991915695, + 0.2972059373425926, + 0.7648 + ], + "default_ori": [ + 0.9977566705195299, + 0.0, + 0.0, + 0.06694495077137903 + ] + } + ], + "headphones": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2807108580661858, + 0.1435582668476632, + 0.8207189283576608 + ], + "default_ori": [ + -0.6334338632332723, + 0.7686798437183178, + -0.06975285470831998, + 0.05502161421291372 + ] + } + ], + "book": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.46273208543797134, + -0.19341044693348458, + 0.7653 + ], + "default_ori": [ + 0.9788949323979165, + 0.0, + 0.0, + -0.20436416350641945 + ] + } + ], + "hammer": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.09774033038990099, + -0.20352461238749667, + 0.7645765963079757 + ], + "default_ori": [ + 0.9956182919014966, + 0.005164810093901452, + 0.0037420552864421554, + -0.09329275743632756 + ] + } + ], + "eraser": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.18842527899071843, + -0.2575372682868087, + 0.7722034910034408 + ], + "default_ori": [ + 0.7122330821187332, + -0.7017933934160281, + -0.00873362670910352, + 0.011566912196957501 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.037902189045332255, + -0.11982038146692327, + 0.8031 + ], + "default_ori": [ + 0.9999954958722, + 0.0, + 0.0, + -0.0030013722382954294 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.28987361658583966, + -0.08951694567563381, + 0.845 + ], + "default_ori": [ + 0.7639228812983363, + 0.0, + 0.0, + -0.6453075479403972 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_deep_blue", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0313", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0490", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_26.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_26.json new file mode 100644 index 0000000000000000000000000000000000000000..399067c273d455591a1da0cfc30f50c3d2ccf916 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_26.json @@ -0,0 +1,671 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.1166926533276989, + -0.03139971905264913, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055663830303872, + -0.04664846339823988, + 0.7055663830303871, + 0.046648463398239894 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.14147504571032068, + -0.03469107785139142, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055663830303872, + -0.04664846339823988, + 0.7055663830303871, + 0.046648463398239894 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.16625743809294244, + -0.03798243665013372, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055663830303872, + -0.04664846339823988, + 0.7055663830303871, + 0.046648463398239894 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.19004853478025935, + -0.04114214109692632, + 0.8579999898910523 + ], + "default_ori": [ + 0.7055663830303872, + -0.04664846339823988, + 0.7055663830303871, + 0.046648463398239894 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "garage": [ + { + "category_idx": 8, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4894229217753518, + 0.24070052498312935, + 0.8397108576761542 + ], + "default_ori": [ + 0.9900579805136855, + -0.00024015562770088268, + 0.00026893354640802766, + 0.14065939435809058 + ] + } + ], + "toothpaste": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3793868517464868, + 0.18980545319247674, + 0.7786688472111792 + ], + "default_ori": [ + -0.6804950628343659, + 0.7181553212353325, + -0.11500170235408326, + 0.08918527061735856 + ] + } + ], + "chocolate": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5280597758119462, + 0.03963335986628014, + 0.7647 + ], + "default_ori": [ + 0.9982307107138634, + 0.0, + 0.0, + -0.05945963494418057 + ] + } + ], + "calculator": [ + { + "category_idx": 1, + "physics": { + "mass": 0.12, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5502475736137761, + -0.16315531663530955, + 0.7816947085391605 + ], + "default_ori": [ + 0.7032828924886974, + -0.7019944235172879, + 0.07847074828585576, + -0.08024552415443321 + ] + } + ], + "book": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.426845027600006, + -0.1699837721383406, + 0.7659983199202184 + ], + "default_ori": [ + 0.9980734046104518, + -0.00019961838558728407, + 1.2348883979010626e-05, + -0.062043847473434055 + ] + } + ], + "plier": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.38231607589094024, + -0.23290331855636875, + 0.7652063769359179 + ], + "default_ori": [ + 0.9899554197738509, + 0.002602203033801504, + -0.0008766313476615517, + -0.14135319917578748 + ] + } + ], + "cup": [ + { + "category_idx": 2, + "physics": { + "type": "rigid", + "mass": 0.15 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.15305965361369184, + 0.1579971978383446, + 0.7648483709295113 + ], + "default_ori": [ + 0.9777248233774903, + -7.914585767678693e-05, + 0.001312908812346144, + 0.20988673078076955 + ] + } + ], + "comb": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3064934750957768, + 0.08630954659070177, + 0.765007233038835 + ], + "default_ori": [ + 0.999903028852263, + 9.822131567383926e-05, + -0.00010174624784757054, + -0.013925260943510234 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.15259380254892177, + -0.02920717809597907, + 0.8031 + ], + "default_ori": [ + 0.9978215477470046, + 0.0, + 0.0, + 0.06597089397432965 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.060973747313799335, + -0.070384230951133, + 0.845 + ], + "default_ori": [ + 0.7630513145485103, + 0.0, + 0.0, + -0.6463379080371123 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_lime", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0315", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0022", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_27.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_27.json new file mode 100644 index 0000000000000000000000000000000000000000..0b8f2fdfd05d92ea8b16df2b29db01ce82c9c9ed --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_27.json @@ -0,0 +1,670 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.2071335517936175, + -0.09238778162727043, + 0.8579999898910523 + ], + "default_ori": [ + 0.7029280078526638, + 0.07676076977392374, + 0.7029280078526633, + -0.07676076977392367 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.2315443300776904, + -0.08699205215999767, + 0.8579999898910523 + ], + "default_ori": [ + 0.7029280078526638, + 0.07676076977392374, + 0.7029280078526633, + -0.07676076977392367 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.25595510836176333, + -0.08159632269272492, + 0.8579999898910523 + ], + "default_ori": [ + 0.7029280078526638, + 0.07676076977392374, + 0.7029280078526633, + -0.07676076977392367 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.27938945551447325, + -0.07641642240414306, + 0.8579999898910523 + ], + "default_ori": [ + 0.7029280078526638, + 0.07676076977392374, + 0.7029280078526633, + -0.07676076977392367 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.012 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.21901739815206137, + 0.0362522125056521, + 0.7759905181449079 + ], + "default_ori": [ + 0.7987307104870129, + -0.5795300562799998, + 0.09553162602996615, + -0.13056750905597728 + ] + } + ], + "monitor": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5464329310992162, + 0.3366525191103158, + 0.765 + ], + "default_ori": [ + 0.9995663695081589, + 0.0, + 0.0, + -0.029446102429332554 + ] + } + ], + "puzzle_pieces": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.05596460200361704, + 0.34013873118360627, + 0.7651999996400003 + ], + "default_ori": [ + 0.9996684219211235, + -0.0003230595082849083, + 0.0008919819191594874, + 0.02573220189841257 + ] + } + ], + "office_mail": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.05665736711789682, + 0.18386833407345013, + 0.7649892800027872 + ], + "default_ori": [ + 0.9987818920414196, + -0.00050432498303945, + 7.520800411044148e-05, + 0.04934037018740098 + ] + } + ], + "card": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.06477893063305182, + -0.07382883856047578, + 0.7652999844004095 + ], + "default_ori": [ + 0.9677304072531434, + -0.00028940533234232083, + -0.0050907329601469955, + -0.2519362212151075 + ] + } + ], + "toy_car": [ + { + "category_idx": 0, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5450237921942549, + 0.374711035565313, + 0.7937309890088791 + ], + "default_ori": [ + 0.9998391886865324, + -0.010886740430626093, + 0.006558587472324133, + 0.012651505041723767 + ] + } + ], + "calendar": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.47661584076585084, + 0.20819540927360886, + 0.765401379635816 + ], + "default_ori": [ + 0.9918796949006994, + -0.007052993935452146, + 0.0008200118334447143, + -0.12698131240790897 + ] + } + ], + "toy": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.38903886295465556, + 0.01860715583030234, + 0.8170615560928621 + ], + "default_ori": [ + 0.9872763503204769, + 0.007847031319214166, + 0.08043755628081445, + 0.13694389996244852 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.24011234943726015, + -0.07803164021714709, + 0.8031 + ], + "default_ori": [ + 0.9940903221514256, + 0.0, + 0.0, + -0.10855612099220864 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.11446801899896003, + -0.038584271429803765, + 0.845 + ], + "default_ori": [ + 0.654264557028857, + 0.0, + 0.0, + -0.7562657531687084 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_magenta", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0316", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0060", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_29.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_29.json new file mode 100644 index 0000000000000000000000000000000000000000..0d803d9b16adb01cb4f99901988bf6c415a3e973 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_29.json @@ -0,0 +1,670 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.17793233293728192, + -0.12075836845377766, + 0.8579999898910523 + ], + "default_ori": [ + 0.7028847945455815, + 0.07715546381570094, + 0.7028847945455813, + -0.07715546381570099 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.20233703601793607, + -0.11533522830048881, + 0.8579999898910523 + ], + "default_ori": [ + 0.7028847945455815, + 0.07715546381570094, + 0.7028847945455813, + -0.07715546381570099 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.22674173909859022, + -0.10991208814719998, + 0.8579999898910523 + ], + "default_ori": [ + 0.7028847945455815, + 0.07715546381570094, + 0.7028847945455813, + -0.07715546381570099 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.2501702540560182, + -0.10470587360004269, + 0.8579999898910523 + ], + "default_ori": [ + 0.7028847945455815, + 0.07715546381570094, + 0.7028847945455813, + -0.07715546381570099 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "audio": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.11981346973971564, + 0.18978631675590757, + 0.7647990833806197 + ], + "default_ori": [ + 0.9971743454302019, + 0.00012229484140493927, + -0.0010124419638636868, + -0.07511514375337372 + ] + } + ], + "toy_car": [ + { + "category_idx": 1, + "physics": { + "mass": 0.045, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.39294332457160297, + 0.3978882125708366, + 0.7948002807175407 + ], + "default_ori": [ + 0.9996600132875241, + 0.0019051802479671724, + 0.000142141613147693, + -0.026003998115134874 + ] + } + ], + "book": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4495849911012438, + -0.10708865175076548, + 0.7653 + ], + "default_ori": [ + 0.9937089762983851, + 0.0, + 0.0, + 0.11199317132761095 + ] + } + ], + "ball": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.003963909373214711, + 0.3834779819660749, + 0.7683537298662597 + ], + "default_ori": [ + 0.9539665870028038, + 0.001006378874725676, + 0.21768660300669798, + -0.20629900861416367 + ] + } + ], + "helmets": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.3021909091566275, + 0.18131495070347559, + 0.8036226725165769 + ], + "default_ori": [ + 0.9180898637912698, + -0.2290685985053473, + -0.07987466954041668, + 0.313462304509383 + ] + } + ], + "pokeball": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4734449097548806, + 0.1707087305176972, + 0.8047909608082155 + ], + "default_ori": [ + 0.9931592588859889, + 0.02836995897145095, + 0.11106739191246724, + -0.022223104435565594 + ] + } + ], + "box": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.16687778717280213, + 0.3779261762656705, + 0.7649 + ], + "default_ori": [ + 0.9986365808770798, + 0.0, + 0.0, + -0.05220133460109572 + ] + } + ], + "garage": [ + { + "category_idx": 16, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5471934068857289, + 0.34665671210566096, + 0.8221702238862089 + ], + "default_ori": [ + 0.9943123277284289, + 0.00278419331485574, + -0.0002969930403466798, + -0.10646668488307931 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.21089499297578898, + -0.10636519871742998, + 0.8031 + ], + "default_ori": [ + 0.9940292096226346, + 0.0, + 0.0, + -0.10911429978238611 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.13546274523300805, + -0.10093241331324582, + 0.845 + ], + "default_ori": [ + 0.6926304077696281, + 0.0, + 0.0, + -0.7212926716894319 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_purple", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0319", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0135", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_3.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_3.json new file mode 100644 index 0000000000000000000000000000000000000000..55862c620ea655d273f6426d11d397c76aa1828f --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_3.json @@ -0,0 +1,674 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.23390231928131958, + -0.10568923837621014, + 0.8579999898910523 + ], + "default_ori": [ + 0.7036591243942949, + 0.0697412120388926, + 0.7036591243942947, + -0.06974121203889254 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.25841593494913956, + -0.10078183448989193, + 0.8579999898910523 + ], + "default_ori": [ + 0.7036591243942949, + 0.0697412120388926, + 0.7036591243942947, + -0.06974121203889254 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.2829295506169595, + -0.09587443060357373, + 0.8579999898910523 + ], + "default_ori": [ + 0.7036591243942949, + 0.0697412120388926, + 0.7036591243942947, + -0.06974121203889254 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.3064626216580667, + -0.09116332287270824, + 0.8579999898910523 + ], + "default_ori": [ + 0.7036591243942949, + 0.0697412120388926, + 0.7036591243942947, + -0.06974121203889254 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "toy_plane": [ + { + "category_idx": 1, + "physics": { + "mass": 0.45, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.43071438037026744, + 0.09519794321656726, + 0.8105987658350451 + ], + "default_ori": [ + 0.9974020960888572, + -0.001147213815121213, + 0.006299381300773017, + -0.07174998545814432 + ] + } + ], + "card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.06946557607045409, + 0.3181118599934436, + 0.7673 + ], + "default_ori": [ + 0.9996783827988976, + 0.0, + 0.0, + 0.025360026904181647 + ] + } + ], + "wrench": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.35 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5019990017281444, + -0.2913302481564906, + 0.7649099444727391 + ], + "default_ori": [ + 0.9950618104102001, + -0.002394703689353006, + 0.01513793882332161, + 0.09806682245079888 + ] + } + ], + "cap": [ + { + "category_idx": 1, + "physics": { + "mass": 0.12, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.26592584593911056, + 0.23537420731160755, + 0.8103999694160912 + ], + "default_ori": [ + 0.999996164246034, + 0.0016993436829509745, + -0.0003036810281217482, + -0.002165987557610581 + ] + } + ], + "toy_car": [ + { + "category_idx": 1, + "physics": { + "mass": 0.045, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.016659022572257733, + 0.00028178868100790837, + 0.7948002807175407 + ], + "default_ori": [ + 0.9994139003663335, + 0.00189317917438019, + 0.00025649294166823887, + 0.03417902629591842 + ] + } + ], + "office_mail": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.0886337492580007, + -0.3063621450224183, + 0.7655999377952247 + ], + "default_ori": [ + 0.9987228883707546, + 0.0003600543509740822, + 0.0071908047962694335, + -0.0500075487464003 + ] + } + ], + "ball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5338221574286175, + 0.36455903763725794, + 0.7647818013684299 + ], + "default_ori": [ + 0.9959457776400309, + 0.0008074110670991121, + -0.0034420782960945797, + 0.08988608449235391 + ] + } + ], + "hammer": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5268081608103127, + -0.1459439397655675, + 0.7645765963079757 + ], + "default_ori": [ + 0.9925819613305221, + 0.005268563922433001, + 0.0035945062620745824, + -0.12140993287281321 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.26716111358910843, + -0.09199422872174651, + 0.8031 + ], + "default_ori": [ + 0.9951242773673729, + 0.0, + 0.0, + -0.0986289642755314 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.3196689362556262, + -0.030788329131942932, + 0.845 + ], + "default_ori": [ + 0.6743232356242219, + 0.0, + 0.0, + -0.7384363032092072 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_magenta", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0289", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0190", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_31.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_31.json new file mode 100644 index 0000000000000000000000000000000000000000..f1771dde000fbd98cfd2a110a53a5075812b5233 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_31.json @@ -0,0 +1,646 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.016172447953721872, + -0.024964643573028588, + 0.8579999898910523 + ], + "default_ori": [ + 0.705730629796786, + 0.04409396973092489, + 0.7057306297967856, + -0.04409396973092486 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.04097802058269679, + -0.02185279701427891, + 0.8579999898910523 + ], + "default_ori": [ + 0.705730629796786, + 0.04409396973092489, + 0.7057306297967856, + -0.04409396973092486 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.06578359321167171, + -0.01874095045552924, + 0.8579999898910523 + ], + "default_ori": [ + 0.705730629796786, + 0.04409396973092489, + 0.7057306297967856, + -0.04409396973092486 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.08959694293548763, + -0.01575357775912955, + 0.8579999898910523 + ], + "default_ori": [ + 0.705730629796786, + 0.04409396973092489, + 0.7057306297967856, + -0.04409396973092486 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "minecraft_blocks": [ + { + "category_idx": 5, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.42708212422546354, + 0.382925205486646, + 0.8049999936000007 + ], + "default_ori": [ + 0.9922477219298775, + -0.00017354979387942577, + 0.00022333933698390443, + -0.12427541319576496 + ] + } + ], + "stapler": [ + { + "category_idx": 4, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.554830013858894, + 0.044898113739977284, + 0.7993 + ], + "default_ori": [ + 0.9982987357231355, + 0.0, + 0.0, + -0.05830638261450638 + ] + } + ], + "ice_cream": [ + { + "category_idx": 0, + "physics": { + "mass": 0.25, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.1583236292630651, + 0.14150771643806, + 0.8352020174570048 + ], + "default_ori": [ + 0.9988345448007646, + 0.000109965439135515, + -0.002297363439217413, + 0.048210601961392166 + ] + } + ], + "garage": [ + { + "category_idx": 9, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.24199405478495925, + 0.2504790274827159, + 0.8222942937847153 + ], + "default_ori": [ + 0.9801191392571895, + 0.00447238595809335, + -0.0014481777754434908, + 0.19835416155634011 + ] + } + ], + "phone_stand": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5026856887188396, + 0.13385485718848245, + 0.7652017247465114 + ], + "default_ori": [ + 0.9744880008644176, + -0.003562789289466857, + 0.005027433819823022, + -0.2243550035388935 + ] + } + ], + "cap": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.016840944454317445, + 0.3021837367255373, + 0.802797711173963 + ], + "default_ori": [ + 0.6871449110012006, + 0.6983692859027849, + -0.1438881222182529, + -0.13931410580875006 + ] + } + ], + "helmets": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.14259789967458308, + 0.21847656595318476, + 0.8120601733927771 + ], + "default_ori": [ + 0.9692267337464651, + -0.05796671516243967, + 0.010557043445862254, + -0.23901453378009827 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.05033904616701328, + -0.01372437846556497, + 0.8031 + ], + "default_ori": [ + 0.9980538278799629, + 0.0, + 0.0, + -0.06235829258529655 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.1607557722735153, + -0.11865177654171165, + 0.845 + ], + "default_ori": [ + 0.6396439078399888, + 0.0, + 0.0, + -0.7686713674667399 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_pink", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ], + "random": false + }, + "Table": { + "default": "material_0482", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "random": false + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0427", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_33.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_33.json new file mode 100644 index 0000000000000000000000000000000000000000..8f2af77b36cf7553eb49d956ec2be1aaf428ee06 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_33.json @@ -0,0 +1,643 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.03197504863707819, + -0.12868919119306443, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071044432867837, + 0.0018183190280454562, + 0.7071044432867833, + -0.0018183190280454567 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + 0.006975379442856686, + -0.12856061704757227, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071044432867837, + 0.0018183190280454562, + 0.7071044432867833, + -0.0018183190280454567 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.018024289751364813, + -0.1284320429020801, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071044432867837, + 0.0018183190280454562, + 0.7071044432867833, + -0.0018183190280454567 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.04202397217781744, + -0.12830861172240762, + 0.8579999898910523 + ], + "default_ori": [ + 0.7071044432867837, + 0.0018183190280454562, + 0.7071044432867833, + -0.0018183190280454567 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "bag": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.85 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.07401163026849734, + 0.07010932699119489, + 0.765557977070564 + ], + "default_ori": [ + 0.9859570235945833, + 0.0008935405786085727, + -0.0010637510885842041, + 0.16699346587027386 + ] + } + ], + "coin": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.005 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.1404380028387195, + 0.2860401780451141, + 0.7695999984360117 + ], + "default_ori": [ + -0.6809389647403266, + 0.6811085208079276, + -0.19055920662484274, + 0.19000131039474377 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 14, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.1868083284055886, + 0.34908856516521136, + 0.805 + ], + "default_ori": [ + 0.9856067479996372, + 0.0, + 0.0, + -0.1690542466120852 + ] + } + ], + "plane": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 75000.0 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.48325468613216727, + 0.16089044092204258, + 0.7602640105182119 + ], + "default_ori": [ + 0.9822643007676417, + -0.06598553474397269, + -0.011035842066901674, + 0.17515982082624568 + ] + } + ], + "office_mail": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2838878565229545, + -0.033883165068806474, + 0.7655999377952247 + ], + "default_ori": [ + 0.9997700038853737, + -0.00014545105234391328, + 0.007198344027974691, + 0.020201535047765735 + ] + } + ], + "cap": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.13790182388438105, + 0.14631711950931944, + 0.802797711173963 + ], + "default_ori": [ + 0.6998382996737534, + 0.7115894497653462, + -0.04543023432156622, + -0.04246060647104755 + ] + } + ], + "ball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3148828146610939, + 0.3463990719813609, + 0.7647818013684299 + ], + "default_ori": [ + 0.9921863765000082, + 0.0009274762398714875, + -0.0034116863062411433, + 0.12471445173738434 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.003288997725097931, + -0.12160773703239432, + 0.8031 + ], + "default_ori": [ + 0.99999669371072, + 0.0, + 0.0, + -0.0025714913238218187 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.3218964796290491, + -0.05103126970071567, + 0.845 + ], + "default_ori": [ + 0.7228999631292756, + 0.0, + 0.0, + -0.6909527069978755 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_deep_blue", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ], + "random": false + }, + "Table": { + "default": "material_0007", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "random": false + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0085", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_35.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_35.json new file mode 100644 index 0000000000000000000000000000000000000000..992c86362170f33cb85480e4dcf99d5d32a2cf48 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_35.json @@ -0,0 +1,645 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.13474270910953728, + -0.19045237468101012, + 0.8579999898910523 + ], + "default_ori": [ + 0.701724068181963, + 0.08708232963211303, + 0.7017240681819629, + -0.08708232963211308 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.15898437560533732, + -0.18434159809268938, + 0.8579999898910523 + ], + "default_ori": [ + 0.701724068181963, + 0.08708232963211303, + 0.7017240681819629, + -0.08708232963211308 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.18322604210113733, + -0.17823082150436864, + 0.8579999898910523 + ], + "default_ori": [ + 0.701724068181963, + 0.08708232963211303, + 0.7017240681819629, + -0.08708232963211308 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.20649804193710536, + -0.17236447597958074, + 0.8579999898910523 + ], + "default_ori": [ + 0.701724068181963, + 0.08708232963211303, + 0.7017240681819629, + -0.08708232963211308 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "glasses": [ + { + "category_idx": 1, + "physics": { + "mass": 0.025, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.45084444110685884, + -0.07733276359290729, + 0.7853284965438686 + ], + "default_ori": [ + 0.9911212003697097, + -0.020512386460549717, + 0.0035142036584573625, + -0.13132272671569764 + ] + } + ], + "box": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5463313526378085, + 0.38994368611878083, + 0.7649 + ], + "default_ori": [ + 0.9968590514705418, + 0.0, + 0.0, + 0.07919615837432849 + ] + } + ], + "dog_toy": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.07581654322944295, + 0.3090777855888915, + 0.7666665582268457 + ], + "default_ori": [ + 0.9905519324569632, + 0.0028621174611638245, + 0.011726108725564987, + 0.1366059140870948 + ] + } + ], + "chocolate": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5572641429374662, + -0.3732448515976953, + 0.7647 + ], + "default_ori": [ + 0.9766130920177917, + 0.0, + 0.0, + 0.21500434530364365 + ] + } + ], + "racket": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.23052705425899106, + -0.05766963170603248, + 0.7716579458632032 + ], + "default_ori": [ + -0.7038280122198034, + 0.7066065166160698, + 0.05183953020919808, + -0.05143950814416904 + ] + } + ], + "cup": [ + { + "category_idx": 3, + "physics": { + "type": "rigid", + "mass": 0.15 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.15112839264935263, + 0.349711771404852, + 0.7649962177334373 + ], + "default_ori": [ + 0.9998772009452804, + -9.848157241528e-05, + 0.00010149567623606858, + -0.01567045084989699 + ] + } + ], + "toy": [ + { + "category_idx": 2, + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.2496550628020783, + 0.28630541996111886, + 0.8404276753862634 + ], + "default_ori": [ + 0.996332833618641, + 0.0030856460738472266, + -0.002580396909488931, + -0.08546756691017965 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.16728536804156333, + -0.17513326466063422, + 0.8031 + ], + "default_ori": [ + 0.99238769414107, + 0.0, + 0.0, + -0.12315301261995217 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.09551429098081837, + -0.04118460618574296, + 0.845 + ], + "default_ori": [ + 0.6954606296768353, + 0.0, + 0.0, + -0.7185642021207985 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_magenta", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ], + "random": false + }, + "Table": { + "default": "material_0160", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "random": false + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0041", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_36.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_36.json new file mode 100644 index 0000000000000000000000000000000000000000..d28570a82d05996cd185ab686a6bc123dedbdbd6 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_36.json @@ -0,0 +1,645 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.03950623668972764, + -0.031045431572428697, + 0.8579999898910523 + ], + "default_ori": [ + 0.7039178290342188, + 0.06707972844125433, + 0.7039178290342187, + -0.06707972844125429 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.06405626781527315, + -0.02632356986724471, + 0.8579999898910523 + ], + "default_ori": [ + 0.7039178290342188, + 0.06707972844125433, + 0.7039178290342187, + -0.06707972844125429 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.08860629894081866, + -0.02160170816206073, + 0.8579999898910523 + ], + "default_ori": [ + 0.7039178290342188, + 0.06707972844125433, + 0.7039178290342187, + -0.06707972844125429 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.11217432882134233, + -0.017068720925084106, + 0.8579999898910523 + ], + "default_ori": [ + 0.7039178290342188, + 0.06707972844125433, + 0.7039178290342187, + -0.06707972844125429 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "toy_plane": [ + { + "category_idx": 2, + "physics": { + "mass": 0.45, + "friction": 0.32, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5354670838539873, + 0.2010738902803009, + 0.8110694266353823 + ], + "default_ori": [ + 0.9960044614326685, + 0.0034213840148424345, + 0.00663181914771847, + 0.0889911563720514 + ] + } + ], + "audio": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.019050767048703517, + 0.36601112192396323, + 0.7649999390112381 + ], + "default_ori": [ + 0.991062117691251, + -0.00012661577480932432, + -0.00018430255177299786, + -0.13340100778610373 + ] + } + ], + "money_stack": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.26889904438141904, + 0.16136373311270613, + 0.7646982015706939 + ], + "default_ori": [ + 0.9900344675843668, + 0.0015695412952957456, + -0.0003827966957526314, + 0.1408159898653257 + ] + } + ], + "racket": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5183564953679786, + -0.05664168098681591, + 0.7716579458632032 + ], + "default_ori": [ + -0.7056815235835444, + 0.7084800901913872, + 0.006005665575948557, + -0.005786281725020813 + ] + } + ], + "toy": [ + { + "category_idx": 1, + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3715730777573761, + 0.27212622987172674, + 0.814710071916362 + ], + "default_ori": [ + 0.9743800677862565, + -0.00915212984473749, + 0.0016973520365405749, + -0.2247150217858601 + ] + } + ], + "book": [ + { + "category_idx": 1, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.4270975798824362, + -0.2871870147922902, + 0.7636000000000001 + ], + "default_ori": [ + 0.9687037129999279, + 0.0, + 0.0, + -0.2482198952947838 + ] + } + ], + "gamepad": [ + { + "category_idx": 0, + "physics": { + "mass": 0.22, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.34017517341050707, + -0.3153072084990015, + 0.7881213315101707 + ], + "default_ori": [ + -0.6738910449572827, + 0.717032873986633, + 0.12751636797113453, + -0.12439571153500906 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.07286764852429715, + -0.017602354011502185, + 0.8031 + ], + "default_ori": [ + 0.9954901407078719, + 0.0, + 0.0, + -0.09486506076222996 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.1592206648377212, + -0.03481580347803763, + 0.845 + ], + "default_ori": [ + 0.7506652264651824, + 0.0, + 0.0, + -0.6606827663682294 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_magenta", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ], + "random": false + }, + "Table": { + "default": "material_0415", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "random": false + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0004", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_37.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_37.json new file mode 100644 index 0000000000000000000000000000000000000000..d95d3ea5301a30ea3cc5641b031a95953c5c9a7c --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_37.json @@ -0,0 +1,649 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.20896815091469068, + -0.09457318504498795, + 0.8579999898910523 + ], + "default_ori": [ + 0.7046799858465357, + -0.058533046626041016, + 0.7046799858465355, + 0.05853304662604098 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.23362553894617336, + -0.0986978916560252, + 0.8579999898910523 + ], + "default_ori": [ + 0.7046799858465357, + -0.058533046626041016, + 0.7046799858465355, + 0.05853304662604098 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.25828292697765604, + -0.10282259826706246, + 0.8579999898910523 + ], + "default_ori": [ + 0.7046799858465357, + -0.058533046626041016, + 0.7046799858465355, + 0.05853304662604098 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.28195401948787946, + -0.10678231661365822, + 0.8579999898910523 + ], + "default_ori": [ + 0.7046799858465357, + -0.058533046626041016, + 0.7046799858465355, + 0.05853304662604098 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "calendar": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.23664186831907172, + 0.058915885404917614, + 0.765401379635816 + ], + "default_ori": [ + 0.9833711806902438, + -0.006967211922024907, + -0.0013693432345866056, + 0.18146818962290753 + ] + } + ], + "gamepad": [ + { + "category_idx": 0, + "physics": { + "mass": 0.22, + "friction": 0.38, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.301286895825968, + 0.2809633047903033, + 0.7881213315101707 + ], + "default_ori": [ + -0.6849945540616191, + 0.7281049660443621, + 0.016115982738224247, + -0.01964419578000471 + ] + } + ], + "kettle": [ + { + "category_idx": 0, + "physics": { + "mass": 1.1, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.42042953001020805, + 0.048620753211221064, + 0.8679009300876744 + ], + "default_ori": [ + 0.9659374995066001, + 0.0004053782168083242, + 0.0004191281216255298, + 0.25877481919046125 + ] + } + ], + "box": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3032735956749238, + 0.2847323849452752, + 0.7649 + ], + "default_ori": [ + 0.998055484581066, + 0.0, + 0.0, + 0.06233177117372533 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.2708833939455843, + 0.40386534743835834, + 0.8335036579437697 + ], + "default_ori": [ + 0.9947290845904054, + 0.00880221332607833, + -0.004406901730501817, + -0.10206443321566024 + ] + } + ], + "garage": [ + { + "category_idx": 15, + "physics": { + "mass": 0.04, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4525232697893337, + 0.34619633722815474, + 0.8500001175998966 + ], + "default_ori": [ + 0.989748478228184, + 0.0005078858670544349, + -0.0006797435637407111, + -0.14281887076163194 + ] + } + ], + "shampoo": [ + { + "category_idx": 0, + "physics": { + "type": "rigid", + "mass": 0.19 + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.07031139474108572, + 0.06344258575963968, + 0.7896886376941357 + ], + "default_ori": [ + -0.6962486499601345, + 0.699998228002207, + -0.11264750038417044, + 0.11203052655262599 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.2449227988786738, + -0.0935918305122661, + 0.8031 + ], + "default_ori": [ + 0.9965679932271377, + 0.0, + 0.0, + 0.0827782270602334 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.3015606066451993, + -0.03134993107401422, + 0.845 + ], + "default_ori": [ + 0.667013798688947, + 0.0, + 0.0, + -0.745045362617969 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_pink", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ], + "random": false + }, + "Table": { + "default": "material_0449", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "random": false + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0447", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_4.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_4.json new file mode 100644 index 0000000000000000000000000000000000000000..fd064a52c4bcdebad2fd08f60c8012da6e4a524e --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_4.json @@ -0,0 +1,668 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + 0.0029042393323053806, + -0.05852398775862799, + 0.8579999898910523 + ], + "default_ori": [ + 0.7042616664752441, + -0.06336801348876073, + 0.7042616664752441, + 0.06336801348876074 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.02169421013630729, + -0.06298675403343783, + 0.8579999898910523 + ], + "default_ori": [ + 0.7042616664752441, + -0.06336801348876073, + 0.7042616664752441, + 0.06336801348876074 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.04629265960491996, + -0.06744952030824768, + 0.8579999898910523 + ], + "default_ori": [ + 0.7042616664752441, + -0.06336801348876073, + 0.7042616664752441, + 0.06336801348876074 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.06990717109478811, + -0.07173377593206512, + 0.8579999898910523 + ], + "default_ori": [ + 0.7042616664752441, + -0.06336801348876073, + 0.7042616664752441, + 0.06336801348876074 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "pokeball": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.1500931162892628, + 0.05237503557407704, + 0.804797635494598 + ], + "default_ori": [ + 0.9653369252875836, + -0.03560931349300708, + 0.12176914786927995, + 0.22809838249330142 + ] + } + ], + "card": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.16156880339129678, + 0.24393120838743734, + 0.7673 + ], + "default_ori": [ + 0.9921680771150336, + 0.0, + 0.0, + 0.12490999461154666 + ] + } + ], + "minecraft_blocks": [ + { + "category_idx": 9, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.3259882707963053, + 0.054979521874233515, + 0.8049999992000001 + ], + "default_ori": [ + 0.9987631760676458, + -9.987481700906144e-05, + 5.0019923437156645e-06, + -0.04972029898612946 + ] + } + ], + "notes_holder": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.35750911294050397, + -0.29682698481226, + 0.7735 + ], + "default_ori": [ + 0.9995606714751193, + 0.0, + 0.0, + -0.029638894044964694 + ] + } + ], + "ball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.29931091728781867, + -0.06536927808271328, + 0.7647818013684299 + ], + "default_ori": [ + 0.9997084320205825, + 0.0004109851648087679, + -0.0035115390958989196, + -0.02388621215933569 + ] + } + ], + "scale": [ + { + "category_idx": 1, + "physics": { + "mass": 0.25, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5465198105642368, + -0.2413643131588012, + 0.7764003384861654 + ], + "default_ori": [ + 0.9979822975411156, + -0.0023080653341948265, + -5.2967203481984886e-05, + -0.06345079844607815 + ] + } + ], + "darts_board": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.503747579756928, + -0.2084197373621511, + 0.770899999764 + ], + "default_ori": [ + 0.9978480319023337, + 0.00010631371874268963, + -9.325980381225625e-05, + 0.06556893493599927 + ] + } + ], + "nvlink": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.47096687468238113, + -0.4342670590424401, + 0.779 + ], + "default_ori": [ + 0.9993790809712022, + 0.0, + 0.0, + -0.03523425204478416 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.033060492975214226, + -0.05803624197925676, + 0.8031 + ], + "default_ori": [ + 0.9959764002802033, + 0.0, + 0.0, + 0.08961590308024721 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.18685309684741394, + -0.08448050131360196, + 0.845 + ], + "default_ori": [ + 0.6378721418862555, + 0.0, + 0.0, + -0.7701422794558425 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_orange", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0290", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0227", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_6.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_6.json new file mode 100644 index 0000000000000000000000000000000000000000..2930a5ecce3e0907c19839ce8b5b1a75a07de318 --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_6.json @@ -0,0 +1,678 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.06692103553798628, + -0.07463114564767534, + 0.8579999898910523 + ], + "default_ori": [ + 0.7063635453404358, + -0.0324120627867192, + 0.7063635453404358, + 0.032412062786719216 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.09181598086145354, + -0.07692061556032354, + 0.8579999898910523 + ], + "default_ori": [ + 0.7063635453404358, + -0.0324120627867192, + 0.7063635453404358, + 0.032412062786719216 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.1167109261849208, + -0.07921008547297174, + 0.8579999898910523 + ], + "default_ori": [ + 0.7063635453404358, + -0.0324120627867192, + 0.7063635453404358, + 0.032412062786719216 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.14061007369544934, + -0.08140797658911401, + 0.8579999898910523 + ], + "default_ori": [ + 0.7063635453404358, + -0.0324120627867192, + 0.7063635453404358, + 0.032412062786719216 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "garage": [ + { + "category_idx": 8, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.39354529267549415, + 0.15134559110175286, + 0.8397108576761542 + ], + "default_ori": [ + 0.9937367239943914, + -0.00016515941076233632, + 0.00032050327133531975, + -0.1117461112742497 + ] + } + ], + "stapler": [ + { + "category_idx": 3, + "physics": { + "mass": 0.12, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5339980240854459, + -0.07389580841989712, + 0.799692594638761 + ], + "default_ori": [ + 0.9990877947476737, + -0.0174798254387548, + -0.003475893228001443, + 0.038806600664430826 + ] + } + ], + "ball": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.0863974141333337, + 0.35884655093892837, + 0.7647818013684299 + ], + "default_ori": [ + 0.9999922078904615, + 0.0004885969244151489, + -0.0035015837378494243, + -0.0017562296923736072 + ] + } + ], + "tissue": [ + { + "category_idx": 1, + "physics": { + "mass": 0.45, + "friction": 0.42, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.42202108960016277, + 0.37347765855744597, + 0.8060060361661949 + ], + "default_ori": [ + 0.9981700952770451, + -0.05960534424173515, + -9.806425845001066e-05, + -0.010181071448545376 + ] + } + ], + "lamp": [ + { + "category_idx": 0, + "physics": { + "mass": 1.1, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.44026883272674366, + 0.3110098731792112, + 0.8689174656911823 + ], + "default_ori": [ + 0.995764445307738, + 0.014503301778787087, + -0.0017237731856991757, + -0.09077363220941854 + ] + } + ], + "sculpture": [ + { + "category_idx": 0, + "physics": { + "mass": 0.85, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.20393180676949374, + 0.04831484209502348, + 0.8335036579437697 + ], + "default_ori": [ + 0.9926479779266096, + 0.008718319543121352, + -0.004570628692435998, + -0.12063619761876243 + ] + } + ], + "cereal": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.17806245663207984, + 0.31960256552939126, + 0.7645000000000001 + ], + "default_ori": [ + 0.9935854272842976, + 0.0, + 0.0, + -0.11308403374605987 + ] + } + ], + "key": [ + { + "category_idx": 0, + "physics": { + "mass": 0.2, + "friction": 0.3, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.43750523730823526, + -0.4102770687022, + 0.7701040130940491 + ], + "default_ori": [ + 0.6922083658198941, + 0.7001588117523665, + 0.11885204933511528, + 0.12845001745157197 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.1027045916014467, + -0.07099287049656801, + 0.8031 + ], + "default_ori": [ + 0.9989489058172387, + 0.0, + 0.0, + 0.045837578105105165 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.08848413150944301, + -0.08967501424923965, + 0.845 + ], + "default_ori": [ + 0.6785233849341556, + 0.0, + 0.0, + -0.7345788018296577 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_red", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0311", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0400", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/make_toast_random/make_toast_random_7.json b/Layouts/RoboDojo/make_toast_random/make_toast_random_7.json new file mode 100644 index 0000000000000000000000000000000000000000..6082c4374ed9acaa1a9a633252c584da479a446f --- /dev/null +++ b/Layouts/RoboDojo/make_toast_random/make_toast_random_7.json @@ -0,0 +1,644 @@ +{ + "Rigid": { + "bread": [ + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/0", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_0", + "default_pos": [ + -0.06998635173689338, + -0.03377021067661956, + 0.8579999898910523 + ], + "default_ori": [ + 0.705181132911182, + -0.05214949459104755, + 0.705181132911182, + 0.05214949459104757 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/1", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_1", + "default_pos": [ + -0.09471439511429282, + -0.03744769469721034, + 0.8579999898910523 + ], + "default_ori": [ + 0.705181132911182, + -0.05214949459104755, + 0.705181132911182, + 0.05214949459104757 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/2", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_2", + "default_pos": [ + -0.11944243849169227, + -0.04112517871780112, + 0.8579999898910523 + ], + "default_ori": [ + 0.705181132911182, + -0.05214949459104755, + 0.705181132911182, + 0.05214949459104757 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "bread", + "category_idx": 0, + "group": null, + "xlim": [ + -0.02, + -0.02 + ], + "ylim": [ + -0.007, + -0.007 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "bread_shelf/bread_shelf/3", + "place_tag": "up", + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "bread_3", + "default_pos": [ + -0.14318136013399574, + -0.04465556337756827, + 0.8579999898910523 + ], + "default_ori": [ + 0.705181132911182, + -0.05214949459104755, + 0.705181132911182, + 0.05214949459104757 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.07, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "screwdriver": [ + { + "category_idx": 0, + "physics": { + "mass": 0.06, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.23978264864835538, + 0.2958225221434039, + 0.7781030694047488 + ], + "default_ori": [ + 0.9301288880325164, + -0.05079018442225649, + 0.3483202000414024, + 0.10465967254327425 + ] + } + ], + "scale": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.4384268100560708, + -0.02630417060309964, + 0.7653839385430405 + ], + "default_ori": [ + 0.9896639534319012, + -0.0011316646708779922, + -0.00013904448816417388, + -0.1434013921802806 + ] + } + ], + "kettle": [ + { + "category_idx": 1, + "physics": { + "mass": 1.1, + "friction": 0.25, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.1251497783657882, + 0.11520102765335119, + 0.8679 + ], + "default_ori": [ + 0.983984739985177, + 0.0, + 0.0, + 0.1782527180053746 + ] + } + ], + "box": [ + { + "category_idx": 3, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.038651721159030886, + 0.16813872319985884, + 0.7649000404759948 + ], + "default_ori": [ + 0.9927908163392047, + -2.3912376496409753e-05, + 0.00019856533698078986, + 0.11985973048751994 + ] + } + ], + "calendar": [ + { + "category_idx": 0, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.5301648163833385, + 0.3834206281848411, + 0.765401379635816 + ], + "default_ori": [ + 0.9998974105798203, + -0.007100500393318241, + 6.084817304417075e-06, + -0.012439902447761055 + ] + } + ], + "garage": [ + { + "category_idx": 16, + "physics": { + "mass": 0.35, + "friction": 0.45, + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + -0.5534659540469018, + 0.1714667435978582, + 0.8221702238862089 + ], + "default_ori": [ + 0.9963998362706882, + 0.0027898241952501023, + 0.0002383657695619821, + 0.08473208567281504 + ] + } + ], + "audio": [ + { + "category_idx": 2, + "physics": { + "type": "rigid" + }, + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "type": "cluttered", + "clutter_idx": 0, + "yaml_path": "Clutter/clutter.yml", + "relative_plane": "Table", + "default_pos": [ + 0.040867465744824735, + -0.17853476724082418, + 0.7720399740406522 + ], + "default_ori": [ + 0.9686377463347273, + 0.0007200428577010418, + -0.001217182920962087, + -0.2484731703415895 + ] + } + ] + }, + "Geometry": { + "bread_shelf": [ + { + "category": "bread_shelf", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "bread_shelf", + "default_pos": [ + -0.10591733167797075, + -0.0321378790512722, + 0.8031 + ], + "default_ori": [ + 0.9972767217738377, + 0.0, + 0.0, + 0.07375052683220204 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Articulation": { + "toaster": [ + { + "category": "toaster", + "category_idx": 4, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.12, + -0.03 + ], + "zlim": [ + 0.08, + 0.08 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -105, + -75 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "toaster", + "default_pos": [ + 0.22958080106201995, + -0.10057662857780672, + 0.845 + ], + "default_ori": [ + 0.7701802010894182, + 0.0, + 0.0, + -0.6378263539944578 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "articulation" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_teal", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0293", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0363", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_0.json b/Layouts/RoboDojo/solve_equation/solve_equation_0.json new file mode 100644 index 0000000000000000000000000000000000000000..b098081c441bba27691f3c814fcb22d277ddc7db --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_0.json @@ -0,0 +1,1379 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.3867693735968284, + -0.08673196661258152, + 0.7729028287988347 + ], + "default_ori": [ + 0.9976834613673109, + -0.0017958302304611597, + -0.00012240623266742128, + 0.06800346259301181 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.1678978137148837, + -0.19401582985536717, + 0.7727029469805936 + ], + "default_ori": [ + 0.9907891329172018, + 0.003531627669404194, + 0.01940185319206057, + -0.13397010782968685 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.40401581755188276, + -0.09414975201224833, + 0.7728975275028648 + ], + "default_ori": [ + 0.9526024308460467, + -0.001333041352317385, + -0.004508049507813058, + -0.3041817043094327 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 19, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.42092655444368704, + -0.006555146230630083, + 0.7732239246271773 + ], + "default_ori": [ + 0.9299444263975111, + -0.001523053268935256, + -0.004666875582549253, + -0.367667328427807 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.262306519918242, + -0.05237142007747858, + 0.7727792279035809 + ], + "default_ori": [ + 0.9447804845405132, + -0.010093874015000793, + -0.00041677706903826047, + -0.32754812781580234 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.19142500739932297, + -0.1016178799613821, + 0.772702266780354 + ], + "default_ori": [ + 0.9979486038183165, + 0.0006522737386947629, + 0.0023631552614728807, + -0.06397323012989661 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.11029527361559453, + -0.13464839195792064, + 0.7732497426354126 + ], + "default_ori": [ + 0.9739710560540682, + -0.0023136042233178155, + 0.011724987462436737, + -0.22635713788928036 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 28, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.3787141914369743, + -0.1711905176827281, + 0.7724990821402562 + ], + "default_ori": [ + 0.9997867102172829, + -0.0032612262808494994, + 0.0030354585051437094, + 0.02016641930813654 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.08093047538563335, + -0.17991713925901556, + 0.7728965898524592 + ], + "default_ori": [ + 0.9354646775433035, + 0.0032869197324703007, + -0.003889149786977198, + 0.3533835136808307 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.28377787282179506, + -0.14186174916157543, + 0.7718999522521657 + ], + "default_ori": [ + 0.9998198923322478, + -0.0014790668164111431, + 0.0011279846392717712, + -0.018887109591959772 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.16985351245463728, + 4.80463603578925e-05, + 0.7774990821402561 + ], + "default_ori": [ + 0.9999900551483523, + -0.0031999681764747273, + 0.003099969170959892, + 0.00019999801102967045 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.00016275532621293622, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16684235109186596, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_1.json b/Layouts/RoboDojo/solve_equation/solve_equation_1.json new file mode 100644 index 0000000000000000000000000000000000000000..c3931c18c38f8e937f9c7d30ccbfe5b89a0361a1 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_1.json @@ -0,0 +1,1379 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.3814769416092693, + -0.10773363523255965, + 0.7727029469805936 + ], + "default_ori": [ + 0.9982040622241197, + 0.002013142318246809, + 0.01961763388607444, + -0.056566296131038155 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.24288347004083094, + -0.23907625702485294, + 0.7728975275028648 + ], + "default_ori": [ + 0.999159924832551, + 0.00029266292699045327, + -0.004691892797480256, + 0.040710503546373206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.18688413416881638, + -0.1122835844412547, + 0.7724990821402562 + ], + "default_ori": [ + 0.9993191431181202, + -0.003083640194845651, + 0.003215706507143495, + -0.03662513607448559 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.22137130109217118, + -0.2607976807326071, + 0.7728965898524592 + ], + "default_ori": [ + 0.9999592986405887, + 0.0016646619499561008, + -0.004812299656673073, + -0.0074479349372015245 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.1525844472011316, + -0.19028847128676218, + 0.7729028287988347 + ], + "default_ori": [ + 0.9650185298607642, + -0.0017370333537493757, + 0.00047191591454008927, + -0.26217550807782736 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.10556903010291399, + -0.10695823452398284, + 0.7718999522521657 + ], + "default_ori": [ + 0.9641761278730542, + -0.0017381124370596886, + 0.000662535395265862, + 0.26525635610052783 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.21158188754874954, + -0.17750896659979676, + 0.772702266780354 + ], + "default_ori": [ + 0.9251499253358408, + 0.0013733974953430113, + 0.0020307001599949087, + -0.3795940011212877 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.3017422148902082, + -0.12138057321420177, + 0.7732497426354126 + ], + "default_ori": [ + 0.9713477872010904, + -0.002180803352856436, + 0.011750412428192589, + -0.2373618507765071 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.3355035966909165, + -0.07583418945637307, + 0.7732239246271773 + ], + "default_ori": [ + 0.9971636362266351, + 0.0006666714252257439, + -0.004863637339871906, + 0.07510381593708992 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.19419080208462125, + -0.08680524596282363, + 0.7727792279035809 + ], + "default_ori": [ + 0.9656156692521162, + -0.008116422398329819, + -0.006015287458457361, + 0.2597774418594346 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.1702749688104421, + -0.0012014372621071544, + 0.7778975275028647 + ], + "default_ori": [ + 0.9999889051846452, + 9.999889051846453e-05, + -0.004699947854367833, + -0.00029999667155539356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + 1.5182017318399908e-05, + 2.069841017651669e-05, + 0.7768999522521656 + ], + "default_ori": [ + 0.9999982650045154, + -0.001499997397506773, + 0.001099998091504967, + -9.999982650045154e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16972503118955792, + -0.0012014372621071544, + 0.7778975275028647 + ], + "default_ori": [ + 0.9999889051846452, + 9.999889051846453e-05, + -0.004699947854367833, + -0.00029999667155539356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_10.json b/Layouts/RoboDojo/solve_equation/solve_equation_10.json new file mode 100644 index 0000000000000000000000000000000000000000..f54d258996a0fac8fb2059f97453e0c882d2dc57 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_10.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.4202020525238956, + -0.08402510112246171, + 0.7724990821402562 + ], + "default_ori": [ + 0.9991235189000184, + -0.0030675225754537945, + 0.0032310850252560766, + -0.04162144129716546 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.25624636678244095, + -0.09241004129497742, + 0.7727029469805936 + ], + "default_ori": [ + 0.9987937342318123, + 0.0017851521918034663, + 0.019639692791224395, + -0.04496856855616622 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.17188248557008537, + -0.08897047075081484, + 0.772702266780354 + ], + "default_ori": [ + 0.9834028312411288, + 0.0009268801134212191, + 0.0022695499719904977, + -0.18141902199910573 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.2803005373187591, + -0.18409216781236126, + 0.7729028287988347 + ], + "default_ori": [ + 0.9918136125130169, + -0.0017852645025234306, + -0.0002298263659021313, + 0.12768131439007294 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.27975249079230147, + -0.04575202466757092, + 0.7732239246271773 + ], + "default_ori": [ + 0.9530633465449176, + 0.0017688437739818278, + -0.004579367933050863, + 0.3027311646554403 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.07636943135891537, + -0.1862386242804258, + 0.7727792279035809 + ], + "default_ori": [ + 0.9892351879229336, + -0.0098399400557369, + -0.0022881379887342576, + -0.1459852149339862 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.17721576165378866, + -0.18416608252017125, + 0.7728975275028648 + ], + "default_ori": [ + 0.9357993817658752, + -0.001561847652907492, + -0.0044339758142088554, + -0.3525016561336898 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.3859996002155143, + -0.017482064910539136, + 0.7718999522521657 + ], + "default_ori": [ + 0.9623327455187783, + -0.001742619012632737, + 0.0006505897099190598, + 0.2718680321668889 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 26, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.03389459916587555, + -0.17889034644505253, + 0.7732497426354126 + ], + "default_ori": [ + 0.9847867580238319, + -0.006722621669643093, + 0.00988101479521703, + 0.17335574154153224 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.2720114227539691, + -0.27024202662383456, + 0.7728965898524592 + ], + "default_ori": [ + 0.9309722297380929, + -0.00016909981712192657, + -0.005089276239810209, + -0.365054486520972 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 28, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + 0.00014648754536272278, + 4.80463603578925e-05, + 0.7774990821402561 + ], + "default_ori": [ + 0.9999900551483523, + -0.0031999681764747273, + 0.003099969170959892, + 0.00019999801102967045 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16983724467378708, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.2518423510918659, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_11.json b/Layouts/RoboDojo/solve_equation/solve_equation_11.json new file mode 100644 index 0000000000000000000000000000000000000000..f03f76a28a69e4971daa7c43463efbffd7301394 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_11.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 23, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.10670793460267451, + -0.14057712314261306, + 0.7728975275028648 + ], + "default_ori": [ + 0.9769903607612592, + 0.0011012588393900392, + -0.004570201153182103, + 0.21323164743999118 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.16147206356264435, + -0.1837556535785334, + 0.7727792279035809 + ], + "default_ori": [ + 0.9654857165025985, + -0.008113415050800108, + -0.006019343150995353, + 0.26026000698091906 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.2749709380710007, + -0.21984954333496656, + 0.7732497426354126 + ], + "default_ori": [ + 0.9404974441331969, + -0.008316813682881527, + 0.008582465010746465, + 0.339590532087436 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.27841405966827704, + -0.24736081537272442, + 0.7732239246271773 + ], + "default_ori": [ + 0.988221235491227, + -0.0004534932646200028, + -0.00488812467332341, + -0.15295322914286502 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.324675692683172, + -0.2700831630868801, + 0.7728965898524592 + ], + "default_ori": [ + 0.9425602755550802, + -3.2537178031076877e-07, + -0.0050920847682830875, + -0.33399730181266146 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.05005221844508186, + -0.20087609777454418, + 0.7727029469805936 + ], + "default_ori": [ + 0.9407350071118143, + -0.0058243060894483945, + 0.018840959632088452, + 0.3385686667325451 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.032514283905928094, + -0.17524530212947295, + 0.7724990821402562 + ], + "default_ori": [ + 0.9250583802166443, + -0.004137232527895344, + 0.0016531522015463206, + 0.37979881988464237 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.4208528239171387, + -0.09989912748501888, + 0.7729028287988347 + ], + "default_ori": [ + 0.9999966212353038, + -0.001799993918223547, + 3.375913543913961e-06, + -0.001875507524396645 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.18262138284975846, + -0.087618037619037, + 0.7718999522521657 + ], + "default_ori": [ + 0.9988369373623094, + -0.0015513560375640708, + 0.0010262954928066121, + 0.04818000179211473 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 2, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.401054644359521, + -0.05837276633407647, + 0.772702266780354 + ], + "default_ori": [ + 0.9837850784557146, + 0.0009220684998302001, + 0.0022715090802457047, + -0.1793346297959864 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 2, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17016275532621294, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.002120901300685723, + -0.0001162932595019486, + 0.7782497426354125 + ], + "default_ori": [ + 0.9999283383706699, + -0.004900138871903472, + 0.010900308919132214, + -0.0007000198388433531 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.25483724467378704, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_12.json b/Layouts/RoboDojo/solve_equation/solve_equation_12.json new file mode 100644 index 0000000000000000000000000000000000000000..fd4ee9fc8984fe792bd21f197f9c219152eff7f7 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_12.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.39136268498996113, + -0.01580198373948291, + 0.7727792279035809 + ], + "default_ori": [ + 0.9997214324164403, + -0.009319389917003266, + -0.0038998676042709727, + 0.02133067208188472 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.10201976130702778, + -0.08589051632094831, + 0.7724990821402562 + ], + "default_ori": [ + 0.9877189789128967, + -0.002675838457171695, + 0.0035622315677779504, + -0.15617736420516762 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.28583056368588733, + -0.11206826519136694, + 0.772702266780354 + ], + "default_ori": [ + 0.9978732799402671, + 0.0003423636448532163, + 0.002427498909309873, + 0.06513760217749429 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.1093294569933155, + -0.08903078249760117, + 0.7729028287988347 + ], + "default_ori": [ + 0.9703492890889666, + -0.00174662872036014, + -0.0004350604735517956, + 0.2417002630843309 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.23797107812593613, + -0.0710741462208211, + 0.7727029469805936 + ], + "default_ori": [ + 0.9986487112998623, + -4.84347719766332e-05, + 0.019720597236251133, + 0.04808167132954893 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.044682911864229624, + -0.1361172198534315, + 0.7732239246271773 + ], + "default_ori": [ + 0.9396894210968829, + -0.0013943330089601464, + -0.0047069368407843485, + -0.34199370236839444 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.3727054576523092, + -0.06717783667383202, + 0.7732497426354126 + ], + "default_ori": [ + 0.9244684506738372, + -0.008690183387673462, + 0.008204194548220868, + 0.38107119494028774 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.38085541005099094, + -0.15907618143871835, + 0.7728965898524592 + ], + "default_ori": [ + 0.9998052206721519, + 0.0017916722702163222, + -0.004766470168729194, + 0.0190680725118315 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.3357776371746991, + -0.05640891626248004, + 0.7718999522521657 + ], + "default_ori": [ + 0.9571814928561796, + -0.0017542648620118566, + 0.0006185004347227126, + 0.28948252062192253 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.2582014149879537, + -0.031107430492811686, + 0.7728975275028648 + ], + "default_ori": [ + 0.9599400704651951, + 0.0014141189726281243, + -0.004483277500125872, + 0.2801659536875674 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17016275532621294, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.002120901300685723, + -0.0001162932595019486, + 0.7782497426354125 + ], + "default_ori": [ + 0.9999283383706699, + -0.004900138871903472, + 0.010900308919132214, + -0.0007000198388433531 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.25483724467378704, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_15.json b/Layouts/RoboDojo/solve_equation/solve_equation_15.json new file mode 100644 index 0000000000000000000000000000000000000000..be40f39b8fab2e38234c864f4b6fbd7a92dade77 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_15.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.042459624880694415, + -0.11476235610145295, + 0.7727029469805936 + ], + "default_ori": [ + 0.9700661290805059, + -0.0038958848430188375, + 0.019332004101269694, + 0.24203884173719234 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.031044950666171696, + -0.1822627390088594, + 0.7728965898524592 + ], + "default_ori": [ + 0.9967013667553012, + 0.001306100610006077, + -0.004921730243500671, + -0.08099664302130935 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.2163964917127029, + -0.16708388440596147, + 0.7729028287988347 + ], + "default_ori": [ + 0.9927792629696158, + -0.0017870026733453088, + 0.0002158956875223153, + -0.11994204862350849 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.2613559283637078, + -0.20377437239850701, + 0.7718999522521657 + ], + "default_ori": [ + 0.9603113636941623, + -0.0017473472769426682, + 0.0006377816927465886, + 0.2789240483928637 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.33833661039853047, + -0.0627163624038333, + 0.7727792279035809 + ], + "default_ori": [ + 0.9481355723335693, + -0.007737737269403921, + -0.006495184193359102, + 0.31770564439420845 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 28, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.3228760308357122, + -0.1604987917829591, + 0.7724990821402562 + ], + "default_ori": [ + 0.980040007968052, + -0.003751773781959505, + 0.002402873005457013, + 0.1987504293751063 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.32124144745520383, + -0.07452842761100456, + 0.7732239246271773 + ], + "default_ori": [ + 0.9997392980674051, + 0.00040869670196312294, + -0.004892073790205262, + 0.02229879998406571 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.0593405940530443, + -0.10451667029847893, + 0.7732497426354126 + ], + "default_ori": [ + 0.9788111553178113, + -0.0025764671227992268, + 0.011670043387305267, + -0.20441598305884787 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.16528158603323023, + -0.16058659514823337, + 0.7728975275028648 + ], + "default_ori": [ + 0.9245343255185117, + 0.0018847734161233135, + -0.004306638919361197, + 0.3810697855097136 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.4073764090048191, + -0.17141269864225736, + 0.772702266780354 + ], + "default_ori": [ + 0.9999886478058684, + 0.000509560602639497, + 0.002397980778124686, + -0.004085865339323024 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17315764890813407, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16684235109186596, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_16.json b/Layouts/RoboDojo/solve_equation/solve_equation_16.json new file mode 100644 index 0000000000000000000000000000000000000000..903eec3b97b080bf3ea183d391044f4d124f974d --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_16.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.08488641696681137, + -0.16765595702445826, + 0.7724990821402562 + ], + "default_ori": [ + 0.9500244007188064, + -0.0020716432507156455, + 0.003944350318254839, + -0.31214385855512394 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.26263522437757664, + -0.256770509419322, + 0.7727792279035809 + ], + "default_ori": [ + 0.9611578024831716, + -0.008015171342479747, + -0.00614955478930595, + 0.2758144643233281 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.08109896118670562, + -0.09660162387340737, + 0.7732239246271773 + ], + "default_ori": [ + 0.9953000682846874, + 0.0007720057641473971, + -0.0048480332159683065, + 0.09671439734358936 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.32931238111405103, + -0.12835312658745116, + 0.7728975275028648 + ], + "default_ori": [ + 0.9745555822943638, + 0.0011520772040573932, + -0.004557655946621357, + 0.2240966700093554 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.3629711490318755, + -0.15225919377556507, + 0.7718999522521657 + ], + "default_ori": [ + 0.930454172098821, + -0.001798772552872518, + 0.00047371436211513125, + 0.36640356662552304 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.12800127031403605, + -0.10877414652276572, + 0.7727029469805936 + ], + "default_ori": [ + 0.9925860187092046, + -0.0014696603038788674, + 0.01966581805755293, + 0.11993369485565358 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.20696170535784725, + -0.10828567069979687, + 0.7728965898524592 + ], + "default_ori": [ + 0.9797605051226091, + 0.0007055762171929056, + -0.005042964365824844, + -0.20010852874002338 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 26, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.3892358084583012, + -0.040983874396816236, + 0.7732497426354126 + ], + "default_ori": [ + 0.9831641609661106, + -0.006812491265950027, + 0.009819269741065643, + 0.18233322378630687 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.16847598783277432, + -0.16307802462380513, + 0.7729028287988347 + ], + "default_ori": [ + 0.9685929393407832, + -0.0017434672908134099, + 0.0004475615134233079, + -0.24864528523517104 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.3842135777552564, + -0.016910067035012508, + 0.772702266780354 + ], + "default_ori": [ + 0.9994725044083363, + 0.00042177391459802553, + 0.0024149680298054584, + 0.0323836836679842 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17315764890813407, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16684235109186596, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_18.json b/Layouts/RoboDojo/solve_equation/solve_equation_18.json new file mode 100644 index 0000000000000000000000000000000000000000..409cfb974bd65b438cc4b4ac7442618b55157191 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_18.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.39702725164092956, + -0.1939078637777034, + 0.7728965898524592 + ], + "default_ori": [ + 0.9975961462070837, + 0.0013646827095323004, + -0.004905809667684937, + -0.06910860833052299 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.3814452202246857, + -0.10603958200044074, + 0.7724990821402562 + ], + "default_ori": [ + 0.9998638491158156, + -0.0032482077358761494, + 0.0030493854620147792, + 0.015888159934820036 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.02752959019570447, + -0.09593178448979285, + 0.772702266780354 + ], + "default_ori": [ + 0.9831761046423755, + 0.0009297061990329872, + 0.002268393749660195, + -0.18264374420281898 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.23327752585969613, + -0.2104939586210821, + 0.7728975275028648 + ], + "default_ori": [ + 0.9936971922145293, + -0.0004256213773615825, + -0.0046817043963726015, + -0.11199906551105261 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.06864982793386651, + -0.12448362168066268, + 0.7718999522521657 + ], + "default_ori": [ + 0.9945580135766865, + -0.001377377626905523, + 0.0012501275401901088, + -0.10416764201229614 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.2503801224430459, + -0.15426565333767, + 0.7727029469805936 + ], + "default_ori": [ + 0.969085046626004, + 0.005718289518522485, + 0.01887340632381786, + -0.2459375288657552 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 19, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.22012323521868593, + -0.2373319258865687, + 0.7732239246271773 + ], + "default_ori": [ + 0.9480440252962056, + 0.0018426544806784623, + -0.004550169604294371, + 0.3181012836836796 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.37039584368671413, + -0.12635479889318776, + 0.7732497426354126 + ], + "default_ori": [ + 0.9962948686951517, + -0.003961794972938428, + 0.01127529494465012, + -0.08516869446113434 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.3126776992420259, + -0.08509934144203074, + 0.7727792279035809 + ], + "default_ori": [ + 0.953185494888045, + -0.007842523551992971, + -0.006368266647402565, + 0.3022173925161763 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.4247318285654881, + -0.03809403202029531, + 0.7729028287988347 + ], + "default_ori": [ + 0.9974124695756973, + -0.0017953424452362553, + 0.000129363854175409, + -0.0718688078752272 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.00016275532621293622, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16499955796711113, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.25501518201731843, + 2.069841017651669e-05, + 0.7768999522521656 + ], + "default_ori": [ + 0.9999982650045154, + -0.001499997397506773, + 0.001099998091504967, + -9.999982650045154e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_19.json b/Layouts/RoboDojo/solve_equation/solve_equation_19.json new file mode 100644 index 0000000000000000000000000000000000000000..106e39127d2f7f1aafd2150a17a27d9bf980768b --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_19.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.42036624521858407, + -0.01363530668060034, + 0.7727792279035809 + ], + "default_ori": [ + 0.9699999139039722, + -0.008220108741855981, + -0.005872802399880934, + 0.24289525938257955 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 28, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.4288845358767978, + -0.005166855339570606, + 0.7724990821402562 + ], + "default_ori": [ + 0.9631821860388678, + -0.003915076840651515, + 0.0021264473948694085, + 0.2688126241310039 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 19, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.2976945491215819, + -0.04696293311894398, + 0.7732239246271773 + ], + "default_ori": [ + 0.9843689597512966, + 0.0011574793011881125, + -0.004770708608826353, + 0.1760501396170625 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.11115109728985688, + -0.18086030422272256, + 0.7728965898524592 + ], + "default_ori": [ + 0.9957235178762931, + 0.0012504578320437587, + -0.004936160714920842, + -0.09224286758696491 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 2, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.1703941541578288, + -0.1634374136461149, + 0.772702266780354 + ], + "default_ori": [ + 0.9673373572544933, + -0.00012492965533671634, + 0.002448337476990305, + 0.25348062509011 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.2596532599885932, + -0.19576014473453443, + 0.7718999522521657 + ], + "default_ori": [ + 0.9868564024311711, + -0.0013026695646082213, + 0.0013277951646564648, + -0.1615889259590916 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.1179874608318993, + -0.12100049887838117, + 0.7728975275028648 + ], + "default_ori": [ + 0.9834948117116499, + 0.0009498443690472007, + -0.004604053136799254, + 0.18087524934787147 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.21899820783831486, + -0.20468286337190755, + 0.7729028287988347 + ], + "default_ori": [ + 0.9993873324293842, + -0.0017988971983728917, + -6.291559520638952e-05, + 0.03495310844799417 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.18546392234714087, + -0.08771073147495857, + 0.7732497426354126 + ], + "default_ori": [ + 0.9993068774325289, + -0.005288917373954786, + 0.010717063427447462, + 0.03525530627511798 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.12672563419254493, + -0.11579521771933128, + 0.7727029469805936 + ], + "default_ori": [ + 0.9970038064512364, + -0.000576301463308521, + 0.019712234219006242, + 0.07479642785898336 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17315764890813407, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16972503118955792, + -0.0012014372621071544, + 0.7778975275028647 + ], + "default_ori": [ + 0.9999889051846452, + 9.999889051846453e-05, + -0.004699947854367833, + -0.00029999667155539356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.2528790986993143, + -0.0001162932595019486, + 0.7782497426354125 + ], + "default_ori": [ + 0.9999283383706699, + -0.004900138871903472, + 0.010900308919132214, + -0.0007000198388433531 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_2.json b/Layouts/RoboDojo/solve_equation/solve_equation_2.json new file mode 100644 index 0000000000000000000000000000000000000000..b2bc48ed6a260c8f1c335e92699ef24e41d4ec27 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_2.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.1109287115412931, + -0.21343648892659345, + 0.7727029469805936 + ], + "default_ori": [ + 0.9462426472785729, + -0.005509745284806725, + 0.018935337551206268, + 0.3228559247868264 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.26644951059277966, + -0.12330414379712583, + 0.7729028287988347 + ], + "default_ori": [ + 0.9983999708890959, + -0.0017971199476003728, + -0.00010173198302818128, + 0.05651776834898959 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.2347966323249577, + -0.04110171169605292, + 0.7727792279035809 + ], + "default_ori": [ + 0.995713540484972, + -0.009020440949073201, + -0.004548806529219257, + 0.09193739880552534 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.05280404668711465, + -0.15976019157717045, + 0.7732497426354126 + ], + "default_ori": [ + 0.9813437233963935, + -0.0027254040422079987, + 0.01163616209508827, + -0.19188972993624878 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.37371327068444754, + -0.11093386095866753, + 0.7718999522521657 + ], + "default_ori": [ + 0.9958113097810606, + -0.0015943673091659979, + 0.0009581131860612491, + 0.09141321197800072 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.40797910069572174, + -0.19161649813003243, + 0.7728965898524592 + ], + "default_ori": [ + 0.981370818962885, + 0.002590636065605101, + -0.004383826201942036, + 0.1920556855725005 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.2826470057913325, + -0.22812962283600774, + 0.7728975275028648 + ], + "default_ori": [ + 0.9969506620045253, + -0.0002649927228102767, + -0.004693536882643975, + -0.07789273405862178 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.2000899853772991, + -0.2081570338169139, + 0.7732239246271773 + ], + "default_ori": [ + 0.9776655619154926, + -0.0007367216228608701, + -0.004853520393839717, + -0.21010937538696609 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.014458534794397428, + -0.10171622846342547, + 0.772702266780354 + ], + "default_ori": [ + 0.9486096570683848, + -0.0002853925141165812, + 0.0024348541913026375, + 0.31643910717985146 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.4169406912902142, + -0.014152557584845224, + 0.7724990821402562 + ], + "default_ori": [ + 0.9575789590957451, + -0.003957066610596736, + 0.002047249137416648, + 0.2881365778444628 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + 1.5182017318399908e-05, + 2.069841017651669e-05, + 0.7768999522521656 + ], + "default_ori": [ + 0.9999982650045154, + -0.001499997397506773, + 0.001099998091504967, + -9.999982650045154e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.1698240536860474, + -0.0006268266081177853, + 0.7778965898524591 + ], + "default_ori": [ + 0.9999870302523259, + 0.001699977951428954, + -0.004799937745211164, + -9.99987030252326e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_20.json b/Layouts/RoboDojo/solve_equation/solve_equation_20.json new file mode 100644 index 0000000000000000000000000000000000000000..acb17ecfba72125242c39df52cfd09532c9707ed --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_20.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.11163081062809938, + -0.08505659443820869, + 0.7724990821402562 + ], + "default_ori": [ + 0.9984429317909286, + -0.0030219886355069415, + 0.0032737119418512726, + -0.055604517366341595 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.3422656306152608, + -0.06945127228854048, + 0.7727792279035809 + ], + "default_ori": [ + 0.9926814468162785, + -0.00888683982678775, + -0.0048045888116469895, + 0.1203390425048505 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 26, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.12085266036535781, + -0.20044033730860517, + 0.7732497426354126 + ], + "default_ori": [ + 0.9469950221376865, + -0.008146393147321674, + 0.008744391012856368, + 0.3210258555801173 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.32850927770589566, + -0.11712671415280375, + 0.7728965898524592 + ], + "default_ori": [ + 0.9817315856177914, + 0.002582356755208548, + -0.004388708350081627, + 0.19020295600485315 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.33457328833364347, + -0.013565639116656135, + 0.7727029469805936 + ], + "default_ori": [ + 0.9981325644197452, + -0.00024066819457798088, + 0.01971918811973989, + 0.05781418116329116 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.4018009021796039, + -0.07758035157554029, + 0.7728975275028648 + ], + "default_ori": [ + 0.9672395228759826, + -0.001094867910057387, + -0.004571736417534183, + -0.2538219964404778 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.41148420015373827, + -0.11822299220643301, + 0.7732239246271773 + ], + "default_ori": [ + 0.9961251319962392, + -0.000131922916963861, + -0.004907342998710051, + -0.08781014740058402 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.25887841919706645, + -0.046089918255658724, + 0.7718999522521657 + ], + "default_ori": [ + 0.9982221194800438, + -0.001431919778806915, + 0.0011872631304404332, + -0.059574660660177095 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.014962719896910802, + -0.10797118224301903, + 0.7729028287988347 + ], + "default_ori": [ + 0.9281145057167469, + -0.0016706061102901447, + 0.0006701229190941362, + -0.3722905106078534 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.29283170461460206, + -0.1954104297776923, + 0.772702266780354 + ], + "default_ori": [ + 0.9949691004086811, + 0.0007376162308037171, + 0.002337923462406911, + -0.1001522803940072 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.0001759463139526161, + -0.0006268266081177853, + 0.7778965898524591 + ], + "default_ori": [ + 0.9999870302523259, + 0.001699977951428954, + -0.004799937745211164, + -9.99987030252326e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.1693, + -0.0007715549081620973, + 0.7779028287988345 + ], + "default_ori": [ + 0.9999983800039365, + -0.0017999970840070858, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 26, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.2528790986993143, + -0.0001162932595019486, + 0.7782497426354125 + ], + "default_ori": [ + 0.9999283383706699, + -0.004900138871903472, + 0.010900308919132214, + -0.0007000198388433531 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_21.json b/Layouts/RoboDojo/solve_equation/solve_equation_21.json new file mode 100644 index 0000000000000000000000000000000000000000..7024048e33ff29acbec90356b4fb9832e01cacdf --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_21.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 26, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.2791089609906351, + -0.2570809935264319, + 0.7732497426354126 + ], + "default_ori": [ + 0.9666170182709402, + -0.007533490088547996, + 0.009277641003089193, + 0.25594669736783227 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.012726025121374194, + -0.16932593265008722, + 0.7727029469805936 + ], + "default_ori": [ + 0.9972233738351903, + -0.0005172542398075834, + 0.01971387200255123, + 0.0718097373305225 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.36845233624529067, + -0.016396520650815788, + 0.7727792279035809 + ], + "default_ori": [ + 0.9751341519921072, + -0.008347971264031969, + -0.005689584477875414, + 0.22138501670817332 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.1860102584656394, + -0.16955866836507236, + 0.7728975275028648 + ], + "default_ori": [ + 0.998187251227676, + -0.00018077640028391079, + -0.004697534407003542, + -0.060000933133782866 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.38201875385946804, + -0.17188384667772635, + 0.7718999522521657 + ], + "default_ori": [ + 0.9810333078322421, + -0.0012584735967682396, + 0.0013697562557181012, + -0.19383030964154113 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.3989378087055642, + -0.021945018301235603, + 0.7732239246271773 + ], + "default_ori": [ + 0.9537009325654106, + -0.0011878770434791415, + -0.004763230741060531, + -0.3007165306478895 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.2947491995095391, + -0.1249281262048119, + 0.7728965898524592 + ], + "default_ori": [ + 0.9625327458364127, + 0.0029380863172204807, + -0.004158963354708624, + 0.27111765686731426 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 25, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.04027872291670911, + -0.08389765386530736, + 0.7729028287988347 + ], + "default_ori": [ + 0.9938463298847037, + -0.0017889233937924667, + -0.0001993554453132785, + 0.1107530251740436 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.3445959128108901, + -0.09394438936548373, + 0.772702266780354 + ], + "default_ori": [ + 0.9995045083710062, + 0.00042419790569090277, + 0.002414543426162647, + 0.03138037256332673 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.20323607041711436, + -0.1492443516707692, + 0.7724990821402562 + ], + "default_ori": [ + 0.9845355916004888, + -0.0026068944693400393, + 0.0036129913391920914, + -0.17512800823022143 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.1702749688104421, + -0.0012014372621071544, + 0.7778975275028647 + ], + "default_ori": [ + 0.9999889051846452, + 9.999889051846453e-05, + -0.004699947854367833, + -0.00029999667155539356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 25, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.0007, + -0.0007715549081620973, + 0.7779028287988345 + ], + "default_ori": [ + 0.9999983800039365, + -0.0017999970840070858, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 11, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16499955796711113, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_22.json b/Layouts/RoboDojo/solve_equation/solve_equation_22.json new file mode 100644 index 0000000000000000000000000000000000000000..90bacd3e478ef22475750617b17e9957065feaaa --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_22.json @@ -0,0 +1,1379 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.18838790560732055, + -0.18457091685202048, + 0.7729028287988347 + ], + "default_ori": [ + 0.9818199295073134, + -0.0017672758731131642, + -0.0003416511243156027, + 0.1898061801753348 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.18157117714844379, + -0.16562682040363524, + 0.7732239246271773 + ], + "default_ori": [ + 0.9420163997853443, + -0.0013619682637527092, + -0.004716403440285748, + -0.33553092721311917 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 11, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.3781420870592505, + -0.12678031085725439, + 0.7727029469805936 + ], + "default_ori": [ + 0.992258440771688, + -0.0015227749417007117, + 0.019661776566691543, + 0.12261436463994368 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.33356127683518844, + -0.00933841995924585, + 0.7728975275028648 + ], + "default_ori": [ + 0.9997873347246512, + 7.015444550238594e-06, + -0.004701006317313293, + -0.02007948740796181 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.4136961769177935, + -0.0406328362959896, + 0.7718999522521657 + ], + "default_ori": [ + 0.9823122933145524, + -0.001267639742893686, + 0.0013612778834896614, + -0.18724074987862865 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.26315147945272915, + -0.24611525106625706, + 0.7728965898524592 + ], + "default_ori": [ + 0.9794340311135756, + 0.002633635562134605, + -0.004358129314179119, + 0.201700395064606 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.3282016860618, + -0.014864686628847252, + 0.7732497426354126 + ], + "default_ori": [ + 0.927505834124498, + -0.008623864361151347, + 0.008273878109865794, + 0.37361758466314554 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.04758740085742424, + -0.1585112797006488, + 0.7724990821402562 + ], + "default_ori": [ + 0.998388264220447, + -0.0030187965697125578, + 0.003276655682558732, + -0.056577595050438884 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.04485923312037158, + -0.16874086892954773, + 0.7727792279035809 + ], + "default_ori": [ + 0.9810666074387123, + -0.009938625720636333, + -0.0018121022435531294, + -0.19340695895685758 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.2580740941076338, + -0.19956929178794983, + 0.772702266780354 + ], + "default_ori": [ + 0.9733356605427353, + 0.0010369393646225916, + 0.0022214230966013425, + -0.22937236527536836 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 2, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17016275532621294, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + 1.5182017318399908e-05, + 2.069841017651669e-05, + 0.7768999522521656 + ], + "default_ori": [ + 0.9999982650045154, + -0.001499997397506773, + 0.001099998091504967, + -9.999982650045154e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.1700151820173184, + 2.069841017651669e-05, + 0.7768999522521656 + ], + "default_ori": [ + 0.9999982650045154, + -0.001499997397506773, + 0.001099998091504967, + -9.999982650045154e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_25.json b/Layouts/RoboDojo/solve_equation/solve_equation_25.json new file mode 100644 index 0000000000000000000000000000000000000000..a7d930348b90158da5ac49cab887c84b05d17145 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_25.json @@ -0,0 +1,1379 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.2062975167513178, + -0.10800588640883989, + 0.7728965898524592 + ], + "default_ori": [ + 0.9968720724359698, + 0.0013166086111544679, + -0.004918929676086183, + -0.07886787603214357 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.21728808126509377, + -0.17440603837536126, + 0.7727792279035809 + ], + "default_ori": [ + 0.945839144163511, + -0.007691086862349569, + -0.006550357137727548, + 0.3244784328307217 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.28734084255154435, + -0.03212046958874969, + 0.7732497426354126 + ], + "default_ori": [ + 0.9671145177684978, + -0.0019780510651856817, + 0.011786238139456139, + -0.254060389328816 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.11555932563959503, + -0.18775217313795123, + 0.7724990821402562 + ], + "default_ori": [ + 0.9975045664119349, + -0.002972921012690892, + 0.0033183347998135605, + -0.07046126866688274 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 2, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.3988089534160158, + -0.07234816236469725, + 0.772702266780354 + ], + "default_ori": [ + 0.993809803728935, + 0.0007632347381012789, + 0.002329685934750278, + -0.11106783534595266 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.012308571348060654, + -0.1825024497389892, + 0.7718999522521657 + ], + "default_ori": [ + 0.9865596780532009, + -0.0016596533534666178, + 0.0008399635350232004, + 0.1633907636666493 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.20287130187737837, + -0.0968431426647657, + 0.7727029469805936 + ], + "default_ori": [ + 0.9541888877306344, + -0.005023754203936139, + 0.019070033953299773, + 0.29855428690623975 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.2973235347133131, + -0.11906832026853138, + 0.7728975275028648 + ], + "default_ori": [ + 0.9340861973291448, + 0.0017726929877180568, + -0.004353971656221128, + 0.3570166332953778 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 25, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.3127292975255893, + -0.02693711376157772, + 0.7729028287988347 + ], + "default_ori": [ + 0.9417445176971031, + -0.0016951401318547857, + 0.000605383709567207, + -0.33632428309289275 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.02097294492888385, + -0.08008035596787214, + 0.7732239246271773 + ], + "default_ori": [ + 0.9444072226301888, + 0.0018937020386438001, + -0.004529162345494486, + 0.3287413853243455 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.16985351245463728, + 4.80463603578925e-05, + 0.7774990821402561 + ], + "default_ori": [ + 0.9999900551483523, + -0.0031999681764747273, + 0.003099969170959892, + 0.00019999801102967045 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.005000442032888884, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.17014648754536274, + 4.80463603578925e-05, + 0.7774990821402561 + ], + "default_ori": [ + 0.9999900551483523, + -0.0031999681764747273, + 0.003099969170959892, + 0.00019999801102967045 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_26.json b/Layouts/RoboDojo/solve_equation/solve_equation_26.json new file mode 100644 index 0000000000000000000000000000000000000000..1a943a7bc0bbedb1698cc6d4d3a7bd2726341577 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_26.json @@ -0,0 +1,1379 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.06096362649330029, + -0.1870134285986532, + 0.7724990821402562 + ], + "default_ori": [ + 0.9732108907088709, + -0.0038264187664208645, + 0.0022821315946577156, + 0.2298710782165837 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.06440646093393956, + -0.17457882373960354, + 0.772702266780354 + ], + "default_ori": [ + 0.9994884555144524, + 0.0005760361150117039, + 0.0023828861102075413, + -0.031887573277290956 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.18064414816926466, + -0.15888216615078302, + 0.7728965898524592 + ], + "default_ori": [ + 0.9568220436961569, + 0.00023208338840990592, + -0.00508679316407416, + -0.2906297427479101 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.25556238975554924, + -0.1455011676518262, + 0.7732239246271773 + ], + "default_ori": [ + 0.9987704967290173, + 5.7425925916575345e-05, + -0.004908780014019923, + -0.04932945818382199 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.26981855887351147, + -0.07425875636417022, + 0.7729028287988347 + ], + "default_ori": [ + 0.9250752160886504, + -0.0016651353889595708, + 0.0006836034222182273, + -0.3797796790101262 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.36064047685959616, + -0.10404670984871547, + 0.7727792279035809 + ], + "default_ori": [ + 0.9983662425154067, + -0.009593685054995419, + -0.0031656283454540106, + -0.056238650498674464 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.43125375188888504, + -0.07106264292514881, + 0.7732497426354126 + ], + "default_ori": [ + 0.9979951721037957, + -0.004220973739613774, + 0.011180853106357478, + -0.06215149525167306 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.10799835713838231, + -0.08332046435470981, + 0.7728975275028648 + ], + "default_ori": [ + 0.9717609425093698, + 0.0012073663252662066, + -0.004543322151080076, + 0.2359206881638182 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 11, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.35343774004675976, + -0.08105218264642271, + 0.7727029469805936 + ], + "default_ori": [ + 0.9844974249370629, + 0.004320363260061088, + 0.01924158939855766, + -0.1742868784246558 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.2822043671103924, + -0.15078215196790465, + 0.7718999522521657 + ], + "default_ori": [ + 0.9997691431672885, + -0.0014762207081910762, + 0.0011317068589301294, + -0.021405615677954126 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 11, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.1750004420328889, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.00016275532621293622, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16983724467378708, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_27.json b/Layouts/RoboDojo/solve_equation/solve_equation_27.json new file mode 100644 index 0000000000000000000000000000000000000000..14a27bf81ea0e5bcf9cddcde27f02fe0ce12529a --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_27.json @@ -0,0 +1,1489 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.393635474809044, + -0.05393515068802354, + 0.7727792279035809 + ], + "default_ori": [ + 0.9901932732095541, + -0.008793143577925286, + -0.004973994549049654, + 0.13933851475738282 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.1361237634816865, + -0.19794177544643018, + 0.7732497426354126 + ], + "default_ori": [ + 0.9859988303275427, + -0.006651934806840796, + 0.009928739034841868, + 0.16632341536062056 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 2, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.2933553604919337, + -0.20677946106261705, + 0.772702266780354 + ], + "default_ori": [ + 0.9617859987945068, + -0.00017645066598534774, + 0.002445164408069758, + 0.27379131205908097 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.07628190283200699, + -0.1440011233572601, + 0.7728975275028648 + ], + "default_ori": [ + 0.9859461074394515, + -0.0006848985062333923, + -0.004650851927124856, + -0.16699752607563298 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.2807154403785668, + -0.2228823027825148, + 0.7732239246271773 + ], + "default_ori": [ + 0.9799918421134086, + -0.0006814764407823288, + -0.004861585011461535, + -0.1989771091663684 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.3471018859581528, + -0.10957745896804823, + 0.7729028287988347 + ], + "default_ori": [ + 0.9801951946170222, + -0.0017643513503106402, + -0.0003564460900206838, + 0.19802560556704651 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.27691078513170014, + -0.07901967305566282, + 0.7718999522521657 + ], + "default_ori": [ + 0.9999365871014068, + -0.0014877990061120427, + 0.0011164417186999417, + -0.011106835192670252 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.3332969041651178, + -0.06043560407870875, + 0.7727029469805936 + ], + "default_ori": [ + 0.9892647818588924, + 0.0037435958045778693, + 0.019362070956731852, + -0.1447974000885254 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.4047155247078385, + -0.13803573771181418, + 0.7724990821402562 + ], + "default_ori": [ + 0.9931039906746627, + -0.0035405633856689343, + 0.0027044437696896705, + 0.11715209814966178 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.10309734619062884, + -0.08786233212221907, + 0.7728965898524592 + ], + "default_ori": [ + 0.9755137121515532, + 0.0006034565278726705, + -0.005056200907026469, + -0.2198796672657651 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17017594631395264, + -0.0006268266081177853, + 0.7778965898524591 + ], + "default_ori": [ + 0.9999870302523259, + 0.001699977951428954, + -0.004799937745211164, + -9.99987030252326e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.0001759463139526161, + -0.0006268266081177853, + 0.7778965898524591 + ], + "default_ori": [ + 0.9999870302523259, + 0.001699977951428954, + -0.004799937745211164, + -9.99987030252326e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16684235109186596, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 19, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.25741958321284875, + -0.00030443521906686836, + 0.7782239246271772 + ], + "default_ori": [ + 0.9999879452179803, + 0.00029999638356539404, + -0.004899940931568103, + 9.999879452179803e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_28.json b/Layouts/RoboDojo/solve_equation/solve_equation_28.json new file mode 100644 index 0000000000000000000000000000000000000000..c8f153f592ab7ede429b1f2ef931f6f4da452b8e --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_28.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.3792162862986075, + -0.15684884603617488, + 0.7728965898524592 + ], + "default_ori": [ + 0.9564934098988234, + 0.003026653852490949, + -0.004094959566399785, + 0.2917094916054812 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.17490204935070783, + -0.1820869247638131, + 0.7729028287988347 + ], + "default_ori": [ + 0.9889711554163892, + -0.001780148079749501, + -0.000266575161255091, + 0.14809731180838387 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.1377598944437817, + -0.16838333796642346, + 0.7718999522521657 + ], + "default_ori": [ + 0.9800205238187406, + -0.0016888851960378721, + 0.0007795221539159617, + 0.1988876891766995 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 2, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.32727064139754714, + -0.0010650918254589837, + 0.772702266780354 + ], + "default_ori": [ + 0.9830099038060321, + 5.077308764309021e-05, + 0.0024509969223948424, + 0.1835361519032027 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.3576578594840026, + -0.03143841045217663, + 0.7732239246271773 + ], + "default_ori": [ + 0.9995934401016228, + 0.00043701323390157214, + -0.004889625588570529, + 0.02808656416937602 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.25515071174139137, + -0.08785189344511672, + 0.7727029469805936 + ], + "default_ori": [ + 0.9708414931391546, + -0.003833532355113399, + 0.019344465124781066, + 0.23890979657196018 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.006673314381309406, + -0.07841081989965216, + 0.7728975275028648 + ], + "default_ori": [ + 0.9352923062671564, + 0.0017579081766427988, + -0.004359961978546844, + 0.3538448845579828 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.07817093630117139, + -0.10459138741085401, + 0.7724990821402562 + ], + "default_ori": [ + 0.9675897572511067, + -0.0023128126981685434, + 0.003807952548882809, + -0.25248804339523284 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.29771916729120584, + -0.06745353373061679, + 0.7732497426354126 + ], + "default_ori": [ + 0.9539533176208612, + -0.0014159051109768877, + 0.011866899688341613, + -0.299716932629199 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.40024807667866696, + -0.09139151295525752, + 0.7727792279035809 + ], + "default_ori": [ + 0.9908461106873313, + -0.008816749628354461, + -0.00493203018511605, + 0.13461769920791616 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.0001759463139526161, + -0.0006268266081177853, + 0.7778965898524591 + ], + "default_ori": [ + 0.9999870302523259, + 0.001699977951428954, + -0.004799937745211164, + -9.99987030252326e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16983724467378708, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_29.json b/Layouts/RoboDojo/solve_equation/solve_equation_29.json new file mode 100644 index 0000000000000000000000000000000000000000..c239c7cb45a4ccd9b06329c8da97ac6b2d4edbf1 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_29.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 2, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.11504008699290383, + -0.13722982946764234, + 0.772702266780354 + ], + "default_ori": [ + 0.9558574263590168, + 0.0011828835308524397, + 0.002147265789895575, + -0.2938206434383004 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.10638338132116786, + -0.15827020984611123, + 0.7727792279035809 + ], + "default_ori": [ + 0.9691293380102411, + -0.010022297564938356, + -0.0012702548074363155, + -0.246345826455566 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.22285887198067295, + -0.19284114580289619, + 0.7727029469805936 + ], + "default_ori": [ + 0.9957966140697491, + -0.0008659997402288707, + 0.019701633072704804, + 0.0894438321291167 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.3650160814175158, + -0.07929184446541715, + 0.7732239246271773 + ], + "default_ori": [ + 0.9749729104594868, + 0.0013811412725752929, + -0.004710824529548718, + 0.22226948610008196 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 28, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.18422542174191586, + -0.0944418501944106, + 0.7724990821402562 + ], + "default_ori": [ + 0.9480778335038664, + -0.004019286907504049, + 0.001922222137662368, + 0.3180071886190995 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.42283086580769086, + -0.10610894141486193, + 0.7718999522521657 + ], + "default_ori": [ + 0.9856664274886374, + -0.001664147995729331, + 0.0008310231297332898, + 0.1686956838030923 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 26, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.08641211860828958, + -0.07827437161445407, + 0.7732497426354126 + ], + "default_ori": [ + 0.9480711064203297, + -0.008116889202336969, + 0.008771784605964643, + 0.31783383878283894 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.28370896308487326, + -0.12462354859902479, + 0.7728975275028648 + ], + "default_ori": [ + 0.9915620672838131, + -0.0005083152345706183, + -0.004673448965612563, + -0.12954754808269858 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.31437729678335163, + -0.05136579131370804, + 0.7729028287988347 + ], + "default_ori": [ + 0.9879571420257159, + -0.0017783228556462888, + -0.00027849115519175996, + 0.1547173084398666 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.3058147717237951, + -0.1288578847849604, + 0.7728965898524592 + ], + "default_ori": [ + 0.9768172921480585, + 0.0026882896903221588, + -0.004324630149984505, + 0.21401413138655442 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17315764890813407, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16499955796711113, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.25501518201731843, + 2.069841017651669e-05, + 0.7768999522521656 + ], + "default_ori": [ + 0.9999982650045154, + -0.001499997397506773, + 0.001099998091504967, + -9.999982650045154e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_30.json b/Layouts/RoboDojo/solve_equation/solve_equation_30.json new file mode 100644 index 0000000000000000000000000000000000000000..c04e65ac08de457ecb9e04b022847dd81c56783c --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_30.json @@ -0,0 +1,1379 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 19, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.29187990429555294, + -0.19461833717138965, + 0.7732239246271773 + ], + "default_ori": [ + 0.9744610538080724, + -0.0008082101404335163, + -0.004842129214705988, + -0.22450290686825863 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.16122639156653046, + -0.17749216015044178, + 0.7728975275028648 + ], + "default_ori": [ + 0.9597312518702972, + 0.001417455886197941, + -0.004482223602472832, + 0.2808804455170573 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.130384728588295, + -0.12011290220666802, + 0.772702266780354 + ], + "default_ori": [ + 0.9974222622267398, + 0.0003263558483750187, + 0.0024297027966912383, + 0.07171346352445088 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.2567077326475769, + -0.05811600646585989, + 0.7724990821402562 + ], + "default_ori": [ + 0.9958472381248793, + -0.002904149632399289, + 0.003378686150560277, + -0.09093090076458478 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.1982383340765202, + -0.11469834267291272, + 0.7728965898524592 + ], + "default_ori": [ + 0.9821728301867476, + 0.000768223645674891, + -0.005033801726674721, + -0.18791115537817651 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.3945076542319593, + -0.12897066953074, + 0.7729028287988347 + ], + "default_ori": [ + 0.9922438129716544, + -0.001786038863348978, + -0.0002237290348638344, + 0.12429390825768578 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.18615124856557616, + -0.20544786631306056, + 0.7727792279035809 + ], + "default_ori": [ + 0.9965054209844413, + -0.009061271835941376, + -0.004466917110397279, + 0.08291493202593685 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.41282459798516924, + -0.16658407638219208, + 0.7727029469805936 + ], + "default_ori": [ + 0.9755322568392387, + -0.00343641953182462, + 0.019418942352323578, + 0.2189701156890137 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.2879311824917027, + -0.03992215036851529, + 0.7718999522521657 + ], + "default_ori": [ + 0.9383106757870983, + -0.0017878845787603198, + 0.000513280358939143, + 0.345788397312526 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.07700119341660118, + -0.09445445337566936, + 0.7732497426354126 + ], + "default_ori": [ + 0.9976606229130572, + -0.0056301435340214605, + 0.010541801519795802, + 0.06730864278258912 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.1750004420328889, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.00016275532621293622, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16983724467378708, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_31.json b/Layouts/RoboDojo/solve_equation/solve_equation_31.json new file mode 100644 index 0000000000000000000000000000000000000000..fb6a23f65d01273099ace7ac2e40db64c84a3789 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_31.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 23, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.2558968868944733, + -0.16743858911191628, + 0.7728975275028648 + ], + "default_ori": [ + 0.9498308836022756, + 0.0015661373657320666, + -0.004432462449196783, + 0.3127286252419319 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.17493217938264558, + -0.1521011749467725, + 0.772702266780354 + ], + "default_ori": [ + 0.9949709211665984, + 0.00025691960153913, + 0.002438022997915068, + 0.10013419031015737 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 28, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.3623065290217106, + -0.08595439526009262, + 0.7724990821402562 + ], + "default_ori": [ + 0.9990439989093474, + -0.003061479476064585, + 0.0032368114880215165, + -0.04348837359603961 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.14526445535662633, + -0.1511121280596499, + 0.7732497426354126 + ], + "default_ori": [ + 0.9727673184877794, + -0.0022519177869637875, + 0.011736991172238687, + -0.23147551919500864 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.4175567738637002, + -0.10035869542146178, + 0.7727792279035809 + ], + "default_ori": [ + 0.9367445249056348, + -0.01010092031941776, + -0.00017721302649003658, + -0.3498680252088788 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.06411526451768099, + -0.19877596130547948, + 0.7727029469805936 + ], + "default_ori": [ + 0.9433925777645881, + -0.005674582913309259, + 0.018886593394298264, + 0.3310914373966866 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.25306996478019506, + -0.24786205005925735, + 0.7732239246271773 + ], + "default_ori": [ + 0.9998249470630759, + 0.00021098850501272202, + -0.00490457977952865, + -0.018054800230254662 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.26274697038848965, + -0.26578522255263054, + 0.7718999522521657 + ], + "default_ori": [ + 0.9883005206119769, + -0.001650295152128038, + 0.0008582038829464462, + 0.1525077734743438 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.27133102354189587, + -0.1076505512461577, + 0.7728965898524592 + ], + "default_ori": [ + 0.9862684902796774, + 0.0024694440198201714, + -0.004453220590339289, + 0.16507130505951792 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 25, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.060311235145404075, + -0.11629284558433904, + 0.7729028287988347 + ], + "default_ori": [ + 0.9724911989061982, + -0.0017504841580311568, + -0.0004192788033229979, + 0.23293266851277658 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.1702749688104421, + -0.0012014372621071544, + 0.7778975275028647 + ], + "default_ori": [ + 0.9999889051846452, + 9.999889051846453e-05, + -0.004699947854367833, + -0.00029999667155539356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 11, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.005000442032888884, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_32.json b/Layouts/RoboDojo/solve_equation/solve_equation_32.json new file mode 100644 index 0000000000000000000000000000000000000000..eec93ea8a6b58aaf0be708352b6f1964c6c10226 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_32.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.3081613685568749, + -0.11601919888964181, + 0.7728965898524592 + ], + "default_ori": [ + 0.9450934294666498, + 3.87172133396545e-05, + -0.0050919375851083085, + -0.3267605855233669 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.34214414174319685, + -0.04414904440061508, + 0.7724990821402562 + ], + "default_ori": [ + 0.9980243197994011, + -0.003387377965566696, + 0.0028940068606943523, + 0.06267062696153264 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.160760056573679, + -0.14222288988670734, + 0.7727792279035809 + ], + "default_ori": [ + 0.9998959239859408, + -0.009361849450930214, + -0.0037968105844382125, + 0.010299572833168867 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.049715081633903, + -0.13732447763571393, + 0.772702266780354 + ], + "default_ori": [ + 0.9535001825350113, + 0.0011998542312463777, + 0.002137829189570104, + -0.3013824678740954 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.3524712572489887, + -0.049451624144666764, + 0.7728975275028648 + ], + "default_ori": [ + 0.9935358642458152, + 0.0006338310322646399, + -0.00465808628456151, + 0.1134212808414234 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 26, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.11620289430046248, + -0.10431160069899824, + 0.7732497426354126 + ], + "default_ori": [ + 0.9490715091237477, + -0.0012272041301207032, + 0.011887895756586504, + -0.3148339919292002 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.2286419217058467, + -0.08098975166592386, + 0.7729028287988347 + ], + "default_ori": [ + 0.9414077357156945, + -0.0016945339242882501, + -0.0006070784808163402, + 0.33726582267574456 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.24427547859278845, + -0.06935235548545855, + 0.7727029469805936 + ], + "default_ori": [ + 0.9523318996721404, + 0.006855657481905274, + 0.01849065336250638, + -0.3044257685636531 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.08159551268318746, + -0.19081487005612738, + 0.7718999522521657 + ], + "default_ori": [ + 0.9746069919712643, + -0.0017082901581146467, + 0.000736024951703607, + 0.22391460696598167 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 19, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.3953273468131812, + -0.19541889356741238, + 0.7732239246271773 + ], + "default_ori": [ + 0.9967688792249889, + -9.430761460912994e-05, + -0.004908209962586721, + -0.08017295048578936 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.16758041678715127, + -0.00030443521906686836, + 0.7782239246271772 + ], + "default_ori": [ + 0.9999879452179803, + 0.00029999638356539404, + -0.004899940931568103, + 9.999879452179803e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16684235109186596, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_33.json b/Layouts/RoboDojo/solve_equation/solve_equation_33.json new file mode 100644 index 0000000000000000000000000000000000000000..2a56fc327dc32e389141bb8b85537cdf7e85b4ae --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_33.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.0283824240547298, + -0.12824043598924084, + 0.7728965898524592 + ], + "default_ori": [ + 0.9340724584890984, + -0.00012539439330199516, + -0.005090540603843157, + -0.3570472139153847 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.34267401441468237, + -0.02334194909336441, + 0.7732497426354126 + ], + "default_ori": [ + 0.9924144048552702, + -0.0035375023634363185, + 0.011415523313678407, + -0.12235530613857099 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.37909356335937777, + -0.14919978095849412, + 0.7728975275028648 + ], + "default_ori": [ + 0.9492208487291771, + -0.0013822343211836662, + -0.004493210199091919, + -0.3145753976843216 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.2784174382418358, + -0.20739280214188102, + 0.7718999522521657 + ], + "default_ori": [ + 0.9953943847534004, + -0.0013877842420056507, + 0.0012385648515449094, + -0.09584653782691299 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.3260798726095268, + -0.10175252403238491, + 0.7727792279035809 + ], + "default_ori": [ + 0.9573951298804554, + -0.010068357372421118, + -0.00082956348593563, + -0.2886044096777285 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.03400280935807235, + -0.14538623277048063, + 0.772702266780354 + ], + "default_ori": [ + 0.9937621068676699, + 0.0002290518798994243, + 0.0024407988561805623, + 0.11149378902033028 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.20723285690687945, + -0.11452070971542362, + 0.7727029469805936 + ], + "default_ori": [ + 0.9931636462648733, + 0.00316101285070953, + 0.01946566975573205, + -0.11505245515233514 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.1455449098946549, + -0.12493264222175328, + 0.7724990821402562 + ], + "default_ori": [ + 0.9955511523338815, + -0.0034769699629156985, + 0.0027857288217510963, + 0.09411723264891222 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.06731723521860364, + -0.19868812619161452, + 0.7729028287988347 + ], + "default_ori": [ + 0.9972520777350534, + -0.0017950537399230963, + -0.00013331006421916323, + 0.074061146788424 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.36123321312378964, + -0.021883676686727666, + 0.7732239246271773 + ], + "default_ori": [ + 0.9382060575830903, + 0.0019766198744111192, + -0.00449359464516903, + 0.3460423299185121 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.16758041678715127, + -0.00030443521906686836, + 0.7782239246271772 + ], + "default_ori": [ + 0.9999879452179803, + 0.00029999638356539404, + -0.004899940931568103, + 9.999879452179803e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16684235109186596, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_34.json b/Layouts/RoboDojo/solve_equation/solve_equation_34.json new file mode 100644 index 0000000000000000000000000000000000000000..e798eaefb42eb5e323643ca83396cc95521ae486 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_34.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 28, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.39847300468793906, + -0.1394352731554899, + 0.7724990821402562 + ], + "default_ori": [ + 0.9571407553661342, + -0.002164346009578473, + 0.003894253656629789, + -0.289588889310268 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.2818563513780335, + -0.22284485421483782, + 0.7718999522521657 + ], + "default_ori": [ + 0.9489128715007764, + -0.00107643500623316, + 0.0015169956068484436, + -0.3155327277988085 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.29383465584809826, + -0.12620906698517848, + 0.7728975275028648 + ], + "default_ori": [ + 0.9488309257324525, + -0.0013877923176740911, + -0.00449149664308975, + -0.31574954451920495 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.3485692202466265, + -0.04945385120092334, + 0.7732497426354126 + ], + "default_ori": [ + 0.9553619824447062, + -0.0014720870089484136, + 0.011860061354585736, + -0.29519595932841747 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 11, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.030963755694125874, + -0.1421986541080898, + 0.7727029469805936 + ], + "default_ori": [ + 0.993001776643659, + 0.0031882320886184156, + 0.019461230110932762, + -0.11644126107722838 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.36882917651703473, + -0.1133637154722136, + 0.7727792279035809 + ], + "default_ori": [ + 0.9835347767318287, + -0.00857847018601818, + -0.005335714106244973, + 0.18043636818367895 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.15910360628904516, + -0.14571548393926648, + 0.7729028287988347 + ], + "default_ori": [ + 0.9279027005537189, + -0.0016702248609966942, + -0.0006710725863441196, + 0.3728181035245109 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 2, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.2906982685864393, + -0.14095225626310076, + 0.772702266780354 + ], + "default_ori": [ + 0.9999965188844125, + 0.0004974162009258141, + 0.002400529304773081, + 0.0009758356607978802 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.24597456261571868, + -0.2392216579082915, + 0.7728965898524592 + ], + "default_ori": [ + 0.9973782772898816, + 0.002042496471751981, + -0.004664497352998298, + 0.07218478137997555 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 19, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.09196423662487835, + -0.132664031075552, + 0.7732239246271773 + ], + "default_ori": [ + 0.9250557013912893, + -0.0015839667187676348, + -0.004646554465068208, + -0.379799749742554 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.002120901300685723, + -0.0001162932595019486, + 0.7782497426354125 + ], + "default_ori": [ + 0.9999283383706699, + -0.004900138871903472, + 0.010900308919132214, + -0.0007000198388433531 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16499955796711113, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.2547250311895579, + -0.0012014372621071544, + 0.7778975275028647 + ], + "default_ori": [ + 0.9999889051846452, + 9.999889051846453e-05, + -0.004699947854367833, + -0.00029999667155539356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_35.json b/Layouts/RoboDojo/solve_equation/solve_equation_35.json new file mode 100644 index 0000000000000000000000000000000000000000..00ac8b6ec3b5482b31b7aeeb9eb45e2dd6e5871a --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_35.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.36519564398582516, + -0.11193618363722281, + 0.7727029469805936 + ], + "default_ori": [ + 0.9451069955995198, + -0.005575977110580198, + 0.01891593985356947, + 0.3261653914313528 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.03832114393233036, + -0.13464001951396537, + 0.7727792279035809 + ], + "default_ori": [ + 0.9418165889348938, + -0.010097194544070633, + -0.00032658550974378614, + -0.33597537530492505 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.22580799498218954, + -0.2653303598361658, + 0.7728965898524592 + ], + "default_ori": [ + 0.9826022462387006, + 0.0025619964706453707, + -0.004400625123507806, + 0.18565262281817274 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.37188011437569973, + -0.03518914415011386, + 0.7724990821402562 + ], + "default_ori": [ + 0.9986885981597005, + -0.00303704444348745, + 0.0032597494136259527, + -0.051002297013182554 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.019338028653858745, + -0.1855368407666661, + 0.7728975275028648 + ], + "default_ori": [ + 0.9659848909739651, + -0.001117243776700093, + -0.004566319738619562, + -0.258555779089165 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.1804006577457609, + -0.20496587341737477, + 0.7729028287988347 + ], + "default_ori": [ + 0.9575870564793614, + -0.0017236567016628507, + -0.0005186492815446249, + 0.28813848974701384 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.11084861912110947, + -0.16389913625107688, + 0.7718999522521657 + ], + "default_ori": [ + 0.9999901125589171, + -0.0015045376205039334, + 0.0010937799332269833, + 0.004039157883850035 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.20738597786345814, + -0.08765460229337987, + 0.7732239246271773 + ], + "default_ori": [ + 0.9875081782615315, + -0.0004759433423946366, + -0.004885989858548524, + -0.15749126467086555 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.2799475566212841, + -0.13651178433655825, + 0.772702266780354 + ], + "default_ori": [ + 0.9460143962831133, + 0.0012506731581633263, + 0.002108501949600136, + -0.3241153375903041 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.25211683218370384, + -0.1505634581064503, + 0.7732497426354126 + ], + "default_ori": [ + 0.9617870060032488, + -0.0017396449393931922, + 0.01182377820247388, + -0.27353779809710077 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17315764890813407, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16499955796711113, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.25483724467378704, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_36.json b/Layouts/RoboDojo/solve_equation/solve_equation_36.json new file mode 100644 index 0000000000000000000000000000000000000000..de28d6e69967ab420e6b27c333cf6815f106431d --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_36.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 11, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.03932380912631269, + -0.09554318969763405, + 0.7727029469805936 + ], + "default_ori": [ + 0.9808873978918429, + -0.0029312012277836396, + 0.019501598925314095, + 0.19357429673303259 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.23139161542254189, + -0.12582173397333837, + 0.7724990821402562 + ], + "default_ori": [ + 0.9271599691461125, + -0.004127958235015642, + 0.001676176005471771, + 0.37463921579005655 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.05781551924193334, + -0.1839788801203298, + 0.7728965898524592 + ], + "default_ori": [ + 0.9947439449610497, + 0.0012006775967618982, + -0.004948504895610542, + -0.10226707503363483 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.25534946055113, + -0.2135959862147861, + 0.7728975275028648 + ], + "default_ori": [ + 0.9585812307264887, + 0.001435669329090748, + -0.00447642303512412, + 0.2847804849165025 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.039936280242399105, + -0.1063787728201266, + 0.7732497426354126 + ], + "default_ori": [ + 0.987640089337655, + -0.006550568089669209, + 0.009995906822247805, + 0.1562825192963449 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.15312749550203214, + -0.10941865596839206, + 0.7732239246271773 + ], + "default_ori": [ + 0.9995567991075497, + 0.00015550433554116478, + -0.004906652358241483, + -0.029361640603117543 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 2, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.26757003568938315, + -0.1252335703400267, + 0.772702266780354 + ], + "default_ori": [ + 0.962467376053925, + -0.0001703380635670831, + 0.0024455978336836207, + 0.2713863299211156 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.41965513819193173, + -0.015315112301814676, + 0.7718999522521657 + ], + "default_ori": [ + 0.9442432380485845, + -0.0010543503080707255, + 0.001532427297366119, + -0.3292434470289888 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.023399029165123687, + -0.17887413035368896, + 0.7729028287988347 + ], + "default_ori": [ + 0.9987432488073893, + -0.001797737847853301, + -9.015615802481251e-05, + 0.050086754458229174 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.4131082933647678, + -0.02406969560122063, + 0.7727792279035809 + ], + "default_ori": [ + 0.9332145216018242, + -0.007444003534459037, + -0.006829846787076979, + 0.35917766728420447 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17212090130068575, + -0.0001162932595019486, + 0.7782497426354125 + ], + "default_ori": [ + 0.9999283383706699, + -0.004900138871903472, + 0.010900308919132214, + -0.0007000198388433531 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16499955796711113, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_37.json b/Layouts/RoboDojo/solve_equation/solve_equation_37.json new file mode 100644 index 0000000000000000000000000000000000000000..a213cd8802217dcdc6e6809b3b51bf78cf97195a --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_37.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 19, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.22773469413557437, + -0.22265153714725444, + 0.7732239246271773 + ], + "default_ori": [ + 0.9288807170394136, + 0.0020929178973847756, + -0.004440620861750674, + 0.37034647844063806 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.07751544087882797, + -0.11030883636390552, + 0.7727029469805936 + ], + "default_ori": [ + 0.9689723997512532, + -0.0039824265081213695, + 0.01931436202386671, + 0.24638097373583112 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.29044762544301184, + -0.07046227393599208, + 0.7718999522521657 + ], + "default_ori": [ + 0.9800434443948483, + -0.00168879532418766, + 0.0007797168376042405, + 0.19877471446511596 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.09661685187467, + -0.1689696475109057, + 0.7724990821402562 + ], + "default_ori": [ + 0.9994058711750711, + -0.0033034490405211138, + 0.0029894530650326125, + 0.0341768204431913 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.20965532080364935, + -0.2165545999322687, + 0.7728965898524592 + ], + "default_ori": [ + 0.9967144914559929, + 0.002082887175982384, + -0.004646601812655734, + 0.08083497506790219 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.38390153343284117, + -0.09439659602137208, + 0.7729028287988347 + ], + "default_ori": [ + 0.999997925923571, + -0.001799996266662428, + 1.7153528309280105e-06, + -0.0009529737949600058 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.24677081467591572, + -0.12063860588900023, + 0.7728975275028648 + ], + "default_ori": [ + 0.9320286417199131, + 0.00179757037705505, + -0.004343759932525724, + 0.36235412444751086 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.1851909884277048, + -0.137480039426336, + 0.772702266780354 + ], + "default_ori": [ + 0.9436209831648177, + 0.0012660456235971235, + 0.0020993075760803543, + -0.3310187761551345 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.11778316356445902, + -0.08704241127150963, + 0.7727792279035809 + ], + "default_ori": [ + 0.9554273493825161, + -0.007890108444786817, + -0.006309214252621964, + 0.29505341898738213 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 26, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.3381794006211403, + -0.0240289755482108, + 0.7732497426354126 + ], + "default_ori": [ + 0.9555232871100978, + -0.007901071072936089, + 0.008966670028325192, + 0.2946734119238063 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.1699848179826816, + 2.069841017651669e-05, + 0.7768999522521656 + ], + "default_ori": [ + 0.9999982650045154, + -0.001499997397506773, + 0.001099998091504967, + -9.999982650045154e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 28, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + 0.00014648754536272278, + 4.80463603578925e-05, + 0.7774990821402561 + ], + "default_ori": [ + 0.9999900551483523, + -0.0031999681764747273, + 0.003099969170959892, + 0.00019999801102967045 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_39.json b/Layouts/RoboDojo/solve_equation/solve_equation_39.json new file mode 100644 index 0000000000000000000000000000000000000000..71b3439a76897b131fc064513d5dc9b08affbbfb --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_39.json @@ -0,0 +1,1379 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.38999589723417977, + -0.12280872291737786, + 0.7732497426354126 + ], + "default_ori": [ + 0.9366732673213953, + -0.008411488586448804, + 0.008489697006165427, + 0.35000051741385385 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.2495569178782568, + -0.0038614080588115635, + 0.7724990821402562 + ], + "default_ori": [ + 0.9998237914124589, + -0.003142274135193231, + 0.003158436076707644, + -0.018235583906869676 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.2126470868992875, + -0.09077095816873022, + 0.7727029469805936 + ], + "default_ori": [ + 0.9994763922048746, + 0.00039425858927483344, + 0.01971671528034919, + 0.025652234285655263 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.28981805745617356, + -0.257913012039814, + 0.772702266780354 + ], + "default_ori": [ + 0.957308219119665, + 0.0011721798079727536, + 0.0021531275665409985, + -0.28905875465398967 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.3340138532357471, + -0.0016548069839557873, + 0.7718999522521657 + ], + "default_ori": [ + 0.9822939058301272, + -0.0012675060904951995, + 0.001361402330099092, + -0.187337189530001 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.11373743805075488, + -0.19859286491693537, + 0.7728965898524592 + ], + "default_ori": [ + 0.9662336773702036, + 0.002879579124629255, + -0.0041996846855742445, + 0.2576170634648649 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.23206234265567485, + -0.12946267511762313, + 0.7732239246271773 + ], + "default_ori": [ + 0.9879960684729336, + 0.001052484231305448, + -0.004794965683491612, + 0.1544010014963096 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.4156932651999126, + -0.04696104589289728, + 0.7728975275028648 + ], + "default_ori": [ + 0.9520697566902794, + 0.0015340109264431524, + -0.004443683167085019, + 0.3058448608136168 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.1604628796682772, + -0.16019922647304544, + 0.7727792279035809 + ], + "default_ori": [ + 0.967247676415501, + -0.010031574683354727, + -0.0011947824606433114, + -0.25363334258937303 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.020338882246843847, + -0.11362457329617286, + 0.7729028287988347 + ], + "default_ori": [ + 0.9742599129147205, + -0.0017536678432464971, + 0.0004057568212577489, + -0.2254204562543049 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.16985351245463728, + 4.80463603578925e-05, + 0.7774990821402561 + ], + "default_ori": [ + 0.9999900551483523, + -0.0031999681764747273, + 0.003099969170959892, + 0.00019999801102967045 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.005000442032888884, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 28, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.17014648754536274, + 4.80463603578925e-05, + 0.7774990821402561 + ], + "default_ori": [ + 0.9999900551483523, + -0.0031999681764747273, + 0.003099969170959892, + 0.00019999801102967045 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_40.json b/Layouts/RoboDojo/solve_equation/solve_equation_40.json new file mode 100644 index 0000000000000000000000000000000000000000..83cdf91ce2f165385e7e46d65f24efc51422bc26 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_40.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.4151400097159137, + -0.04504292919004602, + 0.7728965898524592 + ], + "default_ori": [ + 0.9459268448346967, + 0.0031653068024003073, + -0.003988754221549098, + 0.3243400605748268 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.10688357700206404, + -0.08112181168749504, + 0.7732497426354126 + ], + "default_ori": [ + 0.9724094854156891, + -0.007311573567096829, + 0.009453517200988408, + 0.23297417148280283 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.2494427113329391, + -0.20278229641858303, + 0.7718999522521657 + ], + "default_ori": [ + 0.9853786356742967, + -0.0012907963484522543, + 0.0013393404274731607, + -0.17036867191085278 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.3923159947279252, + -0.19635359149659523, + 0.7727792279035809 + ], + "default_ori": [ + 0.9377050975180378, + -0.0075302252732798725, + -0.0067346642893051055, + 0.34728531511270583 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.3899228927926518, + -0.1095005336396188, + 0.7729028287988347 + ], + "default_ori": [ + 0.9901608811694788, + -0.001782289586105062, + 0.00025185975005042027, + -0.13992208336134457 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.020883742382407835, + -0.20096295640358042, + 0.7727029469805936 + ], + "default_ori": [ + 0.9777711394177937, + 0.004993279543364385, + 0.019078036080356672, + -0.2087455259888172 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.05097405877943346, + -0.1781812577808092, + 0.7724990821402562 + ], + "default_ori": [ + 0.9911305209964006, + -0.0027591843578691176, + 0.0034980718789989346, + -0.13281732094953713 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.2207667019559582, + -0.15750451604263077, + 0.7732239246271773 + ], + "default_ori": [ + 0.9946177228899019, + 0.000805032963173926, + -0.004842658452876087, + 0.1034963086024986 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.28040349917227636, + -0.07000783526537412, + 0.772702266780354 + ], + "default_ori": [ + 0.929354440641665, + 0.0013505060551873152, + 0.0020459954093106363, + -0.36918059766975575 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.18326986519113975, + -0.11713536882432328, + 0.7728975275028648 + ], + "default_ori": [ + 0.9922770432074758, + -0.00048194518264597843, + -0.004676241915556343, + -0.12395228926412616 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + 0.00014648754536272278, + 4.80463603578925e-05, + 0.7774990821402561 + ], + "default_ori": [ + 0.9999900551483523, + -0.0031999681764747273, + 0.003099969170959892, + 0.00019999801102967045 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16972503118955792, + -0.0012014372621071544, + 0.7778975275028647 + ], + "default_ori": [ + 0.9999889051846452, + 9.999889051846453e-05, + -0.004699947854367833, + -0.00029999667155539356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.25483724467378704, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_41.json b/Layouts/RoboDojo/solve_equation/solve_equation_41.json new file mode 100644 index 0000000000000000000000000000000000000000..6ae3a9a442a3eda19703ffe0febef9a5889d470a --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_41.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.1539566357117851, + -0.1929997675502046, + 0.772702266780354 + ], + "default_ori": [ + 0.9998741091917482, + 0.00046207245508609154, + 0.002407582369570876, + 0.015676600530343983 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.41262965274093116, + -0.09097499422963237, + 0.7718999522521657 + ], + "default_ori": [ + 0.9862709629690152, + -0.0012979026496494847, + 0.001332455142162208, + -0.16512458210750397 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.09956314351534766, + -0.12405603032889768, + 0.7732497426354126 + ], + "default_ori": [ + 0.9995725401337806, + -0.00519678822504564, + 0.010762039195267768, + 0.026681621296415027 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 7.124799868190633e-05, + -0.11776812694379864, + 0.7724990821402562 + ], + "default_ori": [ + 0.9732394949367597, + -0.002401391018815274, + 0.0037527225271935683, + -0.22974994208932834 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.42079381307967484, + -0.16905175716541518, + 0.7727792279035809 + ], + "default_ori": [ + 0.9978088253037327, + -0.009622297890635373, + -0.0030775605696490302, + -0.06538721702465383 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 19, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.17544592184542412, + -0.10636931792328377, + 0.7732239246271773 + ], + "default_ori": [ + 0.9415060806448677, + -0.0013691247656261812, + -0.004714330953503144, + -0.33696023606618186 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.05433068722593328, + -0.17072065505696882, + 0.7727029469805936 + ], + "default_ori": [ + 0.9952172052924736, + 0.002781059941231268, + 0.019523575668530878, + -0.09567554540506576 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.3116254165416439, + -0.06237246118899929, + 0.7729028287988347 + ], + "default_ori": [ + 0.9541023857125188, + -0.001717384294282534, + -0.0005390553665308379, + 0.2994752036282432 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.42025342109222075, + -0.037678307623196995, + 0.7728965898524592 + ], + "default_ori": [ + 0.9998027875473581, + 0.0016080108084837435, + -0.004831524462635668, + -0.01919522558188092 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.1906740910755347, + -0.17982569740444032, + 0.7728975275028648 + ], + "default_ori": [ + 0.9996030542361055, + 0.00023192694392060723, + -0.0046952869459241115, + 0.02777830902408924 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17212090130068575, + -0.0001162932595019486, + 0.7782497426354125 + ], + "default_ori": [ + 0.9999283383706699, + -0.004900138871903472, + 0.010900308919132214, + -0.0007000198388433531 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 11, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.005000442032888884, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_44.json b/Layouts/RoboDojo/solve_equation/solve_equation_44.json new file mode 100644 index 0000000000000000000000000000000000000000..814a700a074b1ae13a2ffd5501ef6a02b463458a --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_44.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.2955202055851248, + -0.013968878529938944, + 0.7732239246271773 + ], + "default_ori": [ + 0.999345563002428, + 0.00012370780398374912, + -0.0049075569627098905, + -0.03583777739198128 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 28, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.021997097453861077, + -0.1563027965885165, + 0.7724990821402562 + ], + "default_ori": [ + 0.9919207510205269, + -0.002780429646729607, + 0.0034812090099475227, + -0.126780811204545 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.10879531281224801, + -0.12698142012564384, + 0.7727792279035809 + ], + "default_ori": [ + 0.9531616575806628, + -0.007842021294919236, + -0.006368885127400054, + 0.3022925644509427 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.34169806309721507, + -0.11430463322280811, + 0.7729028287988347 + ], + "default_ori": [ + 0.9812186212090589, + -0.0017661935181763062, + -0.0003472030512337346, + 0.19289058401874146 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.3509270538894002, + -0.059681038827149965, + 0.7727029469805936 + ], + "default_ori": [ + 0.9963587830434862, + -0.0007374883710423968, + 0.019706862058281868, + 0.08294739990392518 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.2871357267939864, + -0.03735511997312363, + 0.7718999522521657 + ], + "default_ori": [ + 0.9422999828506217, + -0.0017817443642831336, + 0.0005342050301026315, + 0.33476451773108284 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.4134537124488333, + -0.025616389837161534, + 0.7732497426354126 + ], + "default_ori": [ + 0.9940886055836341, + -0.003703116865665688, + 0.011362879079514799, + -0.10791207603085744 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.21065171526946902, + -0.2418056690713259, + 0.7728975275028648 + ], + "default_ori": [ + 0.9319666010469307, + -0.0016092924574076344, + -0.00441697717884218, + -0.3625136618438255 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.15852775800242544, + -0.1741756043839537, + 0.772702266780354 + ], + "default_ori": [ + 0.9954540310169654, + 0.0007260008686719987, + 0.0023415564393593647, + -0.09521167033643829 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.08023950161094241, + -0.0802968235155946, + 0.7728965898524592 + ], + "default_ori": [ + 0.9711615961778347, + 0.0027955659287755923, + -0.004256070785491764, + 0.23836783504056755 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.1699848179826816, + 2.069841017651669e-05, + 0.7768999522521656 + ], + "default_ori": [ + 0.9999982650045154, + -0.001499997397506773, + 0.001099998091504967, + -9.999982650045154e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.1700151820173184, + 2.069841017651669e-05, + 0.7768999522521656 + ], + "default_ori": [ + 0.9999982650045154, + -0.001499997397506773, + 0.001099998091504967, + -9.999982650045154e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_45.json b/Layouts/RoboDojo/solve_equation/solve_equation_45.json new file mode 100644 index 0000000000000000000000000000000000000000..574b43a66379031658af08aa587e7a564200c62b --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_45.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 2, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.12807221521908943, + -0.16589765943765641, + 0.772702266780354 + ], + "default_ori": [ + 0.9752228321912078, + 0.0010182954156133042, + 0.0022300310012550797, + -0.22121125109076073 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.39487151060982356, + -0.17055570923761476, + 0.7728975275028648 + ], + "default_ori": [ + 0.9800256558858218, + 0.0010338113272969599, + -0.0045859288864344835, + 0.19881552830690366 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.07337217439041609, + -0.09492777032193213, + 0.7728965898524592 + ], + "default_ori": [ + 0.9811883415996222, + 0.002594790032983005, + -0.004381368744807892, + 0.1929857740394096 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.14109560448837913, + -0.09966459375394358, + 0.7727029469805936 + ], + "default_ori": [ + 0.9935579278395608, + 0.003093268388794711, + 0.01947654979600996, + -0.11159632487621053 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.28139301139797873, + -0.005952012149926661, + 0.7727792279035809 + ], + "default_ori": [ + 0.9783336009125713, + -0.00996244794732144, + -0.0016761940976197228, + -0.20678806863473967 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 26, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.24648686979019793, + -0.10168714552645798, + 0.7732497426354126 + ], + "default_ori": [ + 0.9672759944724009, + -0.007509460809319472, + 0.009297101368154898, + 0.25344491003358416 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.18642188551120362, + -0.11957385227061518, + 0.7732239246271773 + ], + "default_ori": [ + 0.9559085570700121, + -0.0011524595361873545, + -0.004771923719052896, + -0.293623451211521 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.23052060778779818, + -0.12144372997807895, + 0.7718999522521657 + ], + "default_ori": [ + 0.9828017582135372, + -0.001271218601012638, + 0.0013579363984668551, + -0.1846543908613768 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.014324739199550457, + -0.09598762258562725, + 0.7724990821402562 + ], + "default_ori": [ + 0.9949715717634344, + -0.0028730463605094376, + 0.003405173975249461, + -0.10005859172209769 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 5, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.4024385612155488, + -0.14057376652301842, + 0.7729028287988347 + ], + "default_ori": [ + 0.9809101918432563, + -0.0017656383453178617, + -0.0003500153367742861, + 0.1944529648746034 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.1750004420328889, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16972503118955792, + -0.0012014372621071544, + 0.7778975275028647 + ], + "default_ori": [ + 0.9999889051846452, + 9.999889051846453e-05, + -0.004699947854367833, + -0.00029999667155539356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_46.json b/Layouts/RoboDojo/solve_equation/solve_equation_46.json new file mode 100644 index 0000000000000000000000000000000000000000..f770d81df47bf6dc31553c8766ce3c512c88b17b --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_46.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.33978672444885255, + -0.059651719379650706, + 0.7728975275028648 + ], + "default_ori": [ + 0.9980338318288946, + 0.00039496325045088846, + -0.004684390423809162, + 0.06250096811507581 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.26923432875830267, + -0.14311038731448267, + 0.7724990821402562 + ], + "default_ori": [ + 0.9816848098437287, + -0.00373133108559844, + 0.0024344965641790338, + 0.190460191423014 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.23192143298473938, + -0.2677536363174311, + 0.7728965898524592 + ], + "default_ori": [ + 0.9996774887513175, + 0.0018193488932722183, + -0.004755974873545546, + 0.024879492689088362 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.02540391751872587, + -0.09603214241265996, + 0.772702266780354 + ], + "default_ori": [ + 0.9821015330541659, + 0.0009428316335816821, + 0.002262969803319412, + -0.18833631834788797 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 26, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.12918785949545217, + -0.17381601908903166, + 0.7732497426354126 + ], + "default_ori": [ + 0.99619903187865, + -0.005829739834126101, + 0.01043274791044316, + 0.08628244774311872 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.04210637007183323, + -0.11188919065035316, + 0.7727792279035809 + ], + "default_ori": [ + 0.999737751970753, + -0.009474523153176921, + -0.0035061954845528576, + -0.0205515763071685 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.38822902965618855, + -0.15322612045212355, + 0.7729028287988347 + ], + "default_ori": [ + 0.9872348077287288, + -0.001777022653911712, + -0.0002866705250258367, + 0.1592614027921315 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.26949574661777154, + -0.024414453241867168, + 0.7732239246271773 + ], + "default_ori": [ + 0.9813010445778494, + 0.0012367567356098602, + -0.004750773804332557, + 0.19241663257488542 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.18453526462508926, + -0.1581567977315407, + 0.7718999522521657 + ], + "default_ori": [ + 0.9952245177368213, + -0.0016002856186850647, + 0.0009481950919886794, + 0.0975945659733037 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 11, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.10759886704163821, + -0.15016632680801786, + 0.7727029469805936 + ], + "default_ori": [ + 0.9883053253160922, + -0.0020897290526150697, + 0.01960962349889025, + 0.15120740607050911 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 19, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.16758041678715127, + -0.00030443521906686836, + 0.7782239246271772 + ], + "default_ori": [ + 0.9999879452179803, + 0.00029999638356539404, + -0.004899940931568103, + 9.999879452179803e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 7, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.0001759463139526161, + -0.0006268266081177853, + 0.7778965898524591 + ], + "default_ori": [ + 0.9999870302523259, + 0.001699977951428954, + -0.004799937745211164, + -9.99987030252326e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.2547250311895579, + -0.0012014372621071544, + 0.7778975275028647 + ], + "default_ori": [ + 0.9999889051846452, + 9.999889051846453e-05, + -0.004699947854367833, + -0.00029999667155539356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_49.json b/Layouts/RoboDojo/solve_equation/solve_equation_49.json new file mode 100644 index 0000000000000000000000000000000000000000..63fa6015e9cd972adf5c4857d1be124d262e742a --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_49.json @@ -0,0 +1,1484 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 25, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.0809415708478087, + -0.08196224035624851, + 0.7729028287988347 + ], + "default_ori": [ + 0.9941246376022382, + -0.0017894243476840289, + 0.00019480761368488738, + -0.10822645204715964 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 12, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.40177613886657193, + -0.025842259859539154, + 0.772702266780354 + ], + "default_ori": [ + 0.9993685751348306, + 0.0004143715126733741, + 0.00241624917372, + 0.03544631249027884 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.3894742718603495, + -0.01812284780920373, + 0.7718999522521657 + ], + "default_ori": [ + 0.9999982577761634, + -0.0015002793728340405, + 0.0010996134763135454, + 0.00015638620196740727 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.26889943347590944, + -0.16230939316797138, + 0.7727792279035809 + ], + "default_ori": [ + 0.9619782321218144, + -0.010053475864637226, + -0.0009937901162424385, + -0.2729392257042446 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 28, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.23147313629160154, + -0.0916572699281699, + 0.7724990821402562 + ], + "default_ori": [ + 0.9688993710558645, + -0.002332732475371578, + 0.003795782447625197, + -0.24741495339279465 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.12842038939109565, + -0.09576448521657326, + 0.7732497426354126 + ], + "default_ori": [ + 0.9870715162567719, + -0.006586483210079613, + 0.009972278296346934, + 0.15983426947642024 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 11, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.06914947121956508, + -0.1085698824423796, + 0.7727029469805936 + ], + "default_ori": [ + 0.9893250259865358, + -0.001954386976593493, + 0.01962357441515928, + 0.14438520926832774 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.38167037404291515, + -0.14889641834371056, + 0.7728965898524592 + ], + "default_ori": [ + 0.9995658871962743, + 0.0015604550655110606, + -0.004847092673115327, + -0.029019094164566012 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.41731336337269487, + -0.13352500915223256, + 0.7732239246271773 + ], + "default_ori": [ + 0.9939581788754772, + 0.0008349868346664918, + -0.004837583689089258, + 0.10964962028015461 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 3, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + -0.25384793638805514, + -0.04770522311945198, + 0.7728975275028648 + ], + "default_ori": [ + 0.9975360978407409, + 0.00043014570950905534, + -0.004681290877575615, + 0.06999738563015075 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.1702749688104421, + -0.0012014372621071544, + 0.7778975275028647 + ], + "default_ori": [ + 0.9999889051846452, + 9.999889051846453e-05, + -0.004699947854367833, + -0.00029999667155539356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 9, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + 0.0024195832128487385, + -0.00030443521906686836, + 0.7782239246271772 + ], + "default_ori": [ + 0.9999879452179803, + 0.00029999638356539404, + -0.004899940931568103, + 9.999879452179803e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat5", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t5", + "default_pos": [ + 0.2548240536860474, + -0.0006268266081177853, + 0.7778965898524591 + ], + "default_ori": [ + 0.9999870302523259, + 0.001699977951428954, + -0.004799937745211164, + -9.99987030252326e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.255, + 0.255 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat5", + "default_pos": [ + 0.255, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_5.json b/Layouts/RoboDojo/solve_equation/solve_equation_5.json new file mode 100644 index 0000000000000000000000000000000000000000..c73fe102bf10a0fa77138b1459660d62e3f37e67 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_5.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.2062975167513178, + -0.10800588640883989, + 0.7728965898524592 + ], + "default_ori": [ + 0.9968720724359698, + 0.0013166086111544679, + -0.004918929676086183, + -0.07886787603214357 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + 0.21728808126509377, + -0.17440603837536126, + 0.7727792279035809 + ], + "default_ori": [ + 0.945839144163511, + -0.007691086862349569, + -0.006550357137727548, + 0.3244784328307217 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.28734084255154435, + -0.03212046958874969, + 0.7732497426354126 + ], + "default_ori": [ + 0.9671145177684978, + -0.0019780510651856817, + 0.011786238139456139, + -0.254060389328816 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.11555932563959503, + -0.18775217313795123, + 0.7724990821402562 + ], + "default_ori": [ + 0.9975045664119349, + -0.002972921012690892, + 0.0033183347998135605, + -0.07046126866688274 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 2, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.3988089534160158, + -0.07234816236469725, + 0.772702266780354 + ], + "default_ori": [ + 0.993809803728935, + 0.0007632347381012789, + 0.002329685934750278, + -0.11106783534595266 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.012308571348060654, + -0.1825024497389892, + 0.7718999522521657 + ], + "default_ori": [ + 0.9865596780532009, + -0.0016596533534666178, + 0.0008399635350232004, + 0.1633907636666493 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.20287130187737837, + -0.0968431426647657, + 0.7727029469805936 + ], + "default_ori": [ + 0.9541888877306344, + -0.005023754203936139, + 0.019070033953299773, + 0.29855428690623975 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + -0.2973235347133131, + -0.11906832026853138, + 0.7728975275028648 + ], + "default_ori": [ + 0.9340861973291448, + 0.0017726929877180568, + -0.004353971656221128, + 0.3570166332953778 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 25, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.3127292975255893, + -0.02693711376157772, + 0.7729028287988347 + ], + "default_ori": [ + 0.9417445176971031, + -0.0016951401318547857, + 0.000605383709567207, + -0.33632428309289275 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.02097294492888385, + -0.08008035596787214, + 0.7732239246271773 + ], + "default_ori": [ + 0.9444072226301888, + 0.0018937020386438001, + -0.004529162345494486, + 0.3287413853243455 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 11, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.1750004420328889, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.005000442032888884, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_50.json b/Layouts/RoboDojo/solve_equation/solve_equation_50.json new file mode 100644 index 0000000000000000000000000000000000000000..b1ab45d959fd912e668c0951eab6d8399f9f1c13 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_50.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 18, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + 0.26193179735583255, + -0.1379890882988843, + 0.7724990821402562 + ], + "default_ori": [ + 0.9845040522542342, + -0.002606244081343788, + 0.0036134605269482626, + -0.1753052237949588 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.032471052951766936, + -0.1433067812121469, + 0.7728965898524592 + ], + "default_ori": [ + 0.9813385656795306, + 0.0025913719207478173, + -0.004383391262664924, + 0.1922204208263227 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.16798847731588923, + -0.09627023086177004, + 0.7728975275028648 + ], + "default_ori": [ + 0.9993084663449923, + 0.00027469737106118884, + -0.004692978901104691, + 0.036884815054544294 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.24902639124634218, + -0.07389782232634781, + 0.7732239246271773 + ], + "default_ori": [ + 0.9497153598162149, + -0.0012496329559989012, + -0.004747403125740457, + -0.31307608645534524 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 14, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.10544189007143907, + -0.1730704685518563, + 0.7727792279035809 + ], + "default_ori": [ + 0.9377476084633107, + -0.007531049738531187, + -0.006733742316999789, + 0.3471705097291318 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.22440534135290563, + -0.26553571069090715, + 0.772702266780354 + ], + "default_ori": [ + 0.9705635459447229, + 0.0010630593683086849, + 0.0022090424621244702, + -0.24083270815938992 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 11, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + 0.1465424310144197, + -0.12105164692040556, + 0.7727029469805936 + ], + "default_ori": [ + 0.99971270056618, + 0.000631475902164978, + 0.019710543865316274, + 0.013623950432741979 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 20, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.024728799799933504, + -0.08427839846101862, + 0.7718999522521657 + ], + "default_ori": [ + 0.985702543937624, + -0.001293354526337458, + 0.0013368702491431514, + -0.16848452417626572 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.2855093001810447, + -0.07517380981512846, + 0.7729028287988347 + ], + "default_ori": [ + 0.9879381480198965, + -0.001778288666435814, + 0.0002787093849513273, + -0.15483854719518184 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 26, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.30137107652334183, + -0.006792131266830631, + 0.7732497426354126 + ], + "default_ori": [ + 0.9969837843357006, + -0.00572899589057426, + 0.010488407962233161, + 0.07668445524465205 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.1702749688104421, + -0.0012014372621071544, + 0.7778975275028647 + ], + "default_ori": [ + 0.9999889051846452, + 9.999889051846453e-05, + -0.004699947854367833, + -0.00029999667155539356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 25, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.1693, + -0.0007715549081620973, + 0.7779028287988345 + ], + "default_ori": [ + 0.9999983800039365, + -0.0017999970840070858, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_51.json b/Layouts/RoboDojo/solve_equation/solve_equation_51.json new file mode 100644 index 0000000000000000000000000000000000000000..722cc593c5749a2eb97c80ff574112d7f5e5bae3 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_51.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 11, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.25099190444177083, + -0.05884517391509893, + 0.7727029469805936 + ], + "default_ori": [ + 0.9987495936629249, + 0.001804223730623509, + 0.019637949944213303, + -0.04593848992795695 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.0673824638708027, + -0.19786713680578524, + 0.7728965898524592 + ], + "default_ori": [ + 0.9948969993840656, + 0.0012081369437092844, + -0.0049466890460683095, + -0.1007672133642154 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 29, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.37050827045081725, + -0.17567420004187817, + 0.7732239246271773 + ], + "default_ori": [ + 0.9725898331203885, + 0.0014304379125800108, + -0.004696090538018037, + 0.23247562687708082 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.23977409333461516, + -0.24627541162029526, + 0.7732497426354126 + ], + "default_ori": [ + 0.9920699110949668, + -0.006232687831732117, + 0.010197141652866804, + 0.1251177981125321 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 24, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + -0.1725862639323947, + -0.1768460464043838, + 0.7727792279035809 + ], + "default_ori": [ + 0.9998232900926658, + -0.00934061560670007, + -0.0038487525048845925, + 0.015853346413961723 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.2735247398378269, + -0.2385458251193064, + 0.7724990821402562 + ], + "default_ori": [ + 0.9675412088790533, + -0.003878983005755545, + 0.0021915966856181405, + 0.25267401828377356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.22347815968966142, + -0.14420383596161074, + 0.7728975275028648 + ], + "default_ori": [ + 0.9664420708674452, + -0.001109140976929176, + -0.004568294638612784, + -0.2568416324271285 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.2815353789720401, + -0.16079479311164852, + 0.7718999522521657 + ], + "default_ori": [ + 0.9907355715659478, + -0.0013368610887910363, + 0.0012933639948282565, + -0.13579236814306203 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 2, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.14790159411155593, + -0.19247305260129688, + 0.772702266780354 + ], + "default_ori": [ + 0.9942951307462128, + 0.0002409778022295304, + 0.0024396502861784163, + 0.10663574921456592 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.3790159224681997, + -0.1533324157195837, + 0.7729028287988347 + ], + "default_ori": [ + 0.9957630037330238, + -0.0017923734067194432, + -0.0001654904024980022, + 0.0919391124988901 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 6, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17212090130068575, + -0.0001162932595019486, + 0.7782497426354125 + ], + "default_ori": [ + 0.9999283383706699, + -0.004900138871903472, + 0.010900308919132214, + -0.0007000198388433531 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.005000442032888884, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_7.json b/Layouts/RoboDojo/solve_equation/solve_equation_7.json new file mode 100644 index 0000000000000000000000000000000000000000..aee676aab8f2dfb554e959436422240d060cecc9 --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_7.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 16, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.11556868791879323, + -0.130981987655512, + 0.7732497426354126 + ], + "default_ori": [ + 0.9929864833873183, + -0.006155503607335209, + 0.010243918724615888, + 0.11762234360269576 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 23, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.27768134804499334, + -0.14773150300357343, + 0.7728975275028648 + ], + "default_ori": [ + 0.9424387729503276, + 0.0016669874142785652, + -0.004395527564754723, + 0.3343457188753417 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 27, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + 0.20622945413836413, + -0.12350661721923407, + 0.7728965898524592 + ], + "default_ori": [ + 0.9999737746253825, + 0.0017251536885819678, + -0.004790946894301736, + 0.005149828547789086 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + 0.3079963348409446, + -0.12572691240509284, + 0.772702266780354 + ], + "default_ori": [ + 0.942037209632696, + -0.00033442295274406427, + 0.00242860558936517, + 0.33549945708394824 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 19, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.011534550152799358, + -0.19132970576761138, + 0.7732239246271773 + ], + "default_ori": [ + 0.9603228621662093, + 0.0016539871596944376, + -0.004622093188002025, + 0.2788474510945664 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + 0.39503185953210024, + -0.033130015908070354, + 0.7727792279035809 + ], + "default_ori": [ + 0.9771973742522692, + -0.009971394735378716, + -0.0016221229260589302, + -0.21209250754968842 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.19408540875471328, + -0.14990317987126356, + 0.7727029469805936 + ], + "default_ori": [ + 0.9989782798721183, + 9.80359375695398e-05, + 0.019720413034125757, + 0.04066315337578074 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 8, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.37071641472279876, + -0.14581999377489435, + 0.7724990821402562 + ], + "default_ori": [ + 0.956766846341865, + -0.0021593267457764988, + 0.003897039029356393, + -0.29082185635858004 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 15, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + -0.058372529629951896, + -0.08442964951807426, + 0.7729028287988347 + ], + "default_ori": [ + 0.9953035500406914, + -0.0017915463900732447, + -0.00017421548338060548, + 0.09678637965589193 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 0, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.08737532459397149, + -0.18600506682004167, + 0.7718999522521657 + ], + "default_ori": [ + 0.936343097696661, + -0.0017907544947415427, + 0.0005031762448731293, + 0.3510813914291492 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 4, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.0031576489081340626, + -5.354061176751655e-05, + 0.7777792279035808 + ], + "default_ori": [ + 0.9999489687000253, + -0.00940046035181542, + -0.0037001812023103246, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat4", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t4", + "default_pos": [ + 0.16983724467378708, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Layouts/RoboDojo/solve_equation/solve_equation_9.json b/Layouts/RoboDojo/solve_equation/solve_equation_9.json new file mode 100644 index 0000000000000000000000000000000000000000..8c3f0d34d0de8ca3dcac663802b485a8feec6a1c --- /dev/null +++ b/Layouts/RoboDojo/solve_equation/solve_equation_9.json @@ -0,0 +1,1374 @@ +{ + "Rigid": { + "number": [ + { + "category": "number", + "category_idx": 4, + "group": "num4", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_0", + "default_pos": [ + -0.25671666599737997, + -0.236053793382568, + 0.7727792279035809 + ], + "default_ori": [ + 0.9522745215878302, + -0.010081168666182007, + -0.0006557698376522631, + -0.3050756882134547 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.040207546072136204, + 0.049115408276670734, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 26, + "group": "num6", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_1", + "default_pos": [ + -0.159709020398604, + -0.19122721685908226, + 0.7732497426354126 + ], + "default_ori": [ + 0.9990859476097277, + -0.005350893803728618, + 0.010686254301562892, + 0.04104194431646662 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03918766435260745, + 0.050074839151313985, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 17, + "group": "num7", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_2", + "default_pos": [ + -0.06947237015142453, + -0.19458948061490833, + 0.7728965898524592 + ], + "default_ori": [ + 0.9724452995914584, + 0.0005349007814741049, + -0.005063912375547765, + -0.23307554563936023 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03618808143497, + 0.05204950476736495, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 19, + "group": "num9", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_3", + "default_pos": [ + -0.4053658050575464, + -0.045896563431113396, + 0.7732239246271773 + ], + "default_ori": [ + 0.948536451191495, + 0.0018355922031451336, + -0.004553023196378601, + 0.3166299122668006 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.038260609221882645, + 0.05015328651243527, + 0.017 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 25, + "group": "num5", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_4", + "default_pos": [ + 0.15571486212134064, + -0.1103805618207238, + 0.7729028287988347 + ], + "default_ori": [ + 0.9677960821253834, + -0.0017420329478256902, + 0.0004531122500261375, + -0.25172902779229867 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03459529872196014, + 0.05041107344995797, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": "num1", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_5", + "default_pos": [ + -0.23318170537097024, + -0.14187227929586999, + 0.7727029469805936 + ], + "default_ori": [ + 0.9520891741153904, + -0.005156276649895055, + 0.019034629294822615, + 0.3051840432116207 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 13, + "group": "num3", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_6", + "default_pos": [ + -0.05308597020441986, + -0.1251518771176734, + 0.7728975275028648 + ], + "default_ori": [ + 0.9750480363992611, + -0.0009442513678098632, + -0.004605203466327076, + -0.22194419840206117 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.035704944518354285, + 0.0508427371795506, + 0.016 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 10, + "group": "num0", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_7", + "default_pos": [ + 0.27651217991757543, + -0.05376834547660253, + 0.7718999522521657 + ], + "default_ori": [ + 0.9521004811125402, + -0.0010919436586386642, + 0.0015058708577432762, + -0.3057796819235638 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.046281778219316116, + 0.05202684144750904, + 0.014 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": "num2", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_8", + "default_pos": [ + 0.4120543133343699, + -0.08318048539234367, + 0.772702266780354 + ], + "default_ori": [ + 0.9882194592316998, + 0.0008611373749328449, + 0.0022953009043503577, + -0.15302382308642917 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 28, + "group": "num8", + "xlim": [ + -0.43, + 0.43 + ], + "ylim": [ + -0.27, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "num_9", + "default_pos": [ + 0.11380665335751677, + -0.1914956445521012, + 0.7724990821402562 + ], + "default_ori": [ + 0.9914290509730797, + -0.0035768094395136896, + 0.0026563206554854227, + 0.13057023888094588 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.039281093739460614, + 0.05374084970317967, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 22, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat0", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t0", + "default_pos": [ + -0.17016275532621294, + 0.0013923351421424445, + 0.7777022667803539 + ], + "default_ori": [ + 0.9999969900135901, + 0.0004999984950067951, + 0.002399992776032616, + -9.999969900135901e-05 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03478703794145784, + 0.0481029599305475, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "number", + "category_idx": 21, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat2", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t2", + "default_pos": [ + -0.005000442032888884, + -1.3685389360406327e-05, + 0.7777029469805935 + ], + "default_ori": [ + 0.9998055289398626, + 0.0009000049770412846, + 0.019700108941903674, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.021737104331394544, + 0.049513135089066886, + 0.015 + ], + "mass": 0.1, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ], + "plus": [ + { + "category": "plus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.15, + -0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "plus", + "default_pos": [ + -0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "minus": [ + { + "category": "minus", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + -0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "minus", + "default_pos": [ + -0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.03, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "division": [ + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.15, + 0.15 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "division", + "default_pos": [ + 0.15, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "division", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat1", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t1", + "default_pos": [ + -0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "multiplication": [ + { + "category": "multiplication", + "category_idx": 0, + "group": null, + "xlim": [ + 0.05, + 0.05 + ], + "ylim": [ + -0.27, + -0.27 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.005, + "check_mode": "bbox", + "need_check_stable": true, + "label": "multiplication", + "default_pos": [ + 0.05, + -0.27, + 0.769 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "equal": [ + { + "category": "equal", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "mat3", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "t3", + "default_pos": [ + 0.085, + 0.0, + 0.7739999999999999 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.008, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "cube_cushion": [ + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.17, + -0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat0", + "default_pos": [ + -0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + -0.085, + -0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat1", + "default_pos": [ + -0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat2", + "default_pos": [ + 0.0, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.085, + 0.085 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat3", + "default_pos": [ + 0.085, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + }, + { + "category": "cube_cushion", + "category_idx": 1, + "group": null, + "xlim": [ + 0.17, + 0.17 + ], + "ylim": [ + 0.0, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mat4", + "default_pos": [ + 0.17, + 0.0, + 0.7675 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.05, + "friction": 0.3, + "size": [ + 0.12, + 0.12, + 0.005 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "group": null, + "xlim": [ + 0.0, + 0.0 + ], + "ylim": [ + -0.47, + -0.47 + ], + "zlim": [ + 0.715, + 0.715 + ], + "qpos": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Ground", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "camera_stand", + "default_pos": [ + 0.0, + -0.47, + 0.765 + ], + "default_ori": [ + 0.707, + -0.707, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "geometry" + }, + "visual": {} + } + ] + }, + "Room": { + "default": "Simple_Room_nolight", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "default_rot": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "Table": { + "default": "material_0122", + "scale": [ + 1.4, + 1.1, + 0.05 + ], + "default_pos": [ + 0.0, + -0.05, + 0.74 + ], + "default_ori": [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0564", + "random": false + }, + "physics_material": { + "static_friction": 1.0, + "dynamic_friction": 1.0, + "restitution": 0.0, + "friction_combine_mode": "multiply", + "restitution_combine_mode": "multiply", + "compliant_contact_stiffness": 0.0, + "compliant_contact_damping": 0.0 + } + }, + "Background": { + "intensity": 1000, + "category_name": "brown_photostudio_02_4k.hdr" + } +} diff --git a/Material/Garment/test/Fabric004_1K_JPG.usd b/Material/Garment/test/Fabric004_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..943a3b35895bb6dadc594d38058e3b91b5e921b2 Binary files /dev/null and b/Material/Garment/test/Fabric004_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric014_1K_JPG.usd b/Material/Garment/test/Fabric014_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..2556efca8ab62e3139fa61c5e44a2f5d5dc39d1f Binary files /dev/null and b/Material/Garment/test/Fabric014_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric018_1K_JPG.usd b/Material/Garment/test/Fabric018_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..c300e073b61ad3ad7fcc0181403ef157037a7720 Binary files /dev/null and b/Material/Garment/test/Fabric018_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric022_1K_JPG.usd b/Material/Garment/test/Fabric022_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..05a87c740c86e1924ea9af58f9b113a5660d804e Binary files /dev/null and b/Material/Garment/test/Fabric022_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric027_1K_JPG.usd b/Material/Garment/test/Fabric027_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..b4602902d14cb6ecf84406c75b972f7606430e7c Binary files /dev/null and b/Material/Garment/test/Fabric027_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric034_1K_JPG.usd b/Material/Garment/test/Fabric034_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..2b6db78b8f1f5cb4b92af4a2be0d6613ee3ec7c3 Binary files /dev/null and b/Material/Garment/test/Fabric034_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric040_1K_JPG.usd b/Material/Garment/test/Fabric040_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..41605775618f823f8ce0669df93bda8cb5d11ec6 Binary files /dev/null and b/Material/Garment/test/Fabric040_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric045_1K_JPG.usd b/Material/Garment/test/Fabric045_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..639cddbc50e9b9986c4b0d51abd3d9a419c7fa6d Binary files /dev/null and b/Material/Garment/test/Fabric045_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric050_1K_JPG.usd b/Material/Garment/test/Fabric050_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..71b8c58a97afd6441097fb30561fcc58f6af428d Binary files /dev/null and b/Material/Garment/test/Fabric050_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric053_1K_JPG.usd b/Material/Garment/test/Fabric053_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..ab32f97619a5b73b63cac34dc1caf2c21d440fa6 Binary files /dev/null and b/Material/Garment/test/Fabric053_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric054_1K_JPG.usd b/Material/Garment/test/Fabric054_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..1a96e142ddf2e44d223e90c475f000fe84a66cd4 Binary files /dev/null and b/Material/Garment/test/Fabric054_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric055_1K_JPG.usd b/Material/Garment/test/Fabric055_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..2697cd719fe4e623c28c5f80cc91c44676ec598b Binary files /dev/null and b/Material/Garment/test/Fabric055_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric057_1K_JPG.usd b/Material/Garment/test/Fabric057_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..55798bd2e58677c4339584f056bc7a13a0b19e10 Binary files /dev/null and b/Material/Garment/test/Fabric057_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric071_1K_JPG.usd b/Material/Garment/test/Fabric071_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..737488aabbdfedce4a41fa3509e5f5345f4ae178 Binary files /dev/null and b/Material/Garment/test/Fabric071_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric072_1K_JPG.usd b/Material/Garment/test/Fabric072_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..555a12ab15c36746f89ed371bf46bd048c34a4c0 Binary files /dev/null and b/Material/Garment/test/Fabric072_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric076_1K_JPG.usd b/Material/Garment/test/Fabric076_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..f01572c655b91db5d9d88a3d466735bcfa3861fb Binary files /dev/null and b/Material/Garment/test/Fabric076_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric079_1K_JPG.usd b/Material/Garment/test/Fabric079_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..1b5d21992d648ac4d2a03a9e6ab73a2767a9d977 Binary files /dev/null and b/Material/Garment/test/Fabric079_1K_JPG.usd differ diff --git a/Material/Garment/test/Fabric082B_1K_JPG.usd b/Material/Garment/test/Fabric082B_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..856dfcd8efa5a6c1bd2dc87bcb71b941f82aad3d Binary files /dev/null and b/Material/Garment/test/Fabric082B_1K_JPG.usd differ diff --git a/Material/Garment/test/Tiles051_1K_JPG.usd b/Material/Garment/test/Tiles051_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..15f4c32ccbf5f07135b6e6545212f9fbde615473 Binary files /dev/null and b/Material/Garment/test/Tiles051_1K_JPG.usd differ diff --git a/Material/Garment/test/Tiles054_1K_JPG.usd b/Material/Garment/test/Tiles054_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..951444c3b04114a5c5e047e810188f36bd2b605a Binary files /dev/null and b/Material/Garment/test/Tiles054_1K_JPG.usd differ diff --git a/Material/Garment/test/Tiles064_1K_JPG.usd b/Material/Garment/test/Tiles064_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..6e188a67989afb48554460160e52d9eb7055a1bf Binary files /dev/null and b/Material/Garment/test/Tiles064_1K_JPG.usd differ diff --git a/Material/Garment/test/Tiles079_1K_JPG.usd b/Material/Garment/test/Tiles079_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..3a6ec1d75e320b9e606424606c4b1e87fc7539c0 Binary files /dev/null and b/Material/Garment/test/Tiles079_1K_JPG.usd differ diff --git a/Material/Garment/test/Tiles081_1K_JPG.usd b/Material/Garment/test/Tiles081_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..f2dc9e6b4f3470d64668af6ed49fa79d238b68d5 Binary files /dev/null and b/Material/Garment/test/Tiles081_1K_JPG.usd differ diff --git a/Material/Garment/test/Tiles118_1K_JPG.usd b/Material/Garment/test/Tiles118_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..62b8be465ab2889810bec14593dc4590a7d403f0 Binary files /dev/null and b/Material/Garment/test/Tiles118_1K_JPG.usd differ diff --git a/Material/Garment/test/Tiles131_1K_JPG.usd b/Material/Garment/test/Tiles131_1K_JPG.usd new file mode 100644 index 0000000000000000000000000000000000000000..0b2c43d8f952923a16c2cc3fbb1d20cab5dfef5e Binary files /dev/null and b/Material/Garment/test/Tiles131_1K_JPG.usd differ diff --git a/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan.mdl b/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan.mdl new file mode 100644 index 0000000000000000000000000000000000000000..3b4848ec3b1fabe8e450fbe4b9446bd9f4b645f1 --- /dev/null +++ b/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Carpet_Pattern_Leaf_Squares_Tan(*) + = OmniPBR( + diffuse_color_constant: color(1.0, 1.0, 1.0), + diffuse_texture: texture_2d("./Carpet_Pattern_Leaf_Squares_Tan_BaseColor.png", ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.0, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("./Carpet_Pattern_Leaf_Squares_Tan_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(0.0, 0.0, 0.0), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.0, + bump_factor: 1.f, + normalmap_texture: texture_2d("./Carpet_Pattern_Leaf_Squares_Tan_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.3f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/Material/material_0061/Grass_Winter.mdl b/Material/material_0061/Grass_Winter.mdl new file mode 100644 index 0000000000000000000000000000000000000000..009d1b8b5117571f1f0b3ca8ecc66d5132ddef52 --- /dev/null +++ b/Material/material_0061/Grass_Winter.mdl @@ -0,0 +1,54 @@ +mdl 1.4; + +import ::OmniPBR::OmniPBR; +import ::anno::author; +import ::anno::description; +import ::anno::display_name; +import ::anno::key_words; +import ::anno::version; +import ::tex::gamma_mode; +import ::state::normal; + +export material Grass_Winter(*) +[[ + ::anno::display_name("Omni PBR "), + ::anno::description("Omni PBR, supports ORM textures"), + ::anno::version(1, 0, 0, ""), + ::anno::author("NVIDIA CORPORATION"), + ::anno::key_words(string[]("omni", "PBR", "omniverse", "generic")) +]] + = ::OmniPBR::OmniPBR( + diffuse_color_constant: color(0.200000003f, 0.200000003f, 0.200000003f), + diffuse_texture: texture_2d("./Grass_Winter_baseColor.png" /* tag 2933, version 88122872 */, ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.5f, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.f, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("./Grass_Winter_ORM.png" /* tag 2937, version 3165875713 */, ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.f, 0.100000001f, 0.100000001f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.f, + bump_factor: 1.f, + normalmap_texture: texture_2d("./Grass_Winter_N.png" /* tag 2935, version 1019261497 */, ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 2.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/Material/material_0137/Carbon_Fiber_ANI_01_Clearcoat.mdl b/Material/material_0137/Carbon_Fiber_ANI_01_Clearcoat.mdl new file mode 100644 index 0000000000000000000000000000000000000000..4146675d54fc80b991b9518b58e10e23340cda33 --- /dev/null +++ b/Material/material_0137/Carbon_Fiber_ANI_01_Clearcoat.mdl @@ -0,0 +1,177 @@ +mdl 1.8; + +import ::state::normal; +import ::OmniSurface::OmniShared::emission_mode; +import ..::Templates::OmniUber_Automotive::*; +import ::tex::gamma_mode; + +export material Carbon_Fiber_ANI_01_Clearcoat(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(10.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(1.f), + uv_offset_02: float2(0.f), + uv_offset_time_02: float2(0.f), + uv_rotation_02: 0.f, + triplanar_blend_range_02: 0.5f, + uvs_mode_03: Templates::OmniUber_Automotive::triplanar, + uv_scale_03: float2(1.f), + uv_offset_03: float2(0.f), + uv_offset_time_03: float2(0.f), + uv_rotation_03: 0.f, + triplanar_blend_range_03: 0.5f, + uvs_mode_04: Templates::OmniUber_Automotive::triplanar, + uv_scale_04: float2(1.f), + uv_offset_04: float2(0.f), + uv_offset_time_04: float2(0.f), + uv_rotation_04: 0.f, + triplanar_blend_range_04: 0.5f, + enable_opacity: false, + uv_set_opacity: Templates::OmniUber_Automotive::uv_set_1, + opacity_image: texture_2d(), + opacity_channel: Templates::OmniUber_Automotive::a, + geometry_opacity_threshold: 0.150000006f, + uv_set_layer_0: Templates::OmniUber_Automotive::uv_set_1, + base_color_image: texture_2d(), + diffuse_reflection_color: color(0.0759073719f, 0.075907588f, 0.075906828f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d(), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 1.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_carbonfiber_uncoated_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_carbonfiber_uncoated_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(1.f, 0.125f), + normal_image: texture_2d("./ov_carbonfiber_uncoated_01_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 1.f, + enable_layer_1: false, + layer_1_order: Templates::OmniUber_Automotive::above, + layer_1_blend_source: Templates::OmniUber_Automotive::texture, + layer_1_uv_set_blend_factor: Templates::OmniUber_Automotive::uv_set_1, + layer_1_blend_splatmap: texture_2d(), + layer_1_blend_splatmap_channel: Templates::OmniUber_Automotive::r, + layer_1_blend_direction: float3(0.f, 1.f, 0.f), + layer_1_blend_axis: Templates::OmniUber_Automotive::y, + layer_1_blend_object_space: true, + layer_1_blend_scale: 1.f, + layer_1_blend_offset: 0.f, + layer_1_blend_primvar_name: "", + layer_1_uv_set_detail: Templates::OmniUber_Automotive::uv_set_1, + layer_1_blend_detail_image: texture_2d(), + layer_1_blend_detail_image_channel: Templates::OmniUber_Automotive::r, + layer_1_blend_threshold: 0.330000013f, + layer_1_blend_factor_override: 0.f, + uv_set_layer_1: Templates::OmniUber_Automotive::uv_set_1, + layer_1_base_color_image: texture_2d(), + layer_1_diffuse_reflection_color: color(1.f, 1.f, 1.f), + layer_1_base_color_offset: 0.f, + layer_1_base_color_scale: 1.f, + layer_1_base_color_desaturation: 0.f, + layer_1_metalness_image: texture_2d(), + layer_1_metalness_channel: Templates::OmniUber_Automotive::b, + layer_1_metalness: 1.f, + layer_1_specular_reflection_weight: 1.f, + layer_1_cavity_image: texture_2d(), + layer_1_cavity_channel: Templates::OmniUber_Automotive::r, + layer_1_roughness_image: texture_2d(), + layer_1_roughness_channel: Templates::OmniUber_Automotive::g, + layer_1_roughness_u: 1.f, + layer_1_roughness_range_position: float2(1.f, 0.5f), + layer_1_normal_image: texture_2d(), + layer_1_normal_flip_green: true, + layer_1_normal_scale: 1.f, + enable_layer_2: false, + layer_2_order: Templates::OmniUber_Automotive::above, + layer_2_blend_source: Templates::OmniUber_Automotive::texture, + layer_2_uv_set_blend_factor: Templates::OmniUber_Automotive::uv_set_2, + layer_2_blend_splatmap: texture_2d(), + layer_2_blend_splatmap_channel: Templates::OmniUber_Automotive::r, + layer_2_blend_direction: float3(0.f, 1.f, 0.f), + layer_2_blend_axis: Templates::OmniUber_Automotive::y, + layer_2_blend_object_space: true, + layer_2_blend_scale: 1.f, + layer_2_blend_offset: 0.f, + layer_2_blend_primvar_name: "", + layer_2_uv_set_detail: Templates::OmniUber_Automotive::uv_set_2, + layer_2_blend_detail_image: texture_2d(), + layer_2_blend_detail_image_channel: Templates::OmniUber_Automotive::r, + layer_2_blend_threshold: 0.330000013f, + layer_2_blend_factor_override: 0.f, + uv_set_layer_2: Templates::OmniUber_Automotive::uv_set_2, + layer_2_base_color_image: texture_2d(), + layer_2_diffuse_reflection_color: color(1.f, 1.f, 1.f), + layer_2_base_color_offset: 0.f, + layer_2_base_color_scale: 1.f, + layer_2_base_color_desaturation: 0.f, + layer_2_metalness_image: texture_2d(), + layer_2_metalness_channel: Templates::OmniUber_Automotive::b, + layer_2_metalness: 1.f, + layer_2_specular_reflection_weight: 1.f, + layer_2_cavity_image: texture_2d(), + layer_2_cavity_channel: Templates::OmniUber_Automotive::r, + layer_2_roughness_image: texture_2d(), + layer_2_roughness_channel: Templates::OmniUber_Automotive::g, + layer_2_roughness_u: 1.f, + layer_2_roughness_range_position: float2(1.f, 0.5f), + layer_2_normal_image: texture_2d(), + layer_2_normal_flip_green: true, + layer_2_normal_scale: 1.f, + enable_anisotropy: true, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 0.25f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d("./ov_carbonfiber_uncoated_01_anisotropy_angle.png", ::tex::gamma_default, ""), + anisotropic_direction_channel: Templates::OmniUber_Automotive::rgb, + anisotropic_direction: 1.f, + enable_detail_normal: false, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_1, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d(), + detail_normal_flip_green: true, + detail_normal_scale: 1.f, + detail_normal_weight_image: texture_2d(), + detail_normal_weight_channel: Templates::OmniUber_Automotive::r, + enable_emission: false, + uv_set_emission: Templates::OmniUber_Automotive::uv_set_1, + uv_set_emission_mask: Templates::OmniUber_Automotive::uv_set_1, + emission_image: texture_2d(), + emission_mask_image: texture_2d(), + emission_mode: OmniSurface::OmniShared::emission_lx, + emission_intensity: 1.f, + emission_color: color(1.f, 1.f, 1.f), + emission_use_temperature: false, + emission_temperature: 6500.f, + enable_coat: true, + coat_color: color(1.f, 1.f, 1.f), + coat_mask_image: texture_2d(), + coat_mask_channel: Templates::OmniUber_Automotive::r, + coat_roughness_image: texture_2d(), + coat_roughness_channel: Templates::OmniUber_Automotive::r, + coat_roughness: 0.f, + coat_ior: 1.60000002f, + coat_anisotropy: 0.f, + coat_anisotropy_rotation: 0.f, + coat_affect_color: 0.f, + coat_affect_roughness: 0.f, + coat_normal_image: texture_2d(), + coat_normal_flip_green: true, + uv_set_coat_roughness_normal: Templates::OmniUber_Automotive::uv_set_1, + uv_set_coat_mask: Templates::OmniUber_Automotive::uv_set_1, + enable_flakes: false, + flake_color: color(1.f, 1.f, 1.f), + flake_size: 0.125f, + flakes_density: 0.25f, + flakes_spread: 0.150000006f, + flake_roughness: 0.0500000007f); diff --git a/Material/material_0298/Ceramic_Tiles_Glazed_Square.mdl b/Material/material_0298/Ceramic_Tiles_Glazed_Square.mdl new file mode 100644 index 0000000000000000000000000000000000000000..35925282dfb03eaa8ddc353b14c949d80f073de9 --- /dev/null +++ b/Material/material_0298/Ceramic_Tiles_Glazed_Square.mdl @@ -0,0 +1,2589 @@ +/****************************************************************************** + * Copyright 2024 NVIDIA Corporation. All rights reserved. * + ****************************************************************************** + +Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge, +to any person obtaining a copy of the sample definition code that uses our +Material Definition Language (the "MDL Materials"), to reproduce and distribute +the MDL Materials, including without limitation the rights to use, copy, merge, +publish, distribute, and sell modified and unmodified copies of the MDL +Materials, and to permit persons to whom the MDL Materials is furnished to do +so, in all cases solely for use with NVIDIA’s Material Definition Language, +subject to the following further conditions: + +1. The above copyright notices, this list of conditions, and the disclaimer +that follows shall be retained in all copies of one or more of the MDL +Materials, including in any software with which the MDL Materials are bundled, +redistributed, and/or sold, and included either as stand-alone text files, +human-readable headers or in the appropriate machine-readable metadata fields +within text or binary files as long as those fields can be easily viewed by the +user, as applicable. +2. The name of NVIDIA shall not be used to promote, endorse or advertise any +Modified Version without specific prior written permission, except a) to comply + with the notice requirements otherwise contained herein; or b) to acknowledge +the contribution(s) of NVIDIA. + +THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, +INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE +THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS. +*/ + + +mdl 1.6; +import ::base::*; +import ::state::*; +import ::math::*; +import ::anno::*; +import ::tex::*; +import ::df::*; +import ::nvidia::core_definitions::*; + +const string COPYRIGHT = +" Copyright 2024 NVIDIA Corporation. All rights reserved.\n" +" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n" +" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n" +" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n" +" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n" +" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n" +" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n" +" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n" +" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n" +" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n"; + +float histogram_range(float input, float range = 1.0f, float position = 0.5f) +{ + float low = ::math::clamp(1.0 - ::math::min(((1.0 - position) + range * 0.5), (1.0 - position) * 2), 0.0, 1.0); + float high = ::math::clamp(math::min((position + range * 0.5 ), position * 2.0), 0.0, 1.0); + return ::math::lerp(low, high, input); +} + +// Returns the normal n in tangent space, given n is in internal space. +float3 transform_internal_to_tangent(float3 n) +[[ + anno::hidden() +]] +{ + return + n.x* float3(state::texture_tangent_u(0).x,state::texture_tangent_v(0).x,state::normal().x)+ + n.y* float3(state::texture_tangent_u(0).y,state::texture_tangent_v(0).y,state::normal().y)+ + n.z* float3(state::texture_tangent_u(0).z,state::texture_tangent_v(0).z,state::normal().z); +} + +// Returns the normal n in internal space, given n is in tangent space. +float3 transform_tangent_to_internal(float3 n) +[[ + anno::hidden() +]] +{ + return state::texture_tangent_u(0) * n.x + + state::texture_tangent_v(0) * n.y + + state::normal() * n.z ; +} + +// https://nullprogram.com/blog/2018/07/31/ +//bias: 0.17353355999581582 ( very probably the best of its kind ) +// NOTE: To turn this back to a float, one must divide the value by 4294967296.f +// which corresponds to 0xffffffff, however MDL seems to turn this into -1. +int lowbias32(int x) +{ + x ^= x >>> 16; + x *= 0x7feb352d; + x ^= x >>> 15; + x *= 0x846ca68b; + x ^= x >>> 16; + return x; +} + +float uint2float(int x) +{ + return float(x & 0x7FFFFFFF) + (x < 0 ? 2147483648.0 : 0.0); +} + +float2 rnd22(int2 p, int seed = 0) { + float2 ret_val = float2( + uint2float(lowbias32(p[0] + lowbias32(p[1]))) / 4294967296.f, + uint2float(lowbias32(p[0] + seed + lowbias32(p[1]))) / 4294967296.f + ); + return ret_val; +} + +float2x2 invert_2x2(float2x2 M) +{ + float det = M[0][0]*M[1][1] - M[0][1]*M[1][0]; + //https://www.chilimath.com/lessons/advanced-algebra/inverse-of-a-2x2-matrix/ + return (1.0 / det) * float2x2(M[1][1], -M[0][1], -M[1][0], M[0][0]); +} + + +float3 rgb2srgb(float3 val) [[ anno::unused() ]] { + return ::math::pow( ::math::max(val, float3(0.f)), float3(1./2.2) ); +} + +float3 nonrepeat_lookup( + uniform texture_2d texture = texture_2d(), + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float2 texture_scale = 1.0, + float3 average_color = float3(0.5), + float patch_size = 8.0, + int seed = 0 +) +{ + + float2 uv_in = float2(uvw.position[0], uvw.position[1]) / texture_scale; + float Z = patch_size; // patch scale inside example texture + + float3 O = float3(0.f); + float2x2 M0 = float2x2(1.f,0.f, 0.5f, ::math::sqrt(3.f)/2.f); + float2x2 M = invert_2x2(M0); // transform matrix <-> tilted space + + float2 U = uv_in; + float2 V = M * uv_in; //pre-tilted hexa coordinates + int2 I = int2(::math::floor(V)); // hexa-tile id + + // The mean color needs to be determined in Photoshop then to make the + // average color work out, take the float value and calculate the apropriate + // mean value as (value^(1/2.2)) + + float3 m = average_color; + + float3 F = float3(::math::frac(V)[0], ::math::frac(V)[1], 0.f), W; + F[2] = 1.0 - F[0] - F[1]; // local hexa coordinates + + if( F[2] > 0.f ) + O = (W[0] = F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I, seed))) - m) + + (W[1] = F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0,1), seed))) - m) + + (W[2] = F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1,0), seed))) - m); + else + O = (W[0] = -F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1), seed))) - m) + + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1, 0), seed))) - m) + + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0, 1), seed))) - m); + O = m + O/::math::length(W); + O = ::math::clamp( (O), 0.0, 1.0); + + return float3(O); +} + +::base::texture_coordinate_info transform_coordinate_2( + float4x4 transform + [[ anno::description("A transformation to be applied to the source coordinates. rotation_translation_scale() is a suggested means to compute the transformation matrix.") ]], + ::base::texture_coordinate_info coordinate = ::base::texture_coordinate_info() + [[ anno::description("Coordinate, typically sourced from coordinate_source or coordinate_projection.") ]] +) [[ + ::anno::description("Transform a texture coordinate by a matrix.") , + ::anno::noinline() + ]] +{ + float4 r_position = transform * float4(coordinate.position.x,coordinate.position.y,coordinate.position.z,1); + float4 u = transform[0]; + float3 ru = ::math::normalize(float3(u.x,u.y,u.z)); + float cos = ru.x; + float sin = -ru.y; + + return ::base::texture_coordinate_info( + float3(r_position.x,r_position.y,r_position.z), + math::normalize(cos * coordinate.tangent_u - sin * coordinate.tangent_v), + math::normalize(cos * coordinate.tangent_v + sin * coordinate.tangent_u)); +} + + +::base::texture_coordinate_info vmat_transform( + float2 translation = float2(0.0, 0.0), + float rotation = 0.0, // rotation in degrees + float2 scaling = float2(1.0, 1.0), + uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw, + uniform int uv_space = 0 +) +{ + float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f; + float4x4 scale = + float4x4(1.0 /scaling.x, 0. , 0. , 0., + 0. , 1.0 /scaling.y , 0. , 0., + 0. , 0. , 1.0, 0., + translation.x , translation.y , 0.0, 1.); + + float s = ::math::sin(rotation_rad); + float c = ::math::cos(rotation_rad); + float4x4 rotate = + float4x4( c , -s , 0.0 , 0.0, + s , c , 0.0 , 0.0, + 0.0, 0.0 , 1.0 , 0.0, + 0. , 0.0 , 0.0 , 1.); + + return transform_coordinate_2(scale*rotate, ::base::coordinate_source(system, uv_space)); +} + + +struct ceramic_tiles_return { + color diffuse; + float dirt; + float tiles_isotropic_rough_squared; + float glazing_roughness; + float3 normal; + float4 randvals; + ::base::texture_coordinate_info tiles_uvw; +}; + +ceramic_tiles_return Ceramic_Tiles_Glazed_Square_Generator( + + // Ceramic textures + // *** MAPS *** + uniform texture_2d tex_tiles_multi_R_noise1_G_noise2_B_craquelure // R - Diffuse color mix noise 1 + = texture_2d() [[ // G - finish_roughness + ::anno::description("Tiles texture that contains the textures " // B - Craquelure + "for diffuse color mixing, the roughness and the craquelure."), + ::anno::display_name("Tiles Noise1 Roughness Craquelure"), + ::anno::in_group("Textures"), + ::anno::ui_order(1) + ]], + uniform texture_2d tex_tiles_multi_R_rough_G_thickness_B_drops // R - Diffuse color mix noise 2 + = texture_2d()[[ // G - Glazing Thickness + ::anno::description("Tiles texture that contains the textures " // B - Drops (roughness) + "for diffuse color mixing, glazing thickness and drops."), + ::anno::display_name("Tiles Noise2 Thickness Drops"), + ::anno::in_group("Textures"), + ::anno::ui_order(2) + ]], + + uniform texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao // R - Height + = texture_2d() [[ // B - AO + ::anno::description("Tiles texture that contains the textures " // G - Edgefade (diffuse) + "for the tiles height, the edge fade and AO."), + ::anno::display_name("Tiles Height Edgefade AO"), + ::anno::in_group("Textures"), + ::anno::ui_order(3) + ]], + + uniform texture_2d tex_lin_tiles_norm = texture_2d() // Normal texture for the tiles + [[ + ::anno::description("The normal texture to be used for the ceramic tiles."), + ::anno::display_name("Tiles Normal"), + ::anno::in_group("Textures"), + ::anno::ui_order(4) + ]], + // uniform texture_2d tex_lin_orange_peel_norm = texture_2d(), // Orange Peel Texture + + // Grout + uniform texture_2d tex_srgb_grout_diffuse_tex = texture_2d() // Diffuse Grout texture + [[ + ::anno::description("The diffuse texture for the grout."), + ::anno::display_name("Grout Diffuse"), + ::anno::in_group("Textures"), + ::anno::ui_order(5) + ]], + uniform texture_2d tex_lin_grout_normal = texture_2d() // texture with normal for the grout + [[ + ::anno::description("The normal texture for the grout."), + ::anno::display_name("Grout Normal"), + ::anno::in_group("Textures"), + ::anno::ui_order(6) + ]], + + // OTHER TEXTURE REQUIRED + // OPTIONAL: Diffuse texture for the ceramix underneath the glazing. Probably not very visible + + color tiles_color_1 = color(0.6f) + [[ + ::anno::description("Mixing color 1 for the ceramic tiles."), + ::anno::display_name("Tiles Color 1"), + ::anno::in_group("Appearance"), + ::anno::ui_order(7) + ]], + color tiles_color_2 = color(0.7f) + [[ + ::anno::description("Mixing color 2 for the ceramic tiles."), + ::anno::display_name("Tiles Color 2"), + ::anno::in_group("Appearance"), + ::anno::ui_order(8) + ]], + color tiles_color_3 = color(0.8f) + [[ + ::anno::description("Mixing color 3 for the tiles."), + ::anno::display_name("Tiles Color 3"), + ::anno::in_group("Appearance"), + ::anno::ui_order(9) + ]], + float tiles_random_brightness = 0.0f + [[ + ::anno::description("Randomly modifies the brightness of the tiles."), + ::anno::display_name("Tiles Random Brightness"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance"), + ::anno::ui_order(10) + ]], + int tiles_random_seed = 0 + [[ + ::anno::description("Choose a different seed number to obtain a different randomization pattern."), + ::anno::display_name("Tiles Random Seed"), + ::anno::in_group("Tiles"), + ::anno::ui_order(11) + ]], + + uniform float tiles_bump_strength = 1.0f + [[ + ::anno::description("Adjusts the strength of the tiles bump map."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::ui_order(12) + ]], + float tiles_random_slope_orientation = 0.03f + [[ + ::anno::description("When increasing this value, tiles are slanted in random directions. " + "This breaks up the even look and gives the appearance that the tiles work was done by hand."), + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::soft_range(0.0f, 1.0f), + ::anno::hard_range(0.0f, 5.0f), + ::anno::in_group("Tiles"), + ::anno::ui_order(13) + ]], + + float tiles_rotate = 0.0f // global rotation of texture in the tiles + [[ + ::anno::description("Global rotation of the texture lookup for the tiles textures in degrees."), + ::anno::display_name("Tiles Texture Rotate"), + ::anno::soft_range(-360.0f, 360.0f), + ::anno::in_group("Tiles"), + ::anno::ui_order(15) + ]], + float tiles_random_rotation = 1.0f // random rotation amount in degrees + [[ + ::anno::description("Random rotation of the textures for the tiles in degrees."), + ::anno::display_name("Tiles Random Rotation"), + ::anno::soft_range(0.0f, 360.0f), + ::anno::in_group("Tiles"), + ::anno::ui_order(16) + ]], + float tiles_scale = 1.0f + [[ + ::anno::description("Scales the texture in the tiles."), + ::anno::display_name("Tiles Texture Scale"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.0f, 2.0f), + ::anno::ui_order(17) + ]], + float tiles_random_scale = 0.0f + [[ + ::anno::description("Adds random variation to the scaling of the texture lookup for the tiles."), + ::anno::display_name("Tiles Random Texture Scale"), + ::anno::soft_range(0.0f, 1.0f), + ::anno::in_group("Tiles"), + ::anno::ui_order(18) + ]], + + float glazing_varying_thickness_weight = 0.0f + [[ + ::anno::description("Adds a varying thickness to the glazing which makes the underlying " + "ceramic color shine through."), + ::anno::display_name("Glazing Varying Thickness Weight"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Glazing"), + ::anno::ui_order(19) + ]], + float glazing_edgefade_weight = 0.0f + [[ + ::anno::description("Adds a fading effect so that the glazing is thinner at the edges " + "of the tiles. This revelas the ceramic color which will begin to shine through."), + ::anno::display_name("Glazing Edgefade Weight"), + ::anno::in_group("Glazing"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::ui_order(20) + ]], + float glazing_edgefade_randomness = 0.0f + [[ + ::anno::description("Adds Randomness to the edgefade effect, so that tiles have varying edgefading effect."), + ::anno::display_name("Glazing Edgefade Randomness"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Glazing"), + ::anno::ui_order(10) + ]], + float glazing_craquelure_weight = 0.0f + [[ + ::anno::description("Adds craquelure to the tiles to give them a more antique appearance."), + ::anno::display_name("Glazing Craquelure Weight"), + ::anno::in_group("Glazing"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::ui_order(21) + ]], + uniform float glazing_orange_peel_bump = 1.0f + [[ + ::anno::description("Adds an unevenness to the glazing so that it appears more natural."), + ::anno::display_name("Glazing Orange Peel Bump"), + ::anno::soft_range(0.0f, 1.0f), + ::anno::hard_range(0.0f, 3.0f), + ::anno::in_group("Glazing"), + ::anno::ui_order(22) + ]], + uniform float glazing_orangepeel_size = 1.0f + [[ + ::anno::description("Adjusts the size of the orangepeel on the glazing."), + ::anno::display_name("Glazing Orange Peel Size"), + ::anno::soft_range(0.0f, 1.0f), + ::anno::in_group("Glazing"), + ::anno::ui_order(23) + ]], + uniform int glazing_orangepeel_noise_levels = 3 + [[ + ::anno::description("A higher number of levels makes the glazing layer to appear noisier " + "while a low level gives the glazing a realtively smooth appearance."), + ::anno::display_name("Glazing Orange Peel Noise Levels"), + ::anno::hard_range(0, 6), + ::anno::in_group("Glazing"), + ::anno::ui_order(24) + ]], + uniform float3 glazing_orangepeel_distortion = float3(0.0f) + [[ + ::anno::description("An optional input to add distortion to the glazing orange peel."), + ::anno::display_name("Glazing Orange Peel Distortion"), + ::anno::in_group("Glazing"), + ::anno::ui_order(25) + ]], + + // Roughness + float tiles_roughness = 0.04f + [[ + ::anno::description("The basic roughness of the tiles."), + ::anno::display_name("Tiles Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(26) + ]], + float tiles_roughness_range = 0.5f + [[ + ::anno::description("The amount how much the roughness is varying around its base roughness value."), + ::anno::display_name("Tiles Roughness Range"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(27) + ]], + float drops_amount = 0.5f + [[ + ::anno::description("Adds residue of dried drops on the tiles which can be seen in the specular highlight."), + ::anno::display_name("Drops Amount"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(28) + ]], + float grout_brightness = 0.5f + [[ + ::anno::description("Adjusts the brightness of the grout."), + ::anno::display_name("Grout Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + float grout_roughness = 0.8f + [[ + ::anno::description("The roughness of the grout."), + ::anno::display_name("Grout Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + + float grout_height = 0.1f + [[ + ::anno::description("The height of the grout."), + ::anno::display_name("Grout Height"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + float grout_softness = 0.1f + [[ + ::anno::description("The softness of the transition between the grout and the tiles."), + ::anno::display_name("Grout Transition Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float grout_bump_strength = 1.0f + [[ + ::anno::description("The strength of the grout bumpmap."), + ::anno::display_name("Grout Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float grout_scale = 1.0f + [[ + ::anno::description("Scales the texture lookup for the grout independently from the tiles."), + ::anno::display_name("Grout Scale"), + ::anno::in_group("Appearance"), + ::anno::soft_range(0.f, 2.f) + ]], + float ao_amount = 0.5f + [[ + ::anno::description("The amount of ambient occlusion to convey more depth of grout. Used for artistical tweaking."), + ::anno::display_name("Ambient Occlusion Amount"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Texture Translate"), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotation angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform"), + ::anno::soft_range(-360.f, 360.f) + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(1.0, 1.0)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 + [[ + ::anno::description("The UV texture space to be used."), + ::anno::display_name("Texture Space"), + ::anno::in_group("Advanced"), + ::anno::ui_order(10) + ]] +) +[[ + ::anno::description("Glazed Ceramic Tiles generator. This function should be hidden as it has all of its " + "parameters exposed. Expose in the material that it is generated with just the parameters that are needed " + "for easy tweaking."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Ceramic Tiles Generator Function"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Glazed_Square.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square")), + ::anno::hidden(), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] +{ + texture_scale *= 0.625; + color ceramic_color = color(1.0f); + ::base::texture_coordinate_info base_uv = vmat_transform( + translation:texture_translate, + rotation: texture_rotate, + scaling: texture_scale, + system: ::base::texture_coordinate_uvw, + uv_space: uv_space_index + ); + ::base::texture_coordinate_info grout_uv = ::base::texture_coordinate_info( + position: base_uv.position / grout_scale, + tangent_u: base_uv.tangent_u, + tangent_v: base_uv.tangent_v + + ); + + //float2 tile_id_uv = float2(base_uv.position.x, base_uv.position.y)*10.0f; + +// --------------------------- Rand Tiles Routine ------------------------------------------------------- + + // rand_tiles_return rand_tiles_ret = rand_tiles( + // tex_lin_tiles_id_offset_color_tex: tex_lin_tiles_id_offset_color_tex, + // base_uv: base_uv, + // texture_space: uv_space_index, + // scale: scale, + // tiles_rotate: tiles_rotate, + // tiles_random_rotation: tiles_random_rotation, + // tiles_scale: tiles_scale, + // tiles_random_scale: tiles_random_scale + // ); + + // 1. Get UVs for tex_lin_tiles_id_offset_color_tex lookup plus the according cell indices + // 2. Perform lookup, correct tiles borders and generate the random values for the tiles + // 3. Use random values to generate random values for the randomized UVs + // - random scale (1 floats) + // - random rotation (1 float) + // - random offset (2 floats) + // - random brightness (1 float) + // 4. Do the random UV generation using 'vmat_transform'-function + + int rand_val_1, rand_val_2, rand_val_3, rand_val_4, rand_val_5, rand_val_6; + float rnd1, rnd2, rnd3, rnd4, rnd5, rnd6; + + // The 10x scaling factor is to match the repetition of the tiles in the textures + int2 cell_id = int2(int(::math::floor(base_uv.position.x*10.0)), int(::math::floor(base_uv.position.y*10.0))); + + rand_val_1 = lowbias32(tiles_random_seed + lowbias32(cell_id.x + lowbias32(cell_id.y))); + rand_val_2 = lowbias32(rand_val_1); + rand_val_3 = lowbias32(rand_val_2); + rand_val_4 = lowbias32(rand_val_3); + rand_val_5 = lowbias32(rand_val_4); + rand_val_6 = lowbias32(rand_val_5); + + rnd1 = uint2float(rand_val_1)/4294967296.f; + rnd2 = uint2float(rand_val_2)/4294967296.f; + rnd3 = uint2float(rand_val_3)/4294967296.f; + rnd4 = uint2float(rand_val_4)/4294967296.f; + rnd5 = uint2float(rand_val_5)/4294967296.f; + rnd6 = uint2float(rand_val_6)/4294967296.f; + + // Generate 2 different sets of lookups. Re-Using random numbers between functions at different positions. + // Hoping that this little save does not leave an impression on the eye + ::base::texture_coordinate_info tiles_lookup_uvw_1 = + vmat_transform( + translation:texture_translate + (float2(rnd1, rnd2)) * 17.77, + rotation: texture_rotate + (tiles_rotate + (rnd3 - 0.5f) * tiles_random_rotation), + scaling: texture_scale * (float2(tiles_scale) + tiles_scale* float2(rnd4) * tiles_random_scale), + system: ::base::texture_coordinate_uvw, + uv_space: uv_space_index + ); + + + +// ---------------------------------------------------------------------------------- + color tiles_diff = color(1.0f, 0.0, 0.0f); + color grout_diff_lookup = color(0.5f, 1.5f, 0.5f); + + // Lookup for Edgefade and tiles height, using the non-shifted original UV coordinates + float3 R_height_G_edgefade_B_ao = ::tex::lookup_float3( + tex: tex_tiles_multi_R_height_G_edgefade_B_ao, + coord: float2(base_uv.position.x, base_uv.position.y) + ); + + // Lookup for Noise 1, Noise 2 and Craquelure + float3 R_noise1_G_noise2_B_craquelure = ::tex::lookup_float3( + tex: tex_tiles_multi_R_noise1_G_noise2_B_craquelure, + coord: float2(tiles_lookup_uvw_1.position.x, tiles_lookup_uvw_1.position.y) + ); + + // Lookup the Finish Roughness, Glazing Thickness and Drops + // float3 R_rough_G_thickness_B_drops = ::tex::lookup_float3( + // tex: tex_tiles_multi_R_rough_G_thickness_B_drops, + // coord: float2(tiles_lookup_uvw_2.position.x, tiles_lookup_uvw_2.position.y) + // ); + + + float3 R_rough_G_thickness_B_drops = nonrepeat_lookup( + texture: tex_tiles_multi_R_rough_G_thickness_B_drops, + uvw: base_uv, + average_color: float3(0.469f, 0.327f, 0.033f), + texture_scale: texture_scale, + patch_size: 6.0, + seed: tiles_random_seed + ); + + float grout_mask = ::math::smoothstep(grout_height, grout_height + grout_softness, R_height_G_edgefade_B_ao.x); + + if (grout_mask < 0.999f) + { + // Grout Diffuse + grout_diff_lookup = ::base::file_texture( + texture: tex_srgb_grout_diffuse_tex, + uvw: grout_uv).tint; + grout_diff_lookup = ::nvidia::core_definitions::blend_colors( + color_1: grout_diff_lookup, + color_2: color(grout_brightness), + mode: ::base::color_layer_overlay, + weight: 1.0f).tint; + } + if (grout_mask >= 0.001f) + { + // Compositing the diffuse color + ::base::color_layer layer_1 = ::base::color_layer( + layer_color: tiles_color_2, + weight: R_noise1_G_noise2_B_craquelure.x, + mode: ::base::color_layer_blend + ); + // Color 3 + ::base::color_layer layer_2 = ::base::color_layer( + layer_color: tiles_color_3, + weight: R_noise1_G_noise2_B_craquelure.y, + mode: ::base::color_layer_blend + ); + // Varying brightness + ::base::color_layer layer_3 = ::base::color_layer( + layer_color: color(rnd6), + weight: tiles_random_brightness, + mode: ::base::color_layer_overlay + ); + // Varying glazing thickness + ::base::color_layer layer_4 = ::base::color_layer( + layer_color: ceramic_color, + weight: R_rough_G_thickness_B_drops.y * glazing_varying_thickness_weight * .15f, + mode: ::base::color_layer_blend + ); + // Edge Fade + ::base::color_layer layer_5 = ::base::color_layer( + layer_color: ceramic_color, + weight: glazing_edgefade_weight * (R_height_G_edgefade_B_ao.y + (0.5 - rnd3) * glazing_edgefade_randomness), + mode: ::base::color_layer_blend + ); + // Craquelure + ::base::color_layer layer_6 = ::base::color_layer( + layer_color: color(::math::pow(R_noise1_G_noise2_B_craquelure.z, 2.2f)), + weight: glazing_craquelure_weight, + mode: ::base::color_layer_overlay + ); + + ::base::color_layer[] tile_layers = ::base::color_layer[]( + layer_1, layer_2, layer_3, layer_4, layer_5, layer_6 + ); + + tiles_diff = ::base::blend_color_layers( + layers: tile_layers, + base: tiles_color_1 + ).tint; + } + + ::base::texture_return tiles_diff_final = ::nvidia::core_definitions::blend_colors( + color_1: grout_diff_lookup, + color_2: tiles_diff, + mode: ::nvidia::core_definitions::color_layer_blend, + weight: grout_mask + ); + + tiles_diff_final = (ao_amount > 0.0) ? ::nvidia::core_definitions::blend_colors( + color_1: tiles_diff_final.tint, + color_2: color(R_height_G_edgefade_B_ao.z), + mode: ::nvidia::core_definitions::color_layer_multiply, + weight: (1.0f - grout_height) * ao_amount + ) : tiles_diff_final; + + +// ******** COAT Roughness ******** + + float glazing_roughness = histogram_range(R_rough_G_thickness_B_drops.x, tiles_roughness_range, tiles_roughness); + glazing_roughness += R_rough_G_thickness_B_drops.z * drops_amount; + glazing_roughness = ::math::lerp(grout_roughness, glazing_roughness, grout_mask); + + +// ******** NORMALS ******** + // Tiles normal + float3 tiles_normal = ::base::tangent_space_normal_texture( + texture: tex_lin_tiles_norm, + factor: tiles_bump_strength, + uvw: base_uv + ); + + // Grout Normal + float3 grout_normal = ::base::tangent_space_normal_texture( + texture: tex_lin_grout_normal, + factor: grout_bump_strength, + uvw: grout_uv + ); + + float3 orange_peel_normal = ::base::perlin_noise_bump_texture( + uvw: base_uv, + factor: glazing_orange_peel_bump * .2f, + size: glazing_orangepeel_size * ::state::scene_units_per_meter(), + apply_marble: false, + apply_dent: false, + noise_phase: 0.0f, + noise_levels: glazing_orangepeel_noise_levels, + absolute_noise: false, + ridged_noise: false, + noise_distortion: glazing_orangepeel_distortion, + noise_threshold_high: 1.0f, + noise_threshold_low: 0.0f, + noise_bands: 1.0f, + normal: ::state::normal() + ); + +// Randomized Tiles normals - This needs to be probably rotated with the normal of the uv-tiles + float slope_amount = 0.07 * tiles_random_slope_orientation; + float3 slope = ::math::normalize( + ::state::texture_tangent_u(0) * (rnd5 - 0.5) * slope_amount + + ::state::texture_tangent_v(0) * (rnd6 - 0.5) * slope_amount + + ::state::normal() * ((1.0f - slope_amount) + 1.0f) + ); + + // http://blog.selfshadow.com/publications/blending-in-detail/ + float3 n_t = transform_internal_to_tangent(slope); + float3 tiles_normal_t = transform_internal_to_tangent(tiles_normal); + float3 orange_peel_normal_t = transform_internal_to_tangent(orange_peel_normal); + + // 1st detail normal + n_t=n_t + float3(0.,0.,1.); + tiles_normal_t = tiles_normal_t * float3(-1.,-1.,1.); + float3 n = n_t*math::dot(n_t, tiles_normal_t)/n_t.z - tiles_normal_t; + + // 2nd detail normal + n_t = n + float3(0.,0.,1.); + orange_peel_normal_t = orange_peel_normal_t * float3(-1.,-1.,1.); + n = n_t*math::dot(n_t, orange_peel_normal_t)/n_t.z - orange_peel_normal_t; + + float3 normal_final = ::math::normalize(transform_tangent_to_internal(n)); + normal_final = ::math::lerp(grout_normal, normal_final, grout_mask); + + return ceramic_tiles_return( + diffuse: tiles_diff_final.tint, + dirt: R_rough_G_thickness_B_drops.x, + tiles_isotropic_rough_squared: 0.2, + glazing_roughness: glazing_roughness * glazing_roughness, + normal: normal_final, + randvals: float4(rnd1, rnd2, rnd3, rnd4), + tiles_uvw: tiles_lookup_uvw_1 + ); +} + + +export material Ceramic_Tiles_Glazed_Square( + +// Main Tweaks + int tiles_random_seed = 0 + [[ + ::anno::description("Choose a different seed number to obtain a different randomization pattern."), + ::anno::display_name("Tiles Random Seed"), + ::anno::in_group("Main"), + ::anno::ui_order(0) + ]], + color tiles_color_1 = color(0.014444f, 0.034340f, 0.215861f) + [[ + ::anno::description("Mixing color 1 for the ceramic tiles."), + ::anno::display_name("Tiles Color 1"), + ::anno::in_group("Main"), + ::anno::ui_order(1) + ]], + color tiles_color_2 = color(0.017642f, 0.039546f, 0.219526f) + [[ + ::anno::description("Mixing color 2 for the ceramic tiles."), + ::anno::display_name("Tiles Color 2"), + ::anno::in_group("Main"), + ::anno::ui_order(2) + ]], + color tiles_color_3 = color(0.014444f, 0.018500f, 0.219526f) + [[ + ::anno::description("Mixing color 3 for the tiles."), + ::anno::display_name("Tiles Color 3"), + ::anno::in_group("Main"), + ::anno::ui_order(3) + ]], + float tiles_random_brightness = 0.015f + [[ + ::anno::description("Randomly modifies the brightness of the tiles."), + ::anno::display_name("Tiles Random Brightness"), + ::anno::in_group("Main"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::ui_order(4) + ]], + float tiles_roughness = 0.039f + [[ + ::anno::description("The basic roughness of the tiles."), + ::anno::display_name("Tiles Roughness"), + ::anno::in_group("Main"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(5) + ]], + float tiles_roughness_range = 0.003f + [[ + ::anno::description("The amount how much the roughness is varying around its base roughness value."), + ::anno::display_name("Tiles Roughness Range"), + ::anno::in_group("Main"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(6) + ]], + float tiles_random_slope_orientation = 0.05f + [[ + ::anno::description("When increasing this value, tiles are slanted in random directions. " + "This breaks up the even look and gives the appearance that the tiles work was done by hand."), + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::soft_range(0.0f, 1.0f), + ::anno::hard_range(0.0f, 5.0f), + ::anno::in_group("Main"), + ::anno::ui_order(7) + ]], + uniform float glazing_orange_peel_bump = 0.03f + [[ + ::anno::description("Adds an unevenness to the glazing so that it appears more natural."), + ::anno::display_name("Glazing Orange Peel Bump"), + ::anno::soft_range(0.0f, 1.0f), + ::anno::hard_range(0.0f, 5.0f), + ::anno::in_group("Main"), + ::anno::ui_order(8) + ]], + float glazing_edgefade_weight = 0.0f + [[ + ::anno::description("Adds a fading effect so that the glazing is thinner at the edges " + "of the tiles. This revelas the ceramic color which will begin to shine through."), + ::anno::display_name("Glazing Edgefade Weight"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Main"), + ::anno::ui_order(9) + ]], + float glazing_edgefade_randomness = 0.0f + [[ + ::anno::description("Adds Randomness to the edgefade effect, so that tiles have varying edgefading effect."), + ::anno::display_name("Glazing Edgefade Randomness"), + ::anno::enable_if("glazing_edgefade_weight > 0.0f"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Main"), + ::anno::ui_order(10) + ]], + float glazing_craquelure_weight = 0.0f + [[ + ::anno::description("Adds craquelure to the tiles to give them a more antique appearance."), + ::anno::display_name("Glazing Craquelure Weight"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Main"), + ::anno::ui_order(11) + ]], + float drops_amount = 0.0f + [[ + ::anno::description("Adds residue of dried drops on the tiles which can be seen in the specular highlight."), + ::anno::display_name("Drops Amount"), + ::anno::in_group("Main"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(12) + ]], + float grout_brightness = 0.7f + [[ + ::anno::description("Adjusts the brightness of the grout."), + ::anno::display_name("Grout Brightness"), + ::anno::in_group("Main"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(13) + ]], + float grout_height = 0.05f + [[ + ::anno::description("The height of the grout."), + ::anno::display_name("Grout Height"), + ::anno::in_group("Main"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(14) + ]], + uniform float grout_scale = 1.0f + [[ + ::anno::description("Scales the texture lookup for the grout independently from the tiles."), + ::anno::display_name("Grout Scale"), + ::anno::in_group("Advanced", "Grout"), + ::anno::soft_range(0.f, 2.f), + ::anno::ui_order(15) + ]], + uniform float tiles_bump_strength = 1.0f + [[ + ::anno::description("Adjusts the strength of the tiles bump map."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Main"), + ::anno::ui_order(16) + ]], + color dirt_color = color(0.0582f, 0.037f, 0.0265f) + [[ + ::anno::description("Sets the color of the dirt layer."), + ::anno::display_name("Dirt Layer Color"), + ::anno::in_group("Main"), + ::anno::ui_order(17) + ]], + float dirt_weight = 0.0f + [[ + ::anno::description("The weight of the dirt layer."), + ::anno::display_name("Dirt Weight"), + ::anno::in_group("Main"), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(18) + ]], + + uniform float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Texture Translate"), + ::anno::in_group("Transform"), + ::anno::ui_order(19) + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform"), + ::anno::soft_range(-360.f, 360.f), + ::anno::ui_order(20) + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(1.0, 1.0)), + ::anno::in_group("Transform"), + ::anno::ui_order(21) + ]], + + + + + float tiles_rotate = 0.0f // global rotation of texture in the tiles + [[ + ::anno::description("Globally rotates the texture lookup for the tiles textures in degrees."), + ::anno::display_name("Tiles Texture Rotate"), + ::anno::in_group("Advanced", "Tiles"), + ::anno::ui_order(22) + ]], + float tiles_random_rotation = 1.0f // random rotation amount in degrees + [[ + ::anno::description("Randomly rotates the textures for the tiles in degrees."), + ::anno::display_name("Tiles Random Rotation"), + ::anno::soft_range(0.f, 360.f), + ::anno::in_group("Advanced", "Tiles"), + ::anno::ui_order(23) + ]], + float tiles_scale = 1.0f + [[ + ::anno::description("Scales the texture in the tiles."), + ::anno::display_name("Tiles Texture Scale"), + ::anno::soft_range(0.0f, 2.0f), + ::anno::in_group("Advanced", "Tiles"), + ::anno::ui_order(24) + ]], + float tiles_random_scale = 0.0f + [[ + ::anno::description("Adds random variation to the scaling of the texture lookup for the tiles."), + ::anno::display_name("Tiles Random Texture Scale"), + ::anno::soft_range(0.0f, 1.0f), + ::anno::in_group("Advanced", "Tiles"), + ::anno::ui_order(25) + ]], + + float glazing_varying_thickness_weight = 0.00f + [[ + ::anno::description("Adds a varying thickness to the glazing which makes the underlying " + "ceramic color shine through."), + ::anno::display_name("Glazing Varying Thickness Weight"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Advanced", "Glazing"), + ::anno::ui_order(26) + ]], + uniform float glazing_orangepeel_size = 0.05f + [[ + ::anno::description("Adjusts the size of the orangepeel on the glazing."), + ::anno::display_name("Glazing Orange Peel Size"), + ::anno::soft_range(0.0f, 1.0f), + ::anno::in_group("Advanced", "Glazing"), + ::anno::ui_order(27) + ]], + uniform int glazing_orangepeel_noise_levels = 4 + [[ + ::anno::description("A higher number of levels makes the glazing layer to appear noisier " + "while a low level gives the glazing a realtively smooth appearance."), + ::anno::display_name("Glazing Orange Peel Noise Levels"), + ::anno::soft_range(0, 6), + ::anno::in_group("Advanced", "Glazing"), + ::anno::ui_order(28) + ]], + + float grout_roughness = 0.8f + [[ + ::anno::description("The roughness of the grout."), + ::anno::display_name("Grout Roughness"), + ::anno::in_group("Advanced", "Grout"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(29) + ]], + float grout_softness = 0.05f + [[ + ::anno::description("The softness of the transition between the grout and the tiles."), + ::anno::display_name("Grout Transition Roughness"), + ::anno::in_group("Advanced", "Grout"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(30) + ]], + uniform float grout_bump_strength = 1.0f + [[ + ::anno::description("The strength of the grout bumpmap."), + ::anno::display_name("Grout Bump Strength"), + ::anno::in_group("Advanced", "Grout"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(31) + ]], + float ao_amount = 0.5f + [[ + ::anno::description("The amount of ambient occlusion to convey more depth of grout. Used for artistical tweaking."), + ::anno::display_name("Ambient Occlusion Amount"), + ::anno::in_group("Advanced"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(32) + ]], + uniform int uv_space_index = 0 + [[ + ::anno::description("The UV texture space to be used."), + ::anno::display_name("Texture Space"), + ::anno::in_group("Advanced"), + ::anno::ui_order(33) + ]] + +) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Dark Blue"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Glazed_Square.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "blue", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = +let { + texture_2d tex_lin_tiles_norm = texture_2d("./square_tiles_norm.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao = texture_2d("./square_tiles_multi_R_height_G_edgefade_B_ao.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_noise1_G_noise2_B_craquelure = texture_2d("./tiles_multi_R_noise1_G_noise2_B_craquelure.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_rough_G_thickness_B_drops = texture_2d("./tiles_multi_R_rough_G_thickness_B_drops.jpg", ::tex::gamma_linear); + texture_2d tex_srgb_grout_diffuse_tex = texture_2d("./mortar_diff.jpg", ::tex::gamma_srgb); + texture_2d tex_lin_grout_normal = texture_2d("./mortar_norm.jpg", ::tex::gamma_linear); + + + ceramic_tiles_return ret = Ceramic_Tiles_Glazed_Square_Generator( + // tex_lin_tiles_id_offset_color_tex: tex_lin_tiles_id_offset_color_tex, + tex_tiles_multi_R_noise1_G_noise2_B_craquelure: tex_tiles_multi_R_noise1_G_noise2_B_craquelure, + tex_tiles_multi_R_rough_G_thickness_B_drops: tex_tiles_multi_R_rough_G_thickness_B_drops, + tex_tiles_multi_R_height_G_edgefade_B_ao: tex_tiles_multi_R_height_G_edgefade_B_ao, + tex_lin_tiles_norm: tex_lin_tiles_norm, + tex_srgb_grout_diffuse_tex: tex_srgb_grout_diffuse_tex, + tex_lin_grout_normal: tex_lin_grout_normal, + + tiles_random_seed: tiles_random_seed, + tiles_color_1: tiles_color_1, + tiles_color_2: tiles_color_2, + tiles_color_3: tiles_color_3, + tiles_random_brightness: tiles_random_brightness, + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + tiles_rotate: tiles_rotate, + tiles_random_rotation : tiles_random_rotation, + tiles_scale : tiles_scale, + tiles_random_scale: tiles_random_scale, + + glazing_varying_thickness_weight: glazing_varying_thickness_weight, + glazing_edgefade_weight: glazing_edgefade_weight, + glazing_edgefade_randomness: glazing_edgefade_randomness, + glazing_craquelure_weight: glazing_craquelure_weight, + glazing_orange_peel_bump: glazing_orange_peel_bump, + glazing_orangepeel_size: glazing_orangepeel_size, + glazing_orangepeel_noise_levels: glazing_orangepeel_noise_levels, + + tiles_roughness: tiles_roughness, + tiles_roughness_range: tiles_roughness_range, + drops_amount: drops_amount, + grout_roughness: grout_roughness, + + grout_brightness: grout_brightness, + grout_height: grout_height, + grout_softness: grout_softness, + grout_bump_strength: grout_bump_strength, + grout_scale: grout_scale, + ao_amount: ao_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + + uv_space_index: uv_space_index + ); + + bsdf diff = ::df::diffuse_reflection_bsdf( + tint: ret.diffuse + ); + + +} in material ( + surface : material_surface ( + scattering : + ::df::weighted_layer( + weight: dirt_weight * ret.dirt, + layer: ::df::diffuse_reflection_bsdf ( tint: dirt_color), + base: df::fresnel_layer ( + ior : 1.5, + layer : df::microfacet_ggx_smith_bsdf( + roughness_u: ret.glazing_roughness, + roughness_v: ret.glazing_roughness, + tint : color(1.), + mode : df::scatter_reflect), + base : diff + ) + ) + ), + geometry: material_geometry( + normal: ret.normal + ) +); + +export material Ceramic_Tiles_Square_Dark_Blue_New_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Dark Blue Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Dark_Blue_New_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "matte", "blue", "dark", "cool", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.014444f, 0.034340f, 0.215861f), + tiles_color_2: color(0.017642f, 0.039546f, 0.219526f), + tiles_color_3: color(0.014444f, 0.018500f, 0.219526f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.11f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + grout_scale: 0.52f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Dark_Blue_Varied_New(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Dark Blue Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Dark_Blue_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "blue", "dark", "cool", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.014444f, 0.034340f, 0.215861f), + tiles_color_2: color(0.017642f, 0.039546f, 0.219526f), + tiles_color_3: color(0.014444f, 0.018500f, 0.219526f), + tiles_random_brightness: 1.0f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + + + + +export material Ceramic_Tiles_Square_Dark_Green_New(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Dark Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Dark_Green_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "green", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.003677f, 0.051269f, 0.003347f), + tiles_color_2: color(0.051269f, 0.109462f, 0.049707f), + tiles_color_3: color(0.006995f, 0.027321f, 0.013702f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Square_Dark_Green_New_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Dark Green Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Dark_Green_New_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "matte", "green", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.003677f, 0.051269f, 0.003347f), + tiles_color_2: color(0.051269f, 0.109462f, 0.049707f), + tiles_color_3: color(0.006995f, 0.027321f, 0.013702f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Dark_Green_Varied_New(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Dark Green Random"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Dark_Green_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "matte", "green", "dark", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.003677f, 0.051269f, 0.003347f), + tiles_color_2: color(0.051269f, 0.109462f, 0.049707f), + tiles_color_3: color(0.006995f, 0.027321f, 0.013702f), + tiles_random_brightness: 0.58f, + tiles_roughness: 0.04f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Square_White(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.651406f, 0.651406f, 0.651406f), + tiles_color_2: color(0.651406f, 0.651406f, 0.651406f), + tiles_color_3: color(0.651406f, 0.651406f, 0.651406f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + grout_scale: 0.52f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Square_White_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - White Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_White_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.651406f, 0.651406f, 0.651406f), + tiles_color_2: color(0.651406f, 0.651406f, 0.651406f), + tiles_color_3: color(0.651406f, 0.651406f, 0.651406f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.07f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + grout_scale: 0.52f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + + +export material Ceramic_Tiles_Square_White_Worn_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - White Worn"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_White_Worn_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "worn", "aged", "old", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.491021f, 0.491021f, 0.491021f), + tiles_color_2: color(0.651406f, 0.651406f, 0.564712f), + tiles_color_3: color(0.651406f, 0.651406f, 0.479320f), + tiles_random_brightness: 0.07f, + tiles_roughness: 0.51f, + tiles_roughness_range: 1.00f, + tiles_random_slope_orientation: 0.35f, + glazing_orange_peel_bump: 0.1f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.30f, + drops_amount: 0.93f, + grout_brightness: 0.12f, + grout_height: 0.05f, + grout_scale: 0.52f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 + ); + + export material Ceramic_Tiles_Square_Antique_White(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed square tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Antique White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Antique_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "old", "antique", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 2, + tiles_color_1: color(0.603827f, 0.533276f, 0.473531f), + tiles_color_2: color(0.496933f, 0.445201f, 0.401978f), + tiles_color_3: color(0.571125f, 0.539479f, 0.462077f), + tiles_random_brightness: 0.02f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.1f, + glazing_orange_peel_bump: 0.18f, + glazing_edgefade_weight: 0.17f, + glazing_edgefade_randomness: 0.50f, + glazing_craquelure_weight: 0.66f, + drops_amount: 0.20f, + grout_brightness: 0.09f, + grout_height: 0.05f, + grout_scale: 0.52f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 360.0f, + tiles_scale: 1.00f, + tiles_random_scale: 0.25f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 1.00f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Square_Antique_White_Dirty(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed square tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Antique White Dirty"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Antique_White_Dirty.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "worn", "old", "antique", "matte", "dirty", "white", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 3, + tiles_color_1: color(0.603827f, 0.533276f, 0.473531f), + tiles_color_2: color(0.496933f, 0.445201f, 0.401978f), + tiles_color_3: color(0.571125f, 0.539479f, 0.462077f), + tiles_random_brightness: 0.02f, + tiles_roughness: 0.5f, + tiles_roughness_range: 0.6f, + tiles_random_slope_orientation: 0.1f, + glazing_orange_peel_bump: 0.18f, + glazing_edgefade_weight: 0.17f, + glazing_edgefade_randomness: 0.50f, + glazing_craquelure_weight: 0.66f, + drops_amount: 0.20f, + grout_brightness: 0.09f, + grout_height: 0.05f, + grout_scale: 0.52f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.6f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 360.0f, + tiles_scale: 1.00f, + tiles_random_scale: 0.25f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 1.00f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Black(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Black"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Black.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.012983f, 0.012983f, 0.012983f), + tiles_color_2: color(0.012983f, 0.012983f, 0.012983f), + tiles_color_3: color(0.009721f, 0.009721f, 0.009721f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + grout_scale: 0.52f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 + ); + + +export material Ceramic_Tiles_Square_Black_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Black Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Black_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.012983f, 0.012983f, 0.012983f), + tiles_color_2: color(0.012983f, 0.012983f, 0.012983f), + tiles_color_3: color(0.009721f, 0.009721f, 0.009721f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.05f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + grout_scale: 0.52f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Square_Black_Matte_Rough(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Black Matte Rough"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Black_Matte_Rough.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "rough", "bumped", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 17, + tiles_color_1: color(0.012983f, 0.012983f, 0.012983f), + tiles_color_2: color(0.012983f, 0.012983f, 0.012983f), + tiles_color_3: color(0.009721f, 0.009721f, 0.009721f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.35f, + tiles_roughness_range: 0.12f, + tiles_random_slope_orientation: 0.04f, + glazing_orange_peel_bump: 0.5f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + grout_scale: 1.00f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:6, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Dark_Gray(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Dark Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Dark_Gray.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "gray", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.045186f, 0.042311f, 0.039546f), + tiles_color_2: color(0.051269f, 0.048172f, 0.045186f), + tiles_color_3: color(0.040915f, 0.038204f, 0.035601f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + grout_scale: 0.52f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Square_Dark_Gray_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Dark Gray Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Dark_Gray_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "matte", "gray", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.045186f, 0.042311f, 0.039546f), + tiles_color_2: color(0.051269f, 0.048172f, 0.045186f), + tiles_color_3: color(0.040915f, 0.038204f, 0.035601f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.05f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + grout_scale: 0.52f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Square_Gray(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Gray.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "gray", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.187821f, 0.187821f, 0.162029f), + tiles_color_2: color(0.187821f, 0.187821f, 0.162029f), + tiles_color_3: color(0.187821f, 0.187821f, 0.187821f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + grout_scale: 0.52f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Gray_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Gray Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Gray_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "matte", "gray", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.187821f, 0.187821f, 0.162029f), + tiles_color_2: color(0.187821f, 0.187821f, 0.162029f), + tiles_color_3: color(0.187821f, 0.187821f, 0.187821f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.05f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Gray_Matte_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Gray Matte Random"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Gray_Matte_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "matte", "gray", "neutral", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.187821f, 0.187821f, 0.162029f), + tiles_color_2: color(0.187821f, 0.187821f, 0.162029f), + tiles_color_3: color(0.187821f, 0.187821f, 0.187821f), + tiles_random_brightness: 0.81f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.05f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Mint(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Mint Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Mint.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "mint", "green")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.230740f, 0.309469f, 0.165132f), + tiles_color_2: color(0.226966f, 0.304987f, 0.162029f), + tiles_color_3: color(0.223228f, 0.300544f, 0.158961f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Mint_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Mint Green Random"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Mint_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "mint", "green", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.230740f, 0.309469f, 0.165132f), + tiles_color_2: color(0.226966f, 0.304987f, 0.162029f), + tiles_color_3: color(0.223228f, 0.300544f, 0.158961f), + tiles_random_brightness: 0.61f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Lime_Green(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Lime Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Lime_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "lime", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.313989f, 0.361307f, 0.027321f), + tiles_color_2: color(0.309469f, 0.356400f, 0.027321f), + tiles_color_3: color(0.304987f, 0.351533f, 0.027321f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Square_Lime_Green_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Lime Green Random"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Lime_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "lime", "green", "random", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 8, + tiles_color_1: color(0.313989f, 0.361307f, 0.027321f), + tiles_color_2: color(0.309469f, 0.356400f, 0.027321f), + tiles_color_3: color(0.304987f, 0.351533f, 0.027321f), + tiles_random_brightness: 0.52f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Square_Yellow(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Yellow"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Yellow.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "yellow", "warm", "saturated", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.590619f, 0.371238f, 0.033105f), + tiles_color_2: color(0.584078f, 0.366253f, 0.033105f), + tiles_color_3: color(0.577580f, 0.361307f, 0.033105f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Yellow_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Yellow Random"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Yellow_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "yellow", "warm", "saturated", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.590619f, 0.371238f, 0.033105f), + tiles_color_2: color(0.584078f, 0.366253f, 0.033105f), + tiles_color_3: color(0.577580f, 0.361307f, 0.033105f), + tiles_random_brightness: 0.45f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Square_Petrol(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Petrol"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Petrol.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "petrol", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.029557f, 0.107023f, 0.135633f), + tiles_color_2: color(0.029557f, 0.104616f, 0.132868f), + tiles_color_3: color(0.028426f, 0.102242f, 0.130136f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Petrol_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Petrol Random"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Petrol_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "petrol", "cool", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.039546f, 0.152926f, 0.194618f), + tiles_color_2: color(0.038204f, 0.144128f, 0.181164f), + tiles_color_3: color(0.039546f, 0.149960f, 0.191202f), + tiles_random_brightness: 0.70f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.07f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Square_Red(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Red"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Red.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "red", "warm", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.327778f, 0.021219f, 0.020289f), + tiles_color_2: color(0.327778f, 0.021219f, 0.017642f), + tiles_color_3: color(0.274677f, 0.018500f, 0.017642f), + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Square_Red_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Red Random"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Red_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "red", "warm", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.327778f, 0.021219f, 0.020289f), + tiles_color_2: color(0.327778f, 0.021219f, 0.017642f), + tiles_color_3: color(0.274677f, 0.018500f, 0.017642f), + tiles_random_brightness: 0.55f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 + ); + + +export material Ceramic_Tiles_Square_Brown(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Tiles - Brown"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square.Ceramic_Tiles_Square_Brown.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "new", "shiny", "brown")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square( + tiles_random_seed: 0, + tiles_color_1: color(0.078187f, 0.054480f, 0.038204f), + tiles_color_2: color(0.068478f, 0.048172f, 0.034340f), + tiles_color_3: color(0.049707f, 0.035601f, 0.025187f), + tiles_random_brightness: 0.0f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.15f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.05f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.00f, + texture_scale: 1.00f, + tiles_rotate: 0.00f, + tiles_random_rotation: 0.00f, + tiles_scale: 1.00f, + tiles_random_scale: 0.00f, + glazing_varying_thickness_weight:0.00f, + glazing_orangepeel_size: 0.05f, + glazing_orangepeel_noise_levels:4, + grout_roughness: 0.8f, + grout_softness: 0.1f, + grout_bump_strength: 1.0f, + ao_amount: 0.5f, + uv_space_index: 0 + ); \ No newline at end of file diff --git a/Material/material_0339/Wool_Melton.mdl b/Material/material_0339/Wool_Melton.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a1aad2d6ce5a871a509877a5b5c7a19b03989e7a --- /dev/null +++ b/Material/material_0339/Wool_Melton.mdl @@ -0,0 +1,811 @@ +/****************************************************************************** + * Copyright 2024 NVIDIA Corporation. All rights reserved. + ****************************************************************************** + +Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge, +to any person obtaining a copy of the sample definition code that uses our +Material Definition Language (the "MDL Materials"), to reproduce and distribute +the MDL Materials, including without limitation the rights to use, copy, merge, +publish, distribute, and sell modified and unmodified copies of the MDL +Materials, and to permit persons to whom the MDL Materials is furnished to do +so, in all cases solely for use with NVIDIA's Material Definition Language, +subject to the following further conditions: + +1. The above copyright notices, this list of conditions, and the disclaimer +that follows shall be retained in all copies of one or more of the MDL +Materials, including in any software with which the MDL Materials are bundled, +redistributed, and/or sold, and included either as stand-alone text files, +human-readable headers or in the appropriate machine-readable metadata fields +within text or binary files as long as those fields can be easily viewed by the +user, as applicable. +2. The name of NVIDIA shall not be used to promote, endorse or advertise any +Modified Version without specific prior written permission, except a) to comply + with the notice requirements otherwise contained herein; or b) to acknowledge +the contribution(s) of NVIDIA. + +THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, +INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE +THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS. +*/ + +mdl 1.7; + +import ::anno::*; +import ::base::*; +import ::df::*; +import ::math::*; +import ::state::*; +import ::tex::*; +import ::nvidia::core_definitions::dimension; +import ::nvidia::core_definitions::blend_colors; + + +const string COPYRIGHT = +" Copyright 2024 NVIDIA Corporation. All rights reserved.\n" +" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n" +" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n" +" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n" +" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n" +" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n" +" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n" +" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n" +" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n" +" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n"; + +const string DESCRIPTION = "A wool material."; + +annotation preview_scale( float f); + +int lowbias32(int x) +{ + x ^= x >>> 16; + x *= 0x7feb352d; + x ^= x >>> 15; + x *= 0x846ca68b; + x ^= x >>> 16; + return x; +} + +float f_n(float n, float a, float h, float l) { + float k = ::math::fmod(n + h * 12.f, 12.f); + + return l - a * ::math::max(-1.0f, ::math::min(::math::min(k-3.0f, 9.0f-k), 1.0f)); +} + +float2x2 invert_2x2(float2x2 M) +{ + float det = M[0][0]*M[1][1] - M[0][1]*M[1][0]; + //https://www.chilimath.com/lessons/advanced-algebra/inverse-of-a-2x2-matrix/ + return (1.0 / det) * float2x2(M[1][1], -M[0][1], -M[1][0], M[0][0]); +} + +float uint2float(int x) +{ + return float(x & 0x7FFFFFFF) + (x < 0 ? 2147483648.0 : 0.0); +} + +float2 rnd22(int2 p) { + float2 ret_val = float2( + uint2float(lowbias32(p[0] + lowbias32(p[1]))) / 4294967296.f, + uint2float(lowbias32(p[0] + 32000 + lowbias32(p[1]))) / 4294967296.f + ); + return ret_val; +} + +float histogram_range(float input, float range = 1.0f, float position = 0.5f) +{ + float low = ::math::clamp(1.0 - ::math::min(((1.0 - position) + range * 0.5), (1.0 - position) * 2), 0.0, 1.0); + float high = ::math::clamp(::math::min((position + range * 0.5 ), position * 2.0), 0.0, 1.0); + return ::math::lerp(low, high, input); +} + +float3 rgb2hsl(float3 c) +[[ + ::anno::description("Converts a color value to HSL. The function outputs the hue to \n" + "lie in the range from 0.0-1.0."), + ::anno::author("NVIDIA vMaterials") +]] +{ + float3 hsl; + float cMax = ::math::max(::math::max(c.x, c.y), c.z); + float cMin = ::math::min(::math::min(c.x, c.y), c.z); + float delta = cMax - cMin; + + hsl.z = (cMax + cMin) / 2.0; + hsl.x = ((cMax == cMin) ? 0 : + (cMax == c.x) ? (c.y - c.z) / delta + ((c.z > c.y) ? 6.0f : 0.0f): + (cMax == c.y) ? (c.z - c.x) / delta + 2.0 : (c.x - c.y) / delta + 4.0) / 6.0f; + hsl.y = (hsl.z == 0.0 || hsl.z == 1.0) ? 0.0 : delta / (1.0 - ::math::abs(2.0 * hsl.z - 1.0)); + return hsl; +} + +color hsl2rgb(float3 hsl) +[[ + ::anno::description("Converts a HSL value back to a color. Note that the hue is expected to \n" + "lie in the range from 0.0-1.0."), + ::anno::author("NVIDIA vMaterials") +]] +{ + float h = hsl.x, s = hsl.y, l = hsl.z; + float a = s * ::math::min(l, 1.0f - l); + return color(f_n(0.0, a, h, l), + f_n(8.0, a, h, l), + f_n(4.0, a, h, l)); +} + +struct vm_coordinates{ + float2 uv; + float rotation; + int uv_space_index; + float4 carry; +}; + +struct vm_col_norm{ + float3 value; + float3 norm; +}; + +enum vm_mono_select +[[ + ::anno::description("Modes for the creation of a gray-scale value from a color."), + ::anno::hidden() +]] +{ + mono_r = 0, + mono_g = 1, + mono_b = 2, + mono_a = 3, + mono_average = 4 +}; + + + +vm_coordinates vm_coord +( + float2 translation = float2(0.0f, 0.0) [[ + ::anno::display_name("Translation"), + ::anno::description("Translates the coordinates.") + ]], + float rotation = 0.0f [[ + ::anno::display_name("Rotation"), + ::anno::description("Rotates the coordinates in degrees.") + ]], + float2 scaling = float2(1.0f, 1.0f) [[ + ::anno::display_name("Scaling"), + ::anno::description("Scales the coordinates.") + ]], + uniform int uv_space = 0 [[ + ::anno::display_name("UV Space"), + ::anno::description("Chose the UV space.") + ]] +) +[[ + ::anno::display_name("vm Transform"), + ::anno::description("Generates coordinates to be used in vm_lookup functions.") +]] +{ + vm_coordinates uv; + ::base::texture_coordinate_info info = ::base::coordinate_source( ::base::texture_coordinate_uvw, uv_space); + uv.rotation = (rotation * 3.1415926535897932384626433832f) / 180.f; + uv.uv = float2(info.position.x, info.position.y); + float sine = ::math::sin(uv.rotation); + float cosine = ::math::cos(uv.rotation); + float2x2 rot = float2x2(cosine, -sine, sine, cosine); + uv.uv = rot * uv.uv; + uv.uv /= scaling; + uv.uv += translation; + // Translation before or after rotation? + return uv; +} + + +float3 vm_tex_infinite( + uniform texture_2d tex = texture_2d(), + vm_coordinates uv = vm_coord(), + float3 average_color = float3(0.5f, 0.5f, 1.0f), + float patch_size = 1.0, + bool gamma_correct = true, + float gamma = 2.2f +) +{ + float2 uv_in = uv.uv; + + float3 O = float3(0.f); + float2x2 M0 = float2x2(1.f,0.f, 0.5f, ::math::sqrt(3.f)/2.f); + float2x2 M = invert_2x2(M0); // transform matrix <-> tilted space + + float2 U = uv_in; + float2 V = M * (uv.uv / patch_size); //pre-tilted hexa coordinates + int2 I = int2(::math::floor(V))+int2(935); // hexa-tile id + + // The mean color needs to be determined in Photoshop then to make the + // average color work out, take the float value and calculate the apropriate + // mean value as (value^(1/2.2)) + + float3 m = average_color; + + float3 F = float3(::math::frac(V)[0], ::math::frac(V)[1], 0.f), W; + F[2] = 1.0 - F[0] - F[1]; // local hexa coordinates + + if( F[2] > 0.f ) + O = (W[0] = F[2]) * (( ::tex::lookup_float3(tex, U-rnd22(I))) - m) + + (W[1] = F[1]) * (( ::tex::lookup_float3(tex, U-rnd22(I+int2(0,1)))) - m) + + (W[2] = F[0]) * (( ::tex::lookup_float3(tex, U-rnd22(I+int2(1,0)))) - m); + else + O = (W[0] = -F[2]) * (( ::tex::lookup_float3(tex, U-rnd22(I+int2(1)))) - m) + + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(tex, U-rnd22(I+int2(1, 0)))) - m) + + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(tex, U-rnd22(I+int2(0, 1)))) - m); + O = m + O/::math::length(W); + O = ::math::clamp( (O), 0.0f, 1.0f); + + return gamma_correct? ::math::pow(::math::max(O, float3(0.0f)), gamma) : float3(O); +} + + + +// Returns an infinite lookup plus a normal map lookup +vm_col_norm vm_tex_infinite_color_normal( + uniform texture_2d tex_col = texture_2d(), + uniform texture_2d tex_norm = texture_2d(), + vm_coordinates uv = vm_coord(), + float3 average_color = float3(0.5), + float3 average_norm = float3(0.5f, 0.5f, 1.0f), + float patch_size = 1.0, + // Color output settings + bool color_out_gamma_correct = true, + float color_out_gamma = 2.2f, + // Normal output setting + float normal_strength = 1.0 +) +{ + vm_col_norm ret; + float2 uv_in = uv.uv; + + float3 O_a = float3(0.f); + float3 O_b = float3(0.f); + float2x2 M0 = float2x2(1.f,0.f, 0.5f, ::math::sqrt(3.f)/2.f); + float2x2 M = invert_2x2(M0); // transform matrix <-> tilted space + + float2 U = uv_in; + float2 V = M * (uv.uv / patch_size); //pre-tilted hexa coordinates + int2 I = int2(::math::floor(V))+int2(935); // hexa-tile id + + // The mean color needs to be determined in Photoshop then to make the + // average color work out, take the float value and calculate the apropriate + // mean value as (value^(1/2.2)) + + float3 m_a = average_color; + float3 m_b = average_norm; + + float3 F = float3(::math::frac(V)[0], ::math::frac(V)[1], 0.f), W; + F[2] = 1.0 - F[0] - F[1]; // local hexa coordinates + + if( F[2] > 0.f ) + { + O_a = (W[0] = F[2]) * (( ::tex::lookup_float3(tex_col, U-rnd22(I))) - m_a) + + (W[1] = F[1]) * (( ::tex::lookup_float3(tex_col, U-rnd22(I+int2(0,1)))) - m_a) + + (W[2] = F[0]) * (( ::tex::lookup_float3(tex_col, U-rnd22(I+int2(1,0)))) - m_a); + O_b = (W[0] = F[2]) * (( ::tex::lookup_float3(tex_norm, U-rnd22(I))) - m_b) + + (W[1] = F[1]) * (( ::tex::lookup_float3(tex_norm, U-rnd22(I+int2(0,1)))) - m_b) + + (W[2] = F[0]) * (( ::tex::lookup_float3(tex_norm, U-rnd22(I+int2(1,0)))) - m_b); + } + else + { + O_a = (W[0] = -F[2]) * (( ::tex::lookup_float3(tex_col, U-rnd22(I+int2(1)))) - m_a) + + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(tex_col, U-rnd22(I+int2(1, 0)))) - m_a) + + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(tex_col, U-rnd22(I+int2(0, 1)))) - m_a); + O_b = (W[0] = -F[2]) * (( ::tex::lookup_float3(tex_norm, U-rnd22(I+int2(1)))) - m_b) + + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(tex_norm, U-rnd22(I+int2(1, 0)))) - m_b) + + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(tex_norm, U-rnd22(I+int2(0, 1)))) - m_b); + } + + O_a = m_a + O_a/::math::length(W); + O_a = ::math::clamp( (O_a), 0.0, 1.0); + ret.value = color_out_gamma_correct? ::math::pow(::math::max(O_a, float3(0.0f)), color_out_gamma) : float3(O_a); + + O_b = m_b + O_b/::math::length(W); + O_b = ::math::clamp( (O_b), 0.0, 1.0); + + float3 norm = (O_b - float3(.5f)) * 2.0f; + norm = ::math::normalize(norm * float3(normal_strength, normal_strength, 1.0)); + // if any rotation happened prior to the lookup, compensate for it + norm = float3(::math::cos(uv.rotation) * norm.x - ::math::sin(uv.rotation) * norm.y, + ::math::sin(uv.rotation) * norm.x + ::math::cos(uv.rotation) * norm.y, + norm.z); + ret.norm = norm.x * ::state::texture_tangent_u(uv.uv_space_index) + + norm.y * ::state::texture_tangent_v(uv.uv_space_index) + + norm.z * ::state::normal(); + + return ret; +} + + +export material Wool_Melton( + color fabric_color = color(0.637597f, 0.637597f, 0.637597f) [[ + ::anno::description("Choose the color of the fabric."), + ::anno::display_name("Fabric Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(0) + ]], + float roughness = 1.0f [[ + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(1) + ]], + float white_fibers_weight = 0.29f [[ + ::anno::description("Adds a white fuzz layer on the material which gives it a more used appearance."), + ::anno::display_name("White Fibers Weight"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(2) + ]], + float sheen_weight = 0.38f [[ + ::anno::description("Adds a fuzzy, soft appearance around the material when viewed at grazing angles."), + ::anno::display_name("Sheen Weight"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(3) + ]], + float bump_strength = 1.f [[ + ::anno::description("Specifies the strength of the bump."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(4) + ]], + float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Texture Translate"), + ::anno::in_group("Transform"), + ::anno::ui_order(5) + ]], + float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform"), + ::anno::soft_range(0.f, 360.f), + ::anno::ui_order(6) + ]], + float2 texture_scale = 0.5f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::preview_scale(3.5f), + ::anno::ui_order(7) + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Transform"), + ::anno::ui_order(8) + ]], + uniform bool roundcorners_enable = false [[ + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::display_name("Enable Round Corners"), + ::anno::in_group("Round Corners"), + ::anno::ui_order(9) + ]], + uniform float roundcorners_radius_mm = 1.5f [[ + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::display_name("Round Corner Radius (mm)"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f), + ::anno::ui_order(10) + ]], + uniform bool roundcorners_across_materials = false [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners"), + ::anno::ui_order(11) + ]]) +[[ + ::anno::display_name("Wool Melton - White"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "white", "light", "neutral")) +]] + = + let { + bool tmp0 = false; + float2 texture_rescale = texture_scale * 0.11f; // texture covers 11 cm, scale up so it covers 1m per default + + texture_2d multi_tex = texture_2d("./wool_melton_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear); + texture_2d diff_fuzz_tex = texture_2d("./wool_melton_R_diff_G_fuzz.jpg", ::tex::gamma_linear); + texture_2d norm_tex = texture_2d("./wool_melton_norm.jpg", ::tex::gamma_linear); + + material_surface tmp1(::df::custom_curve_layer(0.0599999987f, 1.f, 5.f, histogram_range(vm_tex_infinite(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.444999993f, 0.662f, 0.472000003f), 1.f, false, 2.20000005f).y, 1.f, 0.459999979f), ::df::microfacet_ggx_smith_bsdf(::math::pow(histogram_range(1.f - vm_tex_infinite(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.444999993f, 0.662f, 0.472000003f), 1.f, false, 2.20000005f).x, 0.98999995f, roughness * 0.300000012f + 0.709999979f), 2.f) * ::math::pow(histogram_range(1.f - vm_tex_infinite(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.444999993f, 0.662f, 0.472000003f), 1.f, false, 2.20000005f).x, 0.98999995f, roughness * 0.300000012f + 0.709999979f), 2.f), ::math::pow(histogram_range(1.f - vm_tex_infinite(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.444999993f, 0.662f, 0.472000003f), 1.f, false, 2.20000005f).x, 0.98999995f, roughness * 0.300000012f + 0.709999979f), 2.f) * ::math::pow(histogram_range(1.f - vm_tex_infinite(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.444999993f, 0.662f, 0.472000003f), 1.f, false, 2.20000005f).x, 0.98999995f, roughness * 0.300000012f + 0.709999979f), 2.f), color(1.f, 1.f, 1.f), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::weighted_layer(sheen_weight, ::df::sheen_bsdf(0.0700000003f, hsl2rgb(rgb2hsl(float3(fabric_color)) * float3(1.f, 0.74000001f, 1.f)), color(1.f, 1.f, 1.f), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(fabric_color, color(::math::lerp(1.f, vm_tex_infinite_color_normal(diff_fuzz_tex, norm_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.584999979f, 0.00200000009f, 0.5f), float3(0.5f, 0.5f, 1.f), 0.159999996f, true, 2.20000005f, bump_strength).value.x, 1.f)), ::base::color_layer_overlay, 1.f, true).tint, color(1.f, 1.f, 1.f), ::base::color_layer_blend, ::math::pow(white_fibers_weight * vm_tex_infinite_color_normal(diff_fuzz_tex, norm_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.584999979f, 0.00200000009f, 0.5f), float3(0.5f, 0.5f, 1.f), 0.159999996f, true, 2.20000005f, bump_strength).value.y, 0.629999995f), true).tint, 0.f), bsdf(), vm_tex_infinite_color_normal(diff_fuzz_tex, norm_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.584999979f, 0.00200000009f, 0.5f), float3(0.5f, 0.5f, 1.f), 0.159999996f, true, 2.20000005f, bump_strength).norm)), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(fabric_color, color(::math::lerp(1.f, vm_tex_infinite_color_normal(diff_fuzz_tex, norm_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.584999979f, 0.00200000009f, 0.5f), float3(0.5f, 0.5f, 1.f), 0.159999996f, true, 2.20000005f, bump_strength).value.x, 1.f)), ::base::color_layer_overlay, 1.f, true).tint, color(1.f, 1.f, 1.f), ::base::color_layer_blend, ::math::pow(white_fibers_weight * vm_tex_infinite_color_normal(diff_fuzz_tex, norm_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.584999979f, 0.00200000009f, 0.5f), float3(0.5f, 0.5f, 1.f), 0.159999996f, true, 2.20000005f, bump_strength).value.y, 0.629999995f), true).tint, 0.f), bsdf(), vm_tex_infinite_color_normal(diff_fuzz_tex, norm_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.584999979f, 0.00200000009f, 0.5f), float3(0.5f, 0.5f, 1.f), 0.159999996f, true, 2.20000005f, bump_strength).norm), vm_tex_infinite_color_normal(diff_fuzz_tex, norm_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.584999979f, 0.00200000009f, 0.5f), float3(0.5f, 0.5f, 1.f), 0.159999996f, true, 2.20000005f, bump_strength).norm), vm_tex_infinite_color_normal(diff_fuzz_tex, norm_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.584999979f, 0.00200000009f, 0.5f), float3(0.5f, 0.5f, 1.f), 0.159999996f, true, 2.20000005f, bump_strength).norm), material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + material_surface tmp2 = material_surface(scattering: bsdf(), emission: material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + color tmp3 = color(1.f, 1.f, 1.f); + material_volume tmp4 = material_volume(scattering: vdf(), absorption_coefficient: color(0.f, 0.f, 0.f), scattering_coefficient: color(0.f, 0.f, 0.f), emission_intensity: color(0.f, 0.f, 0.f)); + material_geometry tmp5(float3(0.f), 1.f, roundcorners_enable ? ::state::rounded_corner_normal(roundcorners_radius_mm * 0.00100000005f, roundcorners_across_materials, 1.f) : ::state::normal()); + hair_bsdf tmp6 = hair_bsdf(); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5, + hair: tmp6); + + +// 2 +export material Wool_Melton_Sand(*) +[[ + ::anno::display_name("Wool Melton - Sand"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Sand.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "white", "light", "warm", "sand")) +]] = Wool_Melton( + fabric_color: color(0.637597f, 0.577580f, 0.485150f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +// 3 +export material Wool_Melton_Gray(*) +[[ + ::anno::display_name("Wool Melton - Gray"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Gray.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "gray", "neutral")) +]] = Wool_Melton( + fabric_color: color(0.274677f, 0.274677f, 0.274677f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +// 4 +export material Wool_Melton_Tobacco(*) +[[ + ::anno::display_name("Wool Melton - Tobacco"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Tobacco.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "tobacco", "brown")) +]] = Wool_Melton( + fabric_color: color(0.155926f, 0.090842f, 0.038204f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +// 5 +export material Wool_Melton_Carbon(*) +[[ + ::anno::display_name("Wool Melton - Carbon"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Carbon.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "carbon", "gray", "dark", "neutral")) +]] = Wool_Melton( + fabric_color: color(0.023153f, 0.027321f, 0.031896f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +// 6 +export material Wool_Melton_Saffron(*) +[[ + ::anno::display_name("Wool Melton - Saffron"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Saffron.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "saffron", "orange", "warm")) +]] = Wool_Melton( + fabric_color: color(0.610496f, 0.262251f, 0.009134f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +//7 +export material Wool_Melton_Paprika(*) +[[ + ::anno::display_name("Wool Melton - Paprika"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Paprika.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "paprika", "orange", "red", "warm", "saturated")) +]] = Wool_Melton( + fabric_color: color(0.679542f, 0.066626f, 0.018500f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +// 8 +export material Wool_Melton_Garnet(*) +[[ + ::anno::display_name("Wool Melton - Garnet"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Garnet.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "red", "warm", "dark")) +]] = Wool_Melton( + fabric_color: color(0.215861f, 0.013702f, 0.030713f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +// 9 +export material Wool_Melton_Green_Tea(*) +[[ + ::anno::display_name("Wool Melton - Green Tea"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Green_Tea.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "green")) +]] = Wool_Melton( + fabric_color: color(0.230740f, 0.318547f, 0.030713f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +// 10 +export material Wool_Melton_Jungle(*) +[[ + ::anno::display_name("Wool Melton - Jungle"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Jungle.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "green", "dark")) +]] = Wool_Melton( + fabric_color: color(0.031896f, 0.080220f, 0.023153f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +// 11 +export material Wool_Melton_Fuchsia(*) +[[ + ::anno::display_name("Wool Melton - Fuchsia"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Fuchsia.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "fuchsia", "purple", "saturated", "magenta", "violet")) +]] = Wool_Melton( + fabric_color: color(0.386429f, 0.034340f, 0.171441f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +// 12 +export material Wool_Melton_Aubergine(*) +[[ + ::anno::display_name("Wool Melton - Aubergine"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Aubergine.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "purple", "dark", "violet")) +]] = Wool_Melton( + fabric_color: color(0.066626f, 0.019382f, 0.080220f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +// 13 +export material Wool_Melton_Morning_Glory(*) +[[ + ::anno::display_name("Wool Melton - Morning Glory"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Morning_Glory.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "blue", "cool")) +]] = Wool_Melton( + fabric_color: color(0.109462f, 0.114435f, 0.304987f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); + +// 14 +export material Wool_Melton_Blue_Jay(*) +[[ + ::anno::display_name("Wool Melton - Blue Jay"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Miguel Guerrero"), + ::anno::contributor("Vanni Brighella"), + ::anno::thumbnail("./.thumbs/Wool_Melton.Wool_Melton_Blue_Jay.png"), + ::anno::key_words(string[]("fabric", "felt","wool", "melton", "clothing", "sheen", "fashion", "new", "blue", "cool")) +]] = Wool_Melton( + fabric_color: color(0.072272f, 0.184475f, 0.479320f), + roughness: 1.0f, + white_fibers_weight: 0.1f, + sheen_weight: 0.21f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false +); diff --git a/Material/material_0420/Copper_Sheet.mdl b/Material/material_0420/Copper_Sheet.mdl new file mode 100644 index 0000000000000000000000000000000000000000..e71cc8ac031fdaf3b9e41cdb4026cbb26b4fbd80 --- /dev/null +++ b/Material/material_0420/Copper_Sheet.mdl @@ -0,0 +1,1337 @@ +/****************************************************************************** + * Copyright 2024 NVIDIA Corporation. All rights reserved. + ****************************************************************************** + +Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge, +to any person obtaining a copy of the sample definition code that uses our +Material Definition Language (the "MDL Materials"), to reproduce and distribute +the MDL Materials, including without limitation the rights to use, copy, merge, +publish, distribute, and sell modified and unmodified copies of the MDL +Materials, and to permit persons to whom the MDL Materials is furnished to do +so, in all cases solely for use with NVIDIA's Material Definition Language, +subject to the following further conditions: + +1. The above copyright notices, this list of conditions, and the disclaimer +that follows shall be retained in all copies of one or more of the MDL +Materials, including in any software with which the MDL Materials are bundled, +redistributed, and/or sold, and included either as stand-alone text files, +human-readable headers or in the appropriate machine-readable metadata fields +within text or binary files as long as those fields can be easily viewed by the +user, as applicable. +2. The name of NVIDIA shall not be used to promote, endorse or advertise any +Modified Version without specific prior written permission, except a) to comply + with the notice requirements otherwise contained herein; or b) to acknowledge +the contribution(s) of NVIDIA. + +THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, +INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE +THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS. +*/ + + +mdl 1.5; + +import ::anno::*; +import ::base::*; +import ::df::*; +import ::math::*; +import ::state::*; +import ::tex::*; +import ::nvidia::core_definitions::blend_colors; +import ::nvidia::core_definitions::dimension; + +const string COPYRIGHT = +" Copyright 2024 NVIDIA Corporation. All rights reserved.\n" +" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n" +" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n" +" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n" +" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n" +" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n" +" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n" +" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n" +" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n" +" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n"; + +const string DESCRIPTION = "A sheet metal material with adjustable imperfections"; +const string DESCRIPTION_PUNCH = "Punched copper sheet metal material with adjustable imperfections and punchings."; + + +float4 tile_select(uniform int select = 0) +{ + switch (select) + { + case 0: return float4(0.000, 0.333, 0.666, 1.000); + case 1: return float4(0.333, 0.666, 0.666, 1.000); + case 2: return float4(0.666, 1.000, 0.666, 1.000); + + case 3: return float4(0.000, 0.333, 0.333, 0.666); + case 4: return float4(0.333, 0.666, 0.333, 0.666); + case 5: return float4(0.666, 1.000, 0.333, 0.666); + + case 6: return float4(0.000, 0.333, 0.000, 0.333); + case 7: return float4(0.333, 0.666, 0.000, 0.333); + case 8: return float4(0.666, 1.000, 0.000, 0.333); + + default: return float4(0.000, 0.333, 0.000, 0.333); + } +} + +export struct vm_coordinates +[[ + ::anno::hidden() +]] +{ + float2 uv; + float rotation; + int uv_space_index; + float4 carry; +}; + +enum vm_mono_select +[[ + anno::description("Modes for the creation of a gray-scale value from a color"), + anno::hidden() +]] +{ + mono_r = 0, + mono_g = 1, + mono_b = 2, + mono_a = 3, + mono_average = 4 +}; + +vm_coordinates vm_coord +( + float2 translation = float2(0.0f, 0.0) [[ + ::anno::display_name("Translation"), + ::anno::description("Translates the coordinates.") + ]], + float rotation = 0.0f [[ + ::anno::display_name("Rotation"), + ::anno::description("Rotates the coordinates in degrees.") + ]], + float2 scaling = float2(1.0f, 1.0f) [[ + ::anno::display_name("Scaling"), + ::anno::description("Scales the coordinates.") + ]], + uniform int uv_space = 0 [[ + ::anno::display_name("UV Space"), + ::anno::description("Chose the UV space.") + ]] +) +[[ + ::anno::display_name("vm Transform"), + ::anno::description("Generates coordinates to be used in vm_lookup functions.") +]] +{ + vm_coordinates uv; + ::base::texture_coordinate_info info = ::base::coordinate_source( ::base::texture_coordinate_uvw, uv_space); + uv.rotation = (rotation * 3.1415926535897932384626433832f) / 180.f; + uv.uv = float2(info.position.x, info.position.y); + float sine = ::math::sin(uv.rotation); + float cosine = ::math::cos(uv.rotation); + float2x2 rot = float2x2(cosine, -sine, sine, cosine); + uv.uv = rot * uv.uv; + uv.uv /= scaling; + uv.uv += translation; + return uv; +} + + +vm_coordinates vm_coord_hex( + vm_coordinates uv, + float scale = 1.0f) +{ + vm_coordinates uv_return; + float2 uv_ = float2(uv.uv.x, uv.uv.y); + + // same as from function get_hex above + float2 s = float2(1.0f, 1.7320508f); + float2 n = uv_ - float2(0.5f, 1.0f); + float4 c = ::math::floor(float4(uv_.x, uv_.y, n.x, n.y)/float4(s.x, s.y, s.x, s.y)) + 0.5f; + float2 h_1 = uv_ - float2(c.x, c.y) * s; + float2 h_2 = uv_ - (float2(c.z, c.w) + 0.5f) * s; + float4 uv_id = ::math::dot(h_1, h_1) < ::math::dot(h_2, h_2) ? float4(h_1.x, h_1.y, c.x, c.y) : float4(h_2.x, h_2.y, c.z, c.w); + + uv_return.uv = float2(uv_id.x*scale+0.5, uv_id.y*scale+0.5); + // unless we introduce random cell rotations where we need to compensate for this in the rotation + // we can just plain copy the rotation value + uv_return.rotation = uv.rotation; + return uv_return; +} + +// Offsets a set of uv coordinates in either row (u) or column (v) direction +vm_coordinates vm_coord_rowcol_offset( + vm_coordinates uv, + float offset, + bool horizontal_offset = true +) +{ + int index = horizontal_offset ? 0 : 1; + uv.uv[index] += ::math::floor(uv.uv[index ^ 1]) * offset; + return uv; +} + +vm_coordinates vm_coord_grid( + vm_coordinates uv, + float scale = 1.0f +) +{ + float2x2 scal = float2x2(scale, 0., 0., scale); + uv.uv = ::math::frac(uv.uv); + uv.uv -= 0.5f; + uv.uv = scal * uv.uv; + uv.uv = uv.uv + 0.5f; + return uv; +} + +::base::texture_return vm_tex_lookup( + uniform texture_2d tex, + vm_coordinates uv = vm_coord(), + uniform vm_mono_select mono_source = mono_a, + float4 scale = float4(1.0f), + + uniform ::tex::wrap_mode wrap_u = ::tex::wrap_repeat, + uniform ::tex::wrap_mode wrap_v = ::tex::wrap_repeat, + uniform float2 crop_u = float2(0.0, 1.0), + uniform float2 crop_v = float2(0.0, 1.0) +) +{ + float mono; + float4 lookup = ::tex::lookup_float4(tex, uv.uv, wrap_u, wrap_v, crop_u, crop_v) * scale; + switch( mono_source ) { + case mono_r: mono = lookup.x; + break; + case mono_g: mono = lookup.y; + break; + case mono_b: mono = lookup.z; + break; + case mono_a: mono = lookup.w; + break; + case mono_average: mono = ::math::average(float3(lookup.x, lookup.y, lookup.z)); + break; + } + return ::base::texture_return(color(lookup.x, lookup.y, lookup.z), mono); +} + +// *** SET CUTOUT ENUM NAMES *** +export enum cutout_pattern +[[ + ::anno::description("Cutout Pattern."), + ::anno::hidden() +]] +{ + pattern_circle = 0 + [[ ::anno::display_name("Circle")]], + pattern_hexagon = 1 + [[ ::anno::display_name("Hexagon")]], + pattern_line = 2 + [[ ::anno::display_name("Line") ]], + + pattern_square = 3 + [[ ::anno::display_name("Square")]], + pattern_rectangle = 4 + [[ ::anno::display_name("Rectangle")]], + pattern_cross = 5 + [[ ::anno::display_name("Cross")]], + + pattern_rhombus = 6 + [[ ::anno::display_name("Rhombus")]], + pattern_triangle = 7 + [[ ::anno::display_name("Triangle")]], + pattern_star = 8 + [[ ::anno::display_name("Star")]] +}; + +float remap_xy_to_0_1(float input, float x, float y) +{ + return (input - x)/(y - x); +} + +float histogram_scan_big(float input, float width, float position) +{ + return ::math::clamp( + remap_xy_to_0_1(input, + ::math::lerp(-width, 1.0, position), + ::math::lerp(0.0, 1.0 + width, position)), + 0.0, + 1.0); +} + + +::base::texture_coordinate_info vmat_transform( + uniform float2 translation = float2(0.0, 0.0), + uniform float rotation = 0.0, + uniform float2 scaling = float2(1.0, 1.0), + uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw, + uniform int uv_space = 0 +) +{ + float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f; + + float4x4 scale = + float4x4(1.0 /scaling.x, 0. , 0. , 0., + 0. , 1.0 /scaling.y , 0. , 0., + 0. , 0. , 1.0, 0., + translation.x , translation.y , 0.0, 1.); + + float s = ::math::sin(rotation_rad); + float c = ::math::cos(rotation_rad); + float4x4 rotate = + float4x4( c , -s , 0.0 , 0.0, + s , c , 0.0 , 0.0, + 0.0, 0.0 , 1.0 , 0.0, + 0. , 0.0 , 0.0 , 1.); + + return ::base::transform_coordinate(scale*rotate, ::base::coordinate_source(system, uv_space)); +} + +float uint2float(int x) +{ + return float(x & 0x7FFFFFFF) + (x < 0 ? 2147483648.0 : 0.0); +} + +int lowbias32(int x) +{ + x ^= x >>> 16; + x *= 0x7feb352d; + x ^= x >>> 15; + x *= 0x846ca68b; + x ^= x >>> 16; + return x; +} + +float2 rnd22(int2 p) { + float2 ret_val = float2( + uint2float(lowbias32(p[0] + lowbias32(p[1]))) / 4294967296.f, + uint2float(lowbias32(p[0] + 32000 + lowbias32(p[1]))) / 4294967296.f + ); + return ret_val; +} + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + +float2x2 invert_2x2(float2x2 M) +{ + float det = M[0][0]*M[1][1] - M[0][1]*M[1][0]; + //https://www.chilimath.com/lessons/advanced-algebra/inverse-of-a-2x2-matrix/ + return (1.0 / det) * float2x2(M[1][1], -M[0][1], -M[1][0], M[0][0]); +} + +float3 nonrepeat_lookup( + uniform texture_2d texture = texture_2d(), + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5), + float patch_size = 8.0 +) +{ + + float2 uv_in = float2(uvw.position[0], uvw.position[1]) * texture_scale; + float Z = patch_size; // patch scale inside example texture + float CON = 1.0f; + + float3 O = float3(0.f); + float2x2 M0 = float2x2(1.f,0.f, 0.5f, ::math::sqrt(3.f)/2.f); + float2x2 M = invert_2x2(M0); // transform matrix <-> tilted space + + float2 U = uv_in; + float2 V = M * uv_in; //pre-tilted hexa coordinates + int2 I = int2(::math::floor(V)); // hexa-tile id + + // The mean color needs to be determined in Photoshop then to make the + // average color work out, take the float value and calculate the apropriate + // mean value as (value^(1/2.2)) + + float3 m = average_color; + + float3 F = float3(::math::frac(V)[0], ::math::frac(V)[1], 0.f), W; + F[2] = 1.0 - F[0] - F[1]; // local hexa coordinates + + if( F[2] > 0.f ) + + O = (W[0] = F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I))) - m*float(CON)) + + (W[1] = F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0,1)))) - m*float(CON)) + + (W[2] = F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1,0)))) - m*float(CON)); + else + O = (W[0] = -F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1)))) - m*float(CON)) + + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1, 0)))) - m*float(CON)) + + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0, 1)))) - m*float(CON)); + O = m + O/::math::length(W); + O = ::math::clamp( (O), 0.0, 1.0); + + return float3(O); +} + +color endless_texture( + uniform texture_2d texture = texture_2d(), + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 10.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0, + bool gamma_correct_lookup = true +) +{ + return gamma_correct_lookup ? color(srgb2rgb( + nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + )) + ) : color(nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + )); +} + + +export material Copper_Sheet( + uniform bool infinite_tiling = false [[ + ::anno::description("Enables infinite tiling feature which removes repeating texture patterns. Note that depending on the material this feature changes the appearance of the material slightly."), + ::anno::display_name("Infinite Tiling"), + ::anno::in_group("Appearance", "Main") + ]], + float sheet_brightness = 0.5f [[ + ::anno::display_name("Brightness"), + ::anno::description("Controls the brightness of the material."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness = 0.2f [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float streaks = 0.0f [[ + ::anno::display_name("Streaks Weight"), + ::anno::description("Adds directional streaks that occur as part of the sheet manufacturing process."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float scratch_bump_factor = 0.0f [[ + ::anno::description("Determines the degree of bumpiness."), + ::anno::display_name("Bump Factor Streaks"), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float imperfections_amount = 0.6f [[ + ::anno::description("Balances between a perfectly smooth metal and a surface that has various imperfections."), + ::anno::display_name("Imperfections Amount"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_1 = 0.f [[ + ::anno::display_name("Washed Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_2 = 0.939f [[ + ::anno::display_name("Noisy Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_3 = 0.0 [[ + ::anno::display_name("Splotchy Imperfection Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform bool enable_round_corners = false [[ + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::display_name("Enable Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius = 0.01f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 0.1f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Texture Translate"), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform"), + ::anno::soft_range(0.f, 360.f) + ]], + uniform float2 texture_scale = 1.0f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(0.75f, 0.75f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Copper - New Clean"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "warm")) +]] + = + let { + color normal_reflectivity = color(0.9654565f, 0.6899602f, 0.4830392f); + color grazing_reflectivity = color(0.99942f, 1.f, 1.f); + + bool tmp0 = false; + material_surface tmp1( + ::df::color_custom_curve_layer(normal_reflectivity, grazing_reflectivity, 5.f, color(::math::lerp(0.400000006f, 1.f, sheet_brightness) * ::math::lerp(1.f, ::math::pow(float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1], 2.20000005f), ::math::lerp(0.f, 0.300000012f, streaks))), ::df::weighted_layer(0.0700000003f, ::df::microfacet_ggx_smith_bsdf(0.150000006f, 0.150000006f, color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::microfacet_ggx_smith_bsdf((::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)) * (::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)), (::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)) * (::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::math::normalize(::math::lerp(::state::normal(), ::base::tangent_space_normal_texture(texture_2d("./sheet_metal_norm.jpg", ::tex::gamma_linear), scratch_bump_factor, false, false, ::base::texture_coordinate_info(::state::texture_coordinate(0), ::state::texture_tangent_u(0), ::state::texture_tangent_v(0)), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 1.f, 0.f), histogram_scan_big(float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], 0.242000014f, 0.850000024f)))), bsdf(), ::math::normalize(::math::lerp(::state::normal(), ::base::tangent_space_normal_texture(texture_2d("./sheet_metal_norm.jpg", ::tex::gamma_linear), scratch_bump_factor, false, false, ::base::texture_coordinate_info(::state::texture_coordinate(0), ::state::texture_tangent_u(0), ::state::texture_tangent_v(0)), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 1.f, 0.f), histogram_scan_big(float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], 0.242000014f, 0.850000024f)))), + material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + material_surface tmp2 = material_surface(scattering: bsdf(), emission: material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + color tmp3 = color(1.f, 1.f, 1.f); + material_volume tmp4 = material_volume(scattering: vdf(), absorption_coefficient: color(0.f, 0.f, 0.f), scattering_coefficient: color(0.f, 0.f, 0.f)); + material_geometry tmp5( + float3(0.f), + 1.f, + enable_round_corners ? ::state::rounded_corner_normal(roundcorner_radius, across_materials, 1.f) : ::state::normal()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + + + +export material Copper_Sheet_Punched( + // Cutout parameters + + uniform cutout_pattern shape_select = pattern_circle //select atlas tile here + [[ + ::anno::description("Select a cutout shape."), + ::anno::display_name("Cutout Shape"), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(0) + ]], + float2 punching_grid_size = float2(.5f, .5f) + [[ + ::anno::description("Scales the size of the punching grid."), + ::anno::display_name("Punching Grid Size"), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(1) + ]], + float cutout_size = .92f + [[ + ::anno::description("Scales the size of the cutout pattern independently from the base material."), + ::anno::display_name("Cutout Size"), + ::anno::hard_range(0.f, 1.2f), + ::anno::soft_range(0.f, 1.0f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(2) + ]], + float cutout_roundness = .4f + [[ + ::anno::description("At low values it makes the cutouts sharper. Higher values give the shapes a more rounded look."), + ::anno::display_name("Cutout Roundness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(3) + ]], + float cutout_bevel_width = 0.5f + [[ + ::anno::description("Adjusts the width of the bevel transition."), + ::anno::display_name("Cutout Bevel Width"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(4) + ]], + float cutout_bump_strength = .8f + [[ + ::anno::description("Sets the strength of the bevelled normal around the cutout."), + ::anno::display_name("Cutout Bevel Strength"), + ::anno::soft_range(0.0f, 1.0f), + ::anno::hard_range(0.0f, 2.0f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(5) + ]], +// Grid Layout parameters + bool hexagonal_grid = true + [[ + ::anno::description("When enabled, the punching will occur on a hexagonal grid, otherwise a square grid."), + ::anno::display_name("Enable Hexagonal Grid"), + ::anno::in_group("Appearance", "Cutout Layout"), + ::anno::ui_order(6) + ]], + float square_grid_offset = 0.0f + [[ + ::anno::description("Offsets each row of the grid by a certain amount."), + ::anno::display_name("Square Grid Offset"), + ::anno::in_group("Appearance", "Cutout Layout"), + ::anno::enable_if("hexagonal_grid==false"), + ::anno::ui_order(7) + ]], + bool horizontal_offset = true + [[ + ::anno::description("Choose whether to offset either in row or column direction."), + ::anno::display_name("Horizontal Offset"), + ::anno::in_group("Appearance", "Cutout Layout"), + ::anno::enable_if("hexagonal_grid==false"), + ::anno::ui_order(8) + ]], + + + +// Copper Sheet Parameters + uniform bool infinite_tiling = false [[ + ::anno::description("Enables infinite tiling feature which removes repeating texture patterns. Note that depending on the material this feature changes the appearance of the material slightly."), + ::anno::display_name("Infinite Tiling"), + ::anno::in_group("Appearance", "Main") + ]], + float sheet_brightness = 0.5f [[ + ::anno::display_name("Brightness"), + ::anno::description("Controls the brightness of the material."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness = 0.4f [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float streaks = 0.0f [[ + ::anno::display_name("Streaks Weight"), + ::anno::description("Adds directional streaks that occur as part of the sheet manufacturing process."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float scratch_bump_factor = 0.0f [[ + ::anno::description("Determines the degree of bumpiness."), + ::anno::display_name("Bump Factor Streaks"), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float imperfections_amount = 0.3f [[ + ::anno::description("Balances between a perfectly smooth metal and a surface that has various imperfections."), + ::anno::display_name("Imperfections Amount"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_1 = 0.f [[ + ::anno::display_name("Washed Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_2 = 0.939f [[ + ::anno::display_name("Noisy Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_3 = .98 [[ + ::anno::display_name("Splotchy Imperfection Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform bool enable_round_corners = false [[ + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::display_name("Enable Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius = 0.01f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 0.1f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Texture Translate"), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform"), + ::anno::soft_range(0.f, 360.f) + ]], + uniform float2 texture_scale = 1.0f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(0.75f, 0.75f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]] + +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Copper Sheet - Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Punched.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "circular", "warm")) +]] = let +{ + material base_mat = Copper_Sheet( + infinite_tiling: infinite_tiling, + sheet_brightness: sheet_brightness, + roughness: roughness, + streaks: streaks, + scratch_bump_factor: scratch_bump_factor, + imperfections_amount: imperfections_amount, + impurities_weight_1: impurities_weight_1, + impurities_weight_2: impurities_weight_2, + impurities_weight_3: impurities_weight_3, + enable_round_corners: enable_round_corners, + roundcorner_radius: roundcorner_radius, + across_materials: across_materials, + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index + ); + texture_2d punching_cutout = texture_2d("./atlas_02_norm_dist.png", ::tex::gamma_linear); + + // remap range of slider to avoid artifacts in the bevelling + float2 punching_scale = texture_scale * 0.01f * punching_grid_size; + float cutout_roundness_ = cutout_roundness*0.6f+0.4f; + float cutout_size_lin = (1.0f/cutout_size); + float cutout_bevel_width_ = 0.1 + cutout_bevel_width * 0.9f; + + vm_coordinates uv = vm_coord( + translation: texture_translate, + rotation: texture_rotate, + scaling: punching_scale, + uv_space: uv_space_index + ); + + vm_coordinates punching_uv = hexagonal_grid ? vm_coord_hex( + uv: uv, + scale: cutout_roundness_ * cutout_size_lin + ) : vm_coord_grid( + uv: vm_coord_rowcol_offset( + uv: uv, + offset: square_grid_offset, + horizontal_offset: horizontal_offset + ), + scale: cutout_roundness_ * cutout_size_lin + ); + // select the correct subtile from the atlas + float4 crop = tile_select(shape_select); + + ::base::texture_return lookup = vm_tex_lookup( + tex: punching_cutout, + uv: punching_uv, + mono_source: mono_a, + scale: float4(1.0f), + crop_u: float2(crop.x, crop.y), + crop_v: float2(crop.z, crop.w), + wrap_u: ::tex::wrap_clamp, + wrap_v: ::tex::wrap_clamp + ); + + float low = (1.0 - cutout_roundness_); + float high = (cutout_size_lin * (cutout_bevel_width_ * 0.2f) * cutout_roundness_) + (1.0 - cutout_roundness_); + // remap x...y to (clamped) 0...1 + float x = ::math::clamp((lookup.mono - low)/(high - low), 0.0, 1.0); + // spherical falloff + float falloff=::math::sqrt(1.0-x*x); + // masking falloff as the center of the cutout is flat + float masked_falloff=falloff<=0.0?1.0:falloff; + + // where base material is still there, use the value of the base material + float cutout= ::math::min(falloff<=0.0?0.0:1.0, base_mat.geometry.cutout_opacity); + + // bring in -.5 ... +.5 range and lerp between lookup and flat normal + float3 remap_norm = ::math::lerp(float3(lookup.tint), float3(0.5, 0.5, 1.0), masked_falloff) - float3(0.5); + float3 t_norm = ::math::normalize(remap_norm * float3(cutout_bump_strength, cutout_bump_strength, 1.0)); + + float3 rotfix_norm = float3(::math::cos(punching_uv.rotation) * t_norm.x - ::math::sin(punching_uv.rotation) * t_norm.y, + ::math::sin(punching_uv.rotation) * t_norm.x + ::math::cos(punching_uv.rotation) * t_norm.y, + t_norm.z); + + float3 normal = ::state::texture_tangent_u(punching_uv.uv_space_index) * rotfix_norm.x + + ::state::texture_tangent_v(punching_uv.uv_space_index) * rotfix_norm.y + + ::state::normal() * rotfix_norm.z; + + float3 final_normal = ::base::blend_normals( + base_normal: normal, + base_normal_weight: 1.0f, + detail_normal: base_mat.geometry.normal, + detail_normal_weight: 1.0f + ); + +} in material( + surface: material_surface( + scattering: base_mat.surface.scattering + ), + volume: base_mat.volume, + ior: base_mat.ior, + thin_walled: true, + geometry: material_geometry( + displacement: base_mat.geometry.displacement, + normal: final_normal, + cutout_opacity: cutout + ) +); + +// ----------------------------- Copper Sheet Presets --------------------------- + +export material Copper_Sheet_Soft_Splotches(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Copper - Soft Splotches"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Soft_Splotches.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "warm")) +]] += Copper_Sheet( + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.3f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.75f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.01f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + +export material Copper_Sheet_Matte_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Copper - Matte Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Matte_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "matte", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "warm")) +]]= Copper_Sheet( + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.75f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.265f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.43f, + impurities_weight_3: 0.0f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + +export material Copper_Sheet_Glossy_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Copper - Glossy Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Glossy_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "warm")) +]] += Copper_Sheet( + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.3f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 0.1f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.89f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + +export material Copper_Sheet_Splotchy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Copper - Splotchy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Splotchy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "warm")) +]]= Copper_Sheet( + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.2f, + imperfections_amount: 0.26f, + impurities_weight_1: 1.0f, + impurities_weight_2: 0.76f, + impurities_weight_3: 0.13f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + +export material Copper_Sheet_Glossy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Copper - Glossy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Glossy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "warm")) +]] += Copper_Sheet( + infinite_tiling: false, + sheet_brightness: 0.65f, + roughness: 0.25f, + streaks: 0.8f, + scratch_bump_factor: 0.88f, + imperfections_amount: 0.86f, + impurities_weight_1: 1.0f, + impurities_weight_2: 0.75f, + impurities_weight_3: 0.125f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// ------------------------ Punched Copper Sheet Presets ------------------------ +export material Copper_Sheet_Punched_Circular_Small(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Copper Sheet - Small Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Punched_Circular_Small.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "warm")) +]] = Copper_Sheet_Punched( + shape_select: pattern_circle, + punching_grid_size: float2(.6f), + cutout_size: 0.5f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 0.8f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + // Punchig Parameters + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.3f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.93f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Copper_Sheet_Punched_Hexagonal(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Copper Sheet - Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Punched_Hexagonal.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "hexagonal", "warm")) +]] = Copper_Sheet_Punched( + // Punchig Parameters + shape_select: pattern_hexagon, + punching_grid_size: 1.5f, + cutout_size: .95f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.3f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.93f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Copper_Sheet_Punched_Hexagonal_Small(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Copper Sheet - Small Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Punched_Hexagonal_Small.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "hexagonal", "warm")) +]] = Copper_Sheet_Punched( + // Punchig Parameters + shape_select: pattern_hexagon, + punching_grid_size: float2(.75f), + cutout_size: .58f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.3f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.3f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.93f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Copper_Sheet_Punched_Square(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Copper Sheet - Square Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Punched_Square.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "square", "warm")) +]] = Copper_Sheet_Punched( + // Punchig Parameters + shape_select: pattern_square, + punching_grid_size: 1.2f, + cutout_size: 0.56f, + cutout_roundness: 0.1f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 1.5f, + hexagonal_grid: false, + square_grid_offset: 0.5f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.3f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.93f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Copper_Sheet_Punched_Line(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Copper Sheet - Line Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Punched_Line.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "line", "warm")) +]] = Copper_Sheet_Punched( + // Punchig Parameters + shape_select: pattern_line, + punching_grid_size: 1.3f, + cutout_size: 0.59f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.3f, + cutout_bump_strength: 1.5f, + hexagonal_grid: false, + square_grid_offset: 0.3333f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.3f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.93f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Copper_Sheet_Punched_Cross(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Copper Sheet - Cross Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Punched_Cross.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "cross", "warm")) +]] = Copper_Sheet_Punched( + // Punchig Parameters + shape_select: pattern_cross, + punching_grid_size: 2.0f, + cutout_size: 0.59f, + cutout_roundness: 0.1f, + cutout_bevel_width: 0.44f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.3f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.93f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Copper_Sheet_Punched_Rhombus(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Copper Sheet - Rhombus Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Punched_Rhombus.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "rhombus", "warm")) +]] = Copper_Sheet_Punched( + // Punchig Parameters + shape_select: pattern_rhombus, + punching_grid_size: 1.4f, + cutout_size: 1.0f, + cutout_roundness: 0.8f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.3f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.93f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Copper_Sheet_Punched_Triangle(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Copper Sheet - Triangle Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Punched_Triangle.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "triangle", "warm")) +]] = Copper_Sheet_Punched( + // Punchig Parameters + shape_select: pattern_triangle, + punching_grid_size: 1.3f, + cutout_size: 1.08f, + cutout_roundness: 1.0f, + cutout_bevel_width: 1.0f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.3f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.93f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Copper_Sheet_Punched_Star(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Copper Sheet - Star Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Sheet.Copper_Sheet_Punched_Star.png"), + ::anno::key_words(string[]("metal", "sheet", "copper", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "star", "warm")) +]] = Copper_Sheet_Punched( + // Punchig Parameters + shape_select: pattern_star, + punching_grid_size: 1.5f, + cutout_size: 0.68f, + cutout_roundness: 0.5f, + cutout_bevel_width: 0.44f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.3f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.93f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); \ No newline at end of file diff --git a/Material/material_0426/Diamond_Plate_Triple_Tear.mdl b/Material/material_0426/Diamond_Plate_Triple_Tear.mdl new file mode 100644 index 0000000000000000000000000000000000000000..5a769a8b4f12aef3220cb4ba6d7c8f2e82e600be --- /dev/null +++ b/Material/material_0426/Diamond_Plate_Triple_Tear.mdl @@ -0,0 +1,546 @@ +/****************************************************************************** + * Copyright 2024 NVIDIA Corporation. All rights reserved. * + ****************************************************************************** + +Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge, +to any person obtaining a copy of the sample definition code that uses our +Material Definition Language (the "MDL Materials"), to reproduce and distribute +the MDL Materials, including without limitation the rights to use, copy, merge, +publish, distribute, and sell modified and unmodified copies of the MDL +Materials, and to permit persons to whom the MDL Materials is furnished to do +so, in all cases solely for use with NVIDIA's Material Definition Language, +subject to the following further conditions: + +1. The above copyright notices, this list of conditions, and the disclaimer +that follows shall be retained in all copies of one or more of the MDL +Materials, including in any software with which the MDL Materials are bundled, +redistributed, and/or sold, and included either as stand-alone text files, +human-readable headers or in the appropriate machine-readable metadata fields +within text or binary files as long as those fields can be easily viewed by the +user, as applicable. +2. The name of NVIDIA shall not be used to promote, endorse or advertise any +Modified Version without specific prior written permission, except a) to comply + with the notice requirements otherwise contained herein; or b) to acknowledge +the contribution(s) of NVIDIA. + +THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, +INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE +THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS. +*/ + +mdl 1.6; + +import ::anno::*; +import ::base::*; +import ::df::*; +import ::math::*; +import ::state::*; +import ::tex::*; +import ::nvidia::core_definitions::blend_colors; +import ::nvidia::core_definitions::dimension; + +const string COPYRIGHT = +" Copyright 2024 NVIDIA Corporation. All rights reserved.\n" +" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n" +" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n" +" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n" +" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n" +" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n" +" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n" +" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n" +" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n" +" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n"; + +const string DESCRIPTION = "A diamont metal plate material. The added texture reduces the risk of slipping, " +"making diamond plate a solution for stairs, catwalks, walkways, and ramps in industrial settings"; + + +int lowbias32(int x) +{ + x ^= x >>> 16; + x *= 0x7feb352d; + x ^= x >>> 15; + x *= 0x846ca68b; + x ^= x >>> 16; + return x; +} + +float uint2float(int x) +{ + return float(x & 0x7FFFFFFF) + (x < 0 ? 2147483648.0 : 0.0); +} + +float2x2 invert_2x2(float2x2 M) +{ + float det = M[0][0]*M[1][1] - M[0][1]*M[1][0]; + //https://www.chilimath.com/lessons/advanced-algebra/inverse-of-a-2x2-matrix/ + return (1.0 / det) * float2x2(M[1][1], -M[0][1], -M[1][0], M[0][0]); +} + +float2 rnd22(int2 p) { + float2 ret_val = float2( + uint2float(lowbias32(p[0] + lowbias32(p[1]))) / 4294967296.f, + uint2float(lowbias32(p[0] + 32000 + lowbias32(p[1]))) / 4294967296.f + ); + return ret_val; +} + + +float contrast_brightness( + float input = 0.5f, + float contrast = 0.5f, + float brightness = 0.5f +) +{ + float return_value = contrast > 0.5 ? + float(math::clamp((input - 0.5) * 1/(1.000001 - (contrast - 0.5)*2.0) + 0.5, 0.0, 1.0) + (brightness - 0.5) * 2.0) + : + float(math::clamp((input - 0.5) * contrast * 2.0 + 0.5 + (brightness - 0.5)*2.0, 0.0, 1.0)); + + return return_value; +} + +float3 transform_internal_to_tangent(float3 n) +[[ + anno::hidden() +]] +{ + return + n.x* float3(state::texture_tangent_u(0).x,state::texture_tangent_v(0).x,state::normal().x)+ + n.y* float3(state::texture_tangent_u(0).y,state::texture_tangent_v(0).y,state::normal().y)+ + n.z* float3(state::texture_tangent_u(0).z,state::texture_tangent_v(0).z,state::normal().z); +} + +// Returns the normal n in internal space, given n is in tangent space. +float3 transform_tangent_to_internal(float3 n) +[[ + anno::hidden() +]] +{ + return state::texture_tangent_u(0) * n.x + + state::texture_tangent_v(0) * n.y + + state::normal() * n.z ; +} + +// Returns a normal by adding a detail normal to a global normal. +// If detail blending of two normal maps gives visual artifacts, check if texture_2d are loaded +// correctly with tex::gamma_linear +float3 add_detail_normal(float3 nd = state::normal(), float3 n = state::normal()) +{ + // http://blog.selfshadow.com/publications/blending-in-detail/ + float3 n_t = transform_internal_to_tangent(n); + float3 nd_t = transform_internal_to_tangent(nd); + + n_t=n_t + float3(0.,0.,1.); + nd_t = nd_t * float3(-1.,-1.,1.); + n = n_t*math::dot(n_t, nd_t)/n_t.z - nd_t; + return ::math::normalize(transform_tangent_to_internal(n)); +} + +float histogram_range(float input, float range = 1.0f, float position = 0.5f) +{ + float low = ::math::clamp(1.0 - ::math::min(((1.0 - position) + range * 0.5), (1.0 - position) * 2), 0.0, 1.0); + float high = ::math::clamp(math::min((position + range * 0.5 ), position * 2.0), 0.0, 1.0); + return ::math::lerp(low, high, input); +} + +float remap_xy_to_0_1(float input, float x, float y) +{ + return (input - x)/(y - x); +} + +float histogram_scan_big(float input, float width, float position) +{ + return ::math::clamp( + remap_xy_to_0_1(input, + ::math::lerp(-width, 1.0, position), + ::math::lerp(0.0, 1.0 + width, position)), + 0.0, + 1.0); +} + +struct vm_coordinates{ + float2 uv; + float rotation; + int uv_space_index; + float4 carry; +}; + +enum vm_mono_select +[[ + ::anno::description("Modes for the creation of a gray-scale value from a color."), + ::anno::hidden() +]] +{ + mono_r = 0, + mono_g = 1, + mono_b = 2, + mono_a = 3, + mono_average = 4 +}; + +vm_coordinates vm_coord +( + float2 translation = float2(0.0f, 0.0) [[ + ::anno::display_name("Translation"), + ::anno::description("Translates the coordinates.") + ]], + float rotation = 0.0f [[ + ::anno::display_name("Rotation"), + ::anno::description("Rotates the coordinates in degrees.") + ]], + float2 scaling = float2(1.0f, 1.0f) [[ + ::anno::display_name("Scaling"), + ::anno::description("Scales the coordinates.") + ]], + uniform int uv_space = 0 [[ + ::anno::display_name("UV Space"), + ::anno::description("Chose the UV space.") + ]] +) +[[ + ::anno::display_name("vm Transform"), + ::anno::description("Generates coordinates to be used in vm_lookup functions.") +]] +{ + vm_coordinates uv; + ::base::texture_coordinate_info info = ::base::coordinate_source( ::base::texture_coordinate_uvw, uv_space); + uv.rotation = (rotation * 3.1415926535897932384626433832f) / 180.f; + uv.uv = float2(info.position.x, info.position.y); + float sine = ::math::sin(uv.rotation); + float cosine = ::math::cos(uv.rotation); + float2x2 rot = float2x2(cosine, -sine, sine, cosine); + uv.uv = rot * uv.uv; + uv.uv /= scaling; + uv.uv += translation; + // Translation before or after rotation? + return uv; +} + +vm_coordinates vm_coord_post_scale( + vm_coordinates uv = vm_coord(), + float2 scale = 1.0f +) +{ + uv.uv /= scale; + return uv; +} + +float3 vm_tex_infinite( + uniform texture_2d tex = texture_2d(), + vm_coordinates uv = vm_coord(), + float3 average_color = float3(0.5f, 0.5f, 1.0f), + float patch_size = 1.0, + bool gamma_correct = true, + float gamma = 2.2f +) +{ + float2 uv_in = uv.uv; + + float3 O = float3(0.f); + float2x2 M0 = float2x2(1.f,0.f, 0.5f, ::math::sqrt(3.f)/2.f); + float2x2 M = invert_2x2(M0); // transform matrix <-> tilted space + + float2 U = uv_in; + float2 V = M * (uv.uv / patch_size); //pre-tilted hexa coordinates + int2 I = int2(::math::floor(V))+int2(800); // hexa-tile id + + // The mean color needs to be determined in Photoshop then to make the + // average color work out, take the float value and calculate the apropriate + // mean value as (value^(1/2.2)) + + float3 m = average_color; + + float3 F = float3(::math::frac(V)[0], ::math::frac(V)[1], 0.f), W; + F[2] = 1.0 - F[0] - F[1]; // local hexa coordinates + + if( F[2] > 0.f ) + O = (W[0] = F[2]) * (( ::tex::lookup_float3(tex, U-rnd22(I))) - m) + + (W[1] = F[1]) * (( ::tex::lookup_float3(tex, U-rnd22(I+int2(0,1)))) - m) + + (W[2] = F[0]) * (( ::tex::lookup_float3(tex, U-rnd22(I+int2(1,0)))) - m); + else + O = (W[0] = -F[2]) * (( ::tex::lookup_float3(tex, U-rnd22(I+int2(1)))) - m) + + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(tex, U-rnd22(I+int2(1, 0)))) - m) + + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(tex, U-rnd22(I+int2(0, 1)))) - m); + O = m + O/::math::length(W); + O = ::math::clamp( (O), 0.0f, 1.0f); + + return gamma_correct? ::math::pow(::math::max(O, float3(0.0f)), gamma) : float3(O); +} + +::base::texture_return vm_tex_lookup( + uniform texture_2d tex, + vm_coordinates uv = vm_coord(), + uniform vm_mono_select mono_source = mono_a, + float4 scale = float4(1.0f)) +{ + float mono; + float4 lookup = ::tex::lookup_float4(tex, uv.uv, ::tex::wrap_repeat, ::tex::wrap_repeat) * scale; + switch( mono_source ) { + case mono_r: mono = lookup.x; + break; + case mono_g: mono = lookup.y; + break; + case mono_b: mono = lookup.z; + break; + case mono_a: mono = lookup.w; + break; + case mono_average: mono = ::math::average(float3(lookup.x, lookup.y, lookup.z)); + break; + } + return ::base::texture_return(color(lookup.x, lookup.y, lookup.z), mono); +} + +float3 vm_tex_normal_lookup( + uniform texture_2d tex, + vm_coordinates uv = vm_coord(), + float strength = 1.0f +) +{ + float rot = uv.rotation; + // Lookup and convert normal texture to -1 ... 1 range + float3 norm = (::tex::lookup_float3(tex, uv.uv, ::tex::wrap_repeat, ::tex::wrap_repeat) - float3(.5f)) * 2.0f; + norm = ::math::normalize(norm * float3(strength, strength, 1.0)); + // if any rotation happened prior to the lookup, compensate for it + norm = float3(::math::cos(rot) * norm.x - ::math::sin(rot) * norm.y, + ::math::sin(rot) * norm.x + ::math::cos(rot) * norm.y, + norm.z); + return norm.x * ::state::texture_tangent_u(uv.uv_space_index) + + norm.y * ::state::texture_tangent_v(uv.uv_space_index) + + norm.z * ::state::normal(); +} + +export material Diamond_Plate_Triple_Tear( + float metal_roughness = 0.27f [[ + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::display_name("Metal Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(0) + ]], + float roughness_variation = 0.05f [[ + ::anno::description("Amount of variation applied to the roughness, higher numbers lead to non-uniform reflections of the material."), + ::anno::display_name("Roughness Variation"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(1) + ]], + float pattern_shininess = 0.f [[ + ::anno::description("Simulates abrasion of the shape tops by making them more shiny."), + ::anno::display_name("Pattern Shininess"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(2) + ]], + float dirt_amount = 0.f [[ + ::anno::description("The amount of dirt applied to the material."), + ::anno::display_name("Dirt Amount"), + ::anno::in_group("Appearance", "Dirt"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(3) + ]], + float dirt_weight = 1.f [[ + ::anno::description("Makes the dirt transition sharper and more defined."), + ::anno::display_name("Dirt Weight"), + ::anno::in_group("Appearance", "Dirt"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(4) + ]], + float dirt_brightness = 0.38f [[ + ::anno::description("Amkes the dirt arker or brighter."), + ::anno::display_name("Dirt Brightness"), + ::anno::in_group("Appearance", "Dirt"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(5) + ]], + float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Texture Translate"), + ::anno::in_group("Transform"), + ::anno::ui_order(6) + ]], + float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform"), + ::anno::ui_order(7) + ]], + float2 texture_scale = 1.0f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::ui_order(8) + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced"), + ::anno::ui_order(9) + ]], + uniform bool roundcorners_enable = false [[ + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::display_name("Enable Round Corners"), + ::anno::in_group("Round Corners"), + ::anno::ui_order(10) + ]], + uniform float roundcorners_radius_mm = 1.5f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners"), + ::anno::ui_order(11) + ]], + uniform bool roundcorners_across_materials = false [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners"), + ::anno::ui_order(12) + ]]) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 3x - New Shiny"), + ::anno::contributor("Rüdiger Raab"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "plate", "diamond", "reflective", "pattern", "safety", "bumped", "embossed", "infinite tiling", "architecture", "naval", "sanitary", "interior", "exterior", "new", "shiny", "gray")), + ::anno::thumbnail("./.thumbs/Diamond_Plate_Triple_Tear.Diamond_Plate_Triple_Tear.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = + let { + + float2 texture_rescale = texture_scale * 0.15f; + bool tmp0 = false; + texture_2d shape_multi_ao_height = texture_2d("./tripletear_multi_ao_height.png", ::tex::gamma_linear); + texture_2d shape_norm = texture_2d("./tripletear_shape_normal.jpg", ::tex::gamma_linear); + + material_surface tmp1(::df::weighted_layer(contrast_brightness(::math::clamp(::math::lerp(1.f, histogram_scan_big(vm_tex_infinite(texture_2d("./transition_noise.jpg", ::tex::gamma_linear), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 5.f), float3(0.50999999f), 1.f, true, 2.20000005f).x, 0.620000005f, dirt_amount) + ::math::max(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).y, ::math::pow(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x, 0.680000007f) * ::math::pow(1.f - vm_tex_infinite(texture_2d("./plate_dirt.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.647000015f), 1.f, false, 2.20000005f).x, 0.969999969f)), ::math::pow(dirt_weight, 0.280000001f)), 0.f, 1.f), 0.659999967f, 0.5f), ::df::microfacet_ggx_smith_bsdf(::math::lerp(0.639999986f, histogram_range(vm_tex_infinite(texture_2d("./plate_dirt.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.647000015f), 1.f, false, 2.20000005f).x, roughness_variation * 0.400000006f, metal_roughness * 0.629999995f + 0.0500000007f) + roughness_variation * 0.299999982f * ::math::pow(1.f - float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x, 1.26999998f), ::math::clamp(::math::lerp(1.f, histogram_scan_big(vm_tex_infinite(texture_2d("./transition_noise.jpg", ::tex::gamma_linear), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 5.f), float3(0.50999999f), 1.f, true, 2.20000005f).x, 0.620000005f, dirt_amount) + ::math::max(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).y, ::math::pow(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x, 0.680000007f) * ::math::pow(1.f - vm_tex_infinite(texture_2d("./plate_dirt.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.647000015f), 1.f, false, 2.20000005f).x, 0.969999969f)), ::math::pow(dirt_weight, 0.280000001f)), 0.f, 1.f)) * (1.f - pattern_shininess * float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).y) * (::math::lerp(0.639999986f, histogram_range(vm_tex_infinite(texture_2d("./plate_dirt.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.647000015f), 1.f, false, 2.20000005f).x, roughness_variation * 0.400000006f, metal_roughness * 0.629999995f + 0.0500000007f) + roughness_variation * 0.299999982f * ::math::pow(1.f - float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x, 1.26999998f), ::math::clamp(::math::lerp(1.f, histogram_scan_big(vm_tex_infinite(texture_2d("./transition_noise.jpg", ::tex::gamma_linear), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 5.f), float3(0.50999999f), 1.f, true, 2.20000005f).x, 0.620000005f, dirt_amount) + ::math::max(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).y, ::math::pow(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x, 0.680000007f) * ::math::pow(1.f - vm_tex_infinite(texture_2d("./plate_dirt.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.647000015f), 1.f, false, 2.20000005f).x, 0.969999969f)), ::math::pow(dirt_weight, 0.280000001f)), 0.f, 1.f)) * (1.f - pattern_shininess * float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).y)), ::math::lerp(0.639999986f, histogram_range(vm_tex_infinite(texture_2d("./plate_dirt.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.647000015f), 1.f, false, 2.20000005f).x, roughness_variation * 0.400000006f, metal_roughness * 0.629999995f + 0.0500000007f) + roughness_variation * 0.299999982f * ::math::pow(1.f - float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x, 1.26999998f), ::math::clamp(::math::lerp(1.f, histogram_scan_big(vm_tex_infinite(texture_2d("./transition_noise.jpg", ::tex::gamma_linear), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 5.f), float3(0.50999999f), 1.f, true, 2.20000005f).x, 0.620000005f, dirt_amount) + ::math::max(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).y, ::math::pow(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x, 0.680000007f) * ::math::pow(1.f - vm_tex_infinite(texture_2d("./plate_dirt.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.647000015f), 1.f, false, 2.20000005f).x, 0.969999969f)), ::math::pow(dirt_weight, 0.280000001f)), 0.f, 1.f)) * (1.f - pattern_shininess * float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).y) * (::math::lerp(0.639999986f, histogram_range(vm_tex_infinite(texture_2d("./plate_dirt.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.647000015f), 1.f, false, 2.20000005f).x, roughness_variation * 0.400000006f, metal_roughness * 0.629999995f + 0.0500000007f) + roughness_variation * 0.299999982f * ::math::pow(1.f - float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x, 1.26999998f), ::math::clamp(::math::lerp(1.f, histogram_scan_big(vm_tex_infinite(texture_2d("./transition_noise.jpg", ::tex::gamma_linear), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 5.f), float3(0.50999999f), 1.f, true, 2.20000005f).x, 0.620000005f, dirt_amount) + ::math::max(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).y, ::math::pow(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x, 0.680000007f) * ::math::pow(1.f - vm_tex_infinite(texture_2d("./plate_dirt.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.647000015f), 1.f, false, 2.20000005f).x, 0.969999969f)), ::math::pow(dirt_weight, 0.280000001f)), 0.f, 1.f)) * (1.f - pattern_shininess * float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).y)), color(0.387622833f, 0.387622833f, 0.387622833f), color(0.387622833f, 0.387622833f, 0.387622833f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(vm_tex_lookup(texture_2d("./dirt.jpg", ::tex::gamma_srgb), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 0.5f), mono_average, float4(dirt_brightness * 0.620000005f + 0.0599999987f)).tint, 0.f), bsdf(), add_detail_normal(::math::lerp(vm_tex_normal_lookup(texture_2d("./plate_dirt_norm.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 1.f), ::state::normal(), contrast_brightness(::math::pow(::math::clamp(::math::lerp(1.f, histogram_scan_big(vm_tex_infinite(texture_2d("./transition_noise.jpg", ::tex::gamma_linear), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 5.f), float3(0.50999999f), 1.f, true, 2.20000005f).x, 0.620000005f, dirt_amount) + ::math::max(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).y, ::math::pow(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x, 0.680000007f) * ::math::pow(1.f - vm_tex_infinite(texture_2d("./plate_dirt.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.647000015f), 1.f, false, 2.20000005f).x, 0.969999969f)), ::math::pow(dirt_weight, 0.280000001f)), 0.f, 1.f), 0.229999989f), 0.699999988f, 0.5f)), vm_tex_normal_lookup(shape_norm, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 1.f))), add_detail_normal(::math::lerp(vm_tex_normal_lookup(texture_2d("./plate_dirt_norm.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 1.f), ::state::normal(), contrast_brightness(::math::pow(::math::clamp(::math::lerp(1.f, histogram_scan_big(vm_tex_infinite(texture_2d("./transition_noise.jpg", ::tex::gamma_linear), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 5.f), float3(0.50999999f), 1.f, true, 2.20000005f).x, 0.620000005f, dirt_amount) + ::math::max(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).y, ::math::pow(float3(vm_tex_lookup(shape_multi_ao_height, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x, 0.680000007f) * ::math::pow(1.f - vm_tex_infinite(texture_2d("./plate_dirt.jpg", ::tex::gamma_linear), vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float3(0.647000015f), 1.f, false, 2.20000005f).x, 0.969999969f)), ::math::pow(dirt_weight, 0.280000001f)), 0.f, 1.f), 0.229999989f), 0.699999988f, 0.5f)), vm_tex_normal_lookup(shape_norm, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), 1.f))), material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + material_surface tmp2 = material_surface(scattering: bsdf(), emission: material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + color tmp3 = color(1.f, 1.f, 1.f); + material_volume tmp4 = material_volume(scattering: vdf(), absorption_coefficient: color(0.f, 0.f, 0.f), scattering_coefficient: color(0.f, 0.f, 0.f)); + material_geometry tmp5(float3(0.f), 1.f, roundcorners_enable ? ::state::rounded_corner_normal(roundcorners_radius_mm * 0.00100000005f, roundcorners_across_materials, 1.f) : ::state::normal()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + + +// 2 +export material Diamond_Plate_Triple_Tear_Glossy(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 3x - Glossy"), + ::anno::contributor("Rüdiger Raab"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "plate", "diamond", "pattern", "safety", "bumped", "embossed", "infinite tiling", "architecture", "naval", "sanitary", "interior", "exterior", "gray", "glossy")), + ::anno::thumbnail("./.thumbs/Diamond_Plate_Triple_Tear.Diamond_Plate_Triple_Tear_Glossy.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Triple_Tear ( + metal_roughness: 0.4f, + roughness_variation: 0.47f, + pattern_shininess: 0.0f, + dirt_amount: 0.0f, + dirt_weight: 1.0f, + dirt_brightness: 0.38f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: false +); + + +// 3 +export material Diamond_Plate_Triple_Tear_Shiny_Tops(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 3x - Shiny Tops"), + ::anno::contributor("Rüdiger Raab"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "plate", "diamond", "pattern", "safety", "bumped", "embossed", "infinite tiling", "architecture", "naval", "sanitary", "interior", "exterior", "shiny", "gray")), + ::anno::thumbnail("./.thumbs/Diamond_Plate_Triple_Tear.Diamond_Plate_Triple_Tear_Shiny_Tops.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Triple_Tear ( + metal_roughness: 0.4f, + roughness_variation: 0.47f, + pattern_shininess: 0.75f, + dirt_amount: 0.0f, + dirt_weight: 1.0f, + dirt_brightness: 0.38f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: false +); + +// 4 +export material Diamond_Plate_Triple_Tear_Matte_Aged(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 3x - Matte Aged"), + ::anno::contributor("Rüdiger Raab"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "plate", "diamond", "pattern", "safety", "bumped", "embossed", "infinite tiling", "architecture", "naval", "sanitary", "interior", "exterior", "matte", "aged", "gray")), + ::anno::thumbnail("./.thumbs/Diamond_Plate_Triple_Tear.Diamond_Plate_Triple_Tear_Matte_Aged.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Triple_Tear ( + metal_roughness: 0.63f, + roughness_variation: 0.72f, + pattern_shininess: 0.0f, + dirt_amount: 0.0f, + dirt_weight: 1.0f, + dirt_brightness: 0.4f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: false +); + + +// 5 +export material Diamond_Plate_Triple_Tear_Dirty_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 3x - Dirty Worn"), + ::anno::contributor("Rüdiger Raab"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "plate", "diamond", "pattern", "safety", "bumped", "embossed", "infinite tiling", "architecture", "naval", "sanitary", "interior", "exterior", "gray", "worn", "old", "dirty", "decayed")), + ::anno::thumbnail("./.thumbs/Diamond_Plate_Triple_Tear.Diamond_Plate_Triple_Tear_Dirty_Worn.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Triple_Tear ( + metal_roughness: 0.38f, + roughness_variation: 0.53f, + pattern_shininess: 0.0f, + dirt_amount: 0.38f, + dirt_weight: 1.0f, + dirt_brightness: 0.4f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: false +); \ No newline at end of file diff --git a/Material/material_0438/Iron_Knurling.mdl b/Material/material_0438/Iron_Knurling.mdl new file mode 100644 index 0000000000000000000000000000000000000000..39c301d189bb17aab037b42dc0b993f454306706 --- /dev/null +++ b/Material/material_0438/Iron_Knurling.mdl @@ -0,0 +1,359 @@ +/****************************************************************************** + * Copyright 2024 NVIDIA Corporation. All rights reserved. * + ****************************************************************************** + +Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge, +to any person obtaining a copy of the sample definition code that uses our +Material Definition Language (the "MDL Materials"), to reproduce and distribute +the MDL Materials, including without limitation the rights to use, copy, merge, +publish, distribute, and sell modified and unmodified copies of the MDL +Materials, and to permit persons to whom the MDL Materials is furnished to do +so, in all cases solely for use with NVIDIA's Material Definition Language, +subject to the following further conditions: + +1. The above copyright notices, this list of conditions, and the disclaimer +that follows shall be retained in all copies of one or more of the MDL +Materials, including in any software with which the MDL Materials are bundled, +redistributed, and/or sold, and included either as stand-alone text files, +human-readable headers or in the appropriate machine-readable metadata fields +within text or binary files as long as those fields can be easily viewed by the +user, as applicable. +2. The name of NVIDIA shall not be used to promote, endorse or advertise any +Modified Version without specific prior written permission, except a) to comply + with the notice requirements otherwise contained herein; or b) to acknowledge +the contribution(s) of NVIDIA. + +THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, +INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE +THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS. +*/ + + +mdl 1.5; + +import ::df::*; +import ::tex::*; +import ::math::*; +import ::base::*; +import ::state::*; +import ::anno::*; +import ::nvidia::core_definitions::*; + +const string COPYRIGHT = +" Copyright 2024 NVIDIA Corporation. All rights reserved.\n" +" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n" +" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n" +" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n" +" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n" +" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n" +" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n" +" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n" +" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n" +" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n"; + +const string DESCRIPTION = "Metal with a diamond knurling finish"; + +float histogram_range(float input, float range = 1.0f, float position = 0.5f) +{ + float low = ::math::clamp(1.0 - ::math::min(((1.0 - position) + range * 0.5), (1.0 - position) * 2), 0.0, 1.0); + float high = ::math::clamp(::math::min((position + range * 0.5 ), position * 2.0), 0.0, 1.0); + return ::math::lerp(low, high, input); +} + +::base::texture_coordinate_info transform_coordinate_2( + float4x4 transform + [[ ::anno::description("A transformation to be applied to the source coordinates. rotation_translation_scale() is a suggested means to compute the transformation matrix.") ]], + ::base::texture_coordinate_info coordinate = ::base::texture_coordinate_info() + [[ ::anno::description("Coordinate, typically sourced from coordinate_source or coordinate_projection.") ]] +) [[ + ::anno::description("Transform a texture coordinate by a matrix.") , + ::anno::noinline() + ]] +{ + // Version 2 + float4 r_position = transform * float4(coordinate.position.x,coordinate.position.y,coordinate.position.z,1); + //Try aproximating it for the case that the rotation is only aroud z and assuming the texture layout is nice and z is ~constant. + //just pretend there is no other rotation happening + //get rid of scaling and translation. Then extract fields where sin and cos would be in a simple 2d transform around z. + float4 u = transform[0]; + float3 ru = ::math::normalize(float3(u.x,u.y,u.z)); + float cos = ru.x; + float sin = -ru.y; + //TODO: at least also handle sign of z? + //TODO: handle tangent becoming 0 + + + return ::base::texture_coordinate_info( + float3(r_position.x,r_position.y,r_position.z), + ::math::normalize(cos * coordinate.tangent_u - sin * coordinate.tangent_v), + ::math::normalize(cos * coordinate.tangent_v + sin * coordinate.tangent_u)); +} + +::base::texture_coordinate_info vmat_transform( + float2 translation = float2(0.0, 0.0), + float rotation = 0.0, // rotation in degrees + float2 scaling = float2(1.0, 1.0), + uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw, + uniform int uv_space = 0 +) +{ + float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f; + float4x4 scale = + float4x4(1.0 /scaling.x, 0. , 0. , 0., + 0. , 1.0 /scaling.y , 0. , 0., + 0. , 0. , 1.0, 0., + translation.x , translation.y , 0.0, 1.); + + float s = ::math::sin(rotation_rad); + float c = ::math::cos(rotation_rad); + float4x4 rotate = + float4x4( c , -s , 0.0 , 0.0, + s , c , 0.0 , 0.0, + 0.0, 0.0 , 1.0 , 0.0, + 0. , 0.0 , 0.0 , 1.); + + return transform_coordinate_2(scale*rotate, ::base::coordinate_source(system, uv_space)); +} + +export material Iron_Knurling( + //Appearance + float brightness = float(0.7f) [[ + ::anno::description("Adjusts the brightness of the material."), + ::anno::display_name("Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.0f, 1.0f) + ]], + float roughness = float(0.5f) [[ + ::anno::description("Higher values lead to a rougher appearance of the material."), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.0f, 1.0f) + ]], + float grooves_dirt = float(0.4f) [[ + ::anno::description("Adds dirt in the grooves of the knurling pattern."), + ::anno::display_name("Grooves Dirt"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.0f, 1.0f) + ]], + uniform float bump_strength = float(0.8f) [[ + ::anno::description("Adds dirt in the grooves of the knurling pattern."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::soft_range(0.0f, 1.0f) + ]], + + // Round Corners + uniform bool enable_round_corners = false [[ + ::anno::display_name("Enable Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius = 0.01f [[ + ::anno::display_name("Round Corner Radius"), + ::anno::description("Sets the radius of the round corners in millimeters."), + ::anno::soft_range(0.0f, 0.1f), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the rounded corner effect also between other materials."), + ::anno::in_group("Round Corners") + ]], + //Transform + float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Texture Translate"), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform"), + ::anno::soft_range(0.f, 360.f) + ]], + float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(0.35f, .35f)), + ::anno::soft_range(0.f, 2.f) + ]], + + // Advanced + uniform int uv_space_index = 0 [[ + ::anno::description("Uses the selected UV space index."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced"), + ::anno::soft_range(0, 4) + ]] +) +[[ + ::anno::display_name("Metal Knurling Iron"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Knurling.Iron_Knurling.png"), + ::anno::key_words(string[]("metal", "iron", "knurled", "knurling", "pattern", "design", "bumped")), + ::anno::contributor("Ruediger Raab"), + ::anno::author("NVIDIA vMaterials") +]] += let +{ + color metal_tint = color(0.5293683f, 0.5132565f, 0.4942483f); // Iron + + // Texture setup + texture_2d normal_tex = texture_2d("./metal_knurling_norm.jpg", ::tex::gamma_linear); + texture_2d multi_heights_tex = texture_2d("./metal_knurling_multi_heights.jpg", ::tex::gamma_linear); + texture_2d diff_rough_grunge_tex = texture_2d("./metal_knurling_multi_R_diff_G_rough_B_grunge.jpg", ::tex::gamma_linear); + + // Coordinate setup + ::base::texture_coordinate_info uvw = vmat_transform( + translation: texture_translate, + rotation: texture_rotate, + scaling: texture_scale, + system: ::base::texture_coordinate_uvw, + uv_space: uv_space_index + ); + + // ---------- Diff Rough Grunge Lookup ---------- + + float3 diff_rough_grunge_lookup = float3( + ::base::file_texture( + texture: diff_rough_grunge_tex, + uvw: uvw, + mono_source: ::base::mono_average + ).tint ); + + float3 multi_height_lookup = float3( + ::base::file_texture( + texture: multi_heights_tex, + uvw: uvw, + mono_source: ::base::mono_average + ).tint ); + + float3 norm = ::base::tangent_space_normal_texture( + texture: normal_tex, + factor: bump_strength, + uvw: uvw + ); + + + float remap_rough = histogram_range( + input: diff_rough_grunge_lookup.y, + range: 1.0f, + position: 0.234f + ); + + + float roughness_mapped = remap_rough + (roughness * multi_height_lookup.y); + + float remapped_diff = histogram_range( + input: diff_rough_grunge_lookup.x, + range: 1.0f, + position: (brightness * 0.4f) + 0.4f + ); + + float diff_contribution = ::math::pow(remapped_diff - ((grooves_dirt * 0.5) * multi_height_lookup.x * diff_rough_grunge_lookup.z), 2.67f); + + bsdf ggx_smith_bumped = ::df::weighted_layer( + layer: ::df::microfacet_ggx_smith_bsdf( + roughness_u: roughness_mapped * roughness_mapped, + roughness_v: roughness_mapped * roughness_mapped, + tint: color(diff_contribution), + mode: ::df::scatter_reflect + ), + base: bsdf(), + weight: 1.0f, + normal: norm + ); + + bsdf diff_bsdf = ::df::diffuse_reflection_bsdf( + tint: color(diff_contribution) + ); + + + bsdf final_bsdf = ::df::weighted_layer( + weight: 1.0f - (diff_rough_grunge_lookup.z * multi_height_lookup.x * grooves_dirt), + layer: ::df::directional_factor( + normal_tint: metal_tint, + grazing_tint: color(1.0f), + base: ggx_smith_bumped + ), + base: diff_bsdf + ); + + + // Round Corners + float3 round_normal = enable_round_corners ? + ::state::rounded_corner_normal( + radius: roundcorner_radius * 0.001, + across_materials: across_materials + ) : ::state::normal(); +} +in material ( + + surface: material_surface( + scattering: final_bsdf + ), + geometry: material_geometry( + normal: round_normal + ) +); + + +export material Iron_Knurling_Worn(*) +[[ + ::anno::display_name("Metal Knurling - Iron Worn"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Knurling.Iron_Knurling_Worn.png"), + ::anno::key_words(string[]("metal", "iron", "knurled", "pattern", "knurling", "design", "bumped", "worn")), + ::anno::contributor("Ruediger Raab"), + ::anno::author("NVIDIA vMaterials") +]] = Iron_Knurling( + brightness: 0.4f, + roughness: 1.0f, + grooves_dirt: 1.0f, + bump_strength: 0.8f, + + enable_round_corners: false, + roundcorner_radius: 1.2f, + across_materials: false, + + texture_translate: 0.0f, + texture_rotate: 0.f, + texture_scale: 1.0f, + + uv_space_index: 0 +); + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Material/material_0444/Metal_Mesh_Weave_02.mdl b/Material/material_0444/Metal_Mesh_Weave_02.mdl new file mode 100644 index 0000000000000000000000000000000000000000..946b665b8796c790d244f69a476add08da6b054a --- /dev/null +++ b/Material/material_0444/Metal_Mesh_Weave_02.mdl @@ -0,0 +1,606 @@ +/****************************************************************************** + * Copyright 2024 NVIDIA Corporation. All rights reserved. * + ****************************************************************************** + +Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge, +to any person obtaining a copy of the sample definition code that uses our +Material Definition Language (the "MDL Materials"), to reproduce and distribute +the MDL Materials, including without limitation the rights to use, copy, merge, +publish, distribute, and sell modified and unmodified copies of the MDL +Materials, and to permit persons to whom the MDL Materials is furnished to do +so, in all cases solely for use with NVIDIA's Material Definition Language, +subject to the following further conditions: + +1. The above copyright notices, this list of conditions, and the disclaimer +that follows shall be retained in all copies of one or more of the MDL +Materials, including in any software with which the MDL Materials are bundled, +redistributed, and/or sold, and included either as stand-alone text files, +human-readable headers or in the appropriate machine-readable metadata fields +within text or binary files as long as those fields can be easily viewed by the +user, as applicable. +2. The name of NVIDIA shall not be used to promote, endorse or advertise any +Modified Version without specific prior written permission, except a) to comply + with the notice requirements otherwise contained herein; or b) to acknowledge +the contribution(s) of NVIDIA. + +THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, +INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE +THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS. +*/ + + +mdl 1.6; + +import ::df::*; +import ::base::*; +import ::math::*; +import ::state::*; +import ::anno::*; +import ::tex::*; +import ::nvidia::core_definitions::dimension; + +const string COPYRIGHT = +" Copyright 2024 NVIDIA Corporation. All rights reserved.\n" +" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n" +" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n" +" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n" +" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n" +" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n" +" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n" +" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n" +" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n" +" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n"; + + +uniform float4x4 rotation_translation_scale( + uniform float3 rotation = float3(0.) + [[ ::anno::description("Rotation applied to every UVW coordinate.") ]], + uniform float3 translation = float3(0.) + [[ ::anno::description("Offset applied to every UVW coordinate.") ]], + uniform float3 scaling = float3(1.) + [[ ::anno::description("Scale applied to every UVW coordinate.") ]] +) +[[ + ::anno::description("Construct transformation matrix from Euler rotation, translation and scale."), + ::anno::hidden() +]] +{ + float4x4 scale = + float4x4(scaling.x , 0. , 0. , 0., + 0. , scaling.y , 0. , 0., + 0. , 0. , scaling.z , 0., + translation.x, translation.y, translation.z, 1.); + + float3 s = ::math::sin(rotation); + float3 c = ::math::cos(rotation); + float4x4 rotate = + float4x4( c.y*c.z , -c.x*s.z + s.x*s.y*c.z , s.x*s.z + c.x*s.y*c.z , 0.0, + c.y*s.z , c.x*c.z + s.x*s.y*s.z , -s.x*c.z + c.x*s.y*s.z , 0.0, + -s.y , s.x*c.y , c.x*c.y , 0.0, + 0. , 0 , 0 , 1.); + + return scale*rotate; +} + +::base::texture_return blend_colors( + color color_1 = color(1.0, 0.0, 0.0), + color color_2 = color(0.0, 1.0, 0.0), + float blend = 0.5 +) +[[ + ::anno::hidden() +]] +{ + return ::base::blend_color_layers( + layers: ::base::color_layer[]( + ::base::color_layer( + layer_color: color_2, + weight: blend, + mode: ::base::color_layer_blend + )), + base: color_1 + ); +} + +::base::texture_return multiply_colors( + color color_1 = color(1.0, 0.0, 0.0), + color color_2 = color(0.0, 1.0, 0.0), + float blend = 0.5 +) +[[ + ::anno::hidden() +]] +{ + return ::base::blend_color_layers( + layers: ::base::color_layer[]( + ::base::color_layer( + layer_color: color_2, + weight: blend, + mode: ::base::color_layer_multiply + )), + base: color_1 + ); +} + +// Returns the normal n in tangent space, given n is in internal space. +float3 transform_internal_to_tangent(float3 n) +[[ + ::anno::hidden(), + ::anno::unused() + +]] +{ + return + n.x* float3(::state::texture_tangent_u(0).x,::state::texture_tangent_v(0).x,::state::normal().x)+ + n.y* float3(::state::texture_tangent_u(0).y,::state::texture_tangent_v(0).y,::state::normal().y)+ + n.z* float3(::state::texture_tangent_u(0).z,::state::texture_tangent_v(0).z,::state::normal().z); +} + +// Returns the normal n in internal space, given n is in tangent space. +float3 transform_tangent_to_internal(float3 n) +[[ + ::anno::hidden(), + ::anno::unused() +]] +{ + return ::state::texture_tangent_u(0) * n.x + + ::state::texture_tangent_v(0) * n.y + + ::state::normal() * n.z ; +} + + +// Returns a normal by adding a detail normal to a global normal. +float3 add_detail_normal(float3 nd = ::state::normal(), float3 n = ::state::normal()) +[[ + ::anno::hidden(), + ::anno::unused() +]] +{ + // http://blog.selfshadow.com/publications/blending-in-detail/ + float3 n_t = transform_internal_to_tangent(n); + float3 nd_t = transform_internal_to_tangent(nd); + + n_t=n_t + float3(0.,0.,1.); + nd_t = nd_t * float3(-1.,-1.,1.); + + n = n_t*::math::dot(n_t, nd_t)/n_t.z - nd_t; + return ::math::normalize(transform_tangent_to_internal(n)); +} + +enum metal_color_enum{steel = 0, brass = 1, copper = 2}; + + +export material Metal_Mesh_Weave_02 ( + color weave_color = color(0.373615, 0.186989, 0.052842) + [[ + ::anno::display_name("Metal Weave Color"), + ::anno::description("Specifies the base color of the material."), + ::anno::in_group("Appearance") + ]], + float weave_color_variation = 0.0 + [[ + ::anno::display_name("Weave Color Variation"), + ::anno::hard_range(float(0.0f), float(1.0f)), + ::anno::description("Adds some brightness variation to the metal color."), + ::anno::in_group("Appearance") + ]], + float weave_roughness = float(0.6) + [[ + ::anno::display_name("Metal Weave Roughness"), + ::anno::soft_range(float(0.0f), float(1.0f)), + ::anno::description("The Roughness of the material."), + ::anno::in_group("Appearance") + ]], + color rod_color = color(.37) + [[ + ::anno::display_name("Metal Bar Color"), + ::anno::description("Specifies the base color of the material."), + ::anno::in_group("Appearance") + ]], + float rod_roughness = float(0.0) + [[ + ::anno::display_name("Metal Bar Roughness"), + ::anno::hard_range(float(0.0f), float(1.0f)), + ::anno::description("The Roughness of the material."), + ::anno::in_group("Appearance") + ]], + float AO_weight = 0.7 + [[ + ::anno::display_name("Metal Darkening"), + ::anno::hard_range(float(0.0f), float(1.0f)), + ::anno::description("Darkens the appearance of the weave by weighing in precalculated ambient occlusion."), + ::anno::in_group("Other") + ]], + + uniform float bump_amount_1 = 1.0 + [[ + ::anno::display_name("Weaving Bump Amount"), + ::anno::description("Specifies the intensity of the normal texture."), + ::anno::in_group("Appearance") + ]], + + // Adjustments Group + uniform float2 texture_translate = 0.0f + [[ + ::anno::display_name("Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Adjustments") + ]], + uniform float texture_rotate = 0.0f + [[ + ::anno::display_name("Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Adjustments") + ]], + uniform float2 texture_scale = 2.0f + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 2.0f)), + ::anno::in_group("Adjustments") + ]] +) +[[ + ::anno::author("NVIDIA ARC"), + ::anno::display_name("Metalweave 02"), + ::anno::description("A woven brushed metal material."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "brushed", "bumped", "new", "multimaterial")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_02.Metal_Mesh_Weave_02.png"), + ::anno::hidden() +]] = let { + + float specular = 0.5; + float metallic = 1.0; + float rod_roughness_mapped = rod_roughness * 0.5; + float diffuse_metal_amount = 0.1; // This accounts for the fact, that all the rough metals also behave a bit like + // diffuse surfaces. This is a lazy method but proves to give enough visual + // credibility + // Textures + texture_2d weave_colormask_tex = texture_2d("./metalweave_02_color_mask.png", ::tex::gamma_srgb); + texture_2d weave_metalcolormask_tex = texture_2d("./metalweave_02_metalcolor_mask.png", ::tex::gamma_srgb); + texture_2d weave_roughness_tex = texture_2d("./metalweave_02_rough.jpg", ::tex::gamma_linear); + texture_2d weave_normal_tex = texture_2d("./metalweave_02_norm.jpg", ::tex::gamma_linear); + texture_2d AO_tex = texture_2d("./metalweave_02_AO.jpg", ::tex::gamma_srgb); + + ::base::texture_coordinate_info uvw = ::base::coordinate_source( + coordinate_system: ::base::texture_coordinate_uvw, + texture_space: 0 + ); + + + ::base::texture_coordinate_info transformed_uvw = ::base::transform_coordinate( + transform: rotation_translation_scale( + scaling: float3(4.f/texture_scale.x, 4.f/texture_scale.y, 1.0), + rotation: float3(0.0, 0.0, texture_rotate/180.*::math::PI ), + translation: float3(texture_translate.x, texture_translate.y, 0.0) + ), + coordinate: uvw + ); + + + ::base::texture_coordinate_info AO_and_norm_uvw = ::base::transform_coordinate( + transform: float4x4(2 , 0.0 , 0.0, 0.0, + 0.0 , 2 , 0.0, 0.0, + 0.0 , 0.0 , 1.0, 0.0, + 0.0 , 0.0 , 0.0, 1.0), + coordinate: transformed_uvw + ); + + ::base::texture_coordinate_info color_mask_uvw = ::base::transform_coordinate( + transform: float4x4(2 , 0.0 , 0.0, 0.0, + 0.0 , 10 , 0.0, 0.0, + 0.0 , 0.0 , 1.0, 0.0, + 0.0 , 0.0 , 0.0, 1.0), + coordinate: transformed_uvw + ); + + + float weave_colormask_lookup = ::base::file_texture( + texture: weave_colormask_tex, + color_offset: color(0.0, 0.0, 0.0), + color_scale: color(1.0, 1.0, 1.0), + mono_source: ::base::mono_average, + uvw: color_mask_uvw, + clip: false + ).mono; + + + float weave_metalcolormask_lookup = ::base::file_texture( + texture: weave_metalcolormask_tex, + color_offset: color(0.0, 0.0, 0.0), + color_scale: color(1.0, 1.0, 1.0), + mono_source: ::base::mono_average, + uvw: transformed_uvw, + clip: false + ).mono; + + color AO_lookup = ::base::file_texture( + texture: AO_tex, + color_offset: color(0.0, 0.0, 0.0), + color_scale: color(1.0, 1.0, 1.0), + mono_source: ::base::mono_average, + uvw: AO_and_norm_uvw, + clip: false + ).tint; + + float weave_roughness_lookup = ::base::file_texture( + texture: weave_roughness_tex, + color_offset: color(0.025, 0.025, 0.025), + color_scale: color(weave_roughness), + mono_source: ::base::mono_average, + uvw: transformed_uvw, + clip: false + ).mono; + + float roughness = ::math::lerp(weave_roughness_lookup, rod_roughness_mapped, weave_colormask_lookup); + + color metal_color = blend_colors(weave_color, weave_color * (1.0-(weave_color_variation*0.7)), weave_metalcolormask_lookup).tint; + + color base_color = multiply_colors(blend_colors(metal_color, rod_color, weave_colormask_lookup).tint, + AO_lookup, + AO_weight + ).tint; + + // Metallic Roughness Model + bsdf diffuse_bsdf = ::df::diffuse_reflection_bsdf( + roughness: 0.0f, //assign the user controllable + tint: base_color //values to the bsdf + ); + + bsdf ggx_smith_bsdf = ::df::microfacet_ggx_smith_bsdf( + roughness_u: roughness*roughness, + roughness_v: roughness*roughness, + tint: color(1.0, 1.0, 1.0), + mode: ::df::scatter_reflect + ); + + bsdf custom_curve_layer_bsdf = ::df::custom_curve_layer( + normal_reflectivity: 0.08 * specular, + grazing_reflectivity: 1.0, + exponent: 3.0, + weight: 1.0, + layer: ggx_smith_bsdf, + base: diffuse_bsdf + ); + + bsdf directional_factor_bsdf = ::df::directional_factor( + normal_tint: base_color, + grazing_tint: base_color, + exponent: 3.0f, + base: ggx_smith_bsdf + ); + + bsdf pre_final_bsdf = ::df::weighted_layer( + base: custom_curve_layer_bsdf, + weight: metallic, + layer: directional_factor_bsdf + ); + + bsdf final_bsdf = ::df::weighted_layer( + weight: diffuse_metal_amount, + layer: diffuse_bsdf, + base: pre_final_bsdf + ); + + // Normal lookup + float3 the_normal = ::base::tangent_space_normal_texture( + texture: weave_normal_tex, + factor: bump_amount_1, + uvw: AO_and_norm_uvw, + flip_tangent_u: false, + flip_tangent_v: false + ); + + +} in material ( + surface: material_surface( + scattering: final_bsdf + ), + geometry: material_geometry( + normal: the_normal + ) +); + + + + + +// 1 Copper Steel +export material Woven_Metal_02_Copper_Steel(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 02 - Copper Steel"), + ::anno::description("Strong metal shapes woven around metal rods forming a solid sheet of metal."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "brushed", "bumped", "new", "multimaterial", "copper", "steel", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_02.Woven_Metal_02_Copper_Steel.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_02( + weave_color: color(0.812241, 0.302125, 0.136099), + weave_color_variation: 0.5f, + weave_roughness: 0.75f, + rod_color: color(0.368591), + rod_roughness: 0.0f, + AO_weight: .7f, + bump_amount_1: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 2.0f +); + +// 2 Copper Pure +export material Woven_Metal_02_Copper_Pure(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 02 - Copper Pure"), + ::anno::description("Strong metal shapes woven around metal rods forming a solid sheet of metal."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "brushed", "bumped", "new", "multimaterial", "copper", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_02.Woven_Metal_02_Copper_Pure.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_02( + weave_color: color(0.812241, 0.302125, 0.136099), + weave_color_variation: 0.5f, + weave_roughness: 0.33f, + rod_color: color(0.358654, 0.133209, 0.060032), + rod_roughness: 0.0f, + AO_weight: .7f, + bump_amount_1: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 2.0f +); + + +// 3 Brass Steel +export material Woven_Metal_02_Brass_Steel(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 02 - Brass Steel"), + ::anno::description("Strong metal shapes woven around metal rods forming a solid sheet of metal."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "brushed", "bumped", "new", "multimaterial", "brass", "steel", "yellow", "gold", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_02.Woven_Metal_02_Brass_Steel.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_02( + weave_color: color(0.652370, 0.464741, 0.163641), + weave_color_variation: 0.5f, + weave_roughness: 0.33f, + rod_color: color(0.368591), + rod_roughness: 0.0f, + AO_weight: .7f, + bump_amount_1: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 2.0f +); + + +// 4 Brass Pure +export material Woven_Metal_02_Brass_Pure(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 02 - Brass Pure"), + ::anno::description("Strong metal shapes woven around metal rods forming a solid sheet of metal."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "brushed", "bumped", "new", "multimaterial", "brass", "yellow", "gold", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_02.Woven_Metal_02_Brass_Pure.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_02( + weave_color: color(0.652370, 0.464741, 0.163641), + weave_color_variation: 0.5f, + weave_roughness: 0.33f, + rod_color: color(0.358654, 0.254916, 0.089194), + rod_roughness: 0.5f, + AO_weight: .7f, + bump_amount_1: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 2.0f +); + +// 5 Steel Brass +export material Woven_Metal_02_Steel_Brass(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 02 - Steel Brass"), + ::anno::description("Strong metal shapes woven around metal rods forming a solid sheet of metal."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "brushed", "bumped", "new", "multimaterial", "steel", "brass", "gray")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_02.Woven_Metal_02_Steel_Brass.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_02( + weave_color: color(0.383775), + weave_color_variation: 0.5f, + weave_roughness: 0.33f, + rod_color: color(0.358654, 0.254916, 0.089194), + rod_roughness: 0.2f, + AO_weight: .7f, + bump_amount_1: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 2.0f +); + + +// 6 Steel Brass +export material Woven_Metal_02_Steel_Pure(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 02 - Steel Pure"), + ::anno::description("Strong metal shapes woven around metal rods forming a solid sheet of metal."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "brushed", "bumped", "new", "multimaterial", "steel", "gray")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_02.Woven_Metal_02_Steel_Pure.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_02( + weave_color: color(0.383775), + weave_color_variation: 0.5f, + weave_roughness: 0.33f, + rod_color: color(0.250840), + rod_roughness: 0.2f, + AO_weight: .7f, + bump_amount_1: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 2.0f +); + + +// 7 Gold Glossy +export material Woven_Metal_02_Gold_Glossy(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 02 - Gold Glossy"), + ::anno::description("Strong metal shapes woven around metal rods forming a solid sheet of metal."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "brushed", "bumped", "new", "multimaterial", "steel", "gold", "glossy", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_02.Woven_Metal_02_Gold_Glossy.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_02( + weave_color: color(0.796917, 0.493616, 0.103634), + weave_color_variation: 0.4f, + weave_roughness: 0.2f, + rod_color: color(0.368591), + rod_roughness: 0.2f, + AO_weight: .7f, + bump_amount_1: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 2.0f +); + + +// 8 Gold Matte +export material Woven_Metal_02_Gold_Matte(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 02 - Gold Matte"), + ::anno::description("Strong metal shapes woven around metal rods forming a solid sheet of metal."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "brushed", "bumped", "new", "multimaterial", "steel", "gold", "matte", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_02.Woven_Metal_02_Gold_Matte.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_02( + weave_color: color(0.796917, 0.493616, 0.103634), + weave_color_variation: 0.8f, + weave_roughness: 0.9f, + rod_color: color(0.368591), + rod_roughness: 0.5f, + AO_weight: .7f, + bump_amount_1: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 2.0f +); + + + + diff --git a/Material/material_0465/Silver_Brushed.mdl b/Material/material_0465/Silver_Brushed.mdl new file mode 100644 index 0000000000000000000000000000000000000000..b2f70f159f3fac897732a1462bdb92b829d36f5c --- /dev/null +++ b/Material/material_0465/Silver_Brushed.mdl @@ -0,0 +1,301 @@ +/****************************************************************************** + * Copyright 2024 NVIDIA Corporation. All rights reserved. + ****************************************************************************** + +Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge, +to any person obtaining a copy of the sample definition code that uses our +Material Definition Language (the "MDL Materials"), to reproduce and distribute +the MDL Materials, including without limitation the rights to use, copy, merge, +publish, distribute, and sell modified and unmodified copies of the MDL +Materials, and to permit persons to whom the MDL Materials is furnished to do +so, in all cases solely for use with NVIDIA's Material Definition Language, +subject to the following further conditions: + +1. The above copyright notices, this list of conditions, and the disclaimer +that follows shall be retained in all copies of one or more of the MDL +Materials, including in any software with which the MDL Materials are bundled, +redistributed, and/or sold, and included either as stand-alone text files, +human-readable headers or in the appropriate machine-readable metadata fields +within text or binary files as long as those fields can be easily viewed by the +user, as applicable. +2. The name of NVIDIA shall not be used to promote, endorse or advertise any +Modified Version without specific prior written permission, except a) to comply + with the notice requirements otherwise contained herein; or b) to acknowledge +the contribution(s) of NVIDIA. + +THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, +INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE +THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS. +*/ + +mdl 1.5; +import ::anno::*; +import ::base::*; +import ::math::*; +import ::state::*; +import ::std::*; +import ::tex::*; +import ::df::*; +import ::nvidia::core_definitions::*; + + +const string COPYRIGHT = +" Copyright 2024 NVIDIA Corporation. All rights reserved.\n" +" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n" +" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n" +" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n" +" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n" +" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n" +" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n" +" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n" +" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n" +" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n"; + +const string DESCRIPTION = "Brushed metal material with adjustable settings for the brushing"; + + +float histogram_range(float input, float range, float position) +{ + float low = ::math::clamp(1.0 - ::math::min(((1.0 - position) + range * 0.5), (1.0 - position) * 2), 0.0, 1.0); + float high = ::math::clamp(::math::min((position + range * 0.5 ), position * 2.0), 0.0, 1.0); + return ::math::lerp(low, high, input); +} + +::base::texture_coordinate_info vmat_transform( + uniform float2 translation = float2(0.0, 0.0), + uniform float rotation = 0.0, + uniform float2 scaling = float2(1.0, 1.0), + uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw, + uniform int uv_space = 0 +) +{ + float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f; + float4x4 scale = + float4x4(1.0 /scaling.x, 0. , 0. , 0., + 0. , 1.0 /scaling.y , 0. , 0., + 0. , 0. , 1.0, 0., + translation.x , translation.y , 0.0, 1.); + + float s = ::math::sin(rotation_rad); + float c = ::math::cos(rotation_rad); + float4x4 rotate = + float4x4( c , -s , 0.0 , 0.0, + s , c , 0.0 , 0.0, + 0.0, 0.0 , 1.0 , 0.0, + 0. , 0.0 , 0.0 , 1.); + + return ::base::transform_coordinate(scale*rotate, ::base::coordinate_source(system, uv_space)); +} + + +export material Silver_Brushed( + float brush_width = 1.0f [[ + ::anno::display_name("Roughness Width"), + ::anno::description("Widens the anisotropic metal reflections which leads to a stronger effect of " + "the metal brushing."), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance") + ]], + float brush_height_blur = 0.75f [[ + ::anno::display_name("Roughness Height"), + ::anno::description("Increases the anisotropy of the brushed metal, blurring the reflections."), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance") + ]], + float scratch_variation_amount = 1.f [[ + ::anno::description("Adds a bit variation to the roughness of the brushing pattern in the form of occasional scratches that sprea dout in a wider range."), + ::anno::display_name("Scratch Variation Amount"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance") + ]], + float scratch_reflection_variation = 0.4f [[ + ::anno::description("Attenuates the reflection of the brushed metal which will also make the material appear darker."), + ::anno::display_name("Scratch Reflection Variation"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance") + ]], + float scratches_bump = 0.65f [[ + ::anno::description("Introduces normal-mapped scratches which further add to the realistic appearance of the surface. However, this might become for the renderer more difficult to resolve."), + ::anno::display_name("Scratches Bump Amount"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance") + ]], + uniform bool enable_round_corners = false [[ + ::anno::display_name("Enable Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius = 0.01f [[ + ::anno::display_name("Round Corner Radius"), + ::anno::description("Adjusts the radius of the round corner effect."), + ::anno::soft_range(0.0f, 0.1f), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the rounded corner effect also between other materials."), + ::anno::in_group("Round Corners") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::display_name("Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::display_name("Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(0.75f, 0.75f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Use selected UV space for material."), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Silver - Strong Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Brushed.Silver_Brushed.png"), + ::anno::key_words(string[]("aec", "metal", "silver", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.9614253056f, 0.948983344333f, 0.918968346466f); // Silver + color grazing_reflectivity = color(0.99942f, 1.f, 1.f); + + bool tmp0 = false; + material_surface tmp1( + ::df::color_custom_curve_layer(::nvidia::core_definitions::blend_colors(normal_reflectivity, color(float3(::base::file_texture(texture_2d("./brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0]), ::base::color_layer_multiply, scratch_reflection_variation).tint, ::nvidia::core_definitions::blend_colors(grazing_reflectivity, color(float3(::base::file_texture(texture_2d("./brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0]), ::base::color_layer_multiply, scratch_reflection_variation).tint, 5.f, color(1.f, 1.f, 1.f), ::df::weighted_layer(0.0900000036f, ::df::microfacet_ggx_smith_bsdf(0.399000019f, 0.399000019f, color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::microfacet_ggx_smith_bsdf(::math::lerp(histogram_range(float3(::base::file_texture(texture_2d("./brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0], 0.183000013f, ::math::lerp(0.100000001f, 0.400000006f, brush_width)), 0.376000017f, scratch_variation_amount * float3(::base::file_texture(texture_2d("./brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1]) * ::math::lerp(histogram_range(float3(::base::file_texture(texture_2d("./brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0], 0.183000013f, ::math::lerp(0.100000001f, 0.400000006f, brush_width)), 0.376000017f, scratch_variation_amount * float3(::base::file_texture(texture_2d("./brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1]), ::math::lerp(histogram_range(float3(::base::file_texture(texture_2d("./brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0], 0.100000001f, ::math::lerp(0.0500000007f, 0.25f, brush_height_blur)), 0.376000017f, scratch_variation_amount * float3(::base::file_texture(texture_2d("./brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1]) * ::math::lerp(histogram_range(float3(::base::file_texture(texture_2d("./brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0], 0.100000001f, ::math::lerp(0.0500000007f, 0.25f, brush_height_blur)), 0.376000017f, scratch_variation_amount * float3(::base::file_texture(texture_2d("./brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1]), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::math::lerp(::state::normal(), ::base::tangent_space_normal_texture(texture_2d("./brushed_metal_linear_norm.jpg", ::tex::gamma_linear), 1.f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 1.f, 0.f), scratches_bump)), bsdf(), ::math::lerp(::state::normal(), ::base::tangent_space_normal_texture(texture_2d("./brushed_metal_linear_norm.jpg", ::tex::gamma_linear), 1.f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 1.f, 0.f), scratches_bump)), + material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + material_surface tmp2 = material_surface(scattering: bsdf(), emission: material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + color tmp3 = color(1.f, 1.f, 1.f); + material_volume tmp4 = material_volume(scattering: vdf(), absorption_coefficient: color(0.f, 0.f, 0.f), scattering_coefficient: color(0.f, 0.f, 0.f)); + material_geometry tmp5 = enable_round_corners ? material_geometry(float3(0.f), 1.f, ::state::rounded_corner_normal(roundcorner_radius, across_materials, 1.f)) : material_geometry(float3(0.f), 1.f, ::state::normal()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + + +export material Silver_Brushed_Light_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Silver - Light Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Brushed.Silver_Brushed_Light_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "silver", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] + = Silver_Brushed ( + brush_width: 0.225f, + brush_height_blur: 0.035f, + scratch_variation_amount: 1.0f, + scratch_reflection_variation: 0.4f, + scratches_bump: 0.2f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Silver_Brushed_Medium_Light_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Silver - Medium Light Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Brushed.Silver_Brushed_Medium_Light_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "silver", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Silver_Brushed ( + brush_width: 0.361f, + brush_height_blur: 0.204f, + scratch_variation_amount: 1.0f, + scratch_reflection_variation: 0.559f, + scratches_bump: 0.35f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Silver_Brushed_Medium_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Silver - Medium Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Brushed.Silver_Brushed_Medium_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "silver", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Silver_Brushed ( + brush_width: 0.665f, + brush_height_blur: 0.471f, + scratch_variation_amount: 1.0f, + scratch_reflection_variation: 0.621f, + scratches_bump: 0.5f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Silver_Brushed_Very_Strong_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Silver - Very Strong Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Brushed.Silver_Brushed_Very_Strong_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "silver", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Silver_Brushed ( + brush_width: 1.0f, + brush_height_blur: 1.0f, + scratch_variation_amount: 1.0f, + scratch_reflection_variation: 0.824f, + scratches_bump: 1.0f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + diff --git a/Material/material_0470/Silver_Sheet.mdl b/Material/material_0470/Silver_Sheet.mdl new file mode 100644 index 0000000000000000000000000000000000000000..388cb78de3774b0e90863cc32ea6132fb877a5c9 --- /dev/null +++ b/Material/material_0470/Silver_Sheet.mdl @@ -0,0 +1,1343 @@ +/****************************************************************************** + * Copyright 2024 NVIDIA Corporation. All rights reserved. + ****************************************************************************** + +Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge, +to any person obtaining a copy of the sample definition code that uses our +Material Definition Language (the "MDL Materials"), to reproduce and distribute +the MDL Materials, including without limitation the rights to use, copy, merge, +publish, distribute, and sell modified and unmodified copies of the MDL +Materials, and to permit persons to whom the MDL Materials is furnished to do +so, in all cases solely for use with NVIDIA's Material Definition Language, +subject to the following further conditions: + +1. The above copyright notices, this list of conditions, and the disclaimer +that follows shall be retained in all copies of one or more of the MDL +Materials, including in any software with which the MDL Materials are bundled, +redistributed, and/or sold, and included either as stand-alone text files, +human-readable headers or in the appropriate machine-readable metadata fields +within text or binary files as long as those fields can be easily viewed by the +user, as applicable. +2. The name of NVIDIA shall not be used to promote, endorse or advertise any +Modified Version without specific prior written permission, except a) to comply + with the notice requirements otherwise contained herein; or b) to acknowledge +the contribution(s) of NVIDIA. + +THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, +INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE +THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS. +*/ + + +mdl 1.5; + +import ::anno::*; +import ::base::*; +import ::df::*; +import ::math::*; +import ::state::*; +import ::tex::*; +import ::nvidia::core_definitions::blend_colors; +import ::nvidia::core_definitions::dimension; + +const string COPYRIGHT = +" Copyright 2024 NVIDIA Corporation. All rights reserved.\n" +" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n" +" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n" +" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n" +" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n" +" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n" +" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n" +" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n" +" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n" +" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n"; + +const string DESCRIPTION = "A sheet metal material with adjustable imperfections"; +const string DESCRIPTION_PUNCH = "Punched silver sheet metal material with adjustable imperfections and punchings."; + + +float4 tile_select(uniform int select = 0) +{ + switch (select) + { + case 0: return float4(0.000, 0.333, 0.666, 1.000); + case 1: return float4(0.333, 0.666, 0.666, 1.000); + case 2: return float4(0.666, 1.000, 0.666, 1.000); + + case 3: return float4(0.000, 0.333, 0.333, 0.666); + case 4: return float4(0.333, 0.666, 0.333, 0.666); + case 5: return float4(0.666, 1.000, 0.333, 0.666); + + case 6: return float4(0.000, 0.333, 0.000, 0.333); + case 7: return float4(0.333, 0.666, 0.000, 0.333); + case 8: return float4(0.666, 1.000, 0.000, 0.333); + + default: return float4(0.000, 0.333, 0.000, 0.333); + } +} + +export struct vm_coordinates +[[ + ::anno::hidden() +]] +{ + float2 uv; + float rotation; + int uv_space_index; + float4 carry; +}; + +enum vm_mono_select +[[ + anno::description("Modes for the creation of a gray-scale value from a color"), + anno::hidden() +]] +{ + mono_r = 0, + mono_g = 1, + mono_b = 2, + mono_a = 3, + mono_average = 4 +}; + +vm_coordinates vm_coord +( + float2 translation = float2(0.0f, 0.0) [[ + ::anno::display_name("Translation"), + ::anno::description("Translates the coordinates.") + ]], + float rotation = 0.0f [[ + ::anno::display_name("Rotation"), + ::anno::description("Rotates the coordinates in degrees.") + ]], + float2 scaling = float2(1.0f, 1.0f) [[ + ::anno::display_name("Scaling"), + ::anno::description("Scales the coordinates.") + ]], + uniform int uv_space = 0 [[ + ::anno::display_name("UV Space"), + ::anno::description("Chose the UV space.") + ]] +) +[[ + ::anno::display_name("vm Transform"), + ::anno::description("Generates coordinates to be used in vm_lookup functions.") +]] +{ + vm_coordinates uv; + ::base::texture_coordinate_info info = ::base::coordinate_source( ::base::texture_coordinate_uvw, uv_space); + uv.rotation = (rotation * 3.1415926535897932384626433832f) / 180.f; + uv.uv = float2(info.position.x, info.position.y); + float sine = ::math::sin(uv.rotation); + float cosine = ::math::cos(uv.rotation); + float2x2 rot = float2x2(cosine, -sine, sine, cosine); + uv.uv = rot * uv.uv; + uv.uv /= scaling; + uv.uv += translation; + return uv; +} + + +vm_coordinates vm_coord_hex( + vm_coordinates uv, + float scale = 1.0f) +{ + vm_coordinates uv_return; + float2 uv_ = float2(uv.uv.x, uv.uv.y); + + // same as from function get_hex above + float2 s = float2(1.0f, 1.7320508f); + float2 n = uv_ - float2(0.5f, 1.0f); + float4 c = ::math::floor(float4(uv_.x, uv_.y, n.x, n.y)/float4(s.x, s.y, s.x, s.y)) + 0.5f; + float2 h_1 = uv_ - float2(c.x, c.y) * s; + float2 h_2 = uv_ - (float2(c.z, c.w) + 0.5f) * s; + float4 uv_id = ::math::dot(h_1, h_1) < ::math::dot(h_2, h_2) ? float4(h_1.x, h_1.y, c.x, c.y) : float4(h_2.x, h_2.y, c.z, c.w); + + uv_return.uv = float2(uv_id.x*scale+0.5, uv_id.y*scale+0.5); + // unless we introduce random cell rotations where we need to compensate for this in the rotation + // we can just plain copy the rotation value + uv_return.rotation = uv.rotation; + return uv_return; +} + +// Offsets a set of uv coordinates in either row (u) or column (v) direction +vm_coordinates vm_coord_rowcol_offset( + vm_coordinates uv, + float offset, + bool horizontal_offset = true +) +{ + int index = horizontal_offset ? 0 : 1; + uv.uv[index] += ::math::floor(uv.uv[index ^ 1]) * offset; + return uv; +} + +vm_coordinates vm_coord_grid( + vm_coordinates uv, + float scale = 1.0f +) +{ + float2x2 scal = float2x2(scale, 0., 0., scale); + uv.uv = ::math::frac(uv.uv); + uv.uv -= 0.5f; + uv.uv = scal * uv.uv; + uv.uv = uv.uv + 0.5f; + return uv; +} + +::base::texture_return vm_tex_lookup( + uniform texture_2d tex, + vm_coordinates uv = vm_coord(), + uniform vm_mono_select mono_source = mono_a, + float4 scale = float4(1.0f), + + uniform ::tex::wrap_mode wrap_u = ::tex::wrap_repeat, + uniform ::tex::wrap_mode wrap_v = ::tex::wrap_repeat, + uniform float2 crop_u = float2(0.0, 1.0), + uniform float2 crop_v = float2(0.0, 1.0) +) +{ + float mono; + float4 lookup = ::tex::lookup_float4(tex, uv.uv, wrap_u, wrap_v, crop_u, crop_v) * scale; + switch( mono_source ) { + case mono_r: mono = lookup.x; + break; + case mono_g: mono = lookup.y; + break; + case mono_b: mono = lookup.z; + break; + case mono_a: mono = lookup.w; + break; + case mono_average: mono = ::math::average(float3(lookup.x, lookup.y, lookup.z)); + break; + } + return ::base::texture_return(color(lookup.x, lookup.y, lookup.z), mono); +} + +// *** SET CUTOUT ENUM NAMES *** +export enum cutout_pattern +[[ + ::anno::description("Cutout Pattern."), + ::anno::hidden() +]] +{ + pattern_circle = 0 + [[ ::anno::display_name("Circle")]], + pattern_hexagon = 1 + [[ ::anno::display_name("Hexagon")]], + pattern_line = 2 + [[ ::anno::display_name("Line") ]], + + pattern_square = 3 + [[ ::anno::display_name("Square")]], + pattern_rectangle = 4 + [[ ::anno::display_name("Rectangle")]], + pattern_cross = 5 + [[ ::anno::display_name("Cross")]], + + pattern_rhombus = 6 + [[ ::anno::display_name("Rhombus")]], + pattern_triangle = 7 + [[ ::anno::display_name("Triangle")]], + pattern_star = 8 + [[ ::anno::display_name("Star")]] +}; + + +float remap_xy_to_0_1(float input, float x, float y) +{ + return (input - x)/(y - x); +} + +float histogram_scan_big(float input, float width, float position) +{ + return ::math::clamp( + remap_xy_to_0_1(input, + ::math::lerp(-width, 1.0, position), + ::math::lerp(0.0, 1.0 + width, position)), + 0.0, + 1.0); +} + +::base::texture_coordinate_info vmat_transform( + uniform float2 translation = float2(0.0, 0.0), + uniform float rotation = 0.0, + uniform float2 scaling = float2(1.0, 1.0), + uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw, + uniform int uv_space = 0 +) +{ + float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f; + + float4x4 scale = + float4x4(1.0 /scaling.x, 0. , 0. , 0., + 0. , 1.0 /scaling.y , 0. , 0., + 0. , 0. , 1.0, 0., + translation.x , translation.y , 0.0, 1.); + + float s = ::math::sin(rotation_rad); + float c = ::math::cos(rotation_rad); + float4x4 rotate = + float4x4( c , -s , 0.0 , 0.0, + s , c , 0.0 , 0.0, + 0.0, 0.0 , 1.0 , 0.0, + 0. , 0.0 , 0.0 , 1.); + + return ::base::transform_coordinate(scale*rotate, ::base::coordinate_source(system, uv_space)); +} + +float uint2float(int x) +{ + return float(x & 0x7FFFFFFF) + (x < 0 ? 2147483648.0 : 0.0); +} + +int lowbias32(int x) +{ + x ^= x >>> 16; + x *= 0x7feb352d; + x ^= x >>> 15; + x *= 0x846ca68b; + x ^= x >>> 16; + return x; +} + +float2 rnd22(int2 p) { + float2 ret_val = float2( + uint2float(lowbias32(p[0] + lowbias32(p[1]))) / 4294967296.f, + uint2float(lowbias32(p[0] + 32000 + lowbias32(p[1]))) / 4294967296.f + ); + return ret_val; +} + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + +float2x2 invert_2x2(float2x2 M) +{ + float det = M[0][0]*M[1][1] - M[0][1]*M[1][0]; + //https://www.chilimath.com/lessons/advanced-algebra/inverse-of-a-2x2-matrix/ + return (1.0 / det) * float2x2(M[1][1], -M[0][1], -M[1][0], M[0][0]); +} + +float3 nonrepeat_lookup( + uniform texture_2d texture = texture_2d(), + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5), + float patch_size = 8.0 +) +{ + + float2 uv_in = float2(uvw.position[0], uvw.position[1]) * texture_scale; + float Z = patch_size; // patch scale inside example texture + float CON = 1.0f; + + float3 O = float3(0.f); + float2x2 M0 = float2x2(1.f,0.f, 0.5f, ::math::sqrt(3.f)/2.f); + float2x2 M = invert_2x2(M0); // transform matrix <-> tilted space + + float2 U = uv_in; + float2 V = M * uv_in; //pre-tilted hexa coordinates + int2 I = int2(::math::floor(V)); // hexa-tile id + + // The mean color needs to be determined in Photoshop then to make the + // average color work out, take the float value and calculate the apropriate + // mean value as (value^(1/2.2)) + + float3 m = average_color; + + float3 F = float3(::math::frac(V)[0], ::math::frac(V)[1], 0.f), W; + F[2] = 1.0 - F[0] - F[1]; // local hexa coordinates + + if( F[2] > 0.f ) + + O = (W[0] = F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I))) - m*float(CON)) + + (W[1] = F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0,1)))) - m*float(CON)) + + (W[2] = F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1,0)))) - m*float(CON)); + else + O = (W[0] = -F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1)))) - m*float(CON)) + + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1, 0)))) - m*float(CON)) + + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0, 1)))) - m*float(CON)); + O = m + O/::math::length(W); + O = ::math::clamp( (O), 0.0, 1.0); + + return float3(O); +} + +color endless_texture( + uniform texture_2d texture = texture_2d(), + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 10.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0, + bool gamma_correct_lookup = true +) +{ + return gamma_correct_lookup ? color(srgb2rgb( + nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + )) + ) : color(nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + )); +} + + +export material Silver_Sheet( + uniform bool infinite_tiling = false [[ + ::anno::description("Enables infinite tiling feature which removes repeating texture patterns. Note that depending on the material this feature changes the appearance of the material slightly."), + ::anno::display_name("Infinite Tiling"), + ::anno::in_group("Appearance", "Main") + ]], + float sheet_brightness = 0.5f [[ + ::anno::display_name("Brightness"), + ::anno::description("Controls the brightness of the material."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness = 0.2f [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float streaks = 0.0f [[ + ::anno::display_name("Streaks Weight"), + ::anno::description("Adds directional streaks that occur as part of the sheet manufacturing process."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float scratch_bump_factor = 0.0f [[ + ::anno::description("Determines the degree of bumpiness."), + ::anno::display_name("Bump Factor Streaks"), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float imperfections_amount = 0.6f [[ + ::anno::description("Balances between a perfectly smooth metal and a surface that has various imperfections."), + ::anno::display_name("Imperfections Amount"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_1 = 0.f [[ + ::anno::display_name("Washed Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_2 = 0.939f [[ + ::anno::display_name("Noisy Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_3 = 0.0 [[ + ::anno::display_name("Splotchy Imperfection Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform bool enable_round_corners = false [[ + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::display_name("Enable Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius = 0.01f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 0.1f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Texture Translate"), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform"), + ::anno::soft_range(0.f, 360.f) + ]], + uniform float2 texture_scale = 1.0f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(0.75f, 0.75f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Silver - New Clean"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.9614253056f, 0.948983344333f, 0.918968346466f); // Silver + color grazing_reflectivity = color(0.99942f, 1.f, 1.f); + + bool tmp0 = false; + material_surface tmp1( + ::df::color_custom_curve_layer(normal_reflectivity, grazing_reflectivity, 5.f, color(::math::lerp(0.400000006f, 1.f, sheet_brightness) * ::math::lerp(1.f, ::math::pow(float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1], 2.20000005f), ::math::lerp(0.f, 0.300000012f, streaks))), ::df::weighted_layer(0.0700000003f, ::df::microfacet_ggx_smith_bsdf(0.150000006f, 0.150000006f, color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::microfacet_ggx_smith_bsdf((::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)) * (::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)), (::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)) * (::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::math::normalize(::math::lerp(::state::normal(), ::base::tangent_space_normal_texture(texture_2d("./sheet_metal_norm.jpg", ::tex::gamma_linear), scratch_bump_factor, false, false, ::base::texture_coordinate_info(::state::texture_coordinate(0), ::state::texture_tangent_u(0), ::state::texture_tangent_v(0)), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 1.f, 0.f), histogram_scan_big(float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], 0.242000014f, 0.850000024f)))), bsdf(), ::math::normalize(::math::lerp(::state::normal(), ::base::tangent_space_normal_texture(texture_2d("./sheet_metal_norm.jpg", ::tex::gamma_linear), scratch_bump_factor, false, false, ::base::texture_coordinate_info(::state::texture_coordinate(0), ::state::texture_tangent_u(0), ::state::texture_tangent_v(0)), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 1.f, 0.f), histogram_scan_big(float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], 0.242000014f, 0.850000024f)))), + material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + material_surface tmp2 = material_surface(scattering: bsdf(), emission: material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + color tmp3 = color(1.f, 1.f, 1.f); + material_volume tmp4 = material_volume(scattering: vdf(), absorption_coefficient: color(0.f, 0.f, 0.f), scattering_coefficient: color(0.f, 0.f, 0.f)); + material_geometry tmp5( + float3(0.f), + 1.f, + enable_round_corners ? ::state::rounded_corner_normal(roundcorner_radius, across_materials, 1.f) : ::state::normal()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + +export material Silver_Sheet_Punched( + // Cutout parameters + + uniform cutout_pattern shape_select = pattern_circle //select atlas tile here + [[ + ::anno::description("Select a cutout shape."), + ::anno::display_name("Cutout Shape"), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(0) + ]], + float2 punching_grid_size = float2(.5f, .5f) + [[ + ::anno::description("Scales the size of the punching grid."), + ::anno::display_name("Punching Grid Size"), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(1) + ]], + float cutout_size = .92f + [[ + ::anno::description("Scales the size of the cutout pattern independently from the base material."), + ::anno::display_name("Cutout Size"), + ::anno::hard_range(0.f, 1.2f), + ::anno::soft_range(0.f, 1.0f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(2) + ]], + float cutout_roundness = .4f + [[ + ::anno::description("At low values it makes the cutouts sharper. Higher values give the shapes a more rounded look."), + ::anno::display_name("Cutout Roundness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(3) + ]], + float cutout_bevel_width = 0.5f + [[ + ::anno::description("Adjusts the width of the bevel transition."), + ::anno::display_name("Cutout Bevel Width"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(4) + ]], + float cutout_bump_strength = .8f + [[ + ::anno::description("Sets the strength of the bevelled normal around the cutout."), + ::anno::display_name("Cutout Bevel Strength"), + ::anno::soft_range(0.0f, 1.0f), + ::anno::hard_range(0.0f, 2.0f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(5) + ]], +// Grid Layout parameters + bool hexagonal_grid = true + [[ + ::anno::description("When enabled, the punching will occur on a hexagonal grid, otherwise a square grid."), + ::anno::display_name("Enable Hexagonal Grid"), + ::anno::in_group("Appearance", "Cutout Layout"), + ::anno::ui_order(6) + ]], + float square_grid_offset = 0.0f + [[ + ::anno::description("Offsets each row of the grid by a certain amount."), + ::anno::display_name("Square Grid Offset"), + ::anno::in_group("Appearance", "Cutout Layout"), + ::anno::enable_if("hexagonal_grid==false"), + ::anno::ui_order(7) + ]], + bool horizontal_offset = true + [[ + ::anno::description("Choose whether to offset either in row or column direction."), + ::anno::display_name("Horizontal Offset"), + ::anno::in_group("Appearance", "Cutout Layout"), + ::anno::enable_if("hexagonal_grid==false"), + ::anno::ui_order(8) + ]], + + + +// Silver Sheet parameters + uniform bool infinite_tiling = false [[ + ::anno::description("Enables infinite tiling feature which removes repeating texture patterns. Note that depending on the material this feature changes the appearance of the material slightly."), + ::anno::display_name("Infinite Tiling"), + ::anno::in_group("Appearance", "Main") + ]], + float sheet_brightness = 0.5f [[ + ::anno::display_name("Brightness"), + ::anno::description("Controls the brightness of the material."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness = 0.2f [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float streaks = 0.0f [[ + ::anno::display_name("Streaks Weight"), + ::anno::description("Adds directional streaks that occur as part of the sheet manufacturing process."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float scratch_bump_factor = 0.0f [[ + ::anno::description("Determines the degree of bumpiness."), + ::anno::display_name("Bump Factor Streaks"), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float imperfections_amount = 0.6f [[ + ::anno::description("Balances between a perfectly smooth metal and a surface that has various imperfections."), + ::anno::display_name("Imperfections Amount"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_1 = 0.f [[ + ::anno::display_name("Washed Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_2 = 0.939f [[ + ::anno::display_name("Noisy Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_3 = 0.0 [[ + ::anno::display_name("Splotchy Imperfection Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Texture Translate"), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform"), + ::anno::soft_range(0.f, 360.f) + ]], + uniform float2 texture_scale = 1.0f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(0.75f, 0.75f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool enable_round_corners = false [[ + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::display_name("Enable Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius = 0.01f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 0.1f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Silver Sheet - Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Punched.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "circular", "neutral")) +]] = let +{ + material base_mat = Silver_Sheet( + infinite_tiling: infinite_tiling, + sheet_brightness: sheet_brightness, + roughness: roughness, + streaks: streaks, + scratch_bump_factor: scratch_bump_factor, + imperfections_amount: imperfections_amount, + impurities_weight_1: impurities_weight_1, + impurities_weight_2: impurities_weight_2, + impurities_weight_3: impurities_weight_3, + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + enable_round_corners: enable_round_corners, + roundcorner_radius: roundcorner_radius, + across_materials: across_materials + ); + texture_2d punching_cutout = texture_2d("./atlas_02_norm_dist.png", ::tex::gamma_linear); + + // remap range of slider to avoid artifacts in the bevelling + float2 punching_scale = texture_scale * 0.01f * punching_grid_size; + float cutout_roundness_ = cutout_roundness*0.6f+0.4f; + float cutout_size_lin = (1.0f/cutout_size); + float cutout_bevel_width_ = 0.1 + cutout_bevel_width * 0.9f; + + vm_coordinates uv = vm_coord( + translation: texture_translate, + rotation: texture_rotate, + scaling: punching_scale, + uv_space: uv_space_index + ); + + vm_coordinates punching_uv = hexagonal_grid ? vm_coord_hex( + uv: uv, + scale: cutout_roundness_ * cutout_size_lin + ) : vm_coord_grid( + uv: vm_coord_rowcol_offset( + uv: uv, + offset: square_grid_offset, + horizontal_offset: horizontal_offset + ), + scale: cutout_roundness_ * cutout_size_lin + ); + // select the correct subtile from the atlas + float4 crop = tile_select(shape_select); + + ::base::texture_return lookup = vm_tex_lookup( + tex: punching_cutout, + uv: punching_uv, + mono_source: mono_a, + scale: float4(1.0f), + crop_u: float2(crop.x, crop.y), + crop_v: float2(crop.z, crop.w), + wrap_u: ::tex::wrap_clamp, + wrap_v: ::tex::wrap_clamp + ); + + float low = (1.0 - cutout_roundness_); + float high = (cutout_size_lin * (cutout_bevel_width_ * 0.2f) * cutout_roundness_) + (1.0 - cutout_roundness_); + // remap x...y to (clamped) 0...1 + float x = ::math::clamp((lookup.mono - low)/(high - low), 0.0, 1.0); + // spherical falloff + float falloff=::math::sqrt(1.0-x*x); + // masking falloff as the center of the cutout is flat + float masked_falloff=falloff<=0.0?1.0:falloff; + + // where base material is still there, use the value of the base material + float cutout= ::math::min(falloff<=0.0?0.0:1.0, base_mat.geometry.cutout_opacity); + + // bring in -.5 ... +.5 range and lerp between lookup and flat normal + float3 remap_norm = ::math::lerp(float3(lookup.tint), float3(0.5, 0.5, 1.0), masked_falloff) - float3(0.5); + float3 t_norm = ::math::normalize(remap_norm * float3(cutout_bump_strength, cutout_bump_strength, 1.0)); + + float3 rotfix_norm = float3(::math::cos(punching_uv.rotation) * t_norm.x - ::math::sin(punching_uv.rotation) * t_norm.y, + ::math::sin(punching_uv.rotation) * t_norm.x + ::math::cos(punching_uv.rotation) * t_norm.y, + t_norm.z); + + float3 normal = ::state::texture_tangent_u(punching_uv.uv_space_index) * rotfix_norm.x + + ::state::texture_tangent_v(punching_uv.uv_space_index) * rotfix_norm.y + + ::state::normal() * rotfix_norm.z; + + float3 final_normal = ::base::blend_normals( + base_normal: normal, + base_normal_weight: 1.0f, + detail_normal: base_mat.geometry.normal, + detail_normal_weight: 1.0f + ); + +} in material( + surface: material_surface( + scattering: base_mat.surface.scattering + ), + volume: base_mat.volume, + ior: base_mat.ior, + thin_walled: true, + geometry: material_geometry( + displacement: base_mat.geometry.displacement, + normal: final_normal, + cutout_opacity: cutout + ) +); + + +// ------------------------ Silver Sheet Presets ------------------------ +export material Silver_Sheet_Soft_Splotches(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Silver - Soft Splotches"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Soft_Splotches.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral", "gray")) +]] += Silver_Sheet( + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.3f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.75f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.01f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + +export material Silver_Sheet_Matte_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Silver - Matte Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Matte_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "matte", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]]= Silver_Sheet( + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.75f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.265f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.43f, + impurities_weight_3: 0.0f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + +export material Silver_Sheet_Glossy_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Silver - Glossy Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Glossy_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] += Silver_Sheet( + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.3f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 0.1f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.89f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + +export material Silver_Sheet_Splotchy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Silver - Splotchy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Splotchy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]]= Silver_Sheet( + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.2f, + imperfections_amount: 0.26f, + impurities_weight_1: 1.0f, + impurities_weight_2: 0.76f, + impurities_weight_3: 0.13f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + +export material Silver_Sheet_Glossy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Silver - Glossy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Glossy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] += Silver_Sheet( + infinite_tiling: false, + sheet_brightness: 0.65f, + roughness: 0.25f, + streaks: 0.8f, + scratch_bump_factor: 0.88f, + imperfections_amount: 0.86f, + impurities_weight_1: 1.0f, + impurities_weight_2: 0.75f, + impurities_weight_3: 0.125f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// ------------------------ Punched Silver Sheet Presets ------------------------ + +export material Silver_Sheet_Punched_Small_Circular(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Silver Sheet - Small Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Punched_Small_Circular.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "circular", "neutral")) +]] += Silver_Sheet_Punched( + // Punching Parameters + shape_select: pattern_circle, + punching_grid_size: 1.0f, + cutout_size: 0.5f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 0.8f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.2f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.5f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Silver_Sheet_Punched_Hexagonal(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Silver Sheet - Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Punched_Hexagonal.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "hexagonal", "neutral")) +]] += Silver_Sheet_Punched( + // Punching Parameters + shape_select: pattern_hexagon, + punching_grid_size: 1.5f, + cutout_size: .95f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.2f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.5f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Silver_Sheet_Punched_Hexagonal_Small(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Silver Sheet - Small Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Punched_Hexagonal_Small.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "hexagonal", "neutral")) +]] += Silver_Sheet_Punched( + // Punching Parameters + shape_select: pattern_hexagon, + punching_grid_size: float2(.75f), + cutout_size: .58f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.3f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.2f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.5f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Silver_Sheet_Punched_Square(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Silver Sheet - Square Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Punched_Square.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "square", "neutral")) +]] += Silver_Sheet_Punched( + // Punching Parameters + shape_select: pattern_square, + punching_grid_size: 1.2f, + cutout_size: 0.56f, + cutout_roundness: 0.1f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 1.5f, + hexagonal_grid: false, + square_grid_offset: 0.5f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.2f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.5f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Silver_Sheet_Punched_Line(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Silver Sheet - Line Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Punched_Line.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "line", "neutral")) +]] += Silver_Sheet_Punched( + // Punching Parameters + shape_select: pattern_line, + punching_grid_size: 1.3f, + cutout_size: 0.59f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.3f, + cutout_bump_strength: 1.5f, + hexagonal_grid: false, + square_grid_offset: 0.3333f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.2f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.5f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Silver_Sheet_Punched_Cross(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Silver Sheet - Cross Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Punched_Cross.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "cross", "neutral")) +]] += Silver_Sheet_Punched( + // Punching Parameters + shape_select: pattern_cross, + punching_grid_size: 2.0f, + cutout_size: 0.59f, + cutout_roundness: 0.1f, + cutout_bevel_width: 0.44f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.2f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.5f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Silver_Sheet_Punched_Rhombus(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Silver Sheet - Rhombus Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Punched_Rhombus.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "rhombus", "neutral")) +]] += Silver_Sheet_Punched( + // Punching Parameters + shape_select: pattern_rhombus, + punching_grid_size: 1.4f, + cutout_size: 1.0f, + cutout_roundness: 0.8f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.2f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.5f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Silver_Sheet_Punched_Triangle(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Silver Sheet - Triangle Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Punched_Triangle.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "triangle", "neutral")) +]] += Silver_Sheet_Punched( + // Punching Parameters + shape_select: pattern_triangle, + punching_grid_size: 1.3f, + cutout_size: 1.08f, + cutout_roundness: 1.0f, + cutout_bevel_width: 1.0f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.2f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.5f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Silver_Sheet_Punched_Star(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Silver Sheet - Star Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Sheet.Silver_Sheet_Punched_Star.png"), + ::anno::key_words(string[]("metal", "sheet", "silver", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "star", "neutral")) +]] += Silver_Sheet_Punched( + // Punching Parameters + shape_select: pattern_star, + punching_grid_size: 1.5f, + cutout_size: 0.68f, + cutout_roundness: 0.5f, + cutout_bevel_width: 0.44f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.2f, + impurities_weight_1: 0.0f, + impurities_weight_2: 0.5f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); \ No newline at end of file diff --git a/Material/material_0502/Zinc_Sheet.mdl b/Material/material_0502/Zinc_Sheet.mdl new file mode 100644 index 0000000000000000000000000000000000000000..ccec78726d37e6f6d1a27b4d22460dafd74c65b8 --- /dev/null +++ b/Material/material_0502/Zinc_Sheet.mdl @@ -0,0 +1,1341 @@ +/****************************************************************************** + * Copyright 2024 NVIDIA Corporation. All rights reserved. + ****************************************************************************** + +Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge, +to any person obtaining a copy of the sample definition code that uses our +Material Definition Language (the "MDL Materials"), to reproduce and distribute +the MDL Materials, including without limitation the rights to use, copy, merge, +publish, distribute, and sell modified and unmodified copies of the MDL +Materials, and to permit persons to whom the MDL Materials is furnished to do +so, in all cases solely for use with NVIDIA's Material Definition Language, +subject to the following further conditions: + +1. The above copyright notices, this list of conditions, and the disclaimer +that follows shall be retained in all copies of one or more of the MDL +Materials, including in any software with which the MDL Materials are bundled, +redistributed, and/or sold, and included either as stand-alone text files, +human-readable headers or in the appropriate machine-readable metadata fields +within text or binary files as long as those fields can be easily viewed by the +user, as applicable. +2. The name of NVIDIA shall not be used to promote, endorse or advertise any +Modified Version without specific prior written permission, except a) to comply + with the notice requirements otherwise contained herein; or b) to acknowledge +the contribution(s) of NVIDIA. + +THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, +INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE +THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS. +*/ + + +mdl 1.5; + +import ::anno::*; +import ::base::*; +import ::df::*; +import ::math::*; +import ::state::*; +import ::tex::*; +import ::nvidia::core_definitions::blend_colors; +import ::nvidia::core_definitions::dimension; + +const string COPYRIGHT = +" Copyright 2024 NVIDIA Corporation. All rights reserved.\n" +" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n" +" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n" +" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n" +" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n" +" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n" +" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n" +" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n" +" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n" +" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n"; + +const string DESCRIPTION = "A sheet metal material with adjustable imperfections"; +const string DESCRIPTION_PUNCH = "Punched zinc sheet metal material with adjustable imperfections and punchings."; + + +float4 tile_select(uniform int select = 0) +{ + switch (select) + { + case 0: return float4(0.000, 0.333, 0.666, 1.000); + case 1: return float4(0.333, 0.666, 0.666, 1.000); + case 2: return float4(0.666, 1.000, 0.666, 1.000); + + case 3: return float4(0.000, 0.333, 0.333, 0.666); + case 4: return float4(0.333, 0.666, 0.333, 0.666); + case 5: return float4(0.666, 1.000, 0.333, 0.666); + + case 6: return float4(0.000, 0.333, 0.000, 0.333); + case 7: return float4(0.333, 0.666, 0.000, 0.333); + case 8: return float4(0.666, 1.000, 0.000, 0.333); + + default: return float4(0.000, 0.333, 0.000, 0.333); + } +} + +export struct vm_coordinates +[[ + ::anno::hidden() +]] +{ + float2 uv; + float rotation; + int uv_space_index; + float4 carry; +}; + +enum vm_mono_select +[[ + anno::description("Modes for the creation of a gray-scale value from a color"), + anno::hidden() +]] +{ + mono_r = 0, + mono_g = 1, + mono_b = 2, + mono_a = 3, + mono_average = 4 +}; + +vm_coordinates vm_coord +( + float2 translation = float2(0.0f, 0.0) [[ + ::anno::display_name("Translation"), + ::anno::description("Translates the coordinates.") + ]], + float rotation = 0.0f [[ + ::anno::display_name("Rotation"), + ::anno::description("Rotates the coordinates in degrees.") + ]], + float2 scaling = float2(1.0f, 1.0f) [[ + ::anno::display_name("Scaling"), + ::anno::description("Scales the coordinates.") + ]], + uniform int uv_space = 0 [[ + ::anno::display_name("UV Space"), + ::anno::description("Chose the UV space.") + ]] +) +[[ + ::anno::display_name("vm Transform"), + ::anno::description("Generates coordinates to be used in vm_lookup functions.") +]] +{ + vm_coordinates uv; + ::base::texture_coordinate_info info = ::base::coordinate_source( ::base::texture_coordinate_uvw, uv_space); + uv.rotation = (rotation * 3.1415926535897932384626433832f) / 180.f; + uv.uv = float2(info.position.x, info.position.y); + float sine = ::math::sin(uv.rotation); + float cosine = ::math::cos(uv.rotation); + float2x2 rot = float2x2(cosine, -sine, sine, cosine); + uv.uv = rot * uv.uv; + uv.uv /= scaling; + uv.uv += translation; + return uv; +} + + +vm_coordinates vm_coord_hex( + vm_coordinates uv, + float scale = 1.0f) +{ + vm_coordinates uv_return; + float2 uv_ = float2(uv.uv.x, uv.uv.y); + + // same as from function get_hex above + float2 s = float2(1.0f, 1.7320508f); + float2 n = uv_ - float2(0.5f, 1.0f); + float4 c = ::math::floor(float4(uv_.x, uv_.y, n.x, n.y)/float4(s.x, s.y, s.x, s.y)) + 0.5f; + float2 h_1 = uv_ - float2(c.x, c.y) * s; + float2 h_2 = uv_ - (float2(c.z, c.w) + 0.5f) * s; + float4 uv_id = ::math::dot(h_1, h_1) < ::math::dot(h_2, h_2) ? float4(h_1.x, h_1.y, c.x, c.y) : float4(h_2.x, h_2.y, c.z, c.w); + + uv_return.uv = float2(uv_id.x*scale+0.5, uv_id.y*scale+0.5); + // unless we introduce random cell rotations where we need to compensate for this in the rotation + // we can just plain copy the rotation value + uv_return.rotation = uv.rotation; + return uv_return; +} + +// Offsets a set of uv coordinates in either row (u) or column (v) direction +vm_coordinates vm_coord_rowcol_offset( + vm_coordinates uv, + float offset, + bool horizontal_offset = true +) +{ + int index = horizontal_offset ? 0 : 1; + uv.uv[index] += ::math::floor(uv.uv[index ^ 1]) * offset; + return uv; +} + +vm_coordinates vm_coord_grid( + vm_coordinates uv, + float scale = 1.0f +) +{ + float2x2 scal = float2x2(scale, 0., 0., scale); + uv.uv = ::math::frac(uv.uv); + uv.uv -= 0.5f; + uv.uv = scal * uv.uv; + uv.uv = uv.uv + 0.5f; + return uv; +} + +::base::texture_return vm_tex_lookup( + uniform texture_2d tex, + vm_coordinates uv = vm_coord(), + uniform vm_mono_select mono_source = mono_a, + float4 scale = float4(1.0f), + + uniform ::tex::wrap_mode wrap_u = ::tex::wrap_repeat, + uniform ::tex::wrap_mode wrap_v = ::tex::wrap_repeat, + uniform float2 crop_u = float2(0.0, 1.0), + uniform float2 crop_v = float2(0.0, 1.0) +) +{ + float mono; + float4 lookup = ::tex::lookup_float4(tex, uv.uv, wrap_u, wrap_v, crop_u, crop_v) * scale; + switch( mono_source ) { + case mono_r: mono = lookup.x; + break; + case mono_g: mono = lookup.y; + break; + case mono_b: mono = lookup.z; + break; + case mono_a: mono = lookup.w; + break; + case mono_average: mono = ::math::average(float3(lookup.x, lookup.y, lookup.z)); + break; + } + return ::base::texture_return(color(lookup.x, lookup.y, lookup.z), mono); +} + +// *** SET CUTOUT ENUM NAMES *** +export enum cutout_pattern +[[ + ::anno::description("Cutout Pattern."), + ::anno::hidden() +]] +{ + pattern_circle = 0 + [[ ::anno::display_name("Circle")]], + pattern_hexagon = 1 + [[ ::anno::display_name("Hexagon")]], + pattern_line = 2 + [[ ::anno::display_name("Line") ]], + + pattern_square = 3 + [[ ::anno::display_name("Square")]], + pattern_rectangle = 4 + [[ ::anno::display_name("Rectangle")]], + pattern_cross = 5 + [[ ::anno::display_name("Cross")]], + + pattern_rhombus = 6 + [[ ::anno::display_name("Rhombus")]], + pattern_triangle = 7 + [[ ::anno::display_name("Triangle")]], + pattern_star = 8 + [[ ::anno::display_name("Star")]] +}; + +float remap_xy_to_0_1(float input, float x, float y) +{ + return (input - x)/(y - x); +} + +float histogram_scan_big(float input, float width, float position) +{ + return ::math::clamp( + remap_xy_to_0_1(input, + ::math::lerp(-width, 1.0, position), + ::math::lerp(0.0, 1.0 + width, position)), + 0.0, + 1.0); +} + + +::base::texture_coordinate_info vmat_transform( + uniform float2 translation = float2(0.0, 0.0), + uniform float rotation = 0.0, + uniform float2 scaling = float2(1.0, 1.0), + uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw, + uniform int uv_space = 0 +) +{ + float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f; + + float4x4 scale = + float4x4(1.0 /scaling.x, 0. , 0. , 0., + 0. , 1.0 /scaling.y , 0. , 0., + 0. , 0. , 1.0, 0., + translation.x , translation.y , 0.0, 1.); + + float s = ::math::sin(rotation_rad); + float c = ::math::cos(rotation_rad); + float4x4 rotate = + float4x4( c , -s , 0.0 , 0.0, + s , c , 0.0 , 0.0, + 0.0, 0.0 , 1.0 , 0.0, + 0. , 0.0 , 0.0 , 1.); + + return ::base::transform_coordinate(scale*rotate, ::base::coordinate_source(system, uv_space)); +} + +float uint2float(int x) +{ + return float(x & 0x7FFFFFFF) + (x < 0 ? 2147483648.0 : 0.0); +} + +int lowbias32(int x) +{ + x ^= x >>> 16; + x *= 0x7feb352d; + x ^= x >>> 15; + x *= 0x846ca68b; + x ^= x >>> 16; + return x; +} + +float2 rnd22(int2 p) { + float2 ret_val = float2( + uint2float(lowbias32(p[0] + lowbias32(p[1]))) / 4294967296.f, + uint2float(lowbias32(p[0] + 32000 + lowbias32(p[1]))) / 4294967296.f + ); + return ret_val; +} + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + +float2x2 invert_2x2(float2x2 M) +{ + float det = M[0][0]*M[1][1] - M[0][1]*M[1][0]; + //https://www.chilimath.com/lessons/advanced-algebra/inverse-of-a-2x2-matrix/ + return (1.0 / det) * float2x2(M[1][1], -M[0][1], -M[1][0], M[0][0]); +} + +float3 nonrepeat_lookup( + uniform texture_2d texture = texture_2d(), + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5), + float patch_size = 8.0 +) +{ + + float2 uv_in = float2(uvw.position[0], uvw.position[1]) * texture_scale; + float Z = patch_size; // patch scale inside example texture + float CON = 1.0f; + + float3 O = float3(0.f); + float2x2 M0 = float2x2(1.f,0.f, 0.5f, ::math::sqrt(3.f)/2.f); + float2x2 M = invert_2x2(M0); // transform matrix <-> tilted space + + float2 U = uv_in; + float2 V = M * uv_in; //pre-tilted hexa coordinates + int2 I = int2(::math::floor(V)); // hexa-tile id + + // The mean color needs to be determined in Photoshop then to make the + // average color work out, take the float value and calculate the apropriate + // mean value as (value^(1/2.2)) + + float3 m = average_color; + + float3 F = float3(::math::frac(V)[0], ::math::frac(V)[1], 0.f), W; + F[2] = 1.0 - F[0] - F[1]; // local hexa coordinates + + if( F[2] > 0.f ) + + O = (W[0] = F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I))) - m*float(CON)) + + (W[1] = F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0,1)))) - m*float(CON)) + + (W[2] = F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1,0)))) - m*float(CON)); + else + O = (W[0] = -F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1)))) - m*float(CON)) + + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1, 0)))) - m*float(CON)) + + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0, 1)))) - m*float(CON)); + O = m + O/::math::length(W); + O = ::math::clamp( (O), 0.0, 1.0); + + return float3(O); +} + +color endless_texture( + uniform texture_2d texture = texture_2d(), + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 10.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0, + bool gamma_correct_lookup = true +) +{ + return gamma_correct_lookup ? color(srgb2rgb( + nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + )) + ) : color(nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + )); +} + + +export material Zinc_Sheet( + uniform bool infinite_tiling = false [[ + ::anno::description("Enables infinite tiling feature which removes repeating texture patterns. Note that depending on the material this feature changes the appearance of the material slightly."), + ::anno::display_name("Infinite Tiling"), + ::anno::in_group("Appearance", "Main") + ]], + float sheet_brightness = 0.5f [[ + ::anno::display_name("Brightness"), + ::anno::description("Controls the brightness of the material."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness = 0.2f [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float streaks = 0.0f [[ + ::anno::display_name("Streaks Weight"), + ::anno::description("Adds directional streaks that occur as part of the sheet manufacturing process."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float scratch_bump_factor = 0.0f [[ + ::anno::description("Determines the degree of bumpiness."), + ::anno::display_name("Bump Factor Streaks"), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float imperfections_amount = 0.6f [[ + ::anno::description("Balances between a perfectly smooth metal and a surface that has various imperfections."), + ::anno::display_name("Imperfections Amount"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_1 = 0.f [[ + ::anno::display_name("Washed Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_2 = 0.939f [[ + ::anno::display_name("Noisy Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_3 = 0.0 [[ + ::anno::display_name("Splotchy Imperfection Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform bool enable_round_corners = false [[ + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::display_name("Enable Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius = 0.01f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 0.1f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Texture Translate"), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform"), + ::anno::soft_range(0.f, 360.f) + ]], + uniform float2 texture_scale = 1.0f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(0.75f, 0.75f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Zinc - New Clean"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "exterior", "interior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.87467950988f, 0.868943040106f, 0.855089634324f); // Zinc + color grazing_reflectivity = color(0.99942f, 1.f, 1.f); + + bool tmp0 = false; + material_surface tmp1( + ::df::color_custom_curve_layer(normal_reflectivity, grazing_reflectivity, 5.f, color(::math::lerp(0.400000006f, 1.f, sheet_brightness) * ::math::lerp(1.f, ::math::pow(float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1], 2.20000005f), ::math::lerp(0.f, 0.300000012f, streaks))), ::df::weighted_layer(0.0700000003f, ::df::microfacet_ggx_smith_bsdf(0.150000006f, 0.150000006f, color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::microfacet_ggx_smith_bsdf((::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)) * (::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)), (::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)) * (::math::lerp(roughness * 0.5f, (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_1 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_2 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1] + (impurities_weight_1 + impurities_weight_2 + impurities_weight_3 > 0.f ? impurities_weight_3 / (impurities_weight_1 + impurities_weight_2 + impurities_weight_3) : 0.333299994f) * roughness * float3(infinite_tiling ? endless_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.f, float3(0.633000016f, 0.495000005f, 0.542999983f), 2.f, false) : ::base::file_texture(texture_2d("./sheet_metal_multi_rough.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], imperfections_amount) + (float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0] - 0.5f) * (streaks * 0.5f * 0.5f)), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::math::normalize(::math::lerp(::state::normal(), ::base::tangent_space_normal_texture(texture_2d("./sheet_metal_norm.jpg", ::tex::gamma_linear), scratch_bump_factor, false, false, ::base::texture_coordinate_info(::state::texture_coordinate(0), ::state::texture_tangent_u(0), ::state::texture_tangent_v(0)), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 1.f, 0.f), histogram_scan_big(float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], 0.242000014f, 0.850000024f)))), bsdf(), ::math::normalize(::math::lerp(::state::normal(), ::base::tangent_space_normal_texture(texture_2d("./sheet_metal_norm.jpg", ::tex::gamma_linear), scratch_bump_factor, false, false, ::base::texture_coordinate_info(::state::texture_coordinate(0), ::state::texture_tangent_u(0), ::state::texture_tangent_v(0)), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 1.f, 0.f), histogram_scan_big(float3(::base::file_texture(texture_2d("./sheet_metal_R_rough_G_ao_B_streaks.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], 0.242000014f, 0.850000024f)))), + material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + material_surface tmp2 = material_surface(scattering: bsdf(), emission: material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance)); + color tmp3 = color(1.f, 1.f, 1.f); + material_volume tmp4 = material_volume(scattering: vdf(), absorption_coefficient: color(0.f, 0.f, 0.f), scattering_coefficient: color(0.f, 0.f, 0.f)); + material_geometry tmp5( + float3(0.f), + 1.f, + enable_round_corners ? ::state::rounded_corner_normal(roundcorner_radius, across_materials, 1.f) : ::state::normal()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + +export material Zinc_Sheet_Punched( + // Cutout parameters + + uniform cutout_pattern shape_select = pattern_circle //select atlas tile here + [[ + ::anno::description("Select a cutout shape."), + ::anno::display_name("Cutout Shape"), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(0) + ]], + float2 punching_grid_size = float2(.5f, .5f) + [[ + ::anno::description("Scales the size of the punching grid."), + ::anno::display_name("Punching Grid Size"), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(1) + ]], + float cutout_size = .92f + [[ + ::anno::description("Scales the size of the cutout pattern independently from the base material."), + ::anno::display_name("Cutout Size"), + ::anno::hard_range(0.f, 1.2f), + ::anno::soft_range(0.f, 1.0f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(2) + ]], + float cutout_roundness = .4f + [[ + ::anno::description("At low values it makes the cutouts sharper. Higher values give the shapes a more rounded look."), + ::anno::display_name("Cutout Roundness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(3) + ]], + float cutout_bevel_width = 0.5f + [[ + ::anno::description("Adjusts the width of the bevel transition."), + ::anno::display_name("Cutout Bevel Width"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(4) + ]], + float cutout_bump_strength = .8f + [[ + ::anno::description("Sets the strength of the bevelled normal around the cutout."), + ::anno::display_name("Cutout Bevel Strength"), + ::anno::soft_range(0.0f, 1.0f), + ::anno::hard_range(0.0f, 2.0f), + ::anno::in_group("Appearance", "Cutout"), + ::anno::ui_order(5) + ]], +// Grid Layout parameters + bool hexagonal_grid = true + [[ + ::anno::description("When enabled, the punching will occur on a hexagonal grid, otherwise a square grid."), + ::anno::display_name("Enable Hexagonal Grid"), + ::anno::in_group("Appearance", "Cutout Layout"), + ::anno::ui_order(6) + ]], + float square_grid_offset = 0.0f + [[ + ::anno::description("Offsets each row of the grid by a certain amount."), + ::anno::display_name("Square Grid Offset"), + ::anno::in_group("Appearance", "Cutout Layout"), + ::anno::enable_if("hexagonal_grid==false"), + ::anno::ui_order(7) + ]], + bool horizontal_offset = true + [[ + ::anno::description("Choose whether to offset either in row or column direction."), + ::anno::display_name("Horizontal Offset"), + ::anno::in_group("Appearance", "Cutout Layout"), + ::anno::enable_if("hexagonal_grid==false"), + ::anno::ui_order(8) + ]], + + + +// Zinc Sheet parameters + uniform bool infinite_tiling = false [[ + ::anno::description("Enables infinite tiling feature which removes repeating texture patterns. Note that depending on the material this feature changes the appearance of the material slightly."), + ::anno::display_name("Infinite Tiling"), + ::anno::in_group("Appearance", "Main") + ]], + float sheet_brightness = 0.5f [[ + ::anno::display_name("Brightness"), + ::anno::description("Controls the brightness of the material."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness = 0.2f [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float streaks = 0.0f [[ + ::anno::display_name("Streaks Weight"), + ::anno::description("Adds directional streaks that occur as part of the sheet manufacturing process."), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float scratch_bump_factor = 0.0f [[ + ::anno::description("Determines the degree of bumpiness."), + ::anno::display_name("Bump Factor Streaks"), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f) + ]], + float imperfections_amount = 0.6f [[ + ::anno::description("Balances between a perfectly smooth metal and a surface that has various imperfections."), + ::anno::display_name("Imperfections Amount"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_1 = 0.f [[ + ::anno::display_name("Washed Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_2 = 0.939f [[ + ::anno::display_name("Noisy Imperfections Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float impurities_weight_3 = 0.0 [[ + ::anno::display_name("Splotchy Imperfection Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Texture Translate"), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform"), + ::anno::soft_range(0.f, 360.f) + ]], + uniform float2 texture_scale = 1.0f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(0.75f, 0.75f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool enable_round_corners = false [[ + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::display_name("Enable Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius = 0.01f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 0.1f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Zinc Sheet - Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Punched.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "decorative", "interior", "exterior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "sanitary", "design", "infinite tiling", "punched", "punching", "circular", "gray")) +]] = let +{ + material base_mat = Zinc_Sheet( + infinite_tiling: infinite_tiling, + sheet_brightness: sheet_brightness, + roughness: roughness, + streaks: streaks, + scratch_bump_factor: scratch_bump_factor, + imperfections_amount: imperfections_amount, + impurities_weight_1: impurities_weight_1, + impurities_weight_2: impurities_weight_2, + impurities_weight_3: impurities_weight_3, + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + enable_round_corners: enable_round_corners, + roundcorner_radius: roundcorner_radius, + across_materials: across_materials + ); + texture_2d punching_cutout = texture_2d("./atlas_02_norm_dist.png", ::tex::gamma_linear); + + // remap range of slider to avoid artifacts in the bevelling + float2 punching_scale = texture_scale * 0.01f * punching_grid_size; + float cutout_roundness_ = cutout_roundness*0.6f+0.4f; + float cutout_size_lin = (1.0f/cutout_size); + float cutout_bevel_width_ = 0.1 + cutout_bevel_width * 0.9f; + + vm_coordinates uv = vm_coord( + translation: texture_translate, + rotation: texture_rotate, + scaling: punching_scale, + uv_space: uv_space_index + ); + + vm_coordinates punching_uv = hexagonal_grid ? vm_coord_hex( + uv: uv, + scale: cutout_roundness_ * cutout_size_lin + ) : vm_coord_grid( + uv: vm_coord_rowcol_offset( + uv: uv, + offset: square_grid_offset, + horizontal_offset: horizontal_offset + ), + scale: cutout_roundness_ * cutout_size_lin + ); + // select the correct subtile from the atlas + float4 crop = tile_select(shape_select); + + ::base::texture_return lookup = vm_tex_lookup( + tex: punching_cutout, + uv: punching_uv, + mono_source: mono_a, + scale: float4(1.0f), + crop_u: float2(crop.x, crop.y), + crop_v: float2(crop.z, crop.w), + wrap_u: ::tex::wrap_clamp, + wrap_v: ::tex::wrap_clamp + ); + + float low = (1.0 - cutout_roundness_); + float high = (cutout_size_lin * (cutout_bevel_width_ * 0.2f) * cutout_roundness_) + (1.0 - cutout_roundness_); + // remap x...y to (clamped) 0...1 + float x = ::math::clamp((lookup.mono - low)/(high - low), 0.0, 1.0); + // spherical falloff + float falloff=::math::sqrt(1.0-x*x); + // masking falloff as the center of the cutout is flat + float masked_falloff=falloff<=0.0?1.0:falloff; + + // where base material is still there, use the value of the base material + float cutout= ::math::min(falloff<=0.0?0.0:1.0, base_mat.geometry.cutout_opacity); + + // bring in -.5 ... +.5 range and lerp between lookup and flat normal + float3 remap_norm = ::math::lerp(float3(lookup.tint), float3(0.5, 0.5, 1.0), masked_falloff) - float3(0.5); + float3 t_norm = ::math::normalize(remap_norm * float3(cutout_bump_strength, cutout_bump_strength, 1.0)); + + float3 rotfix_norm = float3(::math::cos(punching_uv.rotation) * t_norm.x - ::math::sin(punching_uv.rotation) * t_norm.y, + ::math::sin(punching_uv.rotation) * t_norm.x + ::math::cos(punching_uv.rotation) * t_norm.y, + t_norm.z); + + float3 normal = ::state::texture_tangent_u(punching_uv.uv_space_index) * rotfix_norm.x + + ::state::texture_tangent_v(punching_uv.uv_space_index) * rotfix_norm.y + + ::state::normal() * rotfix_norm.z; + + float3 final_normal = ::base::blend_normals( + base_normal: normal, + base_normal_weight: 1.0f, + detail_normal: base_mat.geometry.normal, + detail_normal_weight: 1.0f + ); + +} in material( + surface: material_surface( + scattering: base_mat.surface.scattering + ), + volume: base_mat.volume, + ior: base_mat.ior, + thin_walled: true, + geometry: material_geometry( + displacement: base_mat.geometry.displacement, + normal: final_normal, + cutout_opacity: cutout + ) +); + + + +export material Zinc_Sheet_Soft_Splotches(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Zinc - Soft Splotches"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Soft_Splotches.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "exterior", "interior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral", "gray")) +]] += Zinc_Sheet( + infinite_tiling: false, + sheet_brightness: 0.5f, + roughness: 0.3f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.75f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.01f, + impurities_weight_3: 0.98f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// ------------------------ Zinc Sheet Presets ------------------------ + +export material Zinc_Sheet_Matte_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Zinc - Matte Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Matte_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "exterior", "interior", "imperfections", "new", "matte", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]]= Zinc_Sheet( + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.75f, + streaks: 0.0f, + scratch_bump_factor: 0.0f, + imperfections_amount: 0.265f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.43f, + impurities_weight_3: 0.0f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + +export material Zinc_Sheet_Glossy_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Zinc - Glossy Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Glossy_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "exterior", "interior", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] += Zinc_Sheet( + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.3f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 0.1f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.89f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + +export material Zinc_Sheet_Splotchy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Zinc - Splotchy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Splotchy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "exterior", "interior", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]]= Zinc_Sheet( + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.2f, + imperfections_amount: 0.26f, + impurities_weight_1: 1.0f, + impurities_weight_2: 0.76f, + impurities_weight_3: 0.13f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + +export material Zinc_Sheet_Glossy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Zinc - Glossy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Glossy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "exterior", "interior", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] += Zinc_Sheet( + infinite_tiling: false, + sheet_brightness: 0.65f, + roughness: 0.25f, + streaks: 0.8f, + scratch_bump_factor: 0.88f, + imperfections_amount: 0.86f, + impurities_weight_1: 1.0f, + impurities_weight_2: 0.75f, + impurities_weight_3: 0.125f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// ------------------------ Punched Zinc Sheet Presets ------------------------ + +export material Zinc_Sheet_Punched_Small_Circular(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Zinc Sheet - Small Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Punched_Small_Circular.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "decorative", "interior", "exterior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "sanitary", "design", "infinite tiling", "punched", "punching", "circular", "gray")) +]] += Zinc_Sheet_Punched( + // Punching Parameters + shape_select: pattern_circle, + punching_grid_size: 1.0f, + cutout_size: 0.5f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 0.8f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 1.0f, + impurities_weight_1: 0.75f, + impurities_weight_2: 1.0f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Zinc_Sheet_Punched_Hexagonal(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Zinc Sheet - Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Punched_Hexagonal.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "decorative", "interior", "exterior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "sanitary", "design", "infinite tiling", "punched", "punching", "hexagonal", "gray")) +]] += Zinc_Sheet_Punched( + // Punching Parameters + shape_select: pattern_hexagon, + punching_grid_size: 1.5f, + cutout_size: .95f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 1.0f, + impurities_weight_1: 0.75f, + impurities_weight_2: 1.0f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Zinc_Sheet_Punched_Hexagonal_Small(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Zinc Sheet - Small Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Punched_Hexagonal_Small.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "decorative", "interior", "exterior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "sanitary", "design", "infinite tiling", "punched", "punching", "hexagonal", "gray")) +]] += Zinc_Sheet_Punched( + // Punching Parameters + shape_select: pattern_hexagon, + punching_grid_size: float2(.75f), + cutout_size: .58f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.3f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 1.0f, + impurities_weight_1: 0.75f, + impurities_weight_2: 1.0f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Zinc_Sheet_Punched_Square(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Zinc Sheet - Square Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Punched_Square.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "decorative", "interior", "exterior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "sanitary", "design", "infinite tiling", "punched", "punching", "square", "gray")) +]] += Zinc_Sheet_Punched( + // Punching Parameters + shape_select: pattern_square, + punching_grid_size: 1.2f, + cutout_size: 0.56f, + cutout_roundness: 0.1f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 1.5f, + hexagonal_grid: false, + square_grid_offset: 0.5f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 1.0f, + impurities_weight_1: 0.75f, + impurities_weight_2: 1.0f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Zinc_Sheet_Punched_Line(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Zinc Sheet - Line Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Punched_Line.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "decorative", "interior", "exterior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "sanitary", "design", "infinite tiling", "punched", "punching", "line", "gray")) +]] += Zinc_Sheet_Punched( + // Punching Parameters + shape_select: pattern_line, + punching_grid_size: 1.3f, + cutout_size: 0.59f, + cutout_roundness: 0.4f, + cutout_bevel_width: 0.3f, + cutout_bump_strength: 1.5f, + hexagonal_grid: false, + square_grid_offset: 0.3333f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 1.0f, + impurities_weight_1: 0.75f, + impurities_weight_2: 1.0f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Zinc_Sheet_Punched_Cross(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Zinc Sheet - Cross Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Punched_Cross.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "decorative", "interior", "exterior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "sanitary", "design", "infinite tiling", "punched", "punching", "cross", "gray")) +]] += Zinc_Sheet_Punched( + // Punching Parameters + shape_select: pattern_cross, + punching_grid_size: 2.0f, + cutout_size: 0.59f, + cutout_roundness: 0.1f, + cutout_bevel_width: 0.44f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 1.0f, + impurities_weight_1: 0.75f, + impurities_weight_2: 1.0f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Zinc_Sheet_Punched_Rhombus(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Zinc Sheet - Rhombus Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Punched_Rhombus.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "decorative", "interior", "exterior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "sanitary", "design", "infinite tiling", "punched", "punching", "rhombus", "gray")) +]] += Zinc_Sheet_Punched( + // Punching Parameters + shape_select: pattern_rhombus, + punching_grid_size: 1.4f, + cutout_size: 1.0f, + cutout_roundness: 0.8f, + cutout_bevel_width: 0.5f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 1.0f, + impurities_weight_1: 0.75f, + impurities_weight_2: 1.0f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Zinc_Sheet_Punched_Triangle(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Zinc Sheet - Triangle Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Punched_Triangle.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "decorative", "interior", "exterior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "sanitary", "design", "infinite tiling", "punched", "punching", "triangle", "gray")) +]] += Zinc_Sheet_Punched( + // Punching Parameters + shape_select: pattern_triangle, + punching_grid_size: 1.3f, + cutout_size: 1.08f, + cutout_roundness: 1.0f, + cutout_bevel_width: 1.0f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 1.0f, + impurities_weight_1: 0.75f, + impurities_weight_2: 1.0f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Zinc_Sheet_Punched_Star(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Zinc Sheet - Star Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Zinc_Sheet.Zinc_Sheet_Punched_Star.png"), + ::anno::key_words(string[]("metal", "sheet", "zinc", "decorative", "interior", "exterior", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "sanitary", "design", "infinite tiling", "punched", "punching", "star", "gray")) +]] += Zinc_Sheet_Punched( + // Punching Parameters + shape_select: pattern_star, + punching_grid_size: 1.5f, + cutout_size: 0.68f, + cutout_roundness: 0.5f, + cutout_bevel_width: 0.44f, + cutout_bump_strength: 1.5f, + hexagonal_grid: true, + square_grid_offset: 0.0f, + horizontal_offset: true, + + // Material Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.6f, + streaks: 0.1f, + scratch_bump_factor: 0.15f, + imperfections_amount: 1.0f, + impurities_weight_1: 0.75f, + impurities_weight_2: 1.0f, + impurities_weight_3: 0.86f, + enable_round_corners: false, + roundcorner_radius: 0.01f, + across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); \ No newline at end of file diff --git a/Material/material_0562/Wood_Tiles_Beech.mdl b/Material/material_0562/Wood_Tiles_Beech.mdl new file mode 100644 index 0000000000000000000000000000000000000000..91024bf45e6d1f99359b4f82dc92ccd135b17578 --- /dev/null +++ b/Material/material_0562/Wood_Tiles_Beech.mdl @@ -0,0 +1,2877 @@ +/****************************************************************************** + * Copyright 2024 NVIDIA Corporation. All rights reserved. + ****************************************************************************** + +Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge, +to any person obtaining a copy of the sample definition code that uses our +Material Definition Language (the "MDL Materials"), to reproduce and distribute +the MDL Materials, including without limitation the rights to use, copy, merge, +publish, distribute, and sell modified and unmodified copies of the MDL +Materials, and to permit persons to whom the MDL Materials is furnished to do +so, in all cases solely for use with NVIDIA's Material Definition Language, +subject to the following further conditions: + +1. The above copyright notices, this list of conditions, and the disclaimer +that follows shall be retained in all copies of one or more of the MDL +Materials, including in any software with which the MDL Materials are bundled, +redistributed, and/or sold, and included either as stand-alone text files, +human-readable headers or in the appropriate machine-readable metadata fields +within text or binary files as long as those fields can be easily viewed by the +user, as applicable. +2. The name of NVIDIA shall not be used to promote, endorse or advertise any +Modified Version without specific prior written permission, except a) to comply + with the notice requirements otherwise contained herein; or b) to acknowledge +the contribution(s) of NVIDIA. + +THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, +INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE +THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS. +*/ + + +mdl 1.5; + +import ::anno::*; +import ::base::*; +import ::df::*; +import ::math::*; +import ::state::*; +import ::tex::*; +import ::nvidia::core_definitions::blend_colors; +import ::nvidia::core_definitions::dimension; + + +const string COPYRIGHT = +" Copyright 2024 NVIDIA Corporation. All rights reserved.\n" +" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n" +" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n" +" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n" +" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n" +" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n" +" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n" +" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n" +" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n" +" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n"; + +const string DESCRIPTION = "A wooden tile material with adjustments to produce a rich variety of wooden floor styles ranging from new to worn"; + + +// ---------------------------------------------------------------------------------------------------------------------- + + +float histogram_range(float input, float range = 1.0f, float position = 0.5f) +{ + float low = ::math::clamp(1.0 - ::math::min(((1.0 - position) + range * 0.5), (1.0 - position) * 2), 0.0, 1.0); + float high = ::math::clamp(::math::min((position + range * 0.5 ), position * 2.0), 0.0, 1.0); + return ::math::lerp(low, high, input); +} + +float remap_xy_to_0_1(float input, float x, float y) +{ + return (input - x)/(y - x); +} + +float histogram_scan_big(float input, float width, float position) +{ + return ::math::clamp( + remap_xy_to_0_1(input, + ::math::lerp(-width, 1.0, position), + ::math::lerp(0.0, 1.0 + width, position)), + 0.0, + 1.0); +} + +// ********** Randomization functions -I- ********** + +int random(int seed = 0, int modulus = 65536, int multiplier = 1664525, int increment = 1013904223) +{ + return (multiplier * seed + increment) % modulus; +} + + +// Returns the normal n in tangent space, given n is in internal space. +float3 transform_internal_to_tangent(float3 n) +[[ + ::anno::hidden() +]] +{ + return + n.x* float3(::state::texture_tangent_u(0).x,::state::texture_tangent_v(0).x,::state::normal().x)+ + n.y* float3(::state::texture_tangent_u(0).y,::state::texture_tangent_v(0).y,::state::normal().y)+ + n.z* float3(::state::texture_tangent_u(0).z,::state::texture_tangent_v(0).z,::state::normal().z); +} + +// Returns the normal n in internal space, given n is in tangent space. +float3 transform_tangent_to_internal(float3 n) +[[ + ::anno::hidden() +]] +{ + return ::state::texture_tangent_u(0) * n.x + + ::state::texture_tangent_v(0) * n.y + + ::state::normal() * n.z ; +} + + + +// Returns a normal by adding a detail normal to a global normal. +// If detail blending of two normal maps gives visual artifacts, check if texture_2d are loaded +// correctly with ::tex::gamma_linear +float3 add_detail_normal(float3 nd = ::state::normal(), float3 n = ::state::normal()) +{ + // http://blog.selfshadow.com/publications/blending-in-detail/ + float3 n_t = transform_internal_to_tangent(n); + float3 nd_t = transform_internal_to_tangent(nd); + + n_t=n_t + float3(0.,0.,1.); + nd_t = nd_t * float3(-1.,-1.,1.); + + n = n_t*::math::dot(n_t, nd_t)/n_t.z - nd_t; + return ::math::normalize(transform_tangent_to_internal(n)); +} + +::base::texture_coordinate_info transform_coordinate_2( + float4x4 transform + [[ ::anno::description("A transformation to be applied to the source coordinates. rotation_translation_scale() is a suggested means to compute the transformation matrix.") ]], + ::base::texture_coordinate_info coordinate = ::base::texture_coordinate_info() + [[ ::anno::description("Coordinate, typically sourced from coordinate_source or coordinate_projection.") ]] +) [[ + ::anno::description("Transform a texture coordinate by a matrix.") , + ::anno::noinline() + ]] +{ + // Version 2 + float4 r_position = transform * float4(coordinate.position.x,coordinate.position.y,coordinate.position.z,1); + + float4 u = transform[0]; + float3 ru = ::math::normalize(float3(u.x,u.y,u.z)); + float cos = ru.x; + float sin = -ru.y; + + return ::base::texture_coordinate_info( + float3(r_position.x,r_position.y,r_position.z), + ::math::normalize(cos * coordinate.tangent_u - sin * coordinate.tangent_v), + ::math::normalize(cos * coordinate.tangent_v + sin * coordinate.tangent_u)); +} + + +// Takes the standard input that every material has. It combines a couple of +// functions in one convenience function. +::base::texture_coordinate_info vmat_transform( + float2 translation = float2(0.0, 0.0), + float rotation = 0.0, // rotation in degrees + float2 scaling = float2(1.0, 1.0), + uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw, + uniform int uv_space = 0 +) +{ + float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f; + float4x4 scale = + float4x4(1.0 /scaling.x, 0. , 0. , 0., + 0. , 1.0 /scaling.y , 0. , 0., + 0. , 0. , 1.0, 0., + translation.x , translation.y , 0.0, 1.); + + float s = ::math::sin(rotation_rad); + float c = ::math::cos(rotation_rad); + float4x4 rotate = + float4x4( c , -s , 0.0 , 0.0, + s , c , 0.0 , 0.0, + 0.0, 0.0 , 1.0 , 0.0, + 0. , 0.0 , 0.0 , 1.); + + return transform_coordinate_2(scale*rotate, ::base::coordinate_source(system, uv_space)); +} + + +// Returns 4 random IDs for a given pattern +// TODO: Describe how the whole things exactly works +float4 rand_tile_id( + ::base::texture_coordinate_info uvw, + ::base::texture_return id_offset_map // map containing the ID in r channel + //and the cell offset in g channel. + ) +[[ + ::anno::noinline() +]] +{ + float4 ret_val; + int offset_x, offset_y; + + + float3 id_offset_map_2 = float3(id_offset_map.tint); + float offset_id = id_offset_map_2.y; + int rand_id = int(id_offset_map_2.x * 254.f); // the more logical value of 255 causes sometimes rendering artifacts + // with the random number generator. Setting it to 254 apparently fixes it + + // Offset of overlapping tiles stored in G-channel + // [0 - 0.25[ : ( 0/ 0) Grayscale value: 0.1 + // [0.25 - 0.5 [ : (-1/ 0) Grayscale value: 0.37 + // [0.5 - 0.75[ : (-1/-1) Grayscale value: 0.62 + // [0.75 - 1.0 [ : ( 0/-1) Grayscale value: 0.87 + + offset_x = offset_id < 0.25f ? 0 : (offset_id < .75f) ? 1 : 0; + offset_y = offset_id < 0.5 ? 0 : 1; + + int2 cell_id = int2(int(::math::floor(uvw.position.x) - offset_x), int(::math::floor(uvw.position.y) - offset_y)); + + /* // ORIGINAL + int rand_val_1 = triple32(rand_id + triple32(cell_id.x + triple32(cell_id.y))); + int rand_val_2 = triple32(rand_val_1); + int rand_val_3 = triple32(rand_val_2); + int rand_val_4 = triple32(rand_val_3); + + ret_val = float4(uint2float(rand_val_1), + uint2float(rand_val_2), + uint2float(rand_val_3), + uint2float(rand_val_4)); + + return float4(ret_val/4294967296.f); + */ + + /* Simplified Version */ + int rand_val_1 = random(rand_id + random(cell_id.x + random(cell_id.y))); + int rand_val_2 = random(rand_val_1); + int rand_val_3 = random(rand_val_2); + int rand_val_4 = random(rand_val_3); + + ret_val = float4(rand_val_1, rand_val_2, rand_val_3, rand_val_4); + + return float4(ret_val/65535.0f); +} + + +// ****************************************************************************************************** + +export material Wood_Tiles_Beech( + color wood_color = color(0.5f) [[ + ::anno::display_name("Wood Color"), + ::anno::description("Applies an overlay color to tint the wood. The color is used using the 'overlay' mode as known " + "from paint programs. A gray value of 0.5 has no effect, brighter values brighten it while darker colors will have a darkening effect."), + ::anno::in_group("Appearance") + ]], + float age_dirt = 0.3f [[ + ::anno::display_name("Age Dirt"), + ::anno::description("Adds dark dirt spots on top of the surface to create the appearance of a somewhat aged surface."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float wood_bump_strength = 0.05f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Floor Brightness"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.1f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::description("Randomly darkens the tiles of the floor."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.03f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = float2(.5f) [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Tiles") + ]], + float wood_scale_variation = 0.f [[ + ::anno::description("Adds random variation to size of the wood in each tile."), + ::anno::display_name("Wood Scale Variation"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.f, 2.f) + ]], + + + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.1f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Gaps Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.04f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.25f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.4f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]], + +// WOOD Highlights (Not accessible to regular users) + uniform bool preview_wood_highlights = false + [[ + ::anno::display_name("Preview Wood Specular"), + ::anno::description("Enables previewing of the wood specular highlights for tweaking."), + ::anno::in_group("Advanced", "Wood Highlight") + ]], // just previews the highlights of the wood material + float isotropic_roughness = 0.194f // The average roughness value of the isotropic highlight. When roughness variation is applied, the variation will go above and below those values.") + [[ + ::anno::display_name("Isotropic Roughness"), + ::anno::description("Sets the roughness of the isotropic component of the wood reflection."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float isotropic_roughness_range = 0.648f // Adjusts the range of variation being applied to the isotropic highlight, a value of zero has no effect at all whereas 1 produces the most variation") + [[ + ::anno::display_name("Isotropic Roughness Range"), + ::anno::description("Sets the degree roughness variation around the isotropic highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float isotropic_specular_brightness = 0.546f // Sets how strong the isotropic specular highlight appears + [[ + ::anno::display_name("Isotropic Highlight Brightness"), + ::anno::description("Sets the brightness of the isotropic wood highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float wood_specular_level = 0.880f // Adjusts the specular level (PBR Style) + [[ + ::anno::display_name("Wood Specular Level"), + ::anno::description("Adjusts the falloff of the wood highlights."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float aniso_attenuation = 0.519f //Attenuates the the anisotropic highlight using a texture. Use the preview for exclusively previewing the wood hightligghts for properly adjusting this term" + [[ + ::anno::display_name("Anisotropic Attenuation"), + ::anno::description("Breaks up the reflection of the anisotropic highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float aniso_bsdf_width = 0.306f //Controls the width of the anisotropic highlight" + [[ + ::anno::display_name("Anisotropic Width"), + ::anno::description("Adjusts the width of the anisotropic wood highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float aniso_bsdf_height = 0.407f //Controls the height of the anisotropic highlight" + [[ + ::anno::display_name("Anisotropic Height"), + ::anno::description("Adjusts the height of the anisotropic highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float anisotropic_isotropic_balance = 0.444f // Balances the Anisotropic vs. the isotropic wood highlight" + [[ + ::anno::display_name("Anisotropic - Isotropic Balance"), + ::anno::description("Blends between the contribution of isotropic and anisotropic highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + +// TEXTURES (Not accessible to regular users) + uniform texture_2d tex_srgb_wood_color = texture_2d("./beech_diff.jpg", ::tex::gamma_srgb) // Diffuse + [[ + ::anno::display_name("Diffuse Wood Texture"), + ::anno::description("The diffuse wood texture used to cover the tiles (srgb)."), + ::anno::in_group("Advanced", "Textures") + ]], + uniform texture_2d tex_lin_wood_rough_detail = texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear) // Anisotropic Roughness AKA "Rough Detail" + [[ + ::anno::display_name("Anisotropic Variation Texture"), + ::anno::description("Texture to add variation to the anisotropic reflections of the wood (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + uniform texture_2d tex_lin_wood_rough_grain = texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear) // Isotropic Roughness AKA "Rough Grain" + [[ + ::anno::display_name("Isotropic Variation Texture"), + ::anno::description("Texture to add variation to the isotropic reflections of the wood (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + uniform texture_2d tex_lin_wood_detail_norm = texture_2d("./beech_norm.jpg", ::tex::gamma_linear) // Wood detail Normal - Grain & Structure + [[ + ::anno::display_name("Wood Normal Texture"), + ::anno::description("Tangent Space Normal texture for defining the bumpiness of the wood."), + ::anno::in_group("Advanced", "Textures") + ]], + uniform texture_2d tex_lin_tiles_id_offset_rotation = texture_2d("./brickbond_R_id_G_offs_B_rotation.png", ::tex::gamma_linear) // Tiles ID, Offset & Rotation + [[ + ::anno::display_name("Tiles ID - Offset - Rotation Texture"), + ::anno::description("Texture that holds information about the wood tiles needed to create the wood tiles effect. R - Tiles ID, G - Tiles offset, B - Tiles Rotation (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + uniform texture_2d tex_lin_tiles_edgewear_gaps_gapsrough= texture_2d("./brickbond_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear) // Edgewear, Gaps(AO), Gaps Roughnesss + [[ + ::anno::display_name("Edgewear - Gaps - Gap Rough"), + ::anno::description("Texture that holds maps for the edgewear roughness, the tile gaps and the gaps roughness (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + uniform texture_2d tex_lin_tiles_normal = texture_2d("./brickbond_norm.png", ::tex::gamma_linear) // Tiles Normal (Grout and Bend) + [[ + ::anno::display_name("Tiles Normal Texture"), + ::anno::description("Texture that holds the normal map for the tiles (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + uniform texture_2d tex_lin_tiles_rough_dents_spots = texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear) // Tiles Roughness, Dents and Spots + [[ + ::anno::display_name("Tiles Rough - Dents - Spots"), + ::anno::description("Texture that contains maps for the tiles roughness, dents and spots which is a roughness effect applied to the wood coating layer (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + uniform texture_2d tex_lin_tiles_orange_peel = texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) // Tiles orange Peel + [[ + ::anno::display_name("Tiles Orange Peel"), + ::anno::description("Tangent Space Normal texture for the orange peel which is applied to the coating of the tiles."), + ::anno::in_group("Advanced", "Textures") + ]] + +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Brick Bond Master"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "brick bond", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech.Wood_Tiles_Beech.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./beech_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./beech_norm.jpg", ::tex::gamma_linear); // Wood detail Normal - Grain & Structure + texture_2d tex_lin_tiles_id_offset_rotation = texture_2d("./brickbond_R_id_G_offs_B_rotation.png", ::tex::gamma_linear); // Tiles ID, Offset & Rotation + texture_2d tex_lin_tiles_edgewear_gaps_gapsrough= texture_2d("./brickbond_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear); // Edgewear, Gaps(AO), Gaps Roughnesss + texture_2d tex_lin_tiles_normal = texture_2d("./brickbond_norm.png", ::tex::gamma_linear); // Tiles Normal (Grout and Bend) + texture_2d tex_lin_tiles_rough_dents_spots = texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear); // Tiles Roughness, Dents and Spots + texture_2d tex_lin_tiles_orange_peel = texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear); // Tiles orange Peel +*/ +/* + // Wood Highlight tweaks + bool preview_wood_highlights = false; // just previews the highlights of the wood material + float wood_specular_level = 1.f; // Adjusts the specular level (PBR Style) + float isotropic_specular_brightness = 1.0f; // Sets how strong the isotropic specular highlight appears + float aniso_attenuation = 0.5f; //Attenuates the the anisotropic highlight using a texture. Use the preview for exclusively previewing the wood hightligghts for properly adjusting this term" + float anisotropic_isotropic_balance = 0.467f; // Balances the Anisotropic vs. the isotropic wood highlight" + float isotropic_roughness_range = 0.66f; // Adjusts the range of variation being applied to the isotropic highlight, a value of zero has no effect at all whereas 1 produces the most variation") + float isotropic_roughness = 0.34f; // The average roughness value of the isotropic highlight. When roughness variation is applied, the variation will go above and below those values."), + + float aniso_bsdf_width = 0.36f; //Controls the width of the anisotropic highlight" + float aniso_bsdf_height = 0.50f; //Controls the height of the anisotropic highlight"), +*/ + + // Prepare the UV coordinates for regular texture lookups + ::base::texture_coordinate_info base_uvw = vmat_transform( + translation:texture_translate, + rotation: texture_rotate, + scaling: texture_scale, + system: ::base::texture_coordinate_uvw, + uv_space: uv_space_index + ); + + + // Random tile transform + // R: tile_id + // G: tile_offset + // B: tile_rotation + + ::base::texture_return rand_id_offset_lookup = ::base::file_texture( + texture: tex_lin_tiles_id_offset_rotation, + uvw: base_uvw, + mono_source: ::base::mono_alpha + ); + + + float4 rand_vals = rand_tile_id( + uvw: base_uvw, + id_offset_map: rand_id_offset_lookup + ); + + float2 rand_translation = float2(rand_vals.x, rand_vals.y); + float rand_rotation = (float3(rand_id_offset_lookup.tint).z + (rand_vals.z - 0.5) * wood_random_rotation) * 360; + float2 rand_scale = float2(wood_scale/(1.0 - wood_scale_variation * 0.5 * rand_vals.x)) * texture_scale; + +// *** TILE UV *** - The randomized UV lookup for the tiles + ::base::texture_coordinate_info tile_uvw = vmat_transform( + translation:rand_translation, + rotation: rand_rotation, + scaling: rand_scale, + system: ::base::texture_coordinate_uvw, + uv_space: uv_space_index + ); + + + // Tiling Lookups and compositing + // R: Edgewear + // G: Gaps + // B: Gaps Damage Roughness + float3 egdewear_gaps_gapsrough_lookup = float3( ::base::file_texture( + texture: tex_lin_tiles_edgewear_gaps_gapsrough, + uvw: base_uvw, + mono_source: ::base::mono_alpha + ).tint); + + // R: Coat Base Roughness (Footsteps, Grain, Wipe) + // G: Dents (Dirt/Ao) + // B: Spots (Liquid-alike) + float3 rough_dents_spots_lookup = float3( ::base::file_texture( + texture: tex_lin_tiles_rough_dents_spots, + uvw: base_uvw, + mono_source: ::base::mono_alpha + ).tint); + + float dirt_and_spots_amount_remap = dirt_and_spots_amount * 0.5; + + float coat_roughness = egdewear_gaps_gapsrough_lookup.x * edgewear_roughness_amount + // edgewear + egdewear_gaps_gapsrough_lookup.z * dirt_and_spots_amount_remap + // Gaps Damage + histogram_range(rough_dents_spots_lookup.x, base_roughness_range, tiles_base_roughness) + // base roughness + rough_dents_spots_lookup.z * dirt_and_spots_amount + // Spots (rough) + (1.0 - rough_dents_spots_lookup.y) * dirt_and_spots_amount; // Dents + + float coat_roughness_squared = coat_roughness*coat_roughness; // roughness squared + + bsdf coating_bsdf = ::df::microfacet_ggx_smith_bsdf( + roughness_u: coat_roughness_squared, + roughness_v: coat_roughness_squared, + tint: color(1.0f), + mode: ::df::scatter_reflect + ); + +// ******** NORMALS ******** + + // Tiles normal + float3 tiles_normal = ::base::tangent_space_normal_texture( + texture: tex_lin_tiles_normal, + factor: tiles_bump_strength, + uvw: base_uvw + ); + + float3 wood_detail_normal = ::base::tangent_space_normal_texture( + texture: tex_lin_wood_detail_norm, + factor: wood_bump_strength, + uvw: tile_uvw + ); + + float3 orange_peel_normal = ::base::tangent_space_normal_texture( + texture: tex_lin_tiles_orange_peel, + factor: tiles_orange_peel_bump_factor * 0.1f, + uvw: base_uvw + ); + + // Randomized Tiles normals - This needs to be probably rotated with the normal of the uv-tiles + float slope_amount = 0.07 * tiles_random_slope_orientation; + float3 slope = ::math::normalize( + ::state::texture_tangent_u(uv_space_index) * (rand_vals.y - 0.5) * slope_amount + + ::state::texture_tangent_v(uv_space_index) * (rand_vals.z - 0.5) * slope_amount + + ::state::normal() * ((1.0f - slope_amount) + 1.0f) + ); + + float3 tiles_slope_normal = add_detail_normal( + n: slope, + nd: tiles_normal + ); + + float3 tiles_slope_detail_normal = add_detail_normal( + n: tiles_slope_normal, + nd: wood_detail_normal + ); + + float3 normal_final = add_detail_normal( + n: tiles_slope_detail_normal, + nd: orange_peel_normal + ); + +// ******** Anisotropic Highlight ******** + // Lookup for anisotropic brightness variation + ::base::texture_coordinate_info aniso_brightnessvar_lookup_uvw = vmat_transform( + translation: texture_translate, + rotation: texture_rotate, + scaling: texture_scale * 0.6, + system: ::base::texture_coordinate_uvw + ); + + ::base::texture_return aniso_brightnessvar_lookup = ::base::file_texture( + texture: tex_lin_wood_rough_detail, + uvw: aniso_brightnessvar_lookup_uvw, + mono_source: ::base::mono_average + ); + + float aniso_brightnessvar = histogram_scan_big( + input: aniso_brightnessvar_lookup.mono, + width: 0.911, + position: aniso_attenuation + ); + + ::base::texture_return aniso_mod_lookup = ::base::file_texture( + texture: tex_lin_wood_rough_detail, + uvw: tile_uvw, + mono_source: ::base::mono_average + ); + + float aniso_detail_u = histogram_range(aniso_mod_lookup.mono, 1.0, aniso_bsdf_width); + float aniso_detail_v = histogram_range(aniso_mod_lookup.mono, 1.0, aniso_bsdf_height); + + bsdf wood_highlight_aniso = ::df::weighted_layer( + layer: ::df::microfacet_ggx_smith_bsdf( + roughness_u: aniso_detail_u * aniso_detail_u, + roughness_v: aniso_detail_v * aniso_detail_v, + tint: color(aniso_brightnessvar), + tangent_u: tile_uvw.tangent_u, + mode: ::df::scatter_reflect + ), + weight: 1.0f, + normal: tiles_slope_normal + ); + +// ******** Isotropic Highlight ******** + ::base::texture_return iso_mod_lookup = ::base::file_texture( + texture: tex_lin_wood_rough_grain, + uvw: tile_uvw, + mono_source: ::base::mono_average + ); + + float iso_mod = histogram_range( + input: iso_mod_lookup.mono, + range: isotropic_roughness_range, + position: isotropic_roughness + ); + + float iso_mod_squared = iso_mod * iso_mod; + + bsdf wood_highlight_isotropic = ::df::microfacet_ggx_smith_bsdf( + roughness_u: iso_mod_squared, + roughness_v: iso_mod_squared, + tint: color(isotropic_specular_brightness), + mode: ::df::scatter_reflect + ); + +// ******** Comping Anisotropic and Isotropic Highlight ******** + + bsdf wood_highlight_isotropic_bumped = ::df::weighted_layer( + layer: wood_highlight_isotropic, + base: wood_highlight_aniso, + weight: anisotropic_isotropic_balance, + normal: tiles_slope_detail_normal + ); + + +// ******** Diffuse Comping ******** + + float floor_brightness_remap = ::math::lerp( + a: 0.3f, + b: 1.0f, + l: floor_brightness); + + color diffuse_attenuation = ::math::lerp( + a: gaps_brightness, + b: floor_brightness_remap, + l: egdewear_gaps_gapsrough_lookup.y); + + ::base::texture_return diffuse_lookup = ::base::file_texture( + texture: tex_srgb_wood_color, + uvw: tile_uvw, + mono_source: ::base::mono_alpha, + color_scale: diffuse_attenuation + ); + + float rand_tile_brightness = ::math::lerp( + a: ::math::lerp(a: 1.0f, // range of maximum wood brightness variation + b: 0.73, /*max rand wood darkening */ + l: wood_brightness_variation), + b: 1.0f, + l: rand_vals.z // random value + ); + + // adding the darkening of the dents texture channel + float rand_tile_brightness_dents = rand_tile_brightness * ::math::lerp(1.0f, rough_dents_spots_lookup.y, age_dirt); + + + ::base::texture_return tiles_rand_brightness = ::nvidia::core_definitions::blend_colors( + color_1: diffuse_lookup.tint, + color_2: color(::math::pow( a: rand_tile_brightness_dents, b: 2.2)), // do gamma compensation + mode: ::base::color_layer_multiply, + weight: 1.0f + ); + + ::base::texture_return tiles_rand_brightness_tint = ::nvidia::core_definitions::blend_colors( + color_1: tiles_rand_brightness.tint, + color_2: wood_color, + mode: ::base::color_layer_overlay, + weight: .95f + ); + + bsdf diffuse = ::df::weighted_layer( + layer: ::df::diffuse_reflection_bsdf( + tint: tiles_rand_brightness_tint.tint + ), + normal: tiles_slope_detail_normal, + weight: 1.0 + ); + +// Diffuse + Highlights BSDF + + bsdf diffuse_and_highlights_bsdf = ::df::custom_curve_layer( + normal_reflectivity: wood_specular_level * 0.08, + grazing_reflectivity: 1.0f, + weight: aniso_brightnessvar , + layer: wood_highlight_isotropic_bumped, + base: diffuse + ); + +// DEBUG + bsdf debug_diffuse_and_highlights_bsdf = ::df::custom_curve_layer( + normal_reflectivity: wood_specular_level * 0.08, + grazing_reflectivity: 1.0f, + weight: aniso_brightnessvar , + layer: wood_highlight_isotropic_bumped + ); + +// Coating Layer + // separate controls for the reflectivity of the gaps and the general reflectivity of the coat + // Note that "gaps_brightness" also controls the diffuse texture (saving an additional parameter here) + float coating_weight = ::math::lerp( + a: gaps_brightness, + b: coating_reflectivity, + l: egdewear_gaps_gapsrough_lookup.y + ); + + // apply the coating layer + bsdf coated_wood_tiles_bsdf = ::df::custom_curve_layer( + normal_reflectivity: 0.03, //may as well be made adjustable (0.08 * specular_level) + grazing_reflectivity: 1.0f, + layer: coating_bsdf, + weight: coating_weight, + base: diffuse_and_highlights_bsdf, + normal: normal_final + ); + + +// ******** Round Corners ******** + float3 round_normal = round_corners ? + ::state::rounded_corner_normal( + radius: roundcorner_radius_mm * 0.001, // is in mm + across_materials: across_materials + ) : ::state::normal(); + +} in material( + surface: material_surface( + scattering: preview_wood_highlights ? debug_diffuse_and_highlights_bsdf : coated_wood_tiles_bsdf + ), + geometry: material_geometry( + normal: round_normal + ) +); + + +// ****************************************************************************************************** +// 01 + +export material Wood_Tiles_Beech_Brickbond( + color wood_color = color(0.5f) [[ + ::anno::description("Applies an overlay color to tint the wood. The color is used using the 'overlay' mode as known " + "from paint programs. A gray value of 0.5 has no effect, brighter values brighten it while darker colors will have a darkening effect."), + ::anno::display_name("Wood Color"), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 0.2f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Floor Brightness"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.5f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.03f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = 1.f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Tiles") + ]], + float wood_scale_variation = 0.f [[ + ::anno::description("Adds random variation to size of the wood in each tile."), + ::anno::display_name("Wood Scale Variation"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.f, 2.f) + ]], + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.05f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Gaps Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.04f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.0f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Brick Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "brick bond", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech.Wood_Tiles_Beech_Brickbond.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Beech( + wood_color: wood_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: wood_random_rotation, + wood_scale: wood_scale, + wood_scale_variation: wood_scale_variation, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./brickbond_R_id_G_offs_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./brickbond_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./brickbond_norm.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) + +); + + +// ****************************************************************************************************** +// 02 + +export material Wood_Tiles_Beech_Chantilly( + color wood_color = color(0.5f) [[ + ::anno::description("Applies an overlay color to tint the wood. The color is used using the 'overlay' mode as known " + "from paint programs. A gray value of 0.5 has no effect, brighter values brighten it while darker colors will have a darkening effect."), + ::anno::display_name("Wood Color"), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 0.2f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Floor Brightness"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.5f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.03f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = 1.f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Tiles") + ]], + float wood_scale_variation = 0.f [[ + ::anno::description("Adds random variation to size of the wood in each tile."), + ::anno::display_name("Wood Scale Variation"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.f, 2.f) + ]], + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.05f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Gaps Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.04f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.0f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Chantilly"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "brick bond", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech.Wood_Tiles_Beech_Chantilly.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Beech( + wood_color: wood_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: wood_random_rotation, + wood_scale: wood_scale, + wood_scale_variation: wood_scale_variation, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./chantilly_R_id_G_offs_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./chantilly_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./chantilly_norm.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) + +); + +// ****************************************************************************************************** +// 03 + +export material Wood_Tiles_Beech_Chevron( + color wood_color = color(0.5f) [[ + ::anno::description("Applies an overlay color to tint the wood. The color is used using the 'overlay' mode as known " + "from paint programs. A gray value of 0.5 has no effect, brighter values brighten it while darker colors will have a darkening effect."), + ::anno::display_name("Wood Color"), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 0.2f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Floor Brightness"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.5f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.03f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = 1.f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Tiles") + ]], + float wood_scale_variation = 0.f [[ + ::anno::description("Adds random variation to size of the wood in each tile."), + ::anno::display_name("Wood Scale Variation"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.f, 2.f) + ]], + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.05f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Gaps Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.04f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.0f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Chevron"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "chevron", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech.Wood_Tiles_Beech_Chevron.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Beech( + wood_color: wood_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: wood_random_rotation, + wood_scale: wood_scale, + wood_scale_variation: wood_scale_variation, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./chevron_R_id_G_offs_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./chevron_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./chevron_norm.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) + +); + + +// ****************************************************************************************************** +// 04 + +export material Wood_Tiles_Beech_Cubes( + color wood_color = color(0.5f) [[ + ::anno::description("Applies an overlay color to tint the wood. The color is used using the 'overlay' mode as known " + "from paint programs. A gray value of 0.5 has no effect, brighter values brighten it while darker colors will have a darkening effect."), + ::anno::display_name("Wood Color"), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 0.2f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Floor Brightness"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.5f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.03f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = 1.f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Tiles") + ]], + float wood_scale_variation = 0.f [[ + ::anno::description("Adds random variation to size of the wood in each tile."), + ::anno::display_name("Wood Scale Variation"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.f, 2.f) + ]], + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.05f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Gaps Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.04f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.0f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Cubes"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "cubes", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech.Wood_Tiles_Beech_Cubes.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Beech( + wood_color: wood_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: wood_random_rotation, + wood_scale: wood_scale, + wood_scale_variation: wood_scale_variation, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./cubes_R_id_G_offs_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./cubes_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./cubes_norm.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) + +); + + +// ****************************************************************************************************** +// 05 + +export material Wood_Tiles_Beech_Diagonal( + color wood_color = color(0.5f) [[ + ::anno::description("Applies an overlay color to tint the wood. The color is used using the 'overlay' mode as known " + "from paint programs. A gray value of 0.5 has no effect, brighter values brighten it while darker colors will have a darkening effect."), + ::anno::display_name("Wood Color"), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 0.2f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Floor Brightness"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.5f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.03f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = 1.f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Tiles") + ]], + float wood_scale_variation = 0.f [[ + ::anno::description("Adds random variation to size of the wood in each tile."), + ::anno::display_name("Wood Scale Variation"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.f, 2.f) + ]], + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.05f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Gaps Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.04f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.0f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Diagonal"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "diagonal", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech.Wood_Tiles_Beech_Diagonal.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Beech( + wood_color: wood_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: wood_random_rotation, + wood_scale: wood_scale, + wood_scale_variation: wood_scale_variation, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./diagonal_R_id_G_offs_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./diagonal_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./diagonal_norm.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) + +); + + +// ****************************************************************************************************** +// 06 + +export material Wood_Tiles_Beech_Herringbone( + color wood_color = color(0.5f) [[ + ::anno::description("Applies an overlay color to tint the wood. The color is used using the 'overlay' mode as known " + "from paint programs. A gray value of 0.5 has no effect, brighter values brighten it while darker colors will have a darkening effect."), + ::anno::display_name("Wood Color"), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 0.2f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Floor Brightness"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.5f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.03f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = 1.f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Tiles") + ]], + float wood_scale_variation = 0.f [[ + ::anno::description("Adds random variation to size of the wood in each tile."), + ::anno::display_name("Wood Scale Variation"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.f, 2.f) + ]], + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.05f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Gaps Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.04f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.0f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Herringbone"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "herringbone", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech.Wood_Tiles_Beech_Herringbone.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Beech( + wood_color: wood_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: wood_random_rotation, + wood_scale: wood_scale, + wood_scale_variation: wood_scale_variation, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./herringbone_R_id_G_offs_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./herringbone_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./herringbone_norm.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) + +); + + +// ****************************************************************************************************** +// 07 + +export material Wood_Tiles_Beech_Mosaic( + color wood_color = color(0.5f) [[ + ::anno::description("Applies an overlay color to tint the wood. The color is used using the 'overlay' mode as known " + "from paint programs. A gray value of 0.5 has no effect, brighter values brighten it while darker colors will have a darkening effect."), + ::anno::display_name("Wood Color"), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 0.2f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Floor Brightness"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.5f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.03f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = 1.f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Tiles") + ]], + float wood_scale_variation = 0.f [[ + ::anno::description("Adds random variation to size of the wood in each tile."), + ::anno::display_name("Wood Scale Variation"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.f, 2.f) + ]], + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.05f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Gaps Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.04f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.0f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Mosaic"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "mosaic", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech.Wood_Tiles_Beech_Mosaic.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Beech( + wood_color: wood_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: wood_random_rotation, + wood_scale: wood_scale, + wood_scale_variation: wood_scale_variation, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./mosaic_R_id_G_offs_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./mosaic_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./mosaic_norm.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) + +); + +// ****************************************************************************************************** +// 08 + +export material Wood_Tiles_Beech_Stackbond( + color wood_color = color(0.5f) [[ + ::anno::description("Applies an overlay color to tint the wood. The color is used using the 'overlay' mode as known " + "from paint programs. A gray value of 0.5 has no effect, brighter values brighten it while darker colors will have a darkening effect."), + ::anno::display_name("Wood Color"), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 0.2f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Floor Brightness"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.5f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.03f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = 1.f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Tiles") + ]], + float wood_scale_variation = 0.f [[ + ::anno::description("Adds random variation to size of the wood in each tile."), + ::anno::display_name("Wood Scale Variation"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.f, 2.f) + ]], + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.05f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Gaps Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.04f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.0f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Stack Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "stack bond", "stack", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech.Wood_Tiles_Beech_Stackbond.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Beech( + wood_color: wood_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: wood_random_rotation, + wood_scale: wood_scale, + wood_scale_variation: wood_scale_variation, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./stackbond_R_id_G_offs_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./stackbond_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./stackbond_norm.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) + +); + + +// ****************************************************************************************************** +// 09 + +export material Wood_Tiles_Beech_Versailles( + color wood_color = color(0.5f) [[ + ::anno::description("Applies an overlay color to tint the wood. The color is used using the 'overlay' mode as known " + "from paint programs. A gray value of 0.5 has no effect, brighter values brighten it while darker colors will have a darkening effect."), + ::anno::display_name("Wood Color"), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 0.2f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Floor Brightness"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.5f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.03f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = 1.f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Tiles") + ]], + float wood_scale_variation = 0.f [[ + ::anno::description("Adds random variation to size of the wood in each tile."), + ::anno::display_name("Wood Scale Variation"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.f, 2.f) + ]], + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.05f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Gaps Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.04f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.0f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Versailles"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "versailles", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech.Wood_Tiles_Beech_Versailles.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Beech( + wood_color: wood_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: wood_random_rotation, + wood_scale: wood_scale, + wood_scale_variation: wood_scale_variation, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./versailles_R_id_G_offs_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./versailles_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./versailles_norm.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) + +); + + +// ****************************************************************************************************** +// 10 + +export material Wood_Tiles_Beech_Woodstrip( + color wood_color = color(0.5f) [[ + ::anno::description("Applies an overlay color to tint the wood. The color is used using the 'overlay' mode as known " + "from paint programs. A gray value of 0.5 has no effect, brighter values brighten it while darker colors will have a darkening effect."), + ::anno::display_name("Wood Color"), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 0.2f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Floor Brightness"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.5f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.03f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = 1.f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Tiles") + ]], + float wood_scale_variation = 0.f [[ + ::anno::description("Adds random variation to size of the wood in each tile."), + ::anno::display_name("Wood Scale Variation"), + ::anno::in_group("Tiles"), + ::anno::soft_range(0.f, 2.f) + ]], + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.05f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Gaps Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.04f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.0f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Wood Strip"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "strip", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech.Wood_Tiles_Beech_Woodstrip.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Beech( + wood_color: wood_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: wood_random_rotation, + wood_scale: wood_scale, + wood_scale_variation: wood_scale_variation, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./woodstrip_R_id_G_offs_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./woodstrip_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./woodstrip_norm.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) + +); \ No newline at end of file diff --git a/Material/material_0563/Wood_Tiles_Beech_Multicolor.mdl b/Material/material_0563/Wood_Tiles_Beech_Multicolor.mdl new file mode 100644 index 0000000000000000000000000000000000000000..add108849df8dc9c04ea88c6f6679517c51e30d7 --- /dev/null +++ b/Material/material_0563/Wood_Tiles_Beech_Multicolor.mdl @@ -0,0 +1,1592 @@ +/****************************************************************************** + * Copyright 2024 NVIDIA Corporation. All rights reserved. + ****************************************************************************** + +Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge, +to any person obtaining a copy of the sample definition code that uses our +Material Definition Language (the "MDL Materials"), to reproduce and distribute +the MDL Materials, including without limitation the rights to use, copy, merge, +publish, distribute, and sell modified and unmodified copies of the MDL +Materials, and to permit persons to whom the MDL Materials is furnished to do +so, in all cases solely for use with NVIDIA's Material Definition Language, +subject to the following further conditions: + +1. The above copyright notices, this list of conditions, and the disclaimer +that follows shall be retained in all copies of one or more of the MDL +Materials, including in any software with which the MDL Materials are bundled, +redistributed, and/or sold, and included either as stand-alone text files, +human-readable headers or in the appropriate machine-readable metadata fields +within text or binary files as long as those fields can be easily viewed by the +user, as applicable. +2. The name of NVIDIA shall not be used to promote, endorse or advertise any +Modified Version without specific prior written permission, except a) to comply + with the notice requirements otherwise contained herein; or b) to acknowledge +the contribution(s) of NVIDIA. + +THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, +INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE +THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS. +*/ + + +mdl 1.5; + +import ::anno::*; +import ::base::*; +import ::df::*; +import ::math::*; +import ::state::*; +import ::tex::*; +import ::nvidia::core_definitions::blend_colors; +import ::nvidia::core_definitions::dimension; + + +const string COPYRIGHT = +" Copyright 2024 NVIDIA Corporation. All rights reserved.\n" +" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n" +" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n" +" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n" +" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n" +" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n" +" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n" +" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n" +" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n" +" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n" +" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n"; + +const string DESCRIPTION = "A wooden tile material with adjustments to produce a rich variety of wooden floor styles ranging from new to worn."; + +annotation preview_scale( float f); + +struct vm_coordinates{ + float2 uv; + float rotation; + int uv_space_index; + float4 carry; +}; + +enum vm_mono_select +[[ + anno::description("Modes for the creation of a gray-scale value from a color."), + anno::hidden() +]] +{ + mono_r = 0, + mono_g = 1, + mono_b = 2, + mono_a = 3, + mono_average = 4 +}; + +vm_coordinates vm_coord +( + float2 translation = float2(0.0f, 0.0) [[ + ::anno::display_name("Translation"), + ::anno::description("Translates the coordinates.") + ]], + float rotation = 0.0f [[ + ::anno::display_name("Rotation"), + ::anno::description("Rotates the coordinates in degrees.") + ]], + float2 scaling = float2(1.0f, 1.0f) [[ + ::anno::display_name("Scaling"), + ::anno::description("Scales the coordinates.") + ]], + uniform int uv_space = 0 [[ + ::anno::display_name("UV Space"), + ::anno::description("Chose the UV space.") + ]] +) +[[ + ::anno::display_name("vm Transform"), + ::anno::description("Generates coordinates to be used in vm_lookup functions.") +]] +{ + vm_coordinates uv; + ::base::texture_coordinate_info info = ::base::coordinate_source( ::base::texture_coordinate_uvw, uv_space); + uv.rotation = (rotation * 3.1415926535897932384626433832f) / 180.f; + uv.uv = float2(info.position.x, info.position.y); + float sine = ::math::sin(uv.rotation); + float cosine = ::math::cos(uv.rotation); + float2x2 rot = float2x2(cosine, -sine, sine, cosine); + uv.uv = rot * uv.uv; + uv.uv /= scaling; + uv.uv += translation; + // Translation before or after rotation? + return uv; +} + +vm_coordinates vm_coord_post_scale( + vm_coordinates uv = vm_coord(), + float2 scale = 1.0f +) +{ + uv.uv /= scale; + return uv; +} + +::base::texture_return vm_tex_lookup( + uniform texture_2d tex, + vm_coordinates uv = vm_coord(), + uniform vm_mono_select mono_source = mono_a, + float4 scale = float4(1.0f)) +{ + float mono; + float4 lookup = ::tex::lookup_float4(tex, uv.uv, ::tex::wrap_repeat, ::tex::wrap_repeat) * scale; + switch( mono_source ) { + case mono_r: mono = lookup.x; + break; + case mono_g: mono = lookup.y; + break; + case mono_b: mono = lookup.z; + break; + case mono_a: mono = lookup.w; + break; + case mono_average: mono = ::math::average(float3(lookup.x, lookup.y, lookup.z)); + break; + } + return ::base::texture_return(color(lookup.x, lookup.y, lookup.z), mono); +} + +float3 vm_tex_normal_lookup( + uniform texture_2d tex, + vm_coordinates uv = vm_coord(), + float strength = 1.0f +) +{ + float rot = uv.rotation; + // Lookup and convert normal texture to -1 ... 1 range + float3 norm = (::tex::lookup_float3(tex, uv.uv, ::tex::wrap_repeat, ::tex::wrap_repeat) - float3(.5f)) * 2.0f; + norm = ::math::normalize(norm * float3(strength, strength, 1.0)); + // if any rotation happened prior to the lookup, compensate for it + norm = float3(::math::cos(rot) * norm.x - ::math::sin(rot) * norm.y, + ::math::sin(rot) * norm.x + ::math::cos(rot) * norm.y, + norm.z); + return norm.x * ::state::texture_tangent_u(uv.uv_space_index) + + norm.y * ::state::texture_tangent_v(uv.uv_space_index) + + norm.z * ::state::normal(); +} + + +// ---------------------------------------------------------------------------------------------------------------------- + + +float histogram_range(float input, float range = 1.0f, float position = 0.5f) +{ + float low = ::math::clamp(1.0 - ::math::min(((1.0 - position) + range * 0.5), (1.0 - position) * 2), 0.0, 1.0); + float high = ::math::clamp(::math::min((position + range * 0.5 ), position * 2.0), 0.0, 1.0); + return ::math::lerp(low, high, input); +} + +float remap_xy_to_0_1(float input, float x, float y) +{ + return (input - x)/(y - x); +} + +float histogram_scan_big(float input, float width, float position) +{ + return ::math::clamp( + remap_xy_to_0_1(input, + ::math::lerp(-width, 1.0, position), + ::math::lerp(0.0, 1.0 + width, position)), + 0.0, + 1.0); +} + +// ********** Randomization functions -I- ********** + +int random(int seed = 0, int modulus = 65536, int multiplier = 1664525, int increment = 1013904223) +{ + return (multiplier * seed + increment) % modulus; +} + + +// Returns the normal n in tangent space, given n is in internal space. +float3 transform_internal_to_tangent(float3 n) +[[ + ::anno::hidden() +]] +{ + return + n.x* float3(::state::texture_tangent_u(0).x,::state::texture_tangent_v(0).x,::state::normal().x)+ + n.y* float3(::state::texture_tangent_u(0).y,::state::texture_tangent_v(0).y,::state::normal().y)+ + n.z* float3(::state::texture_tangent_u(0).z,::state::texture_tangent_v(0).z,::state::normal().z); +} + +// Returns the normal n in internal space, given n is in tangent space. +float3 transform_tangent_to_internal(float3 n) +[[ + ::anno::hidden() +]] +{ + return ::state::texture_tangent_u(0) * n.x + + ::state::texture_tangent_v(0) * n.y + + ::state::normal() * n.z ; +} + + + +// Returns a normal by adding a detail normal to a global normal. +// If detail blending of two normal maps gives visual artifacts, check if texture_2d are loaded +// correctly with ::tex::gamma_linear +float3 add_detail_normal(float3 nd = ::state::normal(), float3 n = ::state::normal()) +{ + // http://blog.selfshadow.com/publications/blending-in-detail/ + float3 n_t = transform_internal_to_tangent(n); + float3 nd_t = transform_internal_to_tangent(nd); + + n_t=n_t + float3(0.,0.,1.); + nd_t = nd_t * float3(-1.,-1.,1.); + + n = n_t*::math::dot(n_t, nd_t)/n_t.z - nd_t; + return ::math::normalize(transform_tangent_to_internal(n)); +} + + +// For the rotated tangent I just used the code for the rotation of the tangent vector +// asselmbled from the former 'vmat_transform' and 'transform_coordinate_2' functions +float3 rotated_tangent( + float rotation = 0, + uniform int uv_space = 0 +) +{ + float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f; + float sin = ::math::sin(rotation_rad); + float cos = ::math::cos(rotation_rad); + + ::base::texture_coordinate_info coord = ::base::coordinate_source(::base::texture_coordinate_uvw, uv_space); + + return ::math::normalize(cos * coord.tangent_u - sin * coord.tangent_v); +} + + +// Returns 4 random IDs for a given pattern +float4 rand_tile_id( + vm_coordinates uv, + ::base::texture_return id_offset_map, // map containing the ID in r channel + //and the cell offset in g channel. + int seed = 0 + ) +[[ + ::anno::noinline() +]] +{ + float4 ret_val; + int offset_x, offset_y; + + + float3 id_offset_map_2 = float3(id_offset_map.tint); + float offset_id = id_offset_map_2.y; + int rand_id = int(id_offset_map_2.x * 254.f); // the more logical value of 255 causes sometimes rendering artifacts + // with the random number generator. Setting it to 254 apparently fixes it + + // Offset of overlapping tiles stored in G-channel + // [0 - 0.25[ : ( 0/ 0) Grayscale value: 0.1 + // [0.25 - 0.5 [ : (-1/ 0) Grayscale value: 0.37 + // [0.5 - 0.75[ : (-1/-1) Grayscale value: 0.62 + // [0.75 - 1.0 [ : ( 0/-1) Grayscale value: 0.87 + + offset_x = offset_id < 0.25f ? 0 : (offset_id < .75f) ? 1 : 0; + offset_y = offset_id < 0.5 ? 0 : 1; + + int2 cell_id = int2(int(::math::floor(uv.uv.x) - offset_x), int(::math::floor(uv.uv.y) - offset_y)); + + /* Using Linear congruential generator for pseudorandom numbers which is good enough */ + int rand_val_0 = random(seed); + int rand_val_1 = random(rand_val_0 + rand_id + random(cell_id.x + random(cell_id.y))); + int rand_val_2 = random(rand_val_1); + int rand_val_3 = random(rand_val_2); + int rand_val_4 = random(rand_val_3); + + ret_val = float4(rand_val_1, rand_val_2, rand_val_3, rand_val_4); + + return float4(ret_val/65535.0f); +} + + +// ****************************************************************************************************** +// Variation of the wood material which features another texture thats masks a secondary color +// Also the map includes a mask that prevents random color variations +export material Wood_Tiles_Beech_Multicolor( + int seed = 0 [[ + ::anno::display_name("Randomization Seed"), + ::anno::description("Different seed values while causes different patterns of randomization on the tiles."), + ::anno::in_group("Randomization") + ]], + color wood_color = color(0.64181f, 0.81149f, 0.60815f) [[ + ::anno::display_name("Color Tint"), + ::anno::description("Applies an overlay color to tint the wood. A grayscale value of 0.5 has no effect, " + "brighter values brighten it while darker colors will have a darkening effect."), + ::anno::in_group("Appearance") + ]], + color wood_secondary_color = color(0.93793f, 0.63971f, 0.5261f) [[ + ::anno::description("Choose the secondary overlay color to tint the wood. A grayscale value of 0.5 has no effect, " + "brighter values brighten it while darker colors will have a darkening effect."), + ::anno::display_name("Secondary Color Tint"), + ::anno::in_group("Appearance") + ]], + float age_dirt = 0.4f [[ + ::anno::display_name("Age Dirt"), + ::anno::description("Adds dark dirt spots on top of the surface to create the appearance of a somewhat aged surface."), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float wood_bump_strength = 0.05f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.42f [[ + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::display_name("Wood Brightness"), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.1f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::description("Randomly darkens the tiles of the floor."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.015f [[ + ::anno::display_name("Wood Random Rotation"), + ::anno::description("Adds a random rotation around the main wood tile alignment direction."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = 1.f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Appearance", "Tiles"), + ::anno::soft_range(0.0f, 2.0f) + ]], + + + uniform float tiles_bump_strength = 0.31f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.15f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Grout Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_base_roughness = 0.16f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.1f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.45f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]], + +// WOOD Highlights (Not accessible to regular users) + uniform bool preview_wood_highlights = false + [[ + ::anno::display_name("Preview Wood Specular"), + ::anno::description("Enables previewing of the wood specular highlights for tweaking."), + ::anno::in_group("Advanced", "Wood Highlight") + ]], // just previews the highlights of the wood material + float isotropic_roughness = 0.324f // The average roughness value of the isotropic highlight. When roughness variation is applied, the variation will go above and below those values.") + [[ + ::anno::display_name("Isotropic Roughness"), + ::anno::description("Sets the roughness of the isotropic component of the wood reflection."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float isotropic_roughness_range = 0.741f // Adjusts the range of variation being applied to the isotropic highlight, a value of zero has no effect at all whereas 1 produces the most variation") + [[ + ::anno::display_name("Isotropic Roughness Range"), + ::anno::description("Sets the degree roughness variation around the isotropic highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float isotropic_specular_brightness = 0.833f // Sets how strong the isotropic specular highlight appears + [[ + ::anno::display_name("Isotropic Highlight Brightness"), + ::anno::description("Sets the brightness of the isotropic wood highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float wood_specular_level = 1.f // Adjusts the specular level (PBR Style) + [[ + ::anno::display_name("Wood Specular Level"), + ::anno::description("Adjusts the falloff of the wood highlights."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float aniso_attenuation = 0.546f //Attenuates the the anisotropic highlight using a texture. Use the preview for exclusively previewing the wood hightligghts for properly adjusting this term" + [[ + ::anno::display_name("Anisotropic Attenuation"), + ::anno::description("Breaks up the reflection of the anisotropic highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float aniso_bsdf_width = 0.287f //Controls the width of the anisotropic highlight" + [[ + ::anno::display_name("Anisotropic Width"), + ::anno::description("Adjusts the width of the anisotropic wood highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float aniso_bsdf_height = 0.917f //Controls the height of the anisotropic highlight" + [[ + ::anno::display_name("Anisotropic Height"), + ::anno::description("Adjusts the height of the anisotropic highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + float anisotropic_isotropic_balance = 0.222f // Balances the Anisotropic vs. the isotropic wood highlight" + [[ + ::anno::display_name("Anisotropic - Isotropic Balance"), + ::anno::description("Blends between the contribution of isotropic and anisotropic highlight."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Advanced", "Wood Highlight") + ]], + +// ------------------ TEXTURES (Not accessible to regular users) ------------------ + // Diffuse + uniform texture_2d tex_srgb_wood_color = texture_2d("./beech_diff.jpg", ::tex::gamma_srgb) + [[ + ::anno::display_name("Diffuse Wood Texture"), + ::anno::description("The diffuse wood texture used to cover the tiles (srgb)."), + ::anno::in_group("Advanced", "Textures") + ]], + // Anisotropic Roughness AKA "Rough Detail" + uniform texture_2d tex_lin_wood_rough_detail = texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear) + [[ + ::anno::display_name("Anisotropic Variation Texture"), + ::anno::description("Texture to add variation to the anisotropic reflections of the wood (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + // Isotropic Roughness AKA "Rough Grain" + uniform texture_2d tex_lin_wood_rough_grain = texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear) + [[ + ::anno::display_name("Isotropic Variation Texture"), + ::anno::description("Texture to add variation to the isotropic reflections of the wood (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + // Wood detail Normal - Grain & Structure + uniform texture_2d tex_lin_wood_detail_norm = texture_2d("./beech_norm.jpg", ::tex::gamma_linear) + [[ + ::anno::display_name("Wood Normal Texture"), + ::anno::description("Tangent Space Normal texture for defining the bumpiness of the wood."), + ::anno::in_group("Advanced", "Textures") + ]], + // Tiles ID, Offset & Rotation + uniform texture_2d tex_lin_tiles_id_offset_rotation = texture_2d("./melbury_R_id_G_offset_B_rotation.png", ::tex::gamma_linear) + [[ + ::anno::display_name("Tiles ID - Offset - Rotation Texture"), + ::anno::description("Texture that holds information about the wood tiles needed to create the wood tiles effect. R - Tiles ID, G - Tiles offset, B - Tiles Rotation (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + // Edgewear, Gaps(AO), Gaps Roughnesss + uniform texture_2d tex_lin_tiles_edgewear_gaps_gapsrough= texture_2d("./melbury_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear) + [[ + ::anno::display_name("Edgewear - Gaps - Gap Rough"), + ::anno::description("Texture that holds maps for the edgewear roughness, the tile gaps and the gaps roughness (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + // Tiles Normal (Grout and Bend) + uniform texture_2d tex_lin_tiles_normal = texture_2d("./melbury_norm.jpg", ::tex::gamma_linear) + [[ + ::anno::display_name("Tiles Normal Texture"), + ::anno::description("Texture that holds the normal map for the tiles (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + // Secondary color (grayscale) mask, randomization mask + uniform texture_2d tex_lin_tiles_R_2nd_col_G_randmask = texture_2d("./melbury_R_2ndcol_G_randmask.png", ::tex::gamma_linear) + [[ + ::anno::display_name("2nd Color - Random Mask"), + ::anno::description("Texture that holds maps for blending with the secondary color and a color randomization mask that specifies in which area brightness randomization should occur (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + // Tiles Roughness, Dents and Spots + uniform texture_2d tex_lin_tiles_rough_dents_spots = texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear) + [[ + ::anno::display_name("Tiles Rough - Dents - Spots"), + ::anno::description("Texture that contains maps for the tiles roughness, dents and spots which is a roughness effect applied to the wood coating layer (linear space)."), + ::anno::in_group("Advanced", "Textures") + ]], + // Tiles orange Peel + uniform texture_2d tex_lin_tiles_orange_peel = texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) + [[ + ::anno::display_name("Tiles Orange Peel"), + ::anno::description("Tangent Space Normal texture for the orange peel which is applied to the coating of the tiles."), + ::anno::in_group("Advanced", "Textures") + ]] + +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Multicolor Master"), + ::anno::description("Master template material. This material should be hidden." + "If you see this material, the integration is not hiding it correctly."), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech_Multicolor.Wood_Tiles_Beech_Multicolor.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./beech_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./beech_norm.jpg", ::tex::gamma_linear); // Wood detail Normal - Grain & Structure + texture_2d tex_lin_tiles_id_offset_rotation = texture_2d("./brickbond_R_id_G_offs_B_rotation.png", ::tex::gamma_linear); // Tiles ID, Offset & Rotation + texture_2d tex_lin_tiles_edgewear_gaps_gapsrough= texture_2d("./brickbond_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear); // Edgewear, Gaps(AO), Gaps Roughnesss + texture_2d tex_lin_tiles_normal = texture_2d("./brickbond_norm.png", ::tex::gamma_linear); // Tiles Normal (Grout and Bend) + texture_2d tex_lin_tiles_rough_dents_spots = texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear); // Tiles Roughness, Dents and Spots + texture_2d tex_lin_tiles_orange_peel = texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear); // Tiles orange Peel +*/ +/* + // Wood Highlight tweaks + bool preview_wood_highlights = false; // just previews the highlights of the wood material + float wood_specular_level = 1.f; // Adjusts the specular level (PBR Style) + float isotropic_specular_brightness = 1.0f; // Sets how strong the isotropic specular highlight appears + float aniso_attenuation = 0.5f; //Attenuates the the anisotropic highlight using a texture. Use the preview for exclusively previewing the wood hightligghts for properly adjusting this term" + float anisotropic_isotropic_balance = 0.467f; // Balances the Anisotropic vs. the isotropic wood highlight" + float isotropic_roughness_range = 0.66f; // Adjusts the range of variation being applied to the isotropic highlight, a value of zero has no effect at all whereas 1 produces the most variation") + float isotropic_roughness = 0.34f; // The average roughness value of the isotropic highlight. When roughness variation is applied, the variation will go above and below those values."), + + float aniso_bsdf_width = 0.36f; //Controls the width of the anisotropic highlight" + float aniso_bsdf_height = 0.50f; //Controls the height of the anisotropic highlight"), +*/ + float wood_scale_variation = 0.1f; + + + // Prepare the UV coordinates for regular texture lookups + vm_coordinates base_uv = vm_coord( + translation:texture_translate, + rotation: texture_rotate, + scaling: texture_scale, + uv_space: uv_space_index + ); + + // Random tile transform + // R: tile_id + // G: tile_offset + // B: tile_rotation + // A: secondary color blend weight + + ::base::texture_return rand_id_offset_lookup = vm_tex_lookup( + tex: tex_lin_tiles_id_offset_rotation, + uv: base_uv, + mono_source: mono_a + ); + + float3 R_2nd_col_G_randmask = ::tex::lookup_float3(tex_lin_tiles_R_2nd_col_G_randmask, base_uv.uv, ::tex::wrap_repeat, ::tex::wrap_repeat) ; + + + + float4 rand_vals = rand_tile_id( + uv: base_uv, + id_offset_map: rand_id_offset_lookup, + seed: seed + ); + + float2 rand_translation = float2(rand_vals.x, rand_vals.y); + float rand_rotation = texture_rotate + (float3(rand_id_offset_lookup.tint).z + (rand_vals.z - 0.5) * wood_random_rotation) * 360; + float2 rand_scale = float2(wood_scale/(1.0 - wood_scale_variation * 0.5 * rand_vals.x)) * texture_scale; + +// *** TILE UV *** - The randomized UV lookup for the tiles + + + vm_coordinates tile_uv = vm_coord( + translation:rand_translation, + rotation: rand_rotation, + scaling: rand_scale, + uv_space: uv_space_index + ); + + + // Tiling Lookups and compositing + // R: Edgewear + // G: Gaps + // B: Gaps Damage Roughness + float3 egdewear_gaps_gapsrough_lookup = float3( vm_tex_lookup( + tex: tex_lin_tiles_edgewear_gaps_gapsrough, + uv: base_uv, + mono_source: mono_a + ).tint); + + // R: Coat Base Roughness (Footsteps, Grain, Wipe) + // G: Dents (Dirt/Ao) + // B: Spots (Liquid-alike) + float3 rough_dents_spots_lookup = float3( vm_tex_lookup( + tex: tex_lin_tiles_rough_dents_spots, + uv: base_uv, + mono_source: mono_a + ).tint); + + float dirt_and_spots_amount_remap = dirt_and_spots_amount * 0.5; + + float coat_roughness = egdewear_gaps_gapsrough_lookup.x * edgewear_roughness_amount + // edgewear + egdewear_gaps_gapsrough_lookup.z * dirt_and_spots_amount_remap + // Gaps Damage + histogram_range(rough_dents_spots_lookup.x, base_roughness_range, tiles_base_roughness) + // base roughness + rough_dents_spots_lookup.z * dirt_and_spots_amount + // Spots (rough) + (1.0 - rough_dents_spots_lookup.y) * dirt_and_spots_amount; // Dents + + float coat_roughness_squared = coat_roughness*coat_roughness; // roughness squared + + bsdf coating_bsdf = ::df::microfacet_ggx_smith_bsdf( + roughness_u: coat_roughness_squared, + roughness_v: coat_roughness_squared, + tint: color(1.0f), + mode: ::df::scatter_reflect + ); + +// ******** NORMALS ******** + + // Tiles normal + + + float3 tiles_normal = vm_tex_normal_lookup( + tex: tex_lin_tiles_normal, + strength: tiles_bump_strength, + uv: base_uv + ); + + float3 wood_detail_normal = vm_tex_normal_lookup( + tex: tex_lin_wood_detail_norm, + strength: wood_bump_strength, + uv: tile_uv + ); + + float3 orange_peel_normal = vm_tex_normal_lookup( + tex: tex_lin_tiles_orange_peel, + strength: tiles_orange_peel_bump_factor * 0.1f, + uv: base_uv + ); + + // Randomized Tiles normals - This needs to be probably rotated with the normal of the uv-tiles + float slope_amount = 0.07 * tiles_random_slope_orientation; + float3 slope = ::math::normalize( + ::state::texture_tangent_u(uv_space_index) * (rand_vals.y - 0.5) * slope_amount + + ::state::texture_tangent_v(uv_space_index) * (rand_vals.z - 0.5) * slope_amount + + ::state::normal() * ((1.0f - slope_amount) + 1.0f) + ); + + float3 tiles_slope_normal = add_detail_normal( + n: slope, + nd: tiles_normal + ); + + float3 tiles_slope_detail_normal = add_detail_normal( + n: tiles_slope_normal, + nd: wood_detail_normal + ); + + float3 normal_final = add_detail_normal( + n: tiles_slope_detail_normal, + nd: orange_peel_normal + ); + +// ******** Anisotropic Highlight ******** + // Lookup for anisotropic brightness variation + vm_coordinates aniso_brightnessvar_lookup_uv = vm_coord_post_scale( + uv: base_uv, + scale: texture_scale * 0.6 + ); + + ::base::texture_return aniso_brightnessvar_lookup = vm_tex_lookup( + tex: tex_lin_wood_rough_detail, + uv: aniso_brightnessvar_lookup_uv, + mono_source: mono_average + ); + + float aniso_brightnessvar = histogram_scan_big( + input: aniso_brightnessvar_lookup.mono, + width: 0.911, + position: aniso_attenuation + ); + + ::base::texture_return aniso_mod_lookup = vm_tex_lookup( + tex: tex_lin_wood_rough_detail, + uv: tile_uv, + mono_source: mono_average + ); + + float aniso_detail_u = histogram_range(aniso_mod_lookup.mono, 1.0, aniso_bsdf_width); + float aniso_detail_v = histogram_range(aniso_mod_lookup.mono, 1.0, aniso_bsdf_height); + + bsdf wood_highlight_aniso = ::df::weighted_layer( + layer: ::df::microfacet_ggx_smith_bsdf( + roughness_u: aniso_detail_u * aniso_detail_u, + roughness_v: aniso_detail_v * aniso_detail_v, + tint: color(aniso_brightnessvar), + tangent_u: rotated_tangent(texture_rotate, uv_space_index), + mode: ::df::scatter_reflect + ), + weight: 1.0f, + normal: tiles_slope_normal + ); + +// ******** Isotropic Highlight ******** + ::base::texture_return iso_mod_lookup = vm_tex_lookup( + tex: tex_lin_wood_rough_grain, + uv: tile_uv, + mono_source: mono_average + ); + + float iso_mod = histogram_range( + input: iso_mod_lookup.mono, + range: isotropic_roughness_range, + position: isotropic_roughness + ); + + float iso_mod_squared = iso_mod * iso_mod; + + bsdf wood_highlight_isotropic = ::df::microfacet_ggx_smith_bsdf( + roughness_u: iso_mod_squared, + roughness_v: iso_mod_squared, + tint: color(isotropic_specular_brightness), + mode: ::df::scatter_reflect + ); + +// ******** Comping Anisotropic and Isotropic Highlight ******** + + bsdf wood_highlight_isotropic_bumped = ::df::weighted_layer( + layer: wood_highlight_isotropic, + base: wood_highlight_aniso, + weight: anisotropic_isotropic_balance, + normal: tiles_slope_detail_normal + ); + + +// ******** Diffuse Comping ******** + + // Linear interpolation magic to keep brightness appear the same across different values for + // 'floor_brightness' and 'wood_brightness_variation' + + float floor_brightness_fix = ::math::lerp( + ::math::lerp(0.0f, 0.3f, floor_brightness), + ::math::lerp(0.42f, 1.0f, floor_brightness), + wood_brightness_variation); + + float floor_brightness_remap = floor_brightness_fix * 0.7f + 0.3f; // remapping from 0.3 to 0.7 + + + float4 diffuse_attenuation = float4(::math::lerp( + a: gaps_brightness, + b: floor_brightness_remap, + l: egdewear_gaps_gapsrough_lookup.y)); + + + ::base::texture_return diffuse_lookup = vm_tex_lookup( + tex: tex_srgb_wood_color, + uv: tile_uv, + mono_source: mono_a, + scale: diffuse_attenuation + ); + + // Randomly varies brightness from 0.73 - 1.0 which is a simplification from the two nested lerp calls used in a previous version + float rand_tile_brightness = 1.0f - 0.27 * wood_brightness_variation + 0.27 * wood_brightness_variation * rand_vals.z * R_2nd_col_G_randmask.y; + // float rand_tile_brightness = R_2nd_col_G_randmask.x; + + // adding the darkening of the dents texture channel + float rand_tile_brightness_dents = rand_tile_brightness * ::math::lerp(1.0f, rough_dents_spots_lookup.y, age_dirt); + + + ::base::texture_return tiles_rand_brightness = ::nvidia::core_definitions::blend_colors( + color_1: diffuse_lookup.tint, + color_2: color(::math::pow( a: rand_tile_brightness_dents, b: 2.2)), // do gamma compensation + mode: ::base::color_layer_multiply, + weight: 1.0f + ); + + // blend wood color and wood secondary color based on maps + ::base::texture_return wood_2_colored = ::nvidia::core_definitions::blend_colors( + color_1: wood_color, + color_2: wood_secondary_color, + mode: ::base::color_layer_blend, + weight: R_2nd_col_G_randmask.x + ); + + ::base::texture_return tiles_rand_brightness_tint = ::nvidia::core_definitions::blend_colors( + color_1: tiles_rand_brightness.tint, + color_2: wood_2_colored.tint, + mode: ::base::color_layer_overlay, + weight: .95f + ); + + bsdf diffuse = ::df::weighted_layer( + layer: ::df::diffuse_reflection_bsdf( + tint: tiles_rand_brightness_tint.tint + ), + normal: tiles_slope_detail_normal, + weight: 1.0 + ); + +// Diffuse + Highlights BSDF + + bsdf diffuse_and_highlights_bsdf = ::df::custom_curve_layer( + normal_reflectivity: wood_specular_level * 0.08, + grazing_reflectivity: 1.0f, + weight: aniso_brightnessvar , + layer: wood_highlight_isotropic_bumped, + base: diffuse + ); + +// DEBUG + bsdf debug_diffuse_and_highlights_bsdf = ::df::custom_curve_layer( + normal_reflectivity: wood_specular_level * 0.08, + grazing_reflectivity: 1.0f, + weight: aniso_brightnessvar , + layer: wood_highlight_isotropic_bumped + ); + +// Coating Layer + // separate controls for the reflectivity of the gaps and the general reflectivity of the coat + // Note that "gaps_brightness" also controls the diffuse texture (saving an additional parameter here) + float coating_weight = ::math::lerp( + a: gaps_brightness, + b: coating_reflectivity, + l: egdewear_gaps_gapsrough_lookup.y + ); + + // apply the coating layer + bsdf coated_wood_tiles_bsdf = ::df::custom_curve_layer( + normal_reflectivity: 0.03, //may as well be made adjustable (0.08 * specular_level) + grazing_reflectivity: 1.0f, + layer: coating_bsdf, + weight: coating_weight, + base: diffuse_and_highlights_bsdf, + normal: normal_final + ); + + +// ******** Round Corners ******** + float3 round_normal = round_corners ? + ::state::rounded_corner_normal( + radius: roundcorner_radius_mm * 0.001, // is in mm + across_materials: across_materials + ) : ::state::normal(); + +} in material( + surface: material_surface( + scattering: preview_wood_highlights ? debug_diffuse_and_highlights_bsdf : coated_wood_tiles_bsdf + ), + geometry: material_geometry( + normal: round_normal + ) +); + + +// ****************************************************************************************************** +// 01 + +export material Wood_Tiles_Beech_Melbury( + int seed = 0 [[ + ::anno::display_name("Randomization Seed"), + ::anno::description("Different seed values while causes different patterns of randomization on the tiles."), + ::anno::in_group("Randomization") + ]], + color wood_color = color(0.64181f, 0.81149f, 0.60815f) [[ + ::anno::display_name("Color Tint"), + ::anno::description("Applies an overlay color to tint the wood. A grayscale value of 0.5 has no effect, " + "brighter values brighten it while darker colors will have a darkening effect."), + ::anno::in_group("Appearance") + ]], + color wood_secondary_color = color(0.93793f, 0.63971f, 0.5261f) [[ + ::anno::display_name("Secondary Color Tint"), + ::anno::description("Choose the secondary overlay color to tint the wood. A grayscale value of 0.5 has no effect, " + "brighter values brighten it while darker colors will have a darkening effect."), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 0.1f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::display_name("Wood Brightness"), + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = 0.4f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::description("Adds a random brightness variation to the wooden tiles."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float2 wood_scale = 1.5f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Appearance", "Tiles"), + ::anno::soft_range(0.0f, 2.0f) + ]], + uniform float tiles_bump_strength = 0.4f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.05f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.3f [[ + ::anno::display_name("Grout Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + + float tiles_base_roughness = 0.15f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 0.6f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.0f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.0f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.0f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(.5f, .5f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Multicolor Melbury"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "melbury", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech_Multicolor.Wood_Tiles_Beech_Melbury.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Wood_Tiles_Beech_Multicolor( + seed: seed, + wood_color: wood_color, + wood_secondary_color: wood_secondary_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: 0.006f, + wood_scale: wood_scale, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./melbury_R_id_G_offset_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./melbury_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./melbury_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_R_2nd_col_G_randmask: texture_2d("./melbury_R_2ndcol_G_randmask.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) +); + + + +// 02 + +export material Wood_Tiles_Beech_Large_Star( + int seed = 0 [[ + ::anno::display_name("Randomization Seed"), + ::anno::description("Different seed values while causes different patterns of randomization on the tiles."), + ::anno::in_group("Randomization") + ]], + color wood_color = color(0.64181f, 0.81149f, 0.60815f) [[ + ::anno::display_name("Color Tint"), + ::anno::description("Applies an overlay color to tint the wood. A grayscale value of 0.5 has no effect, " + "brighter values brighten it while darker colors will have a darkening effect."), + ::anno::in_group("Appearance") + ]], + color wood_secondary_color = color(0.93793f, 0.63971f, 0.5261f) [[ + ::anno::display_name("Secondary Color Tint"), + ::anno::description("Choose the secondary overlay color to tint the wood. A grayscale value of 0.5 has no effect, " + "brighter values brighten it while darker colors will have a darkening effect."), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 1.0f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.1f [[ + ::anno::display_name("Wood Brightness"), + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = .4f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::description("Adds a random brightness variation to the wooden tiles."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float2 wood_scale = 1.5f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Appearance", "Tiles"), + ::anno::soft_range(0.0f, 2.0f) + ]], + uniform float tiles_bump_strength = 1.0f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.4f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.0f [[ + ::anno::display_name("Grout Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_base_roughness = 0.14f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 1.0f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.3f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.6f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.4f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(0.3333f, 0.3333f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Multicolor Large Star"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "star", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech_Multicolor.Wood_Tiles_Beech_Large_Star.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Beech_Multicolor( + seed: seed, + wood_color: wood_color, + wood_secondary_color: wood_secondary_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: 0.005f, + wood_scale: wood_scale, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./star_large_R_id_G_offset_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./star_large_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./star_large_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_R_2nd_col_G_randmask: texture_2d("./star_large_R_2ndcol_G_randmask.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) +); + + + +// 03 + +export material Wood_Tiles_Beech_Stars( + int seed = 0 [[ + ::anno::display_name("Randomization Seed"), + ::anno::description("Different seed values while causes different patterns of randomization on the tiles."), + ::anno::in_group("Randomization") + ]], + color wood_color = color(0.64181f, 0.81149f, 0.60815f) [[ + ::anno::display_name("Color Tint"), + ::anno::description("Applies an overlay color to tint the wood. A grayscale value of 0.5 has no effect, " + "brighter values brighten it while darker colors will have a darkening effect."), + ::anno::in_group("Appearance") + ]], + color wood_secondary_color = color(0.93793f, 0.63971f, 0.5261f) [[ + ::anno::display_name("Secondary Color Tint"), + ::anno::description("Choose the secondary overlay color to tint the wood. A grayscale value of 0.5 has no effect, " + "brighter values brighten it while darker colors will have a darkening effect."), + ::anno::in_group("Appearance") + ]], + uniform float wood_bump_strength = 1.0f // Determines the degree of bumpiness"), + [[ + ::anno::display_name("Wood Bump Strength"), + ::anno::description("Adjusts the strength of the wood bump map."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + float floor_brightness = 0.5f [[ + ::anno::display_name("Wood Brightness"), + ::anno::description("Adjusts the general brightness of the wood."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_brightness_variation = .35f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::description("Adds a random brightness variation to the wooden tiles."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float2 wood_scale = 1.0f [[ + ::anno::description("Sets the size of the wood relative to the tiles pattern. Larger numbers increase the size of the wood texture within the tiles."), + ::anno::display_name("Wood Scale"), + ::anno::in_group("Appearance", "Tiles"), + ::anno::soft_range(0.0f, 2.0f) + ]], + uniform float tiles_bump_strength = 1.0f [[ + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::anno::display_name("Tiles Bump Strength"), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_random_slope_orientation = 0.4f [[ + ::anno::display_name("Tiles Random Slope Orientation"), + ::anno::description("Makes tiles individual tiles to appear tilted in random directions. Good for old floors and to take away too perfect appearing tiled floors."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float gaps_brightness = 0.0f [[ + ::anno::display_name("Grout Brightness"), + ::anno::description("Adjusts the brightness and roughness of the gaps between the tiles."), + ::anno::in_group("Appearance", "Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float tiles_base_roughness = 0.16f [[ + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::anno::display_name("Coating Roughness"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float base_roughness_range = 1.0f [[ + ::anno::description("Applies roughness variation to the coating, introducing signs of wear such as footprints and smudges."), + ::anno::display_name("Coating Roughness Variation"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float tiles_orange_peel_bump_factor = 0.3f [[ + ::anno::display_name("Coating Unevenness"), + ::anno::description("Applies an unevenness to the clear coat layer akin to orange peel."), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float coating_reflectivity = 1.f [[ + ::anno::display_name("Coating Reflectivity"), + ::anno::description("The overall reflectivity of the clearcoat layer. Note that other parameters will show no effect when the clearcoat reflectivity is 0."), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_and_spots_amount = 0.6f [[ + ::anno::description("Adds random dirt and spots on top of the surface which adds variation to the clearcoat roughness."), + ::anno::display_name("Dirt and Spots"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + float edgewear_roughness_amount = 0.4f [[ + ::anno::description("Adds edgewear around the tile borders which results in a more worn and rough look of the clearcoat."), + ::anno::display_name("Edgewear Roughness Amount"), + ::anno::in_group("Appearance", "Tiles", "Coating"), + ::anno::enable_if("coating_reflectivity > 0.0f"), + ::anno::hard_range(0.f, 1.f) + ]], + + //----------------------------------------------- + + float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 1.0f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(0.5f, 0.5f)), + ::preview_scale(0.33f), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::description("Uses selected UV space for material."), + ::anno::in_group("Transform") + ]], + uniform bool round_corners = false [[ + ::anno::display_name("Round Corners"), + ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."), + ::anno::in_group("Round Corners") + ]], + uniform float roundcorner_radius_mm = 1.5f [[ + ::anno::display_name("Radius (mm)"), + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Tiles Beech - Multicolor Stars"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "beech", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "star", "stars", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Beech_Multicolor.Wood_Tiles_Beech_Stars.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Beech_Multicolor( + seed: seed, + wood_color: wood_color, + wood_secondary_color: wood_secondary_color, + wood_bump_strength: wood_bump_strength, + floor_brightness: floor_brightness, + wood_brightness_variation: wood_brightness_variation, + wood_random_rotation: 0.00f, + wood_scale: wood_scale, + + tiles_bump_strength: tiles_bump_strength, + tiles_random_slope_orientation: tiles_random_slope_orientation, + gaps_brightness: gaps_brightness, + tiles_orange_peel_bump_factor: tiles_orange_peel_bump_factor, + coating_reflectivity: coating_reflectivity, + tiles_base_roughness: tiles_base_roughness, + base_roughness_range: base_roughness_range, + dirt_and_spots_amount: dirt_and_spots_amount, + edgewear_roughness_amount: edgewear_roughness_amount, + + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + uv_space_index: uv_space_index, + + round_corners: round_corners, + roundcorner_radius_mm: roundcorner_radius_mm, + across_materials: across_materials, + + preview_wood_highlights: false, + isotropic_roughness: 0.194f, + isotropic_roughness_range: 0.648f, + isotropic_specular_brightness: 0.546f, + wood_specular_level: 0.880f, + aniso_attenuation: 0.519f, + aniso_bsdf_width: 0.306f, + aniso_bsdf_height: 0.407f, + anisotropic_isotropic_balance: 0.444f, + + tex_srgb_wood_color: texture_2d("./beech_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./beech_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./beech_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./beech_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_id_offset_rotation: texture_2d("./stars_R_id_G_offset_B_rotation.png", ::tex::gamma_linear), + tex_lin_tiles_edgewear_gaps_gapsrough: texture_2d("./stars_R_edgewear_G_gaps_B_gaps_rough.jpg", ::tex::gamma_linear), + tex_lin_tiles_normal: texture_2d("./stars_norm.jpg", ::tex::gamma_linear), + tex_lin_tiles_R_2nd_col_G_randmask: texture_2d("./stars_R_2ndcol_G_randmask.png", ::tex::gamma_linear), + tex_lin_tiles_rough_dents_spots: texture_2d("./tiles_wood_R_rough_G_dents_B_spots.jpg", ::tex::gamma_linear), + tex_lin_tiles_orange_peel: texture_2d("./tiles_wood_orangepeel_norm.jpg", ::tex::gamma_linear) +);