diff --git a/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_0.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_0.json new file mode 100644 index 0000000000000000000000000000000000000000..b41015284c81e2a795bf134c5bacb29983589f2e --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_0.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.31190084389218176, + -0.15100185520712747, + 0.795253547774744 + ], + "default_ori": [ + 0.7206230640270589, + -0.09926646638017159, + 0.6518080656977795, + -0.21446401501409715 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.22483085655180218, + -0.17904438137741074, + 0.795253547774744 + ], + "default_ori": [ + 0.713878265507021, + -0.07970492044596365, + 0.6544881293904338, + -0.23594540932258193 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.2899657905740381, + -0.19724701233299413, + 0.795253547774744 + ], + "default_ori": [ + 0.7399289029360095, + -0.17078152005332398, + 0.636821213736291, + -0.13340776867794046 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.26520022656758324, + -0.10753900090299096, + 0.795253547774744 + ], + "default_ori": [ + 0.7321360135231323, + -0.13798266791236763, + 0.6447234827521579, + -0.17108264624493438 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.26734275870494195, + -0.15422686460747062, + 0.8207 + ], + "default_ori": [ + 0.9788527859334851, + 0.0, + 0.0, + -0.20456593917427915 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.01959118560977025, + -0.20491725039612185, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_1.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_1.json new file mode 100644 index 0000000000000000000000000000000000000000..adcdf0682c9fcb20d53b53b9b45091f3d3ab1e77 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_1.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.21316117052044278, + -0.15223981577131881, + 0.795253547774744 + ], + "default_ori": [ + 0.7486845239314832, + 0.07432733123982709, + 0.6551206252951067, + 0.06902099513337757 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.2889915308010971, + -0.17452126890439823, + 0.795253547774744 + ], + "default_ori": [ + 0.751293964616281, + 0.15908158101564068, + 0.6398442282601686, + -0.029151207091026712 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.22373737633173477, + -0.2022007248874385, + 0.795253547774744 + ], + "default_ori": [ + 0.7488560327674298, + 0.07597754221402632, + 0.6549312932937335, + 0.06713461351299493 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.26637510951258253, + -0.11136508887629767, + 0.795253547774744 + ], + "default_ori": [ + 0.6998412584789399, + -0.11106475231000755, + 0.6499016899890346, + 0.2747992486786073 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.25401860747851246, + -0.16006043535296594, + 0.8207 + ], + "default_ori": [ + 0.9932066117893711, + 0.0, + 0.0, + 0.11636419680416098 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.02582137586989661, + -0.18472626992424462, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_10.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_10.json new file mode 100644 index 0000000000000000000000000000000000000000..d019af8ddf8f08fd6b618d4d7b8ee69aee1454b2 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_10.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.15732302176385943, + -0.08395595807467587, + 0.7952535477747441 + ], + "default_ori": [ + 0.7492539939571998, + -0.014105742137992264, + 0.6591726738078749, + 0.06253692255698202 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.21525715434061796, + -0.1200041501683348, + 0.7952535477747441 + ], + "default_ori": [ + 0.7125589684761393, + -0.17133211883229427, + 0.6366732999841624, + 0.23990025132945128 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.17049768487561964, + -0.15018385259238745, + 0.7952535477747441 + ], + "default_ori": [ + 0.7330299988562121, + -0.10660085522940256, + 0.6506487866127522, + 0.16721075001498925 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.22952397072626057, + -0.06158760084215713, + 0.7952535477747441 + ], + "default_ori": [ + 0.7123922063771315, + -0.1717741929164237, + 0.6365541709110057, + 0.2403950050164021 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.19558059188952234, + -0.10465936431938262, + 0.8207 + ], + "default_ori": [ + 0.9989824727757088, + 0.0, + 0.0, + 0.045100100741907956 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.03711787921772995, + -0.1287617023376217, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_11.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_11.json new file mode 100644 index 0000000000000000000000000000000000000000..ebf65c3c5b2becf921722299a04b9206b4655e80 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_11.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.438068611288193, + -0.16068638720562273, + 0.795253547774744 + ], + "default_ori": [ + 0.7506986648749815, + -0.07187770755000572, + 0.655393912859772, + 0.041760372347879396 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.4221368796223636, + -0.09505599898341963, + 0.795253547774744 + ], + "default_ori": [ + 0.7123603591625225, + 0.17708087782573298, + 0.635098377076146, + -0.24048936117332825 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.37044108705289197, + -0.1143711447822251, + 0.795253547774744 + ], + "default_ori": [ + 0.7114281573745729, + 0.17952740220070718, + 0.6344111424899094, + -0.24323320299320453 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.3686795272648258, + -0.17321260139212333, + 0.795253547774744 + ], + "default_ori": [ + 0.7518586299530362, + -0.03448222621019928, + 0.6584212647931985, + -0.001007327581655778 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.3990334076005422, + -0.13642875032374424, + 0.8207 + ], + "default_ori": [ + 0.9999199333753077, + 0.0, + 0.0, + -0.012654123388056942 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.04989925058107919, + -0.1513252151249816, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_12.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_12.json new file mode 100644 index 0000000000000000000000000000000000000000..222b48441ad7be0d10af07bf7bfebc6573b20e56 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_12.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.2813176003544072, + -0.14233292099234202, + 0.795253547774744 + ], + "default_ori": [ + 0.7356001947583666, + -0.2664111075995299, + 0.6031025680627453, + 0.1555145254153667 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.35165236371377123, + -0.08762541573025098, + 0.795253547774744 + ], + "default_ori": [ + 0.7510688911220906, + -0.16533673333561272, + 0.6382564926941168, + 0.03446643196425814 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.2874871880215113, + -0.09494610818706938, + 0.795253547774744 + ], + "default_ori": [ + 0.7400231860873904, + -0.2477913217628317, + 0.6109885814933985, + 0.1328837770263209 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.35308635609758643, + -0.1485305118614578, + 0.795253547774744 + ], + "default_ori": [ + 0.727998101943335, + 0.029655332008308728, + 0.658656319441151, + -0.1879126864014644 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.3208636872823109, + -0.11831752670994741, + 0.8207 + ], + "default_ori": [ + 0.9959858791609625, + 0.0, + 0.0, + -0.08951049386504734 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04426150499633232, + -0.17018709290699213, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_13.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_13.json new file mode 100644 index 0000000000000000000000000000000000000000..1cbe6b77885bd05256f8348d606d99686c7525c6 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_13.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.22716856562498644, + -0.19158551019777115, + 0.795253547774744 + ], + "default_ori": [ + 0.6968687305440366, + -0.10887180308565857, + 0.6502726477018422, + 0.2822523454883175 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.1730300956863504, + -0.24012678765550877, + 0.795253547774744 + ], + "default_ori": [ + 0.7466113377725678, + 0.21811559986984808, + 0.6222002659511671, + -0.08867877115279743 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.13068413281237767, + -0.17692742701682623, + 0.795253547774744 + ], + "default_ori": [ + 0.7377760959860294, + 0.26450678268686845, + 0.6039401855887125, + -0.14484076199511897 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.19706021268934065, + -0.1348991860335914, + 0.795253547774744 + ], + "default_ori": [ + 0.7382403106234076, + 0.2625537100099527, + 0.6047918114659757, + -0.14245581039174235 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.17996713937027664, + -0.1887870319805583, + 0.8207 + ], + "default_ori": [ + 0.9923649249920513, + 0.0, + 0.0, + 0.12333635167913981 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04375643065622131, + -0.2041378599844178, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_14.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_14.json new file mode 100644 index 0000000000000000000000000000000000000000..d1202632a1b81b1b617209880e3acc51aad1a9e5 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_14.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.2592400423275923, + -0.06770292005452903, + 0.7952535477747441 + ], + "default_ori": [ + 0.7272642531325465, + -0.13953114778801834, + 0.644390133888815, + -0.1907331126450587 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.2284326034681906, + -0.16029971978111585, + 0.7952535477747441 + ], + "default_ori": [ + 0.7497709953073962, + -0.25381985787268646, + 0.6085088870392741, + -0.05599882801871833 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.29036324110000983, + -0.13309920299247088, + 0.7952535477747441 + ], + "default_ori": [ + 0.6948949198801522, + -0.051346561983844255, + 0.6573211668801835, + -0.2870774537794124 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.2200481843054552, + -0.10509642006833167, + 0.7952535477747441 + ], + "default_ori": [ + 0.7413207756418891, + -0.19616411213480603, + 0.6294658266869219, + -0.12544290233178373 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.24679505644354127, + -0.11943229421777433, + 0.8207 + ], + "default_ori": [ + 0.9757476494519999, + 0.0, + 0.0, + -0.21889843441399326 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.034825246113994776, + -0.15745734112232357, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_15.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_15.json new file mode 100644 index 0000000000000000000000000000000000000000..dd25a84ea03445faf2a499c3831a63143b8ad5bb --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_15.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.21604680098802845, + -0.20057424061020532, + 0.795253547774744 + ], + "default_ori": [ + 0.7369233121817514, + -0.05503700328603566, + 0.6570224608988491, + 0.14911889922739643 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.20227716899349785, + -0.10813213310931458, + 0.795253547774744 + ], + "default_ori": [ + 0.6967363390651922, + -0.17536547190053642, + 0.6355741790864297, + 0.2825789942117905 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.2544620785171098, + -0.1607371178291476, + 0.795253547774744 + ], + "default_ori": [ + 0.7367670733576082, + -0.055723593286363844, + 0.6569645858092678, + 0.1498889380834308 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.16039374649072868, + -0.1622103400178805, + 0.795253547774744 + ], + "default_ori": [ + 0.7513011766488478, + 0.10153814501107009, + 0.6514580500415953, + -0.028964739076515138 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.2102834793761168, + -0.15449197024811248, + 0.8207 + ], + "default_ori": [ + 0.9973932944195988, + 0.0, + 0.0, + 0.07215688634371377 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.03286928634039611, + -0.12465689370046397, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_16.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_16.json new file mode 100644 index 0000000000000000000000000000000000000000..cb4472c44217d1487b4802cab658df4474c1f9d6 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_16.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.19745092268934192, + -0.2105685526406932, + 0.795253547774744 + ], + "default_ori": [ + 0.7299874490931386, + -0.19667989003364833, + 0.6293048599150007, + -0.18002982616834914 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.1380857755873859, + -0.1939522960599552, + 0.795253547774744 + ], + "default_ori": [ + 0.7434888315450393, + -0.2539293263463086, + 0.6084632142353362, + -0.11187837821270794 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.20638436571862165, + -0.15279793036312794, + 0.795253547774744 + ], + "default_ori": [ + 0.6738456327533903, + -0.05606212504031441, + 0.6569357837660015, + -0.33350333935793897 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.16530774163525747, + -0.24925933666289124, + 0.795253547774744 + ], + "default_ori": [ + 0.7423247542227043, + -0.2477904326693784, + 0.6109889420716295, + -0.11935817279061883 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.17955959678785494, + -0.19502615615462895, + 0.8207 + ], + "default_ori": [ + 0.9668564982561699, + 0.0, + 0.0, + -0.255320410033779 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.027892675607149756, + -0.13403882035931947, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_17.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_17.json new file mode 100644 index 0000000000000000000000000000000000000000..8e8360fe6284486a6d0d54e3530299b59db4f1ab --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_17.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.14553234661639064, + -0.11804269873589468, + 0.795253547774744 + ], + "default_ori": [ + 0.7012438072297338, + -0.24108092027606778, + 0.6136673168216887, + 0.2712001787714408 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.19583424453103673, + -0.07119060876367242, + 0.795253547774744 + ], + "default_ori": [ + 0.7220220967680293, + -0.18725240188289027, + 0.6321741246249921, + 0.20970576034628127 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.11677808837355921, + -0.07561696098142913, + 0.795253547774744 + ], + "default_ori": [ + 0.7123328056102055, + -0.2142733866553567, + 0.6235338816997282, + 0.24057096290950541 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.18645854078396842, + -0.14126840515280886, + 0.795253547774744 + ], + "default_ori": [ + 0.6983877420120354, + -0.24744488507397144, + 0.6111289673276958, + 0.2784725766588951 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.16039805684245323, + -0.10320644295963123, + 0.8207 + ], + "default_ori": [ + 0.9999335934318168, + 0.0, + 0.0, + 0.011524266854524312 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04006781926165508, + -0.2067457006148844, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_18.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_18.json new file mode 100644 index 0000000000000000000000000000000000000000..e06107f138591e372b8f3e2a9695bed734a6018a --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_18.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.3005206078233025, + -0.1621507807879007, + 0.7952535477747441 + ], + "default_ori": [ + 0.7224043750745083, + 0.08204393984443875, + 0.6541990353027806, + -0.20838505948585362 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.3593071341459006, + -0.1246635202552594, + 0.7952535477747441 + ], + "default_ori": [ + 0.7512670311560116, + -0.12825403315032413, + 0.6467290691139237, + 0.02983725928676926 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.3467019896801742, + -0.07200353664224704, + 0.7952535477747441 + ], + "default_ori": [ + 0.751855029883645, + -0.10468353021313234, + 0.6509600174806459, + 0.0025353860409460666 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.2894671370412477, + -0.09795093707370049, + 0.7952535477747441 + ], + "default_ori": [ + 0.7518592313818949, + -0.10220004939222249, + 0.6513545392184766, + -0.00033215890721685626 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.3278461871086781, + -0.11866179839457909, + 0.8207 + ], + "default_ori": [ + 0.9979615594643599, + 0.0, + 0.0, + -0.06381791152539334 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04763724292785316, + -0.11953466950639204, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_19.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_19.json new file mode 100644 index 0000000000000000000000000000000000000000..338182644d4610e62d3169ceee66a56864e8c0e0 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_19.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.3083892930501284, + -0.06032689092799715, + 0.795253547774744 + ], + "default_ori": [ + 0.7456856322678517, + -0.08234855509794602, + 0.6541607610744986, + -0.09615275333035397 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.3198555589363337, + -0.1616108528387426, + 0.795253547774744 + ], + "default_ori": [ + 0.7444136198892152, + -0.0740915676069811, + 0.6551473311140226, + -0.10554987762734908 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.2908910604462856, + -0.11890671195338853, + 0.795253547774744 + ], + "default_ori": [ + 0.7400765425338652, + -0.050186480347969686, + 0.6574107567165064, + -0.13258629391771115 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.3555992492594398, + -0.10879102389887468, + 0.795253547774744 + ], + "default_ori": [ + 0.7517627436617125, + -0.15508062808090994, + 0.640825705360137, + -0.012049538826353401 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.31282881507650334, + -0.1060817679089473, + 0.8207 + ], + "default_ori": [ + 0.9936724119792949, + 0.0, + 0.0, + -0.11231712991013669 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.008499539481183992, + -0.20544978802431907, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_2.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_2.json new file mode 100644 index 0000000000000000000000000000000000000000..baf2d4c327bb02e249ede5996d299f93ca0ac3d7 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_2.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.19177838525182322, + -0.145044020175515, + 0.7952535477747441 + ], + "default_ori": [ + 0.704347236483885, + -0.01703842732572089, + 0.6591033893484032, + -0.2630349493911937 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.1383793877978293, + -0.23167271243677312, + 0.7952535477747441 + ], + "default_ori": [ + 0.6656818807306781, + 0.06597452611633985, + 0.6560144417312862, + -0.34951401661532944 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.18721483276354217, + -0.20548636300693573, + 0.7952535477747441 + ], + "default_ori": [ + 0.7073716310404167, + -0.024736090075429998, + 0.6588594020760931, + -0.25478969708945154 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.11776195788289139, + -0.178129452388884, + 0.7952535477747441 + ], + "default_ori": [ + 0.7355000299481474, + -0.36804761371143635, + 0.5470361413084185, + 0.1559875638952923 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.1621899617858027, + -0.19141053990921972, + 0.8207 + ], + "default_ori": [ + 0.9842972220987594, + 0.0, + 0.0, + -0.1765190600718963 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.043218926902436755, + -0.1767986512870488, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_20.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_20.json new file mode 100644 index 0000000000000000000000000000000000000000..b6d7fc138e3b463240eb6f4b107f993126c18095 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_20.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.25605328449761205, + -0.13887393370217793, + 0.795253547774744 + ], + "default_ori": [ + 0.7422878582073456, + 0.293423890620396, + 0.5904320505100282, + -0.11958741447855283 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.27754728672909657, + -0.09268863776065452, + 0.795253547774744 + ], + "default_ori": [ + 0.7495968519257106, + 0.2439929208635611, + 0.6125153389301812, + -0.058283563092675655 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.19781977482068747, + -0.0770646319322067, + 0.795253547774744 + ], + "default_ori": [ + 0.7453482005260298, + 0.2767590004345762, + 0.5984246331283004, + -0.09873436137598102 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.19899510248048005, + -0.13137531678276096, + 0.795253547774744 + ], + "default_ori": [ + 0.6299295055902292, + -0.17968420062975, + 0.6343667503111543, + 0.4104646539357111 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.23519050762381177, + -0.10072552417450446, + 0.8207 + ], + "default_ori": [ + 0.9864317728362283, + 0.0, + 0.0, + 0.16417173185166722 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.028289199145808346, + -0.14674063761365375, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_21.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_21.json new file mode 100644 index 0000000000000000000000000000000000000000..656facb71349f6dfa7e70ccf8fda2bfc6021590c --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_21.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.16110444151135822, + -0.1985377102021334, + 0.7952535477747441 + ], + "default_ori": [ + 0.7170760095502475, + -0.13030136623861058, + 0.6463196885540764, + -0.22604072790363888 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.22011768089097966, + -0.15937056570924898, + 0.7952535477747441 + ], + "default_ori": [ + 0.715463174217054, + -0.12573757554920645, + 0.6472230279828541, + -0.23109491660997455 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.15517022797400237, + -0.14288363054909659, + 0.7952535477747441 + ], + "default_ori": [ + 0.6980841678225252, + -0.08141548639021375, + 0.6542775438849567, + -0.27923271437860947 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.22420942243264202, + -0.21493937361145649, + 0.7952535477747441 + ], + "default_ori": [ + 0.7182813008450917, + -0.13377543068301698, + 0.6456095724211809, + -0.22218097803366602 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.19419262914482444, + -0.17084818054403847, + 0.8207 + ], + "default_ori": [ + 0.9718172806804568, + 0.0, + 0.0, + -0.23573538760831447 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.0002577308300245497, + -0.13512094426397098, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_22.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_22.json new file mode 100644 index 0000000000000000000000000000000000000000..cc2926c460051dcddc2aaff2d70406fa07cd7eb5 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_22.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.2087656379017726, + -0.12899233385877304, + 0.795253547774744 + ], + "default_ori": [ + 0.747022649384823, + 0.03349992506237809, + 0.658471974253348, + -0.08514443874847817 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.1874722464532227, + -0.22277995672100662, + 0.795253547774744 + ], + "default_ori": [ + 0.7366144851297262, + -0.17228529478422935, + 0.6364160298557837, + 0.1506370287837023 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.22852804150327977, + -0.18723304685614753, + 0.795253547774744 + ], + "default_ori": [ + 0.7096848804252406, + -0.2562584598620061, + 0.6074859567145887, + 0.24827360842329932 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.1469959351153947, + -0.15830951893849687, + 0.795253547774744 + ], + "default_ori": [ + 0.7299193537406317, + -0.197883801432875, + 0.6289273304498392, + 0.18030571587881555 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.19406673743727249, + -0.17410555391185892, + 0.8207 + ], + "default_ori": [ + 0.9998529159216589, + 0.0, + 0.0, + -0.01715070036342676 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.024519136296410202, + -0.13624136341204768, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_23.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_23.json new file mode 100644 index 0000000000000000000000000000000000000000..71b1346ea2468064eb0968b6c7f728d1e60f73d5 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_23.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.10403725940890682, + -0.10489677604823307, + 0.7952535477747441 + ], + "default_ori": [ + 0.7514406728982452, + -0.25701139099757275, + 0.6071677945624088, + -0.02508643573618985 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.18882403952381263, + -0.10101116440363403, + 0.7952535477747441 + ], + "default_ori": [ + 0.746008230886671, + -0.2004793338700133, + 0.6281047862795844, + -0.09361695141935023 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.1359483872204681, + -0.05199309359991146, + 0.7952535477747441 + ], + "default_ori": [ + 0.745429250894972, + -0.3528314401681667, + 0.556971777278835, + 0.0981205689642819 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.13897293723288853, + -0.1597049293458623, + 0.7952535477747441 + ], + "default_ori": [ + 0.7516328452685429, + -0.2623611620388894, + 0.6048753644428663, + -0.018452101702195634 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.14015464177586345, + -0.1030647706602442, + 0.8207 + ], + "default_ori": [ + 0.9795221746104174, + 0.0, + 0.0, + -0.20133630930976926 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04851723664365318, + -0.18826952596429747, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_24.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_24.json new file mode 100644 index 0000000000000000000000000000000000000000..da7bd908b0b96c73ec4511178eb611ba98cc3225 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_24.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.344248353697645, + -0.1446873361772906, + 0.7952535477747441 + ], + "default_ori": [ + 0.6707178920236367, + 0.0006723892658486441, + 0.6593232391998343, + -0.33974979538343025 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.39123040056937386, + -0.12596543412761338, + 0.7952535477747441 + ], + "default_ori": [ + 0.6529155273934257, + 0.03359524092213523, + 0.6584671181187944, + -0.3728186264556511 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.40085930011164994, + -0.0670554424460206, + 0.7952535477747441 + ], + "default_ori": [ + 0.7391280105890348, + -0.18446430240272488, + 0.6329932914299824, + -0.13777589813319746 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.3372524558666201, + -0.07577688446275818, + 0.7952535477747441 + ], + "default_ori": [ + 0.7518271008327584, + -0.30276864742200216, + 0.585695084488967, + 0.00695877842174622 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.372608914073585, + -0.1060743769847121, + 0.8207 + ], + "default_ori": [ + 0.9759522862780277, + 0.0, + 0.0, + -0.2179842538090557 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.046992290605823495, + -0.13816767059451804, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_25.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_25.json new file mode 100644 index 0000000000000000000000000000000000000000..6e2e7406a4079561b54ffd766b2863e3e0cf65b3 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_25.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.33948196768646444, + -0.11966626450042245, + 0.795253547774744 + ], + "default_ori": [ + 0.6191805038654383, + -0.13077189159704433, + 0.6462246499665713, + 0.42650664446952696 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.3610622588606742, + -0.18652321546934014, + 0.795253547774744 + ], + "default_ori": [ + 0.7114732031282263, + 0.04892251677342778, + 0.6575060252262638, + 0.2431014096507365 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.42171385428611463, + -0.15813905561263616, + 0.795253547774744 + ], + "default_ori": [ + 0.7408133962973303, + 0.15152693202500458, + 0.6416752876084417, + 0.12840531924390142 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.39207138173182315, + -0.09245886460465604, + 0.795253547774744 + ], + "default_ori": [ + 0.7112364465625943, + 0.04828305822851657, + 0.6575532922466347, + 0.24379321406619867 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.3805761683653832, + -0.14099527369494586, + 0.8207 + ], + "default_ori": [ + 0.9767760912792931, + 0.0, + 0.0, + 0.2142626134096805 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.007834268775892227, + -0.12489145148142539, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_26.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_26.json new file mode 100644 index 0000000000000000000000000000000000000000..98f2a06a7f60ebc361cdbea456bed1f0646b8977 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_26.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.3105743180655244, + -0.09769058685299883, + 0.795253547774744 + ], + "default_ori": [ + 0.6530479464123811, + -0.018127136767631863, + 0.6590743454033802, + 0.3725866259412503 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.35379591364434104, + -0.14353780621475484, + 0.795253547774744 + ], + "default_ori": [ + 0.7499781337245361, + 0.3511890278683435, + 0.5580088283899944, + -0.05315273350238078 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.2865591315929401, + -0.15379606582623762, + 0.795253547774744 + ], + "default_ori": [ + 0.6522843649748642, + -0.019475392797991847, + 0.6590358828862433, + 0.3739218118177269 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.3563912886764397, + -0.0836364548037205, + 0.795253547774744 + ], + "default_ori": [ + 0.6324003604008399, + -0.05300455124680575, + 0.657189549067399, + 0.40664751113046443 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.3180746454031418, + -0.11861690083694888, + 0.8207 + ], + "default_ori": [ + 0.9664761400329949, + 0.0, + 0.0, + 0.256756442464299 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.03762226611441841, + -0.18643105346905137, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_27.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_27.json new file mode 100644 index 0000000000000000000000000000000000000000..6d90b7ec9d3908e4b7033d1f15b0e3b9ef7de0b6 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_27.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.2924326702848534, + -0.18001058518854407, + 0.7952535477747441 + ], + "default_ori": [ + 0.727814349029621, + -0.33893587086836924, + 0.5655351989885218, + 0.18862313614798787 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.3570345461330814, + -0.1235246999045822, + 0.7952535477747441 + ], + "default_ori": [ + 0.7509952137000431, + -0.15568914467714556, + 0.6406781376681941, + -0.03603613663172264 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.28662375494414005, + -0.11713235628783378, + 0.7952535477747441 + ], + "default_ori": [ + 0.7264995959402187, + -0.3428181506570662, + 0.5631902888334952, + 0.1936252856483694 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.3626987757863686, + -0.1729793957881375, + 0.7952535477747441 + ], + "default_ori": [ + 0.7518412227063783, + -0.18182656781818735, + 0.6337560138505549, + -0.005214401508476338 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.32526663102383474, + -0.14597517278013908, + 0.8207 + ], + "default_ori": [ + 0.9916923392973241, + 0.0, + 0.0, + -0.1286324382844431 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.0025107193566941857, + -0.21877728274307978, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_28.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_28.json new file mode 100644 index 0000000000000000000000000000000000000000..e4f1a9a08745c4040e7a8c477770373df0095a24 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_28.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.3459050483779543, + -0.10448077365879997, + 0.795253547774744 + ], + "default_ori": [ + 0.7149327749099268, + -0.17027769323165926, + 0.6369561154773471, + 0.23273062003807166 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.37715624204085896, + -0.18378920351559186, + 0.795253547774744 + ], + "default_ori": [ + 0.7425307014287856, + -0.0685791471265692, + 0.6557472732964118, + 0.11807019767659033 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.32214891552520925, + -0.14931940379223121, + 0.795253547774744 + ], + "default_ori": [ + 0.7060667363194585, + -0.1931570558807521, + 0.6303950647171712, + 0.258383780464064 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.4112166403763883, + -0.14478497664838172, + 0.795253547774744 + ], + "default_ori": [ + 0.7500013963462426, + -0.01109430540854726, + 0.6592302346250425, + 0.05282347605373682 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.36708041851765605, + -0.13569763127003048, + 0.8207 + ], + "default_ori": [ + 0.9991628610761688, + 0.0, + 0.0, + 0.040909376016807976 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.01907821859233232, + -0.18120664068004794, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_29.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_29.json new file mode 100644 index 0000000000000000000000000000000000000000..3187c005ff7358a313d7d9bb531aca4025d80f52 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_29.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.3331219235217164, + -0.1512097346734657, + 0.795253547774744 + ], + "default_ori": [ + 0.7512162315409006, + -0.09364648933116798, + 0.6526391965644065, + 0.03108999217113794 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.4094249864205836, + -0.17450613375894666, + 0.795253547774744 + ], + "default_ori": [ + 0.7253172082628693, + 0.10852198959419458, + 0.6503311184549022, + -0.19800848855912948 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.34959116529472595, + -0.20318279285203805, + 0.795253547774744 + ], + "default_ori": [ + 0.7474901577089538, + 0.004420907579996532, + 0.6593087603183015, + -0.0809374960815867 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.39443013851254555, + -0.11735299058030091, + 0.795253547774744 + ], + "default_ori": [ + 0.7098859257092793, + -0.2789645698165284, + 0.59739966073255, + 0.24769817646400386 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.3742400707514039, + -0.15977160767591836, + 0.8207 + ], + "default_ori": [ + 0.9993376040896036, + 0.0, + 0.0, + -0.036391661853380525 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.027978091937434727, + -0.13157419861029268, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_3.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_3.json new file mode 100644 index 0000000000000000000000000000000000000000..9121eb979c005019949bf356c5851c93c2c39f17 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_3.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.16053188608860083, + -0.20903396583008016, + 0.795253547774744 + ], + "default_ori": [ + 0.7471637196102879, + 0.26332137548304546, + 0.604457971301565, + -0.083897498424163 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.20172672982532877, + -0.24901588780153644, + 0.795253547774744 + ], + "default_ori": [ + 0.7465342142218759, + 0.26770764867256425, + 0.6025281741947787, + -0.08932570257120669 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.2408957901145828, + -0.20017167658005489, + 0.795253547774744 + ], + "default_ori": [ + 0.6751442031049841, + -0.10286013769310738, + 0.651250626049635, + 0.3308666183788407 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.2088539871547002, + -0.1492606558767489, + 0.795253547774744 + ], + "default_ori": [ + 0.6862540708343516, + -0.08012441335012396, + 0.6544369062343481, + 0.30716081196499334 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.19623136389471757, + -0.1938556027749354, + 0.8207 + ], + "default_ori": [ + 0.9866329882116491, + 0.0, + 0.0, + 0.16295811293873003 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.03314710941607514, + -0.1875998711529181, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_30.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_30.json new file mode 100644 index 0000000000000000000000000000000000000000..9f90d72e4169eadc15b7299875f0aaf6143c2abe --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_30.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.18649388122504862, + -0.0813411617657109, + 0.795253547774744 + ], + "default_ori": [ + 0.7481288327380221, + -0.19442801825279987, + 0.630004231394183, + -0.07480416946773734 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.12307644890957115, + -0.1090974754213791, + 0.795253547774744 + ], + "default_ori": [ + 0.7106786031693612, + -0.0438089523553994, + 0.6578665225939141, + -0.2454146229159121 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.20438351874980537, + -0.15430105101044722, + 0.795253547774744 + ], + "default_ori": [ + 0.7028345334896053, + -0.0236538260863631, + 0.6588991443064429, + -0.2670506181946825 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.14950171775295895, + -0.16976385817036058, + 0.795253547774744 + ], + "default_ori": [ + 0.6871034364165195, + 0.012577100513013875, + 0.659203612246605, + -0.30525609217233224 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.16234130806018277, + -0.12308500928090435, + 0.8207 + ], + "default_ori": [ + 0.9828770132293966, + 0.0, + 0.0, + -0.18426279294871364 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.01771454483800802, + -0.21317511367160458, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_31.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_31.json new file mode 100644 index 0000000000000000000000000000000000000000..7281dfa8fde1a88127c4881aa0b82f13b33d8c3f --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_31.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.2342133504876475, + -0.1685426499144467, + 0.7952535477747441 + ], + "default_ori": [ + 0.696287709683562, + 0.12125835413996737, + 0.6480771539003306, + -0.28368263867803595 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.1453663184265874, + -0.13568543732521496, + 0.7952535477747441 + ], + "default_ori": [ + 0.7349105456226098, + 0.007128004919956604, + 0.659285050188572, + -0.15874162679143572 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.20561257354982282, + -0.10106594168746305, + 0.7952535477747441 + ], + "default_ori": [ + 0.7332281753933658, + 0.013951344697785806, + 0.6591759596931689, + -0.1663395832417202 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.1864082213097399, + -0.19177637829517347, + 0.7952535477747441 + ], + "default_ori": [ + 0.7164477069644141, + 0.06989635570058472, + 0.6556081797202229, + -0.22802433494946667 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.1920826058567413, + -0.14079976980081518, + 0.8207 + ], + "default_ori": [ + 0.996236649650762, + 0.0, + 0.0, + -0.08667489770761272 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.03521459244101258, + -0.14423776597345517, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_32.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_32.json new file mode 100644 index 0000000000000000000000000000000000000000..2ddce6fb0542a37cc6073ff8d86c8d5e2a24dc18 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_32.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.21024606338734694, + -0.18054450540746037, + 0.795253547774744 + ], + "default_ori": [ + 0.7315886281618258, + 0.019093215542147532, + 0.659047065828039, + 0.17340845794831106 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.2031509099433264, + -0.08389371337662845, + 0.795253547774744 + ], + "default_ori": [ + 0.6477246810462378, + -0.17642632104367262, + 0.6352805200061478, + 0.38176583360387645 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.17277826826295112, + -0.13063047752522605, + 0.795253547774744 + ], + "default_ori": [ + 0.7371919271462494, + 0.2924369875298165, + 0.5909214788622703, + -0.14778523841748265 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.25714473854490705, + -0.1323085886996685, + 0.795253547774744 + ], + "default_ori": [ + 0.7503248113167001, + 0.21090142974447568, + 0.6246824575638591, + -0.0480113701769878 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.21062971667856834, + -0.1314911862535177, + 0.8207 + ], + "default_ori": [ + 0.9895021598793604, + 0.0, + 0.0, + 0.1445180805092592 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.012049728897499171, + -0.12306097773598682, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_33.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_33.json new file mode 100644 index 0000000000000000000000000000000000000000..f568c38f3e59045574e80ab06ef811f194d01f9d --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_33.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.22902732883108148, + -0.17172560349880484, + 0.795253547774744 + ], + "default_ori": [ + 0.661449998854791, + -0.2488257850648198, + 0.6105680261389083, + 0.35745812783976594 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.14231487208877822, + -0.23036661725040525, + 0.795253547774744 + ], + "default_ori": [ + 0.689168918939824, + -0.19659550928749003, + 0.6293312256548844, + 0.30056382901311945 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.14643728307279072, + -0.17032849011835793, + 0.795253547774744 + ], + "default_ori": [ + 0.7395881777843593, + -0.047722825123925776, + 0.6575941893131948, + 0.1352839289247789 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.19673188470808073, + -0.22575725384260192, + 0.795253547774744 + ], + "default_ori": [ + 0.6676235070211676, + -0.23806845543592783, + 0.6148422532508955, + 0.34579078503695043 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.18883906336346512, + -0.19985042021732768, + 0.8207 + ], + "default_ori": [ + 0.9976607052602098, + 0.0, + 0.0, + 0.06836020172367036 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.03039663494624043, + -0.1756877627829282, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_34.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_34.json new file mode 100644 index 0000000000000000000000000000000000000000..cd2e3b0c0ced07dc89af2f497b34486ee7e82e1d --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_34.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.16980986475409188, + -0.17322061848397613, + 0.7952535477747441 + ], + "default_ori": [ + 0.7494368498232252, + 0.07655927850127639, + 0.6548635451234484, + 0.06030607159112812 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.23443149831910554, + -0.15528423177506515, + 0.7952535477747441 + ], + "default_ori": [ + 0.7454464071471885, + 0.21201313476813188, + 0.624306027955903, + -0.09799014345872609 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.16719687768049787, + -0.11113149855252381, + 0.7952535477747441 + ], + "default_ori": [ + 0.7505015162788352, + 0.16744888771291006, + 0.6377056184949258, + -0.045165121574983286 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.22839910723087398, + -0.101357420735463, + 0.7952535477747441 + ], + "default_ori": [ + 0.7449747980434248, + 0.21496236002098143, + 0.6232966947052557, + -0.10151337066550452 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.2012244246464061, + -0.13873867813797977, + 0.8207 + ], + "default_ori": [ + 0.9936768574895576, + 0.0, + 0.0, + 0.1122777933951211 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04953578859955768, + -0.16328200879371602, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_35.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_35.json new file mode 100644 index 0000000000000000000000000000000000000000..a763ceb6c1f0e409a8321ebfe5535fd14491600d --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_35.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.2075969276774071, + -0.10003931169992145, + 0.7952535477747441 + ], + "default_ori": [ + 0.741934157188367, + 0.1420953743701162, + 0.6438295507654982, + 0.1217625580418759 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.19722244246029363, + -0.16767999873188455, + 0.7952535477747441 + ], + "default_ori": [ + 0.7508991069565076, + 0.21323855439754985, + 0.6238885355371824, + 0.03798612003920575 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.26859854893817015, + -0.17201633370318653, + 0.7952535477747441 + ], + "default_ori": [ + 0.7495684451750423, + 0.1959788991369526, + 0.6295235158033057, + 0.058647763312705575 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.271125270248442, + -0.11213755852287118, + 0.7952535477747441 + ], + "default_ori": [ + 0.7239042773848393, + 0.0699799959166072, + 0.6555992571897854, + 0.20311329677706308 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.23237271372872326, + -0.1413586769990916, + 0.8207 + ], + "default_ori": [ + 0.9792397182970701, + 0.0, + 0.0, + 0.20270563413352558 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.005386071939446446, + -0.14399788872192842, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_36.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_36.json new file mode 100644 index 0000000000000000000000000000000000000000..251bd480f4dfe5eae17d87f4b47ceb777bfc71d6 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_36.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.2535000167741193, + -0.12091235765229247, + 0.795253547774744 + ], + "default_ori": [ + 0.7067738452984705, + -0.04515639931004618, + 0.657775406546671, + 0.2564432602852469 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.21639981094024108, + -0.19328971784374174, + 0.795253547774744 + ], + "default_ori": [ + 0.7429081666386865, + 0.08224092962295275, + 0.6541743004360834, + 0.11567138836055776 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.27604883319488993, + -0.1661940521276481, + 0.795253547774744 + ], + "default_ori": [ + 0.6851089250579562, + -0.09529306012178629, + 0.6524008112724204, + 0.30970659494051017 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.18857996859046874, + -0.14343411921743782, + 0.795253547774744 + ], + "default_ori": [ + 0.7513060324372984, + 0.15746314524314653, + 0.6402444406212539, + 0.028838511872816858 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.2288318354735145, + -0.1634208752031147, + 0.8207 + ], + "default_ori": [ + 0.9881749447220347, + 0.0, + 0.0, + 0.1533306186761268 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.004422242745215657, + -0.14203163346325876, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_37.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_37.json new file mode 100644 index 0000000000000000000000000000000000000000..277ee5fd835e81c992990ec08fa0dd715d984572 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_37.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.1511522228681046, + -0.15308654705599753, + 0.7952535477747441 + ], + "default_ori": [ + 0.7380828774887203, + 0.06798571334993586, + 0.655809064161656, + 0.14326925735022242 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.21165250123241486, + -0.1887960546446895, + 0.7952535477747441 + ], + "default_ori": [ + 0.7505384115388581, + 0.15399252208426795, + 0.6410880508934892, + 0.044547805203414476 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.13085619183895864, + -0.20654075433894203, + 0.7952535477747441 + ], + "default_ori": [ + 0.6751271842422643, + -0.10549675733758296, + 0.6508287179032143, + 0.33090134366730123 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.18693955401792417, + -0.24773990911165497, + 0.7952535477747441 + ], + "default_ori": [ + 0.739765267014618, + 0.30131575087654894, + 0.5864438627268497, + -0.13431218806387085 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.17740750586914777, + -0.19429985027831392, + 0.8207 + ], + "default_ori": [ + 0.9869568046766558, + 0.0, + 0.0, + 0.1609852965411609 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.04990896461963483, + -0.1744374129436544, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_38.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_38.json new file mode 100644 index 0000000000000000000000000000000000000000..61c54e437756af2c3fa5e5c207d472993c558dd1 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_38.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.14696513317094606, + -0.1863791642919036, + 0.795253547774744 + ], + "default_ori": [ + 0.7386759124606114, + -0.3795627279197829, + 0.5391101199480302, + 0.14017956518050992 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.21364870483596873, + -0.19170927317268374, + 0.795253547774744 + ], + "default_ori": [ + 0.7496764482005766, + -0.22588314371850826, + 0.6194226273233246, + -0.05725065202320215 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.18751701267438675, + -0.23538841692652793, + 0.795253547774744 + ], + "default_ori": [ + 0.7442376798835676, + -0.18435657343789189, + 0.6330246754167849, + -0.10678337878732777 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.19624552747125343, + -0.1401043513571279, + 0.795253547774744 + ], + "default_ori": [ + 0.7452075080120512, + -0.3496751006350869, + 0.558958772944954, + 0.09979070170202414 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.1871866122365412, + -0.18832928911303554, + 0.8207 + ], + "default_ori": [ + 0.9803095810488213, + 0.0, + 0.0, + -0.19746677012572178 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.021695887829780006, + -0.1842193786611626, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_39.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_39.json new file mode 100644 index 0000000000000000000000000000000000000000..407f9bf972b8e7a55b11acbb1454f9a94a3e3aba --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_39.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.23655478453212025, + -0.11383057908011718, + 0.7952535477747441 + ], + "default_ori": [ + 0.7167107025955202, + -0.01638158222221532, + 0.6591200418893235, + -0.22719635324703097 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.19356739361624414, + -0.1453943326866083, + 0.7952535477747441 + ], + "default_ori": [ + 0.7123371414886838, + -0.004054090934316648, + 0.6593111179124641, + -0.24055812395228862 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.2649097633874685, + -0.17579871526190552, + 0.7952535477747441 + ], + "default_ori": [ + 0.745722417653924, + -0.29251717516002473, + 0.590881788594543, + 0.09586704309667786 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.19435284743213393, + -0.20080984653092687, + 0.7952535477747441 + ], + "default_ori": [ + 0.7071968821879644, + 0.00961537300121916, + 0.6592534645023369, + -0.25527433080381595 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.2274888843103443, + -0.15583082769634382, + 0.8207 + ], + "default_ori": [ + 0.988510124765945, + 0.0, + 0.0, + -0.15115466660085577 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.03785033975042584, + -0.18579464857864542, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_4.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_4.json new file mode 100644 index 0000000000000000000000000000000000000000..3144810212a5cd9f385b7fb66868cf9e20c7141c --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_4.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.2999674057856093, + -0.07059875731050114, + 0.795253547774744 + ], + "default_ori": [ + 0.7386247302679249, + -0.1777208245295621, + 0.6349195967875139, + 0.14044900135048557 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.3449786285495783, + -0.15577913917072947, + 0.795253547774744 + ], + "default_ori": [ + 0.72866858948418, + 0.10764219352854051, + 0.6504773201493276, + -0.18529571188467675 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.28680350859900666, + -0.13766419502642352, + 0.795253547774744 + ], + "default_ori": [ + 0.7096016672795173, + 0.16429711574259537, + 0.6385248966289027, + -0.24851134368040953 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.36415896327350916, + -0.08792891517585978, + 0.795253547774744 + ], + "default_ori": [ + 0.7114834356764458, + 0.15940385328633438, + 0.6397640169732551, + -0.2430714604838551 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.3215183406861296, + -0.1137597912538515, + 0.8207 + ], + "default_ori": [ + 0.999598651050539, + 0.0, + 0.0, + -0.028329080781819744 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04126295739208025, + -0.16308550440314257, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_40.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_40.json new file mode 100644 index 0000000000000000000000000000000000000000..fe7443e242f453139fa6c374bc443b03f3a7a261 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_40.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.2804345197701359, + -0.14057466068084, + 0.795253547774744 + ], + "default_ori": [ + 0.7271713131318077, + -0.1697727700711837, + 0.6370908823697319, + 0.1910871411212064 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.23699385343490925, + -0.17046818596526547, + 0.795253547774744 + ], + "default_ori": [ + 0.7314737540963814, + -0.15470740777390427, + 0.6409159101131484, + 0.1738923839961369 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.30571308867826125, + -0.0927989661954195, + 0.795253547774744 + ], + "default_ori": [ + 0.7164638712207628, + -0.20208668571944, + 0.6275894815173522, + 0.2279735409626994 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.23403887688534744, + -0.10047575051721633, + 0.795253547774744 + ], + "default_ori": [ + 0.704823265299934, + -0.23167649620819916, + 0.6172791807286059, + 0.26175671688736524 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.27280524204140333, + -0.13720717483551825, + 0.8207 + ], + "default_ori": [ + 0.9999225215993613, + 0.0, + 0.0, + 0.01244792345633621 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.033203917342689904, + -0.18024438497228368, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_41.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_41.json new file mode 100644 index 0000000000000000000000000000000000000000..e132e303815341c7b8e5e60328e396b3b61eacc1 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_41.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.2955042037276405, + -0.13156502271709414, + 0.795253547774744 + ], + "default_ori": [ + 0.7241407822885093, + -0.3135116036478179, + 0.580015568958679, + 0.20226848882191012 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.23625428984986083, + -0.22234345597276053, + 0.795253547774744 + ], + "default_ori": [ + 0.721824005141566, + -0.32000441933549484, + 0.5764588081225226, + 0.21038659592545841 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.2211567252099964, + -0.15066377696330197, + 0.795253547774744 + ], + "default_ori": [ + 0.7147091514224292, + -0.3383182871413515, + 0.5659048704879899, + 0.23341645832448238 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.275718529683051, + -0.18043061290228413, + 0.795253547774744 + ], + "default_ori": [ + 0.7268201504914167, + -0.30560809579276077, + 0.5842185187429523, + 0.19241850998110333 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.26233732002226834, + -0.1757191184440299, + 0.8207 + ], + "default_ori": [ + 0.9952601822485745, + 0.0, + 0.0, + -0.09724798008459823 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.020912269796780254, + -0.17820442224278904, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_42.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_42.json new file mode 100644 index 0000000000000000000000000000000000000000..911449c8d0aff99f00593a22d6e1e74dae813505 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_42.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.27922064046969564, + -0.18254802313420707, + 0.7952535477747441 + ], + "default_ori": [ + 0.6863933374175748, + -0.08449244622566453, + 0.6538873086297745, + -0.3068494753009641 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.2614083767721961, + -0.11437667319093409, + 0.7952535477747441 + ], + "default_ori": [ + 0.6607205601531232, + -0.03387845529286318, + 0.6584526073479063, + -0.3588046202805317 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.36120318111891514, + -0.16705076569267774, + 0.7952535477747441 + ], + "default_ori": [ + 0.6345355295928709, + 0.011394966596123934, + 0.6592251061606801, + -0.4033076689427174 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.3368610806600736, + -0.10799738813254318, + 0.7952535477747441 + ], + "default_ori": [ + 0.6365413692992015, + 0.008103257474237624, + 0.6592737846104553, + -0.40013435158008015 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.31033192025151, + -0.14276026801227776, + 0.8207 + ], + "default_ori": [ + 0.9663199916940216, + 0.0, + 0.0, + -0.25734349351103863 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04288982976358484, + -0.15023952646857447, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_43.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_43.json new file mode 100644 index 0000000000000000000000000000000000000000..5b38c0296050f24d39a7649943fd27c4db394859 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_43.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.3113832962290046, + -0.125100267941457, + 0.795253547774744 + ], + "default_ori": [ + 0.7518127408272375, + -0.3365620369097048, + 0.5669511276710517, + -0.008367608592106529 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.35871602218666293, + -0.06675737631117135, + 0.795253547774744 + ], + "default_ori": [ + 0.7518541829013904, + -0.34492731757636363, + 0.5619009979043115, + 0.002775211234494146 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.3821475357442936, + -0.11515167540449446, + 0.795253547774744 + ], + "default_ori": [ + 0.741728189084384, + -0.24609130805708174, + 0.6116752847345077, + -0.12301100626087863 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.3632786244333875, + -0.16719243615772963, + 0.795253547774744 + ], + "default_ori": [ + 0.742529110109969, + -0.2501498833689644, + 0.6100267385178949, + -0.11808020487368366 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.34670419388994655, + -0.11952591557119992, + 0.8207 + ], + "default_ori": [ + 0.9665823205345925, + 0.0, + 0.0, + -0.2563564269332101 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.0020297250569954154, + -0.2072038107749794, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_44.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_44.json new file mode 100644 index 0000000000000000000000000000000000000000..f80e25c3d7b80f4a3605389497ce424db712ce75 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_44.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.4200094350242053, + -0.07838517316685517, + 0.795253547774744 + ], + "default_ori": [ + 0.7079717270309438, + -0.17463308180662537, + 0.6357758037193671, + 0.2531174586403243 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.34781339299188313, + -0.14560486696079508, + 0.795253547774744 + ], + "default_ori": [ + 0.7240354052911788, + -0.12943862413769378, + 0.6464930227292692, + 0.20264537011378264 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.3507729004324767, + -0.08064461863428062, + 0.795253547774744 + ], + "default_ori": [ + 0.7159274165349226, + -0.1535897312538015, + 0.6411846694281388, + 0.22965266904032472 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.42133903945846213, + -0.14934359999029673, + 0.795253547774744 + ], + "default_ori": [ + 0.7391008186158164, + 0.1693604668726326, + 0.637200610574857, + -0.13792169541135746 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.38917712052220216, + -0.1152734321711959, + 0.8207 + ], + "default_ori": [ + 0.9986573658428128, + 0.0, + 0.0, + 0.05180217802268779 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.01273188446164263, + -0.1428120736591716, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_45.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_45.json new file mode 100644 index 0000000000000000000000000000000000000000..a7ae2cd0d66cfa58a1544b2d63279d0c882e905c --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_45.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.236121056385554, + -0.23959730423849193, + 0.7952535477747441 + ], + "default_ori": [ + 0.7296329957859451, + -0.3496165976885446, + 0.5589953671337295, + 0.18146103053862783 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.2676239410790223, + -0.17463469390236008, + 0.7952535477747441 + ], + "default_ori": [ + 0.7090991009357386, + 0.01563983224567536, + 0.6591380595168314, + -0.24994175160593107 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.1884986285347293, + -0.2054365665121929, + 0.7952535477747441 + ], + "default_ori": [ + 0.7271631234756065, + -0.35699683773614965, + 0.5543111434047451, + 0.19111830367841173 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.22125198202546625, + -0.1425671845289363, + 0.7952535477747441 + ], + "default_ori": [ + 0.7315704605992402, + -0.05421274582770634, + 0.6570909861245301, + -0.17348508674329674 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.2335059380295358, + -0.19324690079512172, + 0.8207 + ], + "default_ori": [ + 0.9897355988884486, + 0.0, + 0.0, + -0.14291061644581868 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.025460948104943124, + -0.1867882195358399, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_46.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_46.json new file mode 100644 index 0000000000000000000000000000000000000000..610257c2375c866aa4e852654b5dd18bf9ec6ebe --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_46.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.24191424162045122, + -0.10010158976114024, + 0.795253547774744 + ], + "default_ori": [ + 0.7243599657683573, + 0.12136818819024633, + 0.6480565937876904, + 0.20148214346630788 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.20141328822942034, + -0.15351126913309734, + 0.795253547774744 + ], + "default_ori": [ + 0.7456544157738505, + 0.21231874714734153, + 0.6242021591328164, + 0.0963945350145497 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.20774327108081633, + -0.06605500995372524, + 0.795253547774744 + ], + "default_ori": [ + 0.7197303942368896, + 0.10701678765219777, + 0.6505805046394267, + 0.21744096613868605 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.16711429523737356, + -0.11142964188384116, + 0.795253547774744 + ], + "default_ori": [ + 0.7282718161717445, + 0.13439861671201492, + 0.6454801295796669, + 0.1868490725522135 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.21176630230120652, + -0.1168827637446999, + 0.8207 + ], + "default_ori": [ + 0.9707666187750794, + 0.0, + 0.0, + 0.24002535672715858 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.041038081931017975, + -0.12461890517334646, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_47.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_47.json new file mode 100644 index 0000000000000000000000000000000000000000..0261c14423cc3bfffda3b69f2eff143abb63bf74 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_47.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.24943601459806625, + -0.17774319635329877, + 0.795253547774744 + ], + "default_ori": [ + 0.7100753517113149, + -0.3019782490440982, + 0.5861029968875328, + 0.247154625762428 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.2137654020472622, + -0.13675692498736441, + 0.795253547774744 + ], + "default_ori": [ + 0.7457150525817193, + -0.17505930522153465, + 0.6356585762118216, + 0.09592431650398717 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.1875425662847893, + -0.20448534808672963, + 0.795253547774744 + ], + "default_ori": [ + 0.7160721283630219, + -0.2871281463238712, + 0.5935191769815901, + 0.22920104957300114 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.2566758603715203, + -0.2359217842456218, + 0.795253547774744 + ], + "default_ori": [ + 0.7333828540384913, + -0.23408607664589598, + 0.6163694464984604, + 0.16565628133599564 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.231210026150786, + -0.18747089974581138, + 0.8207 + ], + "default_ori": [ + 0.998419766342704, + 0.0, + 0.0, + -0.05619581991732482 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.046462473875304076, + -0.12801022260252243, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_48.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_48.json new file mode 100644 index 0000000000000000000000000000000000000000..11685070e78decf70c21bd8b59d7fd85d073f222 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_48.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.17170506680702416, + -0.14409819160298046, + 0.795253547774744 + ], + "default_ori": [ + 0.7373688739130403, + -0.059785513441976836, + 0.6566074003837954, + -0.1468998227634343 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.2627459876706541, + -0.1420058822163402, + 0.795253547774744 + ], + "default_ori": [ + 0.6864259776231822, + 0.08732691712321411, + 0.6535148012111446, + -0.30677645181430085 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.229195799291035, + -0.19091696840045574, + 0.795253547774744 + ], + "default_ori": [ + 0.7483984989159989, + -0.24665745731562033, + 0.6114472050855081, + 0.07205623473366543 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.20988370479161775, + -0.08790431845264292, + 0.795253547774744 + ], + "default_ori": [ + 0.7281524563178287, + -0.3385490918600359, + 0.5657668232205133, + 0.1873136794311248 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.215445780484255, + -0.13954586733831362, + 0.8207 + ], + "default_ori": [ + 0.9916204749615989, + 0.0, + 0.0, + -0.12918526865294314 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.00580990731798114, + -0.13256683813421, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_49.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_49.json new file mode 100644 index 0000000000000000000000000000000000000000..7b33acf7d1e43b778ec24fc908c6d584e799ebca --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_49.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.22077080750597564, + -0.16909281728396788, + 0.7952535477747441 + ], + "default_ori": [ + 0.7467412120289101, + 0.19917589890950077, + 0.6285193291776149, + -0.08757840145439949 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.126197449082684, + -0.1573707467259602, + 0.7952535477747441 + ], + "default_ori": [ + 0.7322632223954723, + 0.2682140410572247, + 0.6023029254752463, + -0.17053734860936695 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.15991160149130088, + -0.20079058404180106, + 0.7952535477747441 + ], + "default_ori": [ + 0.7502618129412723, + 0.16652666263875188, + 0.6379470640160404, + -0.04898597948177508 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.1798057822738684, + -0.11293918170009173, + 0.7952535477747441 + ], + "default_ori": [ + 0.7513185803777219, + 0.14906929336296387, + 0.6422506766306699, + -0.028509733827560363 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.17449422961424915, + -0.1653296636464721, + 0.8207 + ], + "default_ori": [ + 0.9940385706153783, + 0.0, + 0.0, + 0.10902898756264602 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.04726956922610347, + -0.2180999340888008, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_5.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_5.json new file mode 100644 index 0000000000000000000000000000000000000000..41cef81f90fe6d696a0b85f72fae5e17688d7070 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_5.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.19982016589762594, + -0.12031178782482324, + 0.795253547774744 + ], + "default_ori": [ + 0.6973902506932148, + 0.1686956436814567, + 0.6373769415810283, + -0.28096130050554713 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.18597741481655555, + -0.21282633519335645, + 0.795253547774744 + ], + "default_ori": [ + 0.7168025124482753, + -0.2753425032276286, + 0.5990777009475733, + 0.22690652765302638 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.25020601128507614, + -0.2026651653297346, + 0.795253547774744 + ], + "default_ori": [ + 0.709933496634312, + 0.13826948034594722, + 0.6446620328987496, + -0.24756179935582281 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.23969258933332316, + -0.152674157419518, + 0.795253547774744 + ], + "default_ori": [ + 0.7244554412660685, + 0.0962955084783168, + 0.6522536016789705, + -0.20113857850670852 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.2109689145735516, + -0.16698085015746425, + 0.8207 + ], + "default_ori": [ + 0.9988508699776747, + 0.0, + 0.0, + -0.04792639716108966 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.01207987726988886, + -0.18443936010390793, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_50.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_50.json new file mode 100644 index 0000000000000000000000000000000000000000..ac2ce257d9b1b4d00882ef8ae4bf2e32842d9340 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_50.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.2272746210381065, + -0.18200174900188634, + 0.7952535477747441 + ], + "default_ori": [ + 0.751801043018183, + 0.04767801553233934, + 0.6575974396933011, + -0.009359800237497308 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.15484109443930327, + -0.15993354161275858, + 0.7952535477747441 + ], + "default_ori": [ + 0.7497112060721229, + 0.0890894981201737, + 0.653276853394472, + -0.056793676000029956 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.14046495726143074, + -0.20931529058274403, + 0.7952535477747441 + ], + "default_ori": [ + 0.751460123031711, + 0.060910361644343186, + 0.65650400889914, + -0.02449689035121192 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.19640344273346313, + -0.2456825922169358, + 0.7952535477747441 + ], + "default_ori": [ + 0.7351461073093941, + 0.17660659372145757, + 0.6352304281993981, + -0.15764712192602304 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.18032656305911499, + -0.19905187079741968, + 0.8207 + ], + "default_ori": [ + 0.9990259521560412, + 0.0, + 0.0, + 0.04412648772240207 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.03670898203195713, + -0.1726047015768229, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_51.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_51.json new file mode 100644 index 0000000000000000000000000000000000000000..e19441f2e621f5863e5b6df31f1daa40a0d8f38e --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_51.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.22691531812831017, + -0.16476288274995746, + 0.795253547774744 + ], + "default_ori": [ + 0.7502095499482632, + 0.25162546175700223, + 0.6094195704536095, + -0.04977996896481349 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.1645090548210478, + -0.20031128363434647, + 0.795253547774744 + ], + "default_ori": [ + 0.7495521329844002, + 0.2589826478401359, + 0.6063295918673265, + -0.058855875511707345 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.22824472381315072, + -0.21521374654522293, + 0.795253547774744 + ], + "default_ori": [ + 0.7473827861860126, + 0.2775418396891319, + 0.598061964246397, + -0.081923043501485 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.1668754103334658, + -0.1514696384122766, + 0.795253547774744 + ], + "default_ori": [ + 0.7517267711410293, + 0.222416860405859, + 0.6206757012027193, + -0.014116504298024385 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.20111500799580517, + -0.17847308113383045, + 0.8207 + ], + "default_ori": [ + 0.9844055312098725, + 0.0, + 0.0, + 0.17591404185967868 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04508800635703531, + -0.1948516760523218, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_52.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_52.json new file mode 100644 index 0000000000000000000000000000000000000000..66da3902fd5e8783f2418919304a89b4ed0e8571 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_52.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.28685652420809343, + -0.1151330081885672, + 0.7952535477747441 + ], + "default_ori": [ + 0.718844652819025, + -0.11888651563357876, + 0.6485164471752384, + -0.22035149025411438 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.2092630601692595, + -0.11248280968500113, + 0.7952535477747441 + ], + "default_ori": [ + 0.7371367584999313, + -0.413022984099359, + 0.5139256760096224, + 0.1480601682152474 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.2592531779426127, + -0.055023909754979, + 0.7952535477747441 + ], + "default_ori": [ + 0.750478808536694, + -0.2677267093931297, + 0.6025197050170339, + -0.04554088362183853 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.24668654805640208, + -0.1595287055921012, + 0.7952535477747441 + ], + "default_ori": [ + 0.7466816872816578, + -0.23307970688339402, + 0.6167507082245127, + -0.08808445959379092 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.25231900241868377, + -0.11032340618335476, + 0.8207 + ], + "default_ori": [ + 0.9747499790508244, + 0.0, + 0.0, + -0.22329907823458978 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.047829670991725734, + -0.20484339503550192, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_53.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_53.json new file mode 100644 index 0000000000000000000000000000000000000000..9bf848fbcb3631c4d9a99be42a21a44802d6c303 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_53.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.11016826603222762, + -0.1656959515658696, + 0.795253547774744 + ], + "default_ori": [ + 0.749279980192077, + 0.040739921711241946, + 0.6580637086447242, + -0.06222479752537585 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.18647170008145092, + -0.19046614170554788, + 0.795253547774744 + ], + "default_ori": [ + 0.751632054166328, + 0.0023479352145132776, + 0.6593194013954958, + -0.018484298564442454 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.12326434509626025, + -0.22609487248769128, + 0.795253547774744 + ], + "default_ori": [ + 0.6929721202518452, + -0.2685082592934346, + 0.602171819788585, + 0.2916882834420599 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.16944101094497735, + -0.14264124932761266, + 0.795253547774744 + ], + "default_ori": [ + 0.7518215563898858, + -0.02046660921355557, + 0.6590058450147359, + 0.007534022245975916 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.15095766306994152, + -0.18487176125766822, + 0.8207 + ], + "default_ori": [ + 0.9999932875553885, + 0.0, + 0.0, + 0.0036639929265764974 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.04775227038360495, + -0.13314299255714734, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_54.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_54.json new file mode 100644 index 0000000000000000000000000000000000000000..e99d2262e7b759b2a430ce621c1494536e4007fe --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_54.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.11650045787276184, + -0.14117774891261706, + 0.795253547774744 + ], + "default_ori": [ + 0.7332006303607776, + -0.14442480790258208, + 0.6433110139882489, + -0.16646095572917874 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.122943673542946, + -0.20337134426767695, + 0.795253547774744 + ], + "default_ori": [ + 0.7129687991439932, + -0.07961500177651598, + 0.6544990736039371, + -0.2386795039187191 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.17254386715743833, + -0.16614972671312406, + 0.795253547774744 + ], + "default_ori": [ + 0.7302069331787295, + -0.13325879271116842, + 0.6457164083569881, + -0.17913751388647714 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.16734347239495528, + -0.22799477999990106, + 0.795253547774744 + ], + "default_ori": [ + 0.7136602818895025, + -0.0815191025230795, + 0.6542646420066718, + -0.2366039226156435 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.14442681199640667, + -0.18652832188398674, + 0.8207 + ], + "default_ori": [ + 0.9784731829663188, + 0.0, + 0.0, + -0.20637400566873915 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.047478429777118206, + -0.19705453766417935, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_55.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_55.json new file mode 100644 index 0000000000000000000000000000000000000000..b99a1cb21ac9629c449526610fcba2f26f7554ba --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_55.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.25567711084575584, + -0.16082825526117459, + 0.795253547774744 + ], + "default_ori": [ + 0.7503721313288051, + 0.061358321802821345, + 0.6564622930540855, + 0.04726604139104536 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.1869868484116021, + -0.09594469555508003, + 0.795253547774744 + ], + "default_ori": [ + 0.6799584858469508, + -0.185242373131713, + 0.6327660302614371, + 0.3208564658354817 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.25575658459959905, + -0.09401343394740047, + 0.795253547774744 + ], + "default_ori": [ + 0.7113415782963306, + -0.1139409380059875, + 0.6494036098626202, + 0.24348628940989453 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.19092238469725753, + -0.16294178910266605, + 0.795253547774744 + ], + "default_ori": [ + 0.7518590283416702, + 0.10306425749854065, + 0.6512183540737786, + -0.0006447052296443823 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.22075078348145813, + -0.12890468334181812, + 0.8207 + ], + "default_ori": [ + 0.9957498950927022, + 0.0, + 0.0, + 0.09209856905985382 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.001032204352519567, + -0.16619043481842616, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_56.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_56.json new file mode 100644 index 0000000000000000000000000000000000000000..4fc20181737208621c102686e3770d739df9db3e --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_56.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.10801812711181186, + -0.18217666644810335, + 0.795253547774744 + ], + "default_ori": [ + 0.7508348319450574, + -0.3417954551729823, + 0.5638115400374316, + 0.039236071181387944 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.13734083196061586, + -0.23334681119005166, + 0.795253547774744 + ], + "default_ori": [ + 0.7515990631504705, + -0.2965169122781332, + 0.5888847990815592, + -0.019780354270047096 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.18375979642417414, + -0.1801675129072191, + 0.795253547774744 + ], + "default_ori": [ + 0.7044205052050307, + -0.08916024016569016, + 0.65326720216913, + -0.26283866913070997 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.13147328267164435, + -0.12431584923064012, + 0.795253547774744 + ], + "default_ori": [ + 0.7517679851880166, + -0.30281592547958713, + 0.585670642197667, + -0.0117179601494245 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.13887037327113744, + -0.17611845513928415, + 0.8207 + ], + "default_ori": [ + 0.9731602631419496, + 0.0, + 0.0, + -0.23012844726693713 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.03744256528230969, + -0.20388419633254368, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_57.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_57.json new file mode 100644 index 0000000000000000000000000000000000000000..07d046aa788c39f935c0f11fcea3194615367956 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_57.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.17722290305467336, + -0.13024395965879254, + 0.7952535477747441 + ], + "default_ori": [ + 0.6894249996973854, + -0.10541310401368119, + 0.650842272258408, + 0.2999759722644031 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.23406765606453236, + -0.21562861108732, + 0.7952535477747441 + ], + "default_ori": [ + 0.7214689210489059, + -0.02337351163843271, + 0.6589091476144301, + 0.21160106357067568 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.16821178913859813, + -0.19472470181060023, + 0.7952535477747441 + ], + "default_ori": [ + 0.7375060676486191, + 0.28413477164710677, + 0.5949579963302731, + -0.14620948780836351 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.24307090350795624, + -0.15650606095962064, + 0.7952535477747441 + ], + "default_ori": [ + 0.7428228144384964, + 0.25980398487536704, + 0.6059781145381132, + -0.11621824509682126 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.20666033796350025, + -0.1741920406532234, + 0.8207 + ], + "default_ori": [ + 0.9903420637276434, + 0.0, + 0.0, + 0.1386455798490245 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.02771423687380077, + -0.1836766356229172, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_58.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_58.json new file mode 100644 index 0000000000000000000000000000000000000000..8dec929ff791c71fe72c5f7b721b7f19e541a4c3 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_58.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.1895019773663182, + -0.17742785236933017, + 0.795253547774744 + ], + "default_ori": [ + 0.72074958051357, + 0.006860017695477991, + 0.6592878931191627, + 0.2140384459232182 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.18239216883001882, + -0.11944093640796316, + 0.795253547774744 + ], + "default_ori": [ + 0.7198563821477452, + 0.004127765262767022, + 0.6593106607739799, + 0.21702350846134855 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.2572695122369835, + -0.15104772178961423, + 0.795253547774744 + ], + "default_ori": [ + 0.749218415205515, + 0.1408174262202987, + 0.6441102687653546, + 0.0629617380688456 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.23769420451718012, + -0.20762859871787798, + 0.795253547774744 + ], + "default_ori": [ + 0.7422785563147847, + 0.09152384103636074, + 0.6529402517675239, + 0.11964513771546541 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.20548428430135313, + -0.16518803524081702, + 0.8207 + ], + "default_ori": [ + 0.9866285759024518, + 0.0, + 0.0, + 0.1629848250994553 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.025688587282925984, + -0.13489556104683204, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_59.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_59.json new file mode 100644 index 0000000000000000000000000000000000000000..f9642d3b9fcb816902421068ff3a29bacd8edd3b --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_59.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.25953785612672764, + -0.1274568830427597, + 0.7952535477747441 + ], + "default_ori": [ + 0.7490938033429713, + -0.10710395773000024, + 0.650566159660074, + -0.06442738499174952 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.34872687388201273, + -0.12732423041469274, + 0.7952535477747441 + ], + "default_ori": [ + 0.7466253154617994, + -0.08605972783387808, + 0.6536828811445543, + -0.08856100979145363 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.2968485434951124, + -0.17631001385775436, + 0.7952535477747441 + ], + "default_ori": [ + 0.7516313858704072, + -0.14667561543298224, + 0.6428015632321086, + -0.018511453704244174 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.3164391077821296, + -0.07340339328268106, + 0.7952535477747441 + ], + "default_ori": [ + 0.7515981493586967, + -0.17924162566012955, + 0.6344919428069993, + 0.019815045402314366 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.3024325465207788, + -0.12168365352182998, + 0.8207 + ], + "default_ori": [ + 0.9939225634280998, + 0.0, + 0.0, + -0.11008150575148813 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.03887976334227615, + -0.1604808644312068, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_6.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_6.json new file mode 100644 index 0000000000000000000000000000000000000000..9dc78a446bb26820da9f14aa67f98ca2ba184388 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_6.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.25700130152099726, + -0.1497999956701989, + 0.7952535477747441 + ], + "default_ori": [ + 0.7393155994064919, + 0.15638474454801576, + 0.6405087021492671, + 0.13676570702457966 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.1689675296765092, + -0.10017353419579728, + 0.7952535477747441 + ], + "default_ori": [ + 0.7465361686939403, + 0.1969384979544079, + 0.6292239775149613, + 0.08930936667274181 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.24326597824900645, + -0.07981083064724025, + 0.7952535477747441 + ], + "default_ori": [ + 0.6363426792494575, + -0.09154154415304619, + 0.6529377700442537, + 0.4004502574719308 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.19116923494672913, + -0.16085951852923053, + 0.7952535477747441 + ], + "default_ori": [ + 0.7485556828764609, + 0.2127855232338301, + 0.624043193183286, + 0.07040457213185072 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.2193310009038076, + -0.1184567579156442, + 0.8207 + ], + "default_ori": [ + 0.9747106217021602, + 0.0, + 0.0, + 0.22347081227978863 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.034177258931785026, + -0.14627438345328053, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_60.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_60.json new file mode 100644 index 0000000000000000000000000000000000000000..a925fe2ac18ede55554860833aa1c1c7296bf18e --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_60.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.19001033773481707, + -0.1525962726250145, + 0.795253547774744 + ], + "default_ori": [ + 0.7508871883396216, + -0.2580238304161433, + 0.6067382374580228, + 0.03822099594635256 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.21455127486860578, + -0.06475765302896337, + 0.795253547774744 + ], + "default_ori": [ + 0.725270424771437, + -0.3820027272939539, + 0.5373839430018986, + 0.198179779734394 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.25952396232534014, + -0.11534903106953034, + 0.795253547774744 + ], + "default_ori": [ + 0.6983378394311184, + 0.01869514136743751, + 0.6590584780924514, + -0.2785976959028754 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.16358800495558448, + -0.10039108097363743, + 0.795253547774744 + ], + "default_ori": [ + 0.7506682301253063, + -0.2613195979866491, + 0.6053260721003043, + 0.0423039291822114 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.21592201962482532, + -0.10733332011623693, + 0.8207 + ], + "default_ori": [ + 0.9869966202856832, + 0.0, + 0.0, + -0.16074100766338048 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.0229824700995359, + -0.13181654283131644, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_61.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_61.json new file mode 100644 index 0000000000000000000000000000000000000000..278f161c741c058ce7959d764c171f4093313308 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_61.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.2690944534244756, + -0.11260871925673102, + 0.7952535477747441 + ], + "default_ori": [ + 0.6597099944118681, + 0.10993625099233074, + 0.6500935367883901, + -0.36065930934443735 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.32613650453174653, + -0.1338696961341318, + 0.7952535477747441 + ], + "default_ori": [ + 0.7210788819214949, + -0.03008697012162094, + 0.6586367436494773, + -0.21292641966313192 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.3439814855297432, + -0.17678315069571093, + 0.7952535477747441 + ], + "default_ori": [ + 0.7232562329881971, + -0.03694129669902624, + 0.6582878750626364, + -0.20540894719421654 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.34865242900663973, + -0.07681820356848448, + 0.7952535477747441 + ], + "default_ori": [ + 0.7285016895203088, + -0.36280870180666447, + 0.550524687684076, + 0.18595080669297823 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.3189834532665301, + -0.12577909491494088, + 0.8207 + ], + "default_ori": [ + 0.988438125768993, + 0.0, + 0.0, + -0.15162477213925285 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.014117278121178748, + -0.14478185461425452, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_62.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_62.json new file mode 100644 index 0000000000000000000000000000000000000000..99e8b93228b620c44dd1bb16a46373acd73e0394 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_62.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.2398438267983108, + -0.1597956300025108, + 0.7952535477747441 + ], + "default_ori": [ + 0.7274444706013431, + -0.1356413071128947, + 0.6452201342650368, + -0.19004461669630432 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.17023599737635234, + -0.14570954361125732, + 0.7952535477747441 + ], + "default_ori": [ + 0.7517277408379035, + -0.30531161673230856, + 0.5843735128704848, + 0.014064771539392062 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.2326632015393415, + -0.10140375438809252, + 0.7952535477747441 + ], + "default_ori": [ + 0.6993126968317235, + -0.057068585048715606, + 0.6568491169643332, + -0.27614156911565435 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.1751448067938275, + -0.08206354647184963, + 0.7952535477747441 + ], + "default_ori": [ + 0.7099792255612888, + -0.08377358285255665, + 0.6539797953089472, + -0.2474306234383819 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.2102506956288578, + -0.12186687824421123, + 0.8207 + ], + "default_ori": [ + 0.9765055648840387, + 0.0, + 0.0, + -0.21549218489426603 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.00959896292808406, + -0.20926914338466007, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_63.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_63.json new file mode 100644 index 0000000000000000000000000000000000000000..fa2b5524d0e2eaa9b330549a01191f00add39a68 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_63.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.14783357798223185, + -0.13849600321870514, + 0.795253547774744 + ], + "default_ori": [ + 0.7507476372305302, + -0.037716356212685466, + 0.6582439231244939, + -0.040870519161002525 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.1852836111611817, + -0.21962444870526415, + 0.795253547774744 + ], + "default_ori": [ + 0.7456346923957645, + 0.011303270156413588, + 0.6592266847906398, + -0.09654698151463405 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.2073109847317919, + -0.16518641937855347, + 0.795253547774744 + ], + "default_ori": [ + 0.732034470360201, + 0.07796529715746645, + 0.6546976388344735, + -0.17151661245539326 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.12435665938559268, + -0.21191078030619956, + 0.795253547774744 + ], + "default_ori": [ + 0.7443253892214164, + 0.019817552395827154, + 0.6590256827114747, + -0.10617028352651381 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.16405411199442144, + -0.18451990109132263, + 0.8207 + ], + "default_ori": [ + 0.9991334341052496, + 0.0, + 0.0, + -0.041621879499261716 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04459505665460641, + -0.12160609696832554, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_64.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_64.json new file mode 100644 index 0000000000000000000000000000000000000000..4e33ef63c3ca753c748b35a71c86020df54211d5 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_64.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + -0.3651324314798632, + -0.1717968673119497, + 0.795253547774744 + ], + "default_ori": [ + 0.7516024108039768, + 0.30456320740089976, + 0.5847639169391037, + -0.01965274070869702 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + -0.3228769535055724, + -0.1036147079020478, + 0.795253547774744 + ], + "default_ori": [ + 0.7435550143589694, + 0.19815839030449622, + 0.6288408687483802, + 0.11143767211022608 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + -0.3847407545354136, + -0.12608117530387575, + 0.795253547774744 + ], + "default_ori": [ + 0.7513861878437896, + 0.26797518727183256, + 0.60240923371319, + 0.026668536916953395 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + -0.29724389699755427, + -0.1458293040818981, + 0.795253547774744 + ], + "default_ori": [ + 0.7479944925556913, + 0.22768659038512779, + 0.6187619917343676, + 0.07613575539828332 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + -0.33916565038505087, + -0.1303535232120801, + 0.8207 + ], + "default_ori": [ + 0.9710537601953718, + 0.0, + 0.0, + 0.23886103661005342 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04437432842876277, + -0.16879931914144058, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_7.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_7.json new file mode 100644 index 0000000000000000000000000000000000000000..2c6065c635fb526ee27a4cba2dc6ed9c831e4cbd --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_7.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.25096951750035373, + -0.24034678537252416, + 0.7952535477747441 + ], + "default_ori": [ + 0.6916090253504552, + -0.16216688850914932, + 0.6390692342207906, + 0.2949056971262283 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.17313421693869066, + -0.18041539817164426, + 0.7952535477747441 + ], + "default_ori": [ + 0.6825584812491938, + -0.1810490582076191, + 0.6339785677595267, + 0.3152877000748802 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.2600534559533209, + -0.16960456734437218, + 0.7952535477747441 + ], + "default_ori": [ + 0.7379575397012318, + 0.22431418416277799, + 0.6199925262772721, + -0.14391345921010507 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.21088197985120266, + -0.20505533297745118, + 0.7952535477747441 + ], + "default_ori": [ + 0.6776635355377083, + -0.19071058634268617, + 0.6311394918028149, + 0.32567552371378283 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.21888515509682405, + -0.1991775456608657, + 0.8207 + ], + "default_ori": [ + 0.995821136244526, + 0.0, + 0.0, + 0.09132504918510279 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04826109981893562, + -0.20611709221189012, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_8.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_8.json new file mode 100644 index 0000000000000000000000000000000000000000..93ea62deaea5bde318501c0199ea27e9a66d70d4 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_8.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.13800294188352294, + -0.16614062372432103, + 0.795253547774744 + ], + "default_ori": [ + 0.7447414007994044, + -0.24246206940825105, + 0.6131229328238791, + -0.10321172452320714 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.20197374309976945, + -0.22128452278994384, + 0.795253547774744 + ], + "default_ori": [ + 0.6887574233611413, + -0.06691729336352774, + 0.6559189444627942, + -0.30150559846980474 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.21207189491376818, + -0.16132764971446992, + 0.795253547774744 + ], + "default_ori": [ + 0.6609560170200454, + -0.011508727603846497, + 0.6592231299379802, + -0.3583706987306732 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.13595347318310896, + -0.2390950388460799, + 0.795253547774744 + ], + "default_ori": [ + 0.6895245711238496, + -0.06859086753518205, + 0.6557460474505795, + -0.299747026607746 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.16946367208990476, + -0.1973430317229481, + 0.8207 + ], + "default_ori": [ + 0.9706280113538245, + 0.0, + 0.0, + -0.2405852521983007 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + -0.04139295185974607, + -0.1261866447370837, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/fill_egg_holder/fill_egg_holder_9.json b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_9.json new file mode 100644 index 0000000000000000000000000000000000000000..aa16192f5db3ecd4cd7764d31a3f4959d0078e58 --- /dev/null +++ b/Layouts/RoboDojo/fill_egg_holder/fill_egg_holder_9.json @@ -0,0 +1,433 @@ +{ + "Rigid": { + "egg": [ + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target0", + "default_pos": [ + 0.22011166486178535, + -0.09529017947233823, + 0.7952535477747441 + ], + "default_ori": [ + 0.7515599169171207, + -0.3563741936770299, + 0.5547116547696951, + 0.021215688234046126 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target1", + "default_pos": [ + 0.19946879908783743, + -0.14403372095813752, + 0.7952535477747441 + ], + "default_ori": [ + 0.7515504166985929, + -0.32425881933028705, + 0.5740764791757411, + -0.021549601014520442 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target2", + "default_pos": [ + 0.28607079329010937, + -0.10249077532361775, + 0.7952535477747441 + ], + "default_ori": [ + 0.6839848796180291, + -0.0754269127144985, + 0.6549949363885542, + -0.31218119513773407 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "egg", + "category_idx": 0, + "group": null, + "xlim": [ + -0.1, + 0.1 + ], + "ylim": [ + -0.1, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "egg_basket/egg_basket/0", + "place_tag": null, + "margin": 0, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target3", + "default_pos": [ + 0.27308317738816335, + -0.15274376999717199, + 0.7952535477747441 + ], + "default_ori": [ + 0.6945679090766165, + -0.09847703597731637, + 0.6519278021693882, + -0.2878677366858793 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.3, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "egg_basket": [ + { + "category": "egg_basket", + "category_idx": 0, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_basket", + "default_pos": [ + 0.24364178056913455, + -0.12541433849464576, + 0.8207 + ], + "default_ori": [ + 0.9670966718206748, + 0.0, + 0.0, + -0.2544091730920373 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ], + "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": { + "egg_holder": [ + { + "category": "egg_holder", + "category_idx": 0, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.2, + -0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "egg_holder", + "default_pos": [ + 0.031653649786905144, + -0.14537534033782556, + 0.7655888032422532 + ], + "default_ori": [ + 0.9999946300432551, + -0.0022999876490994867, + -0.0022999876490994867, + 0.00039999785201730206 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "fixed_base": false, + "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/play_Xylophone/play_Xylophone_0.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_0.json new file mode 100644 index 0000000000000000000000000000000000000000..98c0a5e58f6b45ccb426e29f1932165e205641e0 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_0.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.19152763051676003, + -0.18750553043232618, + 0.7725999148423683 + ], + "default_ori": [ + 0.6018261293084521, + -0.00011294401475255983, + -8.511188365272977e-05, + -0.7986271283153503 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.1010106398099235, + -0.21238613389524227, + 0.7863919031668024 + ], + "default_ori": [ + 0.7983753933876618, + 0.020231057657290274, + -0.014918787449248468, + 0.6016351596442882 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.07404873258108118, + -0.024829347372883635, + 0.765 + ], + "default_ori": [ + 0.04763838399331366, + 0.0, + 0.0, + 0.9988646476727994 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_1.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_1.json new file mode 100644 index 0000000000000000000000000000000000000000..f892be010502b67ddc2cdb6b02b3fcc7d6bc6a6f --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_1.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.43603421700999173, + -0.10893431314358586, + 0.7726000000000001 + ], + "default_ori": [ + 0.9913566815726514, + 0.0, + 0.0, + 0.13119424492431245 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.46144258977206115, + -0.018564092515574268, + 0.786392253685952 + ], + "default_ori": [ + -0.13115323333858858, + -0.0029824115176262313, + -0.024822962799989204, + 0.9910467976459052 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.0561254842212369, + -0.02939022847416859, + 0.765 + ], + "default_ori": [ + 0.01688021341458593, + 0.0, + 0.0, + 0.999857519047128 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_10.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_10.json new file mode 100644 index 0000000000000000000000000000000000000000..2c4b8e9d713f7457993396e5f233bd84c11dbe7b --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_10.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.4244885521075345, + -0.16416464958443866, + 0.7726000000000001 + ], + "default_ori": [ + 0.9815067508954033, + 0.0, + 0.0, + -0.1914275266171214 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.3901664395468868, + -0.07678984551217781, + 0.786392253685952 + ], + "default_ori": [ + 0.19136769069818726, + 0.005080076273932899, + -0.024479932305485272, + 0.9811999453201233 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.09333740085901653, + -0.04898974626602074, + 0.765 + ], + "default_ori": [ + 0.06924274040623717, + 0.0, + 0.0, + 0.9975998410690704 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_11.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_11.json new file mode 100644 index 0000000000000000000000000000000000000000..ed2a84b9fad79f2f84764d602de7c54f8e2f19e6 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_11.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + 0.0009039088270042077, + -0.12789843288547692, + 0.7725999148423683 + ], + "default_ori": [ + 0.7983030945663071, + -8.517266065562715e-05, + -0.00011289818902083258, + -0.6022558834959394 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.09088174480683701, + -0.10113353823331886, + 0.7863919031666784 + ], + "default_ori": [ + 0.6020648296094633, + 0.015408558339383864, + -0.019861797658530234, + 0.7980513932517143 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.09356579388220371, + 0.03174934291211526, + 0.765 + ], + "default_ori": [ + -0.10724773308613308, + 0.0, + 0.0, + 0.994232328858746 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_12.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_12.json new file mode 100644 index 0000000000000000000000000000000000000000..7279114856e9ef08f4609e7f8bfea35b7ff113e5 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_12.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + 0.031871289737637434, + -0.12533745940271263, + 0.7725999148423683 + ], + "default_ori": [ + 0.6732919744117656, + -0.00010456465776499277, + -9.521877731746087e-05, + -0.7393766950562637 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.12542612154761384, + -0.13307466478224123, + 0.7863919031668785 + ], + "default_ori": [ + 0.7391432274419164, + 0.01878135873315266, + -0.0167148091979849, + 0.6730788698543136 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.07217193109914535, + 0.027241345847791157, + 0.765 + ], + "default_ori": [ + -0.12172997066710924, + 0.0, + 0.0, + 0.9925632545290929 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_13.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_13.json new file mode 100644 index 0000000000000000000000000000000000000000..4db9ee2f172fae83c4d83edaf16d405f4a992f1b --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_13.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.14655284161059806, + -0.19611644760123753, + 0.7725999148423683 + ], + "default_ori": [ + 0.6300039684600309, + -0.0001098277330466041, + -8.909687009758608e-05, + -0.7765919003725374 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.05448884811364191, + -0.2144628707890381, + 0.786391903166807 + ], + "default_ori": [ + 0.7763469550799609, + 0.01969262093531165, + -0.01562671966116165, + 0.629804264554792 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.004675441463588874, + -0.01567191871490923, + 0.765 + ], + "default_ori": [ + 0.018063540351204666, + 0.0, + 0.0, + 0.9998368409445515 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_14.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_14.json new file mode 100644 index 0000000000000000000000000000000000000000..70572e46e504b8b3eadfae995c29242c06d1358a --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_14.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.13334186841039938, + -0.159931068223019, + 0.7725999148423683 + ], + "default_ori": [ + 0.839515261717639, + -7.684006346404525e-05, + -0.00011872652548686737, + -0.5433360887542638 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.04812969451801764, + -0.12054506182096708, + 0.7863919031666812 + ], + "default_ori": [ + 0.5431633053460182, + 0.013953772053186951, + -0.020901434568498568, + 0.8392508838267941 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.027790919713275363, + 0.008729594756014465, + 0.765 + ], + "default_ori": [ + 0.05128244221550977, + 0.0, + 0.0, + 0.9986841898820733 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_15.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_15.json new file mode 100644 index 0000000000000000000000000000000000000000..36e40fa776edee9303918e2ebebcc16205fb9a77 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_15.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.022169595090778694, + -0.15092519551436342, + 0.7725999148423683 + ], + "default_ori": [ + 0.7593909463952108, + -9.201450864607633e-05, + -0.00010739512747775575, + -0.6506345906364056 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.07043068207884964, + -0.1355122238531844, + 0.7863919031667637 + ], + "default_ori": [ + 0.6504285547551865, + 0.016600835975709324, + -0.01888133246444991, + 0.7591512383500104 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.06723728956715577, + 0.02285406009028508, + 0.765 + ], + "default_ori": [ + 0.029206036765680343, + 0.0, + 0.0, + 0.9995734127198671 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_16.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_16.json new file mode 100644 index 0000000000000000000000000000000000000000..c1b40cb65bcf2704cd6c8e023ed1d047099f91dd --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_16.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.03694679348296505, + -0.18842639962741237, + 0.7725999148423683 + ], + "default_ori": [ + 0.7889990256939778, + -8.688932703948886e-05, + -0.00011158238236373611, + -0.6143944314962257 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.053807524195774926, + -0.16442588458258542, + 0.7863919031669152 + ], + "default_ori": [ + 0.6141996146991509, + 0.01570791158953514, + -0.01962727351419815, + 0.7887501917282232 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.028077633470082238, + 0.026226439604360594, + 0.765 + ], + "default_ori": [ + -0.03927658871974675, + 0.0, + 0.0, + 0.999228377088311 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_17.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_17.json new file mode 100644 index 0000000000000000000000000000000000000000..6de46609f3646d0dd6384391b5693622375f424e --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_17.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.01051876940912068, + -0.1778076085351497, + 0.7725999148423683 + ], + "default_ori": [ + 0.8633101628840475, + -7.137232346154102e-05, + -0.00012209166495319584, + -0.5046736991965565 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.07077085505261865, + -0.13085691849216716, + 0.7863919031668828 + ], + "default_ori": [ + 0.504512920950334, + 0.012997727092819922, + -0.02150243206711713, + 0.8630384795012223 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.058168933986093074, + 0.001516725309938181, + 0.765 + ], + "default_ori": [ + 0.022617565530629477, + 0.0, + 0.0, + 0.9997441901453931 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_18.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_18.json new file mode 100644 index 0000000000000000000000000000000000000000..7cc6bae7c99d1a2d499c80cae04474980931b997 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_18.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.4168130006927077, + -0.07818131650382247, + 0.7726000000000001 + ], + "default_ori": [ + 0.9986628542116295, + 0.0, + 0.0, + 0.051696263093976444 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.4275264086303425, + 0.01507952750714614, + 0.786392253685952 + ], + "default_ori": [ + -0.051680101638896005, + -0.0009927951736347488, + -0.02498176571768547, + 0.9983506862991398 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.04929938302437466, + -0.033235408704829154, + 0.765 + ], + "default_ori": [ + 0.007227485065869239, + 0.0, + 0.0, + 0.9999738813887205 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_19.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_19.json new file mode 100644 index 0000000000000000000000000000000000000000..1419408238031fd36a88af4600a089e24000d63c --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_19.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.21537400211414717, + -0.12150615890078613, + 0.7726000000000001 + ], + "default_ori": [ + 0.9698891640676269, + 0.0, + 0.0, + 0.24354672944673275 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.26062481835724544, + -0.03925820124011843, + 0.786392253685952 + ], + "default_ori": [ + -0.24347058769818578, + -0.005797628182879019, + -0.024319987008286092, + 0.969585993434966 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.008319985726459585, + 0.035389410418195114, + 0.765 + ], + "default_ori": [ + 0.07458830867760641, + 0.0, + 0.0, + 0.9972144123550433 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_2.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_2.json new file mode 100644 index 0000000000000000000000000000000000000000..77be37cb15ce5b1bf889f1164d4243bc7cddca1f --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_2.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.05957451123098996, + -0.16419620403091828, + 0.7725999148423683 + ], + "default_ori": [ + 0.52097439410877, + -0.00012071450908847873, + -7.367761195145951e-05, + -0.853572293764633 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.02438129831099522, + -0.20619374405857516, + 0.7863919031661902 + ], + "default_ori": [ + 0.8533036732149429, + 0.021568983614229792, + -0.012888804198294523, + 0.520808505066952 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.013720309044102593, + 0.015463990788959532, + 0.765 + ], + "default_ori": [ + 0.11445582667051883, + 0.0, + 0.0, + 0.9934283385031697 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_20.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_20.json new file mode 100644 index 0000000000000000000000000000000000000000..c5dbae946c9c74a37066d283a0d4631a6791e730 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_20.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.07158435203003684, + -0.13967970487560083, + 0.7725999148423683 + ], + "default_ori": [ + 0.7485914834043619, + -9.376771329944917e-05, + -0.00010586783812818017, + -0.6630315007404051 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.02147259626775591, + -0.12731946454626453, + 0.7863919031670158 + ], + "default_ori": [ + 0.6628216283150353, + 0.016905988208381052, + -0.01860938291676368, + 0.7483551078652174 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.024989037685696002, + 0.03470457245728277, + 0.765 + ], + "default_ori": [ + -0.006741508296733726, + 0.0, + 0.0, + 0.9999772757747474 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_21.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_21.json new file mode 100644 index 0000000000000000000000000000000000000000..c04b49dff3acaf8d5a38c89cd2f733ca98e0f7d8 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_21.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.39954510690218775, + -0.03171020531526304, + 0.7726000000000001 + ], + "default_ori": [ + 0.9987783243871509, + 0.0, + 0.0, + 0.049415167048136574 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.40983239725591153, + 0.06159860873311626, + 0.786392253685952 + ], + "default_ori": [ + -0.04939972136188173, + -0.0009357339181502449, + -0.02498396811286271, + 0.9984661202408114 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.06161142578955247, + 0.03792846749444416, + 0.765 + ], + "default_ori": [ + 0.04684127393880595, + 0.0, + 0.0, + 0.9989023451047604 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_23.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_23.json new file mode 100644 index 0000000000000000000000000000000000000000..ec5af3e38a288e104d32d89ff0c39699f9e488b1 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_23.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.2656574577144029, + -0.08286256980206452, + 0.7726000000000001 + ], + "default_ori": [ + 0.9770650287094688, + 0.0, + 0.0, + 0.21294114133479486 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.30565102735902605, + 0.002066087705340461, + 0.786392253685952 + ], + "default_ori": [ + -0.2128745826929931, + -0.005030345787745521, + -0.02449019971102376, + 0.9767596110521022 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.030919641940093067, + 0.035457903131003915, + 0.765 + ], + "default_ori": [ + 0.10931889409020636, + 0.0, + 0.0, + 0.9940067300551311 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_24.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_24.json new file mode 100644 index 0000000000000000000000000000000000000000..69ebbabf5178105578c174b6170059c7d3310f72 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_24.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + 0.016846278642737505, + -0.15183561518822444, + 0.7725999148423683 + ], + "default_ori": [ + 0.5265078357746006, + -0.00012023338490083921, + -7.44601662812333e-05, + -0.8501702646338339 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.10134058685956765, + -0.192738955371603, + 0.7863919031671198 + ], + "default_ori": [ + 0.8499026890817256, + 0.021486376316735587, + -0.013027678071247538, + 0.5263402267815933 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.035579277203318986, + 0.02023611158325815, + 0.765 + ], + "default_ori": [ + -0.09303633432125794, + 0.0, + 0.0, + 0.9956627142240806 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_25.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_25.json new file mode 100644 index 0000000000000000000000000000000000000000..39e8f0de883d693c106e331fd74faaf2b1dbd75c --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_25.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.3491938477536581, + -0.06208970837582707, + 0.7726000000000001 + ], + "default_ori": [ + 0.9981546080901816, + 0.0, + 0.0, + 0.060723787335243806 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.3615919219134956, + 0.030962162220979757, + 0.786392253685952 + ], + "default_ori": [ + -0.06070480676649767, + -0.0012186329793869638, + -0.024971767944854607, + 0.9978425988976479 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.011065415895226149, + 0.007674456875126979, + 0.765 + ], + "default_ori": [ + 0.07358235757432, + 0.0, + 0.0, + 0.9972891439566586 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_26.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_26.json new file mode 100644 index 0000000000000000000000000000000000000000..4351e1e7b8e45366043d85968bbccfb9dcc92500 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_26.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.3769188216035248, + -0.019306520961270852, + 0.7726000000000001 + ], + "default_ori": [ + 0.9985278766309534, + 0.0, + 0.0, + 0.0542409401732624 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.3881074090731579, + 0.07389851250882834, + 0.786392253685952 + ], + "default_ori": [ + -0.05422398541848123, + -0.001056451845775839, + -0.024979154712032877, + 0.9982157507997489 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.016195924445741427, + -0.05934231388503345, + 0.765 + ], + "default_ori": [ + -0.04994628979944971, + 0.0, + 0.0, + 0.9987519051973165 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_27.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_27.json new file mode 100644 index 0000000000000000000000000000000000000000..4edecbed25e060556841fe132330ff9b9941995f --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_27.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.4296642345883242, + -0.11317952075986562, + 0.7726000000000001 + ], + "default_ori": [ + 0.9820084888496775, + 0.0, + 0.0, + 0.1888367756216278 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.46543143610505605, + -0.026386262734434382, + 0.786392253685952 + ], + "default_ori": [ + -0.1887777441635341, + -0.004426261024152923, + -0.02460655347618155, + 0.9817015274755854 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.05136005357888477, + -0.05681683067095929, + 0.765 + ], + "default_ori": [ + 0.10288965828536534, + 0.0, + 0.0, + 0.994692775794577 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_28.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_28.json new file mode 100644 index 0000000000000000000000000000000000000000..3a47347d92a2a94f085644adc26afdc0c150fad1 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_28.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + 0.04176601808679557, + -0.15534950789883878, + 0.7725999148423683 + ], + "default_ori": [ + 0.6288617171292531, + -0.00010995858455733951, + -8.893532981604488e-05, + -0.7775171514049476 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.13377568008828705, + -0.17396651490130777, + 0.7863919031668406 + ], + "default_ori": [ + 0.7772719198253119, + 0.019715247732468327, + -0.015598017013128029, + 0.6286623684643292 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.08709143562048892, + 0.016702180245515175, + 0.765 + ], + "default_ori": [ + -0.025100245825804, + 0.0, + 0.0, + 0.9996849391980877 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_29.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_29.json new file mode 100644 index 0000000000000000000000000000000000000000..39db2a431cce0dd7f1c397ff53737c235549d547 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_29.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.1935855213396206, + -0.18998729434361344, + 0.7725999148423683 + ], + "default_ori": [ + 0.6321165825254076, + -0.00010958468164278867, + -8.939564170915114e-05, + -0.7748732838961585 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.10142295491935072, + -0.20783199037096173, + 0.7863919031669006 + ], + "default_ori": [ + 0.774628867679631, + 0.019650588508225132, + -0.015679806973506655, + 0.6319162249712593 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.055090173053106886, + -0.007712080470920051, + 0.765 + ], + "default_ori": [ + 0.1193945612347717, + 0.0, + 0.0, + 0.9928468858527766 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_30.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_30.json new file mode 100644 index 0000000000000000000000000000000000000000..5ec79c164cb7e6112953f1a90e975aad5366bbec --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_30.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.16621248984991302, + -0.14747969632085028, + 0.7725999148423683 + ], + "default_ori": [ + 0.8413539553866698, + -7.643678496523153e-05, + -0.00011898655853297553, + -0.5404845064891521 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.08126954691514829, + -0.10751636080864592, + 0.7863919031668319 + ], + "default_ori": [ + 0.5403126078880045, + 0.013883294950309783, + -0.020947853642161087, + 0.8410890127129071 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.06533951959345484, + 0.03227454815193863, + 0.765 + ], + "default_ori": [ + 0.057359827597333116, + 0.0, + 0.0, + 0.9983535697226731 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_32.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_32.json new file mode 100644 index 0000000000000000000000000000000000000000..d1c46314dd20d56fd333ccb9e5190581108bea86 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_32.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.07485852108966275, + -0.13061398437307764, + 0.7725999148423683 + ], + "default_ori": [ + 0.7303887738261016, + -9.659618701874421e-05, + -0.00010329356156499812, + -0.6830316384095402 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.01873055471338618, + -0.12330267025858671, + 0.7863919031668639 + ], + "default_ori": [ + 0.6828155786604779, + 0.017397951123120564, + -0.01815114855142667, + 0.7301580189531162 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.01613087933793426, + 0.03728242502503332, + 0.765 + ], + "default_ori": [ + 0.031318776172875006, + 0.0, + 0.0, + 0.9995094468082998 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_33.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_33.json new file mode 100644 index 0000000000000000000000000000000000000000..559c7810b10f5dbba8afeef500754b3c4f56b5e8 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_33.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.25941243154170207, + -0.11040325670348676, + 0.7726000000000001 + ], + "default_ori": [ + 0.9811097847449058, + 0.0, + 0.0, + 0.1934517776548062 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.295994207142393, + -0.02395016304587322, + 0.786392253685952 + ], + "default_ori": [ + -0.19339130320544862, + -0.004541904220084812, + -0.024585470641939996, + 0.9808031043914311 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.001468138099628309, + 0.026313308155277992, + 0.765 + ], + "default_ori": [ + 0.10227045991725507, + 0.0, + 0.0, + 0.99475663004994 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_34.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_34.json new file mode 100644 index 0000000000000000000000000000000000000000..96f34a48b3909bdb91f897ea8c05c46821bf64a0 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_34.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.1659527767904894, + -0.16287428706902315, + 0.7725999148423683 + ], + "default_ori": [ + 0.6541158910937886, + -0.0001069713377244334, + -9.250684359974385e-05, + -0.7563943290494685 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.07291748452641081, + -0.17539651079897867, + 0.7863919031669168 + ], + "default_ori": [ + 0.7561556088371727, + 0.01919833034998273, + -0.016232713901905626, + 0.6539087232444882 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.024086125456446738, + 0.013870399447603416, + 0.765 + ], + "default_ori": [ + 0.08115206429420949, + 0.0, + 0.0, + 0.9967017319443107 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_35.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_35.json new file mode 100644 index 0000000000000000000000000000000000000000..739c20c5a43f528129b88ca2034bbb444a8e2f02 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_35.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.0030232530742209827, + -0.134980028069136, + 0.7725999148423683 + ], + "default_ori": [ + 0.6434431859583256, + -0.00010825821777321312, + -9.099748068990606e-05, + -0.7654938578743898 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.0896242225075624, + -0.15010669463242945, + 0.7863919031668133 + ], + "default_ori": [ + 0.7652523321799831, + 0.019421105059115255, + -0.015964456259879904, + 0.6432393216429686 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.0902261459484049, + 0.03522293120479504, + 0.765 + ], + "default_ori": [ + -0.006592569940605163, + 0.0, + 0.0, + 0.9999782687746661 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_36.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_36.json new file mode 100644 index 0000000000000000000000000000000000000000..ee928a84f60fe4b0aa563ab1b6d0b15f28c8d0d5 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_36.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.003936222876214634, + -0.1254191168808642, + 0.7725999148423683 + ], + "default_ori": [ + 0.8329295677921367, + -7.826035888864297e-05, + -0.00011779515878830955, + -0.5533789977015944 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.08219730459888501, + -0.08809101887670026, + 0.7863919031666271 + ], + "default_ori": [ + 0.553203097148642, + 0.014201934819152955, + -0.020735201337199943, + 0.8326672143047598 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.061200338110728746, + 0.03476150288803892, + 0.765 + ], + "default_ori": [ + -0.1143117450343074, + 0.0, + 0.0, + 0.9934449279890716 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_37.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_37.json new file mode 100644 index 0000000000000000000000000000000000000000..ded8b7bf80dc48ab5db1c8c92679dfa857207f85 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_37.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.320356437723072, + -0.13782867209213345, + 0.7726000000000001 + ], + "default_ori": [ + 0.9729479688123063, + 0.0, + 0.0, + -0.2310243493314234 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.2790748686595901, + -0.053518561607693596, + 0.786392253685952 + ], + "default_ori": [ + 0.23095214231651806, + 0.006067416934100075, + -0.024254086508832137, + 0.9726438370229777 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.0019383041309030498, + -0.031007398826457068, + 0.765 + ], + "default_ori": [ + 0.060564855342518764, + 0.0, + 0.0, + 0.9981642641856799 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_39.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_39.json new file mode 100644 index 0000000000000000000000000000000000000000..ee3f16f3899f4d336240f96f30baeb54a01690be --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_39.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.3062794706023229, + -0.192442986421113, + 0.7726000000000001 + ], + "default_ori": [ + 0.9995943738557528, + 0.0, + 0.0, + 0.02847960245378353 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.312648904201936, + -0.09878513085016824, + 0.786392253685952 + ], + "default_ori": [ + -0.028470700507119612, + -0.00041210657025325063, + -0.02499808850302102, + 0.999281914652719 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.02686748703537715, + -0.015614900217416407, + 0.765 + ], + "default_ori": [ + 0.0335875668832259, + 0.0, + 0.0, + 0.9994357785024833 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_4.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_4.json new file mode 100644 index 0000000000000000000000000000000000000000..8bfcc85d67f743e0b1f9d8be04d9bf148b5c30f3 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_4.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + 0.01685012802077358, + -0.13763059165917232, + 0.7725999148423683 + ], + "default_ori": [ + 0.775649163472806, + -8.926096527095793e-05, + -0.00010969440863708189, + -0.6311642854309434 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.1085496542817287, + -0.11754159611537293, + 0.786391903166934 + ], + "default_ori": [ + 0.6309642773463507, + 0.016121260435191395, + -0.019290871106730015, + 0.7754044415443606 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.02848392126933037, + 0.03074703070735299, + 0.765 + ], + "default_ori": [ + -0.022925501661467288, + 0.0, + 0.0, + 0.9997371761485966 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_40.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_40.json new file mode 100644 index 0000000000000000000000000000000000000000..1fbc430503ecd288f7588429a382fe553a976616 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_40.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.39148535426957637, + -0.09884470007438206, + 0.7726000000000001 + ], + "default_ori": [ + 0.9838566512806538, + 0.0, + 0.0, + 0.17895834635696092 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.4255009464760136, + -0.011350111164441803, + 0.786392253685952 + ], + "default_ori": [ + -0.17890240812626942, + -0.004178749094530634, + -0.024649793440008318, + 0.9835491111815374 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.025076649562443137, + -0.023705840206507733, + 0.765 + ], + "default_ori": [ + 0.028949429895351923, + 0.0, + 0.0, + 0.9995808774224996 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_41.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_41.json new file mode 100644 index 0000000000000000000000000000000000000000..35676682c5937cf624ae72a352e9bdcfe126d5c1 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_41.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.03003066441197629, + -0.17834599097824325, + 0.7725999148423683 + ], + "default_ori": [ + 0.6299183195361163, + -0.00010983755827272948, + -8.90847573944444e-05, + -0.77666137454647 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.06202928481416162, + -0.19671272230915363, + 0.7863919031668386 + ], + "default_ori": [ + 0.7764164079048543, + 0.019694319966053937, + -0.015624567443022088, + 0.6297186420850316 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.0961882955340124, + 0.037994964980257784, + 0.765 + ], + "default_ori": [ + -0.08636879664983779, + 0.0, + 0.0, + 0.9962632337717071 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_42.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_42.json new file mode 100644 index 0000000000000000000000000000000000000000..08d8d18eeeb13a99aef725a0624e0926ef8898e1 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_42.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.3986355641128226, + -0.17618559095995717, + 0.7726000000000001 + ], + "default_ori": [ + 0.9864196070725346, + 0.0, + 0.0, + 0.16424481356458845 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.43002286067482026, + -0.08771412501449838, + 0.786392253685952 + ], + "default_ori": [ + -0.1641934702186221, + -0.0038101464194172374, + -0.024709452541339712, + 0.986111266580469 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.061581743960002246, + -0.04608603635510525, + 0.765 + ], + "default_ori": [ + -0.0797287325730967, + 0.0, + 0.0, + 0.9968165975756461 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_44.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_44.json new file mode 100644 index 0000000000000000000000000000000000000000..2cbf0dd0e791a0f59a2658ab8f1f1684ae8a6019 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_44.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.345792706273781, + -0.045503999888088495, + 0.7726000000000001 + ], + "default_ori": [ + 0.9930112876694572, + 0.0, + 0.0, + 0.11801941603416995 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.36879247467120896, + 0.045509041676237795, + 0.786392253685952 + ], + "default_ori": [ + -0.11798252997555372, + -0.002652548748319904, + -0.02486037501261604, + 0.9927008856447836 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.0011183161010243593, + -0.0010752886045361666, + 0.765 + ], + "default_ori": [ + 0.049624061556171016, + 0.0, + 0.0, + 0.998767967305054 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_45.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_45.json new file mode 100644 index 0000000000000000000000000000000000000000..c6c167e055fc1bcf5ff0e7846f34c782210f0ea8 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_45.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.10695397815321077, + -0.12615382060131136, + 0.7725999148423683 + ], + "default_ori": [ + 0.7861665106626776, + -8.740131844588434e-05, + -0.00011118180040484766, + -0.6180147227308481 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.015982853712456918, + -0.10298865082762224, + 0.7863919031668005 + ], + "default_ori": [ + 0.6178187878201905, + 0.015797167613734585, + -0.019555887222187946, + 0.7859185467888684 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -5.8089082622998604e-05, + 0.03352509108642285, + 0.765 + ], + "default_ori": [ + 0.050093783926962, + 0.0, + 0.0, + 0.9987445182887759 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_48.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_48.json new file mode 100644 index 0000000000000000000000000000000000000000..07b5559058eaf0755f6a37bb2b4160642797f997 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_48.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + 0.010737887477017606, + -0.16532558581529455, + 0.7725999148423683 + ], + "default_ori": [ + 0.7151850685060562, + -9.884530009998744e-05, + -0.00010114341231877476, + -0.6989351170070112 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.10455799399585287, + -0.1621383326250298, + 0.7863919031669079 + ], + "default_ori": [ + 0.6987141408555126, + 0.017788822558612843, + -0.017768538119436926, + 0.714959010163253 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.05611111144122257, + 0.033727217327118184, + 0.765 + ], + "default_ori": [ + -0.05760557674621253, + 0.0, + 0.0, + 0.9983394200009015 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_5.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_5.json new file mode 100644 index 0000000000000000000000000000000000000000..1a2aea809cc48fcad20a082823d6b36c661ae42b --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_5.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.08588153484233406, + -0.18525102300725896, + 0.7725999148423683 + ], + "default_ori": [ + 0.8311156750934067, + -7.864510742308127e-05, + -0.00011753863316269365, + -0.5560995545886075 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.0004942641862800551, + -0.14848701109935783, + 0.7863919031673694 + ], + "default_ori": [ + 0.5559228126321583, + 0.014269147338676106, + -0.020689423014915526, + 0.8308538774084694 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.06317642201752409, + 0.009347404180717554, + 0.765 + ], + "default_ori": [ + 0.05013777135024498, + 0.0, + 0.0, + 0.9987423110512694 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_50.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_50.json new file mode 100644 index 0000000000000000000000000000000000000000..49eec91e1932de223897fbf23dd1d4b7b78c8898 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_50.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.19314543229833267, + -0.19793821293357267, + 0.7725999148423683 + ], + "default_ori": [ + 0.8266473197384323, + -7.958143782474834e-05, + -0.00011690670622803456, + -0.5627203468587954 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.10619337943714074, + -0.16255870121043775, + 0.7863919031669941 + ], + "default_ori": [ + 0.5625415477448326, + 0.014432692753845858, + -0.020576665428790875, + 0.8263868980571711 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + 0.0007231394468361673, + -0.02484175606690442, + 0.765 + ], + "default_ori": [ + 0.10078625197597703, + 0.0, + 0.0, + 0.994908101993664 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_51.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_51.json new file mode 100644 index 0000000000000000000000000000000000000000..945a0ac884cd420963f190058e2cd4aec248bce1 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_51.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.08645750133653048, + -0.18279093694728824, + 0.7725999148423683 + ], + "default_ori": [ + 0.5908675330166414, + -0.00011409540064864279, + -8.356208924008506e-05, + -0.8067685779865531 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.003346502914589558, + -0.21013343453517547, + 0.7863919031666361 + ], + "default_ori": [ + 0.8065143368280991, + 0.020429754478198652, + -0.014643534629144715, + 0.5906799611602355 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.0872493523048607, + 0.022264198798759544, + 0.765 + ], + "default_ori": [ + 0.04233091615855141, + 0.0, + 0.0, + 0.999103645042484 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_52.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_52.json new file mode 100644 index 0000000000000000000000000000000000000000..0fe1ec64119c2ebc187715fc4d07481d3a8385f3 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_52.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.1797797135969963, + -0.13319955797114091, + 0.7725999148423683 + ], + "default_ori": [ + 0.6456301203056791, + -0.00010799749191626284, + -9.130676287734116e-05, + -0.7636502653398944 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.08704721458217674, + -0.1477959790973908, + 0.7863919031667196 + ], + "default_ori": [ + 0.7634093085438632, + 0.01937598109453627, + -0.016019421345210796, + 0.6454255783008371 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.01041647091076436, + 0.026969219977352354, + 0.765 + ], + "default_ori": [ + 0.028061951608329586, + 0.0, + 0.0, + 0.9996061858911898 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_53.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_53.json new file mode 100644 index 0000000000000000000000000000000000000000..a6ac266da3577ae149b33b40d5f79271d41e2de0 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_53.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.1522816542323713, + -0.19523494019370913, + 0.7725999148423683 + ], + "default_ori": [ + 0.5817034054556844, + -0.00011503337065543287, + -8.226607346283193e-05, + -0.8134009639045656 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.06311920714187329, + -0.22460207220583644, + 0.7863919031667954 + ], + "default_ori": [ + 0.8131446850965386, + 0.020591517294695855, + -0.014413382211029228, + 0.5815186711774546 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.009975364793766938, + 0.015153827941195947, + 0.765 + ], + "default_ori": [ + -0.020509644878788, + 0.0, + 0.0, + 0.9997896551109868 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_54.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_54.json new file mode 100644 index 0000000000000000000000000000000000000000..3002e3bb5a980ab47b67e11f2fbfab498cd3654f --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_54.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.4252516897513933, + -0.05289614672368308, + 0.7726000000000001 + ], + "default_ori": [ + 0.9991973617280994, + 0.0, + 0.0, + 0.04005786209479629 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.43378928938086425, + 0.04058899929755711, + 0.786392253685952 + ], + "default_ori": [ + -0.04004534263219564, + -0.0007016785614072552, + -0.024991636757655127, + 0.998885026553527 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.09724630910185386, + -0.010323935655723796, + 0.765 + ], + "default_ori": [ + -0.017064203960270842, + 0.0, + 0.0, + 0.99985439587132 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_6.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_6.json new file mode 100644 index 0000000000000000000000000000000000000000..25e7418c214781294ad2fd573600f0df80cc0d8d --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_6.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.11362326108015756, + -0.15936934781506684, + 0.7725999148423683 + ], + "default_ori": [ + 0.8283141299654138, + -7.92340460577289e-05, + -0.0001171424310515364, + -0.5602639396742009 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.02688278342800346, + -0.12347421891626709, + 0.786391903166978 + ], + "default_ori": [ + 0.5600859062456216, + 0.0143720191304748, + -0.020618724723934286, + 0.8280531932683384 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.03975501898687724, + 0.01537584290713606, + 0.765 + ], + "default_ori": [ + 0.07155967168186192, + 0.0, + 0.0, + 0.9974363204680208 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_7.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_7.json new file mode 100644 index 0000000000000000000000000000000000000000..c18d46a963a73099d6c04c1c143d10e732bc586d --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_7.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.10199629125117436, + -0.18470591734158084, + 0.7725999148423683 + ], + "default_ori": [ + 0.845486220906142, + -7.551933521919929e-05, + -0.00011957095473145838, + -0.533997219334958 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.017678141336391257, + -0.14344065989727564, + 0.7863919031665496 + ], + "default_ori": [ + 0.5338273304791592, + 0.013722938611859335, + -0.021052188031478763, + 0.845220011339318 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.01762990717968754, + 0.028209073681874017, + 0.765 + ], + "default_ori": [ + 0.008684282797751084, + 0.0, + 0.0, + 0.9999622909051564 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_8.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_8.json new file mode 100644 index 0000000000000000000000000000000000000000..72533c3c5c2c857328c161a9552cfe01f0a84c09 --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_8.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.2, + 0.05 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up_side", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + 0.04031365542174452, + -0.15232565332462647, + 0.7725999148423683 + ], + "default_ori": [ + 0.7312855219766928, + -9.646039482251186e-05, + -0.000103420382120873, + -0.6820714517899812 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + 0.13388319774208565, + -0.14476845523139392, + 0.786391903166864 + ], + "default_ori": [ + 0.681855689106908, + 0.017374342565258508, + -0.01817371927240743, + 0.7310544900216238 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.01292748472389343, + 0.022206848956877384, + 0.765 + ], + "default_ori": [ + 0.041241313311733585, + 0.0, + 0.0, + 0.9991492151207063 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/play_Xylophone/play_Xylophone_9.json b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_9.json new file mode 100644 index 0000000000000000000000000000000000000000..8a6087631c65d46f472bef8113220237f97dbeee --- /dev/null +++ b/Layouts/RoboDojo/play_Xylophone/play_Xylophone_9.json @@ -0,0 +1,292 @@ +{ + "Rigid": { + "mallet_stand": [ + { + "category": "mallet_stand", + "category_idx": 0, + "xlim": [ + -0.45, + -0.2 + ], + "ylim": [ + -0.2, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": "up", + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "mallet_stand", + "default_pos": [ + -0.4404948592574642, + -0.1270641069200945, + 0.7726000000000001 + ], + "default_ori": [ + 0.9898350275195861, + 0.0, + 0.0, + -0.14222031604275184 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "mallet": [ + { + "category": "mallet", + "category_idx": 0, + "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": "mallet_stand/mallet_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "point", + "need_check_stable": true, + "label": "mallet", + "default_pos": [ + -0.4150512832103626, + -0.03670379102227998, + 0.786392253685952 + ], + "default_ori": [ + 0.14217586437514376, + 0.0038524100178825315, + -0.024702898568472402, + 0.9895256183285761 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + } + ] + }, + "Geometry": { + "xylophone": [ + { + "category": "xylophone", + "category_idx": 0, + "xlim": [ + -0.1, + 0.0 + ], + "ylim": [ + -0.05, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 15, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.02, + "check_mode": "bbox", + "need_check_stable": true, + "label": "xylophone", + "default_pos": [ + -0.038564212647142014, + 0.012014334144220274, + 0.765 + ], + "default_ori": [ + 0.0987274680234228, + 0.0, + 0.0, + 0.9951145095202281 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0, + "type": "geometry" + }, + "visual": {} + } + ], + "camera_stand": [ + { + "category": "camera_stand", + "category_idx": 0, + "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/stack_blocks/stack_blocks_0.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_0.json new file mode 100644 index 0000000000000000000000000000000000000000..c6fabea48d185388794246944c439d3de08484f0 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_0.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.24428776164867352, + -0.22786190255571911, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 18, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.37790703809715354, + -0.1690098048189287, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 15, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.32280857323529777, + -0.054714560931304466, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_1.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_1.json new file mode 100644 index 0000000000000000000000000000000000000000..488aba421a7eed4d2848429e1197bfb3ccfc6354 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_1.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 15, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.2537846654788718, + -0.07486816644379551, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.1939637098301408, + -0.0977968591985604, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.27828533629376795, + -0.1818025033572496, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_10.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_10.json new file mode 100644 index 0000000000000000000000000000000000000000..6f80b8237e32f6d4d9f2ca1d028d095b5d8d4485 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_10.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 14, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.36468266274936656, + -0.08503567052480146, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 5, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.052878327104745916, + -0.030444030256473624, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03, + 0.03, + 0.03 + ], + "mass": 0.2, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 8, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.2131134136899391, + -0.15978829157912808, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_11.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_11.json new file mode 100644 index 0000000000000000000000000000000000000000..c063ceee05f463af0fb786e27a113a40eb4f2ebf --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_11.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.1962285435241751, + -0.055284688355607056, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 7, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.22959153955721648, + -0.012093569258773196, + 0.7802999752140201 + ], + "default_ori": [ + 0.9999995950002459, + 0.0, + -0.0008999996355002213, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.04, + 0.04, + 0.04 + ], + "mass": 0.3, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.3791249288521665, + -0.01304301054971806, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_12.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_12.json new file mode 100644 index 0000000000000000000000000000000000000000..90c41b1841f53440f66c1338387cee8e3e19fbaf --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_12.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.20863557740422325, + -0.0766599804851687, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 18, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.4104969217461536, + -0.11727958135742139, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.38073661773407097, + -0.1740187394573245, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_13.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_13.json new file mode 100644 index 0000000000000000000000000000000000000000..1e6a80864c1857f8a378aadfe860dd7a0e207701 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_13.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 5, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.11704325611853653, + -0.006958129129808193, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03, + 0.03, + 0.03 + ], + "mass": 0.2, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.355848317379652, + -0.025531093486465394, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 14, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.09660359794863041, + -0.07123218297085454, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_14.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_14.json new file mode 100644 index 0000000000000000000000000000000000000000..639a6895dbca3d8a1a165652f46c86f3bf694ab1 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_14.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.07227770955496507, + -0.06528502231584651, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 18, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.2048583148136261, + -0.10316237822442462, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 15, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.1671285322616536, + -0.08015790685589175, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_15.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_15.json new file mode 100644 index 0000000000000000000000000000000000000000..145bf1cd6b7bf5f5101ba0b13a9185da4b0c914c --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_15.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.37935699118032273, + -0.07956676648641438, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.34123944037253495, + -0.1276944566240237, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 19, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.07041351550434395, + -0.009137000456762124, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_16.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_16.json new file mode 100644 index 0000000000000000000000000000000000000000..a6e3b9c0ddc220bd8a09a386b31f8a4cbe4a4242 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_16.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.22635766946997007, + -0.05667617636840149, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 5, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.3877171516179981, + -0.049746290377055295, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03, + 0.03, + 0.03 + ], + "mass": 0.2, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 8, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.21052215339628708, + -0.1309845256999717, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_17.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_17.json new file mode 100644 index 0000000000000000000000000000000000000000..c3a9c519d30f5972aa735830be1499d8fee688c3 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_17.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 7, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.3317472444302857, + -0.09716817552950802, + 0.7802999752140201 + ], + "default_ori": [ + 0.9999995950002459, + 0.0, + -0.0008999996355002213, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.04, + 0.04, + 0.04 + ], + "mass": 0.3, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.24334741435039595, + -0.0009917580995618853, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.2959445255521809, + -0.05812841398744749, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_18.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_18.json new file mode 100644 index 0000000000000000000000000000000000000000..7787fd53839e848c69697779a2f3d5c29bef0bc8 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_18.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 8, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.3586740472722597, + -0.04797428102198494, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.44036875760422256, + -0.12503983659169005, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.28812131641974303, + -0.0235432286075618, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_19.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_19.json new file mode 100644 index 0000000000000000000000000000000000000000..861e7d6e4fe521b074d7627e5c370ed556713d96 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_19.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 6, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.27887644663887584, + -0.1170621702851406, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.22436470386415278, + -0.07779057252262592, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 18, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.12175161555230565, + -0.005891662475744763, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_2.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_2.json new file mode 100644 index 0000000000000000000000000000000000000000..e58568f405e0c845eaeb6ffa80777325ea751abd --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_2.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.2607875959888391, + -0.012282240593596665, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 8, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.007664852637759813, + -0.019797081576099572, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.30215745036895597, + -0.15739004470955403, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_20.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_20.json new file mode 100644 index 0000000000000000000000000000000000000000..ccdc303a79b82c12251b76590528ce2255d31326 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_20.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.19292095190602945, + -0.16527545309426575, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.24756062080195787, + -0.10050715420204831, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 15, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.08331342085625396, + -0.025469315231724125, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_21.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_21.json new file mode 100644 index 0000000000000000000000000000000000000000..8e9dac4b24163354359243e4c6e717a1becbc7bc --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_21.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 7, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.3741952139141283, + -0.0802936915393761, + 0.7802999752140201 + ], + "default_ori": [ + 0.9999995950002459, + 0.0, + -0.0008999996355002213, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.04, + 0.04, + 0.04 + ], + "mass": 0.3, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 19, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.0067411382380241185, + -0.0039159108270163286, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.4324186342843622, + -0.13371262530930111, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_22.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_22.json new file mode 100644 index 0000000000000000000000000000000000000000..31789eb90b55d5b8f8cbb3b2d95d396ad58a6f98 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_22.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.039384725995281734, + -0.042856383385094836, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.34836049590896523, + -0.05517202245091154, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 14, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.20138866237748113, + -0.017445915123618087, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_23.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_23.json new file mode 100644 index 0000000000000000000000000000000000000000..3072e99a0a4650eb32317aaf67d9ac5ea90c0079 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_23.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.10981449878795649, + -0.06668754200943441, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 18, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.27475721310921125, + -0.11992716116509688, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 6, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.2569986959076761, + -0.1111384656660604, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_24.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_24.json new file mode 100644 index 0000000000000000000000000000000000000000..a44c8c56c02f8e7c574d5087f8aa9df60db7d7ca --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_24.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 19, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.24339270010917957, + -0.13114101536059766, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 7, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.4484817151480595, + -0.11460583332684193, + 0.7802999752140201 + ], + "default_ori": [ + 0.9999995950002459, + 0.0, + -0.0008999996355002213, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.04, + 0.04, + 0.04 + ], + "mass": 0.3, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 10, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.21037932824448605, + -0.0955571106520768, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_25.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_25.json new file mode 100644 index 0000000000000000000000000000000000000000..8513ba8c9c62edb2e59f27e0bd1371bfb57bbd4b --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_25.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 14, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.42137034060183076, + -0.020725728869122516, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.32659111928906664, + -0.09876595759613546, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.1780244194647528, + -0.23962017264550636, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_26.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_26.json new file mode 100644 index 0000000000000000000000000000000000000000..a7f31fb43d18a61d89202ff1d8dcfca1795af656 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_26.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.2908475446605503, + -0.007833593951538171, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 10, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.12731073027642378, + -0.05685814209561761, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 7, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.1370192163619497, + -0.046873977968139136, + 0.7802999752140201 + ], + "default_ori": [ + 0.9999995950002459, + 0.0, + -0.0008999996355002213, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.04, + 0.04, + 0.04 + ], + "mass": 0.3, + "friction": 0.0, + "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/stack_blocks/stack_blocks_27.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_27.json new file mode 100644 index 0000000000000000000000000000000000000000..aabd9c992f766871bb2020468ffb8fc2cbf31c08 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_27.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.4412344492198189, + -0.09895996402320711, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 15, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.28752227711109235, + -0.011645592900008404, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.3289528457843518, + -0.10334677015064617, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_28.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_28.json new file mode 100644 index 0000000000000000000000000000000000000000..3b8d3269838b095b69c00a13d27bfdac89aa750c --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_28.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 14, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.13823928221949436, + -0.016669483840814923, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.34650547392298453, + -0.06729859606815555, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 8, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.07516877387612356, + -0.06931565461416345, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_29.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_29.json new file mode 100644 index 0000000000000000000000000000000000000000..ee27c07c4a90b7e2c40324508baf564670e012c8 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_29.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 7, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.3689579308234757, + -0.03340884615173231, + 0.7802999752140201 + ], + "default_ori": [ + 0.9999995950002459, + 0.0, + -0.0008999996355002213, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.04, + 0.04, + 0.04 + ], + "mass": 0.3, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.18078722296989572, + -0.009510634805070212, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.39825394992630325, + -0.1408984268428667, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_3.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_3.json new file mode 100644 index 0000000000000000000000000000000000000000..a7dc2180eba4c5eb536aa6db63969d9c43a0cf90 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_3.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.44294987051489354, + -0.12378353074159926, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 8, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.30988371084726385, + -0.12918337940678598, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.21648600549940145, + -0.15243812775377916, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_30.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_30.json new file mode 100644 index 0000000000000000000000000000000000000000..43a9d606301d66c1c24b53ae119de33b7250159b --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_30.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.27512965669850864, + -0.009691149913004286, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 14, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.22828301455250458, + -0.14002388508070596, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.2926167245285047, + -0.17380098256256962, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_31.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_31.json new file mode 100644 index 0000000000000000000000000000000000000000..50674ae1058fbb81776da795646dca001cf64dd4 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_31.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 7, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.1819901522039532, + -0.008790979547596167, + 0.7802999752140201 + ], + "default_ori": [ + 0.9999995950002459, + 0.0, + -0.0008999996355002213, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.04, + 0.04, + 0.04 + ], + "mass": 0.3, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 19, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.21257342148491645, + -0.20966102104010104, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 10, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.043280213300091595, + -0.02383486577643711, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_32.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_32.json new file mode 100644 index 0000000000000000000000000000000000000000..fa62dad0da25aa95a6d4f014b69e96fac53fb95f --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_32.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.02389130181665608, + -0.042689711459627626, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.1461331905660769, + -0.0877821900558958, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 6, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.3594689857680441, + -0.13453516234682697, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_33.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_33.json new file mode 100644 index 0000000000000000000000000000000000000000..5887d60543548eebe0e158415f9a61f3ea7ac744 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_33.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 10, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.1659026203686145, + -0.17478265683771718, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.05132159451696292, + -0.047630079569277714, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.4118213312761395, + -0.12887535713519863, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_34.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_34.json new file mode 100644 index 0000000000000000000000000000000000000000..420316a3ecb03bbd077ea9db1f7752ab89d26d0e --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_34.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 10, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.2935992612134215, + -0.09775216623193618, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.21482314954426387, + -0.036102494961318385, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.3063616228874683, + -0.06253599811114506, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_35.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_35.json new file mode 100644 index 0000000000000000000000000000000000000000..6bf1117ab8a843bb95addae90159b18c6d2b4cfa --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_35.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 18, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.4058687128691023, + -0.12948577064415207, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 6, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.22107377818169602, + -0.13982588834768753, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.37594233589445997, + -0.15715765574764154, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_36.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_36.json new file mode 100644 index 0000000000000000000000000000000000000000..0f17d021ee9340a4ef466c94922f8053f801f014 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_36.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 18, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.27590843174508445, + -0.20589192712479595, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 15, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.33615879327815307, + -0.11028687264287376, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.3551174704767358, + -0.06317677744342434, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_37.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_37.json new file mode 100644 index 0000000000000000000000000000000000000000..439889bb1fb2df034ade96d3679a2df17386671a --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_37.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.049772700706279066, + -0.02200505540736524, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 15, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.39102830341962136, + -0.019630005783254516, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 18, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.3595934591050649, + -0.12841690941094397, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_38.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_38.json new file mode 100644 index 0000000000000000000000000000000000000000..0342966dde5e4e233a6a415835354ac9089a1ac5 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_38.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 7, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.18468527745241425, + -0.21548654060716588, + 0.7802999752140201 + ], + "default_ori": [ + 0.9999995950002459, + 0.0, + -0.0008999996355002213, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.04, + 0.04, + 0.04 + ], + "mass": 0.3, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 19, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.28792478072278815, + -0.06023849695808502, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.2638155901957029, + -0.16259636231043567, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_39.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_39.json new file mode 100644 index 0000000000000000000000000000000000000000..6d4faa0cde301b603372f10960562ff183940a67 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_39.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 5, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.2534217375355134, + -0.20615266844210373, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03, + 0.03, + 0.03 + ], + "mass": 0.2, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.35797936994352253, + -0.016124525511580577, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.4299296493239271, + -0.09684918720856645, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_4.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_4.json new file mode 100644 index 0000000000000000000000000000000000000000..93c4ced1ce54db0f8544c5f77598b56be25d8b38 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_4.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.40399659850058334, + -0.13986242394147616, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.44449792211965394, + -0.0639386328765448, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 6, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.1639405309964628, + -0.17020055875685497, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_40.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_40.json new file mode 100644 index 0000000000000000000000000000000000000000..4ff420ecb3bf0a8ffaf4e7a334f895ebab431108 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_40.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 10, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.4182198659474132, + -0.004786692697164769, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.284045339825196, + -0.01578061226581411, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 19, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.417961040892567, + -0.09686822321500661, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_41.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_41.json new file mode 100644 index 0000000000000000000000000000000000000000..67220c15358db00222a9a450d3479c96864fad06 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_41.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 6, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.44064740596888496, + -0.00731951413018505, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 15, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.054831864189742924, + -0.004706271130308381, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 18, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.23002918225159866, + -0.15463321756678047, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_42.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_42.json new file mode 100644 index 0000000000000000000000000000000000000000..51d23802875f5d5730c9dc0a08a6fb5de8cd3a27 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_42.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.19449376541716593, + -0.23175293099669542, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 10, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.1536992346619578, + -0.16725270539413034, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.13953301224406636, + -0.010544179625051987, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_43.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_43.json new file mode 100644 index 0000000000000000000000000000000000000000..35dd4138ce797a756b3964a64399bdd7f833ab96 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_43.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 19, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.20202858033605747, + -0.09175061847505721, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.3100039836514138, + -0.12341302539586728, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.2104884637043586, + -0.1845485310350255, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_44.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_44.json new file mode 100644 index 0000000000000000000000000000000000000000..213eefde515cbd45e8aa049efe7f2a4227c20973 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_44.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 6, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.30833753023972016, + -0.03704175964149769, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.18781884989462586, + -0.011313904416348823, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.20894957148837737, + -0.21163780569611054, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_45.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_45.json new file mode 100644 index 0000000000000000000000000000000000000000..636c134835e0e99973609f82fb03fc0b8405dd6a --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_45.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 19, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.4354844252646638, + -0.07655778258428413, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 10, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.190484947779794, + -0.12258425104169289, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 7, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.22499512049040882, + -0.19064975448745164, + 0.7802999752140201 + ], + "default_ori": [ + 0.9999995950002459, + 0.0, + -0.0008999996355002213, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.04, + 0.04, + 0.04 + ], + "mass": 0.3, + "friction": 0.0, + "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/stack_blocks/stack_blocks_46.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_46.json new file mode 100644 index 0000000000000000000000000000000000000000..9725fbb24bd526a034314f59037106ee7451ddf9 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_46.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 8, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.208052587991137, + -0.03959314268872315, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.11204906674995221, + -0.02119413077973597, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 5, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.38322144603332137, + -0.14058625038073808, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03, + 0.03, + 0.03 + ], + "mass": 0.2, + "friction": 0.0, + "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/stack_blocks/stack_blocks_47.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_47.json new file mode 100644 index 0000000000000000000000000000000000000000..88c6ceccd1b6d8251542ab3efe1347e83db46936 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_47.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 14, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.1914859856793518, + -0.07288478197305234, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.274179905506356, + -0.06852262962953676, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.3223981462310457, + -0.023998905235657085, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_48.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_48.json new file mode 100644 index 0000000000000000000000000000000000000000..3301334fc91e1526274c8c420d7fc6215e3d320f --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_48.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 6, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.27321310830581885, + -0.17176374820372134, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 18, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.4263282864943495, + -0.11487219294864232, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.15414698123089923, + -0.24944130792452396, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_49.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_49.json new file mode 100644 index 0000000000000000000000000000000000000000..b3bcff639ac8e8d48cd6da01bde4c4f1afa50d92 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_49.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 14, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.20387142187464002, + -0.0678946955178917, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 5, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.2904014528103667, + -0.18353252214640778, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03, + 0.03, + 0.03 + ], + "mass": 0.2, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.3448959515176603, + -0.0723780755791234, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_5.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_5.json new file mode 100644 index 0000000000000000000000000000000000000000..05f69e6e79f787aadef4de783bcb3dbd2cdba8b7 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_5.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.07745714252468985, + -0.003808492456795425, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 6, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.16798663007958328, + -0.09096544767095216, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.25618989270810316, + -0.0034956902464885965, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_50.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_50.json new file mode 100644 index 0000000000000000000000000000000000000000..8c5efec53e91442d40f76c27c7dca76a19839f7d --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_50.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.15832299181607842, + -0.05320239139670737, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 14, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.19521571333334822, + -0.04914185452008992, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 5, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.07826918555722676, + -0.009487495829094882, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03, + 0.03, + 0.03 + ], + "mass": 0.2, + "friction": 0.0, + "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/stack_blocks/stack_blocks_51.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_51.json new file mode 100644 index 0000000000000000000000000000000000000000..3147b0d835c42dafa3e2d33c4e3bdecfd91e5f8f --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_51.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 7, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.24583833307102268, + -0.07834076077105717, + 0.7802999752140201 + ], + "default_ori": [ + 0.9999995950002459, + 0.0, + -0.0008999996355002213, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.04, + 0.04, + 0.04 + ], + "mass": 0.3, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.4200583527242567, + -0.07977459812995623, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.06075333170581968, + -0.0077939974132273555, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_52.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_52.json new file mode 100644 index 0000000000000000000000000000000000000000..c769235862a96c03e62c9d2dac388bfae86376ae --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_52.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 10, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.2156164508179014, + -0.0001934792974643724, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.1864916717821338, + -0.11853179254850331, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 19, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.2810221478518591, + -0.16550676548069623, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_53.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_53.json new file mode 100644 index 0000000000000000000000000000000000000000..d2ff0aff722e6f209348da8f2c9d0efc1a6f702e --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_53.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 5, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.013952490412402794, + -0.05911360624581704, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03, + 0.03, + 0.03 + ], + "mass": 0.2, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.32826806679684783, + -0.0651051967224392, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 14, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.21773054817410148, + -0.10471448811304507, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_54.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_54.json new file mode 100644 index 0000000000000000000000000000000000000000..4101a9d4e4e548aac270581824b3756ca63daaf9 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_54.json @@ -0,0 +1,280 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 5, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.3502601119372435, + -0.044035626287318434, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "size": [ + 0.03, + 0.03, + 0.03 + ], + "mass": 0.2, + "friction": 0.0, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.10022138672192274, + -0.016793233944502044, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.283638833860822, + -0.01845596876404975, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/stack_blocks/stack_blocks_6.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_6.json new file mode 100644 index 0000000000000000000000000000000000000000..6e0cb662db828826b9b975c93bb76f31755f7942 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_6.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 6, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.3003631604305723, + -0.08364378336221587, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 15, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.03382854303960528, + -0.059375290130506596, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.1423751264538972, + -0.12556966907045042, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_7.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_7.json new file mode 100644 index 0000000000000000000000000000000000000000..2508ebc8d64b9f2a56a9eea4756a8703dfc757ed --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_7.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 9, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.3392939811397706, + -0.11269238841039872, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 15, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.020766325497492993, + -0.06937830029823547, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 12, + "group": "size1", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.26023903034773, + -0.23174738973232803, + 0.7824999394501048 + ], + "default_ori": [ + 0.9999991350011223, + 0.00019999982700022448, + -0.001299998875501459, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.25 + }, + "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/stack_blocks/stack_blocks_8.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_8.json new file mode 100644 index 0000000000000000000000000000000000000000..65fd9d60737ef1ae606f145d59cc4cb267351f89 --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_8.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 16, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + 0.29312561410387383, + -0.04072262381671472, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 19, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + -0.24039454705421504, + -0.12342579412345102, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 13, + "group": "size2", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + -0.30475265626532666, + -0.035796704489853184, + 0.7852004525916271 + ], + "default_ori": [ + 0.9999907501283418, + 0.0024999768753208545, + 0.0034999676254491964, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.3 + }, + "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/stack_blocks/stack_blocks_9.json b/Layouts/RoboDojo/stack_blocks/stack_blocks_9.json new file mode 100644 index 0000000000000000000000000000000000000000..b264cbb27b79d269b8b564d16df6874096c5753b --- /dev/null +++ b/Layouts/RoboDojo/stack_blocks/stack_blocks_9.json @@ -0,0 +1,274 @@ +{ + "Rigid": { + "block": [ + { + "category": "block", + "category_idx": 17, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_0", + "default_pos": [ + -0.13983702636690462, + -0.032111941255330255, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 14, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_1", + "default_pos": [ + 0.3661551106582811, + -0.14600858187533836, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "visual": {} + }, + { + "category": "block", + "category_idx": 11, + "group": "size0", + "xlim": [ + -0.45, + 0.45 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "block_2", + "default_pos": [ + 0.2610815651522941, + -0.14338676675902634, + 0.779999952900074 + ], + "default_ori": [ + 0.9999992150009243, + 0.0010999991365010168, + -0.0005999995290005546, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "type": "rigid", + "mass": 0.2 + }, + "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/store_laptop_and_headphones_random/store_laptop_and_headphones_random_11.json b/Layouts/RoboDojo/store_laptop_and_headphones_random/store_laptop_and_headphones_random_11.json new file mode 100644 index 0000000000000000000000000000000000000000..ee9abe0385f1261bfd67e0c03927f34806d42af2 --- /dev/null +++ b/Layouts/RoboDojo/store_laptop_and_headphones_random/store_laptop_and_headphones_random_11.json @@ -0,0 +1,705 @@ +{ + "Rigid": { + "headset": [ + { + "category": "headset", + "category_idx": 8, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "headset", + "default_pos": [ + 0.012509485863407135, + -0.16984363921510298, + 0.7927294689549731 + ], + "default_ori": [ + -0.6396440998408636, + 0.7458064776998408, + -0.14360965626835215, + 0.11834014528558777 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.32, + "size": [ + 0.16369571695094276, + 0.07228027315780851, + 0.183 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "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.47406734800933104, + -0.21549800882617465, + 0.7647 + ], + "default_ori": [ + 0.9816216794153719, + 0.0, + 0.0, + -0.1908373089879042 + ] + } + ], + "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.18678878703611235, + 0.2951136686852073, + 0.7649099444727391 + ], + "default_ori": [ + 0.9813089250815257, + 0.0020535113336311727, + 0.015187985013854766, + -0.19182779193266647 + ] + } + ], + "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.09315393584991555, + 0.3388608356446622, + 0.8900960300131513 + ], + "default_ori": [ + 0.9668342711544544, + -0.00019334126544684685, + -5.117756808813098e-05, + 0.25540448727703774 + ] + } + ], + "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.5094825586234772, + 0.3185947434150242, + 0.8337125621683963 + ], + "default_ori": [ + 0.9921574653752897, + -3.2616438366300576e-05, + -0.005941178314151554, + -0.12485297447993997 + ] + } + ], + "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.49291591305623134, + 0.13472594251856462, + 0.7652364370958376 + ], + "default_ori": [ + 0.9985962533067922, + -0.009207277857107175, + 0.004426285480148485, + -0.051972655434826084 + ] + } + ], + "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.5297535411924172, + 0.12536668542490811, + 0.7739 + ], + "default_ori": [ + 0.9973207704053949, + 0.0, + 0.0, + 0.0731524498427055 + ] + } + ], + "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.2015780822985231, + 0.17835113571796343, + 0.8170615560928621 + ], + "default_ori": [ + 0.9967285455518381, + 0.01887591115074175, + 0.07858419904270338, + -0.0006558362322765444 + ] + } + ], + "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.43904173623413345, + -0.3981942220879146, + 0.765 + ], + "default_ori": [ + 0.9902787756689393, + 0.0, + 0.0, + -0.13909689593814353 + ] + } + ], + "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.3197109235377488, + 0.03431017385153558, + 0.7649999390112381 + ], + "default_ori": [ + 0.9998168290246463, + -0.00010469836159603327, + -0.0001975784353104112, + -0.01913787867335896 + ] + } + ], + "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.43738165585458894, + 0.32303204836156135, + 0.8048566320568888 + ], + "default_ori": [ + 0.9721992001906198, + -0.13853783631575461, + -0.14853290956180956, + -0.11650732953240237 + ] + } + ] + }, + "Geometry": { + "laptop_stand": [ + { + "category": "laptop_stand", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.09 + ], + "ylim": [ + 0.02, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -10, + 0 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "laptop_stand", + "default_pos": [ + 0.04029826293536285, + 0.019771052441842314, + 0.804500356355608 + ], + "default_ori": [ + 0.9969270213928665, + -0.0008581835073688305, + 0.0005687880991031852, + -0.07832913900913971 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.85, + "friction": 1.0, + "size": [ + 0.3172, + 0.1269, + 0.056 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "vertical_laptop_storage_rack": [ + { + "category": "vertical_laptop_storage_rack", + "category_idx": 0, + "group": null, + "xlim": [ + 0.3, + 0.35 + ], + "ylim": [ + -0.15, + -0.05 + ], + "zlim": [ + 0.025, + 0.025 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 75, + 105 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "vertical_laptop_storage_rack", + "default_pos": [ + 0.34475280616705545, + -0.1200524219817026, + 0.79 + ], + "default_ori": [ + 0.7716337567097179, + 0.0, + 0.0, + 0.6360670919848377 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.85, + "friction": 0.45, + "type": "geometry" + }, + "visual": {} + } + ], + "headset_stand": [ + { + "category": "headset_stand", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + -0.25 + ], + "ylim": [ + -0.02, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 0, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "stand", + "default_pos": [ + -0.31982611273735617, + 0.0512708936888928, + 0.9025000000000001 + ], + "default_ori": [ + 0.9992852889013947, + 0.0, + 0.0, + 0.03780094423762788 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.85, + "friction": 0.45, + "size": [ + 0.178355014162335, + 0.10429502245117392, + 0.275 + ], + "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": { + "laptop": [ + { + "category": "laptop", + "category_idx": 3, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.08, + -0.08 + ], + "zlim": [ + 0.02, + 0.02 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "laptop_stand/laptop_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "laptop", + "default_pos": [ + 0.07072992602731071, + -0.0659433686939459, + 0.8546008713234796 + ], + "default_ori": [ + 0.9969270212976307, + -0.0008581835081768263, + 0.0005687881191434041, + -0.07832914022109139 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.45, + "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_0452", + "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_0438", + "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/store_laptop_and_headphones_random/store_laptop_and_headphones_random_2.json b/Layouts/RoboDojo/store_laptop_and_headphones_random/store_laptop_and_headphones_random_2.json new file mode 100644 index 0000000000000000000000000000000000000000..8fc4fc65243fd906ac8b760b5993cb131b036afa --- /dev/null +++ b/Layouts/RoboDojo/store_laptop_and_headphones_random/store_laptop_and_headphones_random_2.json @@ -0,0 +1,702 @@ +{ + "Rigid": { + "headset": [ + { + "category": "headset", + "category_idx": 10, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "headset", + "default_pos": [ + 0.11401114011071577, + -0.22175533022437652, + 0.795847312534361 + ], + "default_ori": [ + -0.6250956421607794, + 0.7476727594146536, + 0.17302731301726798, + -0.14248660263654575 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.16330255276903877, + 0.0782988276213166, + 0.183 + ], + "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.1977848409758464, + 0.27102533971078147, + 0.8047343578181123 + ], + "default_ori": [ + 0.9991523104316419, + 0.02782154745538825, + 0.025954026168557815, + -0.015716570298297976 + ] + } + ], + "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.5403641696563178, + 0.31183972599469983, + 0.8412968630517244 + ], + "default_ori": [ + 0.6846777774633324, + 0.6867113459395948, + 0.17232095145758833, + 0.17305882842101233 + ] + } + ], + "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.43235078015355866, + 0.26977068530849996, + 0.7657016805597984 + ], + "default_ori": [ + 0.9988110915903842, + 0.00020954972183176096, + 0.0001899707990198304, + -0.04874754676940064 + ] + } + ], + "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.5276477540897232, + -0.3832627390567686, + 0.7645765963079757 + ], + "default_ori": [ + 0.9682598629228166, + 0.0035897825022030657, + 0.00527178363172586, + 0.2498642823846887 + ] + } + ], + "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.527171370892468, + 0.012963532787515351, + 0.802797711173963 + ], + "default_ori": [ + 0.7010563271433554, + 0.7129330086950959, + -0.012246481977238563, + -0.00982725619937884 + ] + } + ], + "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.2245822372536116, + 0.2469025937266505, + 0.7793985725095364 + ], + "default_ori": [ + 0.9998782367869864, + -0.010520129459233224, + 0.001681277121747322, + 0.01140227096450966 + ] + } + ], + "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.40697196770611505, + 0.24769713117878114, + 0.7788729825038763 + ], + "default_ori": [ + 0.7243465269748564, + -0.6428353399917894, + -0.16442638447514832, + 0.18721324367024592 + ] + } + ], + "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.5707623923304254, + 0.08342556377867745, + 0.8221003566737254 + ], + "default_ori": [ + 0.9901110361553294, + -0.00018497349300781557, + -0.000834136826177169, + 0.14028330650502333 + ] + } + ], + "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.36764422115161616, + -0.2567140635420023, + 0.770899999764 + ], + "default_ori": [ + 0.9915716513727579, + 0.00011208723547926421, + -8.623485051077792e-05, + 0.1295594079714165 + ] + } + ], + "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.3390263606649435, + -0.30339409238097903, + 0.7719 + ], + "default_ori": [ + -0.705450602113536, + 0.705450602113536, + 0.048367840324430075, + -0.048367840324430075 + ] + } + ] + }, + "Geometry": { + "laptop_stand": [ + { + "category": "laptop_stand", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.09 + ], + "ylim": [ + 0.02, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -10, + 0 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "laptop_stand", + "default_pos": [ + 0.059233737404739355, + 0.019771052441842314, + 0.804500356355608 + ], + "default_ori": [ + 0.999390628794641, + -0.0008821127572094988, + 0.0005309198786724212, + -0.03488998536282507 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.85, + "friction": 1.0, + "size": [ + 0.3172, + 0.1269, + 0.056 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "vertical_laptop_storage_rack": [ + { + "category": "vertical_laptop_storage_rack", + "category_idx": 0, + "group": null, + "xlim": [ + 0.3, + 0.35 + ], + "ylim": [ + -0.15, + -0.05 + ], + "zlim": [ + 0.025, + 0.025 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 75, + 105 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "vertical_laptop_storage_rack", + "default_pos": [ + 0.3294556655645998, + -0.1304019549277896, + 0.79 + ], + "default_ori": [ + 0.6969361248078785, + 0.0, + 0.0, + 0.7171332079452026 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.85, + "friction": 0.45, + "type": "geometry" + }, + "visual": {} + } + ], + "headset_stand": [ + { + "category": "headset_stand", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + -0.25 + ], + "ylim": [ + -0.02, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 0, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "stand", + "default_pos": [ + -0.3140519605546362, + 0.02941538225439672, + 0.9025000000000001 + ], + "default_ori": [ + 0.9967869828046196, + 0.0, + 0.0, + 0.08009813300734896 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.85, + "friction": 0.45, + "size": [ + 0.178355014162335, + 0.10429502245117392, + 0.275 + ], + "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": { + "laptop": [ + { + "category": "laptop", + "category_idx": 1, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.08, + -0.08 + ], + "zlim": [ + 0.02, + 0.02 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "laptop_stand/laptop_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "laptop", + "default_pos": [ + 0.036027268852422245, + -0.058711506014824374, + 0.8546619709360593 + ], + "default_ori": [ + 0.9993906287840002, + -0.0008821127606824595, + 0.0005309198971052975, + -0.034889985667262355 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.45, + "type": "articulation" + }, + "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_0443", + "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_0066", + "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/store_laptop_and_headphones_random/store_laptop_and_headphones_random_20.json b/Layouts/RoboDojo/store_laptop_and_headphones_random/store_laptop_and_headphones_random_20.json new file mode 100644 index 0000000000000000000000000000000000000000..b151d508454f06509fc6fb5ead72c6b23f248281 --- /dev/null +++ b/Layouts/RoboDojo/store_laptop_and_headphones_random/store_laptop_and_headphones_random_20.json @@ -0,0 +1,704 @@ +{ + "Rigid": { + "headset": [ + { + "category": "headset", + "category_idx": 10, + "group": null, + "xlim": [ + -0.4, + 0.4 + ], + "ylim": [ + -0.25, + 0.0 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 30, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "headset", + "default_pos": [ + -0.18596393400945255, + -0.23068995266840905, + 0.795847312534361 + ], + "default_ori": [ + -0.6410684078965847, + 0.7673204772463208, + 0.013125982598513409, + -0.00884817361042469 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.16330255276903877, + 0.0782988276213166, + 0.183 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "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.31781754839499415, + 0.19703140939122493, + 0.7967980902801215 + ], + "default_ori": [ + 0.9994738258986093, + 3.19714554945164e-05, + 0.0041010602188205035, + -0.032175326362043254 + ] + } + ], + "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.03714258354730819, + -0.13671777937142252, + 0.7722034910034408 + ], + "default_ori": [ + 0.708585084505397, + -0.6978832020626874, + 0.07449348667237983, + -0.07291731439515313 + ] + } + ], + "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.23994968748385434, + 0.33841646601052716, + 0.8503591379392014 + ], + "default_ori": [ + 0.9947553357278109, + 0.00022697031546444824, + -0.0066570629764245975, + -0.1020659298593517 + ] + } + ], + "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.5132829572922568, + 0.2800188725541133, + 0.8049999936000007 + ], + "default_ori": [ + 0.9974773786481753, + -0.00018525583006276348, + 0.00021372942667718378, + -0.07098449890768076 + ] + } + ], + "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.03519085332921843, + 0.2193625899763055, + 0.8801821179125787 + ], + "default_ori": [ + 0.9739166699407987, + 0.001624783891631681, + 0.0018998738721459428, + 0.2268922003242964 + ] + } + ], + "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.47944550540848974, + -0.04158864486915881, + 0.7649 + ], + "default_ori": [ + 0.9927369493657995, + 0.0, + 0.0, + -0.12030523414999912 + ] + } + ], + "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.5181892397748151, + -0.21025998625340236, + 0.7653 + ], + "default_ori": [ + 0.9925080316788062, + 0.0, + 0.0, + -0.12217940519196345 + ] + } + ], + "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.4188799368238726, + -0.4566262940280512, + 0.7880404744334204 + ], + "default_ori": [ + 0.7025074752862779, + -0.7011185905353238, + 0.08627153280671557, + -0.08644762460496284 + ] + } + ], + "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.5503880410258715, + 0.14309235902699644, + 0.765101676207007 + ], + "default_ori": [ + 0.9983606116879121, + -0.004244350798303098, + 0.0006596553393639947, + 0.05707573364637783 + ] + } + ], + "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.07263423972924375, + -0.2635819096820423, + 0.7689166712439107 + ], + "default_ori": [ + 0.9951773380728068, + 0.03586731668911329, + -0.0031212020304563167, + -0.09124614774186447 + ] + } + ] + }, + "Geometry": { + "laptop_stand": [ + { + "category": "laptop_stand", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.09 + ], + "ylim": [ + 0.02, + 0.02 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -10, + 0 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "laptop_stand", + "default_pos": [ + 0.0519120278792976, + 0.019771052441842314, + 0.804500356355608 + ], + "default_ori": [ + 0.9997245942904617, + -0.0008881337114498246, + 0.000520785315257297, + -0.023445160949284644 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.85, + "friction": 1.0, + "size": [ + 0.3172, + 0.1269, + 0.056 + ], + "type": "geometry" + }, + "visual": {} + } + ], + "vertical_laptop_storage_rack": [ + { + "category": "vertical_laptop_storage_rack", + "category_idx": 0, + "group": null, + "xlim": [ + 0.3, + 0.35 + ], + "ylim": [ + -0.15, + -0.05 + ], + "zlim": [ + 0.025, + 0.025 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 75, + 105 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "vertical_laptop_storage_rack", + "default_pos": [ + 0.3265680491665871, + -0.10964358657236636, + 0.79 + ], + "default_ori": [ + 0.7403911529931249, + 0.0, + 0.0, + 0.6721762719477021 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.85, + "friction": 0.45, + "type": "geometry" + }, + "visual": {} + } + ], + "headset_stand": [ + { + "category": "headset_stand", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + -0.25 + ], + "ylim": [ + -0.02, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 0, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "stand", + "default_pos": [ + -0.3198323728715044, + 0.04865883180894487, + 0.9025000000000001 + ], + "default_ori": [ + 0.9967875804484657, + 0.0, + 0.0, + 0.080090695237922 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.85, + "friction": 0.45, + "size": [ + 0.178355014162335, + 0.10429502245117392, + 0.275 + ], + "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": { + "laptop": [ + { + "category": "laptop", + "category_idx": 2, + "group": null, + "xlim": [ + -0.05, + 0.05 + ], + "ylim": [ + -0.08, + -0.08 + ], + "zlim": [ + 0.02, + 0.02 + ], + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 0, + "rotate_rand": false, + "relative_plane": "laptop_stand/laptop_stand/0", + "place_tag": null, + "margin": 0.01, + "check_mode": "none", + "need_check_stable": true, + "label": "laptop", + "default_pos": [ + 0.022654474300320027, + -0.058853701453260326, + 0.8546698309722314 + ], + "default_ori": [ + 0.9997245942808034, + -0.0008881337159794184, + 0.0005207853184150402, + -0.023445161360865403 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.1, + "friction": 0.45, + "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_0461", + "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_0244", + "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/sweep_blocks_random/sweep_blocks_random_0.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_0.json new file mode 100644 index 0000000000000000000000000000000000000000..1479f863a72695d2bf1bf6116fc88218b5040759 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_0.json @@ -0,0 +1,496 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.016840062365052564, + 0.041539745018097575, + 0.7893 + ], + "default_ori": [ + -0.5318042088300979, + 0.0, + -0.0, + -0.8468673352247055 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.26282118341777555, + -0.16155806244734355, + 0.7791908933919295 + ], + "default_ori": [ + -0.4952520463990442, + 0.5562715931753188, + 0.43659432199549403, + 0.5046510905220029 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.28048843376390364, + -0.14271873624494216, + 0.783843757773967 + ], + "default_ori": [ + 0.950922660589239, + -0.008146380175785568, + -0.05870691814598094, + -0.3036992390996655 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.18693863043384074, + -0.10187915968574722, + 0.7860832426435349 + ], + "default_ori": [ + 0.9308108828366792, + -0.05460038069908014, + 0.013217155798758764, + -0.361158144879648 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.06834763166176394, + -0.13874299471602872, + 0.7833 + ], + "default_ori": [ + 0.9433293192540722, + 0.0, + 0.0, + 0.3318580953293875 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.2770835746662192, + -0.001436108779043971, + 0.778384134596277 + ], + "default_ori": [ + 0.759523232352462, + -0.39258800771362795, + -0.518588412481577, + -0.008073051229255723 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.343323988257114, + -0.037576705280417656, + 0.774764340803822 + ], + "default_ori": [ + 0.7599353396426322, + 0.63645862602284, + 0.12915557277685835, + -0.02715759459226764 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "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_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_0560", + "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_0349", + "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/sweep_blocks_random/sweep_blocks_random_1.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_1.json new file mode 100644 index 0000000000000000000000000000000000000000..312e097550c73e5d7b4cc406a2c8c243f55ac1d7 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_1.json @@ -0,0 +1,546 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.104041561960805, + 0.043717092660690134, + 0.7893 + ], + "default_ori": [ + -0.7240054500324562, + 0.0, + 0.0, + -0.6897942507177779 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.32644819800355507, + -0.16429712151517667, + 0.7791908933919295 + ], + "default_ori": [ + -0.6259630370966952, + 0.3959113884237698, + 0.5859239369481976, + 0.3288123915185818 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.3385335248920748, + -0.12448993807653687, + 0.7802 + ], + "default_ori": [ + 0.9769556524981846, + 0.0, + 0.0, + 0.21344238813283195 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.1998277263763588, + 0.04719495168248866, + 0.7772000578039948 + ], + "default_ori": [ + 0.9385923770506516, + 0.0002815777131151955, + 0.00010350837346233117, + 0.3450279115411039 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.12175040146216169, + -0.07023926011857896, + 0.786303067644032 + ], + "default_ori": [ + 0.9336603186269714, + -0.004772706781584325, + 0.00266652843631628, + 0.35811802568072126 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.11545630869936464, + 0.03784890217714831, + 0.774764340803822 + ], + "default_ori": [ + 0.760313436011268, + 0.6338977313779918, + 0.14118927286460176, + -0.012756739494877193 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.3322109544700647, + -0.040539551433309166, + 0.783843757773967 + ], + "default_ori": [ + 0.9981292009244199, + 0.009221250670531804, + -0.058547709470469944, + -0.015007748459106055 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.2652650428377151, + -0.0725235915905247, + 0.7778636476588169 + ], + "default_ori": [ + 0.8714227501083133, + -0.38550505760071524, + -0.20394137069406124, + 0.2245354281118264 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "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_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_0561", + "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_0386", + "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/sweep_blocks_random/sweep_blocks_random_10.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_10.json new file mode 100644 index 0000000000000000000000000000000000000000..4aee2f2c26d0d0cf2f91b448e523cacf8c49a296 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_10.json @@ -0,0 +1,496 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.2038025406436685, + -0.11234929862894752, + 0.7893 + ], + "default_ori": [ + -0.8407019764325048, + 0.0, + 0.0, + -0.5414980949389208 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.02605633945709939, + 0.05460558427987101, + 0.7791908933919295 + ], + "default_ori": [ + -0.6197490776531057, + 0.40672368175716395, + 0.5784708584452718, + 0.34037977815318654 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.3259223497164748, + -0.07750384847763145, + 0.774764340803822 + ], + "default_ori": [ + 0.7600253038512558, + 0.6262186542773436, + 0.17207830093673143, + 0.02451107683491119 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.14591985954100423, + -0.13008980071319284, + 0.7802 + ], + "default_ori": [ + 0.9916354605441542, + 0.0, + 0.0, + -0.12907018784902796 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.21581190656019467, + -0.09730302586745948, + 0.7833 + ], + "default_ori": [ + 0.999988967670773, + 0.0, + 0.0, + 0.004697290361657414 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.26670973993199126, + -0.008040352664772744, + 0.7778636476588169 + ], + "default_ori": [ + 0.8940378243169753, + -0.43297159224369103, + -0.052362509739948306, + -0.10242136776213233 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.18349640119938598, + -0.006865075183328151, + 0.783843757773967 + ], + "default_ori": [ + 0.9910687512875725, + 0.0030390027732636925, + -0.05919147075644797, + -0.11945653800912095 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "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_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_0571", + "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_0192", + "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/sweep_blocks_random/sweep_blocks_random_11.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_11.json new file mode 100644 index 0000000000000000000000000000000000000000..75c9b1de4e6afffabb9668a927d38d3618ebf006 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_11.json @@ -0,0 +1,396 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.16538348709353806, + -0.1659194729713081, + 0.7893 + ], + "default_ori": [ + -0.48294338327422126, + 0.0, + -0.0, + -0.8756515794262286 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.34018058501811055, + 0.008788221631552472, + 0.7791908933919295 + ], + "default_ori": [ + -0.6123648183928224, + 0.41894247031170795, + 0.5696840299162652, + 0.35349206755203627 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.3194439103514531, + 0.030623348733449955, + 0.774764340803822 + ], + "default_ori": [ + 0.744813080802962, + 0.587881720384904, + 0.2759634531155985, + 0.15327338335993276 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.2654786075009317, + -0.021945716691326556, + 0.7833 + ], + "default_ori": [ + 0.9410491982552844, + 0.0, + 0.0, + 0.33826972442576997 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.22880758892827238, + -0.11969018768057467, + 0.7860832426435349 + ], + "default_ori": [ + 0.9398142850567939, + -0.0549230458938406, + 0.011804821457193816, + -0.3370359251226703 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "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_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_0572", + "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_0229", + "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/sweep_blocks_random/sweep_blocks_random_12.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_12.json new file mode 100644 index 0000000000000000000000000000000000000000..2d6188769486c2a292214aa4bfc6706d896941d4 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_12.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.10764462915730202, + -0.18323101761319743, + 0.7893 + ], + "default_ori": [ + -0.6880446708261726, + 0.0, + -0.0, + -0.7256683339844064 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.2398919068897991, + -0.020741063439122787, + 0.7791908933919295 + ], + "default_ori": [ + -0.14057439670285837, + 0.7043081925784398, + 0.06326655703769352, + 0.6929546533642119 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.2743596180131852, + -0.11264339324448604, + 0.7860832426435349 + ], + "default_ori": [ + 0.9258197574665769, + -0.04885403844001115, + -0.027734053219734375, + 0.3737671493117552 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.18149689447901343, + 0.02012225304956821, + 0.7778636476588169 + ], + "default_ori": [ + 0.8544963946220323, + -0.3710361640646233, + -0.22921255871464205, + 0.2821873127226751 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.09231166564025585, + -0.07652772401489243, + 0.774764340803822 + ], + "default_ori": [ + 0.757634423553272, + 0.6421091644371986, + 0.09724487422976202, + -0.06503334243987181 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.16495753457183523, + -0.0541275515113088, + 0.7833 + ], + "default_ori": [ + 0.9801632408076266, + 0.0, + 0.0, + -0.19819188018052225 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "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_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_0013", + "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_0142", + "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/sweep_blocks_random/sweep_blocks_random_13.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_13.json new file mode 100644 index 0000000000000000000000000000000000000000..83f46c5a552a48197cdf25a3bec05a334806ac77 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_13.json @@ -0,0 +1,396 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.15499421362996224, + -0.11612106280164593, + 0.7893 + ], + "default_ori": [ + -0.9235326766190374, + 0.0, + 0.0, + -0.3835197455371454 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.3112967315463673, + 0.07624990440749659, + 0.7791908933919295 + ], + "default_ori": [ + -0.09435210837173882, + 0.706952398324124, + 0.016461891637399858, + 0.7007460255137343 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.34029771063106967, + -0.09821688808819914, + 0.7772000578039948 + ], + "default_ori": [ + 0.99953578320499, + 0.00029986073496149704, + 9.13955843307518e-06, + 0.030465194776917264 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.2884919422523842, + -0.026907108509784027, + 0.7778636476588169 + ], + "default_ori": [ + 0.874708562581314, + -0.3885356337954218, + -0.19810677269465887, + 0.21137336263263728 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.04842654994847659, + 0.037099540736992356, + 0.786303067644032 + ], + "default_ori": [ + 0.9818995900142958, + -0.004232844382717848, + 0.003460076929254362, + 0.18932328442596122 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "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_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_0002", + "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_0465", + "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/sweep_blocks_random/sweep_blocks_random_14.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_14.json new file mode 100644 index 0000000000000000000000000000000000000000..71822eb9d3fff06e1fec4d880c319d4e825095c0 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_14.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.14715921712340888, + -0.11748167686324458, + 0.7893 + ], + "default_ori": [ + -0.705708835217858, + 0.0, + -0.0, + -0.7085019688719674 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.33384620061199655, + 0.027142938617511585, + 0.7791908933919295 + ], + "default_ori": [ + -0.11839930453946362, + 0.7059678493240364, + 0.04076865331731172, + 0.6970860185888532 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.20205440385221074, + -0.14321206446105264, + 0.786303067644032 + ], + "default_ori": [ + 0.9275988101197283, + -0.001679297518172666, + 0.005202793842746746, + -0.37353789414266847 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.12944615237052182, + 0.030141308195164255, + 0.7772000578039948 + ], + "default_ori": [ + 0.9483615307082753, + 0.0002845084592124826, + 9.515738823937881e-05, + 0.31719129413126274 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.04855984938639496, + -0.09746249670789733, + 0.7802 + ], + "default_ori": [ + 0.9956708197556642, + 0.0, + 0.0, + -0.09294954914943754 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.3364224728432625, + 0.021122454382780192, + 0.7860832426435349 + ], + "default_ori": [ + 0.9358078058276419, + -0.04960276411738948, + -0.02637158644844417, + 0.3480055398584359 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "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_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_0003", + "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_0502", + "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/sweep_blocks_random/sweep_blocks_random_15.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_15.json new file mode 100644 index 0000000000000000000000000000000000000000..91d7c2b4f2ea1d17d9351f5b1f7cda47f5731f53 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_15.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.15623396881320006, + -0.10870255673076878, + 0.7893 + ], + "default_ori": [ + -0.8738364865803773, + 0.0, + 0.0, + -0.48621990366588486 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.3193067159710114, + 0.05859931378559325, + 0.7791908933919295 + ], + "default_ori": [ + -0.2302358978080314, + 0.6899285752912571, + 0.15508464904396124, + 0.6685347739557139 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.32623856104521504, + -0.018681814424276917, + 0.7778636476588169 + ], + "default_ori": [ + 0.8980027523126783, + -0.42986022888390735, + -0.0736642093569053, + -0.05817924649349856 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.15396322826316935, + 0.00937541671622913, + 0.7772000578039948 + ], + "default_ori": [ + 0.9932071885967945, + 0.00029796215657903834, + -3.4907666017214364e-05, + -0.11635888672404789 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.24263015906778285, + -0.040411640840474605, + 0.7833 + ], + "default_ori": [ + 0.9617704284933433, + 0.0, + 0.0, + 0.27385697521832625 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.08450339786681572, + -0.0016587559275445338, + 0.774764340803822 + ], + "default_ori": [ + 0.7538591150600307, + 0.6458903530139004, + 0.06772293925826538, + -0.09967793147285914 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "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_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_0004", + "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_0569", + "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/sweep_blocks_random/sweep_blocks_random_16.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_16.json new file mode 100644 index 0000000000000000000000000000000000000000..ed6d2128bc5f1142248ce083aefe5b34b733ecf0 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_16.json @@ -0,0 +1,496 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.2414157650963442, + -0.06966877382708045, + 0.7893 + ], + "default_ori": [ + -0.818431686634382, + 0.0, + 0.0, + -0.5746038411921738 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.012125708709765641, + -0.18957871094851936, + 0.7791908933919295 + ], + "default_ori": [ + -0.342354366713444, + 0.6527253166151121, + 0.2720337266263396, + 0.6186604886524791 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.16972372631716354, + 0.010424474661471577, + 0.786303067644032 + ], + "default_ori": [ + 0.9997740174996463, + -0.003414208419473054, + 0.004269927961109374, + -0.020543242896200343 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.09730110351344302, + 0.032344966835966514, + 0.774764340803822 + ], + "default_ori": [ + 0.7359337181796777, + 0.5728936150288443, + 0.3058654123587397, + 0.1914179140729398 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.2724077792688178, + 0.043483368948541254, + 0.7860832426435349 + ], + "default_ori": [ + 0.9307256029442326, + -0.04921982640666859, + -0.02707957659178877, + 0.3613778593718792 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.16649615869844706, + -0.09411285541924505, + 0.7778636476588169 + ], + "default_ori": [ + 0.8595794252668223, + -0.37522044602233495, + -0.22229675886774253, + 0.2663024212087759 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.30941164276681704, + -0.11053183998122663, + 0.7833 + ], + "default_ori": [ + 0.9400000275624489, + 0.0, + 0.0, + -0.34117436624487957 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "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_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_0005", + "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_0034", + "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/sweep_blocks_random/sweep_blocks_random_17.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_17.json new file mode 100644 index 0000000000000000000000000000000000000000..e7d3c20e91c097299ce45aa241469ef9d682793a --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_17.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.01943500608310342, + -0.11880180387347578, + 0.7893 + ], + "default_ori": [ + -0.8842056008923114, + 0.0, + 0.0, + -0.4670979076710436 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.23151223784244146, + 0.04752238187845429, + 0.7791908933919295 + ], + "default_ori": [ + -0.5112561169896548, + 0.5419144557997443, + 0.4542922076899177, + 0.48843064550471044 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.23739994819094928, + -0.08729339178547145, + 0.7802 + ], + "default_ori": [ + 0.9421806244353707, + 0.0, + 0.0, + 0.33510546241232037 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.19982403344483654, + 0.020192151111431828, + 0.7833 + ], + "default_ori": [ + 0.9919162629152073, + 0.0, + 0.0, + -0.1268941581174222 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.34963289738472253, + -0.029109495484280858, + 0.774764340803822 + ], + "default_ori": [ + 0.7456856916323715, + 0.5894653813322849, + 0.2725643205355088, + 0.14897014693069352 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.33289935277184063, + -0.1158901838358454, + 0.783843757773967 + ], + "default_ori": [ + 0.9593621675989511, + 0.025847644072124382, + -0.05333633887030598, + 0.27588288390488275 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "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_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_0006", + "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_0072", + "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/sweep_blocks_random/sweep_blocks_random_18.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_18.json new file mode 100644 index 0000000000000000000000000000000000000000..1886966cac82302f601a05871ed1e94825ddb914 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_18.json @@ -0,0 +1,496 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.24471747502424454, + -0.13555449969563563, + 0.7893 + ], + "default_ori": [ + -0.5308798130400894, + 0.0, + -0.0, + -0.8474471217170543 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.009612706261613473, + -0.03114065306859361, + 0.7791908933919295 + ], + "default_ori": [ + -0.5114500674078806, + 0.5417339811304732, + 0.4545074048473144, + 0.4882275506113539 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.28691757760818387, + -0.06228269632539507, + 0.7772000578039948 + ], + "default_ori": [ + 0.9977390956054718, + 0.00029932172868164157, + -2.0161712204932296e-05, + -0.06720570734977432 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.18175503475616556, + -0.018750417845833665, + 0.783843757773967 + ], + "default_ori": [ + 0.9900400611447826, + 0.0025461884927769074, + -0.05921471668704149, + -0.12770204219302045 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.24424981296957068, + 0.05160644027351231, + 0.7860832426435349 + ], + "default_ori": [ + 0.9693090139668937, + -0.052279680962499, + -0.02056039246591526, + 0.23934105511306508 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.14199551740591146, + -0.08947452397670064, + 0.778384134596277 + ], + "default_ori": [ + 0.7398434976970616, + -0.2586572604116653, + -0.5967878241025447, + 0.1719660244195356 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.07903339960547945, + 0.0014466946434497515, + 0.786303067644032 + ], + "default_ori": [ + 0.9671367870880347, + -0.002318833084363465, + 0.004950971324045995, + -0.2541978480575882 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "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_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_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 + ] + }, + "Ground": { + "geometry": "cube", + "thickness": 0.1, + "axis": "Z", + "default_pos": [ + 0.0, + 0.0, + 0.0 + ], + "materials": { + "type": "mdl", + "default": "material_0109", + "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/sweep_blocks_random/sweep_blocks_random_19.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_19.json new file mode 100644 index 0000000000000000000000000000000000000000..c8562bfde6906f83bc91bac703f40df391971c5e --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_19.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.15227739175570776, + -0.10621937139668952, + 0.7893 + ], + "default_ori": [ + -0.5620005052560061, + 0.0, + -0.0, + -0.8271368883637061 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.33294486285859004, + 0.015069457862784252, + 0.7791908933919295 + ], + "default_ori": [ + -0.2902699991485851, + 0.6729018173704616, + 0.21738406462305904, + 0.6447407542739702 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.2548817568576608, + -0.05852241745010045, + 0.7860832426435349 + ], + "default_ori": [ + 0.996317791657333, + -0.05508486882906739, + -0.011025062629191024, + 0.06476853593498981 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.1348895532822256, + -0.06750153368599011, + 0.7802 + ], + "default_ori": [ + 0.998509019907085, + 0.0, + 0.0, + -0.05458696881301079 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.20897461284122118, + -0.12265613686216723, + 0.774764340803822 + ], + "default_ori": [ + 0.7597389476246957, + 0.6372995214935724, + 0.12494024380584252, + -0.03218674950846281 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.041455271683880385, + 0.009789743999061757, + 0.778384134596277 + ], + "default_ori": [ + 0.7284169812955259, + -0.22301974555937196, + -0.6110003915312583, + 0.21528914510396394 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "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_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_0011", + "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_0104", + "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/sweep_blocks_random/sweep_blocks_random_2.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_2.json new file mode 100644 index 0000000000000000000000000000000000000000..7a624a4605dde0d97c42fc760d645252c357e031 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_2.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.10323319619799001, + -0.0012836449795536548, + 0.7893 + ], + "default_ori": [ + -0.3980426749852349, + 0.0, + -0.0, + -0.9173668998228566 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.33023959187224344, + -0.09550052217531942, + 0.7791908933919295 + ], + "default_ori": [ + -0.6136857938757054, + 0.4168037203579199, + 0.5712506858361829, + 0.3511937627900485 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.05366109088377291, + -0.11352614007064313, + 0.783843757773967 + ], + "default_ori": [ + 0.9982411446480868, + 0.01017784214745872, + -0.05838901675305684, + 0.001323398469993471 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.15013301720674488, + -0.014365991421503011, + 0.7860832426435349 + ], + "default_ori": [ + 0.9503975349693723, + -0.055281807386491355, + 0.009990823388290593, + -0.30592258946381823 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.32841217047178417, + 0.025776796682301595, + 0.7802 + ], + "default_ori": [ + 0.9352194171756358, + 0.0, + 0.0, + -0.35406869635377836 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.28408114334689344, + -0.13683695369600915, + 0.774764340803822 + ], + "default_ori": [ + 0.7446580020875675, + 0.5876028900972265, + 0.2765566635747297, + 0.15402504766677705 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "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_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_0562", + "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_0423", + "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/sweep_blocks_random/sweep_blocks_random_20.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_20.json new file mode 100644 index 0000000000000000000000000000000000000000..86941ce22967449054352046f1728bcac436543e --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_20.json @@ -0,0 +1,546 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.318622679636597, + -0.031161505353232054, + 0.7893 + ], + "default_ori": [ + -0.5629313273797886, + 0.0, + -0.0, + -0.8265036724990577 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + 0.0011854090732469425, + -0.10737477343239245, + 0.7791908933919295 + ], + "default_ori": [ + -0.5757931101947938, + 0.4714509320824348, + 0.5270547466925194, + 0.4103773956734139 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.13105339548954797, + -0.061099551880568155, + 0.7778636476588169 + ], + "default_ori": [ + 0.8600803879543627, + -0.43523002103218805, + 0.027947466944686833, + -0.26467998439619433 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.3090354488540105, + -0.07612521752640015, + 0.7860832426435349 + ], + "default_ori": [ + 0.9337848338981883, + -0.05470850573255798, + 0.012762216907881459, + -0.3533977775847488 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.21588066354298616, + 0.026821739445395718, + 0.786303067644032 + ], + "default_ori": [ + 0.9486609629849553, + -0.004649415751065911, + 0.0028761149313621926, + 0.316247510985514 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.047927768749748426, + 0.013440732167404091, + 0.778384134596277 + ], + "default_ori": [ + 0.7586768898508155, + -0.3613140205935751, + -0.5408432895795449, + 0.03674359053733986 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.27359387664572804, + -0.14768069596443173, + 0.7833 + ], + "default_ori": [ + 0.9401380785825794, + 0.0, + 0.0, + -0.3407937693078554 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.32980142905664367, + 0.02352120723895221, + 0.7772000578039948 + ], + "default_ori": [ + 0.9392214364401801, + 0.000281766430932054, + 0.00010299354494245139, + 0.343311816474838 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "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_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_0009", + "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_0197", + "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/sweep_blocks_random/sweep_blocks_random_21.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_21.json new file mode 100644 index 0000000000000000000000000000000000000000..0ce384fe9291ef6c9d76210a730f3553a20714ca --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_21.json @@ -0,0 +1,496 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.2917703912460296, + -0.09425978170038703, + 0.7893 + ], + "default_ori": [ + -0.9206145711397385, + 0.0, + 0.0, + -0.39047254884971805 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.021446265962481108, + 0.005833994342813769, + 0.7791908933919295 + ], + "default_ori": [ + -0.11516494434804664, + 0.7061493413404358, + 0.03749393413582003, + 0.697627657293487 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.3171127300081881, + -0.030809975529159407, + 0.7778636476588169 + ], + "default_ori": [ + 0.8687932735790055, + -0.4359402228244274, + 0.01274183032738377, + -0.2345037647194013 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.20826714997547086, + -0.11225460202332523, + 0.778384134596277 + ], + "default_ori": [ + 0.7414728371061468, + -0.26441978208446343, + -0.5942570691233912, + 0.16479910944250786 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.32292569804781157, + -0.1345452620687082, + 0.774764340803822 + ], + "default_ori": [ + 0.7396728803385295, + 0.5789930148570168, + 0.29415613773127675, + 0.17641792843558737 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.21907802540548985, + 0.013084639746262618, + 0.7772000578039948 + ], + "default_ori": [ + 0.9738052244457558, + 0.00029214156733372676, + -6.821507557566992e-05, + -0.2273835852522331 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.2858811410537095, + 0.045538292829922083, + 0.7833 + ], + "default_ori": [ + 0.9927404104836306, + 0.0, + 0.0, + -0.1202766701933202 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "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_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_0010", + "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_0234", + "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/sweep_blocks_random/sweep_blocks_random_22.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_22.json new file mode 100644 index 0000000000000000000000000000000000000000..de7529911f6b579a3da2db1ff6b32f5f86b720b0 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_22.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.2710829713301196, + 0.0018591037359302126, + 0.7893 + ], + "default_ori": [ + -0.5154279267280958, + 0.0, + -0.0, + -0.8569329334018952 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.07366285681870365, + 0.09225262001271307, + 0.7791908933919295 + ], + "default_ori": [ + -0.5701316532369509, + 0.4786089759041233, + 0.5205632867927961, + 0.4182071383953039 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.10331927697801985, + -0.06936673931139098, + 0.7833 + ], + "default_ori": [ + 0.9937553641032782, + 0.0, + 0.0, + -0.11158080621666447 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.3088371615322246, + -0.13914087847784531, + 0.7860832426435349 + ], + "default_ori": [ + 0.9967458673438513, + -0.05516053011210492, + -0.01064005158092345, + 0.057808140889156444 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.06429958633200583, + 0.006449221803740346, + 0.778384134596277 + ], + "default_ori": [ + 0.6460757348631639, + -0.054350626100805634, + -0.6481553014541872, + 0.3994081364472999 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.2637060822016573, + -0.04402999661623005, + 0.774764340803822 + ], + "default_ori": [ + 0.7493423257470708, + 0.6480584602076367, + 0.04220162048436629, + -0.1293264637488064 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "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_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_0011", + "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_0271", + "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/sweep_blocks_random/sweep_blocks_random_23.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_23.json new file mode 100644 index 0000000000000000000000000000000000000000..037f1a4305d33ab9fd9186d71d19b04031806289 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_23.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.04499448237597539, + 0.09325405365972941, + 0.7893 + ], + "default_ori": [ + -0.8672685283076662, + 0.0, + 0.0, + -0.497840636958309 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.29970215036183667, + -0.17121535044802716, + 0.7791908933919295 + ], + "default_ori": [ + -0.49293173918129235, + 0.5582686238779253, + 0.4340378220454526, + 0.5069177577627303 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.2906317173481209, + -0.028289893895824234, + 0.7860832426435349 + ], + "default_ori": [ + 0.9974469448236631, + -0.055957751759900254, + -0.004962337944006278, + -0.04408738461336882 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.0959909854069868, + -0.12939144969341534, + 0.7772000578039948 + ], + "default_ori": [ + 0.9858032213614374, + 0.0002957409664084312, + -5.0371347885557935e-05, + -0.1679044929518598 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.33034331682603724, + -0.1051589025062348, + 0.7833 + ], + "default_ori": [ + 0.9652441571803207, + 0.0, + 0.0, + -0.2613497982192685 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.18001176966603008, + -0.1232834518576321, + 0.786303067644032 + ], + "default_ori": [ + 0.9992224622822853, + -0.00333458558541941, + 0.004332394591698386, + -0.039045893082404165 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "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_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_0012", + "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_0311", + "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/sweep_blocks_random/sweep_blocks_random_24.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_24.json new file mode 100644 index 0000000000000000000000000000000000000000..c6d73a7e5d1da467b8df1a7ea1f796868f437614 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_24.json @@ -0,0 +1,496 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.2046983386993868, + 0.0259844427237716, + 0.7893 + ], + "default_ori": [ + -0.8421046136983616, + 0.0, + 0.0, + -0.5393142122992247 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + 0.0005497775129481653, + -0.16590152421243876, + 0.7791908933919295 + ], + "default_ori": [ + -0.18389665817292675, + 0.6989319115314699, + 0.10745636516967245, + 0.6827366488920289 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.22733591046570578, + -0.03148370447909729, + 0.7860832426435349 + ], + "default_ori": [ + 0.9782116985866739, + -0.05604397401698153, + 0.0038688184600783994, + -0.1998648992901984 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.3298210947867898, + -0.039666241160130566, + 0.7772000578039948 + ], + "default_ori": [ + 0.977856072189925, + 0.0002933568216569775, + -6.278349374889112e-05, + -0.20927831249630374 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.3211003279797286, + -0.11904031540779009, + 0.7833 + ], + "default_ori": [ + 0.9946690659428067, + 0.0, + 0.0, + 0.10311861740958615 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.046933041681934295, + -0.009094421941273674, + 0.786303067644032 + ], + "default_ori": [ + 0.9394635177260454, + -0.004727888246342474, + 0.0027452097651656836, + 0.3426053265170869 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.14456584377018045, + -0.002691334505391896, + 0.778384134596277 + ], + "default_ori": [ + 0.6307562413399584, + -0.03017963803241611, + -0.6497295397386132, + 0.4231870492465128 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "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_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_0013", + "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_0370", + "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/sweep_blocks_random/sweep_blocks_random_25.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_25.json new file mode 100644 index 0000000000000000000000000000000000000000..e802e18648e889df1c25548c39715c5c39a8564d --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_25.json @@ -0,0 +1,496 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.11782551675669456, + -0.07367056092314747, + 0.7893 + ], + "default_ori": [ + -0.8755593687230567, + 0.0, + 0.0, + -0.48311053791164876 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.32137762188651814, + 0.09123409309595089, + 0.7791908933919295 + ], + "default_ori": [ + -0.18023732361834607, + 0.6994974165471688, + 0.10371138614611759, + 0.6837117958631278 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.2534336080152832, + -0.12802101402955088, + 0.7860832426435349 + ], + "default_ori": [ + 0.9468840095835429, + -0.050453944591771584, + -0.024704134371064057, + 0.31663034853769156 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.1278886665687156, + -0.1311664956764127, + 0.7833 + ], + "default_ori": [ + 0.9789249887030146, + 0.0, + 0.0, + -0.20422014223088472 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.12557844664342876, + -0.031311133736154545, + 0.7802 + ], + "default_ori": [ + 0.9994589582150345, + 0.0, + 0.0, + -0.03289058898405464 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.19492328540213585, + 0.0005209814228062256, + 0.786303067644032 + ], + "default_ori": [ + 0.9999842812130413, + -0.0034959799968410873, + 0.004203240153304511, + -0.0012442760596544662 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.3468391797699344, + -0.10493296478508689, + 0.778384134596277 + ], + "default_ori": [ + 0.6324494561179141, + -0.03278682772523798, + -0.6496031937178522, + 0.4206523506358152 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "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_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_0014", + "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_0407", + "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/sweep_blocks_random/sweep_blocks_random_26.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_26.json new file mode 100644 index 0000000000000000000000000000000000000000..070825c5ce9e7a01ebc2a9bb06934837f6ffb6c8 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_26.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.007188887225440119, + -0.14946471229017044, + 0.7893 + ], + "default_ori": [ + -0.7665411381888079, + 0.0, + 0.0, + -0.642195206665549 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.19188099363046857, + 0.06478171359452552, + 0.7791908933919295 + ], + "default_ori": [ + -0.19606479710548103, + 0.6969005896305465, + 0.11992604198050161, + 0.6793422612818036 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.26664152649841905, + -0.06501193836727172, + 0.786303067644032 + ], + "default_ori": [ + 0.99061712400997, + -0.002895011678087949, + 0.004637673048889792, + -0.13655703758609838 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.12815703434247042, + 0.04082618799310074, + 0.7860832426435349 + ], + "default_ori": [ + 0.9592472741077829, + -0.05555964652400077, + 0.00830785519982348, + -0.27692737736976264 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.3422032859100684, + -0.09489064999029521, + 0.783843757773967 + ], + "default_ori": [ + 0.9936378058166817, + 0.01565663328198999, + -0.057164110965190584, + 0.09576557368722474 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.19519107475453853, + -0.040248482757545195, + 0.7802 + ], + "default_ori": [ + 0.9993645719890857, + 0.0, + 0.0, + 0.03564340406122163 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "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_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_0015", + "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_0444", + "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/sweep_blocks_random/sweep_blocks_random_27.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_27.json new file mode 100644 index 0000000000000000000000000000000000000000..a5ce6a70b2442bd996cccc778200a931a217612c --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_27.json @@ -0,0 +1,396 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.206706603041321, + 0.07225027056991593, + 0.7893 + ], + "default_ori": [ + -0.44584495487621, + 0.0, + -0.0, + -0.8951102033891862 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + 0.0023660906316600528, + -0.19616370455049323, + 0.7791908933919295 + ], + "default_ori": [ + -0.040244070676847155, + 0.7061280526520048, + -0.03789275168683082, + 0.7059233155257337 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.29483087944076986, + -0.047974197883726456, + 0.7778636476588169 + ], + "default_ori": [ + 0.8925346400093355, + -0.4336548382522301, + -0.04636500163631361, + -0.11478538350810502 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.07851311323873685, + -0.01802959690934118, + 0.786303067644032 + ], + "default_ori": [ + 0.9327929954231539, + -0.004779130655056103, + 0.0026549979485053017, + 0.3603711123072648 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.2931102945052057, + -0.13940301912661898, + 0.7802 + ], + "default_ori": [ + 0.9902636813403748, + 0.0, + 0.0, + 0.1392043153720773 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "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_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_0016", + "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_0481", + "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/sweep_blocks_random/sweep_blocks_random_28.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_28.json new file mode 100644 index 0000000000000000000000000000000000000000..3875511ea2826a1607acb4e68ca2423e210fa3ef --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_28.json @@ -0,0 +1,396 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.09614560701302255, + -0.10787216868912562, + 0.7893 + ], + "default_ori": [ + -0.5560499635953227, + 0.0, + -0.0, + -0.8311488663203725 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.2515124802044983, + 0.097139304087427, + 0.7791908933919295 + ], + "default_ori": [ + -0.05598053401161923, + 0.7067976015526292, + -0.0221322798636564, + 0.70484997867579 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.14774116956456682, + 0.013483354927652336, + 0.778384134596277 + ], + "default_ori": [ + 0.7222269163209546, + -0.20614828715036318, + -0.6168972111022138, + 0.23522116397298728 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.3488067754939388, + -0.03753250263320511, + 0.7772000578039948 + ], + "default_ori": [ + 0.9797701085116948, + 0.00029393103255350843, + 6.003782142973805e-05, + 0.20012607143246017 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.2509634455752971, + 0.04719372940378834, + 0.7860832426435349 + ], + "default_ori": [ + 0.998408036180796, + -0.055645765810171596, + -0.007709962859358226, + 0.0050496049066435875 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "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_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_0017", + "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_0521", + "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/sweep_blocks_random/sweep_blocks_random_29.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_29.json new file mode 100644 index 0000000000000000000000000000000000000000..bd150dba9751d70369ac8b4d4e2c992d2459201b --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_29.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.22698776834327147, + 0.010417657962385259, + 0.7893 + ], + "default_ori": [ + -0.6280480800919014, + 0.0, + -0.0, + -0.7781745363945526 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.01940498472134316, + 0.08247467433556328, + 0.7791908933919295 + ], + "default_ori": [ + -0.5497221273720285, + 0.5026849615443836, + 0.4973535129157469, + 0.4446941592882225 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.18245002292831156, + -0.1309680950556824, + 0.7772000578039948 + ], + "default_ori": [ + 0.9950066469916057, + 0.0002985019940974817, + 2.9942468499235984e-05, + 0.0998082283307866 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.17164634267670092, + 0.04737404039432418, + 0.7860832426435349 + ], + "default_ori": [ + 0.9753177404585018, + -0.05598431841369401, + 0.004653049714678233, + -0.2135401844314777 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.2661154632843947, + -0.050385865145219234, + 0.774764340803822 + ], + "default_ori": [ + 0.7436060576791844, + 0.6492241264815142, + 0.016394456761796034, + -0.15902605561549357 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.3494138768402002, + 0.030935187665222172, + 0.786303067644032 + ], + "default_ori": [ + 0.9927064198813785, + -0.002970031436489613, + 0.004589990979395034, + -0.12043286437834066 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "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_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_0018", + "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_0013", + "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/sweep_blocks_random/sweep_blocks_random_3.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_3.json new file mode 100644 index 0000000000000000000000000000000000000000..2174e4e40f0b26e5aaa7a39c74176d95359cfc15 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_3.json @@ -0,0 +1,496 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.13429407976404245, + 0.046104395298278845, + 0.7893 + ], + "default_ori": [ + -0.4402638065630969, + 0.0, + -0.0, + -0.8978684651053139 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.05071622989666424, + -0.09261218500451757, + 0.7791908933919295 + ], + "default_ori": [ + -0.22261617745696016, + 0.6916480795940678, + 0.14722642889899373, + 0.6711105349805939 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.14177135281433093, + -0.12492992017227127, + 0.7860832426435349 + ], + "default_ori": [ + 0.9979656654373219, + -0.05588293754214999, + -0.005743872522376152, + -0.030143586852765632 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.28727905417994076, + -0.11561338964429475, + 0.7778636476588169 + ], + "default_ori": [ + 0.8947322790996065, + -0.4325947869290167, + -0.05538937116579164, + -0.09616608872633106 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.2964250343870531, + -0.039246211093289296, + 0.7772000578039948 + ], + "default_ori": [ + 0.9687101122278077, + 0.0002906130336683423, + 7.445842170019253e-05, + 0.2481947390006418 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.18396806697616905, + 0.019397685721930708, + 0.7802 + ], + "default_ori": [ + 0.9994184095357773, + 0.0, + 0.0, + 0.03410047918984885 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.10266803279102298, + 0.046182467658156444, + 0.774764340803822 + ], + "default_ori": [ + 0.7508992445180239, + 0.6474807769169544, + 0.05029302278862101, + -0.11995657532649667 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "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_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_0563", + "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_0460", + "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/sweep_blocks_random/sweep_blocks_random_4.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_4.json new file mode 100644 index 0000000000000000000000000000000000000000..5c50bdebfd47f27ebb8d18f7f4f841899bc9a2dc --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_4.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.1952800885105792, + -0.1012169461271644, + 0.7893 + ], + "default_ori": [ + -0.5285716828000805, + 0.0, + -0.0, + -0.8488886712295619 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.3113079651959607, + 0.09867250104886717, + 0.7791908933919295 + ], + "default_ori": [ + -0.11952030608805897, + 0.7059013661818978, + 0.041904040318835545, + 0.6968946900788557 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.10366982542282925, + 0.028491259515111132, + 0.774764340803822 + ], + "default_ori": [ + 0.7270898560286709, + 0.5593119808366938, + 0.3300467432209162, + 0.22266476291054044 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.2553756233709842, + -0.08984803235031612, + 0.786303067644032 + ], + "default_ori": [ + 0.9998884863809283, + -0.0035592219121583003, + 0.004149824490828082, + 0.013896967256619668 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.042025380305481606, + -0.01490027606208435, + 0.783843757773967 + ], + "default_ori": [ + 0.9389872862536176, + 0.029322866663327236, + -0.05150762311359426, + 0.33880674507143343 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.14762286837939018, + -0.04182058931720742, + 0.7833 + ], + "default_ori": [ + 0.9978082715278929, + 0.0, + 0.0, + -0.06617139314325238 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "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_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_0565", + "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_0497", + "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/sweep_blocks_random/sweep_blocks_random_5.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_5.json new file mode 100644 index 0000000000000000000000000000000000000000..310588519341f4eac61dce598d23eb9c1450113d --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_5.json @@ -0,0 +1,496 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.23609934032502727, + -0.09601255416001228, + 0.7893 + ], + "default_ori": [ + -0.909205515213228, + 0.0, + 0.0, + -0.4163476085026173 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.013935233550840136, + 0.039447259204901754, + 0.7791908933919295 + ], + "default_ori": [ + -0.1723629291707066, + 0.7006438124258955, + 0.09566052206536912, + 0.6857392604154888 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.27601848438856424, + -0.1433035479422227, + 0.7772000578039948 + ], + "default_ori": [ + 0.9369600319726802, + 0.00028108800959180405, + 0.00010483092465355164, + 0.3494364155118388 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.13656514623082158, + -0.06847883880508233, + 0.7860832426435349 + ], + "default_ori": [ + 0.9973825871334246, + -0.055287466515716234, + -0.009959459130228977, + 0.04552010658097779 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.21174638196169293, + -0.014782566446498398, + 0.7778636476588169 + ], + "default_ori": [ + 0.8846868559956029, + -0.39849448047659725, + -0.17722409866039693, + 0.16469042082741828 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.29044926116008074, + -0.008392467026810383, + 0.774764340803822 + ], + "default_ori": [ + 0.749443259606486, + 0.5966241151190806, + 0.2565159056989909, + 0.12874026569883237 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.08380387281546632, + -0.1461075357809475, + 0.778384134596277 + ], + "default_ori": [ + 0.6532539735420276, + -0.06616480028066966, + -0.6470560289221768, + 0.38755639678740184 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "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_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_0566", + "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_0563", + "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/sweep_blocks_random/sweep_blocks_random_6.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_6.json new file mode 100644 index 0000000000000000000000000000000000000000..5587aa4540f42e2305dbedcc10ce1387116e758e --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_6.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.32339289903191093, + -0.01314345031505184, + 0.7893 + ], + "default_ori": [ + -0.6467496970543638, + 0.0, + -0.0, + -0.7627023202797332 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.08699945479158887, + -0.07576256649506215, + 0.7791908933919295 + ], + "default_ori": [ + -0.539276900930953, + 0.5140674098094765, + 0.48557943278550025, + 0.4573048619354431 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.2278278406045185, + 0.05347271946676112, + 0.778384134596277 + ], + "default_ori": [ + 0.7017868093192536, + -0.1576356267634638, + -0.6310390594373758, + 0.2905787137847228 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.19252098027286813, + -0.0662089057587332, + 0.786303067644032 + ], + "default_ori": [ + 0.9888664450305493, + -0.0040866842603571535, + 0.0036315445310244293, + 0.14870529509307712 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.012, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.10247760704562464, + -0.03614586604289026, + 0.7833 + ], + "default_ori": [ + 0.9528545425764071, + 0.0, + 0.0, + 0.30342745540162647 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.34501927344077954, + -0.026987167245916214, + 0.7860832426435349 + ], + "default_ori": [ + 0.9595381997116041, + -0.05146260546659833, + -0.02252765008788952, + 0.2759176480660863 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "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_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_0567", + "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_0029", + "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/sweep_blocks_random/sweep_blocks_random_7.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_7.json new file mode 100644 index 0000000000000000000000000000000000000000..a0ff642ef42a12bcc65bb2a4fe44beff79865f58 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_7.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.024620086810621698, + -0.04259321407898602, + 0.7893 + ], + "default_ori": [ + -0.6506141454134984, + 0.0, + -0.0, + -0.7594084762417808 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.28308186188394785, + 0.09132793063712598, + 0.7791908933919295 + ], + "default_ori": [ + -0.5522008860721039, + 0.4998951942497376, + 0.5001574573457138, + 0.4416123798634624 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.2821152259294713, + 0.036938508113368324, + 0.7772000578039948 + ], + "default_ori": [ + 0.9998964556634822, + 0.0002999689366990446, + 4.31612275605067e-06, + 0.014387075853502235 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.3172482248526515, + -0.12171713028729614, + 0.783843757773967 + ], + "default_ori": [ + 0.9933956761694968, + 0.0043035094440481555, + -0.05911298972842033, + -0.09824543154560011 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.17334974530188005, + 0.05030563895902581, + 0.774764340803822 + ], + "default_ori": [ + 0.7572801625004825, + 0.6426141074512052, + 0.0938501652789729, + -0.06903630106721768 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.33219689819375503, + -0.03434575849525075, + 0.778384134596277 + ], + "default_ori": [ + 0.6897508385098458, + -0.13256570759183786, + -0.6367775267166651, + 0.31809510435441624 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "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_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_0568", + "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_0067", + "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/sweep_blocks_random/sweep_blocks_random_8.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_8.json new file mode 100644 index 0000000000000000000000000000000000000000..b502aa403ca92cbfac1f992b2c1dfd5635176af2 --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_8.json @@ -0,0 +1,546 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.17218685549563514, + -0.033332648677745734, + 0.7893 + ], + "default_ori": [ + -0.862973056580992, + 0.0, + 0.0, + -0.505249941727122 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.34438404290503866, + -0.1903203693978987, + 0.7791908933919295 + ], + "default_ori": [ + -0.572131476024435, + 0.47610602142809494, + 0.5228534629630207, + 0.41546707062002997 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.10319253765895267, + 0.028950050142394195, + 0.7860832426435349 + ], + "default_ori": [ + 0.9920853132779386, + -0.054495186894237164, + -0.013644390248571272, + 0.11229798038398314 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.12132934430918482, + -0.1030121129456751, + 0.7778636476588169 + ], + "default_ori": [ + 0.8604555174258074, + -0.4352692833026038, + 0.02732916262055771, + -0.263457910139709 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.3398109154766322, + -0.024220658588797878, + 0.7802 + ], + "default_ori": [ + 0.9997962841053782, + 0.0, + 0.0, + -0.02018391163966297 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.015, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_1", + "default_pos": [ + 0.16679482938025947, + -0.03299010176181469, + 0.7772000578039948 + ], + "default_ori": [ + 0.9883344820117621, + 0.00029650034460352865, + 4.5689578133196714e-05, + 0.15229859377732238 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.22826263842718408, + 0.03771165206188247, + 0.778384134596277 + ], + "default_ori": [ + 0.7485013902387856, + -0.2925172329186646, + -0.5809414375015141, + 0.12917578507556052 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "earbuds", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_1", + "default_pos": [ + 0.21161737326267177, + -0.10761141173300375, + 0.774764340803822 + ], + "default_ori": [ + 0.7514098302420416, + 0.6006576267425999, + 0.24692338903827427, + 0.11671556193338964 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.005, + "friction": 0.32, + "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_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_0569", + "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_0104", + "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/sweep_blocks_random/sweep_blocks_random_9.json b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_9.json new file mode 100644 index 0000000000000000000000000000000000000000..c8106bafaea4c6d7ef125e3646a19dda095fb41a --- /dev/null +++ b/Layouts/RoboDojo/sweep_blocks_random/sweep_blocks_random_9.json @@ -0,0 +1,446 @@ +{ + "Rigid": { + "broom_shovel": [ + { + "category": "broom_shovel", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + 135, + 225 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom_shovel", + "default_pos": [ + -0.1870811892827675, + -0.10218838359506291, + 0.7893 + ], + "default_ori": [ + -0.7367093822879286, + 0.0, + 0.0, + -0.6762094986385055 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ], + "type": "rigid" + }, + "visual": {} + } + ], + "broom": [ + { + "category": "broom", + "category_idx": 0, + "group": null, + "xlim": [ + -0.35, + 0.0 + ], + "ylim": [ + -0.2, + 0.1 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": [ + -90, + 30 + ], + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "broom", + "default_pos": [ + -0.01744618678433884, + 0.09086812540108159, + 0.7791908933919295 + ], + "default_ori": [ + -0.04527756690543461, + 0.7063803389415666, + -0.032855808151830646, + 0.7056183490829953 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.04, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "paper_ball": [ + { + "category": "paper_ball", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_0", + "default_pos": [ + 0.263716781729572, + 0.028579205486646546, + 0.7778636476588169 + ], + "default_ori": [ + 0.8633752301551032, + -0.435550098066225, + 0.0224130361799782, + -0.25372619068263236 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + }, + { + "category": "paper_ball", + "category_idx": 2, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_1_1", + "default_pos": [ + 0.1482647364239414, + 0.010275285011003532, + 0.783843757773967 + ], + "default_ori": [ + 0.9851025159623747, + 0.019412083654143188, + -0.05600032818093021, + 0.161431618019619 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.08, + "friction": 0.45, + "type": "rigid" + }, + "visual": {} + } + ], + "earbuds": [ + { + "category": "earbuds", + "category_idx": 1, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_2_0", + "default_pos": [ + 0.06660782541766434, + 0.0025817924702938753, + 0.778384134596277 + ], + "default_ori": [ + 0.7558543158632766, + -0.3335478852890315, + -0.5583951052614385, + 0.07499978553396248 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.006, + "friction": 0.25, + "type": "rigid" + }, + "visual": {} + } + ], + "brick": [ + { + "category": "brick", + "category_idx": 0, + "group": null, + "xlim": [ + 0.04, + 0.35 + ], + "ylim": [ + -0.15, + 0.05 + ], + "zlim": null, + "qpos": [ + 1, + 0, + 0, + 0 + ], + "rotate_deg": 45, + "rotate_rand": true, + "relative_plane": "Table", + "place_tag": null, + "margin": 0.01, + "check_mode": "bbox", + "need_check_stable": true, + "label": "target_3_0", + "default_pos": [ + 0.30366422277029603, + -0.058092634166446624, + 0.7772000578039948 + ], + "default_ori": [ + 0.9427499239553931, + 0.00028282497718661796, + 0.00010005010834271873, + 0.3335003611423958 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "physics": { + "mass": 0.035, + "friction": 0.45, + "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_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_0570", + "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_0142", + "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/Fabric014_1K-JPG/BaseColor.jpg b/Material/Garment/test/Fabric014_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..333087f1acebeb8c817895447393e50724f32015 --- /dev/null +++ b/Material/Garment/test/Fabric014_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4762688864a890f0bf677e6271e1201c6ef437ca2f268a40a342f732c946af79 +size 783567 diff --git a/Material/Garment/test/Fabric014_1K-JPG/Displacement.jpg b/Material/Garment/test/Fabric014_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..83cc5a78f5372b3c9a700f6b6149063f5a90069f --- /dev/null +++ b/Material/Garment/test/Fabric014_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9c899a8fa27773245c087866b28a73ca604c01bab49e811c9ae91f3d293c8f0 +size 347283 diff --git a/Material/Garment/test/Fabric014_1K-JPG/Normal.jpg b/Material/Garment/test/Fabric014_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0e62fa573c2d78e0f4e8e37633453890e316ccb4 --- /dev/null +++ b/Material/Garment/test/Fabric014_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5f7f3eb5fa214b163bcddfd754b7feb897a6390ba3a20ae320f361cebef658f +size 962113 diff --git a/Material/Garment/test/Fabric014_1K-JPG/Roughness.jpg b/Material/Garment/test/Fabric014_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..55b2695865273b9aaec43df9f2eb2d6fb6f3ad54 --- /dev/null +++ b/Material/Garment/test/Fabric014_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9777f980db3d1f9c80a4ba317afb62a0b4cbf5ec74d4aea129a8b07347cca9c +size 253706 diff --git a/Material/Garment/test/Fabric027_1K-JPG/BaseColor.jpg b/Material/Garment/test/Fabric027_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9d4aae0103b3bf7dea5c16ff3abf6f0398529c1c --- /dev/null +++ b/Material/Garment/test/Fabric027_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34424891487feecda76eae0851fbfd73bb61dfcf35db2c6804ee123112fda588 +size 1519398 diff --git a/Material/Garment/test/Fabric027_1K-JPG/Displacement.jpg b/Material/Garment/test/Fabric027_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d76f441d7f28e24ccd6ac71b15128958f52dc8e3 --- /dev/null +++ b/Material/Garment/test/Fabric027_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c5080065dd169af93fee3db944291a9cf1d690f6910f7d337b282b3490970af +size 804566 diff --git a/Material/Garment/test/Fabric027_1K-JPG/Normal.jpg b/Material/Garment/test/Fabric027_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..972793d25e0d2a14846947906b9bb0f9b02bb041 --- /dev/null +++ b/Material/Garment/test/Fabric027_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc93890bcb4dd09e86da46c9b45a4310810a2a785ae5c25bd3ae7ea279ceb4ba +size 2066959 diff --git a/Material/Garment/test/Fabric027_1K-JPG/Roughness.jpg b/Material/Garment/test/Fabric027_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..834db301fbffbb5e364ddd74f610307afed71f62 --- /dev/null +++ b/Material/Garment/test/Fabric027_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59a630706d89d3c4dc24639dcedb828f8df88998024a22a9b0fb072608778ecb +size 639340 diff --git a/Material/Garment/test/Fabric034_1K-JPG/BaseColor.jpg b/Material/Garment/test/Fabric034_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3c510dc3ce85f1bded1eb1c11ab2a03111a5ea17 --- /dev/null +++ b/Material/Garment/test/Fabric034_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23d4da86236b98235a493d5ab9a79f0345d041fc721544fd5f148a76d96d1f01 +size 1153031 diff --git a/Material/Garment/test/Fabric034_1K-JPG/Displacement.jpg b/Material/Garment/test/Fabric034_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4a6cb327212899c5d3462b5554ef7517c05ff82e --- /dev/null +++ b/Material/Garment/test/Fabric034_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a46cd53f5161256e902d6d34b82856792065829ea37f7d5411135a4bc8f919f8 +size 821665 diff --git a/Material/Garment/test/Fabric034_1K-JPG/Normal.jpg b/Material/Garment/test/Fabric034_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0742685038789c80e7265b31ea7be72a8baefd2e --- /dev/null +++ b/Material/Garment/test/Fabric034_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c33f1e5bcdbf927348ac9784d62e7829e723bdd364c25a09695cf470c16760 +size 2097282 diff --git a/Material/Garment/test/Fabric034_1K-JPG/Roughness.jpg b/Material/Garment/test/Fabric034_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6c70ae1882942be95b2fa50cef604832015cb4a5 --- /dev/null +++ b/Material/Garment/test/Fabric034_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:768c4d09770b4198a7525d406e30c3a4c1197846a14e4cd67132fa91c7065893 +size 686699 diff --git a/Material/Garment/test/Fabric045_1K-JPG/BaseColor.jpg b/Material/Garment/test/Fabric045_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4c66bdc3d10acf0625cdc589a280248abfcfa326 --- /dev/null +++ b/Material/Garment/test/Fabric045_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c262b80d58ae5ad1e87e690188f372a822ad4cdc08f59d944ea5818ac363c9d3 +size 1124059 diff --git a/Material/Garment/test/Fabric045_1K-JPG/Displacement.jpg b/Material/Garment/test/Fabric045_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8c4a623a02ba065015a5cc3fd9e33fb9cadd07fd --- /dev/null +++ b/Material/Garment/test/Fabric045_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04b5030bd521796b86e9831786f85372839385776c90e4cff7aa3c064da33800 +size 542371 diff --git a/Material/Garment/test/Fabric045_1K-JPG/Normal.jpg b/Material/Garment/test/Fabric045_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0f26b3722c6b8175d814c7fd817e0c107883b415 --- /dev/null +++ b/Material/Garment/test/Fabric045_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16766e7f3382a8a0cf8aeef52a366fcea42ca10689a48904d799add0f0c8297e +size 2470453 diff --git a/Material/Garment/test/Fabric045_1K-JPG/Roughness.jpg b/Material/Garment/test/Fabric045_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..78bef320bbd47587d06288eeeabd9c90e9fd402a --- /dev/null +++ b/Material/Garment/test/Fabric045_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33f128a7adca7e9f42c9b95790ce31a5611e0ec1b831778bd4290c1fff4fddaf +size 615798 diff --git a/Material/Garment/test/Fabric053_1K-JPG/Roughness.jpg b/Material/Garment/test/Fabric053_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..97b4620544860239377ab2836d481b36a83f074b --- /dev/null +++ b/Material/Garment/test/Fabric053_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55eeb9f42615c28168c1ceb3a2007bdcc50fd0c226202f85cfe5d33fc4823bc9 +size 673664 diff --git a/Material/Garment/test/Fabric054_1K-JPG/BaseColor.jpg b/Material/Garment/test/Fabric054_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5baed54d07404e4e90a858b7c4bddbe1f6676452 --- /dev/null +++ b/Material/Garment/test/Fabric054_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc56eb9c5f79d83231b89c546a369a1946bd67faf5631201a3607b19e04a7faf +size 1165409 diff --git a/Material/Garment/test/Fabric054_1K-JPG/Displacement.jpg b/Material/Garment/test/Fabric054_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ffc24de9baedf8f71e2a0a2d0f54d9e6dbaeb544 --- /dev/null +++ b/Material/Garment/test/Fabric054_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4bf0acc348e99fef43e582302ba6935113833199dea8bc4d33a4820dcc30d6ef +size 848025 diff --git a/Material/Garment/test/Fabric054_1K-JPG/Normal.jpg b/Material/Garment/test/Fabric054_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..87acaa38883bded7978e9efaedd69a37b327c950 --- /dev/null +++ b/Material/Garment/test/Fabric054_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b352a19eff01020efebe1400b9698d56b4cc7c8b9a9ce074a643d2d49f2200a4 +size 2031770 diff --git a/Material/Garment/test/Fabric054_1K-JPG/Roughness.jpg b/Material/Garment/test/Fabric054_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4fdbbc113b8e8d001fbf3c8331e835c704397a89 --- /dev/null +++ b/Material/Garment/test/Fabric054_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62efe8f913ff49ec18a46387cbf591448ecce9e01f1df3d0dbcd0b5ac693c165 +size 670396 diff --git a/Material/Garment/test/Fabric057_1K-JPG/BaseColor.jpg b/Material/Garment/test/Fabric057_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..889256f5649566b1aa7a7deac212accc493cde50 --- /dev/null +++ b/Material/Garment/test/Fabric057_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82e640790447faa53ece403ae7b01f60a4a515289325fdd75dd179fac04f02a7 +size 1575492 diff --git a/Material/Garment/test/Fabric057_1K-JPG/Displacement.jpg b/Material/Garment/test/Fabric057_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5777afc8ced73138565054d591b4a4f64fbc2c32 --- /dev/null +++ b/Material/Garment/test/Fabric057_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2d9ca05661f9b40569fc5644ee09cca2289546777a3d03da7b7f16a021e6633 +size 836807 diff --git a/Material/Garment/test/Fabric057_1K-JPG/Normal.jpg b/Material/Garment/test/Fabric057_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2303b520d78e030b8a5f3e155ade971922ee89c0 --- /dev/null +++ b/Material/Garment/test/Fabric057_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91fcef46843feeea7960b78283b4b826579a74ef93df8bced2d58af22d7abae0 +size 2002001 diff --git a/Material/Garment/test/Fabric057_1K-JPG/Roughness.jpg b/Material/Garment/test/Fabric057_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bd909a54ee9840f8acb3c0fda0c3262ebe535b30 --- /dev/null +++ b/Material/Garment/test/Fabric057_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5501e8d422923778fc91afbc6752a42e4cd0e639725e0eddb7f92dfa62f3ed35 +size 670985 diff --git a/Material/Garment/test/Fabric071_1K-JPG/BaseColor.jpg b/Material/Garment/test/Fabric071_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..772d85ad5a66704591c7a9d7db3e3130218fe422 --- /dev/null +++ b/Material/Garment/test/Fabric071_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ef63f2e98eac6573c6dda13945dbb49c1047ee3095e5c9ab7e5300c10b94219 +size 1461727 diff --git a/Material/Garment/test/Fabric071_1K-JPG/Displacement.jpg b/Material/Garment/test/Fabric071_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..412d43b29fb36ac3dc2f7e2c710633f181e264bd --- /dev/null +++ b/Material/Garment/test/Fabric071_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5302933e2521515137ee71bba89b7d942cf185e1ca083d9190efb5f75571b2ea +size 764914 diff --git a/Material/Garment/test/Fabric071_1K-JPG/Normal.jpg b/Material/Garment/test/Fabric071_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9189edf9c4eaeba48c2e20644fbd220ea8d0f977 --- /dev/null +++ b/Material/Garment/test/Fabric071_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:490f68a3615442e96f0a4b95c92a5a544d8000298e0638c8197a09fcadc33415 +size 2300641 diff --git a/Material/Garment/test/Fabric071_1K-JPG/Roughness.jpg b/Material/Garment/test/Fabric071_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..20e8ec21bec97551a6599abaa5cc14d09305d525 --- /dev/null +++ b/Material/Garment/test/Fabric071_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f17f8c15201242c0d47fa34fbb143338d080d020d13df5642349f79d8cca9a34 +size 587208 diff --git a/Material/Garment/test/Fabric072_1K-JPG/BaseColor.jpg b/Material/Garment/test/Fabric072_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cd6c4418bcf2510b9ed9b81093299a1fb4464089 --- /dev/null +++ b/Material/Garment/test/Fabric072_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6980c7ae5b815cf492d2d31f926c29d9a09fe14ebb7a69fc5482ea56384c30d1 +size 1707546 diff --git a/Material/Garment/test/Fabric072_1K-JPG/Displacement.jpg b/Material/Garment/test/Fabric072_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..21cb3b9a40a1e118916fec2e2894b2d93fbc280e --- /dev/null +++ b/Material/Garment/test/Fabric072_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3151eae51ee9e000f21353c2d88ff02a03ea10b6ae7e941d0d4a19646908e73 +size 850294 diff --git a/Material/Garment/test/Fabric072_1K-JPG/Normal.jpg b/Material/Garment/test/Fabric072_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a3547850144e8766ce9be89d44e32b2ed3f26d56 --- /dev/null +++ b/Material/Garment/test/Fabric072_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb96475d5ea8e48e3a92ee77e84a064697bbab5b03aae471af7443bd12323dcc +size 2261630 diff --git a/Material/Garment/test/Fabric072_1K-JPG/Roughness.jpg b/Material/Garment/test/Fabric072_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f538896b96f93a100ba4e4cf90c1bd3a373f8b99 --- /dev/null +++ b/Material/Garment/test/Fabric072_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1c4df11988f27236590bbd3857df0e2bddfdc52dc1f930d7087cbbd23c3fd36 +size 640890 diff --git a/Material/Garment/test/Fabric076_1K-JPG/BaseColor.jpg b/Material/Garment/test/Fabric076_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..48211dc24656b6de5f32be265b1c458beb8f578d --- /dev/null +++ b/Material/Garment/test/Fabric076_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b5eacd4ab838519a9a2c008b50b458b5702b6c43c0574441ca70caf9f96117b +size 1388059 diff --git a/Material/Garment/test/Fabric076_1K-JPG/Displacement.jpg b/Material/Garment/test/Fabric076_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e2c133f130dcdf8aa206a49dbed3225e3f8d6446 --- /dev/null +++ b/Material/Garment/test/Fabric076_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed28ea3c5a27a9a59b1d411009219311d1e75329d041c95fda72543210b30807 +size 795455 diff --git a/Material/Garment/test/Fabric076_1K-JPG/Normal.jpg b/Material/Garment/test/Fabric076_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2d9052408004f96666504c03afdbb5e2603f2ec0 --- /dev/null +++ b/Material/Garment/test/Fabric076_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83027ad6ba71edc07b6445107b14566e9415db294fef332ee8d9914fc5e08c81 +size 2344421 diff --git a/Material/Garment/test/Fabric076_1K-JPG/Roughness.jpg b/Material/Garment/test/Fabric076_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9a49c7de80c76ab60bae568c91a355f4a6998373 --- /dev/null +++ b/Material/Garment/test/Fabric076_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8037ad248bb479958e60f0ec1fef9327599b55aa839caaf89c20ebc017ea2fce +size 640863 diff --git a/Material/Garment/test/Fabric082B_1K-JPG/BaseColor.jpg b/Material/Garment/test/Fabric082B_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a45d9311986e6e566de034d6400317fb69e4e3c4 --- /dev/null +++ b/Material/Garment/test/Fabric082B_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5fe4e271b5ccd84d82ded16c538ce027d0b05b16dae327d4a1351b3b64dc05f +size 1964568 diff --git a/Material/Garment/test/Fabric082B_1K-JPG/Displacement.jpg b/Material/Garment/test/Fabric082B_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..75fd76e2d117ff441bf713bd439043bf488e04e9 --- /dev/null +++ b/Material/Garment/test/Fabric082B_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d242cca03fb45a48c5ec09aaa791603c4893efd50ba5173b23107d70be6bcb3 +size 799400 diff --git a/Material/Garment/test/Fabric082B_1K-JPG/Normal.jpg b/Material/Garment/test/Fabric082B_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2bc97783ee129fafee78d95ea6d5202a2af1ad1a --- /dev/null +++ b/Material/Garment/test/Fabric082B_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45551a69c82cdc9a57c6c75268d38c87dbdff7681d96fd50d87cd40fd34c20e5 +size 1317536 diff --git a/Material/Garment/test/Fabric082B_1K-JPG/Roughness.jpg b/Material/Garment/test/Fabric082B_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..43b094e4534b23d637f9befb292ba180ef1207ab --- /dev/null +++ b/Material/Garment/test/Fabric082B_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:768ce907f9fae1265594d83e512dd0dfdbf87ed278888ff1a71ce46326666029 +size 612292 diff --git a/Material/Garment/test/Tiles054_1K-JPG/BaseColor.jpg b/Material/Garment/test/Tiles054_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3e448ea12cc46c633057cc345c2593c2a6323e16 --- /dev/null +++ b/Material/Garment/test/Tiles054_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c20feefc534d6b8db2b0cc6efec23812b32ef057a0e4a2dc42e8ec79b7e630a +size 957063 diff --git a/Material/Garment/test/Tiles054_1K-JPG/Displacement.jpg b/Material/Garment/test/Tiles054_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e4dbf83091ba7936393d4069d82e2ea20d92f87d --- /dev/null +++ b/Material/Garment/test/Tiles054_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09e196f1cc46f8f038345b25ac9393bb15bbd76a60630ffcda78e97024429de0 +size 493159 diff --git a/Material/Garment/test/Tiles054_1K-JPG/Normal.jpg b/Material/Garment/test/Tiles054_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d308fb9dcd0ff2ddce64ed10f0d89297ab28a03a --- /dev/null +++ b/Material/Garment/test/Tiles054_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33d37e3e94eb88bfd92f945f11e827eec33a04573aa798f4c82d0f5af3149afc +size 1885642 diff --git a/Material/Garment/test/Tiles054_1K-JPG/Roughness.jpg b/Material/Garment/test/Tiles054_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d6ce1939199a30d57e3f97090f6a7af2fb24eb27 --- /dev/null +++ b/Material/Garment/test/Tiles054_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b89ddb7eaff9dd66a9ea8f7b061964da49e11e800ecad222a017c3f59acf055 +size 582329 diff --git a/Material/Garment/test/Tiles064_1K-JPG/BaseColor.jpg b/Material/Garment/test/Tiles064_1K-JPG/BaseColor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a412c86bbdc349608ab58c4849de54ef70d96ffb --- /dev/null +++ b/Material/Garment/test/Tiles064_1K-JPG/BaseColor.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4774f1bb2a890b26f93d56be2bd3836cf2820bd36358354e7f9be91f3c49aa2b +size 1383932 diff --git a/Material/Garment/test/Tiles064_1K-JPG/Displacement.jpg b/Material/Garment/test/Tiles064_1K-JPG/Displacement.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4f44fca03a387cb89bf3bb2c4661b68e81fa2ea0 --- /dev/null +++ b/Material/Garment/test/Tiles064_1K-JPG/Displacement.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:463238980fc3e6e90228efe75df2a7528cad4b8629b2828d2f758c55d94d318f +size 670139 diff --git a/Material/Garment/test/Tiles064_1K-JPG/Normal.jpg b/Material/Garment/test/Tiles064_1K-JPG/Normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..68ed7e1c3dbf2043b72a141495b5fb4094030c99 --- /dev/null +++ b/Material/Garment/test/Tiles064_1K-JPG/Normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca0199b5d79dd25248627aca4db256c3530aa490f939da3e9cf2e853374fa742 +size 1986298 diff --git a/Material/Garment/test/Tiles064_1K-JPG/Roughness.jpg b/Material/Garment/test/Tiles064_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..257ce05707b816b79fa5023dfd12a074745a0987 --- /dev/null +++ b/Material/Garment/test/Tiles064_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:010e6c993d86a94b3c06e0ebfe4a072f8efe22869359cba59ff20737db715bbe +size 720383 diff --git a/Material/Garment/test/Tiles118_1K-JPG/Roughness.jpg b/Material/Garment/test/Tiles118_1K-JPG/Roughness.jpg new file mode 100644 index 0000000000000000000000000000000000000000..af99ef078db1d9d5c53000056f0e3027c0e656f9 --- /dev/null +++ b/Material/Garment/test/Tiles118_1K-JPG/Roughness.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe3455abf3ace66a450d18d8860af43ea923361c80defb0f348a82bbf27e80a1 +size 496562 diff --git a/Material/material_0003/Shingles_01_BaseColor.png b/Material/material_0003/Shingles_01_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..48b226f2d627f37dcdf789f88826fab6c11f7b09 --- /dev/null +++ b/Material/material_0003/Shingles_01_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0266582a31b17c35df75ca5b3e11df61b514bacfb8773072fa60f3658a06208 +size 6155665 diff --git a/Material/material_0003/Shingles_01_Normal.png b/Material/material_0003/Shingles_01_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..b80419cb9b1156eca2da901bfdf8affb1c736181 --- /dev/null +++ b/Material/material_0003/Shingles_01_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c608a0c79a218418e91e76ae17512ee83a9603cb13c2288f3693bfec3bec6ed5 +size 10437452 diff --git a/Material/material_0010/Carpet_Diamond_Yellow_Normal.png b/Material/material_0010/Carpet_Diamond_Yellow_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..601cd3de0462a42398882259fbf6098554974b16 --- /dev/null +++ b/Material/material_0010/Carpet_Diamond_Yellow_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08fce7b97d81eee82393c8f4df5495715054774b2e46abf0150921bda329e548 +size 12038118 diff --git a/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan_BaseColor.png b/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..b1ba8463724ae4f92b1c72baa1ac4b3415d934d8 --- /dev/null +++ b/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08bed35a9b161dab8b05432293b676471fa662a74c3f8c2f651b6b3409dff31b +size 2349344 diff --git a/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan_Normal.png b/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..25417e4ce8756d9fc89cc238fd05930ff133c1cc --- /dev/null +++ b/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f36b3725d25d5a58c92fb9c6ec3bd655f817676835093fdd0950b14bbea4507 +size 10801896 diff --git a/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan_ORM.png b/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..02e33324f9d7367ec3333d7d734560068b89e0cd --- /dev/null +++ b/Material/material_0013/Carpet_Pattern_Leaf_Squares_Tan_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66f16131412a4cc54870d2790a9b4952ddf2287aa044909bce3709001e719baf +size 22951 diff --git a/Material/material_0047/Steel_Carbon_BaseColor.png b/Material/material_0047/Steel_Carbon_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..534d52ba2003194530fcceeab15f763e13f7cbd3 --- /dev/null +++ b/Material/material_0047/Steel_Carbon_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7dd0ba5292a79e9a993279c4db81525446a4313562c32478d14a99d0dfacc55a +size 9678535 diff --git a/Material/material_0047/Steel_Carbon_N.png b/Material/material_0047/Steel_Carbon_N.png new file mode 100644 index 0000000000000000000000000000000000000000..5746ab338bb786110253f8b69506578698bdc60c --- /dev/null +++ b/Material/material_0047/Steel_Carbon_N.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d1b8196b05715fcac3def696a4a2ccd1db704da1a68e09e3eff863afa09ae9a +size 18832058 diff --git a/Material/material_0061/Grass_Winter_N.png b/Material/material_0061/Grass_Winter_N.png new file mode 100644 index 0000000000000000000000000000000000000000..d75b8374ce8f1c19433fc46baaaa0c9efd98c5d0 --- /dev/null +++ b/Material/material_0061/Grass_Winter_N.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f071f9fae50f22212bf8784616bcd8f50e7c9579443042a2e0badb172d8e99b +size 9049058 diff --git a/Material/material_0061/Grass_Winter_ORM.png b/Material/material_0061/Grass_Winter_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..0d6ca16180d9c7d19aa5d6fdad45b4682eaffd4e --- /dev/null +++ b/Material/material_0061/Grass_Winter_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8255bd4741e45c623b092ab0897180f480f978a4fa29513632c2b5c86710ef0f +size 7292404 diff --git a/Material/material_0061/Grass_Winter_baseColor.png b/Material/material_0061/Grass_Winter_baseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..2c39e9555b1a14abd92cf9e9fdb6dca0fc95b68b --- /dev/null +++ b/Material/material_0061/Grass_Winter_baseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de05785c587aa55073b07cd1e1732cc52a673216df387582b85af1b1fb707dfa +size 10829297 diff --git a/Material/material_0072/Veneer_OU_Walnut_BaseColor.png b/Material/material_0072/Veneer_OU_Walnut_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..e974a1eaaec085acaeb34beaaae0f7d606ff9143 --- /dev/null +++ b/Material/material_0072/Veneer_OU_Walnut_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c4ecbbf4415e12966e6c4da4894cb27322ad4ac00ab9d619252934c9061b093 +size 3143008 diff --git a/Material/material_0072/Veneer_OU_Walnut_Normal.png b/Material/material_0072/Veneer_OU_Walnut_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..652544c17b23855d46a17b5d0a371ee9ae64cb6e --- /dev/null +++ b/Material/material_0072/Veneer_OU_Walnut_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9084debed6d5508235adb127d04a82e754cfaa116f8320e9cf54a88ecc77bf2e +size 8489522 diff --git a/Material/material_0084/Marble_Smooth_BaseColor.png b/Material/material_0084/Marble_Smooth_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..a5198717ec5fafa7815ca4ee1f898239404b3917 --- /dev/null +++ b/Material/material_0084/Marble_Smooth_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c5720fd90aeb69000affe99e9f9bacd30c2ddfcc4b1ff495e8e25c32245794f +size 13497118 diff --git a/Material/material_0104/Linen_Blue_N.png b/Material/material_0104/Linen_Blue_N.png new file mode 100644 index 0000000000000000000000000000000000000000..0dfe9530f4704d4e3272f139123bd3e0cce62a74 --- /dev/null +++ b/Material/material_0104/Linen_Blue_N.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa714886c449b08620be0b21d56b49cbc1a65dbe50a0c6011ffd6178e3813e52 +size 1602817 diff --git a/Material/material_0119/Cherry_Planks_BaseColor.png b/Material/material_0119/Cherry_Planks_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..4901cd6b704a5f06820b33c36876080cd415c9f5 --- /dev/null +++ b/Material/material_0119/Cherry_Planks_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5dfe4c67439daf05738b7aa7b6dc0c58ba1db7ca062a47d83b3e503f9e93b0b +size 8694410 diff --git a/Material/material_0119/Cherry_Planks_N.png b/Material/material_0119/Cherry_Planks_N.png new file mode 100644 index 0000000000000000000000000000000000000000..a34c63e01080b2c9198ebe1d2f4ea0d0d7736990 --- /dev/null +++ b/Material/material_0119/Cherry_Planks_N.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7287ed6a0f98ccf57ddcec960f3437ca317d4c087433c0a24aae7d1c895ce460 +size 10208974 diff --git a/Material/material_0119/Cherry_Planks_ORM.png b/Material/material_0119/Cherry_Planks_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..0322a61793a2e0a5d6d818d173ab0b5e4634bed6 --- /dev/null +++ b/Material/material_0119/Cherry_Planks_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb5f7eef6a53d9627ce5bf63f79f6af69a56f33e0c19a0ff8fa14648b83a2da9 +size 6095527 diff --git a/Material/material_0137/ov_carbonfiber_uncoated_01_anisotropy_angle.png b/Material/material_0137/ov_carbonfiber_uncoated_01_anisotropy_angle.png new file mode 100644 index 0000000000000000000000000000000000000000..74a6519ea6e424a9472c1f94cb014e108c2f5683 --- /dev/null +++ b/Material/material_0137/ov_carbonfiber_uncoated_01_anisotropy_angle.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4765fdfda1c41e36c6b25617af94bae2f765465de1bf0cf398fd1cc3a6c28034 +size 15405 diff --git a/Material/material_0137/ov_carbonfiber_uncoated_01_normal.png b/Material/material_0137/ov_carbonfiber_uncoated_01_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..98695d30567cb969dca11e04fde7a4a44c4a9c2f --- /dev/null +++ b/Material/material_0137/ov_carbonfiber_uncoated_01_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0d6220c77c28062fbf97a407c2d4bc90c6e879de0b6ababec1ac0051ed74db6 +size 2759178 diff --git a/Material/material_0137/ov_carbonfiber_uncoated_01_orm.png b/Material/material_0137/ov_carbonfiber_uncoated_01_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..df83a9959f94ccd2807a9a10643540370c9cd765 --- /dev/null +++ b/Material/material_0137/ov_carbonfiber_uncoated_01_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2ea25ca3c9f5f6ba8fdda178fb796230a0aff7f5d21d6af578d2a929e9b07ee +size 2290783 diff --git a/Material/material_0141/noise_scratch2.png b/Material/material_0141/noise_scratch2.png new file mode 100644 index 0000000000000000000000000000000000000000..42575d188fbaa6cd6d8ec9fbfce69d4c52fda2d8 --- /dev/null +++ b/Material/material_0141/noise_scratch2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fa8edb872eff7882e90c5a683d1c4af1b468633acaa720780327fadee91a3ec +size 29801141 diff --git a/Material/material_0191/leather_blend_mask_03.png b/Material/material_0191/leather_blend_mask_03.png new file mode 100644 index 0000000000000000000000000000000000000000..203d4f6aa92a375d24b2099d685dff52e7c130c3 --- /dev/null +++ b/Material/material_0191/leather_blend_mask_03.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad0c6807fdafcf32fb6ff8e8ad3f0a6fead2a04a402bcc3938f2ba6f68af8e77 +size 57446511 diff --git a/Material/material_0191/ov_clouds_01_normal.png b/Material/material_0191/ov_clouds_01_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..b0da2618fec86c95eaf970e40f696f0ed4f0f2c1 --- /dev/null +++ b/Material/material_0191/ov_clouds_01_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b26fd13e4aec1c3c1cc82460bef994133a4eb845133a761ae845127d5780ac3f +size 21194805 diff --git a/Material/material_0191/ov_leather_e_01_basecolor.png b/Material/material_0191/ov_leather_e_01_basecolor.png new file mode 100644 index 0000000000000000000000000000000000000000..6caeef3de05c56a2536b487414a5d7c153e682d8 --- /dev/null +++ b/Material/material_0191/ov_leather_e_01_basecolor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:293952bc08fc13d9d1a7e1189244b605559c8f297c992f0afee7d99af3f63304 +size 14143230 diff --git a/Material/material_0191/ov_leather_e_01_orm.png b/Material/material_0191/ov_leather_e_01_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..d273336465461027f9635532cdba27e05fd73b48 --- /dev/null +++ b/Material/material_0191/ov_leather_e_01_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75b2de382fc16cbdb01ca86d7fcbc78f6784036bcb6f76a3107d759ce35359df +size 35420562 diff --git a/Material/material_0197/ov_suede_02_normal.png b/Material/material_0197/ov_suede_02_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..35854881c024c94c0f48f9e31f29cfc8cb79b3c0 --- /dev/null +++ b/Material/material_0197/ov_suede_02_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:447db7f605e4bf547abbb5d39e6d89f93ca395db9cafee7b6ca3afd4e7197741 +size 116967505 diff --git a/Material/material_0207/ov_metal_a_01_basecolor.png b/Material/material_0207/ov_metal_a_01_basecolor.png new file mode 100644 index 0000000000000000000000000000000000000000..aae2f240a639a17c4c8f9dabd47ede8265eed636 --- /dev/null +++ b/Material/material_0207/ov_metal_a_01_basecolor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da73706b08ee13c26600233f1f1a2d33734e431bd3df1677ae1ebfb6480a96e1 +size 154427 diff --git a/Material/material_0207/ov_metal_a_01_normal.png b/Material/material_0207/ov_metal_a_01_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..e2d2addfa7bf9bde189203430b0b09b732eeaad1 --- /dev/null +++ b/Material/material_0207/ov_metal_a_01_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7da54a8d75accbf1d08b922a13a5b693afd2b35776aea4f871dc871d5a31629 +size 22463078 diff --git a/Material/material_0207/ov_metal_a_01_orm.png b/Material/material_0207/ov_metal_a_01_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..ca8399a62d685a3f660d121cb4773ac9060390e4 --- /dev/null +++ b/Material/material_0207/ov_metal_a_01_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59302b2d5f64882f7a62c7a88b78de62b39588f44fc3f26f94db2723ba415653 +size 11787191 diff --git a/Material/material_0265/dust1.png b/Material/material_0265/dust1.png new file mode 100644 index 0000000000000000000000000000000000000000..da023b0f011e19b19ef51b3f23e59dac433eaea6 --- /dev/null +++ b/Material/material_0265/dust1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce691cdbbc357e50caf27b661ff559fee22a84d109731c28f480845ff1a4fa09 +size 49016652 diff --git a/Material/material_0265/screen_dash3.png b/Material/material_0265/screen_dash3.png new file mode 100644 index 0000000000000000000000000000000000000000..196feb2fed5935958d4ba2e1b7d3afd471f9a1d1 --- /dev/null +++ b/Material/material_0265/screen_dash3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c38b2a296e1964740167e7134f45912ab3378687e13f235938c9196f1ed67151 +size 5859728 diff --git a/Material/material_0298/mortar_diff.jpg b/Material/material_0298/mortar_diff.jpg new file mode 100644 index 0000000000000000000000000000000000000000..217c8b38b3dfae5abbe3bef2911d40a736fa1ed3 --- /dev/null +++ b/Material/material_0298/mortar_diff.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ba01f0c53f3ab271c4765611a65cf2bd72c4c7e273bb7e7ab1b64023c991d28 +size 1973915 diff --git a/Material/material_0298/mortar_norm.jpg b/Material/material_0298/mortar_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0c65aff8e016ed23e3f3be71a1a098b24bda1434 --- /dev/null +++ b/Material/material_0298/mortar_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a51e470390be20256a8859e6b87b2c32eca24bf79f9685fb57f65ff89d5fb2c +size 4323469 diff --git a/Material/material_0298/square_tiles_multi_R_height_G_edgefade_B_ao.jpg b/Material/material_0298/square_tiles_multi_R_height_G_edgefade_B_ao.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4cc24935e427dfb9572ccf3a1cd9f87258eccfff --- /dev/null +++ b/Material/material_0298/square_tiles_multi_R_height_G_edgefade_B_ao.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efb6f98ee8764960c7c1ab34be27566ef2197d348ed252b6c7c46037698442cc +size 1974786 diff --git a/Material/material_0298/square_tiles_norm.jpg b/Material/material_0298/square_tiles_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7854e055001d5f655191e553719599175229019c --- /dev/null +++ b/Material/material_0298/square_tiles_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98451e0d942edf852942be9ac4d6445db75d1102a7187d7e78abbe89be937ab4 +size 1093043 diff --git a/Material/material_0298/tiles_multi_R_noise1_G_noise2_B_craquelure.jpg b/Material/material_0298/tiles_multi_R_noise1_G_noise2_B_craquelure.jpg new file mode 100644 index 0000000000000000000000000000000000000000..16add2fe202477572040ab7acf91fe4e6f0766db --- /dev/null +++ b/Material/material_0298/tiles_multi_R_noise1_G_noise2_B_craquelure.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:688fbe975352e89b4edb7e0bbd735fd8efd3b2feefc12547ac592537d1b1ac1a +size 2057934 diff --git a/Material/material_0298/tiles_multi_R_rough_G_thickness_B_drops.jpg b/Material/material_0298/tiles_multi_R_rough_G_thickness_B_drops.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7071ccf60ebc0ba4a1dacd71ecb1c3d7ecb9b6ea --- /dev/null +++ b/Material/material_0298/tiles_multi_R_rough_G_thickness_B_drops.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10dbddb4d6b704222a03102fc75e8279bf8e037384eb043752109c504ad41f32 +size 4405716 diff --git a/Material/material_0364/abs_quilted_leather_multi_R_rough_G_ao_B_seam.jpg b/Material/material_0364/abs_quilted_leather_multi_R_rough_G_ao_B_seam.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c21582744494cc7f93a8908acad8c28179b800f3 --- /dev/null +++ b/Material/material_0364/abs_quilted_leather_multi_R_rough_G_ao_B_seam.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:acce58480d2c62c17028c3b395453cbc8bb1103caea7fb7a69a910910661e712 +size 1859882 diff --git a/Material/material_0364/abs_quilted_leather_norm.jpg b/Material/material_0364/abs_quilted_leather_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..10b2f974ec840536a332ad854dff60fb531660c6 --- /dev/null +++ b/Material/material_0364/abs_quilted_leather_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b5dc2f93c708e5560cfe84ef0146a6054dc16ededbda69624bbafa16783ac76 +size 1306538 diff --git a/Material/material_0412/metal_smudges_rough.jpg b/Material/material_0412/metal_smudges_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..32000971764b8a672817ea01556d39a62461ab7b --- /dev/null +++ b/Material/material_0412/metal_smudges_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f9e82f8ea8c39d649173c220617eedab68f68a38c749ffe8b7c6c8195ee3254 +size 2901291 diff --git a/Material/material_0418/metal_knurling_multi_R_diff_G_rough_B_grunge.jpg b/Material/material_0418/metal_knurling_multi_R_diff_G_rough_B_grunge.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f773c9cafdd2fa71939326f23ba94520cda6be24 --- /dev/null +++ b/Material/material_0418/metal_knurling_multi_R_diff_G_rough_B_grunge.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:827f0cf47b4356493fba016b6e9ddbcc6bfab0224b99a4e6a9c6ab69e24189a9 +size 5944332 diff --git a/Material/material_0418/metal_knurling_multi_heights.jpg b/Material/material_0418/metal_knurling_multi_heights.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3090c2e09a72cf7551ca2608f3c7be2a475b07c8 --- /dev/null +++ b/Material/material_0418/metal_knurling_multi_heights.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b4d7b7feb8921eed2081b4eb60a08bbce49aab76ac17f74cc564eeb7c7a4c11 +size 2076774 diff --git a/Material/material_0418/metal_knurling_norm.jpg b/Material/material_0418/metal_knurling_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9036d8679b5c63892eb665576e748b66afef3088 --- /dev/null +++ b/Material/material_0418/metal_knurling_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc9e78477fee20785975eb0b93ae5e861e135591998a89d624ce80fd779128f2 +size 1900541 diff --git a/Material/material_0420/atlas_02_norm_dist.png b/Material/material_0420/atlas_02_norm_dist.png new file mode 100644 index 0000000000000000000000000000000000000000..a368ebd9ef175a3e7566594df7f06c1af5f5e27e --- /dev/null +++ b/Material/material_0420/atlas_02_norm_dist.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:545d952caf139061c8f7c9474fbadd59cc2dedc5616386bbcb2ac71c88add6f0 +size 1576300 diff --git a/Material/material_0420/sheet_metal_R_rough_G_ao_B_streaks.jpg b/Material/material_0420/sheet_metal_R_rough_G_ao_B_streaks.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8a919e141894a2242175b13c37dee2571da51ce0 --- /dev/null +++ b/Material/material_0420/sheet_metal_R_rough_G_ao_B_streaks.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bcc1276b9bf79abb650315d368f57d20a4f7929ca207b4c3fa5fed8b9eb6306 +size 4451500 diff --git a/Material/material_0420/sheet_metal_multi_rough.jpg b/Material/material_0420/sheet_metal_multi_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..029d7ad1d517779b532e07cc1c31366c01f36854 --- /dev/null +++ b/Material/material_0420/sheet_metal_multi_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e2309dba2da6ba419f804936bf213270cb62b98a589b9c38bd99ce6bcad861f +size 7088427 diff --git a/Material/material_0420/sheet_metal_norm.jpg b/Material/material_0420/sheet_metal_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b954935687b2c9052528646b6e2e2f5136d85a70 --- /dev/null +++ b/Material/material_0420/sheet_metal_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3145f26a544857dd0163129591cb37d6c7d7934dc59aaa3611030f9f44ecd613 +size 3633863 diff --git a/Material/material_0426/dirt.jpg b/Material/material_0426/dirt.jpg new file mode 100644 index 0000000000000000000000000000000000000000..dfa1cad226bd98acb2ab7356e22fa6ced3f91e07 --- /dev/null +++ b/Material/material_0426/dirt.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc93abf156f84219d14c99e1cabe5a7702cac42ff54162c0b04a8d20fa34c7a2 +size 792158 diff --git a/Material/material_0426/plate_dirt.jpg b/Material/material_0426/plate_dirt.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c8f5d82fac4fbfa184871c14467c6be8cf8e1479 --- /dev/null +++ b/Material/material_0426/plate_dirt.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2595c00b94b5dc35ffab1c4618a31513049a154f03b8a30bb07a0301f867241a +size 3542758 diff --git a/Material/material_0426/plate_dirt_norm.jpg b/Material/material_0426/plate_dirt_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0f2ba9ffa0449e6f07e9caa19427c4f8b509816c --- /dev/null +++ b/Material/material_0426/plate_dirt_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b78c6dfdc8da22e89cf8384708aa8b7993b8f773bf1cb995f934aed11bc7ba4 +size 1191931 diff --git a/Material/material_0426/transition_noise.jpg b/Material/material_0426/transition_noise.jpg new file mode 100644 index 0000000000000000000000000000000000000000..205df4d9d7661dabe3a3553883d877add9796821 --- /dev/null +++ b/Material/material_0426/transition_noise.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5c7c90981c464b1f8442bb962a268611bb3266592b79443d847a99633981c41 +size 334039 diff --git a/Material/material_0426/tripletear_multi_ao_height.png b/Material/material_0426/tripletear_multi_ao_height.png new file mode 100644 index 0000000000000000000000000000000000000000..464c3fab41afa987a013bdc86804d41a4fcba38f --- /dev/null +++ b/Material/material_0426/tripletear_multi_ao_height.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7766b5427833b6b069c19a924cb9b43e49ad82cbe6d2d64aa673c6ef0d5e158 +size 1213745 diff --git a/Material/material_0426/tripletear_shape_normal.jpg b/Material/material_0426/tripletear_shape_normal.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ab91dd49bd85090e58eb403570bb008ef6742c49 --- /dev/null +++ b/Material/material_0426/tripletear_shape_normal.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:baaa9ffaf8467734c05b59bf01434ef301eac6fcef0a19c01637b31a74098f6a +size 633918 diff --git a/Material/material_0438/metal_knurling_multi_R_diff_G_rough_B_grunge.jpg b/Material/material_0438/metal_knurling_multi_R_diff_G_rough_B_grunge.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f773c9cafdd2fa71939326f23ba94520cda6be24 --- /dev/null +++ b/Material/material_0438/metal_knurling_multi_R_diff_G_rough_B_grunge.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:827f0cf47b4356493fba016b6e9ddbcc6bfab0224b99a4e6a9c6ab69e24189a9 +size 5944332 diff --git a/Material/material_0438/metal_knurling_multi_heights.jpg b/Material/material_0438/metal_knurling_multi_heights.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3090c2e09a72cf7551ca2608f3c7be2a475b07c8 --- /dev/null +++ b/Material/material_0438/metal_knurling_multi_heights.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b4d7b7feb8921eed2081b4eb60a08bbce49aab76ac17f74cc564eeb7c7a4c11 +size 2076774 diff --git a/Material/material_0438/metal_knurling_norm.jpg b/Material/material_0438/metal_knurling_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9036d8679b5c63892eb665576e748b66afef3088 --- /dev/null +++ b/Material/material_0438/metal_knurling_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc9e78477fee20785975eb0b93ae5e861e135591998a89d624ce80fd779128f2 +size 1900541 diff --git a/Material/material_0444/metalweave_02_AO.jpg b/Material/material_0444/metalweave_02_AO.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3c1aaae71a2363ef05bae9642e8cfef346930af9 --- /dev/null +++ b/Material/material_0444/metalweave_02_AO.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33a0f8d661cde7458eca0bbfa177ab7c5c98bf3ad8e2976cc23653175f6a0e7a +size 386339 diff --git a/Material/material_0444/metalweave_02_color_mask.png b/Material/material_0444/metalweave_02_color_mask.png new file mode 100644 index 0000000000000000000000000000000000000000..c5be50af8218243410752553569a6ce40424df62 --- /dev/null +++ b/Material/material_0444/metalweave_02_color_mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20ccf073159bc9f9640dd9ef7790168dd24d6202e45eae66a3fc4be309cf780a +size 4212 diff --git a/Material/material_0444/metalweave_02_metalcolor_mask.png b/Material/material_0444/metalweave_02_metalcolor_mask.png new file mode 100644 index 0000000000000000000000000000000000000000..8348d1f0e1533154278711a8c3380a82b3998c29 --- /dev/null +++ b/Material/material_0444/metalweave_02_metalcolor_mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41ae4b6a26b05581f71d724e6b355095448110f77425369996fd68b5831ed886 +size 669924 diff --git a/Material/material_0444/metalweave_02_norm.jpg b/Material/material_0444/metalweave_02_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..433dc5453ebebb8b81a1fb9aa4cd0908f92f5abb --- /dev/null +++ b/Material/material_0444/metalweave_02_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54c49201f9047e520f9bd31f2a52d2b173c1d652751b9a3af1edbbd6c68053c1 +size 937997 diff --git a/Material/material_0444/metalweave_02_rough.jpg b/Material/material_0444/metalweave_02_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9334daf046c20ff400ad8131bd0b88179a28d166 --- /dev/null +++ b/Material/material_0444/metalweave_02_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e0fd7799dd4a4947638707674bbe805ea9b539e6bf0587ae228b2ce1cb448aa +size 819354 diff --git a/Material/material_0465/brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg b/Material/material_0465/brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg new file mode 100644 index 0000000000000000000000000000000000000000..fa03f6ba0a9df0a06a1ec9ced0ede8254c2ce3b1 --- /dev/null +++ b/Material/material_0465/brushed_metal_linear_R_rough_G_scratchvar_B_impurities.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9612c22311f811a75a726f76f789577689c393965ea3c4a63409b9a2b79fed03 +size 6136073 diff --git a/Material/material_0465/brushed_metal_linear_norm.jpg b/Material/material_0465/brushed_metal_linear_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..275dca55737f9d3ddcbd4569a59ac0faf95b0f0b --- /dev/null +++ b/Material/material_0465/brushed_metal_linear_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2726352916df008ee9dafb1e19f3dc6f0280e3b59962d318ca3f5ef53155086 +size 5404672 diff --git a/Material/material_0470/atlas_02_norm_dist.png b/Material/material_0470/atlas_02_norm_dist.png new file mode 100644 index 0000000000000000000000000000000000000000..a368ebd9ef175a3e7566594df7f06c1af5f5e27e --- /dev/null +++ b/Material/material_0470/atlas_02_norm_dist.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:545d952caf139061c8f7c9474fbadd59cc2dedc5616386bbcb2ac71c88add6f0 +size 1576300 diff --git a/Material/material_0470/sheet_metal_R_rough_G_ao_B_streaks.jpg b/Material/material_0470/sheet_metal_R_rough_G_ao_B_streaks.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8a919e141894a2242175b13c37dee2571da51ce0 --- /dev/null +++ b/Material/material_0470/sheet_metal_R_rough_G_ao_B_streaks.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bcc1276b9bf79abb650315d368f57d20a4f7929ca207b4c3fa5fed8b9eb6306 +size 4451500 diff --git a/Material/material_0470/sheet_metal_multi_rough.jpg b/Material/material_0470/sheet_metal_multi_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..029d7ad1d517779b532e07cc1c31366c01f36854 --- /dev/null +++ b/Material/material_0470/sheet_metal_multi_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e2309dba2da6ba419f804936bf213270cb62b98a589b9c38bd99ce6bcad861f +size 7088427 diff --git a/Material/material_0470/sheet_metal_norm.jpg b/Material/material_0470/sheet_metal_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b954935687b2c9052528646b6e2e2f5136d85a70 --- /dev/null +++ b/Material/material_0470/sheet_metal_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3145f26a544857dd0163129591cb37d6c7d7934dc59aaa3611030f9f44ecd613 +size 3633863 diff --git a/Material/material_0502/atlas_02_norm_dist.png b/Material/material_0502/atlas_02_norm_dist.png new file mode 100644 index 0000000000000000000000000000000000000000..a368ebd9ef175a3e7566594df7f06c1af5f5e27e --- /dev/null +++ b/Material/material_0502/atlas_02_norm_dist.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:545d952caf139061c8f7c9474fbadd59cc2dedc5616386bbcb2ac71c88add6f0 +size 1576300 diff --git a/Material/material_0502/sheet_metal_R_rough_G_ao_B_streaks.jpg b/Material/material_0502/sheet_metal_R_rough_G_ao_B_streaks.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8a919e141894a2242175b13c37dee2571da51ce0 --- /dev/null +++ b/Material/material_0502/sheet_metal_R_rough_G_ao_B_streaks.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bcc1276b9bf79abb650315d368f57d20a4f7929ca207b4c3fa5fed8b9eb6306 +size 4451500 diff --git a/Material/material_0502/sheet_metal_multi_rough.jpg b/Material/material_0502/sheet_metal_multi_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..029d7ad1d517779b532e07cc1c31366c01f36854 --- /dev/null +++ b/Material/material_0502/sheet_metal_multi_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e2309dba2da6ba419f804936bf213270cb62b98a589b9c38bd99ce6bcad861f +size 7088427 diff --git a/Material/material_0502/sheet_metal_norm.jpg b/Material/material_0502/sheet_metal_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b954935687b2c9052528646b6e2e2f5136d85a70 --- /dev/null +++ b/Material/material_0502/sheet_metal_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3145f26a544857dd0163129591cb37d6c7d7934dc59aaa3611030f9f44ecd613 +size 3633863 diff --git a/Material/material_0558/bark_oak_diff.jpg b/Material/material_0558/bark_oak_diff.jpg new file mode 100644 index 0000000000000000000000000000000000000000..dd64c18815acb1888f79e6743de9999c63e5a73f --- /dev/null +++ b/Material/material_0558/bark_oak_diff.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6866b52ee4034f69d61e3cc431009f758fe892aa3b860529a76f4272b3ce0a81 +size 3536361 diff --git a/Material/material_0558/bark_oak_mask.jpg b/Material/material_0558/bark_oak_mask.jpg new file mode 100644 index 0000000000000000000000000000000000000000..887ccb29ff006684712dad38239cac4de56586ee --- /dev/null +++ b/Material/material_0558/bark_oak_mask.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c3bc31e8429365f2baf38660acd79354ed0c3ed31a7171c33974d2f8b24bda7 +size 353747 diff --git a/Material/material_0558/bark_oak_multi_R_rough_G_ao_B_height.jpg b/Material/material_0558/bark_oak_multi_R_rough_G_ao_B_height.jpg new file mode 100644 index 0000000000000000000000000000000000000000..67fc3e045ff370dab8d77af555143d594ba1cdec --- /dev/null +++ b/Material/material_0558/bark_oak_multi_R_rough_G_ao_B_height.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f9ba5628826fd92979dc97f1e551ede05e1c0c2a6a09fa572de7a96ee7e81a9 +size 2938574 diff --git a/Material/material_0558/bark_oak_norm.jpg b/Material/material_0558/bark_oak_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c79b76e8fcf047b1dac270144fd119eb63af0cff --- /dev/null +++ b/Material/material_0558/bark_oak_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e857a56b9425cff04f89a677b72744242cf2238f5e79f9bb487ca7b6efe5a30 +size 4029866 diff --git a/Material/material_0562/beech_diff.jpg b/Material/material_0562/beech_diff.jpg new file mode 100644 index 0000000000000000000000000000000000000000..eee240692c9dc7ae730ffc2655d9886d6cc2ef40 --- /dev/null +++ b/Material/material_0562/beech_diff.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cb5d191b50941bf2539c770b43f8ba1ad1308c7fa2e3eb9305153bb35721fa9 +size 2485806 diff --git a/Material/material_0562/beech_norm.jpg b/Material/material_0562/beech_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3e2fb751ac62d6e4abb39b0033ab5d7cf3a360c5 --- /dev/null +++ b/Material/material_0562/beech_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3dc80239142ddf37d3877e5b59ca842114709c52db54e854b59586f13234affc +size 2935873 diff --git a/Material/material_0562/beech_rough_detail.jpg b/Material/material_0562/beech_rough_detail.jpg new file mode 100644 index 0000000000000000000000000000000000000000..eb1592213c6afc1d7070e53004afbc718d8f0ceb --- /dev/null +++ b/Material/material_0562/beech_rough_detail.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:128ecbcf2f63ffba206d20dd2bf362b36057312666c0eec17f1f77eb73fa319e +size 2615350 diff --git a/Material/material_0562/brickbond_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0562/brickbond_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ad3bdab1fb785e59aefdd3de8d2953c0723103f0 --- /dev/null +++ b/Material/material_0562/brickbond_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72708e20c100534f06761e90010e339b21807c03ab5339fdc0f6c70298aa34b2 +size 5190594 diff --git a/Material/material_0562/brickbond_R_id_G_offs_B_rotation.png b/Material/material_0562/brickbond_R_id_G_offs_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..b9c77ea1bd762da262faa40a889232f0a59c40ca --- /dev/null +++ b/Material/material_0562/brickbond_R_id_G_offs_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fd00d71ac34a2bc3ae995a93f3b3b4bef47c4a9b672ed5eec66c1a8af8b8894 +size 61671 diff --git a/Material/material_0562/brickbond_norm.png b/Material/material_0562/brickbond_norm.png new file mode 100644 index 0000000000000000000000000000000000000000..b3b8fbdfb97ce7d9a520725e29f292116abcec83 --- /dev/null +++ b/Material/material_0562/brickbond_norm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36f065ec0cc3be3632cd9855942e0022e651ea2704c5eb4b3c93914679eaac46 +size 5097857 diff --git a/Material/material_0562/chantilly_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0562/chantilly_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6c9e10385cc3fcfe5232fef409e7d8ec79706026 --- /dev/null +++ b/Material/material_0562/chantilly_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e0cabf2d39d63984f8dc6b45304b1d6dce0fa7b462ba5cda17a564c63c13ba2 +size 5192773 diff --git a/Material/material_0562/chantilly_R_id_G_offs_B_rotation.png b/Material/material_0562/chantilly_R_id_G_offs_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..b10d7021e2e61d1677a33323a1afd01630d95735 --- /dev/null +++ b/Material/material_0562/chantilly_R_id_G_offs_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3eac1bf2d9fefaba86c8160cdc1413206682c7eee1b92ae78e790ac7fcf49dd8 +size 165856 diff --git a/Material/material_0562/chantilly_norm.png b/Material/material_0562/chantilly_norm.png new file mode 100644 index 0000000000000000000000000000000000000000..4d47924ff6d6d5646d66d403b0eb22e384f9fdf9 --- /dev/null +++ b/Material/material_0562/chantilly_norm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a49b4ddd3eb9d1aca27491dc5a46ee821f26adebc8c50a5d7c04d8cf8d4d7bb4 +size 5219533 diff --git a/Material/material_0562/chevron_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0562/chevron_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..abfbf377deb53b57b2dc852c55741787d83beb97 --- /dev/null +++ b/Material/material_0562/chevron_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a7cded4f69a5bf02630fbd6e68d177d6ca31f73dcafe5125efdf3ed77d8f235 +size 5561847 diff --git a/Material/material_0562/chevron_R_id_G_offs_B_rotation.png b/Material/material_0562/chevron_R_id_G_offs_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..773f17e791b8ec3ef817652f35d2d10e057043b3 --- /dev/null +++ b/Material/material_0562/chevron_R_id_G_offs_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8672aa9e976b6f1f4414269e05b09eef306c75d8ac8e711f8daa2b617213c3f +size 253093 diff --git a/Material/material_0562/chevron_norm.png b/Material/material_0562/chevron_norm.png new file mode 100644 index 0000000000000000000000000000000000000000..385c806fdb22cf9d6593ee94e08264c0ddde5cc9 --- /dev/null +++ b/Material/material_0562/chevron_norm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efcf37cdd9bd301b9e3513f3df53cbc9f0e74ca6ec7db8d2be6047ae893b6257 +size 7660298 diff --git a/Material/material_0562/cubes_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0562/cubes_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ff0b3c61a7b7a7cb2f930c42b5a175bfc6b5e3d3 --- /dev/null +++ b/Material/material_0562/cubes_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7903a3bf94df642d678feec55c7798a16fd18bb8e3f50dff1873b4ebc7068400 +size 5282713 diff --git a/Material/material_0562/cubes_R_id_G_offs_B_rotation.png b/Material/material_0562/cubes_R_id_G_offs_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..e9b891846cced81c763a667e9f0b53f0a50dae2c --- /dev/null +++ b/Material/material_0562/cubes_R_id_G_offs_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bdd0f5580f45c8112000f0ce338d0bf95cf9a91cf3851adddcff2ee7c42a53b +size 188376 diff --git a/Material/material_0562/cubes_norm.png b/Material/material_0562/cubes_norm.png new file mode 100644 index 0000000000000000000000000000000000000000..70bb7bc477f08e2e561d70a5f72146e2657a11c3 --- /dev/null +++ b/Material/material_0562/cubes_norm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc8219f0ac1573a4871777d26a773bccd4084e850f88e30a4b03fd1cec0f07be +size 5932734 diff --git a/Material/material_0562/diagonal_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0562/diagonal_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d8d7d76fa63452c6ab7b1e19064fa018a3cf3147 --- /dev/null +++ b/Material/material_0562/diagonal_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec63497a0ed3753608d8904a91abbad0bff232d1fa51ab5d2f7598a2e53f1481 +size 5507965 diff --git a/Material/material_0562/diagonal_R_id_G_offs_B_rotation.png b/Material/material_0562/diagonal_R_id_G_offs_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..83aebabfc747811ac2f5ff7ffefb115bfbeedc8c --- /dev/null +++ b/Material/material_0562/diagonal_R_id_G_offs_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95db350abe05f308e61f9e8ee81e8bfd926ae4a44105248b03dd2120fd2a551f +size 278035 diff --git a/Material/material_0562/diagonal_norm.png b/Material/material_0562/diagonal_norm.png new file mode 100644 index 0000000000000000000000000000000000000000..6640e26b29201fa290745b428753d432bb16f62c --- /dev/null +++ b/Material/material_0562/diagonal_norm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0708f89b7dc534c9681783946bb01386a49d4d16afb417e16ac27b16f06e9c92 +size 7421414 diff --git a/Material/material_0562/herringbone_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0562/herringbone_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..62938629e22adf7a02b8a96ac79c91b0c16505b7 --- /dev/null +++ b/Material/material_0562/herringbone_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6d1d4db4b5d09f95f27e90fb17dbe60b8f4a9ab266d98bcd4ee9b0506480962 +size 5509842 diff --git a/Material/material_0562/herringbone_R_id_G_offs_B_rotation.png b/Material/material_0562/herringbone_R_id_G_offs_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..9da42b1d90046303db83b56490ece5d77ec19fad --- /dev/null +++ b/Material/material_0562/herringbone_R_id_G_offs_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9c4f7944ddcb9e6c919e4f2f044ab1efe9660042a568f142365e08a424194fd +size 304083 diff --git a/Material/material_0562/herringbone_norm.png b/Material/material_0562/herringbone_norm.png new file mode 100644 index 0000000000000000000000000000000000000000..fe1e06b00f4907fa3ca58f72302e1313ca119a0e --- /dev/null +++ b/Material/material_0562/herringbone_norm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7b5c153686bfdfe25af7ed9820b2ae2bbd9b73986d51e85f326d7bde2d67b58 +size 7592872 diff --git a/Material/material_0562/mosaic_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0562/mosaic_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4b6635bc11e70d3106387b23632b2aac688d9308 --- /dev/null +++ b/Material/material_0562/mosaic_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6b9fb4c15e1ad3fe24783be2897c00447f3374433fd923e7a42bf4920fcf8ba +size 5345943 diff --git a/Material/material_0562/mosaic_R_id_G_offs_B_rotation.png b/Material/material_0562/mosaic_R_id_G_offs_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..04285efb57eeddeed4dfd1fe290603ac21391143 --- /dev/null +++ b/Material/material_0562/mosaic_R_id_G_offs_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c4f6877c6be7b39bb705ee1a53c65691e23de2f66d5be524bac2b0890d7859a +size 74735 diff --git a/Material/material_0562/stackbond_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0562/stackbond_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..67654b48ce206cea96b3b23e7ca1d1cca4be897a --- /dev/null +++ b/Material/material_0562/stackbond_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:361f1c0bcd09e62fdce1fade132a4129e660efe17f3c610ecbff83a6c72a2b09 +size 5339370 diff --git a/Material/material_0562/stackbond_R_id_G_offs_B_rotation.png b/Material/material_0562/stackbond_R_id_G_offs_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..4ff3286575d0f7120afe4d07ec970ff5c8926a36 --- /dev/null +++ b/Material/material_0562/stackbond_R_id_G_offs_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb0d4cdde31299ff9b1c3a7ef65eb7b29a2c7c1e881f33f70131c37493a9b4f1 +size 622237 diff --git a/Material/material_0562/stackbond_norm.png b/Material/material_0562/stackbond_norm.png new file mode 100644 index 0000000000000000000000000000000000000000..5a1afb0ab7194b8c49fcffe9e749ae5f078de9f7 --- /dev/null +++ b/Material/material_0562/stackbond_norm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:083c1c77a805a98d962d9c3d9066b8121c9513cb8bca941d2f1a20a7d012459e +size 5205492 diff --git a/Material/material_0562/tiles_wood_R_rough_G_dents_B_spots.jpg b/Material/material_0562/tiles_wood_R_rough_G_dents_B_spots.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d9abc424636350e1ba6a86dfc77219b09e7c22a2 --- /dev/null +++ b/Material/material_0562/tiles_wood_R_rough_G_dents_B_spots.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73f07f9f0053a64f77123e0c2c6b7c04fb13c6c3845fbdb73a899c13e1416ad0 +size 5318464 diff --git a/Material/material_0562/tiles_wood_orangepeel_norm.jpg b/Material/material_0562/tiles_wood_orangepeel_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..965e21ba6fb80d237eef71127af86e8557b0d380 --- /dev/null +++ b/Material/material_0562/tiles_wood_orangepeel_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14b18dba2a5e4978a8d14cb1efd17e3a7a8c7ad5e5b3438ddc7d025c6453fbfe +size 583443 diff --git a/Material/material_0562/versailles_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0562/versailles_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7024f5c4212213abf1633c4ceaadf5ea3b657ff7 --- /dev/null +++ b/Material/material_0562/versailles_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7bf177cbb47fb36b44923ad36bad818f405604b6e1113119314f4e8291800cf1 +size 5489803 diff --git a/Material/material_0562/versailles_R_id_G_offs_B_rotation.png b/Material/material_0562/versailles_R_id_G_offs_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..db046898ed8faa01f4cd8d7862e18a29acd1aa75 --- /dev/null +++ b/Material/material_0562/versailles_R_id_G_offs_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb6e5627e4bd516c16a2e14ee94b05e2e527697a7d7139dd87bdc79ac3f175e8 +size 164987 diff --git a/Material/material_0562/versailles_norm.png b/Material/material_0562/versailles_norm.png new file mode 100644 index 0000000000000000000000000000000000000000..9edb45008853deab30294c2047db733b30ac9f44 --- /dev/null +++ b/Material/material_0562/versailles_norm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd57efebab075c03b8f290d7c47651eee8650d04c650d0ca3fdd33b1e662d006 +size 6678546 diff --git a/Material/material_0562/woodstrip_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0562/woodstrip_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..68ac4d4a21a6a069173137e1fa9887167c8887b8 --- /dev/null +++ b/Material/material_0562/woodstrip_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fbe05e89f160fb283e17f621a33844ecc6b3abd555b43e94a1ff8f3b9d8a336 +size 5342612 diff --git a/Material/material_0562/woodstrip_R_id_G_offs_B_rotation.png b/Material/material_0562/woodstrip_R_id_G_offs_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..d9dd9b1f3cd4464d0b6aac87418df0cebc48a3e4 --- /dev/null +++ b/Material/material_0562/woodstrip_R_id_G_offs_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f57463c41a8cb21a1b69253d37c0d33b808d367f789765b2290d8fbff3e18c73 +size 525457 diff --git a/Material/material_0562/woodstrip_norm.png b/Material/material_0562/woodstrip_norm.png new file mode 100644 index 0000000000000000000000000000000000000000..9f50dbae9dc24eb37e799490aa1961f69c78093f --- /dev/null +++ b/Material/material_0562/woodstrip_norm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff6c49a20fca5088736b8fa0cc2612a2f8225466824189af7f96df818481511a +size 5122769 diff --git a/Material/material_0563/beech_diff.jpg b/Material/material_0563/beech_diff.jpg new file mode 100644 index 0000000000000000000000000000000000000000..eee240692c9dc7ae730ffc2655d9886d6cc2ef40 --- /dev/null +++ b/Material/material_0563/beech_diff.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cb5d191b50941bf2539c770b43f8ba1ad1308c7fa2e3eb9305153bb35721fa9 +size 2485806 diff --git a/Material/material_0563/beech_norm.jpg b/Material/material_0563/beech_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3e2fb751ac62d6e4abb39b0033ab5d7cf3a360c5 --- /dev/null +++ b/Material/material_0563/beech_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3dc80239142ddf37d3877e5b59ca842114709c52db54e854b59586f13234affc +size 2935873 diff --git a/Material/material_0563/beech_rough_detail.jpg b/Material/material_0563/beech_rough_detail.jpg new file mode 100644 index 0000000000000000000000000000000000000000..eb1592213c6afc1d7070e53004afbc718d8f0ceb --- /dev/null +++ b/Material/material_0563/beech_rough_detail.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:128ecbcf2f63ffba206d20dd2bf362b36057312666c0eec17f1f77eb73fa319e +size 2615350 diff --git a/Material/material_0563/beech_rough_grain.jpg b/Material/material_0563/beech_rough_grain.jpg new file mode 100644 index 0000000000000000000000000000000000000000..fd8aa6fe463298ecfecce45f11daddf6aa939045 --- /dev/null +++ b/Material/material_0563/beech_rough_grain.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfd3d9d35088ba66fe93954945e37b18c32edb221d5aa829a2f503f9e1c146fd +size 4395520 diff --git a/Material/material_0563/brickbond_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0563/brickbond_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ad3bdab1fb785e59aefdd3de8d2953c0723103f0 --- /dev/null +++ b/Material/material_0563/brickbond_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72708e20c100534f06761e90010e339b21807c03ab5339fdc0f6c70298aa34b2 +size 5190594 diff --git a/Material/material_0563/brickbond_R_id_G_offs_B_rotation.png b/Material/material_0563/brickbond_R_id_G_offs_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..b9c77ea1bd762da262faa40a889232f0a59c40ca --- /dev/null +++ b/Material/material_0563/brickbond_R_id_G_offs_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fd00d71ac34a2bc3ae995a93f3b3b4bef47c4a9b672ed5eec66c1a8af8b8894 +size 61671 diff --git a/Material/material_0563/brickbond_norm.png b/Material/material_0563/brickbond_norm.png new file mode 100644 index 0000000000000000000000000000000000000000..b3b8fbdfb97ce7d9a520725e29f292116abcec83 --- /dev/null +++ b/Material/material_0563/brickbond_norm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36f065ec0cc3be3632cd9855942e0022e651ea2704c5eb4b3c93914679eaac46 +size 5097857 diff --git a/Material/material_0563/melbury_R_2ndcol_G_randmask.png b/Material/material_0563/melbury_R_2ndcol_G_randmask.png new file mode 100644 index 0000000000000000000000000000000000000000..2f44c303bc7e012f7d3395c3548f57155760d096 --- /dev/null +++ b/Material/material_0563/melbury_R_2ndcol_G_randmask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3af74e4c7e44c7e436428189331f6277589da5c083573bce09e7cf7c3ce3387f +size 101532 diff --git a/Material/material_0563/melbury_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0563/melbury_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d9db6a04d2f85b5a7f51147ed8c07e96926c2e08 --- /dev/null +++ b/Material/material_0563/melbury_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06bb819fdb6fe04c4c9ff9da95afe1a1808d378a95232b9a4189fe5ae38b7698 +size 1797932 diff --git a/Material/material_0563/melbury_R_id_G_offset_B_rotation.png b/Material/material_0563/melbury_R_id_G_offset_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..4f5861b6c74973f8481e2452f2e7ce9a7570b6cb --- /dev/null +++ b/Material/material_0563/melbury_R_id_G_offset_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86772b2070b4cb85f79e4cc65ec35f4556566e840073ad8821c7cc13754dff13 +size 101682 diff --git a/Material/material_0563/melbury_norm.jpg b/Material/material_0563/melbury_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0f89e2aaf5ca2d17fa8a9bd814ec5ecd712127ca --- /dev/null +++ b/Material/material_0563/melbury_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0aada97f0565deb27c9590304505260a5a1e5290ee1e33a4be0f67cad9512ac +size 838401 diff --git a/Material/material_0563/star_large_R_2ndcol_G_randmask.png b/Material/material_0563/star_large_R_2ndcol_G_randmask.png new file mode 100644 index 0000000000000000000000000000000000000000..c28d3c393ac5bda90f00dadd87198c5ba4f83edd --- /dev/null +++ b/Material/material_0563/star_large_R_2ndcol_G_randmask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0aec15bc0233b4e438ca2fcfe771fdca9a86f7a71cca14bc0100c7951c7f501b +size 91048 diff --git a/Material/material_0563/star_large_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0563/star_large_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6002fae15ded6a44b5648de409a0c505ba29a99c --- /dev/null +++ b/Material/material_0563/star_large_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f72ce35a6f504e7982c170967338ab9d5078ac0ea9f4e88ef7b64f81819834f +size 2562678 diff --git a/Material/material_0563/star_large_R_id_G_offset_B_rotation.png b/Material/material_0563/star_large_R_id_G_offset_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..1771ceb0aa5c4eefe72598a57919ad8eba115b5c --- /dev/null +++ b/Material/material_0563/star_large_R_id_G_offset_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c164bcc0a96070e11c59f0a6efa95e3b24be2f2599a60b38b578c21e828c9b8c +size 91272 diff --git a/Material/material_0563/star_large_norm.jpg b/Material/material_0563/star_large_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..778c130ace1881bd090cb7321bdfe364086bf664 --- /dev/null +++ b/Material/material_0563/star_large_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d46c5c112315de8adc7488f9f4474f09c177cc4df5ba40df8ede043e3a9a526 +size 713268 diff --git a/Material/material_0563/stars_R_2ndcol_G_randmask.png b/Material/material_0563/stars_R_2ndcol_G_randmask.png new file mode 100644 index 0000000000000000000000000000000000000000..38fad660045a6527b9bdb7660ac898351a3e90f1 --- /dev/null +++ b/Material/material_0563/stars_R_2ndcol_G_randmask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4ea4011f9db06c9452803487b299a0548d6a264caac9f490e1d0e5145bcd3ef +size 157719 diff --git a/Material/material_0563/stars_R_edgewear_G_gaps_B_gaps_rough.jpg b/Material/material_0563/stars_R_edgewear_G_gaps_B_gaps_rough.jpg new file mode 100644 index 0000000000000000000000000000000000000000..fe79b50bac9222df557a9541a80336668fec0f3b --- /dev/null +++ b/Material/material_0563/stars_R_edgewear_G_gaps_B_gaps_rough.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4b9bf1cc919fccc142148316fc53adcb32ea15294f191b3d7a7aa6271965a99 +size 3172876 diff --git a/Material/material_0563/stars_R_id_G_offset_B_rotation.png b/Material/material_0563/stars_R_id_G_offset_B_rotation.png new file mode 100644 index 0000000000000000000000000000000000000000..ba33f12e0b7bdaee4559fa8af3f45ab83d6216c3 --- /dev/null +++ b/Material/material_0563/stars_R_id_G_offset_B_rotation.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2a9722c257715b5b80b4f6c4c29075e37da99d96b625699abe51b50977b8193 +size 147169 diff --git a/Material/material_0563/stars_norm.jpg b/Material/material_0563/stars_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e3510a27650bc60c75f510a2d5d7dd6e11244c12 --- /dev/null +++ b/Material/material_0563/stars_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:991c530a03de4b5ecca4be3d5d2ae10b3d413dc27f6d38875bbecfe59a8a67d4 +size 985488 diff --git a/Material/material_0563/tiles_wood_R_rough_G_dents_B_spots.jpg b/Material/material_0563/tiles_wood_R_rough_G_dents_B_spots.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d9abc424636350e1ba6a86dfc77219b09e7c22a2 --- /dev/null +++ b/Material/material_0563/tiles_wood_R_rough_G_dents_B_spots.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73f07f9f0053a64f77123e0c2c6b7c04fb13c6c3845fbdb73a899c13e1416ad0 +size 5318464 diff --git a/Material/material_0563/tiles_wood_orangepeel_norm.jpg b/Material/material_0563/tiles_wood_orangepeel_norm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..965e21ba6fb80d237eef71127af86e8557b0d380 --- /dev/null +++ b/Material/material_0563/tiles_wood_orangepeel_norm.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14b18dba2a5e4978a8d14cb1efd17e3a7a8c7ad5e5b3438ddc7d025c6453fbfe +size 583443 diff --git a/Objects/RoboDojo/Articulation/SpringButton/00002/metadata.json b/Objects/RoboDojo/Articulation/SpringButton/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..efd31438868b10de2fb6ea54066683225ec1939e --- /dev/null +++ b/Objects/RoboDojo/Articulation/SpringButton/00002/metadata.json @@ -0,0 +1,126 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.030277005618107797, + -0.030276141618107797, + -0.00022832236767326639 + ], + [ + -0.030277005618107797, + -0.030276141618107797, + 0.030685309634923028 + ], + [ + -0.030277005618107797, + 0.030277293618107794, + -0.00022832236767326639 + ], + [ + -0.030277005618107797, + 0.030277293618107794, + 0.030685309634923028 + ], + [ + 0.030276429618107795, + -0.030276141618107797, + -0.00022832236767326639 + ], + [ + 0.030276429618107795, + -0.030276141618107797, + 0.030685309634923028 + ], + [ + 0.030276429618107795, + 0.030277293618107794, + -0.00022832236767326639 + ], + [ + 0.030276429618107795, + 0.030277293618107794, + 0.030685309634923028 + ] + ], + "extents": [ + 0.06055343523621559, + 0.06055343523621559, + 0.030913632002596295 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.023767328112803875, + 0.03557619314094609, + 0.03068532777140426 + ], + [ + -0.035575907701719936, + 0.023768189552030066, + 0.030685323993533888 + ], + [ + 0.035575331701719934, + -0.023767042673571843, + 0.030685308785040423 + ], + [ + -0.023767904112803877, + -0.03557504626248786, + 0.030685305007170052 + ], + [ + 0.023767328112803875, + 0.035576203031500005, + -0.00022830469797690926 + ], + [ + -0.035575907701719936, + 0.023768199442583984, + -0.00022830847584727997 + ], + [ + 0.035575331701719934, + -0.023767032783017925, + -0.0002283236843407411 + ], + [ + -0.023767904112803877, + -0.03557503637193394, + -0.0002283274622111118 + ] + ], + "extents": [ + 0.07115123940343987, + 0.07115124929398786, + 0.03091365523361537 + ] + } + }, + "passive": { + "support": {}, + "functional": { + "press": { + "base_link": "E_button_01_13", + "parent_joint": "PrismaticJoint_orangeswitch_up", + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + }, + "active": {}, + "physics": { + "reset_drive": true + } +} diff --git a/Objects/RoboDojo/Articulation/SpringButton/00003/metadata.json b/Objects/RoboDojo/Articulation/SpringButton/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..efd31438868b10de2fb6ea54066683225ec1939e --- /dev/null +++ b/Objects/RoboDojo/Articulation/SpringButton/00003/metadata.json @@ -0,0 +1,126 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.030277005618107797, + -0.030276141618107797, + -0.00022832236767326639 + ], + [ + -0.030277005618107797, + -0.030276141618107797, + 0.030685309634923028 + ], + [ + -0.030277005618107797, + 0.030277293618107794, + -0.00022832236767326639 + ], + [ + -0.030277005618107797, + 0.030277293618107794, + 0.030685309634923028 + ], + [ + 0.030276429618107795, + -0.030276141618107797, + -0.00022832236767326639 + ], + [ + 0.030276429618107795, + -0.030276141618107797, + 0.030685309634923028 + ], + [ + 0.030276429618107795, + 0.030277293618107794, + -0.00022832236767326639 + ], + [ + 0.030276429618107795, + 0.030277293618107794, + 0.030685309634923028 + ] + ], + "extents": [ + 0.06055343523621559, + 0.06055343523621559, + 0.030913632002596295 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.023767328112803875, + 0.03557619314094609, + 0.03068532777140426 + ], + [ + -0.035575907701719936, + 0.023768189552030066, + 0.030685323993533888 + ], + [ + 0.035575331701719934, + -0.023767042673571843, + 0.030685308785040423 + ], + [ + -0.023767904112803877, + -0.03557504626248786, + 0.030685305007170052 + ], + [ + 0.023767328112803875, + 0.035576203031500005, + -0.00022830469797690926 + ], + [ + -0.035575907701719936, + 0.023768199442583984, + -0.00022830847584727997 + ], + [ + 0.035575331701719934, + -0.023767032783017925, + -0.0002283236843407411 + ], + [ + -0.023767904112803877, + -0.03557503637193394, + -0.0002283274622111118 + ] + ], + "extents": [ + 0.07115123940343987, + 0.07115124929398786, + 0.03091365523361537 + ] + } + }, + "passive": { + "support": {}, + "functional": { + "press": { + "base_link": "E_button_01_13", + "parent_joint": "PrismaticJoint_orangeswitch_up", + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + }, + "active": {}, + "physics": { + "reset_drive": true + } +} diff --git a/Objects/RoboDojo/Articulation/egg_holder/00000/metadata.json b/Objects/RoboDojo/Articulation/egg_holder/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..b41d1a6a1d743b1d148fe3d234d13e5708d5e9d5 --- /dev/null +++ b/Objects/RoboDojo/Articulation/egg_holder/00000/metadata.json @@ -0,0 +1,143 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0452, + -0.046, + -0.0 + ], + [ + -0.0452, + -0.046, + 0.1256 + ], + [ + -0.0452, + 0.0749, + -0.0 + ], + [ + -0.0452, + 0.0749, + 0.1256 + ], + [ + 0.0452, + -0.046, + -0.0 + ], + [ + 0.0452, + -0.046, + 0.1256 + ], + [ + 0.0452, + 0.0749, + -0.0 + ], + [ + 0.0452, + 0.0749, + 0.1256 + ] + ], + "extents": [ + 0.0904, + 0.1209, + 0.1256 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0452, + 0.1149, + 0.0826 + ], + [ + -0.0452, + 0.0069, + -0.0438 + ], + [ + -0.0452, + 0.0455, + 0.1418 + ], + [ + -0.0452, + -0.0625, + 0.0154 + ], + [ + 0.0452, + 0.1149, + 0.0826 + ], + [ + 0.0452, + 0.0069, + -0.0438 + ], + [ + 0.0452, + 0.0455, + 0.1418 + ], + [ + 0.0452, + -0.0625, + 0.0154 + ] + ], + "extents": [ + 0.0904, + 0.1773, + 0.1857 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "fixed_base": false + }, + "passive": { + "support": {}, + "functional": { + "GetParentLink": { + "base_link": "E_lid_25", + "parent_joint": "RevoluteJoint_4compartmenteggcartons_up", + "frame": [ + [ + -4.414501731791546e-08, + -0.03779397364167802, + -0.04045603763555114, + 0.7109479542334991, + 0.703244627686812, + -1.7695128951000783e-07, + -8.995193652120436e-07 + ] + ] + }, + "bottom": { + "base_link": "E_body_5", + "parent_joint": null, + "frame": [ + [ + 0.0, + 0.0, + 0.004999999999999999, + 1.0000000000000002, + 0.0, + -1.1102230246251565e-16, + -6.765421556309548e-17 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Articulation/laptop/00000/metadata.json b/Objects/RoboDojo/Articulation/laptop/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..080e33b2662b08a72437a3640b2ac351a994c019 --- /dev/null +++ b/Objects/RoboDojo/Articulation/laptop/00000/metadata.json @@ -0,0 +1,278 @@ +{ + "physics": { + "mass": 0.1, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0896, + -0.0782, + 0.0 + ], + [ + -0.0896, + -0.0782, + 0.1208 + ], + [ + -0.0896, + 0.0902, + 0.0 + ], + [ + -0.0896, + 0.0902, + 0.1208 + ], + [ + 0.0897, + -0.0782, + 0.0 + ], + [ + 0.0897, + -0.0782, + 0.1208 + ], + [ + 0.0897, + 0.0902, + 0.0 + ], + [ + 0.0897, + 0.0902, + 0.1208 + ] + ], + "extents": [ + 0.1794, + 0.1684, + 0.1208 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0896, + 0.0895, + 0.1212 + ], + [ + -0.0896, + -0.0787, + 0.0032 + ], + [ + 0.0897, + 0.0895, + 0.1212 + ], + [ + 0.0897, + -0.0787, + 0.0032 + ], + [ + -0.0896, + 0.1324, + 0.06 + ], + [ + -0.0896, + -0.0358, + -0.058 + ], + [ + 0.0897, + 0.1324, + 0.06 + ], + [ + 0.0897, + -0.0358, + -0.058 + ] + ], + "extents": [ + 0.1794, + 0.2111, + 0.1792 + ] + } + }, + "active": { + "functional": { + "bottom": { + "base_link": "E_body_1", + "parent_joint": null, + "frame": [ + [ + 0.0, + 0.001, + -0.001, + 1.0, + -0.0047, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "support": {}, + "functional": { + "laptop_hinge": { + "base_link": "E_displayer_5", + "parent_joint": "RevoluteJoint_computer_9_up", + "frame": [ + [ + 0.1085, + 0.0014, + 0.0007, + 0.9871, + 0.1604, + -0.0, + -0.0 + ] + ] + } + } + }, + "description": [ + "smooth plastic-like finish laptop", + "laptop for browsing the web scenarios", + "notebook computer used to typing documents", + "metallic aluminum MacBook used for browsing the web", + "laptop for typing documents activities", + "hinged two-part design MacBook ideal for browsing the web", + "laptop with portable dimensions", + "matte black screen object used for typing documents", + "metallic aluminum thin rectangular clamshell for typing documents", + "compact laptop matte black screen metallic aluminum thin rectangular clamshell object", + "laptop commonly featuring smooth plastic-like finish", + "laptop with thin rectangular clamshell geometry", + "MacBook designed for typing documents", + "metallic aluminum hinged two-part design MacBook", + "portable hinged two-part design notebook computer for browsing the web", + "laptop primarily used for typing documents", + "dark gray object used for browsing the web", + "notebook computer for running software applications with smooth plastic-like finish", + "MacBook in hinged two-part design", + "laptop sized portable", + "smooth plastic-like finish slightly tapered edges laptop", + "MacBook built from smooth plastic-like finish", + "matte black screen laptop designed for typing documents", + "notebook computer typically made of smooth plastic-like finish", + "MacBook built from metallic aluminum", + "metallic aluminum notebook computer for browsing the web", + "laptop used to browsing the web", + "MacBook with metallic aluminum surface", + "typing documents use of laptop", + "smooth plastic-like finish hinged two-part design laptop", + "laptop with compact laptop dimensions", + "notebook computer with slightly tapered edges profile", + "portable matte black screen object for running software applications", + "fits on lap MacBook perfect for browsing the web", + "laptop in thin rectangular clamshell form", + "running software applications with laptop", + "hinged two-part design laptop ideal for running software applications", + "compact laptop hinged two-part design object", + "compact laptop matte black screen object for typing documents", + "light gray thin rectangular clamshell laptop used for running software applications", + "compact laptop object used for running software applications", + "fits on lap notebook computer used for running software applications", + "notebook computer for typing documents activities", + "dark gray smooth plastic-like finish laptop", + "smooth plastic-like finish MacBook", + "matte black screen fits on lap MacBook for typing documents", + "compact laptop slightly tapered edges object for browsing the web", + "notebook computer used to browsing the web", + "browsing the web with MacBook", + "matte black screen MacBook designed for typing documents", + "matte black screen notebook computer used for browsing the web", + "MacBook for typing documents scenarios", + "compact laptop matte black screen hinged two-part design object", + "laptop primarily used for browsing the web", + "compact laptop slightly tapered edges object", + "metallic aluminum slightly tapered edges for running software applications", + "MacBook ideal for typing documents", + "laptop for typing documents use", + "portable smooth plastic-like finish slightly tapered edges for browsing the web", + "browsing the web with notebook computer", + "light gray object used for browsing the web", + "laptop commonly found in compact laptop size", + "hinged two-part design notebook computer ideal for typing documents", + "metallic aluminum notebook computer", + "portable notebook computer perfect for typing documents", + "hinged two-part design MacBook used for running software applications", + "laptop for typing documents with smooth plastic-like finish", + "portable smooth plastic-like finish hinged two-part design for browsing the web", + "portable notebook computer for browsing the web", + "portable smooth plastic-like finish slightly tapered edges for running software applications", + "hinged two-part design MacBook ideal for running software applications", + "laptop commonly found in portable size", + "MacBook primarily used for browsing the web", + "light gray notebook computer used for running software applications", + "fits on lap hinged two-part design MacBook for typing documents", + "compact laptop smooth plastic-like finish object", + "thin rectangular clamshell MacBook for typing documents", + "laptop for typing documents scenarios", + "laptop made from smooth plastic-like finish", + "slightly tapered edges-shaped laptop", + "laptop colored matte black screen", + "dark gray laptop used for typing documents", + "laptop for running software applications tasks", + "portable dark gray object for browsing the web", + "portable matte black screen metallic aluminum thin rectangular clamshell object", + "compact laptop matte black screen thin rectangular clamshell object", + "MacBook optimized for typing documents", + "notebook computer for typing documents with metallic aluminum", + "notebook computer designed for running software applications", + "MacBook made from metallic aluminum", + "metallic aluminum laptop for running software applications", + "MacBook for typing documents activities", + "compact laptop thin rectangular clamshell laptop for running software applications", + "laptop with smooth plastic-like finish surface", + "portable dark gray smooth plastic-like finish laptop", + "thin rectangular clamshell MacBook used for typing documents", + "portable thin rectangular clamshell notebook computer for browsing the web", + "portable MacBook used for browsing the web", + "compact laptop metallic aluminum notebook computer for typing documents", + "hinged two-part design metallic aluminum notebook computer for running software applications" + ], + "caption": { + "color": [ + "dark gray", + "light gray", + "matte black screen" + ], + "material": [ + "metallic aluminum", + "smooth plastic-like finish" + ], + "size": [ + "compact laptop", + "portable", + "fits on lap" + ], + "name": [ + "laptop", + "MacBook", + "notebook computer" + ], + "shape": [ + "thin rectangular clamshell", + "hinged two-part design", + "slightly tapered edges" + ], + "function": [ + "typing documents", + "browsing the web", + "running software applications" + ] + } +} diff --git a/Objects/RoboDojo/Articulation/laptop/00001/metadata.json b/Objects/RoboDojo/Articulation/laptop/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..080e33b2662b08a72437a3640b2ac351a994c019 --- /dev/null +++ b/Objects/RoboDojo/Articulation/laptop/00001/metadata.json @@ -0,0 +1,278 @@ +{ + "physics": { + "mass": 0.1, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0896, + -0.0782, + 0.0 + ], + [ + -0.0896, + -0.0782, + 0.1208 + ], + [ + -0.0896, + 0.0902, + 0.0 + ], + [ + -0.0896, + 0.0902, + 0.1208 + ], + [ + 0.0897, + -0.0782, + 0.0 + ], + [ + 0.0897, + -0.0782, + 0.1208 + ], + [ + 0.0897, + 0.0902, + 0.0 + ], + [ + 0.0897, + 0.0902, + 0.1208 + ] + ], + "extents": [ + 0.1794, + 0.1684, + 0.1208 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0896, + 0.0895, + 0.1212 + ], + [ + -0.0896, + -0.0787, + 0.0032 + ], + [ + 0.0897, + 0.0895, + 0.1212 + ], + [ + 0.0897, + -0.0787, + 0.0032 + ], + [ + -0.0896, + 0.1324, + 0.06 + ], + [ + -0.0896, + -0.0358, + -0.058 + ], + [ + 0.0897, + 0.1324, + 0.06 + ], + [ + 0.0897, + -0.0358, + -0.058 + ] + ], + "extents": [ + 0.1794, + 0.2111, + 0.1792 + ] + } + }, + "active": { + "functional": { + "bottom": { + "base_link": "E_body_1", + "parent_joint": null, + "frame": [ + [ + 0.0, + 0.001, + -0.001, + 1.0, + -0.0047, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "support": {}, + "functional": { + "laptop_hinge": { + "base_link": "E_displayer_5", + "parent_joint": "RevoluteJoint_computer_9_up", + "frame": [ + [ + 0.1085, + 0.0014, + 0.0007, + 0.9871, + 0.1604, + -0.0, + -0.0 + ] + ] + } + } + }, + "description": [ + "smooth plastic-like finish laptop", + "laptop for browsing the web scenarios", + "notebook computer used to typing documents", + "metallic aluminum MacBook used for browsing the web", + "laptop for typing documents activities", + "hinged two-part design MacBook ideal for browsing the web", + "laptop with portable dimensions", + "matte black screen object used for typing documents", + "metallic aluminum thin rectangular clamshell for typing documents", + "compact laptop matte black screen metallic aluminum thin rectangular clamshell object", + "laptop commonly featuring smooth plastic-like finish", + "laptop with thin rectangular clamshell geometry", + "MacBook designed for typing documents", + "metallic aluminum hinged two-part design MacBook", + "portable hinged two-part design notebook computer for browsing the web", + "laptop primarily used for typing documents", + "dark gray object used for browsing the web", + "notebook computer for running software applications with smooth plastic-like finish", + "MacBook in hinged two-part design", + "laptop sized portable", + "smooth plastic-like finish slightly tapered edges laptop", + "MacBook built from smooth plastic-like finish", + "matte black screen laptop designed for typing documents", + "notebook computer typically made of smooth plastic-like finish", + "MacBook built from metallic aluminum", + "metallic aluminum notebook computer for browsing the web", + "laptop used to browsing the web", + "MacBook with metallic aluminum surface", + "typing documents use of laptop", + "smooth plastic-like finish hinged two-part design laptop", + "laptop with compact laptop dimensions", + "notebook computer with slightly tapered edges profile", + "portable matte black screen object for running software applications", + "fits on lap MacBook perfect for browsing the web", + "laptop in thin rectangular clamshell form", + "running software applications with laptop", + "hinged two-part design laptop ideal for running software applications", + "compact laptop hinged two-part design object", + "compact laptop matte black screen object for typing documents", + "light gray thin rectangular clamshell laptop used for running software applications", + "compact laptop object used for running software applications", + "fits on lap notebook computer used for running software applications", + "notebook computer for typing documents activities", + "dark gray smooth plastic-like finish laptop", + "smooth plastic-like finish MacBook", + "matte black screen fits on lap MacBook for typing documents", + "compact laptop slightly tapered edges object for browsing the web", + "notebook computer used to browsing the web", + "browsing the web with MacBook", + "matte black screen MacBook designed for typing documents", + "matte black screen notebook computer used for browsing the web", + "MacBook for typing documents scenarios", + "compact laptop matte black screen hinged two-part design object", + "laptop primarily used for browsing the web", + "compact laptop slightly tapered edges object", + "metallic aluminum slightly tapered edges for running software applications", + "MacBook ideal for typing documents", + "laptop for typing documents use", + "portable smooth plastic-like finish slightly tapered edges for browsing the web", + "browsing the web with notebook computer", + "light gray object used for browsing the web", + "laptop commonly found in compact laptop size", + "hinged two-part design notebook computer ideal for typing documents", + "metallic aluminum notebook computer", + "portable notebook computer perfect for typing documents", + "hinged two-part design MacBook used for running software applications", + "laptop for typing documents with smooth plastic-like finish", + "portable smooth plastic-like finish hinged two-part design for browsing the web", + "portable notebook computer for browsing the web", + "portable smooth plastic-like finish slightly tapered edges for running software applications", + "hinged two-part design MacBook ideal for running software applications", + "laptop commonly found in portable size", + "MacBook primarily used for browsing the web", + "light gray notebook computer used for running software applications", + "fits on lap hinged two-part design MacBook for typing documents", + "compact laptop smooth plastic-like finish object", + "thin rectangular clamshell MacBook for typing documents", + "laptop for typing documents scenarios", + "laptop made from smooth plastic-like finish", + "slightly tapered edges-shaped laptop", + "laptop colored matte black screen", + "dark gray laptop used for typing documents", + "laptop for running software applications tasks", + "portable dark gray object for browsing the web", + "portable matte black screen metallic aluminum thin rectangular clamshell object", + "compact laptop matte black screen thin rectangular clamshell object", + "MacBook optimized for typing documents", + "notebook computer for typing documents with metallic aluminum", + "notebook computer designed for running software applications", + "MacBook made from metallic aluminum", + "metallic aluminum laptop for running software applications", + "MacBook for typing documents activities", + "compact laptop thin rectangular clamshell laptop for running software applications", + "laptop with smooth plastic-like finish surface", + "portable dark gray smooth plastic-like finish laptop", + "thin rectangular clamshell MacBook used for typing documents", + "portable thin rectangular clamshell notebook computer for browsing the web", + "portable MacBook used for browsing the web", + "compact laptop metallic aluminum notebook computer for typing documents", + "hinged two-part design metallic aluminum notebook computer for running software applications" + ], + "caption": { + "color": [ + "dark gray", + "light gray", + "matte black screen" + ], + "material": [ + "metallic aluminum", + "smooth plastic-like finish" + ], + "size": [ + "compact laptop", + "portable", + "fits on lap" + ], + "name": [ + "laptop", + "MacBook", + "notebook computer" + ], + "shape": [ + "thin rectangular clamshell", + "hinged two-part design", + "slightly tapered edges" + ], + "function": [ + "typing documents", + "browsing the web", + "running software applications" + ] + } +} diff --git a/Objects/RoboDojo/Articulation/laptop/00002/metadata.json b/Objects/RoboDojo/Articulation/laptop/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..080e33b2662b08a72437a3640b2ac351a994c019 --- /dev/null +++ b/Objects/RoboDojo/Articulation/laptop/00002/metadata.json @@ -0,0 +1,278 @@ +{ + "physics": { + "mass": 0.1, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0896, + -0.0782, + 0.0 + ], + [ + -0.0896, + -0.0782, + 0.1208 + ], + [ + -0.0896, + 0.0902, + 0.0 + ], + [ + -0.0896, + 0.0902, + 0.1208 + ], + [ + 0.0897, + -0.0782, + 0.0 + ], + [ + 0.0897, + -0.0782, + 0.1208 + ], + [ + 0.0897, + 0.0902, + 0.0 + ], + [ + 0.0897, + 0.0902, + 0.1208 + ] + ], + "extents": [ + 0.1794, + 0.1684, + 0.1208 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0896, + 0.0895, + 0.1212 + ], + [ + -0.0896, + -0.0787, + 0.0032 + ], + [ + 0.0897, + 0.0895, + 0.1212 + ], + [ + 0.0897, + -0.0787, + 0.0032 + ], + [ + -0.0896, + 0.1324, + 0.06 + ], + [ + -0.0896, + -0.0358, + -0.058 + ], + [ + 0.0897, + 0.1324, + 0.06 + ], + [ + 0.0897, + -0.0358, + -0.058 + ] + ], + "extents": [ + 0.1794, + 0.2111, + 0.1792 + ] + } + }, + "active": { + "functional": { + "bottom": { + "base_link": "E_body_1", + "parent_joint": null, + "frame": [ + [ + 0.0, + 0.001, + -0.001, + 1.0, + -0.0047, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "support": {}, + "functional": { + "laptop_hinge": { + "base_link": "E_displayer_5", + "parent_joint": "RevoluteJoint_computer_9_up", + "frame": [ + [ + 0.1085, + 0.0014, + 0.0007, + 0.9871, + 0.1604, + -0.0, + -0.0 + ] + ] + } + } + }, + "description": [ + "smooth plastic-like finish laptop", + "laptop for browsing the web scenarios", + "notebook computer used to typing documents", + "metallic aluminum MacBook used for browsing the web", + "laptop for typing documents activities", + "hinged two-part design MacBook ideal for browsing the web", + "laptop with portable dimensions", + "matte black screen object used for typing documents", + "metallic aluminum thin rectangular clamshell for typing documents", + "compact laptop matte black screen metallic aluminum thin rectangular clamshell object", + "laptop commonly featuring smooth plastic-like finish", + "laptop with thin rectangular clamshell geometry", + "MacBook designed for typing documents", + "metallic aluminum hinged two-part design MacBook", + "portable hinged two-part design notebook computer for browsing the web", + "laptop primarily used for typing documents", + "dark gray object used for browsing the web", + "notebook computer for running software applications with smooth plastic-like finish", + "MacBook in hinged two-part design", + "laptop sized portable", + "smooth plastic-like finish slightly tapered edges laptop", + "MacBook built from smooth plastic-like finish", + "matte black screen laptop designed for typing documents", + "notebook computer typically made of smooth plastic-like finish", + "MacBook built from metallic aluminum", + "metallic aluminum notebook computer for browsing the web", + "laptop used to browsing the web", + "MacBook with metallic aluminum surface", + "typing documents use of laptop", + "smooth plastic-like finish hinged two-part design laptop", + "laptop with compact laptop dimensions", + "notebook computer with slightly tapered edges profile", + "portable matte black screen object for running software applications", + "fits on lap MacBook perfect for browsing the web", + "laptop in thin rectangular clamshell form", + "running software applications with laptop", + "hinged two-part design laptop ideal for running software applications", + "compact laptop hinged two-part design object", + "compact laptop matte black screen object for typing documents", + "light gray thin rectangular clamshell laptop used for running software applications", + "compact laptop object used for running software applications", + "fits on lap notebook computer used for running software applications", + "notebook computer for typing documents activities", + "dark gray smooth plastic-like finish laptop", + "smooth plastic-like finish MacBook", + "matte black screen fits on lap MacBook for typing documents", + "compact laptop slightly tapered edges object for browsing the web", + "notebook computer used to browsing the web", + "browsing the web with MacBook", + "matte black screen MacBook designed for typing documents", + "matte black screen notebook computer used for browsing the web", + "MacBook for typing documents scenarios", + "compact laptop matte black screen hinged two-part design object", + "laptop primarily used for browsing the web", + "compact laptop slightly tapered edges object", + "metallic aluminum slightly tapered edges for running software applications", + "MacBook ideal for typing documents", + "laptop for typing documents use", + "portable smooth plastic-like finish slightly tapered edges for browsing the web", + "browsing the web with notebook computer", + "light gray object used for browsing the web", + "laptop commonly found in compact laptop size", + "hinged two-part design notebook computer ideal for typing documents", + "metallic aluminum notebook computer", + "portable notebook computer perfect for typing documents", + "hinged two-part design MacBook used for running software applications", + "laptop for typing documents with smooth plastic-like finish", + "portable smooth plastic-like finish hinged two-part design for browsing the web", + "portable notebook computer for browsing the web", + "portable smooth plastic-like finish slightly tapered edges for running software applications", + "hinged two-part design MacBook ideal for running software applications", + "laptop commonly found in portable size", + "MacBook primarily used for browsing the web", + "light gray notebook computer used for running software applications", + "fits on lap hinged two-part design MacBook for typing documents", + "compact laptop smooth plastic-like finish object", + "thin rectangular clamshell MacBook for typing documents", + "laptop for typing documents scenarios", + "laptop made from smooth plastic-like finish", + "slightly tapered edges-shaped laptop", + "laptop colored matte black screen", + "dark gray laptop used for typing documents", + "laptop for running software applications tasks", + "portable dark gray object for browsing the web", + "portable matte black screen metallic aluminum thin rectangular clamshell object", + "compact laptop matte black screen thin rectangular clamshell object", + "MacBook optimized for typing documents", + "notebook computer for typing documents with metallic aluminum", + "notebook computer designed for running software applications", + "MacBook made from metallic aluminum", + "metallic aluminum laptop for running software applications", + "MacBook for typing documents activities", + "compact laptop thin rectangular clamshell laptop for running software applications", + "laptop with smooth plastic-like finish surface", + "portable dark gray smooth plastic-like finish laptop", + "thin rectangular clamshell MacBook used for typing documents", + "portable thin rectangular clamshell notebook computer for browsing the web", + "portable MacBook used for browsing the web", + "compact laptop metallic aluminum notebook computer for typing documents", + "hinged two-part design metallic aluminum notebook computer for running software applications" + ], + "caption": { + "color": [ + "dark gray", + "light gray", + "matte black screen" + ], + "material": [ + "metallic aluminum", + "smooth plastic-like finish" + ], + "size": [ + "compact laptop", + "portable", + "fits on lap" + ], + "name": [ + "laptop", + "MacBook", + "notebook computer" + ], + "shape": [ + "thin rectangular clamshell", + "hinged two-part design", + "slightly tapered edges" + ], + "function": [ + "typing documents", + "browsing the web", + "running software applications" + ] + } +} diff --git a/Objects/RoboDojo/Articulation/laptop/00003/metadata.json b/Objects/RoboDojo/Articulation/laptop/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..080e33b2662b08a72437a3640b2ac351a994c019 --- /dev/null +++ b/Objects/RoboDojo/Articulation/laptop/00003/metadata.json @@ -0,0 +1,278 @@ +{ + "physics": { + "mass": 0.1, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0896, + -0.0782, + 0.0 + ], + [ + -0.0896, + -0.0782, + 0.1208 + ], + [ + -0.0896, + 0.0902, + 0.0 + ], + [ + -0.0896, + 0.0902, + 0.1208 + ], + [ + 0.0897, + -0.0782, + 0.0 + ], + [ + 0.0897, + -0.0782, + 0.1208 + ], + [ + 0.0897, + 0.0902, + 0.0 + ], + [ + 0.0897, + 0.0902, + 0.1208 + ] + ], + "extents": [ + 0.1794, + 0.1684, + 0.1208 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0896, + 0.0895, + 0.1212 + ], + [ + -0.0896, + -0.0787, + 0.0032 + ], + [ + 0.0897, + 0.0895, + 0.1212 + ], + [ + 0.0897, + -0.0787, + 0.0032 + ], + [ + -0.0896, + 0.1324, + 0.06 + ], + [ + -0.0896, + -0.0358, + -0.058 + ], + [ + 0.0897, + 0.1324, + 0.06 + ], + [ + 0.0897, + -0.0358, + -0.058 + ] + ], + "extents": [ + 0.1794, + 0.2111, + 0.1792 + ] + } + }, + "active": { + "functional": { + "bottom": { + "base_link": "E_body_1", + "parent_joint": null, + "frame": [ + [ + 0.0, + 0.001, + -0.001, + 1.0, + -0.0047, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "support": {}, + "functional": { + "laptop_hinge": { + "base_link": "E_displayer_5", + "parent_joint": "RevoluteJoint_computer_9_up", + "frame": [ + [ + 0.1085, + 0.0014, + 0.0007, + 0.9871, + 0.1604, + -0.0, + -0.0 + ] + ] + } + } + }, + "description": [ + "smooth plastic-like finish laptop", + "laptop for browsing the web scenarios", + "notebook computer used to typing documents", + "metallic aluminum MacBook used for browsing the web", + "laptop for typing documents activities", + "hinged two-part design MacBook ideal for browsing the web", + "laptop with portable dimensions", + "matte black screen object used for typing documents", + "metallic aluminum thin rectangular clamshell for typing documents", + "compact laptop matte black screen metallic aluminum thin rectangular clamshell object", + "laptop commonly featuring smooth plastic-like finish", + "laptop with thin rectangular clamshell geometry", + "MacBook designed for typing documents", + "metallic aluminum hinged two-part design MacBook", + "portable hinged two-part design notebook computer for browsing the web", + "laptop primarily used for typing documents", + "dark gray object used for browsing the web", + "notebook computer for running software applications with smooth plastic-like finish", + "MacBook in hinged two-part design", + "laptop sized portable", + "smooth plastic-like finish slightly tapered edges laptop", + "MacBook built from smooth plastic-like finish", + "matte black screen laptop designed for typing documents", + "notebook computer typically made of smooth plastic-like finish", + "MacBook built from metallic aluminum", + "metallic aluminum notebook computer for browsing the web", + "laptop used to browsing the web", + "MacBook with metallic aluminum surface", + "typing documents use of laptop", + "smooth plastic-like finish hinged two-part design laptop", + "laptop with compact laptop dimensions", + "notebook computer with slightly tapered edges profile", + "portable matte black screen object for running software applications", + "fits on lap MacBook perfect for browsing the web", + "laptop in thin rectangular clamshell form", + "running software applications with laptop", + "hinged two-part design laptop ideal for running software applications", + "compact laptop hinged two-part design object", + "compact laptop matte black screen object for typing documents", + "light gray thin rectangular clamshell laptop used for running software applications", + "compact laptop object used for running software applications", + "fits on lap notebook computer used for running software applications", + "notebook computer for typing documents activities", + "dark gray smooth plastic-like finish laptop", + "smooth plastic-like finish MacBook", + "matte black screen fits on lap MacBook for typing documents", + "compact laptop slightly tapered edges object for browsing the web", + "notebook computer used to browsing the web", + "browsing the web with MacBook", + "matte black screen MacBook designed for typing documents", + "matte black screen notebook computer used for browsing the web", + "MacBook for typing documents scenarios", + "compact laptop matte black screen hinged two-part design object", + "laptop primarily used for browsing the web", + "compact laptop slightly tapered edges object", + "metallic aluminum slightly tapered edges for running software applications", + "MacBook ideal for typing documents", + "laptop for typing documents use", + "portable smooth plastic-like finish slightly tapered edges for browsing the web", + "browsing the web with notebook computer", + "light gray object used for browsing the web", + "laptop commonly found in compact laptop size", + "hinged two-part design notebook computer ideal for typing documents", + "metallic aluminum notebook computer", + "portable notebook computer perfect for typing documents", + "hinged two-part design MacBook used for running software applications", + "laptop for typing documents with smooth plastic-like finish", + "portable smooth plastic-like finish hinged two-part design for browsing the web", + "portable notebook computer for browsing the web", + "portable smooth plastic-like finish slightly tapered edges for running software applications", + "hinged two-part design MacBook ideal for running software applications", + "laptop commonly found in portable size", + "MacBook primarily used for browsing the web", + "light gray notebook computer used for running software applications", + "fits on lap hinged two-part design MacBook for typing documents", + "compact laptop smooth plastic-like finish object", + "thin rectangular clamshell MacBook for typing documents", + "laptop for typing documents scenarios", + "laptop made from smooth plastic-like finish", + "slightly tapered edges-shaped laptop", + "laptop colored matte black screen", + "dark gray laptop used for typing documents", + "laptop for running software applications tasks", + "portable dark gray object for browsing the web", + "portable matte black screen metallic aluminum thin rectangular clamshell object", + "compact laptop matte black screen thin rectangular clamshell object", + "MacBook optimized for typing documents", + "notebook computer for typing documents with metallic aluminum", + "notebook computer designed for running software applications", + "MacBook made from metallic aluminum", + "metallic aluminum laptop for running software applications", + "MacBook for typing documents activities", + "compact laptop thin rectangular clamshell laptop for running software applications", + "laptop with smooth plastic-like finish surface", + "portable dark gray smooth plastic-like finish laptop", + "thin rectangular clamshell MacBook used for typing documents", + "portable thin rectangular clamshell notebook computer for browsing the web", + "portable MacBook used for browsing the web", + "compact laptop metallic aluminum notebook computer for typing documents", + "hinged two-part design metallic aluminum notebook computer for running software applications" + ], + "caption": { + "color": [ + "dark gray", + "light gray", + "matte black screen" + ], + "material": [ + "metallic aluminum", + "smooth plastic-like finish" + ], + "size": [ + "compact laptop", + "portable", + "fits on lap" + ], + "name": [ + "laptop", + "MacBook", + "notebook computer" + ], + "shape": [ + "thin rectangular clamshell", + "hinged two-part design", + "slightly tapered edges" + ], + "function": [ + "typing documents", + "browsing the web", + "running software applications" + ] + } +} diff --git a/Objects/RoboDojo/Articulation/toaster/00000/metadata.json b/Objects/RoboDojo/Articulation/toaster/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..79f88819ed5f2fd3d27558b209da0da3a249cb9c --- /dev/null +++ b/Objects/RoboDojo/Articulation/toaster/00000/metadata.json @@ -0,0 +1,225 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1115, + -0.0783, + -0.0817 + ], + [ + -0.1115, + -0.0783, + 0.0802 + ], + [ + -0.1115, + 0.0772, + -0.0817 + ], + [ + -0.1115, + 0.0772, + 0.0802 + ], + [ + 0.1152, + -0.0783, + -0.0817 + ], + [ + 0.1152, + -0.0783, + 0.0802 + ], + [ + 0.1152, + 0.0772, + -0.0817 + ], + [ + 0.1152, + 0.0772, + 0.0802 + ] + ], + "extents": [ + 0.2267, + 0.1554, + 0.1619 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.1152, + 0.0772, + -0.0817 + ], + [ + -0.1115, + 0.0772, + -0.0817 + ], + [ + 0.1152, + 0.0772, + 0.0802 + ], + [ + -0.1115, + 0.0772, + 0.0802 + ], + [ + 0.1152, + -0.0783, + -0.0817 + ], + [ + -0.1115, + -0.0783, + -0.0817 + ], + [ + 0.1152, + -0.0783, + 0.0802 + ], + [ + -0.1115, + -0.0783, + 0.0802 + ] + ], + "extents": [ + 0.2267, + 0.1554, + 0.1619 + ] + } + }, + "active": { + "functional": { + "toast_botton": { + "base_link": "link_1", + "parent_joint": "joint_1", + "frame": [ + [ + 0.0020000000000000018, + 0.004, + -0.001, + 0.9999999999999998, + 3.861896773934189e-17, + 2.220446049250313e-16, + 5.551115123125783e-17 + ] + ] + } + } + }, + "passive": { + "support": {}, + "functional": { + "toast_botton": { + "base_link": "link_1", + "parent_joint": "joint_1", + "frame": [ + [ + 0.0020000000000000018, + 0.004, + -0.001, + 0.9999999999999998, + 3.861896773934189e-17, + 2.220446049250313e-16, + 5.551115123125783e-17 + ] + ] + }, + "toast_slot1": { + "base_link": "base", + "parent_joint": "FixedJoint", + "frame": [ + [ + -0.078, + -0.041, + -0.051, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.078, + -0.011, + -0.051, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.072, + -0.041, + -0.051, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.072, + -0.011, + -0.051, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "toast_slot2": { + "base_link": "base", + "parent_joint": "FixedJoint", + "frame": [ + [ + -0.078, + 0.014, + -0.051, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.078, + 0.039, + -0.051, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.072, + 0.014, + -0.051, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.072, + 0.039, + -0.051, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Articulation/toaster/00001/metadata.json b/Objects/RoboDojo/Articulation/toaster/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..550039e04d55a68bb41e4deb0bb2cca83bcb1655 --- /dev/null +++ b/Objects/RoboDojo/Articulation/toaster/00001/metadata.json @@ -0,0 +1,225 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1108, + -0.0706, + -0.0759 + ], + [ + -0.1108, + -0.0706, + 0.0751 + ], + [ + -0.1108, + 0.0691, + -0.0759 + ], + [ + -0.1108, + 0.0691, + 0.0751 + ], + [ + 0.1384, + -0.0706, + -0.0759 + ], + [ + 0.1384, + -0.0706, + 0.0751 + ], + [ + 0.1384, + 0.0691, + -0.0759 + ], + [ + 0.1384, + 0.0691, + 0.0751 + ] + ], + "extents": [ + 0.2491, + 0.1397, + 0.151 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.1384, + 0.0691, + -0.0759 + ], + [ + -0.1108, + 0.0691, + -0.0759 + ], + [ + 0.1384, + 0.0691, + 0.0751 + ], + [ + -0.1108, + 0.0691, + 0.0751 + ], + [ + 0.1384, + -0.0706, + -0.0759 + ], + [ + -0.1108, + -0.0706, + -0.0759 + ], + [ + 0.1384, + -0.0706, + 0.0751 + ], + [ + -0.1108, + -0.0706, + 0.0751 + ] + ], + "extents": [ + 0.2491, + 0.1397, + 0.151 + ] + } + }, + "active": { + "functional": { + "toast_botton": { + "base_link": "link_1", + "parent_joint": "joint_1", + "frame": [ + [ + 0.01379243853905509, + -0.0007342718804670967, + -0.00035985811725217104, + 1.0, + 9.71445212721461e-17, + -7.771561172376096e-16, + 2.1677919666199236e-16 + ] + ] + } + } + }, + "passive": { + "support": {}, + "functional": { + "toast_botton": { + "base_link": "link_1", + "parent_joint": "joint_1", + "frame": [ + [ + 0.01379243853905509, + -0.0007342718804670967, + -0.00035985811725217104, + 1.0, + 9.71445212721461e-17, + -7.771561172376096e-16, + 2.1677919666199236e-16 + ] + ] + }, + "toast_slot1": { + "base_link": "base", + "parent_joint": "FixedJoint", + "frame": [ + [ + -0.061, + -0.051, + -0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.061, + -0.006, + -0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.064, + -0.051, + -0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.064, + -0.006, + -0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "toast_slot2": { + "base_link": "base", + "parent_joint": "FixedJoint", + "frame": [ + [ + -0.061, + 0.004, + -0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.061, + 0.049, + -0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.064, + 0.004, + -0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.064, + 0.049, + -0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Articulation/toaster/00002/metadata.json b/Objects/RoboDojo/Articulation/toaster/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..4109170198c503fc24dec164440c82303c6d7672 --- /dev/null +++ b/Objects/RoboDojo/Articulation/toaster/00002/metadata.json @@ -0,0 +1,225 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1271, + -0.0828, + -0.0946 + ], + [ + -0.1271, + -0.0828, + 0.0811 + ], + [ + -0.1271, + 0.0787, + -0.0946 + ], + [ + -0.1271, + 0.0787, + 0.0811 + ], + [ + 0.143, + -0.0828, + -0.0946 + ], + [ + 0.143, + -0.0828, + 0.0811 + ], + [ + 0.143, + 0.0787, + -0.0946 + ], + [ + 0.143, + 0.0787, + 0.0811 + ] + ], + "extents": [ + 0.2701, + 0.1615, + 0.1758 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.1271, + -0.0828, + -0.0946 + ], + [ + 0.143, + -0.0828, + -0.0946 + ], + [ + -0.1271, + -0.0828, + 0.0811 + ], + [ + 0.143, + -0.0828, + 0.0811 + ], + [ + -0.1271, + 0.0787, + -0.0946 + ], + [ + 0.143, + 0.0787, + -0.0946 + ], + [ + -0.1271, + 0.0787, + 0.0811 + ], + [ + 0.143, + 0.0787, + 0.0811 + ] + ], + "extents": [ + 0.2701, + 0.1615, + 0.1758 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "base_link": "base", + "parent_joint": "FixedJoint", + "frame": [ + [ + -0.077, + 0.003, + -0.059, + 1.0, + 0.0, + 0.0, + -2.2204460492503123e-16 + ] + ] + } + } + }, + "passive": { + "support": {}, + "functional": { + "toast_botton": { + "base_link": "link_1", + "parent_joint": "joint_1", + "frame": [ + [ + 0.007962830743919513, + -0.0020064360457285185, + -0.006769771700523646, + 1.0, + 1.3627231491549696e-17, + 1.1102230246251565e-16, + -2.220446049250313e-16 + ] + ] + }, + "toast_slot1": { + "base_link": "base", + "parent_joint": "FixedJoint", + "frame": [ + [ + 0.069, + -0.007, + -0.055, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.069, + -0.047, + -0.055, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.075, + -0.047, + -0.06, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.075, + -0.007, + -0.06, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "toast_slot2": { + "base_link": "base", + "parent_joint": "FixedJoint", + "frame": [ + [ + 0.02999999999999999, + -0.026000000000000002, + 0.07899999999999997, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.079, + 0.043, + -0.07, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.06, + 0.006, + -0.055, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.064, + 0.043, + -0.065, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Articulation/toaster/00004/metadata.json b/Objects/RoboDojo/Articulation/toaster/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..f2aa8c8e1b5fee2eecb7c5e47f2305620fbee504 --- /dev/null +++ b/Objects/RoboDojo/Articulation/toaster/00004/metadata.json @@ -0,0 +1,209 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1204, + -0.0625, + -0.0858 + ], + [ + -0.1204, + -0.0625, + 0.0786 + ], + [ + -0.1204, + 0.0624, + -0.0858 + ], + [ + -0.1204, + 0.0624, + 0.0786 + ], + [ + 0.1263, + -0.0625, + -0.0858 + ], + [ + 0.1263, + -0.0625, + 0.0786 + ], + [ + 0.1263, + 0.0624, + -0.0858 + ], + [ + 0.1263, + 0.0624, + 0.0786 + ] + ], + "extents": [ + 0.2467, + 0.1249, + 0.1644 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.1204, + 0.0624, + 0.0786 + ], + [ + 0.1263, + 0.0624, + 0.0786 + ], + [ + -0.1204, + 0.0624, + -0.0858 + ], + [ + 0.1263, + 0.0624, + -0.0858 + ], + [ + -0.1204, + -0.0625, + 0.0786 + ], + [ + 0.1263, + -0.0625, + 0.0786 + ], + [ + -0.1204, + -0.0625, + -0.0858 + ], + [ + 0.1263, + -0.0625, + -0.0858 + ] + ], + "extents": [ + 0.2467, + 0.1249, + 0.1644 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "support": {}, + "functional": { + "toast_botton": { + "base_link": "link_0", + "parent_joint": "joint_0", + "frame": [ + [ + 0.002961243898313057, + -2.2478066992600524e-05, + -0.003035096974992532, + 0.9999999999999952, + 2.9802301002025618e-08, + -2.9802305956394548e-08, + -8.940694622150414e-08 + ] + ] + }, + "toast_slot1": { + "base_link": "base", + "parent_joint": "FixedJoint", + "frame": [ + [ + 0.07, + 0.012, + -0.033, + 0.49999999999999994, + -0.4999999999999998, + 0.4999999999999998, + 0.5000000000000003 + ], + [ + -0.091, + 0.047, + -0.033, + 0.49999999999999994, + -0.4999999999999998, + 0.4999999999999998, + 0.5000000000000003 + ], + [ + 0.07, + -0.041, + -0.033, + 0.49999999999999994, + -0.4999999999999998, + 0.4999999999999998, + 0.5000000000000003 + ], + [ + -0.084, + -0.046, + -0.033, + 0.49999999999999994, + -0.4999999999999998, + 0.4999999999999998, + 0.5000000000000003 + ] + ] + }, + "toast_slot2": { + "base_link": "base", + "parent_joint": "FixedJoint", + "frame": [ + [ + -0.09, + -0.011, + -0.033, + 0.49999999999999994, + -0.4999999999999998, + 0.4999999999999998, + 0.5000000000000003 + ], + [ + 0.07, + -0.011, + -0.033, + 0.49999999999999994, + -0.4999999999999998, + 0.4999999999999998, + 0.5000000000000003 + ], + [ + 0.07, + 0.041, + -0.033, + 0.49999999999999994, + -0.4999999999999998, + 0.4999999999999998, + 0.5000000000000003 + ], + [ + -0.09, + 0.012, + -0.033, + 0.49999999999999994, + -0.4999999999999998, + 0.4999999999999998, + 0.5000000000000003 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Dynamic/conveyor/00000/metadata.json b/Objects/RoboDojo/Dynamic/conveyor/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..098a02b1be369509a8e5e6ccfbad959afe7b0c2e --- /dev/null +++ b/Objects/RoboDojo/Dynamic/conveyor/00000/metadata.json @@ -0,0 +1,175 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -3.9629, + -0.6013, + 0.0 + ], + [ + -3.9629, + -0.6013, + 0.9244 + ], + [ + -3.9629, + 0.5755, + 0.0 + ], + [ + -3.9629, + 0.5755, + 0.9244 + ], + [ + 0.0, + -0.6013, + 0.0 + ], + [ + 0.0, + -0.6013, + 0.9244 + ], + [ + 0.0, + 0.5755, + 0.0 + ], + [ + 0.0, + 0.5755, + 0.9244 + ] + ], + "extents": [ + 3.9629, + 1.1768, + 0.9244 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -3.9629, + -0.6013, + 0.9244 + ], + [ + 0.0, + -0.6013, + 0.9244 + ], + [ + -3.9629, + 0.5755, + 0.9244 + ], + [ + 0.0, + 0.5755, + 0.9244 + ], + [ + -3.9629, + -0.6013, + -0.0 + ], + [ + 0.0, + -0.6013, + 0.0 + ], + [ + -3.9629, + 0.5755, + -0.0 + ], + [ + 0.0, + 0.5755, + 0.0 + ] + ], + "extents": [ + 3.9629, + 1.1768, + 0.9244 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "size": [ + 3.6012, + 1.1764, + 0.924 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "conveyor/0": { + "center": [ + [ + -0.445, + 0.003, + 0.718, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + -3.123, + 0.003, + 0.718, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + -2.234, + 0.003, + 0.718, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + -1.334, + 0.003, + 0.718, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + -0.885, + 0.337, + 0.712, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.44, + 0.44, + 0.44, + 0.44, + 0.1 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Dynamic/conveyor/00001/metadata.json b/Objects/RoboDojo/Dynamic/conveyor/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..098a02b1be369509a8e5e6ccfbad959afe7b0c2e --- /dev/null +++ b/Objects/RoboDojo/Dynamic/conveyor/00001/metadata.json @@ -0,0 +1,175 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -3.9629, + -0.6013, + 0.0 + ], + [ + -3.9629, + -0.6013, + 0.9244 + ], + [ + -3.9629, + 0.5755, + 0.0 + ], + [ + -3.9629, + 0.5755, + 0.9244 + ], + [ + 0.0, + -0.6013, + 0.0 + ], + [ + 0.0, + -0.6013, + 0.9244 + ], + [ + 0.0, + 0.5755, + 0.0 + ], + [ + 0.0, + 0.5755, + 0.9244 + ] + ], + "extents": [ + 3.9629, + 1.1768, + 0.9244 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -3.9629, + -0.6013, + 0.9244 + ], + [ + 0.0, + -0.6013, + 0.9244 + ], + [ + -3.9629, + 0.5755, + 0.9244 + ], + [ + 0.0, + 0.5755, + 0.9244 + ], + [ + -3.9629, + -0.6013, + -0.0 + ], + [ + 0.0, + -0.6013, + 0.0 + ], + [ + -3.9629, + 0.5755, + -0.0 + ], + [ + 0.0, + 0.5755, + 0.0 + ] + ], + "extents": [ + 3.9629, + 1.1768, + 0.9244 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "size": [ + 3.6012, + 1.1764, + 0.924 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "conveyor/0": { + "center": [ + [ + -0.445, + 0.003, + 0.718, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + -3.123, + 0.003, + 0.718, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + -2.234, + 0.003, + 0.718, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + -1.334, + 0.003, + 0.718, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + -0.885, + 0.337, + 0.712, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.44, + 0.44, + 0.44, + 0.44, + 0.1 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Fluid/wuliangye/00000/metadata.json b/Objects/RoboDojo/Fluid/wuliangye/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed383814dce34f253c243ade82d8687d7cba1c45 --- /dev/null +++ b/Objects/RoboDojo/Fluid/wuliangye/00000/metadata.json @@ -0,0 +1,143 @@ +{ + "uuid": "12d695f8-d81d-4bba-84c2-3116ac7f6dd1", + "geometry": { + "faces": 1280, + "vertices": 642, + "aligned_bbox": { + "vertices": [ + [ + -0.03, + -0.03, + -0.035 + ], + [ + -0.03, + -0.03, + 0.035 + ], + [ + -0.03, + 0.03, + -0.035 + ], + [ + -0.03, + 0.03, + 0.035 + ], + [ + 0.03, + -0.03, + -0.035 + ], + [ + 0.03, + -0.03, + 0.035 + ], + [ + 0.03, + 0.03, + -0.035 + ], + [ + 0.03, + 0.03, + 0.035 + ] + ], + "extents": [ + 0.06, + 0.06, + 0.07 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0372, + 0.0199, + -0.035 + ], + [ + -0.0372, + 0.0199, + 0.035 + ], + [ + 0.0199, + 0.0372, + -0.035 + ], + [ + 0.0199, + 0.0372, + 0.035 + ], + [ + -0.0199, + -0.0372, + -0.035 + ], + [ + -0.0199, + -0.0372, + 0.035 + ], + [ + 0.0372, + -0.0199, + -0.035 + ], + [ + 0.0372, + -0.0199, + 0.035 + ] + ], + "extents": [ + 0.0745, + 0.0745, + 0.07 + ] + }, + "radius": 0.0461 + }, + "visual": { + "visible": true, + "visual_mdl_path": "$Luminis_ASSETS/Material/Fluid/Linen_Blue.mdl", + "scale": [0.9, 0.9, 1] + }, + "physics": { + "type": "fluid", + "particle_system": { + "particle_contact_offset": 0.0025, + "contact_offset": 0.0025, + "rest_offset": 0.002, + "fluid_rest_offset": 0.0015, + "solid_rest_offset": 0.0015, + "max_velocity": 2, + "smoothing": false, + "anisotropy": false, + "isosurface": true + }, + "particle_material": { + "adhesion": null, + "adhesion_offset_scale": null, + "cohesion": 0.005, + "particle_adhesion_scale": null, + "particle_friction_scale": null, + "drag": null, + "lift": null, + "friction": 0.1, + "damping": 0.99, + "gravity_scale": 1.0, + "viscosity": 0.0091, + "vorticity_confinement": null, + "surface_tension": 0.0074, + "density": null, + "cfl_coefficient": null + }, + "interaction_with_object": true + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Fluid/wuliangye/00000/object.usdz b/Objects/RoboDojo/Fluid/wuliangye/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..d297296cbeb6787fb2581e4b71bc9c9042c029ae Binary files /dev/null and b/Objects/RoboDojo/Fluid/wuliangye/00000/object.usdz differ diff --git a/Objects/RoboDojo/Fluid/wuliangye/00000/object_raw.usdz b/Objects/RoboDojo/Fluid/wuliangye/00000/object_raw.usdz new file mode 100644 index 0000000000000000000000000000000000000000..df106c3ec9359aba33932fdd66d6ca0b31fb9531 Binary files /dev/null and b/Objects/RoboDojo/Fluid/wuliangye/00000/object_raw.usdz differ diff --git a/Objects/RoboDojo/Fluid/wuliangye/00001/metadata.json b/Objects/RoboDojo/Fluid/wuliangye/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..a2ee4b7ef24ce5f05aca493ae7e0961e717e6027 --- /dev/null +++ b/Objects/RoboDojo/Fluid/wuliangye/00001/metadata.json @@ -0,0 +1,143 @@ +{ + "uuid": "12d695f8-d81d-4bba-84c2-3116ac7f6dd1", + "geometry": { + "faces": 1280, + "vertices": 642, + "aligned_bbox": { + "vertices": [ + [ + -0.018, + -0.018, + -0.0245 + ], + [ + -0.018, + -0.018, + 0.0245 + ], + [ + -0.018, + 0.018, + -0.0245 + ], + [ + -0.018, + 0.018, + 0.0245 + ], + [ + 0.018, + -0.018, + -0.0245 + ], + [ + 0.018, + -0.018, + 0.0245 + ], + [ + 0.018, + 0.018, + -0.0245 + ], + [ + 0.018, + 0.018, + 0.0245 + ] + ], + "extents": [ + 0.036, + 0.036, + 0.049 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0223, + 0.0119, + -0.0245 + ], + [ + -0.0223, + 0.0119, + 0.0245 + ], + [ + 0.0119, + 0.0223, + -0.0245 + ], + [ + 0.0119, + 0.0223, + 0.0245 + ], + [ + -0.0119, + -0.0223, + -0.0245 + ], + [ + -0.0119, + -0.0223, + 0.0245 + ], + [ + 0.0223, + -0.0119, + -0.0245 + ], + [ + 0.0223, + -0.0119, + 0.0245 + ] + ], + "extents": [ + 0.0447, + 0.0447, + 0.049 + ] + }, + "radius": 0.0304 + }, + "visual": { + "visible": true, + "visual_mdl_path": "$Luminis_ASSETS/Material/Fluid/Linen_Blue.mdl", + "scale": [1, 1, 1] + }, + "physics": { + "type": "fluid", + "particle_system": { + "particle_contact_offset": 0.0025, + "contact_offset": 0.0025, + "rest_offset": 0.002, + "fluid_rest_offset": 0.0015, + "solid_rest_offset": 0.0015, + "max_velocity": 2, + "smoothing": false, + "anisotropy": false, + "isosurface": true + }, + "particle_material": { + "adhesion": null, + "adhesion_offset_scale": null, + "cohesion": 0.005, + "particle_adhesion_scale": null, + "particle_friction_scale": null, + "drag": null, + "lift": null, + "friction": 0.1, + "damping": 0.99, + "gravity_scale": 1.0, + "viscosity": 0.0091, + "vorticity_confinement": null, + "surface_tension": 0.0074, + "density": null, + "cfl_coefficient": null + }, + "interaction_with_object": true + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Fluid/wuliangye/00001/object.usdz b/Objects/RoboDojo/Fluid/wuliangye/00001/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..2b791e25ff88afdd657ef4c02fcf5f65ec3db8e5 Binary files /dev/null and b/Objects/RoboDojo/Fluid/wuliangye/00001/object.usdz differ diff --git a/Objects/RoboDojo/Fluid/wuliangye/00002/metadata.json b/Objects/RoboDojo/Fluid/wuliangye/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..567df7b52cb78d2bc16ccf8714bc46052452bdb5 --- /dev/null +++ b/Objects/RoboDojo/Fluid/wuliangye/00002/metadata.json @@ -0,0 +1,143 @@ +{ + "uuid": "12d695f8-d81d-4bba-84c2-3116ac7f6dd1", + "geometry": { + "faces": 1280, + "vertices": 642, + "aligned_bbox": { + "vertices": [ + [ + -0.018, + -0.018, + -0.0245 + ], + [ + -0.018, + -0.018, + 0.0245 + ], + [ + -0.018, + 0.018, + -0.0245 + ], + [ + -0.018, + 0.018, + 0.0245 + ], + [ + 0.018, + -0.018, + -0.0245 + ], + [ + 0.018, + -0.018, + 0.0245 + ], + [ + 0.018, + 0.018, + -0.0245 + ], + [ + 0.018, + 0.018, + 0.0245 + ] + ], + "extents": [ + 0.036, + 0.036, + 0.049 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0223, + 0.0119, + -0.0245 + ], + [ + -0.0223, + 0.0119, + 0.0245 + ], + [ + 0.0119, + 0.0223, + -0.0245 + ], + [ + 0.0119, + 0.0223, + 0.0245 + ], + [ + -0.0119, + -0.0223, + -0.0245 + ], + [ + -0.0119, + -0.0223, + 0.0245 + ], + [ + 0.0223, + -0.0119, + -0.0245 + ], + [ + 0.0223, + -0.0119, + 0.0245 + ] + ], + "extents": [ + 0.0447, + 0.0447, + 0.049 + ] + }, + "radius": 0.0304 + }, + "visual": { + "visible": true, + "visual_mdl_path": "$Luminis_ASSETS/Material/Fluid/Linen_Yellow.mdl", + "scale": [1, 1, 1] + }, + "physics": { + "type": "fluid", + "particle_system": { + "particle_contact_offset": 0.0025, + "contact_offset": 0.0025, + "rest_offset": 0.002, + "fluid_rest_offset": 0.0015, + "solid_rest_offset": 0.0015, + "max_velocity": 2, + "smoothing": false, + "anisotropy": false, + "isosurface": true + }, + "particle_material": { + "adhesion": null, + "adhesion_offset_scale": null, + "cohesion": 0.005, + "particle_adhesion_scale": null, + "particle_friction_scale": null, + "drag": null, + "lift": null, + "friction": 0.1, + "damping": 0.99, + "gravity_scale": 1.0, + "viscosity": 0.0091, + "vorticity_confinement": null, + "surface_tension": 0.0074, + "density": null, + "cfl_coefficient": null + }, + "interaction_with_object": true + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Fluid/wuliangye/00002/object.usdz b/Objects/RoboDojo/Fluid/wuliangye/00002/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..2b791e25ff88afdd657ef4c02fcf5f65ec3db8e5 Binary files /dev/null and b/Objects/RoboDojo/Fluid/wuliangye/00002/object.usdz differ diff --git a/Objects/RoboDojo/Fluid/wuliangye/00003/metadata.json b/Objects/RoboDojo/Fluid/wuliangye/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..683736eaa60cbcf0776e6f028a94654163564f69 --- /dev/null +++ b/Objects/RoboDojo/Fluid/wuliangye/00003/metadata.json @@ -0,0 +1,143 @@ +{ + "uuid": "12d695f8-d81d-4bba-84c2-3116ac7f6dd1", + "geometry": { + "faces": 1280, + "vertices": 642, + "aligned_bbox": { + "vertices": [ + [ + -0.018, + -0.018, + -0.0245 + ], + [ + -0.018, + -0.018, + 0.0245 + ], + [ + -0.018, + 0.018, + -0.0245 + ], + [ + -0.018, + 0.018, + 0.0245 + ], + [ + 0.018, + -0.018, + -0.0245 + ], + [ + 0.018, + -0.018, + 0.0245 + ], + [ + 0.018, + 0.018, + -0.0245 + ], + [ + 0.018, + 0.018, + 0.0245 + ] + ], + "extents": [ + 0.036, + 0.036, + 0.049 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0223, + 0.0119, + -0.0245 + ], + [ + -0.0223, + 0.0119, + 0.0245 + ], + [ + 0.0119, + 0.0223, + -0.0245 + ], + [ + 0.0119, + 0.0223, + 0.0245 + ], + [ + -0.0119, + -0.0223, + -0.0245 + ], + [ + -0.0119, + -0.0223, + 0.0245 + ], + [ + 0.0223, + -0.0119, + -0.0245 + ], + [ + 0.0223, + -0.0119, + 0.0245 + ] + ], + "extents": [ + 0.0447, + 0.0447, + 0.049 + ] + }, + "radius": 0.0304 + }, + "visual": { + "visible": true, + "visual_mdl_path": "$Luminis_ASSETS/Material/Fluid/Linen_Red.mdl", + "scale": [1, 1, 1] + }, + "physics": { + "type": "fluid", + "particle_system": { + "particle_contact_offset": 0.0025, + "contact_offset": 0.0025, + "rest_offset": 0.002, + "fluid_rest_offset": 0.0015, + "solid_rest_offset": 0.0015, + "max_velocity": 2, + "smoothing": false, + "anisotropy": false, + "isosurface": true + }, + "particle_material": { + "adhesion": null, + "adhesion_offset_scale": null, + "cohesion": 0.005, + "particle_adhesion_scale": null, + "particle_friction_scale": null, + "drag": null, + "lift": null, + "friction": 0.1, + "damping": 0.99, + "gravity_scale": 1.0, + "viscosity": 0.0091, + "vorticity_confinement": null, + "surface_tension": 0.0074, + "density": null, + "cfl_coefficient": null + }, + "interaction_with_object": true + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Fluid/wuliangye/00003/object.usdz b/Objects/RoboDojo/Fluid/wuliangye/00003/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..2b791e25ff88afdd657ef4c02fcf5f65ec3db8e5 Binary files /dev/null and b/Objects/RoboDojo/Fluid/wuliangye/00003/object.usdz differ diff --git a/Objects/RoboDojo/Garment/Top_Long/00001/grasps/proposal.json b/Objects/RoboDojo/Garment/Top_Long/00001/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..d6449f3880394f102f6235e1544ffa2a2e10f425 --- /dev/null +++ b/Objects/RoboDojo/Garment/Top_Long/00001/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "grasp": [ + [ + [ + -0.22, + -0.06, + 0.073, + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ], + 0.0 + ], + [ + [ + 0.22, + -0.06, + 0.073, + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ], + 0.0 + ], + [ + [ + -0.065, + -0.125, + 0.158, + 5.753957801139251e-17, + 0.9396926207859084, + -0.3420201433256687, + -2.094269368838496e-17 + ], + 0.0 + ], + [ + [ + 0.065, + -0.125, + 0.158, + 5.753957801139251e-17, + 0.9396926207859084, + 0.3420201433256687, + 2.094269368838496e-17 + ], + 0.0 + ] + ], + "uuid": "24e87332-13a0-40a1-8e0c-e605cef876f0" +} \ No newline at end of file diff --git a/Objects/RoboDojo/Garment/Top_Long/00001/metadata.json b/Objects/RoboDojo/Garment/Top_Long/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0cc5b823f03aa097c5c2df6a925426112b6265d0 --- /dev/null +++ b/Objects/RoboDojo/Garment/Top_Long/00001/metadata.json @@ -0,0 +1,354 @@ +{ + "physics": { + "type": "garment", + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "particle_system": { + "particle_system_enabled": true, + "enable_ccd": true, + "solver_position_iteration_count": 32, + "max_depenetration_velocity": null, + "global_self_collision_enabled": true, + "non_particle_collision_enabled": true, + "contact_offset": 0.008, + "rest_offset": 0.004, + "particle_contact_offset": 0.005, + "fluid_rest_offset": 0.0025, + "solid_rest_offset": 0.0025, + "wind": null, + "max_neighborhood": null, + "max_velocity": 5.0 + }, + "particle_material": { + "adhesion": 0.1, + "adhesion_offset_scale": 0.0, + "cohesion": 0.0, + "particle_adhesion_scale": 0.2, + "particle_friction_scale": 0.6, + "drag": 0.0, + "lift": 0.0, + "friction": 0.5, + "damping": 0.05, + "gravity_scale": 2, + "viscosity": null, + "vorticity_confinement": null, + "surface_tension": null + }, + "garment_config": { + "particle_mass": 0.01, + "self_collision": true, + "self_collision_filter": true, + "stretch_stiffness": 100000000.0, + "bend_stiffness": 5000.0, + "shear_stiffness": 5000.0, + "spring_damping": 10.0 + } + }, + "visual": { + "visible": true, + "material_usd_folder": "$Luminis_ASSETS/Material/Garment/train" + }, + "geometry": { + "faces": 20622, + "vertices": 10410, + "aligned_bbox": { + "vertices": [ + [ + -0.2526, + -0.1635, + -0.0792 + ], + [ + -0.2526, + -0.1635, + 0.1257 + ], + [ + -0.2526, + 0.1643, + -0.0792 + ], + [ + -0.2526, + 0.1643, + 0.1257 + ], + [ + 0.2518, + -0.1635, + -0.0792 + ], + [ + 0.2518, + -0.1635, + 0.1257 + ], + [ + 0.2518, + 0.1643, + -0.0792 + ], + [ + 0.2518, + 0.1643, + 0.1257 + ] + ], + "extents": [ + 0.5044, + 0.3278, + 0.2049 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.2526, + -0.1635, + -0.0792 + ], + [ + -0.2526, + -0.1635, + 0.1257 + ], + [ + -0.2526, + 0.1643, + -0.0792 + ], + [ + -0.2526, + 0.1643, + 0.1257 + ], + [ + 0.2518, + -0.1635, + -0.0792 + ], + [ + 0.2518, + -0.1635, + 0.1257 + ], + [ + 0.2518, + 0.1643, + -0.0792 + ], + [ + 0.2518, + 0.1643, + 0.1257 + ] + ], + "extents": [ + 0.5044, + 0.3278, + 0.2049 + ] + }, + "radius": 0.2529 + }, + "active": { + "place": { + "up": { + "orientation": [ + 0.9998, + 0.0172, + 0.0111, + 0.0008 + ], + "projection_circle": { + "center": [ + 0.0014, + -0.0691, + -0.0765, + 0.9998, + -0.0172, + -0.0111, + -0.0008 + ], + "radius": 0.2522 + }, + "contact_circle": { + "center": [ + 0.0003, + 0.0327, + -0.08, + 0.9998, + -0.0172, + -0.0111, + -0.0008 + ], + "radius": 0.0181 + } + } + } + }, + "uuid": "24e87332-13a0-40a1-8e0c-e605cef876f0", + "passive": { + "functional": { + "left_shoulder": { + "id": [ + 3200 + ], + "qpos": [ + [ + 0.42660009293331824, + -0.8194911538891423, + 0.3394443501856599, + -0.17670354420260317 + ] + ] + }, + "right_shoulder": { + "id": [ + 4358 + ], + "qpos": [ + [ + 0.38302222155948906, + -0.8375416992315327, + -0.383022221559489, + 0.0714972561125547 + ] + ] + }, + "left_sleeve": { + "id": [ + 5220 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ] + ] + }, + "right_sleeve": { + "id": [ + 6484 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ] + ] + }, + "left_sleeve_below": { + "id": [ + 5126 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_sleeve_below": { + "id": [ + 6821 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "left_chest": { + "id": [ + 3397 + ], + "qpos": [ + [ + 0.18301270189221933, + -0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193 + ] + ] + }, + "right_chest": { + "id": [ + 4738 + ], + "qpos": [ + [ + 0.18301270189221933, + -0.6830127018922194, + 0.6830127018922193, + -0.1830127018922193 + ] + ] + }, + "left_hem": { + "id": [ + 435 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ] + ] + }, + "right_hem": { + "id": [ + 1440 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ] + ] + }, + "left_waist": { + "id": [ + 924 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_waist": { + "id": [ + 1961 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Garment/Top_Long/00004/grasps/proposal.json b/Objects/RoboDojo/Garment/Top_Long/00004/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..71a8d97608fad194c3dfacb24f77e52bc22f7d66 --- /dev/null +++ b/Objects/RoboDojo/Garment/Top_Long/00004/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "grasp": [ + [ + [ + -0.099, + -0.12, + 0.105, + 0.06259403053159482, + -0.8549883873704291, + 0.4588092939789445, + -0.23360410219442912 + ], + 0.0 + ], + [ + [ + 0.091, + -0.115, + 0.105, + 0.017816030610657424, + -0.8462794692058824, + -0.43670344706138625, + 0.3046042487861804 + ], + 0.0 + ], + [ + [ + -0.305, + -0.055, + 0.09, + 0.3732861731195948, + 0.41127402322294015, + 0.8311298532831639, + -0.02709756006084052 + ], + 0.0 + ], + [ + [ + 0.29, + -0.07, + 0.07, + 0.038134576474850246, + -0.8899201079275693, + -0.26070166225526964, + 0.3723205593042193 + ], + 0.0 + ] + ], + "uuid": "7b9759ba-a18a-43a4-b545-687307dd8b9d" +} \ No newline at end of file diff --git a/Objects/RoboDojo/Garment/Top_Long/00004/metadata.json b/Objects/RoboDojo/Garment/Top_Long/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..660aa91df688c0a9457ea597decd63f7537b9bb9 --- /dev/null +++ b/Objects/RoboDojo/Garment/Top_Long/00004/metadata.json @@ -0,0 +1,354 @@ +{ + "physics": { + "type": "garment", + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "particle_system": { + "particle_system_enabled": true, + "enable_ccd": true, + "solver_position_iteration_count": 32, + "max_depenetration_velocity": null, + "global_self_collision_enabled": true, + "non_particle_collision_enabled": true, + "contact_offset": 0.008, + "rest_offset": 0.004, + "particle_contact_offset": 0.005, + "fluid_rest_offset": 0.0025, + "solid_rest_offset": 0.0025, + "wind": null, + "max_neighborhood": null, + "max_velocity": 5.0 + }, + "particle_material": { + "adhesion": 0.1, + "adhesion_offset_scale": 0.0, + "cohesion": 0.0, + "particle_adhesion_scale": 0.2, + "particle_friction_scale": 0.6, + "drag": 0.0, + "lift": 0.0, + "friction": 0.5, + "damping": 0.05, + "gravity_scale": 2, + "viscosity": null, + "vorticity_confinement": null, + "surface_tension": null + }, + "garment_config": { + "particle_mass": 0.01, + "self_collision": true, + "self_collision_filter": true, + "stretch_stiffness": 100000000.0, + "bend_stiffness": 5000.0, + "shear_stiffness": 5000.0, + "spring_damping": 10.0 + } + }, + "visual": { + "visible": true, + "material_usd_folder": "$Luminis_ASSETS/Material/Garment/train" + }, + "geometry": { + "faces": 18626, + "vertices": 9487, + "aligned_bbox": { + "vertices": [ + [ + -0.2829, + -0.1771, + -0.0663 + ], + [ + -0.2829, + -0.1771, + 0.0919 + ], + [ + -0.2829, + 0.1656, + -0.0663 + ], + [ + -0.2829, + 0.1656, + 0.0919 + ], + [ + 0.2835, + -0.1771, + -0.0663 + ], + [ + 0.2835, + -0.1771, + 0.0919 + ], + [ + 0.2835, + 0.1656, + -0.0663 + ], + [ + 0.2835, + 0.1656, + 0.0919 + ] + ], + "extents": [ + 0.5664, + 0.3427, + 0.1582 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.2829, + -0.1771, + -0.0663 + ], + [ + -0.2829, + -0.1771, + 0.0919 + ], + [ + -0.2829, + 0.1656, + -0.0663 + ], + [ + -0.2829, + 0.1656, + 0.0919 + ], + [ + 0.2835, + -0.1771, + -0.0663 + ], + [ + 0.2835, + -0.1771, + 0.0919 + ], + [ + 0.2835, + 0.1656, + -0.0663 + ], + [ + 0.2835, + 0.1656, + 0.0919 + ] + ], + "extents": [ + 0.5664, + 0.3427, + 0.1582 + ] + }, + "radius": 0.2837 + }, + "active": { + "place": { + "up": { + "orientation": [ + 0.9998, + 0.0184, + 0.0052, + -0.0003 + ], + "projection_circle": { + "center": [ + 0.0012, + -0.0962, + -0.0605, + 0.9998, + -0.0184, + -0.0052, + 0.0003 + ], + "radius": 0.2832 + }, + "contact_circle": { + "center": [ + 0.005, + 0.0755, + -0.0668, + 0.9998, + -0.0184, + -0.0052, + 0.0003 + ], + "radius": 0.0403 + } + } + } + }, + "uuid": "7b9759ba-a18a-43a4-b545-687307dd8b9d", + "passive": { + "functional": { + "left_shoulder": { + "id": [ + 5782 + ], + "qpos": [ + [ + 0.42660009293331824, + -0.8194911538891423, + 0.3394443501856599, + -0.17670354420260317 + ] + ] + }, + "right_shoulder": { + "id": [ + 4803 + ], + "qpos": [ + [ + 0.38302222155948906, + -0.8375416992315327, + -0.383022221559489, + 0.0714972561125547 + ] + ] + }, + "left_sleeve": { + "id": [ + 9094 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ] + ] + }, + "right_sleeve": { + "id": [ + 8892 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ] + ] + }, + "left_sleeve_below": { + "id": [ + 9161 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_sleeve_below": { + "id": [ + 8864 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "left_chest": { + "id": [ + 5878 + ], + "qpos": [ + [ + 0.18301270189221933, + -0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193 + ] + ] + }, + "right_chest": { + "id": [ + 4888 + ], + "qpos": [ + [ + 0.18301270189221933, + -0.6830127018922194, + 0.6830127018922193, + -0.1830127018922193 + ] + ] + }, + "left_hem": { + "id": [ + 5435 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ] + ] + }, + "right_hem": { + "id": [ + 4194 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ] + ] + }, + "left_waist": { + "id": [ + 6303 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_waist": { + "id": [ + 5022 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Garment/Top_Long/00006/grasps/proposal.json b/Objects/RoboDojo/Garment/Top_Long/00006/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..850ba453951e54e9464aba02bdd34a98194106a7 --- /dev/null +++ b/Objects/RoboDojo/Garment/Top_Long/00006/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "grasp": [ + [ + [ + -0.216, + -0.079, + 0.077, + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ], + 0.0 + ], + [ + [ + 0.216, + -0.079, + 0.077, + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ], + 0.0 + ], + [ + [ + -0.046, + -0.104, + 0.112, + 5.753957801139251e-17, + 0.9396926207859084, + -0.3420201433256687, + -2.094269368838496e-17 + ], + 0.0 + ], + [ + [ + 0.046, + -0.104, + 0.112, + 5.753957801139251e-17, + 0.9396926207859084, + 0.3420201433256687, + 2.094269368838496e-17 + ], + 0.0 + ] + ], + "uuid": "fe1e247c-b08d-47e9-b4f6-b29456efebe2" +} \ No newline at end of file diff --git a/Objects/RoboDojo/Garment/Top_Long/00006/metadata.json b/Objects/RoboDojo/Garment/Top_Long/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..1b74400fb9d146e80fb9b05b14eae118f5720319 --- /dev/null +++ b/Objects/RoboDojo/Garment/Top_Long/00006/metadata.json @@ -0,0 +1,354 @@ +{ + "physics": { + "type": "garment", + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "particle_system": { + "particle_system_enabled": true, + "enable_ccd": true, + "solver_position_iteration_count": 32, + "max_depenetration_velocity": null, + "global_self_collision_enabled": true, + "non_particle_collision_enabled": true, + "contact_offset": 0.008, + "rest_offset": 0.004, + "particle_contact_offset": 0.005, + "fluid_rest_offset": 0.0025, + "solid_rest_offset": 0.0025, + "wind": null, + "max_neighborhood": null, + "max_velocity": 5.0 + }, + "particle_material": { + "adhesion": 0.1, + "adhesion_offset_scale": 0.0, + "cohesion": 0.0, + "particle_adhesion_scale": 0.2, + "particle_friction_scale": 0.6, + "drag": 0.0, + "lift": 0.0, + "friction": 0.5, + "damping": 0.05, + "gravity_scale": 2, + "viscosity": null, + "vorticity_confinement": null, + "surface_tension": null + }, + "garment_config": { + "particle_mass": 0.01, + "self_collision": true, + "self_collision_filter": true, + "stretch_stiffness": 100000000.0, + "bend_stiffness": 5000.0, + "shear_stiffness": 5000.0, + "spring_damping": 10.0 + } + }, + "visual": { + "visible": true, + "material_usd_folder": "$Luminis_ASSETS/Material/Garment/test" + }, + "geometry": { + "faces": 17056, + "vertices": 8613, + "aligned_bbox": { + "vertices": [ + [ + -0.2519, + -0.1579, + -0.0746 + ], + [ + -0.2519, + -0.1579, + 0.0982 + ], + [ + -0.2519, + 0.1297, + -0.0746 + ], + [ + -0.2519, + 0.1297, + 0.0982 + ], + [ + 0.2504, + -0.1579, + -0.0746 + ], + [ + 0.2504, + -0.1579, + 0.0982 + ], + [ + 0.2504, + 0.1297, + -0.0746 + ], + [ + 0.2504, + 0.1297, + 0.0982 + ] + ], + "extents": [ + 0.5023, + 0.2876, + 0.1728 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.2519, + -0.1579, + -0.0746 + ], + [ + -0.2519, + -0.1579, + 0.0982 + ], + [ + -0.2519, + 0.1297, + -0.0746 + ], + [ + -0.2519, + 0.1297, + 0.0982 + ], + [ + 0.2504, + -0.1579, + -0.0746 + ], + [ + 0.2504, + -0.1579, + 0.0982 + ], + [ + 0.2504, + 0.1297, + -0.0746 + ], + [ + 0.2504, + 0.1297, + 0.0982 + ] + ], + "extents": [ + 0.5023, + 0.2876, + 0.1728 + ] + }, + "radius": 0.2551 + }, + "active": { + "place": { + "up": { + "orientation": [ + 0.9995, + 0.0325, + 0.0001, + 0.0 + ], + "projection_circle": { + "center": [ + -0.0007, + -0.0778, + -0.068, + 0.9995, + -0.0325, + -0.0001, + -0.0 + ], + "radius": 0.2513 + }, + "contact_circle": { + "center": [ + 0.001, + -0.155, + -0.0629, + 0.9995, + -0.0325, + -0.0001, + -0.0 + ], + "radius": 0.0377 + } + } + } + }, + "uuid": "fe1e247c-b08d-47e9-b4f6-b29456efebe2", + "passive": { + "functional": { + "left_shoulder": { + "id": [ + 4648 + ], + "qpos": [ + [ + 0.42660009293331824, + -0.8194911538891423, + 0.3394443501856599, + -0.17670354420260317 + ] + ] + }, + "right_shoulder": { + "id": [ + 5310 + ], + "qpos": [ + [ + 0.38302222155948906, + -0.8375416992315327, + -0.383022221559489, + 0.0714972561125547 + ] + ] + }, + "left_sleeve": { + "id": [ + 463 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ] + ] + }, + "right_sleeve": { + "id": [ + 1945 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ] + ] + }, + "left_sleeve_below": { + "id": [ + 505 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_sleeve_below": { + "id": [ + 2551 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "left_chest": { + "id": [ + 4363 + ], + "qpos": [ + [ + 0.18301270189221933, + -0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193 + ] + ] + }, + "right_chest": { + "id": [ + 5826 + ], + "qpos": [ + [ + 0.18301270189221933, + -0.6830127018922194, + 0.6830127018922193, + -0.1830127018922193 + ] + ] + }, + "left_hem": { + "id": [ + 3615 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ] + ] + }, + "right_hem": { + "id": [ + 5002 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ] + ] + }, + "left_waist": { + "id": [ + 4678 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_waist": { + "id": [ + 5745 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Garment/Top_Long/00007/grasps/proposal.json b/Objects/RoboDojo/Garment/Top_Long/00007/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..6937259d1f0b4698b0d1d621e940c7409982a7da --- /dev/null +++ b/Objects/RoboDojo/Garment/Top_Long/00007/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "grasp": [ + [ + [ + -0.305, + -0.055, + 0.09, + 0.3732861731195948, + 0.41127402322294015, + 0.8311298532831639, + -0.02709756006084052 + ], + 0.0 + ], + [ + [ + 0.29, + -0.07, + 0.07, + 0.038134576474850246, + -0.8899201079275693, + -0.26070166225526964, + 0.3723205593042193 + ], + 0.0 + ], + [ + [ + -0.089, + -0.11, + 0.115, + 0.06259403053159482, + -0.8549883873704291, + 0.4588092939789445, + -0.23360410219442912 + ], + 0.0 + ], + [ + [ + 0.101, + -0.105, + 0.11, + 0.017816030610657424, + -0.8462794692058824, + -0.43670344706138625, + 0.3046042487861804 + ], + 0.0 + ] + ], + "uuid": "895f6e2d-ef48-45cd-b093-cf4da3061ac9" +} \ No newline at end of file diff --git a/Objects/RoboDojo/Garment/Top_Long/00007/metadata.json b/Objects/RoboDojo/Garment/Top_Long/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..4ef14f1c2928a218cb53ea4cb62157d9a6fab43f --- /dev/null +++ b/Objects/RoboDojo/Garment/Top_Long/00007/metadata.json @@ -0,0 +1,352 @@ +{ + "physics": { + "type": "garment", + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "particle_system": { + "particle_system_enabled": true, + "enable_ccd": true, + "solver_position_iteration_count": 32, + "max_depenetration_velocity": null, + "global_self_collision_enabled": true, + "non_particle_collision_enabled": true, + "contact_offset": 0.008, + "rest_offset": 0.004, + "particle_contact_offset": 0.005, + "fluid_rest_offset": 0.0025, + "solid_rest_offset": 0.0025, + "wind": null, + "max_neighborhood": null, + "max_velocity": 5.0 + }, + "particle_material": { + "adhesion": 0.1, + "adhesion_offset_scale": 0.0, + "cohesion": 0.0, + "particle_adhesion_scale": 0.2, + "particle_friction_scale": 0.6, + "drag": 0.0, + "lift": 0.0, + "friction": 0.5, + "damping": 0.05, + "gravity_scale": 2, + "viscosity": null, + "vorticity_confinement": null, + "surface_tension": null + }, + "garment_config": { + "particle_mass": 0.01, + "self_collision": true, + "self_collision_filter": true, + "stretch_stiffness": 100000000.0, + "bend_stiffness": 5000.0, + "shear_stiffness": 5000.0, + "spring_damping": 10.0 + } + }, + "visual": { + "visible": true, + "material_usd_folder": "$Luminis_ASSETS/Material/Garment/test" + }, + "geometry": { + "faces": 19012, + "vertices": 9641, + "aligned_bbox": { + "vertices": [ + [ + -0.2788, + -0.1569, + -0.075 + ], + [ + -0.2788, + -0.1569, + 0.0953 + ], + [ + -0.2788, + 0.1339, + -0.075 + ], + [ + -0.2788, + 0.1339, + 0.0953 + ], + [ + 0.28, + -0.1569, + -0.075 + ], + [ + 0.28, + -0.1569, + 0.0953 + ], + [ + 0.28, + 0.1339, + -0.075 + ], + [ + 0.28, + 0.1339, + 0.0953 + ] + ], + "extents": [ + 0.5588, + 0.2908, + 0.1703 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.2788, + -0.1569, + -0.075 + ], + [ + -0.2788, + -0.1569, + 0.0953 + ], + [ + -0.2788, + 0.1339, + -0.075 + ], + [ + -0.2788, + 0.1339, + 0.0953 + ], + [ + 0.28, + -0.1569, + -0.075 + ], + [ + 0.28, + -0.1569, + 0.0953 + ], + [ + 0.28, + 0.1339, + -0.075 + ], + [ + 0.28, + 0.1339, + 0.0953 + ] + ], + "extents": [ + 0.5588, + 0.2908, + 0.1703 + ] + }, + "radius": 0.2811 + }, + "active": { + "place": { + "up": { + "orientation": [ + 0.9997, + 0.0227, + -0.0, + 0.0015 + ], + "projection_circle": { + "center": [ + 0.0006, + -0.1111, + -0.0676, + 0.9997, + -0.0227, + 0.0, + -0.0015 + ], + "radius": 0.2795 + }, + "contact_circle": { + "center": [ + 0.0008, + 0.0483, + -0.0749, + 0.9997, + -0.0227, + 0.0, + -0.0015 + ], + "radius": 0.0447 + } + } + } + }, + "uuid": "895f6e2d-ef48-45cd-b093-cf4da3061ac9", + "passive": { + "functional": { + "left_shoulder": { + "id": [ + 4378, + 6071 + ], + "qpos": [ + [ + 0.42660009293331824, + -0.8194911538891423, + 0.3394443501856599, + -0.17670354420260317 + ], + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_shoulder": { + "id": [ + 5792 + ], + "qpos": [ + [ + 0.38302222155948906, + -0.8375416992315327, + -0.383022221559489, + 0.0714972561125547 + ] + ] + }, + "left_sleeve": { + "id": [ + 8346 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ] + ] + }, + "right_sleeve": { + "id": [ + 6211 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ] + ] + }, + "left_sleeve_below": { + "id": [ + 7918 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_sleeve_below": { + "id": [], + "qpos": [] + }, + "left_chest": { + "id": [ + 4151 + ], + "qpos": [ + [ + 0.18301270189221933, + -0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193 + ] + ] + }, + "right_chest": { + "id": [ + 5603 + ], + "qpos": [ + [ + 0.18301270189221933, + -0.6830127018922194, + 0.6830127018922193, + -0.1830127018922193 + ] + ] + }, + "left_hem": { + "id": [ + 3471 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ] + ] + }, + "right_hem": { + "id": [ + 4820 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ] + ] + }, + "left_waist": { + "id": [ + 4206 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_waist": { + "id": [ + 5447 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Garment/Top_Long/00009/metadata.json b/Objects/RoboDojo/Garment/Top_Long/00009/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..faa4ae329aa8b2c0b08d4db4e1c302e3f944b6e7 --- /dev/null +++ b/Objects/RoboDojo/Garment/Top_Long/00009/metadata.json @@ -0,0 +1,354 @@ +{ + "physics": { + "type": "garment", + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "particle_system": { + "particle_system_enabled": true, + "enable_ccd": true, + "solver_position_iteration_count": 32, + "max_depenetration_velocity": null, + "global_self_collision_enabled": true, + "non_particle_collision_enabled": true, + "contact_offset": 0.008, + "rest_offset": 0.004, + "particle_contact_offset": 0.005, + "fluid_rest_offset": 0.0025, + "solid_rest_offset": 0.0025, + "wind": null, + "max_neighborhood": null, + "max_velocity": 5.0 + }, + "particle_material": { + "adhesion": 0.1, + "adhesion_offset_scale": 0.0, + "cohesion": 0.0, + "particle_adhesion_scale": 0.2, + "particle_friction_scale": 0.6, + "drag": 0.0, + "lift": 0.0, + "friction": 0.5, + "damping": 0.05, + "gravity_scale": 2, + "viscosity": null, + "vorticity_confinement": null, + "surface_tension": null + }, + "garment_config": { + "particle_mass": 0.01, + "self_collision": true, + "self_collision_filter": true, + "stretch_stiffness": 100000000.0, + "bend_stiffness": 5000.0, + "shear_stiffness": 5000.0, + "spring_damping": 10.0 + } + }, + "visual": { + "visible": true, + "material_usd_folder": "$Luminis_ASSETS/Material/Garment/train" + }, + "geometry": { + "faces": 19000, + "vertices": 9665, + "aligned_bbox": { + "vertices": [ + [ + -0.3064, + -0.1724, + -0.081 + ], + [ + -0.3064, + -0.1724, + 0.1073 + ], + [ + -0.3064, + 0.1469, + -0.081 + ], + [ + -0.3064, + 0.1469, + 0.1073 + ], + [ + 0.3078, + -0.1724, + -0.081 + ], + [ + 0.3078, + -0.1724, + 0.1073 + ], + [ + 0.3078, + 0.1469, + -0.081 + ], + [ + 0.3078, + 0.1469, + 0.1073 + ] + ], + "extents": [ + 0.6142, + 0.3193, + 0.1883 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.3064, + -0.1724, + -0.081 + ], + [ + -0.3064, + -0.1724, + 0.1073 + ], + [ + -0.3064, + 0.1469, + -0.081 + ], + [ + -0.3064, + 0.1469, + 0.1073 + ], + [ + 0.3078, + -0.1724, + -0.081 + ], + [ + 0.3078, + -0.1724, + 0.1073 + ], + [ + 0.3078, + 0.1469, + -0.081 + ], + [ + 0.3078, + 0.1469, + 0.1073 + ] + ], + "extents": [ + 0.6142, + 0.3193, + 0.1883 + ] + }, + "radius": 0.309 + }, + "active": { + "place": { + "up": { + "orientation": [ + 0.9998, + 0.0217, + -0.0, + 0.0 + ], + "projection_circle": { + "center": [ + 0.0007, + -0.1215, + -0.0739, + 0.9998, + -0.0217, + 0.0, + -0.0 + ], + "radius": 0.3072 + }, + "contact_circle": { + "center": [ + 0.0019, + 0.0573, + -0.0817, + 0.9998, + -0.0217, + 0.0, + -0.0 + ], + "radius": 0.0478 + } + } + } + }, + "uuid": "ae0b0237-96b7-408a-9eea-2cc290d4dd7c", + "passive": { + "functional": { + "left_shoulder": { + "id": [ + 4536 + ], + "qpos": [ + [ + 0.4266, + -0.8195, + 0.3394, + -0.1767 + ] + ] + }, + "right_shoulder": { + "id": [ + 5907 + ], + "qpos": [ + [ + 0.383, + -0.8375, + -0.383, + 0.0715 + ] + ] + }, + "left_sleeve": { + "id": [ + 8387 + ], + "qpos": [ + [ + 0.0, + 0.9239, + -0.3827, + -0.0 + ] + ] + }, + "right_sleeve": { + "id": [ + 6529 + ], + "qpos": [ + [ + 0.0, + 0.9239, + 0.3827, + -0.0 + ] + ] + }, + "left_sleeve_below": { + "id": [ + 8422 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_sleeve_below": { + "id": [ + 6731 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "left_chest": { + "id": [ + 4209 + ], + "qpos": [ + [ + -0.183, + 0.683, + 0.683, + -0.183 + ] + ] + }, + "right_chest": { + "id": [ + 5626 + ], + "qpos": [ + [ + 0.183, + -0.683, + 0.683, + -0.183 + ] + ] + }, + "left_hem": { + "id": [ + 3868 + ], + "qpos": [ + [ + 0.0, + 0.9239, + -0.3827, + -0.0 + ] + ] + }, + "right_hem": { + "id": [ + 5482 + ], + "qpos": [ + [ + 0.0, + 0.9239, + 0.3827, + 0.0 + ] + ] + }, + "left_waist": { + "id": [ + 4148 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_waist": { + "id": [ + 5563 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Garment/Top_Long/00011/grasps/proposal.json b/Objects/RoboDojo/Garment/Top_Long/00011/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..bacb388ad46cd238f4ca59b5a558007bf43db806 --- /dev/null +++ b/Objects/RoboDojo/Garment/Top_Long/00011/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "grasp": [ + [ + [ + 0.275, + -0.05, + 0.07, + 0.038134576474850246, + -0.8899201079275693, + -0.26070166225526964, + 0.3723205593042193 + ], + 0.0 + ], + [ + [ + -0.275, + -0.05, + 0.07, + 0.038134576474850246, + -0.8899201079275693, + 0.26070166225526964, + -0.3723205593042193 + ], + 0.0 + ], + [ + [ + -0.1, + -0.12, + 0.105, + 0.06259403053159482, + -0.8549883873704291, + 0.4588092939789445, + -0.23360410219442912 + ], + 0.0 + ], + [ + [ + 0.1, + -0.12, + 0.105, + 0.06259403053159482, + -0.8549883873704291, + -0.4588092939789445, + 0.23360410219442912 + ], + 0.0 + ] + ], + "uuid": "7468b3ef-f20d-4a29-ba82-2d91e23683d5" +} \ No newline at end of file diff --git a/Objects/RoboDojo/Garment/Top_Long/00011/metadata.json b/Objects/RoboDojo/Garment/Top_Long/00011/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..f2f1f0c0730355c8edb4b7c53bba4164b7ff8036 --- /dev/null +++ b/Objects/RoboDojo/Garment/Top_Long/00011/metadata.json @@ -0,0 +1,354 @@ +{ + "physics": { + "type": "garment", + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "particle_system": { + "particle_system_enabled": true, + "enable_ccd": true, + "solver_position_iteration_count": 32, + "max_depenetration_velocity": null, + "global_self_collision_enabled": true, + "non_particle_collision_enabled": true, + "contact_offset": 0.008, + "rest_offset": 0.004, + "particle_contact_offset": 0.005, + "fluid_rest_offset": 0.0025, + "solid_rest_offset": 0.0025, + "wind": null, + "max_neighborhood": null, + "max_velocity": 5.0 + }, + "particle_material": { + "adhesion": 0.1, + "adhesion_offset_scale": 0.0, + "cohesion": 0.0, + "particle_adhesion_scale": 0.2, + "particle_friction_scale": 0.6, + "drag": 0.0, + "lift": 0.0, + "friction": 0.5, + "damping": 0.05, + "gravity_scale": 2, + "viscosity": null, + "vorticity_confinement": null, + "surface_tension": null + }, + "garment_config": { + "particle_mass": 0.01, + "self_collision": true, + "self_collision_filter": true, + "stretch_stiffness": 100000000.0, + "bend_stiffness": 5000.0, + "shear_stiffness": 5000.0, + "spring_damping": 10.0 + } + }, + "visual": { + "visible": true, + "material_usd_folder": "$Luminis_ASSETS/Material/Garment/test" + }, + "geometry": { + "faces": 20622, + "vertices": 10410, + "aligned_bbox": { + "vertices": [ + [ + -0.2526, + -0.1635, + -0.0792 + ], + [ + -0.2526, + -0.1635, + 0.1257 + ], + [ + -0.2526, + 0.1643, + -0.0792 + ], + [ + -0.2526, + 0.1643, + 0.1257 + ], + [ + 0.2518, + -0.1635, + -0.0792 + ], + [ + 0.2518, + -0.1635, + 0.1257 + ], + [ + 0.2518, + 0.1643, + -0.0792 + ], + [ + 0.2518, + 0.1643, + 0.1257 + ] + ], + "extents": [ + 0.5044, + 0.3278, + 0.2049 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.2526, + -0.1635, + -0.0792 + ], + [ + -0.2526, + -0.1635, + 0.1257 + ], + [ + -0.2526, + 0.1643, + -0.0792 + ], + [ + -0.2526, + 0.1643, + 0.1257 + ], + [ + 0.2518, + -0.1635, + -0.0792 + ], + [ + 0.2518, + -0.1635, + 0.1257 + ], + [ + 0.2518, + 0.1643, + -0.0792 + ], + [ + 0.2518, + 0.1643, + 0.1257 + ] + ], + "extents": [ + 0.5044, + 0.3278, + 0.2049 + ] + }, + "radius": 0.2529 + }, + "active": { + "place": { + "up": { + "orientation": [ + 0.9998, + 0.0172, + 0.0111, + 0.0008 + ], + "projection_circle": { + "center": [ + 0.0014, + -0.0691, + -0.0765, + 0.9998, + -0.0172, + -0.0111, + -0.0008 + ], + "radius": 0.2522 + }, + "contact_circle": { + "center": [ + 0.0003, + 0.0327, + -0.08, + 0.9998, + -0.0172, + -0.0111, + -0.0008 + ], + "radius": 0.0181 + } + } + } + }, + "uuid": "7468b3ef-f20d-4a29-ba82-2d91e23683d5", + "passive": { + "functional": { + "left_shoulder": { + "id": [ + 3190 + ], + "qpos": [ + [ + 0.42660009293331824, + -0.8194911538891423, + 0.3394443501856599, + -0.17670354420260317 + ] + ] + }, + "right_shoulder": { + "id": [ + 4319 + ], + "qpos": [ + [ + 0.38302222155948906, + -0.8375416992315327, + -0.383022221559489, + 0.0714972561125547 + ] + ] + }, + "left_sleeve": { + "id": [ + 5222 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ] + ] + }, + "right_sleeve": { + "id": [ + 6555 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ] + ] + }, + "left_sleeve_below": { + "id": [ + 5196 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_sleeve_below": { + "id": [ + 6821 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "left_chest": { + "id": [ + 2572 + ], + "qpos": [ + [ + 0.18301270189221933, + -0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193 + ] + ] + }, + "right_chest": { + "id": [ + 4714 + ], + "qpos": [ + [ + 0.18301270189221933, + -0.6830127018922194, + 0.6830127018922193, + -0.1830127018922193 + ] + ] + }, + "left_hem": { + "id": [ + 365 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + -0.3826834323650898, + -2.3432602026631493e-17 + ] + ] + }, + "right_hem": { + "id": [ + 1377 + ], + "qpos": [ + [ + 5.657130561438501e-17, + 0.9238795325112867, + 0.3826834323650898, + 2.3432602026631493e-17 + ] + ] + }, + "left_waist": { + "id": [ + 923 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "right_waist": { + "id": [ + 2017 + ], + "qpos": [ + [ + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Geometry/basket/00005/metadata.json b/Objects/RoboDojo/Geometry/basket/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ef0d8b57278c9f56c70d1cbcb85744303dc225ea --- /dev/null +++ b/Objects/RoboDojo/Geometry/basket/00005/metadata.json @@ -0,0 +1,283 @@ +{ + "physics": { + "mass": 1.8, + "friction": 0.45, + "size": [ + 0.3023999948523264, + 0.20159999160116404, + 0.077 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1512, + -0.1008, + -0.0386 + ], + [ + -0.1512, + -0.1008, + 0.0384 + ], + [ + -0.1512, + 0.1008, + -0.0386 + ], + [ + -0.1512, + 0.1008, + 0.0384 + ], + [ + 0.1512, + -0.1008, + -0.0386 + ], + [ + 0.1512, + -0.1008, + 0.0384 + ], + [ + 0.1512, + 0.1008, + -0.0386 + ], + [ + 0.1512, + 0.1008, + 0.0384 + ] + ], + "extents": [ + 0.3024, + 0.2016, + 0.077 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.1512, + 0.1008, + 0.0384 + ], + [ + -0.1512, + 0.1008, + 0.0384 + ], + [ + 0.1512, + -0.1008, + 0.0384 + ], + [ + -0.1512, + -0.1008, + 0.0384 + ], + [ + 0.1512, + 0.1008, + -0.0386 + ], + [ + -0.1512, + 0.1008, + -0.0386 + ], + [ + 0.1512, + -0.1008, + -0.0386 + ], + [ + -0.1512, + -0.1008, + -0.0386 + ] + ], + "extents": [ + 0.3024, + 0.2016, + 0.077 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "functional": {}, + "support": { + "basket/1": { + "center": [ + [ + 0.055, + -0.005, + -0.03, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.05 + ] + }, + "basket/0": { + "center": [ + [ + -0.065, + -0.0, + -0.03, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.05 + ] + } + } + }, + "description": [ + "solid black molded polymer open-top box object", + "plastic tote suitable for holding small parts", + "medium bin matte black molded polymer reinforced side walls object", + "stackable crate size object used for stacking for space-efficient storage", + "storage bin featuring rigid plastic build", + "plastic tote with matte black exterior", + "medium bin object used for stacking for space-efficient storage", + "roughly 12x8x6 inches solid black object for holding small parts", + "storage bin with reinforced side walls geometry", + "utility crate for stacking for space-efficient storage scenarios", + "plastic tote commonly found in stackable crate size size", + "rectangular prism object used for holding small parts", + "solid black storage bin for organizing workshop items", + "storage bin intended for holding small parts usage", + "storage bin in matte black", + "stackable crate size solid black open-top box for organizing workshop items", + "storage bin commonly featuring molded polymer", + "roughly 12x8x6 inches matte black rigid plastic reinforced side walls object", + "medium bin rectangular prism storage bin", + "matte black utility crate for stacking for space-efficient storage", + "solid black utility crate typically used for holding small parts", + "matte black molded polymer utility crate", + "medium bin rigid plastic reinforced side walls for stacking for space-efficient storage", + "utility crate made of rigid plastic", + "storage bin made from molded polymer", + "matte black open-top box utility crate", + "rigid plastic object for holding small parts", + "rectangular prism object used for organizing workshop items", + "molded polymer plastic tote used for organizing workshop items", + "stackable crate size open-top box plastic tote for stacking for space-efficient storage", + "storage bin in open-top box form", + "medium bin reinforced side walls object", + "storage bin in rectangular prism", + "plastic tote in open-top box form", + "plastic tote for organizing workshop items tasks", + "storage bin appropriate for holding small parts use", + "utility crate in medium bin", + "roughly 12x8x6 inches rigid plastic storage bin", + "stackable crate size rectangular prism plastic tote", + "plastic tote optimized for holding small parts", + "utility crate built from molded polymer", + "open-top box medium bin plastic tote", + "storage bin used to organizing workshop items", + "plastic tote in rectangular prism form", + "matte black rigid plastic rectangular prism object", + "solid black open-top box object for stacking for space-efficient storage", + "plastic tote with open-top box geometry", + "stackable crate size plastic tote for holding small parts", + "stackable crate size matte black molded polymer rectangular prism object", + "molded polymer storage bin used for organizing workshop items", + "storage bin for organizing workshop items", + "molded polymer solid black storage bin", + "plastic tote in stackable crate size", + "plastic tote with molded polymer surface", + "storage bin with molded polymer body", + "rigid plastic utility crate used for holding small parts", + "matte black stackable crate size utility crate for stacking for space-efficient storage", + "storage bin in open-top box", + "matte black plastic tote for stacking for space-efficient storage", + "plastic tote with rigid plastic surface", + "matte black object used for organizing workshop items", + "storage bin in reinforced side walls form", + "matte black roughly 12x8x6 inches rectangular prism storage bin", + "utility crate for holding small parts scenarios", + "storage bin suitable for holding small parts", + "matte black storage bin suitable for holding small parts", + "storage bin made of molded polymer", + "roughly 12x8x6 inches molded polymer plastic tote for stacking for space-efficient storage", + "molded polymer solid black utility crate", + "utility crate commonly used for organizing workshop items", + "plastic tote sized as stackable crate size", + "utility crate made from rigid plastic", + "matte black molded polymer open-top box object", + "utility crate suitable for holding small parts", + "utility crate sized as roughly 12x8x6 inches", + "rectangular prism molded polymer utility crate for holding small parts", + "medium bin matte black open-top box for holding small parts", + "roughly 12x8x6 inches solid black reinforced side walls for organizing workshop items", + "solid black molded polymer plastic tote", + "solid black rectangular prism storage bin", + "plastic tote in solid black", + "plastic tote suitable for stacking for space-efficient storage", + "open-top box object made of rigid plastic", + "storage bin made from rigid plastic", + "rigid plastic utility crate", + "stackable crate size matte black object for organizing workshop items", + "storage bin ideal for organizing workshop items", + "open-top box medium bin utility crate", + "utility crate suitable for stacking for space-efficient storage", + "storage bin typically made of molded polymer", + "storage bin for stacking for space-efficient storage scenarios", + "utility crate with reinforced side walls profile", + "plastic tote featuring rectangular prism shape", + "roughly 12x8x6 inches open-top box object for holding small parts", + "solid black storage bin used for stacking for space-efficient storage", + "storage bin with rigid plastic body", + "storage bin appropriate for stacking for space-efficient storage use", + "medium bin rigid plastic storage bin", + "solid black rigid plastic rectangular prism plastic tote", + "matte black rigid plastic open-top box object" + ], + "caption": { + "color": [ + "matte black", + "solid black" + ], + "material": [ + "rigid plastic", + "molded polymer" + ], + "size": [ + "medium bin", + "stackable crate size", + "roughly 12x8x6 inches" + ], + "name": [ + "storage bin", + "plastic tote", + "utility crate" + ], + "shape": [ + "rectangular prism", + "open-top box", + "reinforced side walls" + ], + "function": [ + "holding small parts", + "organizing workshop items", + "stacking for space-efficient storage" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/bread_shelf/00000/metadata.json b/Objects/RoboDojo/Geometry/bread_shelf/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0224afe93cda1ff7bca07044a4881b170297da4a --- /dev/null +++ b/Objects/RoboDojo/Geometry/bread_shelf/00000/metadata.json @@ -0,0 +1,317 @@ +{ + "physics": { + "mass": 0.35, + "friction": 0.25, + "size": [ + 0.1578710897955837, + 0.08332953630742854, + 0.07600000000000001 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0792, + -0.0417, + -0.0381 + ], + [ + -0.0792, + -0.0417, + 0.0381 + ], + [ + -0.0792, + 0.0419, + -0.0381 + ], + [ + -0.0792, + 0.0419, + 0.0381 + ], + [ + 0.0791, + -0.0417, + -0.0381 + ], + [ + 0.0791, + -0.0417, + 0.0381 + ], + [ + 0.0791, + 0.0419, + -0.0381 + ], + [ + 0.0791, + 0.0419, + 0.0381 + ] + ], + "extents": [ + 0.1583, + 0.0835, + 0.0762 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0792, + -0.0417, + 0.0381 + ], + [ + 0.0791, + -0.0417, + 0.0381 + ], + [ + -0.0792, + 0.0419, + 0.0381 + ], + [ + 0.0791, + 0.0419, + 0.0381 + ], + [ + -0.0792, + -0.0417, + -0.0381 + ], + [ + 0.0791, + -0.0417, + -0.0381 + ], + [ + -0.0792, + 0.0419, + -0.0381 + ], + [ + 0.0791, + 0.0418, + -0.0381 + ] + ], + "extents": [ + 0.1583, + 0.0836, + 0.0762 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "functional": {}, + "support": { + "bread_shelf/0": { + "center": [ + [ + 0.035, + 0.0, + 0.035, + 0.7071067811865476, + 0.0, + 0.7071067811865475, + 0.0 + ] + ], + "radius": [ + 0.05 + ] + }, + "bread_shelf/1": { + "center": [ + [ + 0.01, + 0.0, + 0.035, + 0.7071067811865476, + 0.0, + 0.7071067811865475, + 0.0 + ] + ], + "radius": [ + 0.05 + ] + }, + "bread_shelf/2": { + "center": [ + [ + -0.015, + 0.0, + 0.035, + 0.7071067811865476, + 0.0, + 0.7071067811865475, + 0.0 + ] + ], + "radius": [ + 0.05 + ] + }, + "bread_shelf/3": { + "center": [ + [ + -0.039, + 0.0, + 0.035, + 0.7071067811865476, + 0.0, + 0.7071067811865475, + 0.0 + ] + ], + "radius": [ + 0.05 + ] + } + } + }, + "description": [ + "fits four slices four-slot toast holder used for serving multiple slices neatly", + "four-slot toast holder intended for serving multiple slices neatly usage", + "fits four slices U-shaped slots in a row object for holding toasted bread upright", + "flat base with raised dividers tabletop scale toast rack", + "compact dark metallic U-shaped slots in a row object", + "heavy-duty metal object for serving multiple slices neatly", + "four-slot toast holder suitable for holding toasted bread upright", + "bread rack with stainless steel look body", + "dark metallic stainless steel look curved top edges toast rack", + "U-shaped slots in a row object made of stainless steel look", + "U-shaped slots in a row tabletop scale toast rack", + "bread rack sized as tabletop scale", + "toast rack optimized for holding toasted bread upright", + "four-slot toast holder made of heavy-duty metal", + "dark metallic stainless steel look U-shaped slots in a row bread rack", + "compact stainless steel look curved top edges for serving multiple slices neatly", + "toast rack primarily used for holding toasted bread upright", + "fits four slices curved top edges object for keeping toast warm and crisp", + "cast metal object used for holding toasted bread upright", + "dark metallic heavy-duty metal bread rack", + "four-slot toast holder in slight sheen", + "heavy-duty metal curved top edges object used for keeping toast warm and crisp", + "bread rack sized tabletop scale", + "matte gray bread rack designed for holding toasted bread upright", + "four-slot toast holder with stainless steel look surface", + "toast rack sized as tabletop scale", + "slight sheen bread rack designed for serving multiple slices neatly", + "curved top edges heavy-duty metal four-slot toast holder for holding toasted bread upright", + "U-shaped slots in a row heavy-duty metal object for serving multiple slices neatly", + "U-shaped slots in a row-shaped bread rack", + "slight sheen U-shaped slots in a row object for holding toasted bread upright", + "bread rack for keeping toast warm and crisp scenarios", + "curved top edges cast metal four-slot toast holder for holding toasted bread upright", + "dark metallic stainless steel look toast rack", + "keeping toast warm and crisp use of bread rack", + "bread rack with heavy-duty metal surface", + "four-slot toast holder in U-shaped slots in a row", + "toast rack featuring heavy-duty metal build", + "dark metallic bread rack suitable for holding toasted bread upright", + "slight sheen object used for serving multiple slices neatly", + "bread rack for serving multiple slices neatly", + "fits four slices flat base with raised dividers object for serving multiple slices neatly", + "dark metallic four-slot toast holder for serving multiple slices neatly", + "fits four slices bread rack perfect for keeping toast warm and crisp", + "toast rack appropriate for holding toasted bread upright", + "tabletop scale slight sheen object for holding toasted bread upright", + "heavy-duty metal toast rack suitable for holding toasted bread upright", + "tabletop scale cast metal flat base with raised dividers for serving multiple slices neatly", + "four-slot toast holder commonly used for serving multiple slices neatly", + "fits four slices toast rack perfect for holding toasted bread upright", + "tabletop scale four-slot toast holder for keeping toast warm and crisp", + "holding toasted bread upright use of toast rack", + "flat base with raised dividers four-slot toast holder used for serving multiple slices neatly", + "toast rack for serving multiple slices neatly use", + "compact dark metallic object for keeping toast warm and crisp", + "curved top edges object used for holding toasted bread upright", + "fits four slices slight sheen curved top edges object", + "bread rack used to keeping toast warm and crisp", + "bread rack built from cast metal", + "tabletop scale dark metallic stainless steel look U-shaped slots in a row object", + "toast rack in matte gray", + "bread rack for holding toasted bread upright", + "heavy-duty metal bread rack", + "matte gray toast rack suitable for keeping toast warm and crisp", + "toast rack with cast metal body", + "toast rack designed for keeping toast warm and crisp", + "bread rack primarily used for serving multiple slices neatly", + "bread rack typically made of cast metal", + "holding toasted bread upright with toast rack", + "fits four slices toast rack for keeping toast warm and crisp", + "matte gray flat base with raised dividers bread rack used for holding toasted bread upright", + "dark metallic curved top edges bread rack used for holding toasted bread upright", + "compact dark metallic heavy-duty metal bread rack", + "dark metallic compact cast metal object", + "tabletop scale dark metallic U-shaped slots in a row object", + "bread rack primarily used for holding toasted bread upright", + "bread rack intended for holding toasted bread upright usage", + "curved top edges object made of stainless steel look", + "slight sheen compact bread rack for holding toasted bread upright", + "matte gray toast rack typically used for serving multiple slices neatly", + "tabletop scale bread rack perfect for holding toasted bread upright", + "compact slight sheen flat base with raised dividers object", + "slight sheen four-slot toast holder used for holding toasted bread upright", + "flat base with raised dividers object used for holding toasted bread upright", + "U-shaped slots in a row cast metal object for serving multiple slices neatly", + "matte gray flat base with raised dividers four-slot toast holder used for keeping toast warm and crisp", + "stainless steel look flat base with raised dividers object used for keeping toast warm and crisp", + "compact matte gray stainless steel look four-slot toast holder", + "bread rack featuring heavy-duty metal build", + "toast rack colored matte gray", + "fits four slices curved top edges object", + "tabletop scale slight sheen flat base with raised dividers object", + "dark metallic fits four slices U-shaped slots in a row bread rack", + "four-slot toast holder commonly used for keeping toast warm and crisp", + "curved top edges four-slot toast holder ideal for holding toasted bread upright", + "keeping toast warm and crisp use of four-slot toast holder", + "four-slot toast holder for serving multiple slices neatly use", + "tabletop scale object used for serving multiple slices neatly", + "heavy-duty metal object for keeping toast warm and crisp", + "flat base with raised dividers bread rack ideal for holding toasted bread upright" + ], + "caption": { + "color": [ + "matte gray", + "dark metallic", + "slight sheen" + ], + "material": [ + "cast metal", + "stainless steel look", + "heavy-duty metal" + ], + "size": [ + "compact", + "fits four slices", + "tabletop scale" + ], + "name": [ + "toast rack", + "bread rack", + "four-slot toast holder" + ], + "shape": [ + "U-shaped slots in a row", + "flat base with raised dividers", + "curved top edges" + ], + "function": [ + "holding toasted bread upright", + "keeping toast warm and crisp", + "serving multiple slices neatly" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/checkerboard/00000/metadata.json b/Objects/RoboDojo/Geometry/checkerboard/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..6699e74c4f77f8fa27dad3586c906bc1167d8abf --- /dev/null +++ b/Objects/RoboDojo/Geometry/checkerboard/00000/metadata.json @@ -0,0 +1,413 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.25, + "size": [ + 0.2233600115334982, + 0.2233600115334982, + 0.016000000000000004 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1117, + -0.1117, + -0.0 + ], + [ + -0.1117, + -0.1117, + 0.016 + ], + [ + -0.1117, + 0.1117, + -0.0 + ], + [ + -0.1117, + 0.1117, + 0.016 + ], + [ + 0.1117, + -0.1117, + -0.0 + ], + [ + 0.1117, + -0.1117, + 0.016 + ], + [ + 0.1117, + 0.1117, + -0.0 + ], + [ + 0.1117, + 0.1117, + 0.016 + ] + ], + "extents": [ + 0.2234, + 0.2234, + 0.016 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.1117, + 0.1117, + -0.0 + ], + [ + 0.1117, + -0.1117, + -0.0 + ], + [ + -0.1117, + 0.1117, + -0.0 + ], + [ + -0.1117, + -0.1117, + -0.0 + ], + [ + 0.1117, + 0.1117, + 0.016 + ], + [ + 0.1117, + -0.1117, + 0.016 + ], + [ + -0.1117, + 0.1117, + 0.016 + ], + [ + -0.1117, + -0.1117, + 0.016 + ] + ], + "extents": [ + 0.2234, + 0.2234, + 0.016 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "functional": {}, + "support": { + "cell/0": { + "center": [ + [ + -0.074, + -0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/1": { + "center": [ + [ + 0.0, + -0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/2": { + "center": [ + [ + 0.074, + -0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/3": { + "center": [ + [ + -0.074, + 0.0, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/4": { + "center": [ + [ + -0.0, + 0.0, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/5": { + "center": [ + [ + 0.074, + 0.0, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/6": { + "center": [ + [ + -0.074, + 0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/7": { + "center": [ + [ + 0.0, + 0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/8": { + "center": [ + [ + 0.074, + 0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "checkerboard/0": { + "center": [ + [ + -0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.25 + ] + } + } + }, + "description": [ + "glossy black tic-tac-toe board designed for playing tic-tac-toe", + "about 6 inches across polished ceramic tic-tac-toe board for displaying game positions", + "grid plaque sized desktop-sized", + "serving as a minimalist game surface with game tile", + "reflective silver highlights flat square object for serving as a minimalist game surface", + "smooth glass grid plaque", + "about 6 inches across object used for displaying game positions", + "tic-tac-toe board appropriate for displaying game positions use", + "diamond orientation in some views tic-tac-toe board for playing tic-tac-toe", + "reflective silver highlights tic-tac-toe board designed for playing tic-tac-toe", + "desktop-sized polished ceramic object", + "about 6 inches across gold grid lines diamond orientation in some views object", + "desktop-sized diamond orientation in some views object", + "about 6 inches across object used for playing tic-tac-toe", + "grid plaque in desktop-sized", + "small square glossy black diamond orientation in some views object", + "gold grid lines about 6 inches across slightly beveled edges grid plaque", + "glossy black thin rigid plate flat square grid plaque", + "flat square game tile used for playing tic-tac-toe", + "desktop-sized glossy black thin rigid plate diamond orientation in some views object", + "gold grid lines object used for playing tic-tac-toe", + "game tile optimized for playing tic-tac-toe", + "tic-tac-toe board with slightly beveled edges profile", + "desktop-sized gold grid lines diamond orientation in some views for displaying game positions", + "reflective silver highlights game tile typically used for displaying game positions", + "diamond orientation in some views-shaped game tile", + "game tile in small square", + "game tile in flat square form", + "small square slightly beveled edges game tile", + "small square flat square object", + "glossy black tic-tac-toe board typically used for displaying game positions", + "grid plaque with slightly beveled edges profile", + "polished ceramic object used for displaying game positions", + "thin rigid plate game tile suitable for serving as a minimalist game surface", + "reflective silver highlights about 6 inches across tic-tac-toe board for playing tic-tac-toe", + "tic-tac-toe board made from polished ceramic", + "about 6 inches across flat square grid plaque for displaying game positions", + "glossy black slightly beveled edges game tile", + "gold grid lines game tile for serving as a minimalist game surface", + "grid plaque in reflective silver highlights", + "reflective silver highlights small square polished ceramic object", + "tic-tac-toe board with gold grid lines color", + "gold grid lines smooth glass slightly beveled edges tic-tac-toe board", + "thin rigid plate grid plaque used for displaying game positions", + "glossy black smooth glass slightly beveled edges object", + "diamond orientation in some views smooth glass tic-tac-toe board for playing tic-tac-toe", + "grid plaque commonly found in desktop-sized size", + "game tile commonly featuring polished ceramic", + "slightly beveled edges object made of thin rigid plate", + "about 6 inches across thin rigid plate grid plaque for displaying game positions", + "slightly beveled edges-shaped grid plaque", + "gold grid lines small square slightly beveled edges grid plaque", + "thin rigid plate grid plaque for displaying game positions", + "grid plaque commonly used for displaying game positions", + "game tile suitable for serving as a minimalist game surface", + "desktop-sized smooth glass object", + "reflective silver highlights smooth glass diamond orientation in some views object", + "about 6 inches across tic-tac-toe board perfect for displaying game positions", + "tic-tac-toe board colored glossy black", + "grid plaque appropriate for playing tic-tac-toe", + "grid plaque intended for playing tic-tac-toe", + "gold grid lines desktop-sized game tile for displaying game positions", + "polished ceramic grid plaque suitable for serving as a minimalist game surface", + "game tile suitable for displaying game positions", + "about 6 inches across gold grid lines slightly beveled edges object", + "tic-tac-toe board with gold grid lines exterior", + "glossy black game tile for displaying game positions", + "tic-tac-toe board for playing tic-tac-toe", + "serving as a minimalist game surface use of grid plaque", + "gold grid lines game tile suitable for serving as a minimalist game surface", + "game tile in slightly beveled edges", + "tic-tac-toe board commonly featuring smooth glass", + "grid plaque sized as small square", + "grid plaque commonly used for playing tic-tac-toe", + "about 6 inches across polished ceramic object", + "glossy black game tile typically used for playing tic-tac-toe", + "reflective silver highlights smooth glass flat square object", + "tic-tac-toe board ideal for serving as a minimalist game surface", + "flat square polished ceramic grid plaque for playing tic-tac-toe", + "gold grid lines tic-tac-toe board for displaying game positions", + "small square tic-tac-toe board used for displaying game positions", + "small square reflective silver highlights flat square object", + "reflective silver highlights tic-tac-toe board suitable for displaying game positions", + "game tile featuring diamond orientation in some views shape", + "tic-tac-toe board colored reflective silver highlights", + "about 6 inches across game tile used for playing tic-tac-toe", + "diamond orientation in some views object used for serving as a minimalist game surface", + "small square tic-tac-toe board perfect for serving as a minimalist game surface", + "tic-tac-toe board intended for displaying game positions", + "diamond orientation in some views tic-tac-toe board used for serving as a minimalist game surface", + "tic-tac-toe board sized as small square", + "small square gold grid lines smooth glass flat square object", + "slightly beveled edges polished ceramic tic-tac-toe board for serving as a minimalist game surface", + "grid plaque made from smooth glass", + "about 6 inches across reflective silver highlights polished ceramic slightly beveled edges object", + "small square game tile perfect for playing tic-tac-toe", + "grid plaque with flat square geometry", + "polished ceramic slightly beveled edges for serving as a minimalist game surface", + "tic-tac-toe board featuring diamond orientation in some views shape", + "glossy black diamond orientation in some views game tile used for playing tic-tac-toe" + ], + "caption": { + "color": [ + "glossy black", + "gold grid lines", + "reflective silver highlights" + ], + "material": [ + "smooth glass", + "polished ceramic", + "thin rigid plate" + ], + "size": [ + "small square", + "desktop-sized", + "about 6 inches across" + ], + "name": [ + "tic-tac-toe board", + "game tile", + "grid plaque" + ], + "shape": [ + "flat square", + "slightly beveled edges", + "diamond orientation in some views" + ], + "function": [ + "playing tic-tac-toe", + "displaying game positions", + "serving as a minimalist game surface" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/checkerboard/00000/object.usdz b/Objects/RoboDojo/Geometry/checkerboard/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..7cd50561c1ea2d256c846e84e99e3acdbfca44ac Binary files /dev/null and b/Objects/RoboDojo/Geometry/checkerboard/00000/object.usdz differ diff --git a/Objects/RoboDojo/Geometry/cup_holder/00000/metadata.json b/Objects/RoboDojo/Geometry/cup_holder/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..d44c681d8e3543b96b53432d4924023b33260f07 --- /dev/null +++ b/Objects/RoboDojo/Geometry/cup_holder/00000/metadata.json @@ -0,0 +1,311 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0904, + -0.0904, + -0.1744 + ], + [ + -0.0904, + -0.0904, + 0.1744 + ], + [ + -0.0904, + 0.0904, + -0.1744 + ], + [ + -0.0904, + 0.0904, + 0.1744 + ], + [ + 0.0904, + -0.0904, + -0.1744 + ], + [ + 0.0904, + -0.0904, + 0.1744 + ], + [ + 0.0904, + 0.0904, + -0.1744 + ], + [ + 0.0904, + 0.0904, + 0.1744 + ] + ], + "extents": [ + 0.1808, + 0.1808, + 0.3489 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0045, + -0.1107, + 0.1744 + ], + [ + 0.0045, + -0.1107, + -0.1744 + ], + [ + 0.1092, + 0.0033, + 0.1744 + ], + [ + 0.1092, + 0.0033, + -0.1744 + ], + [ + -0.1095, + -0.006, + 0.1744 + ], + [ + -0.1095, + -0.006, + -0.1744 + ], + [ + -0.0048, + 0.108, + 0.1744 + ], + [ + -0.0048, + 0.108, + -0.1744 + ] + ], + "extents": [ + 0.2188, + 0.2188, + 0.3489 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "size": [ + 0.18089972714695587, + 0.1808998165831644, + 0.349 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": { + "handle_support_point": { + "frame": [ + [ + 0.055, + 0.0, + -0.01, + 0.9817933219112157, + 0.0, + -0.18995229151168458, + 0.0 + ], + [ + -0.05, + -0.002, + -0.012, + 5.99053534321197e-17, + 0.20705801694903805, + -1.2678646884721893e-17, + 0.9783286654377106 + ], + [ + 0.0, + -0.055, + 0.075, + 0.6941152380128943, + -0.13492233454214742, + -0.13492233454214744, + -0.6941152380128942 + ], + [ + 0.0, + 0.05, + 0.07, + 0.6861026878060833, + 0.17106461289602903, + -0.17106461289602906, + 0.6861026878060832 + ], + [ + 0.045, + 0.0, + 0.15, + 0.9659258262890683, + 0.0, + -0.25881904510252074, + 0.0 + ], + [ + -0.045, + 0.0, + 0.155, + 6.010732940826067e-17, + 0.1908089953765448, + -1.1683681271820385e-17, + 0.981627183447664 + ] + ] + } + }, + "support": {} + }, + "description": [ + "smartphone built from tempered glass screen", + "tempered glass screen object used for making calls", + "smartphone featuring rubberized grip build", + "smartphone with 5.8 inches tall dimensions", + "taking photos with cell phone", + "rectangular slab object made of tempered glass screen", + "slim profile dark gray accents rubberized grip rectangular slab object", + "smartphone featuring flat front with slight curve shape", + "cell phone with slim profile dimensions", + "rubberized grip object for sending messages", + "rounded corners object used for sending messages", + "iPhone commonly found in 5.8 inches tall size", + "rounded corners tempered glass screen smartphone for sending messages", + "subtle blue LED glow tempered glass screen rounded corners object", + "pocket-sized rectangular slab cell phone for sending messages", + "matte black 5.8 inches tall flat front with slight curve iPhone", + "rubberized grip dark gray accents iPhone", + "brushed aluminum object used for taking photos", + "iPhone appropriate for taking photos use", + "rubberized grip matte black cell phone", + "smartphone typically made of rubberized grip", + "matte black 5.8 inches tall rectangular slab iPhone", + "iPhone for making calls tasks", + "rubberized grip object used for sending messages", + "smartphone in 5.8 inches tall", + "iPhone with brushed aluminum body", + "rubberized grip iPhone for taking photos", + "rubberized grip cell phone used for taking photos", + "smartphone with subtle blue LED glow exterior", + "smartphone appropriate for sending messages use", + "cell phone intended for taking photos", + "flat front with slight curve smartphone ideal for sending messages", + "smartphone made from rubberized grip", + "slim profile matte black rounded corners object", + "flat front with slight curve object made of brushed aluminum", + "slim profile rubberized grip cell phone", + "rounded corners tempered glass screen object for taking photos", + "pocket-sized subtle blue LED glow rounded corners for sending messages", + "tempered glass screen flat front with slight curve for sending messages", + "pocket-sized matte black rectangular slab object", + "smartphone for sending messages scenarios", + "iPhone shaped like a rounded corners", + "cell phone for sending messages activities", + "iPhone suitable for sending messages", + "dark gray accents 5.8 inches tall cell phone for sending messages", + "flat front with slight curve object made of rubberized grip", + "iPhone intended for sending messages", + "dark gray accents brushed aluminum rounded corners object", + "brushed aluminum iPhone for sending messages", + "pocket-sized rubberized grip smartphone", + "cell phone featuring tempered glass screen build", + "slim profile tempered glass screen cell phone for sending messages", + "iPhone made from rubberized grip", + "slim profile rectangular slab object", + "pocket-sized brushed aluminum object", + "slim profile dark gray accents rubberized grip cell phone", + "matte black iPhone typically used for making calls", + "smartphone commonly featuring rubberized grip", + "cell phone appropriate for taking photos use", + "subtle blue LED glow slim profile iPhone for making calls", + "matte black rectangular slab smartphone", + "rounded corners tempered glass screen smartphone for taking photos", + "rubberized grip matte black smartphone", + "smartphone built from brushed aluminum", + "iPhone in flat front with slight curve form", + "cell phone with rubberized grip body", + "smartphone sized as pocket-sized", + "pocket-sized brushed aluminum smartphone", + "dark gray accents smartphone used for making calls", + "iPhone colored matte black", + "cell phone shaped like a rectangular slab", + "making calls use of cell phone", + "iPhone with pocket-sized dimensions", + "flat front with slight curve rubberized grip cell phone for making calls", + "smartphone for making calls with rubberized grip", + "slim profile object used for making calls", + "iPhone for making calls with brushed aluminum", + "slim profile dark gray accents brushed aluminum rectangular slab object", + "cell phone with dark gray accents exterior", + "iPhone with flat front with slight curve geometry", + "dark gray accents flat front with slight curve cell phone used for making calls", + "rubberized grip rounded corners smartphone", + "iPhone commonly used for taking photos", + "iPhone colored dark gray accents", + "brushed aluminum object used for sending messages", + "tempered glass screen cell phone for taking photos", + "tempered glass screen cell phone for making calls", + "rubberized grip rounded corners for sending messages", + "cell phone optimized for making calls", + "rounded corners tempered glass screen cell phone for sending messages", + "cell phone with rounded corners profile", + "pocket-sized brushed aluminum cell phone", + "smartphone sized pocket-sized", + "dark gray accents smartphone designed for taking photos", + "pocket-sized subtle blue LED glow rectangular slab object", + "dark gray accents brushed aluminum flat front with slight curve cell phone", + "iPhone featuring rectangular slab shape", + "matte black brushed aluminum flat front with slight curve object", + "brushed aluminum dark gray accents smartphone", + "matte black tempered glass screen flat front with slight curve smartphone" + ], + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "function": [ + "making calls", + "sending messages", + "taking photos" + ], + "material": [ + "brushed aluminum", + "tempered glass screen", + "rubberized grip" + ], + "name": [ + "smartphone", + "iPhone", + "cell phone" + ], + "shape": [ + "rectangular slab", + "rounded corners", + "flat front with slight curve" + ], + "size": [ + "pocket-sized", + "5.8 inches tall", + "slim profile" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/cup_holder/00001/metadata.json b/Objects/RoboDojo/Geometry/cup_holder/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..732048fa724a53dd158d21bfed0f5e014a74ee50 --- /dev/null +++ b/Objects/RoboDojo/Geometry/cup_holder/00001/metadata.json @@ -0,0 +1,309 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0703, + -0.0703, + -0.1527 + ], + [ + -0.0703, + -0.0703, + 0.1527 + ], + [ + -0.0703, + 0.0703, + -0.1527 + ], + [ + -0.0703, + 0.0703, + 0.1527 + ], + [ + 0.0703, + -0.0703, + -0.1527 + ], + [ + 0.0703, + -0.0703, + 0.1527 + ], + [ + 0.0703, + 0.0703, + -0.1527 + ], + [ + 0.0703, + 0.0703, + 0.1527 + ] + ], + "extents": [ + 0.1405, + 0.1405, + 0.3054 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0882, + -0.0037, + -0.1527 + ], + [ + -0.0882, + -0.0037, + 0.1527 + ], + [ + -0.0037, + 0.0882, + -0.1527 + ], + [ + -0.0037, + 0.0882, + 0.1527 + ], + [ + 0.0037, + -0.0882, + -0.1527 + ], + [ + 0.0037, + -0.0882, + 0.1527 + ], + [ + 0.0882, + 0.0037, + -0.1527 + ], + [ + 0.0882, + 0.0037, + 0.1527 + ] + ], + "extents": [ + 0.1764, + 0.1764, + 0.3054 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "size": [ + 0.1402950868177179, + 0.14029510169713125, + 0.305 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": { + "handle_support_point": { + "frame": [ + [ + 0.035, + 0.0, + -0.005, + 0.9702957262759965, + 0.0, + -0.24192189559966773, + 0.0 + ], + [ + -0.04, + 0.0, + 0.0, + 6.010732940826067e-17, + -0.1908089953765448, + -1.1683681271820385e-17, + -0.981627183447664 + ], + [ + 0.0, + -0.04, + 0.07, + 0.6941152380128943, + -0.13492233454214742, + -0.13492233454214744, + -0.6941152380128942 + ], + [ + 0.0, + 0.035, + 0.065, + 0.6941152380128943, + 0.13492233454214742, + -0.13492233454214744, + 0.6941152380128942 + ], + [ + -0.04, + 0.0, + 0.138, + 6.010732940826067e-17, + 0.1908089953765448, + -1.1683681271820385e-17, + 0.981627183447664 + ], + [ + 0.04, + 0.0, + 0.138, + 0.981627183447664, + 0.0, + -0.1908089953765448, + 0.0 + ] + ] + } + }, + "support": {} + }, + "description": [ + "palm-sized tactical light used for illuminating dark areas", + "LED torch commonly found in palm-sized size", + "matte black LED torch suitable for close-range task lighting", + "dark gray accents palm-sized LED torch for illuminating dark areas", + "LED torch designed for emergency signaling", + "dark gray accents rubberized grip LED torch", + "palm-sized brushed aluminum LED torch", + "tactical light suitable for close-range task lighting", + "palm-sized LED torch perfect for close-range task lighting", + "tactical light with flat tail cap profile", + "brushed aluminum flat tail cap for close-range task lighting", + "tactical light with matte black exterior", + "slim profile brushed aluminum object", + "flashlight commonly featuring rubberized grip", + "dark gray accents brushed aluminum LED torch", + "dark gray accents tactical light designed for illuminating dark areas", + "LED torch built from rubberized grip", + "slightly tapered head flashlight used for emergency signaling", + "matte black brushed aluminum flat tail cap tactical light", + "about 4 inches long LED torch used for emergency signaling", + "about 4 inches long flat tail cap object", + "matte black rubberized grip flat tail cap object", + "tactical light with dark gray accents exterior", + "about 4 inches long matte black object for illuminating dark areas", + "about 4 inches long object used for emergency signaling", + "LED torch primarily used for emergency signaling", + "matte black rubberized grip tactical light", + "flashlight in matte black", + "brushed aluminum tactical light used for illuminating dark areas", + "palm-sized flat tail cap object for close-range task lighting", + "LED torch ideal for emergency signaling", + "LED torch commonly used for close-range task lighting", + "slim profile matte black flat tail cap for emergency signaling", + "flat tail cap LED torch used for illuminating dark areas", + "rubberized grip matte black flashlight", + "flat tail cap rubberized grip LED torch for emergency signaling", + "brushed aluminum tactical light", + "LED torch commonly used for emergency signaling", + "tactical light intended for emergency signaling usage", + "flashlight suitable for emergency signaling", + "tactical light in slightly tapered head", + "flat tail cap brushed aluminum flashlight for close-range task lighting", + "tactical light featuring brushed aluminum build", + "flashlight with flat tail cap geometry", + "flashlight in slim profile", + "matte black brushed aluminum cylindrical body object", + "tactical light for illuminating dark areas", + "matte black object used for close-range task lighting", + "flashlight in cylindrical body form", + "matte black object used for emergency signaling", + "about 4 inches long brushed aluminum tactical light for emergency signaling", + "tactical light for close-range task lighting", + "flashlight for emergency signaling", + "slim profile rubberized grip object", + "matte black rubberized grip slightly tapered head object", + "matte black slightly tapered head object for close-range task lighting", + "flashlight in cylindrical body", + "flat tail cap brushed aluminum object for emergency signaling", + "LED torch for close-range task lighting with rubberized grip", + "brushed aluminum LED torch for emergency signaling", + "matte black cylindrical body object for close-range task lighting", + "LED torch in slightly tapered head", + "cylindrical body object made of rubberized grip", + "LED torch built from brushed aluminum", + "brushed aluminum tactical light used for emergency signaling", + "palm-sized tactical light used for emergency signaling", + "slim profile rubberized grip tactical light for emergency signaling", + "slim profile rubberized grip flat tail cap for close-range task lighting", + "rubberized grip tactical light for close-range task lighting", + "dark gray accents rubberized grip cylindrical body object", + "slightly tapered head LED torch ideal for illuminating dark areas", + "slightly tapered head object used for illuminating dark areas", + "slim profile brushed aluminum LED torch for emergency signaling", + "matte black rubberized grip flashlight", + "brushed aluminum tactical light suitable for emergency signaling", + "rubberized grip object used for illuminating dark areas", + "about 4 inches long rubberized grip tactical light for emergency signaling", + "matte black flat tail cap object for close-range task lighting", + "flashlight made from brushed aluminum", + "flat tail cap brushed aluminum object for illuminating dark areas", + "rubberized grip slightly tapered head object used for illuminating dark areas", + "tactical light appropriate for illuminating dark areas", + "flat tail cap object made of rubberized grip", + "LED torch optimized for emergency signaling", + "illuminating dark areas with tactical light", + "brushed aluminum cylindrical body for close-range task lighting", + "flat tail cap slim profile LED torch", + "LED torch for close-range task lighting activities", + "about 4 inches long cylindrical body object for emergency signaling", + "matte black flat tail cap tactical light used for close-range task lighting", + "palm-sized slightly tapered head object for illuminating dark areas", + "rubberized grip slightly tapered head LED torch", + "LED torch with flat tail cap profile", + "matte black brushed aluminum slightly tapered head LED torch", + "dark gray accents brushed aluminum flat tail cap LED torch", + "tactical light for emergency signaling use", + "palm-sized brushed aluminum slightly tapered head for illuminating dark areas", + "brushed aluminum tactical light suitable for close-range task lighting", + "flashlight for close-range task lighting", + "about 4 inches long dark gray accents flat tail cap for illuminating dark areas" + ], + "caption": { + "color": [ + "matte black", + "dark gray accents" + ], + "function": [ + "illuminating dark areas", + "emergency signaling", + "close-range task lighting" + ], + "material": [ + "brushed aluminum", + "rubberized grip" + ], + "name": [ + "flashlight", + "tactical light", + "LED torch" + ], + "shape": [ + "cylindrical body", + "flat tail cap", + "slightly tapered head" + ], + "size": [ + "palm-sized", + "about 4 inches long", + "slim profile" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/egg_basket/00000/metadata.json b/Objects/RoboDojo/Geometry/egg_basket/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..9e2ad3dcae758f242cae77f64cb8f80d8e9193e9 --- /dev/null +++ b/Objects/RoboDojo/Geometry/egg_basket/00000/metadata.json @@ -0,0 +1,269 @@ +{ + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.276, + 0.276, + 0.11 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1098, + -0.1096, + -0.0442 + ], + [ + -0.1098, + -0.1096, + 0.0432 + ], + [ + -0.1098, + 0.1098, + -0.0442 + ], + [ + -0.1098, + 0.1098, + 0.0432 + ], + [ + 0.1096, + -0.1096, + -0.0442 + ], + [ + 0.1096, + -0.1096, + 0.0432 + ], + [ + 0.1096, + 0.1098, + -0.0442 + ], + [ + 0.1096, + 0.1098, + 0.0432 + ] + ], + "extents": [ + 0.2194, + 0.2194, + 0.0874 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.048, + 0.1465, + 0.0432 + ], + [ + -0.1465, + 0.0482, + 0.0432 + ], + [ + 0.1463, + -0.048, + 0.0432 + ], + [ + -0.0482, + -0.1462, + 0.0432 + ], + [ + 0.048, + 0.1465, + -0.0442 + ], + [ + -0.1464, + 0.0482, + -0.0443 + ], + [ + 0.1463, + -0.048, + -0.0442 + ], + [ + -0.0482, + -0.1462, + -0.0443 + ] + ], + "extents": [ + 0.2927, + 0.2927, + 0.0875 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "functional": {}, + "support": { + "egg_basket/0": { + "center": [ + [ + 0.0, + 0.0, + -0.046, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.085 + ] + } + } + }, + "description": [ + "woven basket bowl typically made of natural fiber", + "fits in one hand natural fiber woven basket bowl", + "handwoven serving bowl made of woven bamboo", + "reed fruit basket appropriate for decorative table centerpiece", + "woven basket bowl colored darker stained base", + "handwoven serving bowl used to serving snacks", + "handwoven serving bowl colored dark brown rim", + "darker stained base woven basket bowl suitable for holding fruit", + "natural fiber handwoven serving bowl for serving snacks", + "fits in one hand dark brown rim reed fruit basket", + "round shallow bowl natural fiber object for serving snacks", + "fits in one hand natural fiber round shallow bowl for decorative table centerpiece", + "reed fruit basket intended for decorative table centerpiece", + "reed fruit basket commonly used for decorative table centerpiece", + "woven bamboo woven basket bowl", + "handwoven serving bowl in about 6 inches across", + "small bowl size handwoven serving bowl used for serving snacks", + "reed fruit basket with fits in one hand dimensions", + "woven basket bowl with dark brown rim color", + "reed fruit basket with woven bamboo body", + "reed fruit basket made of handcrafted reed", + "handwoven serving bowl featuring handcrafted reed build", + "serving snacks use of handwoven serving bowl", + "handwoven serving bowl for holding fruit", + "woven basket bowl colored light tan woven strips", + "natural fiber round shallow bowl handwoven serving bowl", + "about 6 inches across woven basket bowl perfect for holding fruit", + "handcrafted reed open lattice weave object used for holding fruit", + "about 6 inches across object used for decorative table centerpiece", + "handwoven serving bowl in open lattice weave", + "fits in one hand round shallow bowl woven basket bowl", + "darker stained base about 6 inches across woven bamboo object", + "light tan woven strips object used for serving snacks", + "reed fruit basket with dark brown rim color", + "small bowl size darker stained base reed fruit basket", + "reed fruit basket sized small bowl size", + "woven bamboo round shallow bowl for holding fruit", + "small bowl size flared rim object for holding fruit", + "natural fiber object for decorative table centerpiece", + "woven bamboo object for serving snacks", + "small bowl size flared rim object", + "dark brown rim flared rim reed fruit basket", + "fits in one hand natural fiber handwoven serving bowl for decorative table centerpiece", + "woven basket bowl for decorative table centerpiece tasks", + "handwoven serving bowl with natural fiber body", + "open lattice weave reed fruit basket ideal for holding fruit", + "open lattice weave woven bamboo object for decorative table centerpiece", + "light tan woven strips open lattice weave handwoven serving bowl used for serving snacks", + "reed fruit basket made of natural fiber", + "dark brown rim about 6 inches across handwoven serving bowl for serving snacks", + "natural fiber dark brown rim woven basket bowl", + "woven basket bowl with handcrafted reed surface", + "fits in one hand flared rim handwoven serving bowl", + "light tan woven strips woven basket bowl suitable for holding fruit", + "reed fruit basket for serving snacks with handcrafted reed", + "natural fiber object for serving snacks", + "handwoven serving bowl with dark brown rim exterior", + "fits in one hand darker stained base natural fiber flared rim object", + "round shallow bowl handcrafted reed object for holding fruit", + "handwoven serving bowl ideal for holding fruit", + "reed fruit basket typically made of natural fiber", + "light tan woven strips handwoven serving bowl for serving snacks", + "woven basket bowl appropriate for holding fruit use", + "reed fruit basket for holding fruit with woven bamboo", + "small bowl size darker stained base object for decorative table centerpiece", + "woven basket bowl commonly used for holding fruit", + "about 6 inches across natural fiber flared rim for holding fruit", + "handwoven serving bowl ideal for serving snacks", + "woven basket bowl in light tan woven strips", + "darker stained base small bowl size open lattice weave reed fruit basket", + "flared rim object made of natural fiber", + "dark brown rim woven basket bowl designed for holding fruit", + "about 6 inches across dark brown rim reed fruit basket", + "handwoven serving bowl with round shallow bowl profile", + "about 6 inches across object used for serving snacks", + "small bowl size flared rim reed fruit basket for serving snacks", + "reed fruit basket optimized for decorative table centerpiece", + "dark brown rim open lattice weave reed fruit basket used for holding fruit", + "reed fruit basket intended for decorative table centerpiece usage", + "woven basket bowl made of woven bamboo", + "woven basket bowl in small bowl size", + "fits in one hand object used for serving snacks", + "woven basket bowl primarily used for serving snacks", + "darker stained base handcrafted reed handwoven serving bowl", + "reed fruit basket for decorative table centerpiece scenarios", + "woven basket bowl with open lattice weave geometry", + "handcrafted reed round shallow bowl object used for decorative table centerpiece", + "woven basket bowl with handcrafted reed body", + "reed fruit basket with handcrafted reed construction", + "woven basket bowl with fits in one hand dimensions", + "handcrafted reed flared rim reed fruit basket", + "dark brown rim flared rim object for decorative table centerpiece", + "handwoven serving bowl built from handcrafted reed", + "about 6 inches across open lattice weave object", + "woven basket bowl with round shallow bowl profile", + "round shallow bowl small bowl size handwoven serving bowl", + "round shallow bowl woven basket bowl ideal for decorative table centerpiece", + "light tan woven strips natural fiber flared rim object", + "light tan woven strips small bowl size natural fiber object", + "about 6 inches across light tan woven strips handcrafted reed flared rim object" + ], + "caption": { + "color": [ + "dark brown rim", + "light tan woven strips", + "darker stained base" + ], + "material": [ + "woven bamboo", + "natural fiber", + "handcrafted reed" + ], + "size": [ + "small bowl size", + "fits in one hand", + "about 6 inches across" + ], + "name": [ + "woven basket bowl", + "reed fruit basket", + "handwoven serving bowl" + ], + "shape": [ + "round shallow bowl", + "flared rim", + "open lattice weave" + ], + "function": [ + "holding fruit", + "serving snacks", + "decorative table centerpiece" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/factory_bolt/00000/metadata.json b/Objects/RoboDojo/Geometry/factory_bolt/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..36280e944dfccbeaaf3c217ca041e5f8ffc22fe4 --- /dev/null +++ b/Objects/RoboDojo/Geometry/factory_bolt/00000/metadata.json @@ -0,0 +1,129 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.018, + -0.0208, + 0.0 + ], + [ + -0.018, + -0.0208, + 0.0525 + ], + [ + -0.018, + 0.0208, + 0.0 + ], + [ + -0.018, + 0.0208, + 0.0525 + ], + [ + 0.018, + -0.0208, + 0.0 + ], + [ + 0.018, + -0.0208, + 0.0525 + ], + [ + 0.018, + 0.0208, + 0.0 + ], + [ + 0.018, + 0.0208, + 0.0525 + ] + ], + "extents": [ + 0.036, + 0.0415, + 0.0525 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.018, + 0.0208, + 0.0525 + ], + [ + -0.018, + 0.0208, + 0.0 + ], + [ + -0.018, + -0.0208, + 0.0525 + ], + [ + -0.018, + -0.0208, + 0.0 + ], + [ + 0.018, + 0.0208, + 0.0525 + ], + [ + 0.018, + 0.0208, + 0.0 + ], + [ + 0.018, + -0.0208, + 0.0525 + ], + [ + 0.018, + -0.0208, + 0.0 + ] + ], + "extents": [ + 0.036, + 0.0415, + 0.0525 + ] + } + }, + "active": {}, + "physics": { + "mass": 0.05, + "friction": 0.25, + "size": [ + 0.036, + 0.0415, + 0.0525 + ] + }, + "passive": { + "functional": { + "be_placed": { + "frame": [ + [ + -0.0, + 0.0, + 0.0525, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Geometry/factory_bolt/00001/metadata.json b/Objects/RoboDojo/Geometry/factory_bolt/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..36280e944dfccbeaaf3c217ca041e5f8ffc22fe4 --- /dev/null +++ b/Objects/RoboDojo/Geometry/factory_bolt/00001/metadata.json @@ -0,0 +1,129 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.018, + -0.0208, + 0.0 + ], + [ + -0.018, + -0.0208, + 0.0525 + ], + [ + -0.018, + 0.0208, + 0.0 + ], + [ + -0.018, + 0.0208, + 0.0525 + ], + [ + 0.018, + -0.0208, + 0.0 + ], + [ + 0.018, + -0.0208, + 0.0525 + ], + [ + 0.018, + 0.0208, + 0.0 + ], + [ + 0.018, + 0.0208, + 0.0525 + ] + ], + "extents": [ + 0.036, + 0.0415, + 0.0525 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.018, + 0.0208, + 0.0525 + ], + [ + -0.018, + 0.0208, + 0.0 + ], + [ + -0.018, + -0.0208, + 0.0525 + ], + [ + -0.018, + -0.0208, + 0.0 + ], + [ + 0.018, + 0.0208, + 0.0525 + ], + [ + 0.018, + 0.0208, + 0.0 + ], + [ + 0.018, + -0.0208, + 0.0525 + ], + [ + 0.018, + -0.0208, + 0.0 + ] + ], + "extents": [ + 0.036, + 0.0415, + 0.0525 + ] + } + }, + "active": {}, + "physics": { + "mass": 0.05, + "friction": 0.25, + "size": [ + 0.036, + 0.0415, + 0.0525 + ] + }, + "passive": { + "functional": { + "be_placed": { + "frame": [ + [ + -0.0, + 0.0, + 0.0525, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Geometry/factory_bolt/00002/metadata.json b/Objects/RoboDojo/Geometry/factory_bolt/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..36280e944dfccbeaaf3c217ca041e5f8ffc22fe4 --- /dev/null +++ b/Objects/RoboDojo/Geometry/factory_bolt/00002/metadata.json @@ -0,0 +1,129 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.018, + -0.0208, + 0.0 + ], + [ + -0.018, + -0.0208, + 0.0525 + ], + [ + -0.018, + 0.0208, + 0.0 + ], + [ + -0.018, + 0.0208, + 0.0525 + ], + [ + 0.018, + -0.0208, + 0.0 + ], + [ + 0.018, + -0.0208, + 0.0525 + ], + [ + 0.018, + 0.0208, + 0.0 + ], + [ + 0.018, + 0.0208, + 0.0525 + ] + ], + "extents": [ + 0.036, + 0.0415, + 0.0525 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.018, + 0.0208, + 0.0525 + ], + [ + -0.018, + 0.0208, + 0.0 + ], + [ + -0.018, + -0.0208, + 0.0525 + ], + [ + -0.018, + -0.0208, + 0.0 + ], + [ + 0.018, + 0.0208, + 0.0525 + ], + [ + 0.018, + 0.0208, + 0.0 + ], + [ + 0.018, + -0.0208, + 0.0525 + ], + [ + 0.018, + -0.0208, + 0.0 + ] + ], + "extents": [ + 0.036, + 0.0415, + 0.0525 + ] + } + }, + "active": {}, + "physics": { + "mass": 0.05, + "friction": 0.25, + "size": [ + 0.036, + 0.0415, + 0.0525 + ] + }, + "passive": { + "functional": { + "be_placed": { + "frame": [ + [ + -0.0, + 0.0, + 0.0525, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Geometry/factory_bolt/00003/metadata.json b/Objects/RoboDojo/Geometry/factory_bolt/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..36280e944dfccbeaaf3c217ca041e5f8ffc22fe4 --- /dev/null +++ b/Objects/RoboDojo/Geometry/factory_bolt/00003/metadata.json @@ -0,0 +1,129 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.018, + -0.0208, + 0.0 + ], + [ + -0.018, + -0.0208, + 0.0525 + ], + [ + -0.018, + 0.0208, + 0.0 + ], + [ + -0.018, + 0.0208, + 0.0525 + ], + [ + 0.018, + -0.0208, + 0.0 + ], + [ + 0.018, + -0.0208, + 0.0525 + ], + [ + 0.018, + 0.0208, + 0.0 + ], + [ + 0.018, + 0.0208, + 0.0525 + ] + ], + "extents": [ + 0.036, + 0.0415, + 0.0525 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.018, + 0.0208, + 0.0525 + ], + [ + -0.018, + 0.0208, + 0.0 + ], + [ + -0.018, + -0.0208, + 0.0525 + ], + [ + -0.018, + -0.0208, + 0.0 + ], + [ + 0.018, + 0.0208, + 0.0525 + ], + [ + 0.018, + 0.0208, + 0.0 + ], + [ + 0.018, + -0.0208, + 0.0525 + ], + [ + 0.018, + -0.0208, + 0.0 + ] + ], + "extents": [ + 0.036, + 0.0415, + 0.0525 + ] + } + }, + "active": {}, + "physics": { + "mass": 0.05, + "friction": 0.25, + "size": [ + 0.036, + 0.0415, + 0.0525 + ] + }, + "passive": { + "functional": { + "be_placed": { + "frame": [ + [ + -0.0, + 0.0, + 0.0525, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Geometry/factory_bolt/00004/metadata.json b/Objects/RoboDojo/Geometry/factory_bolt/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..36280e944dfccbeaaf3c217ca041e5f8ffc22fe4 --- /dev/null +++ b/Objects/RoboDojo/Geometry/factory_bolt/00004/metadata.json @@ -0,0 +1,129 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.018, + -0.0208, + 0.0 + ], + [ + -0.018, + -0.0208, + 0.0525 + ], + [ + -0.018, + 0.0208, + 0.0 + ], + [ + -0.018, + 0.0208, + 0.0525 + ], + [ + 0.018, + -0.0208, + 0.0 + ], + [ + 0.018, + -0.0208, + 0.0525 + ], + [ + 0.018, + 0.0208, + 0.0 + ], + [ + 0.018, + 0.0208, + 0.0525 + ] + ], + "extents": [ + 0.036, + 0.0415, + 0.0525 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.018, + 0.0208, + 0.0525 + ], + [ + -0.018, + 0.0208, + 0.0 + ], + [ + -0.018, + -0.0208, + 0.0525 + ], + [ + -0.018, + -0.0208, + 0.0 + ], + [ + 0.018, + 0.0208, + 0.0525 + ], + [ + 0.018, + 0.0208, + 0.0 + ], + [ + 0.018, + -0.0208, + 0.0525 + ], + [ + 0.018, + -0.0208, + 0.0 + ] + ], + "extents": [ + 0.036, + 0.0415, + 0.0525 + ] + } + }, + "active": {}, + "physics": { + "mass": 0.05, + "friction": 0.25, + "size": [ + 0.036, + 0.0415, + 0.0525 + ] + }, + "passive": { + "functional": { + "be_placed": { + "frame": [ + [ + -0.0, + 0.0, + 0.0525, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Geometry/headset_stand/00000/metadata.json b/Objects/RoboDojo/Geometry/headset_stand/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ddfd9cc9c80be5468a131511734bb0cd6703d32a --- /dev/null +++ b/Objects/RoboDojo/Geometry/headset_stand/00000/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.85, + "friction": 0.45, + "size": [ + 0.178355014162335, + 0.10429502245117392, + 0.275 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0893, + -0.052, + -0.1375 + ], + [ + -0.0893, + -0.052, + 0.1375 + ], + [ + -0.0893, + 0.0523, + -0.1375 + ], + [ + -0.0893, + 0.0523, + 0.1375 + ], + [ + 0.089, + -0.052, + -0.1375 + ], + [ + 0.089, + -0.052, + 0.1375 + ], + [ + 0.089, + 0.0523, + -0.1375 + ], + [ + 0.089, + 0.0523, + 0.1375 + ] + ], + "extents": [ + 0.1784, + 0.1043, + 0.275 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.089, + 0.0523, + 0.1375 + ], + [ + 0.089, + 0.0522, + -0.1375 + ], + [ + -0.0893, + 0.0523, + 0.1375 + ], + [ + -0.0893, + 0.0522, + -0.1375 + ], + [ + 0.089, + -0.0519, + 0.1375 + ], + [ + 0.089, + -0.052, + -0.1375 + ], + [ + -0.0893, + -0.0519, + 0.1375 + ], + [ + -0.0893, + -0.052, + -0.1375 + ] + ], + "extents": [ + 0.1784, + 0.1044, + 0.2751 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "functional": { + "support_cradle": { + "frame": [ + [ + 0.0, + 0.007, + 0.122, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + }, + "support": {} + }, + "description": [ + "earphone holder in vertical support post", + "desktop headphone rack designed for holding headphones upright", + "dark brown wood rectangular base with raised edges desktop headphone rack used for holding headphones upright", + "painted metal vertical support post headset stand", + "brushed silver metal roughly 8 inches tall earphone holder for organizing audio gear", + "brushed silver metal earphone holder for keeping headsets off the desk", + "headset stand used to holding headphones upright", + "earphone holder for organizing audio gear", + "earphone holder appropriate for keeping headsets off the desk", + "desktop headphone rack featuring painted metal build", + "U-shaped cradle roughly 8 inches tall desktop headphone rack", + "brushed silver metal object used for holding headphones upright", + "brushed silver metal U-shaped cradle headset stand used for holding headphones upright", + "roughly 8 inches tall black matte stem U-shaped cradle object", + "headset stand intended for keeping headsets off the desk usage", + "polished wood object for keeping headsets off the desk", + "desk-sized black matte stem desktop headphone rack", + "earphone holder optimized for keeping headsets off the desk", + "headset stand typically made of painted metal", + "organizing audio gear use of desktop headphone rack", + "earphone holder with dark brown wood color", + "compact footprint dark brown wood vertical support post object", + "desktop headphone rack intended for holding headphones upright usage", + "earphone holder intended for holding headphones upright", + "black matte stem desk-sized brushed aluminum object", + "earphone holder for holding headphones upright scenarios", + "dark brown wood brushed aluminum desktop headphone rack", + "headset stand designed for organizing audio gear", + "earphone holder made from polished wood", + "desktop headphone rack in U-shaped cradle form", + "brushed silver metal object used for keeping headsets off the desk", + "black matte stem desktop headphone rack typically used for organizing audio gear", + "earphone holder with polished wood construction", + "headset stand intended for keeping headsets off the desk", + "headset stand appropriate for keeping headsets off the desk", + "roughly 8 inches tall brushed silver metal headset stand", + "dark brown wood object used for holding headphones upright", + "earphone holder with desk-sized dimensions", + "desktop headphone rack in vertical support post", + "earphone holder with painted metal construction", + "brushed aluminum vertical support post headset stand", + "compact footprint object used for holding headphones upright", + "headset stand in black matte stem", + "headset stand shaped like a U-shaped cradle", + "headset stand made of painted metal", + "vertical support post painted metal desktop headphone rack for keeping headsets off the desk", + "desk-sized dark brown wood vertical support post object", + "dark brown wood desk-sized desktop headphone rack for holding headphones upright", + "compact footprint headset stand used for organizing audio gear", + "headset stand with U-shaped cradle profile", + "roughly 8 inches tall desktop headphone rack for organizing audio gear", + "earphone holder sized roughly 8 inches tall", + "dark brown wood roughly 8 inches tall headset stand for keeping headsets off the desk", + "black matte stem desk-sized headset stand for holding headphones upright", + "headset stand for organizing audio gear activities", + "brushed aluminum earphone holder for holding headphones upright", + "dark brown wood vertical support post desktop headphone rack", + "rectangular base with raised edges-shaped headset stand", + "roughly 8 inches tall brushed silver metal polished wood U-shaped cradle object", + "desktop headphone rack with rectangular base with raised edges geometry", + "vertical support post earphone holder for keeping headsets off the desk", + "headset stand in vertical support post form", + "black matte stem painted metal vertical support post object", + "dark brown wood compact footprint desktop headphone rack for organizing audio gear", + "headset stand typically made of polished wood", + "desktop headphone rack used to organizing audio gear", + "headset stand designed for holding headphones upright", + "U-shaped cradle painted metal object for holding headphones upright", + "headset stand commonly used for organizing audio gear", + "roughly 8 inches tall brushed aluminum object", + "headset stand in U-shaped cradle form", + "painted metal earphone holder used for holding headphones upright", + "headset stand sized as roughly 8 inches tall", + "headset stand in vertical support post", + "desktop headphone rack for organizing audio gear activities", + "headset stand in rectangular base with raised edges", + "U-shaped cradle object used for holding headphones upright", + "polished wood U-shaped cradle headset stand", + "earphone holder intended for organizing audio gear usage", + "organizing audio gear use of earphone holder", + "desktop headphone rack with desk-sized dimensions", + "painted metal rectangular base with raised edges earphone holder", + "desktop headphone rack with painted metal surface", + "headset stand featuring painted metal build", + "headset stand commonly featuring painted metal", + "rectangular base with raised edges earphone holder ideal for organizing audio gear", + "desktop headphone rack made of polished wood", + "compact footprint painted metal earphone holder", + "desk-sized brushed silver metal brushed aluminum earphone holder", + "headset stand made from polished wood", + "black matte stem object used for holding headphones upright", + "dark brown wood painted metal vertical support post object", + "vertical support post roughly 8 inches tall desktop headphone rack", + "dark brown wood object used for organizing audio gear", + "earphone holder appropriate for keeping headsets off the desk use", + "roughly 8 inches tall headset stand for keeping headsets off the desk", + "dark brown wood U-shaped cradle earphone holder used for holding headphones upright", + "black matte stem desktop headphone rack used for holding headphones upright", + "desktop headphone rack colored black matte stem", + "headset stand commonly featuring brushed aluminum" + ], + "caption": { + "color": [ + "dark brown wood", + "brushed silver metal", + "black matte stem" + ], + "material": [ + "polished wood", + "brushed aluminum", + "painted metal" + ], + "size": [ + "desk-sized", + "roughly 8 inches tall", + "compact footprint" + ], + "name": [ + "headset stand", + "earphone holder", + "desktop headphone rack" + ], + "shape": [ + "U-shaped cradle", + "vertical support post", + "rectangular base with raised edges" + ], + "function": [ + "holding headphones upright", + "keeping headsets off the desk", + "organizing audio gear" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/key_slot/00000/metadata.json b/Objects/RoboDojo/Geometry/key_slot/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..90966244421ce7b7074ddac2ea9cf0803519a69b --- /dev/null +++ b/Objects/RoboDojo/Geometry/key_slot/00000/metadata.json @@ -0,0 +1,132 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.05, + -0.05, + 0.0 + ], + [ + -0.05, + -0.05, + 0.055 + ], + [ + -0.05, + 0.05, + 0.0 + ], + [ + -0.05, + 0.05, + 0.055 + ], + [ + 0.05, + -0.05, + 0.0 + ], + [ + 0.05, + -0.05, + 0.055 + ], + [ + 0.05, + 0.05, + 0.0 + ], + [ + 0.05, + 0.05, + 0.055 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.055 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0621, + 0.0332, + 0.0 + ], + [ + 0.0332, + 0.0621, + 0.0 + ], + [ + -0.0332, + -0.0621, + 0.0 + ], + [ + 0.0621, + -0.0332, + 0.0 + ], + [ + -0.0621, + 0.0332, + 0.055 + ], + [ + 0.0332, + 0.0621, + 0.055 + ], + [ + -0.0332, + -0.0621, + 0.055 + ], + [ + 0.0621, + -0.0332, + 0.055 + ] + ], + "extents": [ + 0.1241, + 0.1241, + 0.055 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "size": [ + 0.09999999525872173, + 0.09999999525872173, + 0.055 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": { + "key_slot": { + "frame": [ + [ + -0.002, + -0.0, + 0.096, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + }, + "support": {} + } +} diff --git a/Objects/RoboDojo/Geometry/laptop_stand/00001/metadata.json b/Objects/RoboDojo/Geometry/laptop_stand/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..40cf3f0ee724782927c8fbf99101df634b99235d --- /dev/null +++ b/Objects/RoboDojo/Geometry/laptop_stand/00001/metadata.json @@ -0,0 +1,267 @@ +{ + "physics": { + "mass": 0.85, + "friction": 1.0, + "size": [ + 0.3172, + 0.1269, + 0.056 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1538, + -0.0613, + -0.0393 + ], + [ + -0.1538, + -0.0613, + 0.0388 + ], + [ + -0.1538, + 0.0616, + -0.0393 + ], + [ + -0.1538, + 0.0616, + 0.0388 + ], + [ + 0.1534, + -0.0613, + -0.0393 + ], + [ + 0.1534, + -0.0613, + 0.0388 + ], + [ + 0.1534, + 0.0616, + -0.0393 + ], + [ + 0.1534, + 0.0616, + 0.0388 + ] + ], + "extents": [ + 0.3072, + 0.1229, + 0.0781 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.1538, + -0.0613, + 0.0388 + ], + [ + 0.1534, + -0.0613, + 0.0388 + ], + [ + -0.1538, + 0.0616, + 0.0388 + ], + [ + 0.1534, + 0.0616, + 0.0388 + ], + [ + -0.1538, + -0.0613, + -0.0393 + ], + [ + 0.1535, + -0.0613, + -0.0392 + ], + [ + -0.1538, + 0.0616, + -0.0393 + ], + [ + 0.1535, + 0.0616, + -0.0392 + ] + ], + "extents": [ + 0.3072, + 0.1229, + 0.0781 + ] + } + }, + "active": {}, + "passive": { + "functional": {}, + "support": { + "laptop_stand/0": { + "center": [ + [ + -0.0, + 0.0, + 0.03, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.15 + ] + } + } + }, + "description": [ + "monitor riser used to creating space under for storage", + "desk elevating tray featuring plastic build", + "desk elevating tray commonly featuring smooth rigid surface", + "open ends with cutouts object made of smooth rigid surface", + "smooth rigid surface laptop stand suitable for improving screen height for ergonomics", + "injection-molded polymer laptop stand suitable for elevating a laptop or monitor", + "desk elevating tray colored dark gray underside", + "dark gray underside desktop scale open ends with cutouts laptop stand", + "laptop stand in U-shaped side supports form", + "matte black open ends with cutouts desk elevating tray", + "matte black smooth rigid surface U-shaped side supports monitor riser", + "smooth rigid surface U-shaped side supports for elevating a laptop or monitor", + "monitor riser for elevating a laptop or monitor tasks", + "injection-molded polymer laptop stand suitable for creating space under for storage", + "monitor riser colored matte black", + "desktop scale rectangular slab monitor riser for elevating a laptop or monitor", + "injection-molded polymer desk elevating tray used for improving screen height for ergonomics", + "slight sheen on top smooth rigid surface open ends with cutouts object", + "U-shaped side supports-shaped desk elevating tray", + "desk elevating tray commonly found in fits under a laptop size", + "dark gray underside monitor riser suitable for creating space under for storage", + "laptop stand designed for improving screen height for ergonomics", + "longer than wide laptop stand used for creating space under for storage", + "monitor riser with rectangular slab geometry", + "laptop stand suitable for elevating a laptop or monitor", + "matte black monitor riser for elevating a laptop or monitor", + "improving screen height for ergonomics use of desk elevating tray", + "slight sheen on top monitor riser designed for creating space under for storage", + "desk elevating tray appropriate for creating space under for storage", + "rectangular slab laptop stand ideal for elevating a laptop or monitor", + "laptop stand shaped like a open ends with cutouts", + "monitor riser sized as fits under a laptop", + "smooth rigid surface open ends with cutouts for elevating a laptop or monitor", + "laptop stand commonly featuring smooth rigid surface", + "monitor riser featuring injection-molded polymer build", + "laptop stand sized as fits under a laptop", + "plastic desk elevating tray used for creating space under for storage", + "plastic monitor riser suitable for improving screen height for ergonomics", + "rectangular slab object made of injection-molded polymer", + "longer than wide desk elevating tray for elevating a laptop or monitor", + "desk elevating tray commonly used for elevating a laptop or monitor", + "desktop scale slight sheen on top injection-molded polymer laptop stand", + "injection-molded polymer laptop stand used for creating space under for storage", + "laptop stand sized fits under a laptop", + "slight sheen on top injection-molded polymer U-shaped side supports object", + "laptop stand ideal for improving screen height for ergonomics", + "slight sheen on top open ends with cutouts laptop stand", + "longer than wide dark gray underside object for creating space under for storage", + "desktop scale matte black open ends with cutouts object", + "desk elevating tray built from injection-molded polymer", + "monitor riser made of smooth rigid surface", + "fits under a laptop injection-molded polymer monitor riser", + "rectangular slab plastic desk elevating tray for elevating a laptop or monitor", + "laptop stand commonly found in longer than wide size", + "matte black fits under a laptop U-shaped side supports desk elevating tray", + "monitor riser built from plastic", + "monitor riser commonly used for creating space under for storage", + "desktop scale injection-molded polymer U-shaped side supports for improving screen height for ergonomics", + "plastic object for creating space under for storage", + "monitor riser appropriate for improving screen height for ergonomics", + "U-shaped side supports monitor riser used for improving screen height for ergonomics", + "slight sheen on top desk elevating tray used for creating space under for storage", + "injection-molded polymer monitor riser", + "injection-molded polymer rectangular slab for elevating a laptop or monitor", + "fits under a laptop matte black U-shaped side supports object", + "monitor riser for improving screen height for ergonomics tasks", + "smooth rigid surface dark gray underside monitor riser", + "laptop stand with plastic body", + "desk elevating tray for improving screen height for ergonomics", + "dark gray underside monitor riser typically used for improving screen height for ergonomics", + "dark gray underside plastic rectangular slab laptop stand", + "desktop scale smooth rigid surface rectangular slab for creating space under for storage", + "plastic object used for creating space under for storage", + "desk elevating tray for elevating a laptop or monitor with injection-molded polymer", + "open ends with cutouts smooth rigid surface laptop stand for elevating a laptop or monitor", + "slight sheen on top object used for creating space under for storage", + "longer than wide rectangular slab monitor riser", + "longer than wide U-shaped side supports object", + "rectangular slab monitor riser for creating space under for storage", + "creating space under for storage use of monitor riser", + "plastic desk elevating tray for creating space under for storage", + "open ends with cutouts object made of injection-molded polymer", + "injection-molded polymer laptop stand used for improving screen height for ergonomics", + "injection-molded polymer desk elevating tray", + "longer than wide monitor riser used for elevating a laptop or monitor", + "desktop scale plastic U-shaped side supports for improving screen height for ergonomics", + "smooth rigid surface object used for elevating a laptop or monitor", + "desktop scale matte black laptop stand", + "dark gray underside rectangular slab monitor riser", + "open ends with cutouts smooth rigid surface laptop stand for creating space under for storage", + "laptop stand for creating space under for storage", + "desk elevating tray with smooth rigid surface construction", + "desk elevating tray in longer than wide", + "slight sheen on top smooth rigid surface rectangular slab laptop stand", + "desk elevating tray sized as longer than wide", + "rectangular slab-shaped desk elevating tray", + "dark gray underside desk elevating tray for elevating a laptop or monitor", + "matte black object used for improving screen height for ergonomics", + "fits under a laptop rectangular slab monitor riser", + "monitor riser for elevating a laptop or monitor with plastic" + ], + "caption": { + "color": [ + "matte black", + "dark gray underside", + "slight sheen on top" + ], + "material": [ + "plastic", + "injection-molded polymer", + "smooth rigid surface" + ], + "size": [ + "desktop scale", + "longer than wide", + "fits under a laptop" + ], + "name": [ + "laptop stand", + "monitor riser", + "desk elevating tray" + ], + "shape": [ + "rectangular slab", + "U-shaped side supports", + "open ends with cutouts" + ], + "function": [ + "elevating a laptop or monitor", + "improving screen height for ergonomics", + "creating space under for storage" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/number_card/00001/metadata.json b/Objects/RoboDojo/Geometry/number_card/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..842fd2ce2d065c23dd2f21073c5556fdb2ebf3f3 --- /dev/null +++ b/Objects/RoboDojo/Geometry/number_card/00001/metadata.json @@ -0,0 +1,239 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + 0.0031 + ], + [ + 0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + } + }, + "active": {}, + "description": [ + "drink coaster in small square", + "palm-sized square viewed at angle object for holding cups steady", + "smooth polymer drink coaster for protecting surfaces from drink condensation", + "coaster commonly used for protecting surfaces from drink condensation", + "thin profile rounded corners object", + "thin profile coaster used for keeping tables dry", + "matte plastic object for protecting surfaces from drink condensation", + "thin profile object used for protecting surfaces from drink condensation", + "drink coaster made from matte plastic", + "matte plastic drink coaster used for holding cups steady", + "rounded corners object used for holding cups steady", + "thin profile diamond orientation object", + "drink coaster with diamond orientation profile", + "dark gray smooth polymer table protector", + "drink coaster in palm-sized", + "drink coaster intended for protecting surfaces from drink condensation usage", + "smooth polymer dark gray coaster", + "drink coaster made of smooth polymer", + "dark gray coaster typically used for protecting surfaces from drink condensation", + "table protector sized as small square", + "small square dark gray square viewed at angle for keeping tables dry", + "thin profile table protector used for holding cups steady", + "coaster made from matte plastic", + "coaster optimized for protecting surfaces from drink condensation", + "dark gray object used for holding cups steady", + "small square object used for protecting surfaces from drink condensation", + "palm-sized dark gray diamond orientation object", + "coaster for holding cups steady scenarios", + "drink coaster optimized for protecting surfaces from drink condensation", + "coaster with palm-sized dimensions", + "dark gray thin profile coaster for protecting surfaces from drink condensation", + "protecting surfaces from drink condensation with coaster", + "table protector in thin profile", + "drink coaster with smooth polymer surface", + "palm-sized dark gray table protector", + "drink coaster designed for keeping tables dry", + "thin profile coaster perfect for keeping tables dry", + "square viewed at angle object used for protecting surfaces from drink condensation", + "table protector in palm-sized", + "table protector featuring diamond orientation shape", + "palm-sized diamond orientation drink coaster for protecting surfaces from drink condensation", + "light gray drink coaster for protecting surfaces from drink condensation", + "diamond orientation object used for protecting surfaces from drink condensation", + "table protector with dark gray color", + "coaster for keeping tables dry", + "rounded corners palm-sized table protector", + "table protector featuring smooth polymer build", + "light gray drink coaster used for keeping tables dry", + "smooth polymer drink coaster used for keeping tables dry", + "matte plastic drink coaster suitable for protecting surfaces from drink condensation", + "light gray object used for protecting surfaces from drink condensation", + "drink coaster made from smooth polymer", + "table protector in light gray", + "table protector for keeping tables dry tasks", + "rounded corners drink coaster ideal for protecting surfaces from drink condensation", + "light gray smooth polymer rounded corners table protector", + "smooth polymer table protector suitable for protecting surfaces from drink condensation", + "thin profile diamond orientation drink coaster for protecting surfaces from drink condensation", + "dark gray coaster for holding cups steady", + "drink coaster shaped like a diamond orientation", + "table protector with diamond orientation geometry", + "table protector for protecting surfaces from drink condensation tasks", + "light gray thin profile table protector for holding cups steady", + "matte plastic square viewed at angle object used for protecting surfaces from drink condensation", + "drink coaster intended for holding cups steady usage", + "table protector made of smooth polymer", + "table protector intended for protecting surfaces from drink condensation usage", + "coaster primarily used for protecting surfaces from drink condensation", + "light gray square viewed at angle object for keeping tables dry", + "palm-sized object used for holding cups steady", + "palm-sized square viewed at angle object", + "palm-sized dark gray coaster", + "table protector in dark gray", + "table protector sized as thin profile", + "rounded corners object used for keeping tables dry", + "palm-sized coaster used for protecting surfaces from drink condensation", + "light gray small square coaster for holding cups steady", + "thin profile light gray diamond orientation for keeping tables dry", + "small square smooth polymer object", + "coaster sized thin profile", + "coaster for keeping tables dry activities", + "dark gray smooth polymer diamond orientation coaster", + "palm-sized dark gray smooth polymer rounded corners object", + "drink coaster suitable for keeping tables dry", + "light gray square viewed at angle drink coaster", + "matte plastic light gray coaster", + "table protector made from matte plastic", + "thin profile matte plastic coaster", + "square viewed at angle small square coaster", + "drink coaster sized small square", + "thin profile smooth polymer coaster", + "table protector commonly featuring smooth polymer", + "small square dark gray rounded corners for keeping tables dry", + "palm-sized diamond orientation object for holding cups steady", + "table protector with rounded corners profile", + "dark gray small square coaster for keeping tables dry", + "table protector built from matte plastic", + "matte plastic object for holding cups steady", + "coaster with dark gray exterior", + "thin profile object used for holding cups steady" + ], + "caption": { + "color": [ + "dark gray", + "light gray" + ], + "material": [ + "matte plastic", + "smooth polymer" + ], + "size": [ + "small square", + "palm-sized", + "thin profile" + ], + "name": [ + "coaster", + "drink coaster", + "table protector" + ], + "shape": [ + "square viewed at angle", + "diamond orientation", + "rounded corners" + ], + "function": [ + "protecting surfaces from drink condensation", + "keeping tables dry", + "holding cups steady" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/number_card/00002/metadata.json b/Objects/RoboDojo/Geometry/number_card/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..842fd2ce2d065c23dd2f21073c5556fdb2ebf3f3 --- /dev/null +++ b/Objects/RoboDojo/Geometry/number_card/00002/metadata.json @@ -0,0 +1,239 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + 0.0031 + ], + [ + 0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + } + }, + "active": {}, + "description": [ + "drink coaster in small square", + "palm-sized square viewed at angle object for holding cups steady", + "smooth polymer drink coaster for protecting surfaces from drink condensation", + "coaster commonly used for protecting surfaces from drink condensation", + "thin profile rounded corners object", + "thin profile coaster used for keeping tables dry", + "matte plastic object for protecting surfaces from drink condensation", + "thin profile object used for protecting surfaces from drink condensation", + "drink coaster made from matte plastic", + "matte plastic drink coaster used for holding cups steady", + "rounded corners object used for holding cups steady", + "thin profile diamond orientation object", + "drink coaster with diamond orientation profile", + "dark gray smooth polymer table protector", + "drink coaster in palm-sized", + "drink coaster intended for protecting surfaces from drink condensation usage", + "smooth polymer dark gray coaster", + "drink coaster made of smooth polymer", + "dark gray coaster typically used for protecting surfaces from drink condensation", + "table protector sized as small square", + "small square dark gray square viewed at angle for keeping tables dry", + "thin profile table protector used for holding cups steady", + "coaster made from matte plastic", + "coaster optimized for protecting surfaces from drink condensation", + "dark gray object used for holding cups steady", + "small square object used for protecting surfaces from drink condensation", + "palm-sized dark gray diamond orientation object", + "coaster for holding cups steady scenarios", + "drink coaster optimized for protecting surfaces from drink condensation", + "coaster with palm-sized dimensions", + "dark gray thin profile coaster for protecting surfaces from drink condensation", + "protecting surfaces from drink condensation with coaster", + "table protector in thin profile", + "drink coaster with smooth polymer surface", + "palm-sized dark gray table protector", + "drink coaster designed for keeping tables dry", + "thin profile coaster perfect for keeping tables dry", + "square viewed at angle object used for protecting surfaces from drink condensation", + "table protector in palm-sized", + "table protector featuring diamond orientation shape", + "palm-sized diamond orientation drink coaster for protecting surfaces from drink condensation", + "light gray drink coaster for protecting surfaces from drink condensation", + "diamond orientation object used for protecting surfaces from drink condensation", + "table protector with dark gray color", + "coaster for keeping tables dry", + "rounded corners palm-sized table protector", + "table protector featuring smooth polymer build", + "light gray drink coaster used for keeping tables dry", + "smooth polymer drink coaster used for keeping tables dry", + "matte plastic drink coaster suitable for protecting surfaces from drink condensation", + "light gray object used for protecting surfaces from drink condensation", + "drink coaster made from smooth polymer", + "table protector in light gray", + "table protector for keeping tables dry tasks", + "rounded corners drink coaster ideal for protecting surfaces from drink condensation", + "light gray smooth polymer rounded corners table protector", + "smooth polymer table protector suitable for protecting surfaces from drink condensation", + "thin profile diamond orientation drink coaster for protecting surfaces from drink condensation", + "dark gray coaster for holding cups steady", + "drink coaster shaped like a diamond orientation", + "table protector with diamond orientation geometry", + "table protector for protecting surfaces from drink condensation tasks", + "light gray thin profile table protector for holding cups steady", + "matte plastic square viewed at angle object used for protecting surfaces from drink condensation", + "drink coaster intended for holding cups steady usage", + "table protector made of smooth polymer", + "table protector intended for protecting surfaces from drink condensation usage", + "coaster primarily used for protecting surfaces from drink condensation", + "light gray square viewed at angle object for keeping tables dry", + "palm-sized object used for holding cups steady", + "palm-sized square viewed at angle object", + "palm-sized dark gray coaster", + "table protector in dark gray", + "table protector sized as thin profile", + "rounded corners object used for keeping tables dry", + "palm-sized coaster used for protecting surfaces from drink condensation", + "light gray small square coaster for holding cups steady", + "thin profile light gray diamond orientation for keeping tables dry", + "small square smooth polymer object", + "coaster sized thin profile", + "coaster for keeping tables dry activities", + "dark gray smooth polymer diamond orientation coaster", + "palm-sized dark gray smooth polymer rounded corners object", + "drink coaster suitable for keeping tables dry", + "light gray square viewed at angle drink coaster", + "matte plastic light gray coaster", + "table protector made from matte plastic", + "thin profile matte plastic coaster", + "square viewed at angle small square coaster", + "drink coaster sized small square", + "thin profile smooth polymer coaster", + "table protector commonly featuring smooth polymer", + "small square dark gray rounded corners for keeping tables dry", + "palm-sized diamond orientation object for holding cups steady", + "table protector with rounded corners profile", + "dark gray small square coaster for keeping tables dry", + "table protector built from matte plastic", + "matte plastic object for holding cups steady", + "coaster with dark gray exterior", + "thin profile object used for holding cups steady" + ], + "caption": { + "color": [ + "dark gray", + "light gray" + ], + "material": [ + "matte plastic", + "smooth polymer" + ], + "size": [ + "small square", + "palm-sized", + "thin profile" + ], + "name": [ + "coaster", + "drink coaster", + "table protector" + ], + "shape": [ + "square viewed at angle", + "diamond orientation", + "rounded corners" + ], + "function": [ + "protecting surfaces from drink condensation", + "keeping tables dry", + "holding cups steady" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/number_card/00003/metadata.json b/Objects/RoboDojo/Geometry/number_card/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..842fd2ce2d065c23dd2f21073c5556fdb2ebf3f3 --- /dev/null +++ b/Objects/RoboDojo/Geometry/number_card/00003/metadata.json @@ -0,0 +1,239 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + 0.0031 + ], + [ + 0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + } + }, + "active": {}, + "description": [ + "drink coaster in small square", + "palm-sized square viewed at angle object for holding cups steady", + "smooth polymer drink coaster for protecting surfaces from drink condensation", + "coaster commonly used for protecting surfaces from drink condensation", + "thin profile rounded corners object", + "thin profile coaster used for keeping tables dry", + "matte plastic object for protecting surfaces from drink condensation", + "thin profile object used for protecting surfaces from drink condensation", + "drink coaster made from matte plastic", + "matte plastic drink coaster used for holding cups steady", + "rounded corners object used for holding cups steady", + "thin profile diamond orientation object", + "drink coaster with diamond orientation profile", + "dark gray smooth polymer table protector", + "drink coaster in palm-sized", + "drink coaster intended for protecting surfaces from drink condensation usage", + "smooth polymer dark gray coaster", + "drink coaster made of smooth polymer", + "dark gray coaster typically used for protecting surfaces from drink condensation", + "table protector sized as small square", + "small square dark gray square viewed at angle for keeping tables dry", + "thin profile table protector used for holding cups steady", + "coaster made from matte plastic", + "coaster optimized for protecting surfaces from drink condensation", + "dark gray object used for holding cups steady", + "small square object used for protecting surfaces from drink condensation", + "palm-sized dark gray diamond orientation object", + "coaster for holding cups steady scenarios", + "drink coaster optimized for protecting surfaces from drink condensation", + "coaster with palm-sized dimensions", + "dark gray thin profile coaster for protecting surfaces from drink condensation", + "protecting surfaces from drink condensation with coaster", + "table protector in thin profile", + "drink coaster with smooth polymer surface", + "palm-sized dark gray table protector", + "drink coaster designed for keeping tables dry", + "thin profile coaster perfect for keeping tables dry", + "square viewed at angle object used for protecting surfaces from drink condensation", + "table protector in palm-sized", + "table protector featuring diamond orientation shape", + "palm-sized diamond orientation drink coaster for protecting surfaces from drink condensation", + "light gray drink coaster for protecting surfaces from drink condensation", + "diamond orientation object used for protecting surfaces from drink condensation", + "table protector with dark gray color", + "coaster for keeping tables dry", + "rounded corners palm-sized table protector", + "table protector featuring smooth polymer build", + "light gray drink coaster used for keeping tables dry", + "smooth polymer drink coaster used for keeping tables dry", + "matte plastic drink coaster suitable for protecting surfaces from drink condensation", + "light gray object used for protecting surfaces from drink condensation", + "drink coaster made from smooth polymer", + "table protector in light gray", + "table protector for keeping tables dry tasks", + "rounded corners drink coaster ideal for protecting surfaces from drink condensation", + "light gray smooth polymer rounded corners table protector", + "smooth polymer table protector suitable for protecting surfaces from drink condensation", + "thin profile diamond orientation drink coaster for protecting surfaces from drink condensation", + "dark gray coaster for holding cups steady", + "drink coaster shaped like a diamond orientation", + "table protector with diamond orientation geometry", + "table protector for protecting surfaces from drink condensation tasks", + "light gray thin profile table protector for holding cups steady", + "matte plastic square viewed at angle object used for protecting surfaces from drink condensation", + "drink coaster intended for holding cups steady usage", + "table protector made of smooth polymer", + "table protector intended for protecting surfaces from drink condensation usage", + "coaster primarily used for protecting surfaces from drink condensation", + "light gray square viewed at angle object for keeping tables dry", + "palm-sized object used for holding cups steady", + "palm-sized square viewed at angle object", + "palm-sized dark gray coaster", + "table protector in dark gray", + "table protector sized as thin profile", + "rounded corners object used for keeping tables dry", + "palm-sized coaster used for protecting surfaces from drink condensation", + "light gray small square coaster for holding cups steady", + "thin profile light gray diamond orientation for keeping tables dry", + "small square smooth polymer object", + "coaster sized thin profile", + "coaster for keeping tables dry activities", + "dark gray smooth polymer diamond orientation coaster", + "palm-sized dark gray smooth polymer rounded corners object", + "drink coaster suitable for keeping tables dry", + "light gray square viewed at angle drink coaster", + "matte plastic light gray coaster", + "table protector made from matte plastic", + "thin profile matte plastic coaster", + "square viewed at angle small square coaster", + "drink coaster sized small square", + "thin profile smooth polymer coaster", + "table protector commonly featuring smooth polymer", + "small square dark gray rounded corners for keeping tables dry", + "palm-sized diamond orientation object for holding cups steady", + "table protector with rounded corners profile", + "dark gray small square coaster for keeping tables dry", + "table protector built from matte plastic", + "matte plastic object for holding cups steady", + "coaster with dark gray exterior", + "thin profile object used for holding cups steady" + ], + "caption": { + "color": [ + "dark gray", + "light gray" + ], + "material": [ + "matte plastic", + "smooth polymer" + ], + "size": [ + "small square", + "palm-sized", + "thin profile" + ], + "name": [ + "coaster", + "drink coaster", + "table protector" + ], + "shape": [ + "square viewed at angle", + "diamond orientation", + "rounded corners" + ], + "function": [ + "protecting surfaces from drink condensation", + "keeping tables dry", + "holding cups steady" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/number_card/00004/metadata.json b/Objects/RoboDojo/Geometry/number_card/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..842fd2ce2d065c23dd2f21073c5556fdb2ebf3f3 --- /dev/null +++ b/Objects/RoboDojo/Geometry/number_card/00004/metadata.json @@ -0,0 +1,239 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + 0.0031 + ], + [ + 0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + } + }, + "active": {}, + "description": [ + "drink coaster in small square", + "palm-sized square viewed at angle object for holding cups steady", + "smooth polymer drink coaster for protecting surfaces from drink condensation", + "coaster commonly used for protecting surfaces from drink condensation", + "thin profile rounded corners object", + "thin profile coaster used for keeping tables dry", + "matte plastic object for protecting surfaces from drink condensation", + "thin profile object used for protecting surfaces from drink condensation", + "drink coaster made from matte plastic", + "matte plastic drink coaster used for holding cups steady", + "rounded corners object used for holding cups steady", + "thin profile diamond orientation object", + "drink coaster with diamond orientation profile", + "dark gray smooth polymer table protector", + "drink coaster in palm-sized", + "drink coaster intended for protecting surfaces from drink condensation usage", + "smooth polymer dark gray coaster", + "drink coaster made of smooth polymer", + "dark gray coaster typically used for protecting surfaces from drink condensation", + "table protector sized as small square", + "small square dark gray square viewed at angle for keeping tables dry", + "thin profile table protector used for holding cups steady", + "coaster made from matte plastic", + "coaster optimized for protecting surfaces from drink condensation", + "dark gray object used for holding cups steady", + "small square object used for protecting surfaces from drink condensation", + "palm-sized dark gray diamond orientation object", + "coaster for holding cups steady scenarios", + "drink coaster optimized for protecting surfaces from drink condensation", + "coaster with palm-sized dimensions", + "dark gray thin profile coaster for protecting surfaces from drink condensation", + "protecting surfaces from drink condensation with coaster", + "table protector in thin profile", + "drink coaster with smooth polymer surface", + "palm-sized dark gray table protector", + "drink coaster designed for keeping tables dry", + "thin profile coaster perfect for keeping tables dry", + "square viewed at angle object used for protecting surfaces from drink condensation", + "table protector in palm-sized", + "table protector featuring diamond orientation shape", + "palm-sized diamond orientation drink coaster for protecting surfaces from drink condensation", + "light gray drink coaster for protecting surfaces from drink condensation", + "diamond orientation object used for protecting surfaces from drink condensation", + "table protector with dark gray color", + "coaster for keeping tables dry", + "rounded corners palm-sized table protector", + "table protector featuring smooth polymer build", + "light gray drink coaster used for keeping tables dry", + "smooth polymer drink coaster used for keeping tables dry", + "matte plastic drink coaster suitable for protecting surfaces from drink condensation", + "light gray object used for protecting surfaces from drink condensation", + "drink coaster made from smooth polymer", + "table protector in light gray", + "table protector for keeping tables dry tasks", + "rounded corners drink coaster ideal for protecting surfaces from drink condensation", + "light gray smooth polymer rounded corners table protector", + "smooth polymer table protector suitable for protecting surfaces from drink condensation", + "thin profile diamond orientation drink coaster for protecting surfaces from drink condensation", + "dark gray coaster for holding cups steady", + "drink coaster shaped like a diamond orientation", + "table protector with diamond orientation geometry", + "table protector for protecting surfaces from drink condensation tasks", + "light gray thin profile table protector for holding cups steady", + "matte plastic square viewed at angle object used for protecting surfaces from drink condensation", + "drink coaster intended for holding cups steady usage", + "table protector made of smooth polymer", + "table protector intended for protecting surfaces from drink condensation usage", + "coaster primarily used for protecting surfaces from drink condensation", + "light gray square viewed at angle object for keeping tables dry", + "palm-sized object used for holding cups steady", + "palm-sized square viewed at angle object", + "palm-sized dark gray coaster", + "table protector in dark gray", + "table protector sized as thin profile", + "rounded corners object used for keeping tables dry", + "palm-sized coaster used for protecting surfaces from drink condensation", + "light gray small square coaster for holding cups steady", + "thin profile light gray diamond orientation for keeping tables dry", + "small square smooth polymer object", + "coaster sized thin profile", + "coaster for keeping tables dry activities", + "dark gray smooth polymer diamond orientation coaster", + "palm-sized dark gray smooth polymer rounded corners object", + "drink coaster suitable for keeping tables dry", + "light gray square viewed at angle drink coaster", + "matte plastic light gray coaster", + "table protector made from matte plastic", + "thin profile matte plastic coaster", + "square viewed at angle small square coaster", + "drink coaster sized small square", + "thin profile smooth polymer coaster", + "table protector commonly featuring smooth polymer", + "small square dark gray rounded corners for keeping tables dry", + "palm-sized diamond orientation object for holding cups steady", + "table protector with rounded corners profile", + "dark gray small square coaster for keeping tables dry", + "table protector built from matte plastic", + "matte plastic object for holding cups steady", + "coaster with dark gray exterior", + "thin profile object used for holding cups steady" + ], + "caption": { + "color": [ + "dark gray", + "light gray" + ], + "material": [ + "matte plastic", + "smooth polymer" + ], + "size": [ + "small square", + "palm-sized", + "thin profile" + ], + "name": [ + "coaster", + "drink coaster", + "table protector" + ], + "shape": [ + "square viewed at angle", + "diamond orientation", + "rounded corners" + ], + "function": [ + "protecting surfaces from drink condensation", + "keeping tables dry", + "holding cups steady" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/number_card/00005/metadata.json b/Objects/RoboDojo/Geometry/number_card/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..842fd2ce2d065c23dd2f21073c5556fdb2ebf3f3 --- /dev/null +++ b/Objects/RoboDojo/Geometry/number_card/00005/metadata.json @@ -0,0 +1,239 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + 0.0031 + ], + [ + 0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + } + }, + "active": {}, + "description": [ + "drink coaster in small square", + "palm-sized square viewed at angle object for holding cups steady", + "smooth polymer drink coaster for protecting surfaces from drink condensation", + "coaster commonly used for protecting surfaces from drink condensation", + "thin profile rounded corners object", + "thin profile coaster used for keeping tables dry", + "matte plastic object for protecting surfaces from drink condensation", + "thin profile object used for protecting surfaces from drink condensation", + "drink coaster made from matte plastic", + "matte plastic drink coaster used for holding cups steady", + "rounded corners object used for holding cups steady", + "thin profile diamond orientation object", + "drink coaster with diamond orientation profile", + "dark gray smooth polymer table protector", + "drink coaster in palm-sized", + "drink coaster intended for protecting surfaces from drink condensation usage", + "smooth polymer dark gray coaster", + "drink coaster made of smooth polymer", + "dark gray coaster typically used for protecting surfaces from drink condensation", + "table protector sized as small square", + "small square dark gray square viewed at angle for keeping tables dry", + "thin profile table protector used for holding cups steady", + "coaster made from matte plastic", + "coaster optimized for protecting surfaces from drink condensation", + "dark gray object used for holding cups steady", + "small square object used for protecting surfaces from drink condensation", + "palm-sized dark gray diamond orientation object", + "coaster for holding cups steady scenarios", + "drink coaster optimized for protecting surfaces from drink condensation", + "coaster with palm-sized dimensions", + "dark gray thin profile coaster for protecting surfaces from drink condensation", + "protecting surfaces from drink condensation with coaster", + "table protector in thin profile", + "drink coaster with smooth polymer surface", + "palm-sized dark gray table protector", + "drink coaster designed for keeping tables dry", + "thin profile coaster perfect for keeping tables dry", + "square viewed at angle object used for protecting surfaces from drink condensation", + "table protector in palm-sized", + "table protector featuring diamond orientation shape", + "palm-sized diamond orientation drink coaster for protecting surfaces from drink condensation", + "light gray drink coaster for protecting surfaces from drink condensation", + "diamond orientation object used for protecting surfaces from drink condensation", + "table protector with dark gray color", + "coaster for keeping tables dry", + "rounded corners palm-sized table protector", + "table protector featuring smooth polymer build", + "light gray drink coaster used for keeping tables dry", + "smooth polymer drink coaster used for keeping tables dry", + "matte plastic drink coaster suitable for protecting surfaces from drink condensation", + "light gray object used for protecting surfaces from drink condensation", + "drink coaster made from smooth polymer", + "table protector in light gray", + "table protector for keeping tables dry tasks", + "rounded corners drink coaster ideal for protecting surfaces from drink condensation", + "light gray smooth polymer rounded corners table protector", + "smooth polymer table protector suitable for protecting surfaces from drink condensation", + "thin profile diamond orientation drink coaster for protecting surfaces from drink condensation", + "dark gray coaster for holding cups steady", + "drink coaster shaped like a diamond orientation", + "table protector with diamond orientation geometry", + "table protector for protecting surfaces from drink condensation tasks", + "light gray thin profile table protector for holding cups steady", + "matte plastic square viewed at angle object used for protecting surfaces from drink condensation", + "drink coaster intended for holding cups steady usage", + "table protector made of smooth polymer", + "table protector intended for protecting surfaces from drink condensation usage", + "coaster primarily used for protecting surfaces from drink condensation", + "light gray square viewed at angle object for keeping tables dry", + "palm-sized object used for holding cups steady", + "palm-sized square viewed at angle object", + "palm-sized dark gray coaster", + "table protector in dark gray", + "table protector sized as thin profile", + "rounded corners object used for keeping tables dry", + "palm-sized coaster used for protecting surfaces from drink condensation", + "light gray small square coaster for holding cups steady", + "thin profile light gray diamond orientation for keeping tables dry", + "small square smooth polymer object", + "coaster sized thin profile", + "coaster for keeping tables dry activities", + "dark gray smooth polymer diamond orientation coaster", + "palm-sized dark gray smooth polymer rounded corners object", + "drink coaster suitable for keeping tables dry", + "light gray square viewed at angle drink coaster", + "matte plastic light gray coaster", + "table protector made from matte plastic", + "thin profile matte plastic coaster", + "square viewed at angle small square coaster", + "drink coaster sized small square", + "thin profile smooth polymer coaster", + "table protector commonly featuring smooth polymer", + "small square dark gray rounded corners for keeping tables dry", + "palm-sized diamond orientation object for holding cups steady", + "table protector with rounded corners profile", + "dark gray small square coaster for keeping tables dry", + "table protector built from matte plastic", + "matte plastic object for holding cups steady", + "coaster with dark gray exterior", + "thin profile object used for holding cups steady" + ], + "caption": { + "color": [ + "dark gray", + "light gray" + ], + "material": [ + "matte plastic", + "smooth polymer" + ], + "size": [ + "small square", + "palm-sized", + "thin profile" + ], + "name": [ + "coaster", + "drink coaster", + "table protector" + ], + "shape": [ + "square viewed at angle", + "diamond orientation", + "rounded corners" + ], + "function": [ + "protecting surfaces from drink condensation", + "keeping tables dry", + "holding cups steady" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/number_card/00006/metadata.json b/Objects/RoboDojo/Geometry/number_card/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..842fd2ce2d065c23dd2f21073c5556fdb2ebf3f3 --- /dev/null +++ b/Objects/RoboDojo/Geometry/number_card/00006/metadata.json @@ -0,0 +1,239 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + 0.0031 + ], + [ + 0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + } + }, + "active": {}, + "description": [ + "drink coaster in small square", + "palm-sized square viewed at angle object for holding cups steady", + "smooth polymer drink coaster for protecting surfaces from drink condensation", + "coaster commonly used for protecting surfaces from drink condensation", + "thin profile rounded corners object", + "thin profile coaster used for keeping tables dry", + "matte plastic object for protecting surfaces from drink condensation", + "thin profile object used for protecting surfaces from drink condensation", + "drink coaster made from matte plastic", + "matte plastic drink coaster used for holding cups steady", + "rounded corners object used for holding cups steady", + "thin profile diamond orientation object", + "drink coaster with diamond orientation profile", + "dark gray smooth polymer table protector", + "drink coaster in palm-sized", + "drink coaster intended for protecting surfaces from drink condensation usage", + "smooth polymer dark gray coaster", + "drink coaster made of smooth polymer", + "dark gray coaster typically used for protecting surfaces from drink condensation", + "table protector sized as small square", + "small square dark gray square viewed at angle for keeping tables dry", + "thin profile table protector used for holding cups steady", + "coaster made from matte plastic", + "coaster optimized for protecting surfaces from drink condensation", + "dark gray object used for holding cups steady", + "small square object used for protecting surfaces from drink condensation", + "palm-sized dark gray diamond orientation object", + "coaster for holding cups steady scenarios", + "drink coaster optimized for protecting surfaces from drink condensation", + "coaster with palm-sized dimensions", + "dark gray thin profile coaster for protecting surfaces from drink condensation", + "protecting surfaces from drink condensation with coaster", + "table protector in thin profile", + "drink coaster with smooth polymer surface", + "palm-sized dark gray table protector", + "drink coaster designed for keeping tables dry", + "thin profile coaster perfect for keeping tables dry", + "square viewed at angle object used for protecting surfaces from drink condensation", + "table protector in palm-sized", + "table protector featuring diamond orientation shape", + "palm-sized diamond orientation drink coaster for protecting surfaces from drink condensation", + "light gray drink coaster for protecting surfaces from drink condensation", + "diamond orientation object used for protecting surfaces from drink condensation", + "table protector with dark gray color", + "coaster for keeping tables dry", + "rounded corners palm-sized table protector", + "table protector featuring smooth polymer build", + "light gray drink coaster used for keeping tables dry", + "smooth polymer drink coaster used for keeping tables dry", + "matte plastic drink coaster suitable for protecting surfaces from drink condensation", + "light gray object used for protecting surfaces from drink condensation", + "drink coaster made from smooth polymer", + "table protector in light gray", + "table protector for keeping tables dry tasks", + "rounded corners drink coaster ideal for protecting surfaces from drink condensation", + "light gray smooth polymer rounded corners table protector", + "smooth polymer table protector suitable for protecting surfaces from drink condensation", + "thin profile diamond orientation drink coaster for protecting surfaces from drink condensation", + "dark gray coaster for holding cups steady", + "drink coaster shaped like a diamond orientation", + "table protector with diamond orientation geometry", + "table protector for protecting surfaces from drink condensation tasks", + "light gray thin profile table protector for holding cups steady", + "matte plastic square viewed at angle object used for protecting surfaces from drink condensation", + "drink coaster intended for holding cups steady usage", + "table protector made of smooth polymer", + "table protector intended for protecting surfaces from drink condensation usage", + "coaster primarily used for protecting surfaces from drink condensation", + "light gray square viewed at angle object for keeping tables dry", + "palm-sized object used for holding cups steady", + "palm-sized square viewed at angle object", + "palm-sized dark gray coaster", + "table protector in dark gray", + "table protector sized as thin profile", + "rounded corners object used for keeping tables dry", + "palm-sized coaster used for protecting surfaces from drink condensation", + "light gray small square coaster for holding cups steady", + "thin profile light gray diamond orientation for keeping tables dry", + "small square smooth polymer object", + "coaster sized thin profile", + "coaster for keeping tables dry activities", + "dark gray smooth polymer diamond orientation coaster", + "palm-sized dark gray smooth polymer rounded corners object", + "drink coaster suitable for keeping tables dry", + "light gray square viewed at angle drink coaster", + "matte plastic light gray coaster", + "table protector made from matte plastic", + "thin profile matte plastic coaster", + "square viewed at angle small square coaster", + "drink coaster sized small square", + "thin profile smooth polymer coaster", + "table protector commonly featuring smooth polymer", + "small square dark gray rounded corners for keeping tables dry", + "palm-sized diamond orientation object for holding cups steady", + "table protector with rounded corners profile", + "dark gray small square coaster for keeping tables dry", + "table protector built from matte plastic", + "matte plastic object for holding cups steady", + "coaster with dark gray exterior", + "thin profile object used for holding cups steady" + ], + "caption": { + "color": [ + "dark gray", + "light gray" + ], + "material": [ + "matte plastic", + "smooth polymer" + ], + "size": [ + "small square", + "palm-sized", + "thin profile" + ], + "name": [ + "coaster", + "drink coaster", + "table protector" + ], + "shape": [ + "square viewed at angle", + "diamond orientation", + "rounded corners" + ], + "function": [ + "protecting surfaces from drink condensation", + "keeping tables dry", + "holding cups steady" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/number_card/00007/metadata.json b/Objects/RoboDojo/Geometry/number_card/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..842fd2ce2d065c23dd2f21073c5556fdb2ebf3f3 --- /dev/null +++ b/Objects/RoboDojo/Geometry/number_card/00007/metadata.json @@ -0,0 +1,239 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + 0.0031 + ], + [ + 0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + } + }, + "active": {}, + "description": [ + "drink coaster in small square", + "palm-sized square viewed at angle object for holding cups steady", + "smooth polymer drink coaster for protecting surfaces from drink condensation", + "coaster commonly used for protecting surfaces from drink condensation", + "thin profile rounded corners object", + "thin profile coaster used for keeping tables dry", + "matte plastic object for protecting surfaces from drink condensation", + "thin profile object used for protecting surfaces from drink condensation", + "drink coaster made from matte plastic", + "matte plastic drink coaster used for holding cups steady", + "rounded corners object used for holding cups steady", + "thin profile diamond orientation object", + "drink coaster with diamond orientation profile", + "dark gray smooth polymer table protector", + "drink coaster in palm-sized", + "drink coaster intended for protecting surfaces from drink condensation usage", + "smooth polymer dark gray coaster", + "drink coaster made of smooth polymer", + "dark gray coaster typically used for protecting surfaces from drink condensation", + "table protector sized as small square", + "small square dark gray square viewed at angle for keeping tables dry", + "thin profile table protector used for holding cups steady", + "coaster made from matte plastic", + "coaster optimized for protecting surfaces from drink condensation", + "dark gray object used for holding cups steady", + "small square object used for protecting surfaces from drink condensation", + "palm-sized dark gray diamond orientation object", + "coaster for holding cups steady scenarios", + "drink coaster optimized for protecting surfaces from drink condensation", + "coaster with palm-sized dimensions", + "dark gray thin profile coaster for protecting surfaces from drink condensation", + "protecting surfaces from drink condensation with coaster", + "table protector in thin profile", + "drink coaster with smooth polymer surface", + "palm-sized dark gray table protector", + "drink coaster designed for keeping tables dry", + "thin profile coaster perfect for keeping tables dry", + "square viewed at angle object used for protecting surfaces from drink condensation", + "table protector in palm-sized", + "table protector featuring diamond orientation shape", + "palm-sized diamond orientation drink coaster for protecting surfaces from drink condensation", + "light gray drink coaster for protecting surfaces from drink condensation", + "diamond orientation object used for protecting surfaces from drink condensation", + "table protector with dark gray color", + "coaster for keeping tables dry", + "rounded corners palm-sized table protector", + "table protector featuring smooth polymer build", + "light gray drink coaster used for keeping tables dry", + "smooth polymer drink coaster used for keeping tables dry", + "matte plastic drink coaster suitable for protecting surfaces from drink condensation", + "light gray object used for protecting surfaces from drink condensation", + "drink coaster made from smooth polymer", + "table protector in light gray", + "table protector for keeping tables dry tasks", + "rounded corners drink coaster ideal for protecting surfaces from drink condensation", + "light gray smooth polymer rounded corners table protector", + "smooth polymer table protector suitable for protecting surfaces from drink condensation", + "thin profile diamond orientation drink coaster for protecting surfaces from drink condensation", + "dark gray coaster for holding cups steady", + "drink coaster shaped like a diamond orientation", + "table protector with diamond orientation geometry", + "table protector for protecting surfaces from drink condensation tasks", + "light gray thin profile table protector for holding cups steady", + "matte plastic square viewed at angle object used for protecting surfaces from drink condensation", + "drink coaster intended for holding cups steady usage", + "table protector made of smooth polymer", + "table protector intended for protecting surfaces from drink condensation usage", + "coaster primarily used for protecting surfaces from drink condensation", + "light gray square viewed at angle object for keeping tables dry", + "palm-sized object used for holding cups steady", + "palm-sized square viewed at angle object", + "palm-sized dark gray coaster", + "table protector in dark gray", + "table protector sized as thin profile", + "rounded corners object used for keeping tables dry", + "palm-sized coaster used for protecting surfaces from drink condensation", + "light gray small square coaster for holding cups steady", + "thin profile light gray diamond orientation for keeping tables dry", + "small square smooth polymer object", + "coaster sized thin profile", + "coaster for keeping tables dry activities", + "dark gray smooth polymer diamond orientation coaster", + "palm-sized dark gray smooth polymer rounded corners object", + "drink coaster suitable for keeping tables dry", + "light gray square viewed at angle drink coaster", + "matte plastic light gray coaster", + "table protector made from matte plastic", + "thin profile matte plastic coaster", + "square viewed at angle small square coaster", + "drink coaster sized small square", + "thin profile smooth polymer coaster", + "table protector commonly featuring smooth polymer", + "small square dark gray rounded corners for keeping tables dry", + "palm-sized diamond orientation object for holding cups steady", + "table protector with rounded corners profile", + "dark gray small square coaster for keeping tables dry", + "table protector built from matte plastic", + "matte plastic object for holding cups steady", + "coaster with dark gray exterior", + "thin profile object used for holding cups steady" + ], + "caption": { + "color": [ + "dark gray", + "light gray" + ], + "material": [ + "matte plastic", + "smooth polymer" + ], + "size": [ + "small square", + "palm-sized", + "thin profile" + ], + "name": [ + "coaster", + "drink coaster", + "table protector" + ], + "shape": [ + "square viewed at angle", + "diamond orientation", + "rounded corners" + ], + "function": [ + "protecting surfaces from drink condensation", + "keeping tables dry", + "holding cups steady" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/number_card/00008/metadata.json b/Objects/RoboDojo/Geometry/number_card/00008/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..842fd2ce2d065c23dd2f21073c5556fdb2ebf3f3 --- /dev/null +++ b/Objects/RoboDojo/Geometry/number_card/00008/metadata.json @@ -0,0 +1,239 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + 0.0031 + ], + [ + 0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + } + }, + "active": {}, + "description": [ + "drink coaster in small square", + "palm-sized square viewed at angle object for holding cups steady", + "smooth polymer drink coaster for protecting surfaces from drink condensation", + "coaster commonly used for protecting surfaces from drink condensation", + "thin profile rounded corners object", + "thin profile coaster used for keeping tables dry", + "matte plastic object for protecting surfaces from drink condensation", + "thin profile object used for protecting surfaces from drink condensation", + "drink coaster made from matte plastic", + "matte plastic drink coaster used for holding cups steady", + "rounded corners object used for holding cups steady", + "thin profile diamond orientation object", + "drink coaster with diamond orientation profile", + "dark gray smooth polymer table protector", + "drink coaster in palm-sized", + "drink coaster intended for protecting surfaces from drink condensation usage", + "smooth polymer dark gray coaster", + "drink coaster made of smooth polymer", + "dark gray coaster typically used for protecting surfaces from drink condensation", + "table protector sized as small square", + "small square dark gray square viewed at angle for keeping tables dry", + "thin profile table protector used for holding cups steady", + "coaster made from matte plastic", + "coaster optimized for protecting surfaces from drink condensation", + "dark gray object used for holding cups steady", + "small square object used for protecting surfaces from drink condensation", + "palm-sized dark gray diamond orientation object", + "coaster for holding cups steady scenarios", + "drink coaster optimized for protecting surfaces from drink condensation", + "coaster with palm-sized dimensions", + "dark gray thin profile coaster for protecting surfaces from drink condensation", + "protecting surfaces from drink condensation with coaster", + "table protector in thin profile", + "drink coaster with smooth polymer surface", + "palm-sized dark gray table protector", + "drink coaster designed for keeping tables dry", + "thin profile coaster perfect for keeping tables dry", + "square viewed at angle object used for protecting surfaces from drink condensation", + "table protector in palm-sized", + "table protector featuring diamond orientation shape", + "palm-sized diamond orientation drink coaster for protecting surfaces from drink condensation", + "light gray drink coaster for protecting surfaces from drink condensation", + "diamond orientation object used for protecting surfaces from drink condensation", + "table protector with dark gray color", + "coaster for keeping tables dry", + "rounded corners palm-sized table protector", + "table protector featuring smooth polymer build", + "light gray drink coaster used for keeping tables dry", + "smooth polymer drink coaster used for keeping tables dry", + "matte plastic drink coaster suitable for protecting surfaces from drink condensation", + "light gray object used for protecting surfaces from drink condensation", + "drink coaster made from smooth polymer", + "table protector in light gray", + "table protector for keeping tables dry tasks", + "rounded corners drink coaster ideal for protecting surfaces from drink condensation", + "light gray smooth polymer rounded corners table protector", + "smooth polymer table protector suitable for protecting surfaces from drink condensation", + "thin profile diamond orientation drink coaster for protecting surfaces from drink condensation", + "dark gray coaster for holding cups steady", + "drink coaster shaped like a diamond orientation", + "table protector with diamond orientation geometry", + "table protector for protecting surfaces from drink condensation tasks", + "light gray thin profile table protector for holding cups steady", + "matte plastic square viewed at angle object used for protecting surfaces from drink condensation", + "drink coaster intended for holding cups steady usage", + "table protector made of smooth polymer", + "table protector intended for protecting surfaces from drink condensation usage", + "coaster primarily used for protecting surfaces from drink condensation", + "light gray square viewed at angle object for keeping tables dry", + "palm-sized object used for holding cups steady", + "palm-sized square viewed at angle object", + "palm-sized dark gray coaster", + "table protector in dark gray", + "table protector sized as thin profile", + "rounded corners object used for keeping tables dry", + "palm-sized coaster used for protecting surfaces from drink condensation", + "light gray small square coaster for holding cups steady", + "thin profile light gray diamond orientation for keeping tables dry", + "small square smooth polymer object", + "coaster sized thin profile", + "coaster for keeping tables dry activities", + "dark gray smooth polymer diamond orientation coaster", + "palm-sized dark gray smooth polymer rounded corners object", + "drink coaster suitable for keeping tables dry", + "light gray square viewed at angle drink coaster", + "matte plastic light gray coaster", + "table protector made from matte plastic", + "thin profile matte plastic coaster", + "square viewed at angle small square coaster", + "drink coaster sized small square", + "thin profile smooth polymer coaster", + "table protector commonly featuring smooth polymer", + "small square dark gray rounded corners for keeping tables dry", + "palm-sized diamond orientation object for holding cups steady", + "table protector with rounded corners profile", + "dark gray small square coaster for keeping tables dry", + "table protector built from matte plastic", + "matte plastic object for holding cups steady", + "coaster with dark gray exterior", + "thin profile object used for holding cups steady" + ], + "caption": { + "color": [ + "dark gray", + "light gray" + ], + "material": [ + "matte plastic", + "smooth polymer" + ], + "size": [ + "small square", + "palm-sized", + "thin profile" + ], + "name": [ + "coaster", + "drink coaster", + "table protector" + ], + "shape": [ + "square viewed at angle", + "diamond orientation", + "rounded corners" + ], + "function": [ + "protecting surfaces from drink condensation", + "keeping tables dry", + "holding cups steady" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/number_card/00009/metadata.json b/Objects/RoboDojo/Geometry/number_card/00009/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..842fd2ce2d065c23dd2f21073c5556fdb2ebf3f3 --- /dev/null +++ b/Objects/RoboDojo/Geometry/number_card/00009/metadata.json @@ -0,0 +1,239 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + 0.0031 + ], + [ + 0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.05, + -0.05, + -0.0019 + ], + [ + -0.05, + -0.05, + -0.0019 + ], + [ + 0.05, + 0.05, + -0.0019 + ], + [ + -0.05, + 0.05, + -0.0019 + ], + [ + 0.05, + -0.05, + 0.0031 + ], + [ + -0.05, + -0.05, + 0.0031 + ], + [ + 0.05, + 0.05, + 0.0031 + ], + [ + -0.05, + 0.05, + 0.0031 + ] + ], + "extents": [ + 0.1, + 0.1, + 0.005 + ] + } + }, + "active": {}, + "description": [ + "drink coaster in small square", + "palm-sized square viewed at angle object for holding cups steady", + "smooth polymer drink coaster for protecting surfaces from drink condensation", + "coaster commonly used for protecting surfaces from drink condensation", + "thin profile rounded corners object", + "thin profile coaster used for keeping tables dry", + "matte plastic object for protecting surfaces from drink condensation", + "thin profile object used for protecting surfaces from drink condensation", + "drink coaster made from matte plastic", + "matte plastic drink coaster used for holding cups steady", + "rounded corners object used for holding cups steady", + "thin profile diamond orientation object", + "drink coaster with diamond orientation profile", + "dark gray smooth polymer table protector", + "drink coaster in palm-sized", + "drink coaster intended for protecting surfaces from drink condensation usage", + "smooth polymer dark gray coaster", + "drink coaster made of smooth polymer", + "dark gray coaster typically used for protecting surfaces from drink condensation", + "table protector sized as small square", + "small square dark gray square viewed at angle for keeping tables dry", + "thin profile table protector used for holding cups steady", + "coaster made from matte plastic", + "coaster optimized for protecting surfaces from drink condensation", + "dark gray object used for holding cups steady", + "small square object used for protecting surfaces from drink condensation", + "palm-sized dark gray diamond orientation object", + "coaster for holding cups steady scenarios", + "drink coaster optimized for protecting surfaces from drink condensation", + "coaster with palm-sized dimensions", + "dark gray thin profile coaster for protecting surfaces from drink condensation", + "protecting surfaces from drink condensation with coaster", + "table protector in thin profile", + "drink coaster with smooth polymer surface", + "palm-sized dark gray table protector", + "drink coaster designed for keeping tables dry", + "thin profile coaster perfect for keeping tables dry", + "square viewed at angle object used for protecting surfaces from drink condensation", + "table protector in palm-sized", + "table protector featuring diamond orientation shape", + "palm-sized diamond orientation drink coaster for protecting surfaces from drink condensation", + "light gray drink coaster for protecting surfaces from drink condensation", + "diamond orientation object used for protecting surfaces from drink condensation", + "table protector with dark gray color", + "coaster for keeping tables dry", + "rounded corners palm-sized table protector", + "table protector featuring smooth polymer build", + "light gray drink coaster used for keeping tables dry", + "smooth polymer drink coaster used for keeping tables dry", + "matte plastic drink coaster suitable for protecting surfaces from drink condensation", + "light gray object used for protecting surfaces from drink condensation", + "drink coaster made from smooth polymer", + "table protector in light gray", + "table protector for keeping tables dry tasks", + "rounded corners drink coaster ideal for protecting surfaces from drink condensation", + "light gray smooth polymer rounded corners table protector", + "smooth polymer table protector suitable for protecting surfaces from drink condensation", + "thin profile diamond orientation drink coaster for protecting surfaces from drink condensation", + "dark gray coaster for holding cups steady", + "drink coaster shaped like a diamond orientation", + "table protector with diamond orientation geometry", + "table protector for protecting surfaces from drink condensation tasks", + "light gray thin profile table protector for holding cups steady", + "matte plastic square viewed at angle object used for protecting surfaces from drink condensation", + "drink coaster intended for holding cups steady usage", + "table protector made of smooth polymer", + "table protector intended for protecting surfaces from drink condensation usage", + "coaster primarily used for protecting surfaces from drink condensation", + "light gray square viewed at angle object for keeping tables dry", + "palm-sized object used for holding cups steady", + "palm-sized square viewed at angle object", + "palm-sized dark gray coaster", + "table protector in dark gray", + "table protector sized as thin profile", + "rounded corners object used for keeping tables dry", + "palm-sized coaster used for protecting surfaces from drink condensation", + "light gray small square coaster for holding cups steady", + "thin profile light gray diamond orientation for keeping tables dry", + "small square smooth polymer object", + "coaster sized thin profile", + "coaster for keeping tables dry activities", + "dark gray smooth polymer diamond orientation coaster", + "palm-sized dark gray smooth polymer rounded corners object", + "drink coaster suitable for keeping tables dry", + "light gray square viewed at angle drink coaster", + "matte plastic light gray coaster", + "table protector made from matte plastic", + "thin profile matte plastic coaster", + "square viewed at angle small square coaster", + "drink coaster sized small square", + "thin profile smooth polymer coaster", + "table protector commonly featuring smooth polymer", + "small square dark gray rounded corners for keeping tables dry", + "palm-sized diamond orientation object for holding cups steady", + "table protector with rounded corners profile", + "dark gray small square coaster for keeping tables dry", + "table protector built from matte plastic", + "matte plastic object for holding cups steady", + "coaster with dark gray exterior", + "thin profile object used for holding cups steady" + ], + "caption": { + "color": [ + "dark gray", + "light gray" + ], + "material": [ + "matte plastic", + "smooth polymer" + ], + "size": [ + "small square", + "palm-sized", + "thin profile" + ], + "name": [ + "coaster", + "drink coaster", + "table protector" + ], + "shape": [ + "square viewed at angle", + "diamond orientation", + "rounded corners" + ], + "function": [ + "protecting surfaces from drink condensation", + "keeping tables dry", + "holding cups steady" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/photo/00001/metadata.json b/Objects/RoboDojo/Geometry/photo/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00001/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00001/object.usd b/Objects/RoboDojo/Geometry/photo/00001/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..5c2537c3c72ca1a75d56abb441e3d24f42f0fbca Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00001/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00002/metadata.json b/Objects/RoboDojo/Geometry/photo/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00002/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00002/object.usd b/Objects/RoboDojo/Geometry/photo/00002/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..53c226761fc45764965721ae69dc7dc5c5cb6868 Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00002/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00003/metadata.json b/Objects/RoboDojo/Geometry/photo/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00003/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00003/object.usd b/Objects/RoboDojo/Geometry/photo/00003/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..ea8cfe7ed42b957176391032588972cb31a3979c Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00003/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00004/metadata.json b/Objects/RoboDojo/Geometry/photo/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00004/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00004/object.usd b/Objects/RoboDojo/Geometry/photo/00004/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..5a9bb670eaad5de77a182a9117a38783c23a2638 Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00004/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00005/metadata.json b/Objects/RoboDojo/Geometry/photo/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00005/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00005/object.usd b/Objects/RoboDojo/Geometry/photo/00005/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..50697b3841a1d72e2b747647483aec044f99f825 Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00005/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00006/metadata.json b/Objects/RoboDojo/Geometry/photo/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00006/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00006/object.usd b/Objects/RoboDojo/Geometry/photo/00006/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..602892b9dcf535f0dd8e8859c85228e97ed82de9 Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00006/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00007/metadata.json b/Objects/RoboDojo/Geometry/photo/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00007/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00007/object.usd b/Objects/RoboDojo/Geometry/photo/00007/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..783930f1906f71d2716b828608e9d04ac415ff5a Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00007/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00008/metadata.json b/Objects/RoboDojo/Geometry/photo/00008/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00008/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00008/object.usd b/Objects/RoboDojo/Geometry/photo/00008/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..9495a77a43b99f96fd6a9e7a5058fa76dd80f038 Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00008/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00009/metadata.json b/Objects/RoboDojo/Geometry/photo/00009/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00009/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00009/object.usd b/Objects/RoboDojo/Geometry/photo/00009/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..1074c13a6f1306927bdb06e7a8e5d8ecf48d5dee Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00009/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00010/metadata.json b/Objects/RoboDojo/Geometry/photo/00010/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00010/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00010/object.usd b/Objects/RoboDojo/Geometry/photo/00010/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..af4dcf55478dc24884078c56e1cf0a98cdd0b04e Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00010/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00012/metadata.json b/Objects/RoboDojo/Geometry/photo/00012/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00012/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00012/object.usd b/Objects/RoboDojo/Geometry/photo/00012/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..b95c76b41bbf86b88a70394427c7aa595343f612 Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00012/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00013/metadata.json b/Objects/RoboDojo/Geometry/photo/00013/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00013/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00013/object.usd b/Objects/RoboDojo/Geometry/photo/00013/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..66c1665df2c7f131991530357da8d7995e3fdd1a Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00013/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00015/metadata.json b/Objects/RoboDojo/Geometry/photo/00015/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00015/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00015/object.usd b/Objects/RoboDojo/Geometry/photo/00015/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..0b07fb7937f3c626caba7db02233f79d5ea57ef2 Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00015/object.usd differ diff --git a/Objects/RoboDojo/Geometry/photo/00016/metadata.json b/Objects/RoboDojo/Geometry/photo/00016/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0b7a7342c7fc45a5a30c7556e09177e1ab0d467e --- /dev/null +++ b/Objects/RoboDojo/Geometry/photo/00016/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.4 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.8893 + ], + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.03005, + 0.00218, + -0.0 + ], + [ + -0.03005, + 0.00218, + 0.08893 + ], + [ + 0.02969, + 0.00218, + -0.0 + ], + [ + 0.02969, + 0.00218, + 0.08893 + ], + [ + -0.03005, + -0.00182, + -0.0 + ], + [ + -0.03005, + -0.00182, + 0.08893 + ], + [ + 0.02969, + -0.00182, + -0.0 + ], + [ + 0.02969, + -0.00182, + 0.08893 + ] + ], + "extents": [ + 0.05974, + 0.004, + 0.08893 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Geometry/photo/00016/object.usd b/Objects/RoboDojo/Geometry/photo/00016/object.usd new file mode 100644 index 0000000000000000000000000000000000000000..a370e7adecaae393bce4bf0d143554575c10dc12 Binary files /dev/null and b/Objects/RoboDojo/Geometry/photo/00016/object.usd differ diff --git a/Objects/RoboDojo/Geometry/stack_base/00000/metadata.json b/Objects/RoboDojo/Geometry/stack_base/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c137e05ba5129d24c2a78191fca3a4f172254fea --- /dev/null +++ b/Objects/RoboDojo/Geometry/stack_base/00000/metadata.json @@ -0,0 +1,183 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1285, + -0.0324, + 0.0 + ], + [ + -0.1285, + -0.0324, + 0.0653 + ], + [ + -0.1285, + 0.0324, + 0.0 + ], + [ + -0.1285, + 0.0324, + 0.0653 + ], + [ + 0.1307, + -0.0324, + 0.0 + ], + [ + 0.1307, + -0.0324, + 0.0653 + ], + [ + 0.1307, + 0.0324, + 0.0 + ], + [ + 0.1307, + 0.0324, + 0.0653 + ] + ], + "extents": [ + 0.2592, + 0.0648, + 0.0653 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.1307, + 0.0324, + -0.0 + ], + [ + -0.1285, + 0.0324, + 0.0 + ], + [ + 0.1307, + 0.0324, + 0.0653 + ], + [ + -0.1285, + 0.0324, + 0.0653 + ], + [ + 0.1307, + -0.0324, + -0.0 + ], + [ + -0.1285, + -0.0324, + 0.0 + ], + [ + 0.1307, + -0.0324, + 0.0653 + ], + [ + -0.1285, + -0.0324, + 0.0653 + ] + ], + "extents": [ + 0.2592, + 0.0648, + 0.0654 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "size": [ + 0.2578651198472568, + 0.06445279250534544, + 0.065 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "pole/0": { + "center": [ + [ + -0.096, + 0.0, + 0.063, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.005 + ] + }, + "pole/1": { + "center": [ + [ + -0.031, + 0.0, + 0.053, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.005 + ] + }, + "pole/2": { + "center": [ + [ + 0.033, + 0.0, + 0.043, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.005 + ] + }, + "pole/3": { + "center": [ + [ + 0.098, + 0.0, + 0.028, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.005 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Geometry/t_cushion/00000/metadata.json b/Objects/RoboDojo/Geometry/t_cushion/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..56f19d698d757ce8eeb99fcc32e83378de9776d2 --- /dev/null +++ b/Objects/RoboDojo/Geometry/t_cushion/00000/metadata.json @@ -0,0 +1,260 @@ +{ + "physics": { + "mass": 0.45, + "friction": 0.25 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.042, + -0.034, + -0.0 + ], + [ + -0.042, + -0.034, + 0.0 + ], + [ + -0.042, + 0.034, + -0.0 + ], + [ + -0.042, + 0.034, + 0.0 + ], + [ + 0.042, + -0.034, + -0.0 + ], + [ + 0.042, + -0.034, + 0.0 + ], + [ + 0.042, + 0.034, + -0.0 + ], + [ + 0.042, + 0.034, + 0.0 + ] + ], + "extents": [ + 0.084, + 0.068, + 0.0001 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.042, + 0.034, + 0.0 + ], + [ + -0.042, + 0.034, + 0.0 + ], + [ + 0.042, + -0.034, + 0.0 + ], + [ + -0.042, + -0.034, + 0.0 + ], + [ + 0.042, + 0.034, + -0.0 + ], + [ + -0.042, + 0.034, + -0.0 + ], + [ + 0.042, + -0.034, + -0.0 + ], + [ + -0.042, + -0.034, + -0.0 + ] + ], + "extents": [ + 0.084, + 0.068, + 0.0001 + ] + } + }, + "active": {}, + "passive": { + "support": { + "default/0": { + "center": [ + [ + -0.0012, + 0.0, + 0.0, + 0.7071, + 0.0, + -0.7071, + 0.0 + ] + ], + "radius": [ + 0.0 + ] + } + } + }, + "description": [ + "T-shape with right-angle joint object used for reinforcing right-angle connections", + "roughly palm-sized object used for joining perpendicular surfaces", + "corner connector in roughly palm-sized", + "corner connector sized compact", + "corner connector used to joining perpendicular surfaces", + "roughly palm-sized non-reflective finish T-shaped bracket for reinforcing right-angle connections", + "corner connector intended for mounting panels or frames", + "two flat arms intersecting at 90 degrees-shaped T-shaped bracket", + "L-bracket designed for reinforcing right-angle connections", + "solid plastic corner connector used for mounting panels or frames", + "T-shaped bracket with non-reflective finish surface", + "two flat arms intersecting at 90 degrees smooth polymer object for reinforcing right-angle connections", + "small handheld smooth polymer L-bracket for joining perpendicular surfaces", + "dark charcoal shadow compact T-shaped bracket for reinforcing right-angle connections", + "L-bracket for mounting panels or frames with non-reflective finish", + "L-bracket with solid plastic body", + "L-bracket commonly found in small handheld size", + "roughly palm-sized object used for mounting panels or frames", + "two flat arms intersecting at 90 degrees corner connector used for mounting panels or frames", + "L-bracket in symmetrical cross-section profile form", + "T-shaped bracket commonly found in roughly palm-sized size", + "T-shaped bracket with two flat arms intersecting at 90 degrees geometry", + "L-bracket sized as small handheld", + "small handheld symmetrical cross-section profile object for mounting panels or frames", + "corner connector with roughly palm-sized dimensions", + "dark charcoal shadow two flat arms intersecting at 90 degrees object for mounting panels or frames", + "corner connector featuring non-reflective finish build", + "dark charcoal shadow smooth polymer L-bracket", + "solid plastic object for joining perpendicular surfaces", + "T-shaped bracket for mounting panels or frames", + "corner connector for mounting panels or frames use", + "T-shaped bracket built from non-reflective finish", + "small handheld non-reflective finish object", + "smooth polymer corner connector", + "corner connector appropriate for mounting panels or frames use", + "T-shape with right-angle joint T-shaped bracket ideal for mounting panels or frames", + "small handheld object used for reinforcing right-angle connections", + "L-bracket sized as compact", + "L-bracket colored matte black", + "L-bracket with two flat arms intersecting at 90 degrees geometry", + "corner connector in two flat arms intersecting at 90 degrees form", + "T-shaped bracket primarily used for reinforcing right-angle connections", + "dark charcoal shadow object used for joining perpendicular surfaces", + "L-bracket featuring smooth polymer build", + "matte black T-shape with right-angle joint corner connector used for mounting panels or frames", + "dark charcoal shadow corner connector suitable for reinforcing right-angle connections", + "roughly palm-sized corner connector for reinforcing right-angle connections", + "matte black small handheld two flat arms intersecting at 90 degrees L-bracket", + "matte black T-shaped bracket suitable for joining perpendicular surfaces", + "corner connector shaped like a T-shape with right-angle joint", + "roughly palm-sized two flat arms intersecting at 90 degrees corner connector", + "L-bracket ideal for mounting panels or frames", + "matte black object used for mounting panels or frames", + "dark charcoal shadow compact T-shape with right-angle joint corner connector", + "L-bracket for mounting panels or frames scenarios", + "symmetrical cross-section profile object made of solid plastic", + "corner connector in symmetrical cross-section profile", + "symmetrical cross-section profile T-shaped bracket for reinforcing right-angle connections", + "T-shaped bracket featuring symmetrical cross-section profile shape", + "L-bracket optimized for joining perpendicular surfaces", + "compact dark charcoal shadow T-shape with right-angle joint object", + "corner connector with two flat arms intersecting at 90 degrees profile", + "dark charcoal shadow object used for reinforcing right-angle connections", + "solid plastic corner connector", + "dark charcoal shadow L-bracket designed for reinforcing right-angle connections", + "smooth polymer corner connector used for reinforcing right-angle connections", + "corner connector made of solid plastic", + "matte black smooth polymer L-bracket", + "L-bracket with matte black exterior", + "solid plastic T-shape with right-angle joint for joining perpendicular surfaces", + "L-bracket in two flat arms intersecting at 90 degrees", + "T-shaped bracket sized small handheld", + "matte black object used for reinforcing right-angle connections", + "L-bracket appropriate for mounting panels or frames use", + "small handheld T-shaped bracket for joining perpendicular surfaces", + "T-shaped bracket in matte black", + "corner connector for reinforcing right-angle connections tasks", + "compact non-reflective finish corner connector for joining perpendicular surfaces", + "T-shape with right-angle joint-shaped T-shaped bracket", + "small handheld object used for mounting panels or frames", + "L-bracket in two flat arms intersecting at 90 degrees form", + "matte black L-bracket used for reinforcing right-angle connections", + "compact matte black smooth polymer T-shape with right-angle joint object", + "symmetrical cross-section profile smooth polymer corner connector for reinforcing right-angle connections", + "dark charcoal shadow T-shaped bracket for joining perpendicular surfaces", + "T-shaped bracket in symmetrical cross-section profile", + "two flat arms intersecting at 90 degrees solid plastic L-bracket for reinforcing right-angle connections", + "L-bracket with smooth polymer surface", + "L-bracket with solid plastic construction", + "matte black non-reflective finish symmetrical cross-section profile T-shaped bracket", + "T-shaped bracket built from smooth polymer", + "small handheld matte black non-reflective finish two flat arms intersecting at 90 degrees object", + "matte black smooth polymer two flat arms intersecting at 90 degrees object", + "roughly palm-sized dark charcoal shadow two flat arms intersecting at 90 degrees for reinforcing right-angle connections", + "corner connector commonly featuring non-reflective finish", + "matte black small handheld solid plastic object", + "L-bracket appropriate for joining perpendicular surfaces use", + "corner connector ideal for joining perpendicular surfaces", + "roughly palm-sized smooth polymer symmetrical cross-section profile for reinforcing right-angle connections", + "two flat arms intersecting at 90 degrees T-shaped bracket for mounting panels or frames" + ], + "caption": { + "color": [ + "matte black", + "dark charcoal shadow" + ], + "function": [ + "joining perpendicular surfaces", + "reinforcing right-angle connections", + "mounting panels or frames" + ], + "material": [ + "solid plastic", + "smooth polymer", + "non-reflective finish" + ], + "name": [ + "T-shaped bracket", + "L-bracket", + "corner connector" + ], + "shape": [ + "T-shape with right-angle joint", + "two flat arms intersecting at 90 degrees", + "symmetrical cross-section profile" + ], + "size": [ + "small handheld", + "compact", + "roughly palm-sized" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/t_cushion/00000/object.usdz b/Objects/RoboDojo/Geometry/t_cushion/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..96b69bd3bd370dafc9dd04d3e9502bec676ad69b Binary files /dev/null and b/Objects/RoboDojo/Geometry/t_cushion/00000/object.usdz differ diff --git a/Objects/RoboDojo/Geometry/toolbox/00000/metadata.json b/Objects/RoboDojo/Geometry/toolbox/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..2734e96ee7a78ba2351c0efd8521d935d8866415 --- /dev/null +++ b/Objects/RoboDojo/Geometry/toolbox/00000/metadata.json @@ -0,0 +1,160 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1372, + -0.1389, + -0.0251 + ], + [ + -0.1372, + -0.1389, + 0.0249 + ], + [ + -0.1372, + 0.1385, + -0.0251 + ], + [ + -0.1372, + 0.1385, + 0.0249 + ], + [ + 0.1372, + -0.1389, + -0.0251 + ], + [ + 0.1372, + -0.1389, + 0.0249 + ], + [ + 0.1372, + 0.1385, + -0.0251 + ], + [ + 0.1372, + 0.1385, + 0.0249 + ] + ], + "extents": [ + 0.2743, + 0.2773, + 0.05 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.1372, + -0.1389, + 0.0249 + ], + [ + 0.1372, + 0.1384, + 0.0249 + ], + [ + -0.1372, + -0.1389, + 0.0249 + ], + [ + -0.1372, + 0.1385, + 0.0249 + ], + [ + 0.1372, + -0.1389, + -0.0251 + ], + [ + 0.1372, + 0.1384, + -0.0251 + ], + [ + -0.1372, + -0.1389, + -0.0251 + ], + [ + -0.1372, + 0.1385, + -0.0251 + ] + ], + "extents": [ + 0.2743, + 0.2773, + 0.05 + ] + } + }, + "active": {}, + "passive": { + "functional": { + "hammer_slot": { + "frame": [ + [ + -0.01195, + -0.06284, + -0.00441, + 0.71226, + 0.7018, + -0.00622, + 0.01147 + ] + ] + }, + "pliers_slot": { + "frame": [ + [ + 0.01936, + 0.08417, + -0.0061, + 0.70818, + -0.70582, + -0.0109, + -0.01338 + ] + ] + }, + "tape_measure_slot": { + "frame": [ + [ + -0.0947, + 0.07506, + -0.00659, + -0.6908, + 0.72273, + 0.02123, + 0.00179 + ] + ] + }, + "wrench_slot": { + "frame": [ + [ + 0.011, + -0.00093, + -0.00737, + 0.71227, + -0.70144, + -0.00478, + -0.02528 + ] + ] + } + }, + "support": {} + } +} diff --git a/Objects/RoboDojo/Geometry/vertical_laptop_storage_rack/00000/metadata.json b/Objects/RoboDojo/Geometry/vertical_laptop_storage_rack/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..75739f16737f1a9bf27c5039f3b0fb5d093cf312 --- /dev/null +++ b/Objects/RoboDojo/Geometry/vertical_laptop_storage_rack/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.85, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0685, + -0.0265, + -0.0244 + ], + [ + -0.0685, + -0.0265, + 0.0243 + ], + [ + -0.0685, + 0.0266, + -0.0244 + ], + [ + -0.0685, + 0.0266, + 0.0243 + ], + [ + 0.0684, + -0.0265, + -0.0244 + ], + [ + 0.0684, + -0.0265, + 0.0243 + ], + [ + 0.0684, + 0.0266, + -0.0244 + ], + [ + 0.0684, + 0.0266, + 0.0243 + ] + ], + "extents": [ + 0.137, + 0.0531, + 0.0486 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0685, + -0.0265, + 0.0243 + ], + [ + 0.0684, + -0.0265, + 0.0243 + ], + [ + -0.0685, + 0.0266, + 0.0243 + ], + [ + 0.0684, + 0.0266, + 0.0243 + ], + [ + -0.0685, + -0.0265, + -0.0244 + ], + [ + 0.0684, + -0.0265, + -0.0244 + ], + [ + -0.0685, + 0.0266, + -0.0244 + ], + [ + 0.0684, + 0.0266, + -0.0244 + ] + ], + "extents": [ + 0.137, + 0.0531, + 0.0486 + ] + } + }, + "active": {}, + "description": [ + "brushed silver base nameplate holder typically used for displaying nameplates on desks", + "nameplate holder made from wood veneer", + "painted metal nameplate holder", + "desk-sized brushed silver base wood veneer desk card stand", + "desk card stand ideal for holding business cards upright", + "desk card stand commonly found in fits in palm size", + "compact brushed silver base rectangular base with two upright panels for organizing small cards", + "brushed silver base business card holder for organizing small cards", + "compact matte black wood veneer rectangular base with two upright panels object", + "fits in palm low-profile wedge business card holder for holding business cards upright", + "business card holder with low-profile wedge profile", + "desk-sized matte black nameplate holder", + "desk card stand featuring low-profile wedge shape", + "wood veneer nameplate holder suitable for organizing small cards", + "aluminum base rectangular base with two upright panels for displaying nameplates on desks", + "dark wood grain desk card stand suitable for displaying nameplates on desks", + "aluminum base V-shaped slot business card holder", + "nameplate holder commonly found in compact size", + "desk card stand in low-profile wedge", + "V-shaped slot compact desk card stand", + "desk card stand with fits in palm dimensions", + "brushed silver base desk card stand for displaying nameplates on desks", + "fits in palm brushed silver base V-shaped slot object", + "business card holder in V-shaped slot form", + "rectangular base with two upright panels desk card stand used for organizing small cards", + "fits in palm V-shaped slot desk card stand for organizing small cards", + "business card holder appropriate for organizing small cards use", + "business card holder with aluminum base surface", + "fits in palm rectangular base with two upright panels object", + "nameplate holder with wood veneer body", + "business card holder in desk-sized", + "fits in palm object used for holding business cards upright", + "painted metal dark wood grain nameplate holder", + "rectangular base with two upright panels object made of wood veneer", + "painted metal desk card stand suitable for holding business cards upright", + "desk card stand appropriate for holding business cards upright use", + "business card holder for holding business cards upright with aluminum base", + "V-shaped slot fits in palm business card holder", + "compact brushed silver base low-profile wedge object", + "desk card stand in V-shaped slot form", + "business card holder for displaying nameplates on desks use", + "compact aluminum base object", + "nameplate holder ideal for displaying nameplates on desks", + "nameplate holder with aluminum base surface", + "desk card stand appropriate for displaying nameplates on desks use", + "nameplate holder made from painted metal", + "wood veneer brushed silver base nameplate holder", + "organizing small cards use of business card holder", + "brushed silver base nameplate holder used for holding business cards upright", + "business card holder commonly used for holding business cards upright", + "rectangular base with two upright panels object used for organizing small cards", + "fits in palm painted metal desk card stand for holding business cards upright", + "business card holder shaped like a rectangular base with two upright panels", + "desk card stand with dark wood grain color", + "compact dark wood grain aluminum base V-shaped slot object", + "business card holder for displaying nameplates on desks", + "matte black wood veneer desk card stand", + "dark wood grain fits in palm low-profile wedge nameplate holder", + "nameplate holder commonly featuring aluminum base", + "desk-sized wood veneer nameplate holder for organizing small cards", + "V-shaped slot painted metal object for organizing small cards", + "wood veneer object used for holding business cards upright", + "business card holder commonly featuring painted metal", + "matte black nameplate holder typically used for holding business cards upright", + "nameplate holder featuring V-shaped slot shape", + "nameplate holder designed for organizing small cards", + "dark wood grain wood veneer business card holder", + "nameplate holder with matte black color", + "desk card stand commonly found in desk-sized size", + "nameplate holder appropriate for holding business cards upright", + "fits in palm wood veneer low-profile wedge for holding business cards upright", + "nameplate holder with rectangular base with two upright panels geometry", + "business card holder with wood veneer body", + "desk-sized brushed silver base low-profile wedge object", + "nameplate holder appropriate for holding business cards upright use", + "painted metal business card holder for organizing small cards", + "wood veneer matte black nameplate holder", + "desk card stand colored dark wood grain", + "nameplate holder in dark wood grain", + "brushed silver base object used for organizing small cards", + "nameplate holder colored brushed silver base", + "painted metal desk card stand suitable for organizing small cards", + "fits in palm wood veneer rectangular base with two upright panels for holding business cards upright", + "brushed silver base object used for holding business cards upright", + "rectangular base with two upright panels aluminum base object for organizing small cards", + "low-profile wedge nameplate holder ideal for displaying nameplates on desks", + "fits in palm matte black painted metal V-shaped slot object", + "desk card stand designed for holding business cards upright", + "nameplate holder commonly found in fits in palm size", + "desk card stand sized desk-sized", + "holding business cards upright use of business card holder", + "aluminum base object used for displaying nameplates on desks", + "nameplate holder with dark wood grain color", + "dark wood grain nameplate holder used for displaying nameplates on desks", + "nameplate holder for holding business cards upright", + "compact object used for organizing small cards", + "fits in palm dark wood grain desk card stand", + "nameplate holder typically made of aluminum base", + "desk card stand with dark wood grain exterior", + "desk card stand with painted metal construction" + ], + "caption": { + "color": [ + "dark wood grain", + "matte black", + "brushed silver base" + ], + "material": [ + "wood veneer", + "painted metal", + "aluminum base" + ], + "size": [ + "desk-sized", + "fits in palm", + "compact" + ], + "name": [ + "business card holder", + "desk card stand", + "nameplate holder" + ], + "shape": [ + "rectangular base with two upright panels", + "V-shaped slot", + "low-profile wedge" + ], + "function": [ + "holding business cards upright", + "displaying nameplates on desks", + "organizing small cards" + ] + } +} diff --git a/Objects/RoboDojo/Geometry/xylophone/00000/metadata.json b/Objects/RoboDojo/Geometry/xylophone/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..5d0ba4e3e12c87eb4a0f23a5964285456c32ab1d --- /dev/null +++ b/Objects/RoboDojo/Geometry/xylophone/00000/metadata.json @@ -0,0 +1,687 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.2111, + -0.1193, + -0.0 + ], + [ + -0.2111, + -0.1193, + 0.023 + ], + [ + -0.2111, + 0.0927, + -0.0 + ], + [ + -0.2111, + 0.0927, + 0.023 + ], + [ + 0.2089, + -0.1193, + -0.0 + ], + [ + 0.2089, + -0.1193, + 0.023 + ], + [ + 0.2089, + 0.0927, + -0.0 + ], + [ + 0.2089, + 0.0927, + 0.023 + ] + ], + "extents": [ + 0.42, + 0.212, + 0.023 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.2089, + -0.1193, + 0.0 + ], + [ + -0.2111, + -0.1193, + -0.0 + ], + [ + 0.2089, + 0.0927, + 0.0 + ], + [ + -0.2111, + 0.0927, + -0.0 + ], + [ + 0.2089, + -0.1193, + 0.023 + ], + [ + -0.2111, + -0.1193, + 0.023 + ], + [ + 0.2089, + 0.0927, + 0.023 + ], + [ + -0.2111, + 0.0927, + 0.023 + ] + ], + "extents": [ + 0.42, + 0.212, + 0.023 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "functional": { + "bbox_0": { + "frame": [ + [ + 0.135, + 0.042, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.161, + 0.042, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.135, + -0.068, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.161, + -0.068, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "bbox_1": { + "frame": [ + [ + 0.117, + 0.037, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.094, + 0.037, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.094, + -0.063, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.117, + -0.063, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "bbox_2": { + "frame": [ + [ + 0.074, + 0.037, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.049, + 0.037, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.074, + -0.058, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.049, + -0.058, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "bbox_3": { + "frame": [ + [ + 0.034, + 0.037, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.007, + 0.037, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.034, + -0.053, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.007, + -0.053, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "bbox_4": { + "frame": [ + [ + -0.011, + 0.037, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.011, + -0.048, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.036, + 0.037, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.036, + -0.048, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "bbox_5": { + "frame": [ + [ + -0.053, + 0.037, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.053, + -0.043, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.079, + 0.037, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.079, + -0.043, + 0.021, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "bbox_6": { + "frame": [ + [ + -0.096, + 0.037, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.096, + -0.038, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.121, + 0.037, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.121, + -0.038, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "bbox_7": { + "frame": [ + [ + -0.138, + 0.037, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.138, + -0.033, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.164, + 0.037, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.164, + -0.033, + 0.016, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "hit_0": { + "frame": [ + [ + 0.147, + -0.02, + 0.014, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + 0.147, + -0.02, + 0.014, + 0.38268343236508984, + 0.0, + -0.0, + -0.9238795325112867 + ], + [ + 0.147, + -0.02, + 0.014, + 0.38268343236508984, + 0.0, + 0.0, + 0.9238795325112867 + ] + ] + }, + "hit_1": { + "frame": [ + [ + 0.104, + -0.017, + 0.014, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + 0.104, + -0.017, + 0.014, + 0.38268343236508984, + 0.0, + -0.0, + -0.9238795325112867 + ], + [ + 0.104, + -0.017, + 0.014, + 0.38268343236508984, + 0.0, + 0.0, + 0.9238795325112867 + ] + ] + }, + "hit_2": { + "frame": [ + [ + 0.062, + -0.016, + 0.014, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + 0.062, + -0.016, + 0.014, + 0.38268343236508984, + 0.0, + -0.0, + -0.9238795325112867 + ], + [ + 0.062, + -0.016, + 0.014, + 0.38268343236508984, + 0.0, + 0.0, + 0.9238795325112867 + ] + ] + }, + "hit_3": { + "frame": [ + [ + 0.019, + -0.015, + 0.014, + 0.38268343236508984, + 0.0, + -0.0, + -0.9238795325112867 + ], + [ + 0.019, + -0.015, + 0.014, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + 0.019, + -0.015, + 0.014, + 0.38268343236508984, + 0.0, + 0.0, + 0.9238795325112867 + ] + ] + }, + "hit_4": { + "frame": [ + [ + -0.022, + -0.014, + 0.014, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + -0.022, + -0.014, + 0.014, + 0.38268343236508984, + 0.0, + 0.0, + 0.9238795325112867 + ], + [ + -0.022, + -0.014, + 0.014, + 0.38268343236508984, + 0.0, + -0.0, + -0.9238795325112867 + ] + ] + }, + "hit_5": { + "frame": [ + [ + -0.066, + -0.013, + 0.014, + 0.38268343236508984, + 0.0, + -0.0, + -0.9238795325112867 + ], + [ + -0.066, + -0.013, + 0.014, + 0.38268343236508984, + 0.0, + 0.0, + 0.9238795325112867 + ], + [ + -0.066, + -0.013, + 0.014, + 0.0, + 0.0, + 0.0, + 1.0 + ] + ] + }, + "hit_6": { + "frame": [ + [ + -0.109, + -0.011, + 0.014, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + -0.109, + -0.011, + 0.014, + 0.38268343236508984, + 0.0, + 0.0, + 0.9238795325112867 + ], + [ + -0.109, + -0.011, + 0.014, + 0.38268343236508984, + 0.0, + -0.0, + -0.9238795325112867 + ] + ] + }, + "hit_7": { + "frame": [ + [ + -0.152, + -0.006, + 0.014, + 0.0, + 0.0, + 0.0, + 1.0 + ], + [ + -0.152, + -0.006, + 0.014, + 0.38268343236508984, + 0.0, + 0.0, + 0.9238795325112867 + ], + [ + -0.152, + -0.006, + 0.014, + 0.38268343236508984, + 0.0, + -0.0, + -0.9238795325112867 + ] + ] + } + }, + "support": {} + }, + "physics": { + "size": [ + 0.4200000067476957, + 0.21200000000000002, + 0.023000000001005553 + ], + "mass": 0.0, + "friction": 0.0 + } +} diff --git a/Objects/RoboDojo/Rigid/bag/00000/metadata.json b/Objects/RoboDojo/Rigid/bag/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c007a1c504f3a636a27102f6e06aa4c2bc7a02ad --- /dev/null +++ b/Objects/RoboDojo/Rigid/bag/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.85, + "friction": 0.25 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1173, + -0.0703, + -0.1238 + ], + [ + -0.1173, + -0.0703, + 0.1238 + ], + [ + -0.1173, + 0.0704, + -0.1238 + ], + [ + -0.1173, + 0.0704, + 0.1238 + ], + [ + 0.1172, + -0.0703, + -0.1238 + ], + [ + 0.1172, + -0.0703, + 0.1238 + ], + [ + 0.1172, + 0.0704, + -0.1238 + ], + [ + 0.1172, + 0.0704, + 0.1238 + ] + ], + "extents": [ + 0.2345, + 0.1406, + 0.2476 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.1165, + 0.0217, + 0.1292 + ], + [ + 0.1165, + 0.0841, + -0.1111 + ], + [ + -0.1181, + 0.0191, + 0.1285 + ], + [ + -0.1181, + 0.0816, + -0.1118 + ], + [ + 0.1181, + -0.1084, + 0.0953 + ], + [ + 0.1181, + -0.046, + -0.1449 + ], + [ + -0.1166, + -0.111, + 0.0947 + ], + [ + -0.1166, + -0.0486, + -0.1456 + ] + ], + "extents": [ + 0.2361, + 0.1951, + 0.2748 + ] + } + }, + "active": {}, + "description": [ + "chain-strap tote made from polished metal chain", + "rounded top handle object made of polished metal chain", + "glossy black fits in one hand Dior Lady Dior for fashion accessory", + "diamond-stitched panels polished metal chain object for fashion accessory", + "fits in one hand diamond-stitched panels chain-strap tote", + "quilted handbag with patent leather construction", + "Dior Lady Dior for fashion accessory scenarios", + "Dior Lady Dior sized fits in one hand", + "mini size polished metal chain object", + "patent leather quilted handbag for carrying essentials", + "mini size stitched quilted fabric Dior Lady Dior for elevating an outfit", + "glossy black object used for carrying essentials", + "stitched quilted fabric object for carrying essentials", + "Dior Lady Dior colored glossy black", + "fits in one hand quilted handbag perfect for elevating an outfit", + "Dior Lady Dior made of stitched quilted fabric", + "mini size patent leather object", + "gold hardware Dior Lady Dior designed for fashion accessory", + "structured trapezoid polished metal chain quilted handbag for carrying essentials", + "quilted handbag optimized for elevating an outfit", + "gold hardware chain-strap tote suitable for fashion accessory", + "Dior Lady Dior featuring diamond-stitched panels shape", + "fits in one hand patent leather quilted handbag for fashion accessory", + "chain-strap tote for carrying essentials scenarios", + "quilted handbag for elevating an outfit with stitched quilted fabric", + "Dior Lady Dior shaped like a structured trapezoid", + "fits in one hand glossy black object for fashion accessory", + "quilted handbag colored glossy black", + "gold hardware fits in one hand rounded top handle quilted handbag", + "chain-strap tote sized as fits in one hand", + "stitched quilted fabric object for elevating an outfit", + "gold hardware object used for carrying essentials", + "chain-strap tote for carrying essentials", + "Dior Lady Dior for carrying essentials activities", + "diamond-stitched panels patent leather object for elevating an outfit", + "quilted handbag for carrying essentials", + "polished metal chain gold hardware Dior Lady Dior", + "fits in one hand diamond-stitched panels quilted handbag", + "shiny metallic rounded top handle quilted handbag", + "structured trapezoid patent leather object for carrying essentials", + "glossy black Dior Lady Dior used for carrying essentials", + "Dior Lady Dior with rounded top handle profile", + "gold hardware quilted handbag typically used for fashion accessory", + "fits in one hand patent leather Dior Lady Dior", + "quilted handbag with diamond-stitched panels profile", + "compact handbag object used for fashion accessory", + "compact handbag rounded top handle Dior Lady Dior", + "Dior Lady Dior designed for elevating an outfit", + "compact handbag diamond-stitched panels object", + "compact handbag quilted handbag perfect for fashion accessory", + "gold hardware fits in one hand stitched quilted fabric object", + "glossy black Dior Lady Dior typically used for carrying essentials", + "quilted handbag for carrying essentials use", + "quilted handbag appropriate for carrying essentials use", + "stitched quilted fabric structured trapezoid object used for carrying essentials", + "mini size structured trapezoid object", + "mini size shiny metallic object for fashion accessory", + "fashion accessory with Dior Lady Dior", + "mini size shiny metallic stitched quilted fabric diamond-stitched panels object", + "gold hardware patent leather structured trapezoid Dior Lady Dior", + "patent leather quilted handbag", + "mini size polished metal chain rounded top handle for elevating an outfit", + "stitched quilted fabric chain-strap tote used for fashion accessory", + "stitched quilted fabric chain-strap tote used for elevating an outfit", + "chain-strap tote made of patent leather", + "stitched quilted fabric Dior Lady Dior for fashion accessory", + "gold hardware polished metal chain chain-strap tote", + "gold hardware chain-strap tote designed for carrying essentials", + "fits in one hand stitched quilted fabric Dior Lady Dior", + "patent leather rounded top handle quilted handbag", + "gold hardware compact handbag structured trapezoid quilted handbag", + "Dior Lady Dior used to fashion accessory", + "rounded top handle polished metal chain object for carrying essentials", + "chain-strap tote with shiny metallic exterior", + "mini size glossy black diamond-stitched panels for fashion accessory", + "chain-strap tote suitable for elevating an outfit", + "mini size object used for elevating an outfit", + "polished metal chain structured trapezoid Dior Lady Dior", + "chain-strap tote appropriate for fashion accessory use", + "Dior Lady Dior designed for fashion accessory", + "diamond-stitched panels-shaped quilted handbag", + "fits in one hand polished metal chain object", + "gold hardware stitched quilted fabric Dior Lady Dior", + "quilted handbag with patent leather body", + "quilted handbag sized compact handbag", + "chain-strap tote primarily used for carrying essentials", + "structured trapezoid compact handbag quilted handbag", + "fits in one hand chain-strap tote perfect for fashion accessory", + "chain-strap tote designed for fashion accessory", + "Dior Lady Dior with mini size dimensions", + "patent leather object for fashion accessory", + "elevating an outfit use of quilted handbag", + "patent leather object used for elevating an outfit", + "quilted handbag commonly featuring polished metal chain", + "shiny metallic compact handbag quilted handbag for elevating an outfit", + "quilted handbag for elevating an outfit use", + "fits in one hand shiny metallic quilted handbag", + "Dior Lady Dior with polished metal chain body", + "fits in one hand glossy black rounded top handle for fashion accessory", + "fits in one hand diamond-stitched panels Dior Lady Dior for elevating an outfit" + ], + "caption": { + "color": [ + "glossy black", + "gold hardware", + "shiny metallic" + ], + "material": [ + "patent leather", + "polished metal chain", + "stitched quilted fabric" + ], + "size": [ + "compact handbag", + "mini size", + "fits in one hand" + ], + "name": [ + "Dior Lady Dior", + "quilted handbag", + "chain-strap tote" + ], + "shape": [ + "structured trapezoid", + "rounded top handle", + "diamond-stitched panels" + ], + "function": [ + "carrying essentials", + "fashion accessory", + "elevating an outfit" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/basket_grasp/00002/metadata.json b/Objects/RoboDojo/Rigid/basket_grasp/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..eeca9167fd5ec1ef88e80e2ae497b6d4861ee95e --- /dev/null +++ b/Objects/RoboDojo/Rigid/basket_grasp/00002/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.2, + "friction": 0.42 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1803, + -0.1207, + -0.1095 + ], + [ + -0.1803, + -0.1207, + 0.1091 + ], + [ + -0.1803, + 0.1211, + -0.1095 + ], + [ + -0.1803, + 0.1211, + 0.1091 + ], + [ + 0.1799, + -0.1207, + -0.1095 + ], + [ + 0.1799, + -0.1207, + 0.1091 + ], + [ + 0.1799, + 0.1211, + -0.1095 + ], + [ + 0.1799, + 0.1211, + 0.1091 + ] + ], + "extents": [ + 0.3601, + 0.2419, + 0.2186 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.1799, + 0.1211, + 0.1091 + ], + [ + -0.1802, + 0.1211, + 0.1091 + ], + [ + 0.1799, + -0.1208, + 0.1091 + ], + [ + -0.1803, + -0.1207, + 0.1091 + ], + [ + 0.1799, + 0.1211, + -0.1095 + ], + [ + -0.1802, + 0.1211, + -0.1095 + ], + [ + 0.1799, + -0.1208, + -0.1095 + ], + [ + -0.1803, + -0.1207, + -0.1095 + ] + ], + "extents": [ + 0.3601, + 0.2419, + 0.2186 + ] + } + }, + "active": {}, + "description": [ + "grocery basket with light blue exterior", + "light blue rigid plastic grocery basket", + "molded plastic carry basket suitable for carrying groceries", + "handheld size integrated handle object", + "light blue handheld size rigid plastic object", + "shopping basket built from molded plastic", + "grocery basket with rectangular prism geometry", + "shopping basket for transporting small items", + "grocery basket made of plastic", + "carry basket in integrated handle", + "handheld size grocery basket used for holding produce", + "shopping basket commonly featuring plastic", + "light blue integrated handle shopping basket", + "shopping basket for holding produce", + "matte blue handheld size rectangular prism shopping basket", + "open-top box shopping basket ideal for carrying groceries", + "medium shopping basket light blue molded plastic rectangular prism object", + "rigid plastic rectangular prism object used for carrying groceries", + "handheld size rigid plastic object", + "grocery basket commonly featuring molded plastic", + "carry basket primarily used for holding produce", + "rectangular prism rigid plastic object for holding produce", + "plastic carry basket for holding produce", + "shopping basket featuring rigid plastic build", + "shopping basket in fits on arm", + "carry basket built from plastic", + "shopping basket intended for carrying groceries", + "shopping basket intended for holding produce", + "shopping basket commonly used for holding produce", + "medium shopping basket rectangular prism carry basket for holding produce", + "light blue medium shopping basket plastic object", + "carry basket primarily used for carrying groceries", + "shopping basket sized as medium shopping basket", + "medium shopping basket molded plastic integrated handle for carrying groceries", + "medium shopping basket plastic object", + "integrated handle object made of molded plastic", + "shopping basket in open-top box form", + "rigid plastic open-top box object used for transporting small items", + "carry basket appropriate for holding produce use", + "plastic rectangular prism for carrying groceries", + "carry basket typically made of molded plastic", + "shopping basket suitable for holding produce", + "carry basket for transporting small items use", + "molded plastic object used for carrying groceries", + "dusty blue fits on arm rigid plastic object", + "shopping basket designed for transporting small items", + "fits on arm integrated handle carry basket for holding produce", + "fits on arm carry basket used for transporting small items", + "shopping basket for transporting small items scenarios", + "fits on arm open-top box carry basket", + "dusty blue object used for transporting small items", + "rectangular prism object used for holding produce", + "carry basket intended for carrying groceries usage", + "open-top box rigid plastic carry basket for transporting small items", + "handheld size light blue rigid plastic carry basket", + "matte blue integrated handle grocery basket used for transporting small items", + "grocery basket typically made of rigid plastic", + "handheld size rectangular prism carry basket", + "shopping basket made from plastic", + "grocery basket appropriate for holding produce use", + "grocery basket for transporting small items activities", + "grocery basket primarily used for carrying groceries", + "fits on arm dusty blue grocery basket", + "medium shopping basket shopping basket perfect for carrying groceries", + "matte blue plastic open-top box grocery basket", + "holding produce use of carry basket", + "light blue object used for carrying groceries", + "light blue plastic shopping basket", + "molded plastic matte blue grocery basket", + "grocery basket in rectangular prism", + "carry basket with integrated handle geometry", + "fits on arm rectangular prism carry basket for transporting small items", + "medium shopping basket molded plastic open-top box for carrying groceries", + "grocery basket with open-top box profile", + "shopping basket with rigid plastic body", + "grocery basket intended for carrying groceries usage", + "carry basket for holding produce tasks", + "matte blue molded plastic grocery basket", + "shopping basket in rectangular prism", + "light blue rectangular prism carry basket used for transporting small items", + "matte blue rigid plastic rectangular prism object", + "carry basket typically made of plastic", + "shopping basket for holding produce activities", + "light blue integrated handle grocery basket used for transporting small items", + "medium shopping basket grocery basket used for transporting small items", + "integrated handle object used for holding produce", + "shopping basket appropriate for carrying groceries use", + "grocery basket commonly used for holding produce", + "carry basket in fits on arm", + "shopping basket with handheld size dimensions", + "shopping basket sized handheld size", + "grocery basket ideal for carrying groceries", + "shopping basket typically made of plastic", + "carry basket suitable for transporting small items", + "grocery basket typically made of molded plastic", + "light blue integrated handle grocery basket", + "open-top box plastic grocery basket for holding produce", + "fits on arm carry basket perfect for carrying groceries", + "carry basket designed for holding produce", + "open-top box carry basket for carrying groceries" + ], + "caption": { + "color": [ + "light blue", + "dusty blue", + "matte blue" + ], + "material": [ + "plastic", + "molded plastic", + "rigid plastic" + ], + "size": [ + "medium shopping basket", + "handheld size", + "fits on arm" + ], + "name": [ + "shopping basket", + "carry basket", + "grocery basket" + ], + "shape": [ + "rectangular prism", + "open-top box", + "integrated handle" + ], + "function": [ + "carrying groceries", + "holding produce", + "transporting small items" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/block/00005/description.json b/Objects/RoboDojo/Rigid/block/00005/description.json new file mode 100644 index 0000000000000000000000000000000000000000..bbf04abdcc18c6c9afac12b1c1bbc3ca14cfd7b9 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00005/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 6 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "smartwatch ideal for showing notifications", + "smartwatch appropriate for tracking heart rate use", + "subtle blue LED glow brushed aluminum rectangular case object", + "slim profile dark gray accents fitness tracker", + "smartwatch with tempered glass front construction", + "Apple Watch with brushed aluminum surface", + "Apple Watch made from rubberized grip", + "rubberized grip rectangular case object used for tracking heart rate", + "palm-sized brushed aluminum smartwatch for showing notifications", + "Apple Watch appropriate for monitoring daily activity use", + "Apple Watch for monitoring daily activity with rubberized grip", + "dark gray accents smartwatch suitable for monitoring daily activity", + "palm-sized subtle blue LED glow brushed aluminum curved edges object", + "Apple Watch commonly featuring brushed aluminum", + "smartwatch featuring round face shape", + "brushed aluminum object used for tracking heart rate", + "smartwatch with brushed aluminum construction", + "matte black rubberized grip smartwatch", + "slim profile tempered glass front fitness tracker", + "slim profile rectangular case smartwatch", + "slim profile object used for showing notifications", + "smartwatch for tracking heart rate", + "Apple Watch sized slim profile", + "dark gray accents round face object for tracking heart rate", + "monitoring daily activity use of Apple Watch", + "brushed aluminum fitness tracker used for showing notifications", + "smartwatch for monitoring daily activity tasks", + "Apple Watch appropriate for tracking heart rate use", + "fitness tracker for showing notifications tasks", + "subtle blue LED glow rubberized grip smartwatch", + "matte black Apple Watch used for showing notifications", + "Apple Watch appropriate for showing notifications use", + "Apple Watch appropriate for showing notifications", + "curved edges brushed aluminum object for showing notifications", + "rectangular case object made of brushed aluminum", + "dark gray accents brushed aluminum fitness tracker", + "smartwatch appropriate for monitoring daily activity", + "matte black curved edges object for showing notifications", + "slim profile tempered glass front curved edges for monitoring daily activity", + "Apple Watch commonly found in about 6 inches tall size", + "smartwatch intended for tracking heart rate usage", + "matte black round face fitness tracker used for tracking heart rate", + "subtle blue LED glow slim profile Apple Watch for monitoring daily activity", + "rubberized grip Apple Watch suitable for monitoring daily activity", + "palm-sized tempered glass front smartwatch", + "fitness tracker with brushed aluminum surface", + "matte black about 6 inches tall curved edges smartwatch", + "slim profile object used for tracking heart rate", + "slim profile curved edges object for showing notifications", + "fitness tracker shaped like a curved edges", + "curved edges rubberized grip object for tracking heart rate", + "Apple Watch built from rubberized grip", + "about 6 inches tall matte black fitness tracker", + "monitoring daily activity use of smartwatch", + "rubberized grip Apple Watch", + "smartwatch for tracking heart rate activities", + "round face fitness tracker for tracking heart rate", + "Apple Watch with brushed aluminum body", + "curved edges brushed aluminum smartwatch for showing notifications", + "palm-sized dark gray accents fitness tracker", + "palm-sized subtle blue LED glow object for tracking heart rate", + "smartwatch commonly used for monitoring daily activity", + "smartwatch featuring rectangular case shape", + "slim profile rubberized grip rectangular case for tracking heart rate", + "slim profile round face fitness tracker for tracking heart rate", + "Apple Watch used to tracking heart rate", + "matte black brushed aluminum Apple Watch", + "about 6 inches tall Apple Watch perfect for monitoring daily activity", + "smartwatch used to showing notifications", + "about 6 inches tall fitness tracker used for monitoring daily activity", + "curved edges Apple Watch for showing notifications", + "curved edges tempered glass front object for monitoring daily activity", + "matte black round face smartwatch used for monitoring daily activity", + "fitness tracker featuring curved edges shape", + "showing notifications use of Apple Watch", + "palm-sized fitness tracker for showing notifications", + "matte black fitness tracker suitable for tracking heart rate", + "brushed aluminum smartwatch for showing notifications", + "rubberized grip Apple Watch for showing notifications", + "rectangular case about 6 inches tall Apple Watch", + "slim profile round face smartwatch for monitoring daily activity", + "fitness tracker in curved edges", + "dark gray accents smartwatch used for tracking heart rate", + "rubberized grip Apple Watch suitable for tracking heart rate", + "rubberized grip smartwatch", + "Apple Watch sized as about 6 inches tall", + "smartwatch for tracking heart rate use", + "fitness tracker made from rubberized grip", + "rectangular case rubberized grip object for tracking heart rate", + "brushed aluminum fitness tracker suitable for monitoring daily activity", + "smartwatch for tracking heart rate scenarios", + "Apple Watch sized palm-sized", + "Apple Watch with slim profile dimensions", + "showing notifications use of fitness tracker", + "palm-sized rubberized grip object", + "palm-sized Apple Watch for showing notifications", + "slim profile dark gray accents rubberized grip curved edges object", + "Apple Watch for showing notifications scenarios", + "Apple Watch featuring rectangular case shape", + "fitness tracker with subtle blue LED glow exterior" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00005/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00005/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..642fc82d2e34978b329545b1c6f816fe5ea73840 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00005/grasps/UMI.json @@ -0,0 +1,4 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00005/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00005/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..efdf2af9a9cb6f9b72b7ebdb13d88106d8d3ee0b --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00005/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + 0.0002, + -0.001, + 0.0, + 0.7072, + 0.707, + -0.0002 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00005/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00005/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..83c92bac0c0b176f72efa95c562fa9e6e6f3292c --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00005/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0002, + -0.0007, + -0.0018, + -0.012, + 0.6868, + 0.7267, + 0.0108 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00005/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00005/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..c0121586392385f4c910d8e246a98bde87dd4f13 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00005/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0, + -0.0, + 0.005, + 0.0, + 1.0, + -0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.005, + -0.0, + 0.7071, + 0.7071, + 0.0 + ], + [ + -0.0, + 0.0, + 0.005, + -0.0, + 0.0, + 1.0, + 0.0 + ], + [ + -0.0, + -0.0, + 0.005, + -0.0, + -0.7071, + 0.7071, + -0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00005/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00005/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..f5e575744e88adae421d2b43b2262bcc32da7148 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00005/grasps/piper_v1.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + -0.0, + -0.0, + 0.0, + 1.0, + -0.0001, + -0.0 + ], + [ + -0.0, + -0.0, + -0.0, + -0.0002, + 0.7071, + 0.7071, + 0.0023 + ], + [ + 0.0, + -0.0, + -0.0, + -0.0015, + -0.0005, + 1.0, + 0.0015 + ], + [ + 0.0, + 0.0, + -0.0, + -0.0021, + -0.7072, + 0.707, + -0.0001 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00005/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00005/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..9dbe5be1e4f3781b90e071ad4b3bea768b5aa741 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00005/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + [ + 0.0, + 0.0, + 0.101, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00005/metadata.json b/Objects/RoboDojo/Rigid/block/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..443eb551408e383acaef6923703fe328e655974d --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00005/metadata.json @@ -0,0 +1,177 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "geometry": { + "faces": 1452, + "vertices": 2253, + "aligned_bbox": { + "vertices": [ + [ + -0.015, + -0.015, + -0.015 + ], + [ + -0.015, + -0.015, + 0.015 + ], + [ + -0.015, + 0.015, + -0.015 + ], + [ + -0.015, + 0.015, + 0.015 + ], + [ + 0.015, + -0.015, + -0.015 + ], + [ + 0.015, + -0.015, + 0.015 + ], + [ + 0.015, + 0.015, + -0.015 + ], + [ + 0.015, + 0.015, + 0.015 + ] + ], + "extents": [ + 0.03, + 0.03, + 0.03 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.015, + 0.015, + 0.015 + ], + [ + 0.015, + 0.015, + 0.015 + ], + [ + -0.015, + 0.015, + -0.015 + ], + [ + 0.015, + 0.015, + -0.015 + ], + [ + -0.015, + -0.015, + 0.015 + ], + [ + 0.015, + -0.015, + 0.015 + ], + [ + -0.015, + -0.015, + -0.015 + ], + [ + 0.015, + -0.015, + -0.015 + ] + ], + "extents": [ + 0.03, + 0.03, + 0.03 + ] + }, + "radius": 0.02294703710233376, + "bbox": [ + 0.03, + 0.03, + 0.03 + ], + "center": [ + 0.0, + 0.0, + 7.842897659762042e-20 + ] + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0011, + -0.0006, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0, + -0.0, + -0.015, + 1.0, + -0.0011, + 0.0006, + 0.0 + ], + "radius": 0.0196 + }, + "contact_circle": { + "center": [ + -0.0, + -0.0, + -0.015, + 1.0, + -0.0011, + 0.0006, + 0.0 + ], + "radius": 0.0181 + } + } + } + }, + "physics": { + "mass": 0.2, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.015, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.015 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00006/description.json b/Objects/RoboDojo/Rigid/block/00006/description.json new file mode 100644 index 0000000000000000000000000000000000000000..bbf04abdcc18c6c9afac12b1c1bbc3ca14cfd7b9 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00006/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 6 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "smartwatch ideal for showing notifications", + "smartwatch appropriate for tracking heart rate use", + "subtle blue LED glow brushed aluminum rectangular case object", + "slim profile dark gray accents fitness tracker", + "smartwatch with tempered glass front construction", + "Apple Watch with brushed aluminum surface", + "Apple Watch made from rubberized grip", + "rubberized grip rectangular case object used for tracking heart rate", + "palm-sized brushed aluminum smartwatch for showing notifications", + "Apple Watch appropriate for monitoring daily activity use", + "Apple Watch for monitoring daily activity with rubberized grip", + "dark gray accents smartwatch suitable for monitoring daily activity", + "palm-sized subtle blue LED glow brushed aluminum curved edges object", + "Apple Watch commonly featuring brushed aluminum", + "smartwatch featuring round face shape", + "brushed aluminum object used for tracking heart rate", + "smartwatch with brushed aluminum construction", + "matte black rubberized grip smartwatch", + "slim profile tempered glass front fitness tracker", + "slim profile rectangular case smartwatch", + "slim profile object used for showing notifications", + "smartwatch for tracking heart rate", + "Apple Watch sized slim profile", + "dark gray accents round face object for tracking heart rate", + "monitoring daily activity use of Apple Watch", + "brushed aluminum fitness tracker used for showing notifications", + "smartwatch for monitoring daily activity tasks", + "Apple Watch appropriate for tracking heart rate use", + "fitness tracker for showing notifications tasks", + "subtle blue LED glow rubberized grip smartwatch", + "matte black Apple Watch used for showing notifications", + "Apple Watch appropriate for showing notifications use", + "Apple Watch appropriate for showing notifications", + "curved edges brushed aluminum object for showing notifications", + "rectangular case object made of brushed aluminum", + "dark gray accents brushed aluminum fitness tracker", + "smartwatch appropriate for monitoring daily activity", + "matte black curved edges object for showing notifications", + "slim profile tempered glass front curved edges for monitoring daily activity", + "Apple Watch commonly found in about 6 inches tall size", + "smartwatch intended for tracking heart rate usage", + "matte black round face fitness tracker used for tracking heart rate", + "subtle blue LED glow slim profile Apple Watch for monitoring daily activity", + "rubberized grip Apple Watch suitable for monitoring daily activity", + "palm-sized tempered glass front smartwatch", + "fitness tracker with brushed aluminum surface", + "matte black about 6 inches tall curved edges smartwatch", + "slim profile object used for tracking heart rate", + "slim profile curved edges object for showing notifications", + "fitness tracker shaped like a curved edges", + "curved edges rubberized grip object for tracking heart rate", + "Apple Watch built from rubberized grip", + "about 6 inches tall matte black fitness tracker", + "monitoring daily activity use of smartwatch", + "rubberized grip Apple Watch", + "smartwatch for tracking heart rate activities", + "round face fitness tracker for tracking heart rate", + "Apple Watch with brushed aluminum body", + "curved edges brushed aluminum smartwatch for showing notifications", + "palm-sized dark gray accents fitness tracker", + "palm-sized subtle blue LED glow object for tracking heart rate", + "smartwatch commonly used for monitoring daily activity", + "smartwatch featuring rectangular case shape", + "slim profile rubberized grip rectangular case for tracking heart rate", + "slim profile round face fitness tracker for tracking heart rate", + "Apple Watch used to tracking heart rate", + "matte black brushed aluminum Apple Watch", + "about 6 inches tall Apple Watch perfect for monitoring daily activity", + "smartwatch used to showing notifications", + "about 6 inches tall fitness tracker used for monitoring daily activity", + "curved edges Apple Watch for showing notifications", + "curved edges tempered glass front object for monitoring daily activity", + "matte black round face smartwatch used for monitoring daily activity", + "fitness tracker featuring curved edges shape", + "showing notifications use of Apple Watch", + "palm-sized fitness tracker for showing notifications", + "matte black fitness tracker suitable for tracking heart rate", + "brushed aluminum smartwatch for showing notifications", + "rubberized grip Apple Watch for showing notifications", + "rectangular case about 6 inches tall Apple Watch", + "slim profile round face smartwatch for monitoring daily activity", + "fitness tracker in curved edges", + "dark gray accents smartwatch used for tracking heart rate", + "rubberized grip Apple Watch suitable for tracking heart rate", + "rubberized grip smartwatch", + "Apple Watch sized as about 6 inches tall", + "smartwatch for tracking heart rate use", + "fitness tracker made from rubberized grip", + "rectangular case rubberized grip object for tracking heart rate", + "brushed aluminum fitness tracker suitable for monitoring daily activity", + "smartwatch for tracking heart rate scenarios", + "Apple Watch sized palm-sized", + "Apple Watch with slim profile dimensions", + "showing notifications use of fitness tracker", + "palm-sized rubberized grip object", + "palm-sized Apple Watch for showing notifications", + "slim profile dark gray accents rubberized grip curved edges object", + "Apple Watch for showing notifications scenarios", + "Apple Watch featuring rectangular case shape", + "fitness tracker with subtle blue LED glow exterior" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00006/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00006/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8900efbe463dea9722a336b4e22af3d9ea97f822 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00006/grasps/UMI.json @@ -0,0 +1,347 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0008, + -0.0005, + -0.0026, + 0.9969, + 0.0315, + -0.0653, + -0.029 + ], + [ + -0.0058, + 0.0146, + 0.009, + 0.8441, + 0.5192, + 0.0751, + -0.1109 + ], + [ + -0.0138, + -0.0021, + -0.0132, + 0.0053, + 0.0049, + -0.2093, + -0.9778 + ], + [ + -0.0027, + -0.0021, + 0.017, + 0.832, + -0.1274, + 0.5002, + 0.2034 + ], + [ + -0.0014, + -0.0042, + 0.0003, + 0.9959, + -0.0161, + -0.0409, + -0.0785 + ], + [ + -0.0007, + 0.0018, + -0.0113, + 0.0732, + -0.7442, + -0.1007, + -0.6562 + ], + [ + 0.0001, + -0.0052, + -0.0083, + 0.8602, + -0.5039, + -0.0698, + -0.0352 + ], + [ + -0.001, + -0.0031, + -0.0061, + 0.7254, + -0.6883, + 0.0005, + -0.0015 + ], + [ + 0.0009, + -0.0005, + 0.001, + 0.2163, + 0.6836, + 0.2162, + -0.6627 + ], + [ + -0.0034, + -0.0056, + 0.0012, + 0.8798, + 0.4745, + 0.0262, + 0.0113 + ], + [ + -0.0028, + 0.0001, + -0.0045, + 0.5395, + -0.468, + 0.449, + -0.537 + ], + [ + 0.0037, + 0.0041, + 0.0024, + 0.5713, + 0.4264, + 0.4185, + 0.5627 + ], + [ + -0.0059, + 0.0092, + 0.0017, + 0.058, + 0.0018, + -0.036, + 0.9977 + ], + [ + 0.0301, + 0.0106, + -0.012, + -0.5629, + 0.0567, + -0.8235, + -0.0414 + ], + [ + -0.001, + 0.0061, + -0.0003, + 0.9991, + -0.0335, + -0.0144, + -0.0214 + ], + [ + 0.0042, + -0.0221, + 0.0005, + 0.2884, + -0.0759, + 0.925, + 0.2355 + ], + [ + -0.0063, + -0.0096, + -0.0103, + 0.864, + -0.4539, + 0.1924, + -0.1018 + ], + [ + -0.012, + 0.0081, + -0.0022, + 0.9759, + 0.2184, + -0.0001, + 0.0002 + ], + [ + 0.0017, + 0.0106, + 0.0025, + 0.1148, + 0.6592, + -0.7095, + -0.2213 + ], + [ + 0.0034, + 0.0004, + 0.0012, + 0.7221, + 0.0841, + 0.68, + -0.0951 + ], + [ + -0.0054, + 0.0017, + 0.0009, + 0.6048, + 0.358, + 0.6321, + -0.3265 + ], + [ + 0.0015, + 0.0039, + -0.0034, + 0.0909, + 0.0009, + -0.241, + 0.9663 + ], + [ + -0.0005, + -0.0056, + -0.0099, + 0.3844, + 0.5935, + -0.3844, + 0.5935 + ], + [ + -0.0011, + -0.0034, + 0.0017, + 0.3152, + -0.947, + -0.0056, + -0.0609 + ], + [ + -0.0026, + -0.0017, + 0.0008, + 0.4826, + 0.5475, + 0.4983, + -0.468 + ], + [ + 0.0054, + -0.0021, + -0.024, + 0.3914, + -0.0721, + -0.8937, + -0.2072 + ], + [ + -0.0059, + 0.0048, + 0.0009, + 0.5435, + -0.4911, + 0.5166, + 0.4432 + ], + [ + -0.0025, + -0.0011, + 0.0012, + 0.772, + -0.0445, + -0.0541, + 0.6318 + ], + [ + 0.0015, + 0.0021, + -0.005, + 0.0969, + 0.0172, + 0.1733, + 0.9799 + ], + [ + -0.001, + 0.0057, + 0.0011, + 0.1905, + -0.6912, + 0.146, + 0.6816 + ], + [ + -0.0004, + -0.001, + -0.0007, + 0.7186, + 0.1207, + 0.104, + 0.677 + ], + [ + 0.0041, + -0.0011, + -0.0035, + 0.3814, + 0.6034, + 0.5713, + 0.4049 + ], + [ + -0.0067, + -0.0009, + 0.0038, + 0.6291, + 0.3201, + 0.3408, + 0.621 + ], + [ + -0.0042, + 0.0102, + 0.0025, + 0.0485, + 0.6743, + -0.7047, + -0.2153 + ], + [ + -0.0069, + -0.0011, + -0.0051, + 0.623, + 0.3367, + 0.3506, + 0.6129 + ], + [ + -0.0032, + 0.0044, + 0.0011, + 0.6956, + 0.0251, + 0.7171, + 0.0351 + ], + [ + -0.0006, + 0.0011, + -0.0056, + 0.9939, + 0.0377, + -0.0543, + -0.0883 + ], + [ + 0.0119, + -0.0001, + -0.0023, + 0.0003, + -0.0, + 1.0, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00006/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00006/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..b6af02d77774ebeed0911690e24ef497ee7210fb --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00006/grasps/XOne.json @@ -0,0 +1,257 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0203, + 0.0055, + -0.0224, + 0.973, + 0.0784, + -0.2159, + -0.0229 + ], + [ + -0.0034, + -0.0061, + -0.0026, + 0.7127, + 0.0179, + 0.7005, + 0.032 + ], + [ + 0.0049, + 0.0041, + -0.0017, + 0.6664, + 0.2088, + 0.6517, + -0.296 + ], + [ + -0.0027, + -0.0061, + -0.0002, + 0.7046, + -0.702, + 0.0685, + -0.0777 + ], + [ + -0.0029, + 0.0026, + -0.0013, + 0.4603, + 0.5074, + 0.5615, + -0.4641 + ], + [ + 0.0027, + -0.0039, + -0.0023, + 0.246, + 0.5768, + -0.7513, + -0.206 + ], + [ + 0.0023, + 0.0075, + -0.0027, + 0.978, + 0.2001, + 0.0563, + -0.0171 + ], + [ + -0.0033, + -0.0071, + -0.0005, + 0.7158, + -0.6937, + 0.0583, + -0.0559 + ], + [ + -0.0079, + -0.011, + 0.0043, + 0.2609, + -0.1498, + -0.5277, + 0.7944 + ], + [ + -0.0032, + -0.0034, + -0.0015, + 0.2411, + 0.5718, + -0.5037, + 0.6009 + ], + [ + -0.0005, + 0.004, + -0.0036, + 0.097, + 0.0098, + -0.2392, + 0.9661 + ], + [ + 0.01, + 0.0078, + 0.0107, + 0.2987, + 0.6198, + 0.4116, + -0.5977 + ], + [ + -0.0034, + 0.0018, + 0.0023, + 0.7942, + -0.234, + -0.5358, + -0.1653 + ], + [ + -0.006, + 0.0047, + -0.0005, + 0.5435, + -0.4856, + 0.5163, + 0.4496 + ], + [ + -0.0003, + 0.0068, + -0.0047, + -0.006, + -0.0082, + 0.174, + 0.9847 + ], + [ + -0.0005, + 0.0001, + -0.0006, + 0.7162, + 0.1211, + 0.1039, + 0.6794 + ], + [ + -0.0009, + 0.0004, + 0.0023, + 0.3787, + -0.6006, + -0.6258, + 0.3229 + ], + [ + -0.0074, + 0.0003, + 0.0033, + 0.6135, + 0.3131, + 0.3507, + 0.6345 + ], + [ + -0.0099, + -0.0048, + -0.0073, + 0.5596, + 0.2507, + 0.4362, + 0.6587 + ], + [ + 0.0028, + 0.0002, + -0.0058, + 0.5805, + -0.0975, + -0.1716, + 0.79 + ], + [ + -0.0124, + -0.0034, + 0.0005, + -0.0927, + -0.0303, + 0.9679, + 0.2315 + ], + [ + -0.0125, + -0.0016, + -0.0001, + 0.6208, + 0.3398, + -0.6117, + 0.3535 + ], + [ + 0.004, + -0.0062, + 0.0063, + 0.2119, + -0.7047, + 0.4396, + 0.515 + ], + [ + 0.0002, + -0.002, + -0.0028, + 0.9918, + 0.0386, + -0.0756, + -0.0955 + ], + [ + -0.0062, + -0.0068, + -0.001, + 0.2021, + -0.5826, + -0.1489, + -0.773 + ], + [ + 0.0003, + -0.0001, + -0.0017, + -0.0007, + 1.0, + -0.0036, + 0.0059 + ], + [ + -0.0008, + -0.0001, + -0.0016, + 0.0154, + 0.0026, + 0.9999, + -0.0044 + ], + [ + -0.0, + 0.0, + -0.0019, + 0.0049, + -0.7, + 0.7141, + -0.003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00006/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00006/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..48187a0fe12162f6b06a21876bcfd1d9ba00d7b5 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00006/grasps/aloha.json @@ -0,0 +1,491 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + 0.0005, + 0.0065, + 0.0013, + 0.9969, + 0.0666, + -0.0404, + -0.0121 + ], + [ + -0.0014, + -0.007, + -0.0003, + 0.2469, + 0.6968, + -0.2138, + 0.6386 + ], + [ + 0.0042, + 0.0024, + -0.0032, + 0.7592, + -0.1824, + 0.5975, + 0.1826 + ], + [ + -0.0088, + -0.0151, + -0.0055, + 0.6783, + -0.1176, + 0.7252, + 0.0101 + ], + [ + 0.0046, + -0.0064, + 0.0011, + 0.7186, + 0.0053, + 0.6945, + 0.0358 + ], + [ + -0.0085, + 0.0066, + -0.0045, + 0.724, + -0.6841, + 0.0614, + 0.0637 + ], + [ + 0.0002, + 0.0028, + 0.0103, + 0.0306, + -0.078, + -0.008, + -0.9965 + ], + [ + 0.0005, + 0.0047, + 0.0016, + 0.5944, + 0.362, + 0.6266, + -0.3507 + ], + [ + 0.0054, + -0.0055, + 0.0145, + 0.9954, + 0.0699, + -0.0283, + 0.0599 + ], + [ + -0.0067, + -0.0004, + 0.0009, + 0.6244, + -0.3214, + 0.6284, + 0.3345 + ], + [ + 0.0161, + -0.0085, + 0.0006, + 0.0329, + 0.0586, + 0.4755, + 0.8772 + ], + [ + 0.0008, + -0.0009, + 0.0001, + 0.0028, + 0.0232, + 0.9673, + -0.2526 + ], + [ + -0.001, + -0.0023, + -0.0043, + 0.5718, + -0.5005, + 0.4341, + -0.484 + ], + [ + 0.0041, + 0.002, + 0.0032, + 0.5648, + 0.4588, + 0.3953, + 0.5607 + ], + [ + 0.0325, + 0.0081, + -0.0177, + 0.0625, + -0.8508, + -0.4388, + -0.2824 + ], + [ + -0.0009, + -0.0025, + -0.0027, + 0.717, + -0.6945, + 0.0443, + 0.0406 + ], + [ + 0.003, + 0.0029, + 0.0026, + 0.2545, + -0.6305, + 0.4441, + -0.5835 + ], + [ + -0.0069, + 0.0078, + -0.0054, + -0.0241, + 0.6655, + -0.7432, + -0.0645 + ], + [ + -0.0034, + -0.0003, + -0.0004, + 0.864, + -0.4956, + 0.0819, + -0.0328 + ], + [ + -0.0002, + 0.0075, + -0.0016, + 0.9758, + 0.2171, + -0.0195, + -0.0143 + ], + [ + -0.0056, + -0.0018, + -0.0037, + 0.12, + 0.5891, + -0.7666, + -0.2258 + ], + [ + 0.0074, + 0.0024, + 0.0019, + 0.6389, + 0.1491, + 0.7546, + -0.0168 + ], + [ + -0.007, + 0.0057, + 0.0111, + 0.1932, + -0.0201, + 0.0945, + 0.9764 + ], + [ + -0.0047, + 0.0011, + 0.0069, + 0.5771, + 0.3672, + 0.6546, + -0.3218 + ], + [ + -0.0019, + -0.0048, + 0.0002, + 0.7145, + -0.6988, + 0.0255, + -0.0211 + ], + [ + 0.0017, + -0.01, + 0.0112, + 0.0285, + -0.0548, + -0.5204, + 0.8517 + ], + [ + -0.008, + -0.0119, + 0.0053, + 0.4653, + 0.6144, + -0.413, + 0.4852 + ], + [ + 0.001, + 0.0037, + -0.0037, + 0.0528, + 0.0056, + -0.2401, + 0.9693 + ], + [ + 0.0074, + 0.001, + -0.003, + 0.464, + -0.5489, + 0.4211, + -0.5533 + ], + [ + 0.0189, + -0.0111, + -0.0011, + 0.341, + 0.6152, + -0.3291, + 0.6301 + ], + [ + -0.0096, + 0.0055, + 0.0053, + 0.3893, + -0.5608, + 0.3438, + 0.6448 + ], + [ + -0.003, + -0.0055, + 0.0014, + 0.4856, + 0.5646, + 0.5258, + -0.4111 + ], + [ + -0.0107, + -0.005, + -0.0017, + 0.4812, + 0.4404, + -0.4823, + 0.5847 + ], + [ + 0.0007, + -0.0018, + -0.0007, + 0.6024, + -0.3343, + -0.6266, + -0.3643 + ], + [ + 0.0045, + 0.0047, + 0.0066, + 0.703, + -0.0529, + -0.0113, + 0.7091 + ], + [ + -0.0008, + 0.0038, + 0.002, + 0.6302, + -0.2213, + -0.7262, + -0.1627 + ], + [ + -0.0019, + 0.0036, + 0.0046, + 0.7558, + -0.0931, + 0.0241, + 0.6477 + ], + [ + -0.0022, + 0.0029, + 0.0004, + 0.2474, + -0.688, + 0.0952, + 0.6755 + ], + [ + 0.0046, + -0.0052, + -0.0045, + 0.4201, + 0.5948, + 0.5601, + 0.3951 + ], + [ + -0.0054, + -0.0006, + -0.0039, + 0.2119, + -0.6002, + -0.6178, + 0.4616 + ], + [ + -0.0063, + -0.0037, + 0.0014, + 0.1852, + 0.6569, + -0.7185, + -0.134 + ], + [ + -0.0071, + -0.0009, + -0.0051, + 0.6231, + 0.342, + 0.3449, + 0.613 + ], + [ + -0.0023, + -0.0001, + -0.0046, + 0.697, + -0.1025, + -0.1388, + 0.696 + ], + [ + 0.0023, + 0.0005, + -0.0071, + -0.0566, + -0.021, + 0.9614, + 0.2685 + ], + [ + -0.0061, + 0.0024, + 0.0034, + 0.7145, + 0.0455, + 0.0434, + -0.6968 + ], + [ + -0.0156, + -0.0026, + 0.002, + 0.596, + 0.4245, + -0.5943, + 0.3338 + ], + [ + -0.0028, + 0.0008, + -0.0006, + 0.1744, + -0.666, + -0.6701, + 0.2774 + ], + [ + 0.0041, + -0.0007, + 0.004, + 0.2709, + -0.6651, + 0.3983, + 0.5707 + ], + [ + 0.0009, + -0.0022, + -0.0026, + 0.983, + 0.0228, + -0.1055, + -0.1487 + ], + [ + -0.0008, + -0.0004, + 0.0002, + 0.3384, + 0.5107, + -0.5225, + 0.593 + ], + [ + -0.0078, + -0.0088, + -0.0067, + 0.036, + 0.0349, + -0.7034, + 0.7091 + ], + [ + 0.0, + -0.0144, + 0.0013, + -0.0382, + 0.0521, + -0.5279, + 0.8468 + ], + [ + -0.008, + -0.005, + 0.002, + 0.0986, + -0.7568, + -0.2029, + -0.6135 + ], + [ + 0.0002, + 0.0002, + -0.0022, + -0.0152, + 0.7016, + 0.7115, + 0.0364 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00006/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00006/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..21079bdf501ee38322f4f6bc3c359b0f7d3446ac --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00006/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + 0.0, + -0.0, + -0.002, + 0.0, + 1.0, + -0.0, + 0.0 + ], + [ + 0.0, + 0.0, + -0.002, + -0.0, + 0.7071, + 0.7071, + 0.0 + ], + [ + -0.0, + 0.0, + -0.002, + -0.0, + 0.0, + 1.0, + 0.0 + ], + [ + -0.0, + -0.0, + -0.002, + -0.0, + -0.7071, + 0.7071, + -0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00006/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00006/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..66c71625e340c27c0bb7fc3c43f20f4e085974f0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00006/grasps/piper_v1.json @@ -0,0 +1,707 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0023, + -0.0032, + -0.0004, + 0.212, + -0.6722, + -0.1631, + -0.6903 + ], + [ + 0.0009, + -0.0005, + -0.0026, + 0.9975, + 0.0313, + -0.0587, + -0.0237 + ], + [ + 0.0006, + -0.0039, + 0.0009, + 0.8942, + 0.4436, + -0.0592, + 0.0085 + ], + [ + 0.0004, + -0.0073, + -0.0007, + 0.0237, + 0.0136, + -0.222, + -0.9747 + ], + [ + 0.0025, + 0.0034, + -0.0026, + 0.0759, + -0.0689, + 0.2612, + 0.9598 + ], + [ + -0.0014, + -0.0027, + -0.0067, + 0.8906, + -0.4519, + 0.0209, + -0.0458 + ], + [ + 0.0032, + 0.0089, + 0.0015, + 0.9962, + 0.0079, + -0.0374, + -0.0784 + ], + [ + 0.0007, + -0.0008, + -0.0145, + 0.1891, + 0.7659, + -0.2182, + 0.5745 + ], + [ + -0.0046, + 0.0046, + -0.0001, + 0.9306, + -0.319, + -0.1768, + 0.0306 + ], + [ + 0.017, + -0.0036, + 0.0051, + 0.473, + 0.4948, + -0.154, + 0.7125 + ], + [ + 0.0003, + 0.0026, + -0.0001, + 0.6864, + -0.172, + 0.6741, + 0.2121 + ], + [ + 0.0014, + 0.0008, + 0.0012, + 0.0906, + -0.0279, + -0.24, + 0.9661 + ], + [ + 0.0096, + 0.0146, + -0.0139, + 0.6368, + -0.7458, + 0.0272, + -0.1939 + ], + [ + -0.0, + -0.0054, + -0.0011, + 0.7172, + 0.1688, + 0.6477, + -0.1939 + ], + [ + 0.0002, + -0.0045, + 0.0033, + 0.9954, + -0.0351, + 0.0646, + -0.0614 + ], + [ + -0.0, + -0.0023, + 0.0006, + 0.3286, + 0.6444, + 0.3618, + -0.5882 + ], + [ + -0.022, + 0.006, + 0.0021, + 0.9639, + -0.0066, + -0.2428, + -0.1089 + ], + [ + 0.0011, + -0.0054, + -0.0088, + 0.8607, + -0.5043, + -0.0646, + -0.0272 + ], + [ + -0.0067, + -0.0005, + -0.0, + 0.6235, + -0.3174, + 0.6293, + 0.3384 + ], + [ + 0.0001, + -0.0033, + -0.0056, + 0.7239, + -0.6897, + -0.0108, + -0.0123 + ], + [ + 0.0009, + -0.0006, + 0.0003, + 0.2154, + 0.6823, + 0.218, + -0.6637 + ], + [ + 0.0055, + 0.0016, + 0.0004, + 0.6594, + 0.2422, + 0.6798, + -0.2106 + ], + [ + 0.0005, + -0.007, + 0.002, + 0.8833, + 0.4657, + -0.0457, + -0.0298 + ], + [ + 0.0006, + -0.0061, + 0.0019, + 0.07, + 0.0625, + 0.4727, + 0.8762 + ], + [ + 0.0001, + -0.0008, + 0.0001, + 0.001, + 0.0206, + 0.9673, + -0.2526 + ], + [ + -0.003, + -0.0003, + -0.0047, + 0.5433, + -0.4726, + 0.4448, + -0.5325 + ], + [ + 0.0001, + -0.0033, + -0.0049, + 0.9786, + -0.1991, + -0.0251, + -0.0464 + ], + [ + 0.0035, + 0.0005, + 0.0025, + 0.5748, + 0.437, + 0.4111, + 0.5564 + ], + [ + -0.0036, + -0.0034, + 0.0014, + 0.5961, + 0.3596, + 0.637, + -0.331 + ], + [ + -0.0056, + -0.0035, + 0.0005, + 0.3469, + -0.6218, + -0.3387, + -0.615 + ], + [ + 0.0, + -0.0028, + -0.0004, + 0.7152, + -0.6988, + -0.0054, + -0.0088 + ], + [ + 0.0029, + 0.0026, + 0.0, + 0.6162, + 0.3711, + -0.6056, + 0.3403 + ], + [ + 0.0002, + 0.0053, + 0.0043, + 0.0711, + 0.0049, + -0.0888, + 0.9935 + ], + [ + 0.0002, + -0.0084, + 0.0044, + 0.9988, + -0.0326, + -0.0354, + -0.0044 + ], + [ + 0.0013, + -0.0068, + -0.0002, + 0.4673, + 0.4743, + 0.6021, + -0.4406 + ], + [ + 0.0003, + 0.0076, + -0.004, + 0.9998, + -0.0049, + -0.0178, + 0.0047 + ], + [ + -0.0038, + 0.0025, + 0.0005, + 0.4912, + 0.5316, + 0.4961, + -0.4796 + ], + [ + -0.0046, + -0.0106, + -0.0012, + 0.3787, + -0.4682, + 0.6133, + -0.5112 + ], + [ + -0.0059, + -0.0043, + -0.0018, + 0.6946, + -0.2359, + 0.6065, + 0.3066 + ], + [ + -0.0019, + -0.0242, + 0.0008, + 0.4328, + 0.5468, + -0.7163, + 0.0221 + ], + [ + 0.0, + -0.0059, + -0.0012, + 0.8653, + -0.5004, + -0.0148, + -0.0246 + ], + [ + 0.0044, + -0.0024, + 0.0003, + 0.6117, + -0.3023, + -0.6523, + -0.3301 + ], + [ + 0.0028, + -0.0016, + -0.0035, + 0.5832, + 0.5425, + 0.3747, + 0.4745 + ], + [ + 0.0006, + 0.0049, + 0.004, + 0.0966, + -0.0304, + 0.2408, + 0.9653 + ], + [ + 0.0015, + 0.0081, + -0.0016, + 0.9761, + 0.2128, + -0.0263, + -0.0362 + ], + [ + -0.0018, + 0.0002, + -0.0024, + 0.1257, + 0.6639, + -0.6912, + -0.2564 + ], + [ + -0.0049, + 0.0016, + -0.0128, + 0.5969, + 0.3534, + 0.6391, + -0.3322 + ], + [ + -0.0007, + -0.0053, + -0.0004, + 0.7256, + -0.6874, + 0.019, + -0.023 + ], + [ + 0.0, + 0.0036, + -0.0037, + 0.0818, + 0.0076, + -0.2395, + 0.9674 + ], + [ + 0.0071, + -0.0004, + -0.0043, + 0.5377, + -0.4761, + 0.4619, + -0.5205 + ], + [ + -0.0031, + -0.0034, + -0.0141, + 0.363, + 0.6978, + -0.4698, + 0.4008 + ], + [ + -0.0006, + -0.0037, + 0.0017, + 0.3166, + -0.9469, + -0.0111, + -0.055 + ], + [ + 0.0067, + 0.0035, + 0.0, + 0.3706, + 0.61, + 0.3585, + -0.6017 + ], + [ + 0.0007, + -0.0018, + 0.0001, + 0.5953, + -0.3281, + -0.6332, + -0.3703 + ], + [ + 0.0047, + -0.0, + 0.0061, + 0.7175, + -0.0231, + -0.0346, + 0.6953 + ], + [ + -0.0022, + 0.0036, + -0.0005, + 0.6165, + -0.2136, + -0.74, + -0.1635 + ], + [ + -0.0075, + 0.0048, + -0.0012, + 0.5721, + -0.4951, + 0.4958, + 0.4265 + ], + [ + -0.0027, + 0.0003, + 0.0009, + 0.7648, + -0.0403, + -0.059, + 0.6403 + ], + [ + 0.0003, + 0.0023, + -0.0049, + 0.0921, + 0.024, + 0.1788, + 0.9793 + ], + [ + -0.0016, + 0.0078, + -0.0002, + 0.1389, + -0.7135, + 0.1848, + 0.6615 + ], + [ + 0.0007, + 0.0001, + 0.0008, + 0.6974, + 0.0874, + 0.1374, + 0.6979 + ], + [ + -0.0012, + -0.0006, + 0.0018, + 0.3875, + -0.6007, + -0.6261, + 0.3116 + ], + [ + -0.007, + -0.0, + 0.0035, + 0.6318, + 0.3197, + 0.3404, + 0.6187 + ], + [ + -0.0049, + 0.0261, + 0.0055, + -0.1045, + 0.6228, + -0.6412, + -0.4361 + ], + [ + -0.0071, + -0.0, + -0.0051, + 0.6246, + 0.3394, + 0.3476, + 0.6115 + ], + [ + -0.0023, + 0.0005, + -0.0048, + 0.6955, + -0.0975, + -0.1448, + 0.697 + ], + [ + -0.0145, + -0.0004, + -0.0014, + -0.2073, + -0.0633, + 0.9344, + 0.2827 + ], + [ + -0.0051, + 0.0004, + 0.0017, + 0.6856, + 0.0344, + -0.0033, + -0.7271 + ], + [ + -0.0127, + -0.0023, + 0.0, + 0.6428, + 0.341, + -0.5972, + 0.3374 + ], + [ + -0.0028, + 0.0056, + -0.0139, + 0.7178, + 0.0311, + 0.6937, + 0.0506 + ], + [ + 0.0046, + 0.0017, + -0.0001, + 0.3727, + -0.6379, + 0.3004, + 0.6033 + ], + [ + -0.0064, + 0.0012, + 0.0011, + 0.3724, + 0.6298, + -0.4098, + 0.5447 + ], + [ + -0.0002, + -0.01, + -0.0061, + 0.0411, + 0.028, + -0.6944, + 0.7179 + ], + [ + 0.0122, + -0.0124, + 0.0008, + -0.0255, + 0.0278, + -0.5253, + 0.8501 + ], + [ + -0.0, + 0.0, + -0.002, + -0.0, + 1.0, + -0.0003, + 0.0001 + ], + [ + 0.0, + 0.0, + -0.002, + -0.0001, + 0.7074, + 0.7068, + 0.0001 + ], + [ + -0.0, + -0.0, + -0.002, + -0.0001, + 0.0003, + 1.0, + -0.0 + ], + [ + 0.0, + -0.0, + -0.002, + -0.0001, + -0.7069, + 0.7073, + -0.0001 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00006/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00006/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0fa71c45d5002f437898abfe612c87e236e5889f --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00006/grasps/proposal.json @@ -0,0 +1,1253 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + [ + -0.08994514461167549, + -0.05515085109478197, + -0.0053685521769575445, + 0.2153537681416006, + -0.6707762830720184, + -0.1597118715452709, + -0.691501302025389 + ], + 0.9541938304901123 + ], + [ + [ + 0.01575866375557685, + 0.005377928773254541, + -0.10331248585761112, + 0.9963574334261492, + 0.031239585961860283, + -0.073350061844626, + -0.030260891473613407 + ], + 0.9510727524757385 + ], + [ + [ + 0.0070149245343318015, + 0.07737677968138496, + -0.06059588213146251, + 0.894100345006952, + 0.44389009323750434, + -0.058493603506719394, + 0.01116496900346921 + ], + 0.9472348690032959 + ], + [ + [ + 0.004943863828401807, + -0.05535976164942941, + -0.09562635515511554, + 0.009548473852656832, + 0.048319731164471615, + -0.2722997231796582, + -0.9609510346440966 + ], + 0.9471831321716309 + ], + [ + [ + 0.0030510421979388024, + -0.051413110876142594, + -0.09260805790007633, + 0.026732790063780418, + 0.015001827888246189, + -0.22203374666313613, + -0.9745569857315413 + ], + 0.946749746799469 + ], + [ + [ + 0.012691678818981889, + -0.0428802775681611, + -0.09156538639843982, + 0.059449965490942794, + -0.07299139276069377, + 0.22900395498048165, + 0.9688628111292523 + ], + 0.9454984664916992 + ], + [ + [ + -0.007938259872872588, + -0.08526486479645928, + -0.0662348801332764, + 0.8888298455876605, + -0.45617896501508864, + 0.020825567482064655, + -0.038059863497239534 + ], + 0.9441311359405518 + ], + [ + [ + 0.010522052054028752, + 0.019871309912145523, + -0.09938144777596515, + 0.9969902584146854, + 0.06675398318491314, + -0.03775347031772025, + -0.01135807352225267 + ], + 0.9415324926376343 + ], + [ + [ + -0.08309381421216225, + 0.05815346217745581, + 0.0022945112951793106, + 0.21461901998981597, + 0.6689275132085476, + -0.21267973028219822, + 0.6791479887758861 + ], + 0.9407901167869568 + ], + [ + [ + -0.0008732770316155823, + -0.060559711837827775, + -0.08584331069767993, + 0.9459171456237659, + -0.3234713625994473, + 0.024601406368343515, + -0.001342385094830302 + ], + 0.939667284488678 + ], + [ + [ + -0.0852742415250132, + 0.05183669230932036, + 0.0026354379889317187, + 0.20811149656492134, + 0.673455235570016, + -0.2115190733165896, + 0.6770578500424714 + ], + 0.9388466477394104 + ], + [ + [ + -0.0866656821549723, + -0.05059815146928987, + -0.004543954978441414, + 0.6873048295419569, + -0.16932955450506004, + 0.6730166792499388, + 0.21444841503448803 + ], + 0.9388240575790405 + ], + [ + [ + -0.1054301482022593, + -0.00824328181302509, + -0.004477979621594366, + 0.7127423824807116, + 0.018644624083081467, + 0.7004104269884591, + 0.032801036178198635 + ], + 0.9386783838272095 + ], + [ + [ + 0.004711140286844018, + 0.04573544166082182, + -0.09049187694371265, + 0.08284832973001374, + -0.0046743173181121155, + -0.22974581042809084, + 0.969706743097776 + ], + 0.9377549290657043 + ], + [ + [ + -0.07729551162131523, + -0.06691376441127023, + 0.0005607176509447725, + 0.24647367329938777, + -0.6613081367857937, + -0.21202738303318402, + -0.6759930957009159 + ], + 0.9375361204147339 + ], + [ + [ + -0.09916882928021645, + -0.010141855524539563, + -0.0060075041900626985, + 0.7249711691946272, + 0.004515948705103322, + 0.6879888144034165, + 0.032677229069327816 + ], + 0.9373136162757874 + ], + [ + [ + -0.0469231080592463, + 0.0888830242215995, + 0.0012255639240838917, + 0.38171822972037095, + 0.6008335970495163, + -0.3583351467617464, + 0.6040580306153737 + ], + 0.9372559189796448 + ], + [ + [ + -0.007455540481288192, + -0.09895071708565911, + -0.015485718852584776, + 0.7376976925303004, + -0.6746402452854482, + 0.018208687194476214, + -0.018196087142963967 + ], + 0.93710857629776 + ], + [ + [ + 0.003043446098189595, + -0.0016814693339761223, + -0.09580364917099994, + 0.08766642833486953, + 0.03825497830679186, + -0.008177402088729524, + -0.995381476657484 + ], + 0.9367672204971313 + ], + [ + [ + -0.049823917108852624, + 0.09361513382786552, + 0.0031732453436352642, + 0.5950930658396031, + 0.3635484001939709, + 0.6260562584126868, + -0.34892744949105653 + ], + 0.9363876581192017 + ], + [ + [ + -0.0872927602709124, + 0.049660411244571594, + -0.002649935899978098, + 0.6891059370052889, + 0.21621533539699395, + 0.6712693697831205, + -0.16667744152764288 + ], + 0.9359813332557678 + ], + [ + [ + 0.008678909730832818, + -0.007869719015121075, + -0.10138770286620181, + 0.9941811110786639, + -0.016299009413863332, + -0.056364938731688796, + -0.09033966099279389 + ], + 0.9349111318588257 + ], + [ + [ + 0.04991215128890777, + 0.08695040321940223, + 0.007895375595683637, + 0.3487706154022498, + 0.6292203923891286, + 0.36730799746610976, + -0.5895130114179357 + ], + 0.9344545602798462 + ], + [ + [ + 0.007967012342732194, + 0.0012720113623295103, + -0.09902484063685459, + 0.9995188329320438, + -0.017501967281427288, + -0.01249038418753945, + -0.022355626993959175 + ], + 0.9342429041862488 + ], + [ + [ + -0.09592580761321282, + -0.028690061950742814, + -0.004361347301607546, + 0.13821129637705645, + -0.6723772492364809, + -0.07704401338454892, + -0.7230979824785561 + ], + 0.9331320524215698 + ], + [ + [ + 0.011134528894644025, + -0.09418035619860848, + -0.05765226949632686, + 0.8603927563429364, + -0.5038175991354996, + -0.07102687378840933, + -0.029108672827708754 + ], + 0.9327182769775391 + ], + [ + [ + -0.06480117108233666, + -0.08426716499930581, + -0.0022472627523593275, + 0.623529306720895, + -0.31624222914876404, + 0.6292374429857234, + 0.33950301398952143 + ], + 0.9313524961471558 + ], + [ + [ + 0.0025506830911299016, + -0.10512902908927163, + -0.010792774154549059, + 0.724990847067168, + -0.6885398476867092, + -0.011993637094254606, + -0.012542028769066007 + ], + 0.9309958815574646 + ], + [ + [ + 0.006364978723894599, + -0.00391246397016904, + -0.10574214254200977, + 0.041478844467146433, + 0.05247426337006936, + -0.02372499902571157, + -0.9974783614528532 + ], + 0.9302167296409607 + ], + [ + [ + 0.08377511833302284, + 0.05885468102091589, + 0.005825771943921629, + 0.2145337873132233, + 0.6841250827876119, + 0.2187208218084451, + -0.6618982756506672 + ], + 0.9300014972686768 + ], + [ + [ + -0.009357159617621657, + 0.07962678796643058, + -0.054776803596620974, + 0.8802623123475486, + 0.47415499271357137, + 0.017015916813725607, + 0.005075718700709553 + ], + 0.9297718405723572 + ], + [ + [ + -0.07558323408969139, + 0.06331711686247626, + 0.004158124321395937, + 0.6580728393958027, + 0.24393360965554342, + 0.6810581846255458, + -0.20879722527974023 + ], + 0.9292916655540466 + ], + [ + [ + 0.007896689106445554, + 0.0792924878656272, + -0.05392292235672992, + 0.8796264043875314, + 0.47465370166406495, + -0.030992484358011496, + 0.0008474161804702915 + ], + 0.9284639954566956 + ], + [ + [ + 0.003442211416285279, + -0.09401529603606423, + -0.05643859226882976, + 0.011226373839273586, + -0.04253542922875569, + 0.47456683397186594, + 0.8791194605311988 + ], + 0.9279835224151611 + ], + [ + [ + 0.0010075706427132515, + 0.048990887170970825, + 0.08909648563086468, + 0.0011935990920148131, + 0.022790401803872536, + 0.9673127631924405, + -0.2525573025509865 + ], + 0.9278251528739929 + ], + [ + [ + -0.10365549440987801, + -0.002125649433269712, + -0.02080006991208118, + 0.5434917652584392, + -0.4745956417922715, + 0.44280504883041283, + -0.5322587402930483 + ], + 0.9274035692214966 + ], + [ + [ + 0.004715908192764762, + -0.04334590160256586, + -0.09863136057436984, + 0.9778106998915811, + -0.19904824256075435, + -0.03137215882952149, + -0.057287171001774946 + ], + 0.9269307851791382 + ], + [ + [ + -0.09414418007739281, + 0.005645192275137094, + -0.02683508489907306, + 0.5767607988647719, + 0.43183206295984033, + 0.4123685412611452, + 0.5575125437789487 + ], + 0.9268277883529663 + ], + [ + [ + -0.05725252594359612, + 0.08343811756962577, + 0.005271531635219637, + 0.607731477727338, + 0.361224890075683, + 0.6267977367729328, + -0.32757232322875973 + ], + 0.9250271916389465 + ], + [ + [ + -0.06022790412910676, + -0.08965026908522805, + 0.0017299932597898277, + 0.3415288684948069, + -0.6172138194799429, + -0.3396212236296996, + -0.62214351840062 + ], + 0.9226351380348206 + ], + [ + [ + -0.001461206130016801, + -0.10281264358168801, + -0.013443063950841841, + 0.053941233737504646, + -0.0077782880698212, + 0.6862028749070396, + 0.7253657394769156 + ], + 0.9210415482521057 + ], + [ + [ + 0.002552661685939672, + -0.10481373541957101, + -0.0026867461919091312, + 0.7150724907434096, + -0.6989444634634291, + -0.00737612056697734, + -0.009672787665237938 + ], + 0.9209696650505066 + ], + [ + [ + 0.0532631877481153, + 0.09133974886530677, + 0.004377076861704174, + 0.6162268863304513, + 0.3742469850604749, + -0.6054418558635535, + 0.3371109281899915 + ], + 0.9199880957603455 + ], + [ + [ + -0.004244591701109168, + 0.023604181176364807, + -0.09612314496815723, + 0.08922160783363475, + 0.009704539169257224, + -0.08924768345965217, + 0.9919577499128577 + ], + 0.9197617769241333 + ], + [ + [ + 0.007389551368277314, + -0.015166419977008912, + -0.09714441095173877, + 0.9987444311830636, + -0.03293899649850688, + -0.03736565481940657, + -0.005328370333175889 + ], + 0.9196481108665466 + ], + [ + [ + -0.0024020167861918186, + 0.09748044288748542, + 0.0027997654334403904, + 0.4575102879931372, + 0.4382409195950855, + 0.5582497280372272, + -0.535711185172806 + ], + 0.9192835092544556 + ], + [ + [ + 0.0003401399785334048, + -0.0003753726454811048, + -0.10214524809897464, + 0.9989044526623351, + -0.031968797164076794, + -0.024321659189620037, + -0.02400723544072435 + ], + 0.9149937629699707 + ], + [ + [ + 0.051111109894435645, + -0.0033700528551485268, + 0.08550678844868619, + 0.20961749321604006, + -0.674119595652425, + -0.6907766286495186, + 0.15636792064499327 + ], + 0.9149286150932312 + ], + [ + [ + -0.07358340139992928, + -0.06561743044263085, + 0.004634259728039089, + 0.2519148584272334, + -0.6581690624177395, + -0.24908956898933177, + -0.6643092472639908 + ], + 0.9147508144378662 + ], + [ + [ + 0.00320447805776799, + 0.006605779799014715, + -0.10592406336844486, + 0.9997747311778642, + -0.004892320248699998, + -0.020077729899556584, + 0.0048411633822386885 + ], + 0.913472592830658 + ], + [ + [ + -0.0015102343263888927, + 0.10427847183340827, + 0.004548905411059442, + 0.49114713588605063, + 0.5347790748708805, + 0.4957750414725338, + -0.4764377611441833 + ], + 0.9121506214141846 + ], + [ + [ + -0.0982628759325335, + 0.009196856571674732, + 0.02942043821632344, + 0.4126061045177298, + -0.5601407986610113, + 0.5824815864210956, + -0.4203732742105193 + ], + 0.9102306365966797 + ], + [ + [ + -0.07434926148064827, + -0.07756445878154, + -0.017231467186217722, + 0.6994812207417682, + -0.2539197425836368, + 0.5937008457215877, + 0.30621902609951773 + ], + 0.9100514650344849 + ], + [ + [ + 0.05803416330806518, + 0.0014588747176680838, + 0.08259510900198895, + 0.20416129945993403, + 0.6790081949225324, + -0.6702333032579583, + -0.2192107530090651 + ], + 0.9086743593215942 + ], + [ + [ + 0.0043744988410880595, + -0.09442089819318017, + -0.05210788269222301, + 0.8651517684992978, + -0.5003499377077706, + -0.019071128804632353, + -0.028260384719332884 + ], + 0.9081690907478333 + ], + [ + [ + 0.06506618146292473, + -0.08363441699153146, + 0.005134894040668789, + 0.5981615404347803, + -0.30701646836226526, + -0.6642291255183892, + -0.3267159752937231 + ], + 0.9081486463546753 + ], + [ + [ + -0.10367400910266136, + 0.0007437587951649103, + -0.015365739359264788, + 0.4850282808498219, + 0.49160870237523335, + 0.44363856838454085, + 0.5711858464339962 + ], + 0.908004641532898 + ], + [ + [ + 0.0061522567316105396, + -0.03834133171445093, + -0.08893198613703769, + 0.06960203352545988, + -0.02227154249183583, + 0.218381053866736, + 0.973123450871578 + ], + 0.907597541809082 + ], + [ + [ + 0.006533213765095714, + 0.05055283806318083, + -0.09388902877152484, + 0.9755939382629462, + 0.21688652817194365, + -0.027561557943107218, + -0.02042209699966428 + ], + 0.9057994484901428 + ], + [ + [ + 0.05012896318427825, + -0.0032442372289147106, + 0.08862526621043164, + 0.17907357375647034, + 0.6842149021128471, + -0.6829721392460741, + -0.18256965772667055 + ], + 0.9056114554405212 + ], + [ + [ + -0.09515141661771034, + 0.02599566108578482, + -0.002491553087463197, + 0.7283258081556164, + 0.08154390173692838, + 0.6734654249839357, + -0.09662520693480062 + ], + 0.9021279215812683 + ], + [ + [ + 0.003405339191403034, + 0.01031817547076979, + -0.09757822100699466, + 0.19371533295359117, + -0.0008756906733397132, + -0.05054994956914327, + 0.9797542066983337 + ], + 0.9020488858222961 + ], + [ + [ + -0.0593541745425055, + 0.0876366463958625, + 0.009250274853105131, + 0.6063239271487746, + 0.3587785710494478, + 0.6304138272066475, + -0.3259258179237582 + ], + 0.9015272259712219 + ], + [ + [ + -0.0059016585678646535, + -0.10695783370143136, + -0.005933989311312851, + 0.725582390542436, + -0.6873391873670952, + 0.020686901215632325, + -0.025828049913990837 + ], + 0.9015103578567505 + ], + [ + [ + 0.0008657992488851575, + 0.08606337434643546, + -0.04309536982954067, + 0.08029090234658369, + 0.012593641183341765, + -0.504524946954993, + 0.8595634642667047 + ], + 0.8995612859725952 + ], + [ + [ + -0.05120649899848199, + 0.0817360994874839, + 0.001331925269471887, + 0.38017916744030766, + 0.6103623685657473, + -0.33959832419023783, + 0.606295767666564 + ], + 0.8980921506881714 + ], + [ + [ + 0.0026485043249239947, + 0.05088426969045439, + -0.09402567987025302, + 0.10680073242317617, + 0.010430613949581394, + -0.2390944396596335, + 0.9650485245677307 + ], + 0.8976646661758423 + ], + [ + [ + -0.09477715160258507, + -0.001512052793673786, + -0.01676680427670997, + 0.5298132540635818, + -0.46611040620416433, + 0.47106247432473314, + -0.5292817305838238 + ], + 0.897577702999115 + ], + [ + [ + -0.04143422435529923, + 0.08849215931290427, + 0.006422138766641203, + 0.400311866192035, + 0.5982999498312208, + -0.36857023110768816, + 0.5881696732738214 + ], + 0.8975424766540527 + ], + [ + [ + 0.02222931046478057, + -0.003295528422727796, + -0.09547536913931888, + 0.6848661391291502, + 0.09172711260245703, + -0.08119881838986076, + -0.7182974733214916 + ], + 0.89715576171875 + ], + [ + [ + 0.04515220258824134, + -0.09133641743069848, + 0.0007226804092288347, + 0.366470748089052, + -0.6352892066816277, + 0.35056382667774766, + 0.5824189369293661 + ], + 0.8963488340377808 + ], + [ + [ + -0.009692383590419051, + -0.06459018909341058, + 0.08316346909224469, + 0.31498807319741257, + -0.9474857236396903, + -0.00863869946373641, + -0.054577377309003826 + ], + 0.8963150382041931 + ], + [ + [ + 0.00037534586360284957, + 0.09950203872317115, + 0.01280666607737023, + 0.48591881712233265, + 0.5447077082538097, + 0.4955667204454527, + -0.47073351412689285 + ], + 0.8956792950630188 + ], + [ + [ + 0.05449142713538909, + 0.0936042634307746, + -0.0004045251179258941, + 0.37109156875037014, + 0.6102556951466641, + 0.3578618129337374, + -0.6015097314152364 + ], + 0.8955327868461609 + ], + [ + [ + -0.011527985926050898, + 0.10370210981959144, + 0.0009999838595040472, + 0.5103765618283684, + 0.5044618871969002, + -0.48236564411065563, + 0.502351823808482 + ], + 0.8950636386871338 + ], + [ + [ + 0.05279246751658225, + -0.08951308154469689, + 0.004426616703415695, + 0.5906225434599471, + -0.32419220291811507, + -0.6374312196796368, + -0.3738259847866817 + ], + 0.8944423198699951 + ], + [ + [ + 0.012815621089856866, + 0.003092464339301375, + -0.09562689904749912, + 0.7192751760467175, + -0.0185209599690341, + -0.03762984300090266, + 0.6934581386648494 + ], + 0.893351674079895 + ], + [ + [ + 0.08605243299595619, + -0.05400711991792879, + 0.004436247044498506, + 0.6672425008958117, + -0.16468834141024158, + -0.6898439156441997, + -0.22755343823050583 + ], + 0.8931870460510254 + ], + [ + [ + -0.01883952471919751, + -0.09653285467034539, + 0.0012179015840165647, + 0.5463645208724435, + -0.4891775755709384, + 0.5135298289558778, + 0.4455089501490534 + ], + 0.8929864168167114 + ], + [ + [ + 0.012238326822142842, + 0.0019291004169140135, + -0.0999173084336571, + 0.772157315484156, + -0.03890855295315915, + -0.06030948008781278, + 0.6313651647524839 + ], + 0.892698347568512 + ], + [ + [ + -0.006546479775835034, + -0.032077487045585724, + -0.10090040509284061, + 0.09863947213711978, + 0.02498194868119722, + 0.17263778438692723, + 0.9797154444932331 + ], + 0.8926149606704712 + ], + [ + [ + 0.08947735313765312, + -0.04156709038621149, + 0.0019311553270317944, + 0.1927443033369164, + -0.6877336286408178, + 0.14320827441609663, + 0.6851010726210139 + ], + 0.8919445872306824 + ], + [ + [ + -0.032484531062919854, + 0.00029591615343132354, + -0.09742110316336673, + 0.7190720255055395, + 0.12196847032663102, + 0.10300731391558271, + 0.6763494715466546 + ], + 0.8917402625083923 + ], + [ + [ + -0.09035355563767647, + -0.002890847809299442, + 0.03515744115530926, + 0.38851881794188564, + 0.6071771857104592, + 0.566325362294365, + 0.3995805016262964 + ], + 0.8913246989250183 + ], + [ + [ + 0.08664401654593254, + -0.005766337224900338, + 0.05350328888117749, + 0.3878709448289443, + -0.5994618071261192, + -0.6265015275285595, + 0.31256600576353716 + ], + 0.8911612033843994 + ], + [ + [ + -0.09121732379801964, + -0.003394863288536283, + -0.05399849732101482, + 0.6325826740548117, + 0.3182329803684166, + 0.3420107045917701, + 0.6177342540576328 + ], + 0.8908458352088928 + ], + [ + [ + 0.03929794613711143, + -0.005915214260726782, + 0.09340528304993588, + 0.1546411367162071, + 0.6749097718314558, + -0.7029802841827791, + -0.16248581098616113 + ], + 0.8902269005775452 + ], + [ + [ + -0.09371586855061745, + -0.0011549730083566035, + -0.05896041636050266, + 0.625522820366024, + 0.3385430096217757, + 0.3484099083347736, + 0.6105082862760507 + ], + 0.8887434601783752 + ], + [ + [ + 0.03217767212979102, + 0.008724771021247295, + -0.10051503126204532, + 0.6955400277770675, + -0.09443791274520554, + -0.14842154436428368, + 0.6966179695964828 + ], + 0.8881751298904419 + ], + [ + [ + -0.002012387276891825, + -0.055323548102438065, + 0.0830881139200874, + 0.042388685905556264, + 0.010770773295605638, + 0.9609553058241709, + 0.2732253464783036 + ], + 0.8880458474159241 + ], + [ + [ + 0.0004939814584476677, + 0.0032181337478909763, + -0.10009504948437732, + 0.6823333516129623, + 0.03588625691190497, + -0.0013951168152932514, + -0.7301584947739407 + ], + 0.8870725631713867 + ], + [ + [ + 0.042205915194671394, + 0.083651681011856, + -0.002933202317660269, + 0.6414188577801986, + 0.34192287357912643, + -0.5982129644087404, + 0.33736011415199246 + ], + 0.8856816291809082 + ], + [ + [ + -0.10500913824446892, + 0.002655520383581904, + 0.006610856385225836, + 0.6998642131975825, + 0.024408016064206943, + 0.7130226647935514, + 0.03453999606023235 + ], + 0.885647714138031 + ], + [ + [ + 0.059690714222114326, + 0.0010808087422851597, + 0.08355299289643246, + 0.2357017655017376, + -0.6785457108411234, + -0.6639380207743419, + 0.2078622154426537 + ], + 0.8848794102668762 + ], + [ + [ + 0.06031161208144927, + -0.08376191132670602, + -0.0034218342106096117, + 0.38159504908905506, + -0.6403859367694406, + 0.2909393815256448, + 0.5997043828221728 + ], + 0.8840065002441406 + ], + [ + [ + 0.02531689066879058, + 0.0022365625950846943, + -0.10166620556891483, + 0.9823269273738191, + 0.03803422268867601, + -0.11667000448951392, + -0.14133405715961275 + ], + 0.8838525414466858 + ], + [ + [ + -0.03883616219766831, + 0.09252535230511466, + 0.02878879661976773, + 0.3886423230896751, + 0.6637299123598627, + -0.39728404303761033, + 0.5005847953043719 + ], + 0.8833556175231934 + ], + [ + [ + 0.007032711398523095, + 0.09271157956713477, + -0.005101774825458941, + 0.04958283696844887, + -0.021052398413559402, + -0.7116550489252675, + 0.7004608698124203 + ], + 0.8829363584518433 + ], + [ + [ + -0.00047523226615434614, + 0.0820211587011222, + -0.04369205330193561, + 0.06613034290189497, + 0.003975507945316556, + -0.5243882286309126, + 0.848898085024102 + ], + 0.881764829158783 + ], + [ + [ + -0.09538312967427467, + -0.06244342722898683, + 0.0018941999816097649, + 0.21482732027097046, + -0.6793904561774302, + -0.17692938044157847, + -0.6789505319658985 + ], + 0.8812313079833984 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00006/metadata.json b/Objects/RoboDojo/Rigid/block/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..cf77b50d740f87dc6f7b7a60736cd65b3ef27b24 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00006/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "geometry": { + "faces": 1452, + "vertices": 2253, + "aligned_bbox": { + "vertices": [ + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ], + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ], + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + }, + "radius": 0.0268 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0002, + -0.0013, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0, + -0.0, + -0.0175, + 1.0, + -0.0002, + 0.0013, + 0.0 + ], + "radius": 0.0228 + }, + "contact_circle": { + "center": [ + 0.0, + -0.0, + -0.0175, + 1.0, + -0.0002, + 0.0013, + 0.0 + ], + "radius": 0.0206 + } + } + } + }, + "physics": { + "mass": 0.25, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.014 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00007/description.json b/Objects/RoboDojo/Rigid/block/00007/description.json new file mode 100644 index 0000000000000000000000000000000000000000..bbf04abdcc18c6c9afac12b1c1bbc3ca14cfd7b9 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00007/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 6 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "smartwatch ideal for showing notifications", + "smartwatch appropriate for tracking heart rate use", + "subtle blue LED glow brushed aluminum rectangular case object", + "slim profile dark gray accents fitness tracker", + "smartwatch with tempered glass front construction", + "Apple Watch with brushed aluminum surface", + "Apple Watch made from rubberized grip", + "rubberized grip rectangular case object used for tracking heart rate", + "palm-sized brushed aluminum smartwatch for showing notifications", + "Apple Watch appropriate for monitoring daily activity use", + "Apple Watch for monitoring daily activity with rubberized grip", + "dark gray accents smartwatch suitable for monitoring daily activity", + "palm-sized subtle blue LED glow brushed aluminum curved edges object", + "Apple Watch commonly featuring brushed aluminum", + "smartwatch featuring round face shape", + "brushed aluminum object used for tracking heart rate", + "smartwatch with brushed aluminum construction", + "matte black rubberized grip smartwatch", + "slim profile tempered glass front fitness tracker", + "slim profile rectangular case smartwatch", + "slim profile object used for showing notifications", + "smartwatch for tracking heart rate", + "Apple Watch sized slim profile", + "dark gray accents round face object for tracking heart rate", + "monitoring daily activity use of Apple Watch", + "brushed aluminum fitness tracker used for showing notifications", + "smartwatch for monitoring daily activity tasks", + "Apple Watch appropriate for tracking heart rate use", + "fitness tracker for showing notifications tasks", + "subtle blue LED glow rubberized grip smartwatch", + "matte black Apple Watch used for showing notifications", + "Apple Watch appropriate for showing notifications use", + "Apple Watch appropriate for showing notifications", + "curved edges brushed aluminum object for showing notifications", + "rectangular case object made of brushed aluminum", + "dark gray accents brushed aluminum fitness tracker", + "smartwatch appropriate for monitoring daily activity", + "matte black curved edges object for showing notifications", + "slim profile tempered glass front curved edges for monitoring daily activity", + "Apple Watch commonly found in about 6 inches tall size", + "smartwatch intended for tracking heart rate usage", + "matte black round face fitness tracker used for tracking heart rate", + "subtle blue LED glow slim profile Apple Watch for monitoring daily activity", + "rubberized grip Apple Watch suitable for monitoring daily activity", + "palm-sized tempered glass front smartwatch", + "fitness tracker with brushed aluminum surface", + "matte black about 6 inches tall curved edges smartwatch", + "slim profile object used for tracking heart rate", + "slim profile curved edges object for showing notifications", + "fitness tracker shaped like a curved edges", + "curved edges rubberized grip object for tracking heart rate", + "Apple Watch built from rubberized grip", + "about 6 inches tall matte black fitness tracker", + "monitoring daily activity use of smartwatch", + "rubberized grip Apple Watch", + "smartwatch for tracking heart rate activities", + "round face fitness tracker for tracking heart rate", + "Apple Watch with brushed aluminum body", + "curved edges brushed aluminum smartwatch for showing notifications", + "palm-sized dark gray accents fitness tracker", + "palm-sized subtle blue LED glow object for tracking heart rate", + "smartwatch commonly used for monitoring daily activity", + "smartwatch featuring rectangular case shape", + "slim profile rubberized grip rectangular case for tracking heart rate", + "slim profile round face fitness tracker for tracking heart rate", + "Apple Watch used to tracking heart rate", + "matte black brushed aluminum Apple Watch", + "about 6 inches tall Apple Watch perfect for monitoring daily activity", + "smartwatch used to showing notifications", + "about 6 inches tall fitness tracker used for monitoring daily activity", + "curved edges Apple Watch for showing notifications", + "curved edges tempered glass front object for monitoring daily activity", + "matte black round face smartwatch used for monitoring daily activity", + "fitness tracker featuring curved edges shape", + "showing notifications use of Apple Watch", + "palm-sized fitness tracker for showing notifications", + "matte black fitness tracker suitable for tracking heart rate", + "brushed aluminum smartwatch for showing notifications", + "rubberized grip Apple Watch for showing notifications", + "rectangular case about 6 inches tall Apple Watch", + "slim profile round face smartwatch for monitoring daily activity", + "fitness tracker in curved edges", + "dark gray accents smartwatch used for tracking heart rate", + "rubberized grip Apple Watch suitable for tracking heart rate", + "rubberized grip smartwatch", + "Apple Watch sized as about 6 inches tall", + "smartwatch for tracking heart rate use", + "fitness tracker made from rubberized grip", + "rectangular case rubberized grip object for tracking heart rate", + "brushed aluminum fitness tracker suitable for monitoring daily activity", + "smartwatch for tracking heart rate scenarios", + "Apple Watch sized palm-sized", + "Apple Watch with slim profile dimensions", + "showing notifications use of fitness tracker", + "palm-sized rubberized grip object", + "palm-sized Apple Watch for showing notifications", + "slim profile dark gray accents rubberized grip curved edges object", + "Apple Watch for showing notifications scenarios", + "Apple Watch featuring rectangular case shape", + "fitness tracker with subtle blue LED glow exterior" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00007/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00007/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..b56e756a6f13e4b56b1c2ee45988749cf77d809d --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00007/grasps/UMI.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0063, + 0.008, + 0.0259, + -0.0079, + 0.9984, + 0.0565, + 0.0016 + ], + [ + -0.0001, + -0.001, + 0.0028, + -0.0047, + 0.7075, + 0.7067, + 0.0045 + ], + [ + -0.0087, + -0.0002, + 0.0036, + 0.8655, + 0.0133, + -0.5006, + -0.0033 + ], + [ + 0.0, + 0.001, + 0.003, + -0.0022, + -0.7071, + 0.7072, + -0.0026 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00007/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00007/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..d62835ed21be864c2f4f5b7a2c7fb066b6b64082 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00007/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0097, + -0.004, + 0.0008, + -0.5934, + 0.5757, + 0.5223, + 0.2086 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00007/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00007/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..113c859b4bb0d8a2061b83f2d500ab2acfc3a342 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00007/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0008, + 0.0015, + 0.0051, + 0.0997, + 0.7527, + 0.6328, + -0.1515 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00007/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00007/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..07f2b64819ddc1f902ba7692c995ef1f16554092 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00007/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + -0.0, + 0.003, + -0.0, + 1.0, + 0.0, + -0.0 + ], + [ + 0.0, + -0.0, + 0.003, + 0.0, + 0.7071, + 0.7071, + -0.0 + ], + [ + 0.0, + 0.0, + 0.003, + 0.0, + -0.0, + 1.0, + -0.0 + ], + [ + -0.0, + 0.0, + 0.003, + 0.0, + -0.7071, + 0.7071, + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00007/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00007/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..82c5d620c4ebfc82e1f7076ca9e641c8264dc1a7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00007/grasps/piper_v1.json @@ -0,0 +1,32 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0001, + -0.0, + 0.003, + -0.0007, + 1.0, + -0.0052, + -0.0027 + ], + [ + 0.0001, + 0.0013, + 0.003, + 0.0082, + 0.7154, + 0.6985, + -0.015 + ], + [ + -0.0, + -0.0, + 0.003, + 0.002, + 0.005, + 1.0, + -0.0019 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00007/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00007/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..243a3076fdbb45e63ee57b013c55008bf1b51512 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00007/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + [ + 0.0, + 0.0, + 0.105, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00007/metadata.json b/Objects/RoboDojo/Rigid/block/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..2ad10e4977996ca70993c6c8dc49d5586d46c363 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00007/metadata.json @@ -0,0 +1,178 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "geometry": { + "faces": 1452, + "vertices": 2253, + "aligned_bbox": { + "vertices": [ + [ + -0.02, + -0.02, + -0.02 + ], + [ + -0.02, + -0.02, + 0.02 + ], + [ + -0.02, + 0.02, + -0.02 + ], + [ + -0.02, + 0.02, + 0.02 + ], + [ + 0.02, + -0.02, + -0.02 + ], + [ + 0.02, + -0.02, + 0.02 + ], + [ + 0.02, + 0.02, + -0.02 + ], + [ + 0.02, + 0.02, + 0.02 + ] + ], + "extents": [ + 0.04, + 0.04, + 0.04 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.02, + 0.02, + 0.02 + ], + [ + 0.02, + 0.02, + 0.02 + ], + [ + -0.02, + 0.02, + -0.02 + ], + [ + 0.02, + 0.02, + -0.02 + ], + [ + -0.02, + -0.02, + 0.02 + ], + [ + 0.02, + -0.02, + 0.02 + ], + [ + -0.02, + -0.02, + -0.02 + ], + [ + 0.02, + -0.02, + -0.02 + ] + ], + "extents": [ + 0.04, + 0.04, + 0.04 + ] + }, + "radius": 0.030596050186710834, + "bbox": [ + 0.04, + 0.04, + 0.04 + ], + "center": [ + 0.0, + 0.0, + -1.7646519734464589e-19 + ] + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0, + -0.0009, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0, + -0.0, + -0.0153, + 1.0, + -0.0, + 0.0009, + 0.0 + ], + "radius": 0.0199 + }, + "contact_circle": { + "center": [ + -0.0, + -0.0, + -0.0153, + 1.0, + -0.0, + 0.0009, + 0.0 + ], + "radius": 0.0183 + } + } + }, + "functional": {} + }, + "physics": { + "mass": 0.3, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.02 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00008/description.json b/Objects/RoboDojo/Rigid/block/00008/description.json new file mode 100644 index 0000000000000000000000000000000000000000..4ef2010bb8605538a7e4f324ffeb2c2ef66f87fc --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00008/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "e0e112f4-e6ac-4a90-9fc9-67d31bbc37b9", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "subtle blue LED glow smartwatch typically used for tracking heart rate", + "smartwatch appropriate for showing notifications", + "curved edges smartwatch ideal for monitoring daily activity", + "tempered glass front fitness tracker suitable for showing notifications", + "matte black object used for showing notifications", + "Apple Watch with subtle blue LED glow color", + "round face object used for showing notifications", + "subtle blue LED glow smartwatch designed for tracking heart rate", + "rubberized grip round face object used for tracking heart rate", + "fitness tracker in rectangular case", + "brushed aluminum smartwatch used for tracking heart rate", + "Apple Watch intended for tracking heart rate", + "Apple Watch made from rubberized grip", + "palm-sized round face object", + "fitness tracker featuring curved edges shape", + "Apple Watch with round face geometry", + "rectangular case object made of rubberized grip", + "rubberized grip smartwatch", + "about 5 inches tall round face object", + "smartwatch designed for showing notifications", + "Apple Watch featuring brushed aluminum build", + "palm-sized dark gray accents tempered glass front curved edges object", + "smartwatch with rubberized grip surface", + "Apple Watch with brushed aluminum body", + "dark gray accents round face smartwatch", + "round face about 5 inches tall smartwatch", + "Apple Watch primarily used for tracking heart rate", + "subtle blue LED glow brushed aluminum curved edges smartwatch", + "about 5 inches tall matte black curved edges for showing notifications", + "smartwatch made of tempered glass front", + "rectangular case object used for showing notifications", + "smartwatch for monitoring daily activity", + "curved edges-shaped Apple Watch", + "subtle blue LED glow about 5 inches tall smartwatch for showing notifications", + "matte black about 5 inches tall rectangular case fitness tracker", + "fitness tracker designed for tracking heart rate", + "Apple Watch shaped like a rectangular case", + "subtle blue LED glow tempered glass front smartwatch", + "fitness tracker featuring rectangular case shape", + "curved edges rubberized grip fitness tracker for monitoring daily activity", + "smartwatch optimized for tracking heart rate", + "Apple Watch appropriate for monitoring daily activity use", + "fitness tracker for tracking heart rate tasks", + "slim profile subtle blue LED glow round face object", + "Apple Watch sized as palm-sized", + "rectangular case object made of tempered glass front", + "Apple Watch suitable for showing notifications", + "smartwatch in slim profile", + "fitness tracker made of brushed aluminum", + "slim profile round face object for monitoring daily activity", + "subtle blue LED glow rectangular case smartwatch", + "smartwatch with curved edges profile", + "Apple Watch made of rubberized grip", + "matte black slim profile tempered glass front object", + "curved edges fitness tracker for monitoring daily activity", + "Apple Watch suitable for tracking heart rate", + "dark gray accents palm-sized fitness tracker for showing notifications", + "round face object used for monitoring daily activity", + "curved edges Apple Watch used for showing notifications", + "smartwatch commonly used for tracking heart rate", + "fitness tracker built from tempered glass front", + "matte black curved edges fitness tracker", + "tracking heart rate with smartwatch", + "slim profile Apple Watch for tracking heart rate", + "slim profile subtle blue LED glow smartwatch", + "Apple Watch primarily used for monitoring daily activity", + "Apple Watch ideal for tracking heart rate", + "Apple Watch in about 5 inches tall", + "smartwatch sized palm-sized", + "fitness tracker typically made of tempered glass front", + "smartwatch colored subtle blue LED glow", + "smartwatch for monitoring daily activity activities", + "subtle blue LED glow smartwatch suitable for tracking heart rate", + "smartwatch used to monitoring daily activity", + "Apple Watch sized as about 5 inches tall", + "Apple Watch in round face form", + "fitness tracker in curved edges form", + "rubberized grip object used for tracking heart rate", + "Apple Watch commonly used for tracking heart rate", + "dark gray accents palm-sized Apple Watch for monitoring daily activity", + "matte black object used for tracking heart rate", + "round face Apple Watch ideal for monitoring daily activity", + "rubberized grip smartwatch used for showing notifications", + "subtle blue LED glow tempered glass front rectangular case object", + "about 5 inches tall matte black object for tracking heart rate", + "dark gray accents curved edges smartwatch used for tracking heart rate", + "smartwatch commonly featuring brushed aluminum", + "about 5 inches tall Apple Watch perfect for monitoring daily activity", + "smartwatch commonly used for monitoring daily activity", + "curved edges object used for tracking heart rate", + "dark gray accents rectangular case object for monitoring daily activity", + "fitness tracker intended for tracking heart rate", + "subtle blue LED glow palm-sized rubberized grip object", + "palm-sized brushed aluminum object", + "fitness tracker with brushed aluminum body", + "fitness tracker featuring round face shape", + "round face brushed aluminum fitness tracker for tracking heart rate", + "fitness tracker for tracking heart rate scenarios", + "Apple Watch with rubberized grip surface", + "dark gray accents Apple Watch used for showing notifications" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00008/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00008/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..642fc82d2e34978b329545b1c6f816fe5ea73840 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00008/grasps/UMI.json @@ -0,0 +1,4 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00008/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00008/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..efdf2af9a9cb6f9b72b7ebdb13d88106d8d3ee0b --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00008/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + 0.0002, + -0.001, + 0.0, + 0.7072, + 0.707, + -0.0002 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00008/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00008/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..83c92bac0c0b176f72efa95c562fa9e6e6f3292c --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00008/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0002, + -0.0007, + -0.0018, + -0.012, + 0.6868, + 0.7267, + 0.0108 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00008/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00008/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..cd9fde76cc8edd4e79b18b22ca0974d9d5897122 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00008/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0, + -0.0, + -0.0, + 0.0, + 1.0, + -0.0, + 0.0 + ], + [ + 0.0, + 0.0, + -0.0, + -0.0, + 0.7071, + 0.7071, + 0.0 + ], + [ + -0.0, + 0.0, + -0.0, + -0.0, + 0.0, + 1.0, + 0.0 + ], + [ + -0.0, + -0.0, + -0.0, + -0.0, + -0.7071, + 0.7071, + -0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00008/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00008/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..2f9af880edfe984bc1b85b4fdf82cb63148f7115 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00008/grasps/piper_v1.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + -0.0, + -0.001, + 0.0, + 1.0, + -0.0001, + -0.0 + ], + [ + -0.0, + -0.0, + -0.001, + -0.0002, + 0.7071, + 0.7071, + 0.0023 + ], + [ + 0.0, + -0.0, + -0.001, + -0.0015, + -0.0005, + 1.0, + 0.0015 + ], + [ + 0.0, + 0.0, + -0.001, + -0.0021, + -0.7072, + 0.707, + -0.0001 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00008/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00008/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..9dbe5be1e4f3781b90e071ad4b3bea768b5aa741 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00008/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + [ + 0.0, + 0.0, + 0.101, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00008/metadata.json b/Objects/RoboDojo/Rigid/block/00008/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ea37bc8c05245690fa58a4a3f1d495e7f8da0d9a --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00008/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "e0e112f4-e6ac-4a90-9fc9-67d31bbc37b9", + "geometry": { + "faces": 1452, + "vertices": 2257, + "aligned_bbox": { + "vertices": [ + [ + -0.015, + -0.015, + -0.015 + ], + [ + -0.015, + -0.015, + 0.015 + ], + [ + -0.015, + 0.015, + -0.015 + ], + [ + -0.015, + 0.015, + 0.015 + ], + [ + 0.015, + -0.015, + -0.015 + ], + [ + 0.015, + -0.015, + 0.015 + ], + [ + 0.015, + 0.015, + -0.015 + ], + [ + 0.015, + 0.015, + 0.015 + ] + ], + "extents": [ + 0.03, + 0.03, + 0.03 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.015, + 0.015, + 0.015 + ], + [ + 0.015, + 0.015, + 0.015 + ], + [ + -0.015, + 0.015, + -0.015 + ], + [ + 0.015, + 0.015, + -0.015 + ], + [ + -0.015, + -0.015, + 0.015 + ], + [ + 0.015, + -0.015, + 0.015 + ], + [ + -0.015, + -0.015, + -0.015 + ], + [ + 0.015, + -0.015, + -0.015 + ] + ], + "extents": [ + 0.03, + 0.03, + 0.03 + ] + }, + "radius": 0.0229 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0011, + -0.0006, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0, + -0.0, + -0.015, + 1.0, + -0.0011, + 0.0006, + 0.0 + ], + "radius": 0.0196 + }, + "contact_circle": { + "center": [ + -0.0, + -0.0, + -0.015, + 1.0, + -0.0011, + 0.0006, + 0.0 + ], + "radius": 0.0181 + } + } + } + }, + "physics": { + "mass": 0.2, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.015, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.015 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00009/description.json b/Objects/RoboDojo/Rigid/block/00009/description.json new file mode 100644 index 0000000000000000000000000000000000000000..4ef2010bb8605538a7e4f324ffeb2c2ef66f87fc --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00009/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "e0e112f4-e6ac-4a90-9fc9-67d31bbc37b9", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "subtle blue LED glow smartwatch typically used for tracking heart rate", + "smartwatch appropriate for showing notifications", + "curved edges smartwatch ideal for monitoring daily activity", + "tempered glass front fitness tracker suitable for showing notifications", + "matte black object used for showing notifications", + "Apple Watch with subtle blue LED glow color", + "round face object used for showing notifications", + "subtle blue LED glow smartwatch designed for tracking heart rate", + "rubberized grip round face object used for tracking heart rate", + "fitness tracker in rectangular case", + "brushed aluminum smartwatch used for tracking heart rate", + "Apple Watch intended for tracking heart rate", + "Apple Watch made from rubberized grip", + "palm-sized round face object", + "fitness tracker featuring curved edges shape", + "Apple Watch with round face geometry", + "rectangular case object made of rubberized grip", + "rubberized grip smartwatch", + "about 5 inches tall round face object", + "smartwatch designed for showing notifications", + "Apple Watch featuring brushed aluminum build", + "palm-sized dark gray accents tempered glass front curved edges object", + "smartwatch with rubberized grip surface", + "Apple Watch with brushed aluminum body", + "dark gray accents round face smartwatch", + "round face about 5 inches tall smartwatch", + "Apple Watch primarily used for tracking heart rate", + "subtle blue LED glow brushed aluminum curved edges smartwatch", + "about 5 inches tall matte black curved edges for showing notifications", + "smartwatch made of tempered glass front", + "rectangular case object used for showing notifications", + "smartwatch for monitoring daily activity", + "curved edges-shaped Apple Watch", + "subtle blue LED glow about 5 inches tall smartwatch for showing notifications", + "matte black about 5 inches tall rectangular case fitness tracker", + "fitness tracker designed for tracking heart rate", + "Apple Watch shaped like a rectangular case", + "subtle blue LED glow tempered glass front smartwatch", + "fitness tracker featuring rectangular case shape", + "curved edges rubberized grip fitness tracker for monitoring daily activity", + "smartwatch optimized for tracking heart rate", + "Apple Watch appropriate for monitoring daily activity use", + "fitness tracker for tracking heart rate tasks", + "slim profile subtle blue LED glow round face object", + "Apple Watch sized as palm-sized", + "rectangular case object made of tempered glass front", + "Apple Watch suitable for showing notifications", + "smartwatch in slim profile", + "fitness tracker made of brushed aluminum", + "slim profile round face object for monitoring daily activity", + "subtle blue LED glow rectangular case smartwatch", + "smartwatch with curved edges profile", + "Apple Watch made of rubberized grip", + "matte black slim profile tempered glass front object", + "curved edges fitness tracker for monitoring daily activity", + "Apple Watch suitable for tracking heart rate", + "dark gray accents palm-sized fitness tracker for showing notifications", + "round face object used for monitoring daily activity", + "curved edges Apple Watch used for showing notifications", + "smartwatch commonly used for tracking heart rate", + "fitness tracker built from tempered glass front", + "matte black curved edges fitness tracker", + "tracking heart rate with smartwatch", + "slim profile Apple Watch for tracking heart rate", + "slim profile subtle blue LED glow smartwatch", + "Apple Watch primarily used for monitoring daily activity", + "Apple Watch ideal for tracking heart rate", + "Apple Watch in about 5 inches tall", + "smartwatch sized palm-sized", + "fitness tracker typically made of tempered glass front", + "smartwatch colored subtle blue LED glow", + "smartwatch for monitoring daily activity activities", + "subtle blue LED glow smartwatch suitable for tracking heart rate", + "smartwatch used to monitoring daily activity", + "Apple Watch sized as about 5 inches tall", + "Apple Watch in round face form", + "fitness tracker in curved edges form", + "rubberized grip object used for tracking heart rate", + "Apple Watch commonly used for tracking heart rate", + "dark gray accents palm-sized Apple Watch for monitoring daily activity", + "matte black object used for tracking heart rate", + "round face Apple Watch ideal for monitoring daily activity", + "rubberized grip smartwatch used for showing notifications", + "subtle blue LED glow tempered glass front rectangular case object", + "about 5 inches tall matte black object for tracking heart rate", + "dark gray accents curved edges smartwatch used for tracking heart rate", + "smartwatch commonly featuring brushed aluminum", + "about 5 inches tall Apple Watch perfect for monitoring daily activity", + "smartwatch commonly used for monitoring daily activity", + "curved edges object used for tracking heart rate", + "dark gray accents rectangular case object for monitoring daily activity", + "fitness tracker intended for tracking heart rate", + "subtle blue LED glow palm-sized rubberized grip object", + "palm-sized brushed aluminum object", + "fitness tracker with brushed aluminum body", + "fitness tracker featuring round face shape", + "round face brushed aluminum fitness tracker for tracking heart rate", + "fitness tracker for tracking heart rate scenarios", + "Apple Watch with rubberized grip surface", + "dark gray accents Apple Watch used for showing notifications" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00009/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00009/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8900efbe463dea9722a336b4e22af3d9ea97f822 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00009/grasps/UMI.json @@ -0,0 +1,347 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0008, + -0.0005, + -0.0026, + 0.9969, + 0.0315, + -0.0653, + -0.029 + ], + [ + -0.0058, + 0.0146, + 0.009, + 0.8441, + 0.5192, + 0.0751, + -0.1109 + ], + [ + -0.0138, + -0.0021, + -0.0132, + 0.0053, + 0.0049, + -0.2093, + -0.9778 + ], + [ + -0.0027, + -0.0021, + 0.017, + 0.832, + -0.1274, + 0.5002, + 0.2034 + ], + [ + -0.0014, + -0.0042, + 0.0003, + 0.9959, + -0.0161, + -0.0409, + -0.0785 + ], + [ + -0.0007, + 0.0018, + -0.0113, + 0.0732, + -0.7442, + -0.1007, + -0.6562 + ], + [ + 0.0001, + -0.0052, + -0.0083, + 0.8602, + -0.5039, + -0.0698, + -0.0352 + ], + [ + -0.001, + -0.0031, + -0.0061, + 0.7254, + -0.6883, + 0.0005, + -0.0015 + ], + [ + 0.0009, + -0.0005, + 0.001, + 0.2163, + 0.6836, + 0.2162, + -0.6627 + ], + [ + -0.0034, + -0.0056, + 0.0012, + 0.8798, + 0.4745, + 0.0262, + 0.0113 + ], + [ + -0.0028, + 0.0001, + -0.0045, + 0.5395, + -0.468, + 0.449, + -0.537 + ], + [ + 0.0037, + 0.0041, + 0.0024, + 0.5713, + 0.4264, + 0.4185, + 0.5627 + ], + [ + -0.0059, + 0.0092, + 0.0017, + 0.058, + 0.0018, + -0.036, + 0.9977 + ], + [ + 0.0301, + 0.0106, + -0.012, + -0.5629, + 0.0567, + -0.8235, + -0.0414 + ], + [ + -0.001, + 0.0061, + -0.0003, + 0.9991, + -0.0335, + -0.0144, + -0.0214 + ], + [ + 0.0042, + -0.0221, + 0.0005, + 0.2884, + -0.0759, + 0.925, + 0.2355 + ], + [ + -0.0063, + -0.0096, + -0.0103, + 0.864, + -0.4539, + 0.1924, + -0.1018 + ], + [ + -0.012, + 0.0081, + -0.0022, + 0.9759, + 0.2184, + -0.0001, + 0.0002 + ], + [ + 0.0017, + 0.0106, + 0.0025, + 0.1148, + 0.6592, + -0.7095, + -0.2213 + ], + [ + 0.0034, + 0.0004, + 0.0012, + 0.7221, + 0.0841, + 0.68, + -0.0951 + ], + [ + -0.0054, + 0.0017, + 0.0009, + 0.6048, + 0.358, + 0.6321, + -0.3265 + ], + [ + 0.0015, + 0.0039, + -0.0034, + 0.0909, + 0.0009, + -0.241, + 0.9663 + ], + [ + -0.0005, + -0.0056, + -0.0099, + 0.3844, + 0.5935, + -0.3844, + 0.5935 + ], + [ + -0.0011, + -0.0034, + 0.0017, + 0.3152, + -0.947, + -0.0056, + -0.0609 + ], + [ + -0.0026, + -0.0017, + 0.0008, + 0.4826, + 0.5475, + 0.4983, + -0.468 + ], + [ + 0.0054, + -0.0021, + -0.024, + 0.3914, + -0.0721, + -0.8937, + -0.2072 + ], + [ + -0.0059, + 0.0048, + 0.0009, + 0.5435, + -0.4911, + 0.5166, + 0.4432 + ], + [ + -0.0025, + -0.0011, + 0.0012, + 0.772, + -0.0445, + -0.0541, + 0.6318 + ], + [ + 0.0015, + 0.0021, + -0.005, + 0.0969, + 0.0172, + 0.1733, + 0.9799 + ], + [ + -0.001, + 0.0057, + 0.0011, + 0.1905, + -0.6912, + 0.146, + 0.6816 + ], + [ + -0.0004, + -0.001, + -0.0007, + 0.7186, + 0.1207, + 0.104, + 0.677 + ], + [ + 0.0041, + -0.0011, + -0.0035, + 0.3814, + 0.6034, + 0.5713, + 0.4049 + ], + [ + -0.0067, + -0.0009, + 0.0038, + 0.6291, + 0.3201, + 0.3408, + 0.621 + ], + [ + -0.0042, + 0.0102, + 0.0025, + 0.0485, + 0.6743, + -0.7047, + -0.2153 + ], + [ + -0.0069, + -0.0011, + -0.0051, + 0.623, + 0.3367, + 0.3506, + 0.6129 + ], + [ + -0.0032, + 0.0044, + 0.0011, + 0.6956, + 0.0251, + 0.7171, + 0.0351 + ], + [ + -0.0006, + 0.0011, + -0.0056, + 0.9939, + 0.0377, + -0.0543, + -0.0883 + ], + [ + 0.0119, + -0.0001, + -0.0023, + 0.0003, + -0.0, + 1.0, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00009/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00009/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..b6af02d77774ebeed0911690e24ef497ee7210fb --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00009/grasps/XOne.json @@ -0,0 +1,257 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0203, + 0.0055, + -0.0224, + 0.973, + 0.0784, + -0.2159, + -0.0229 + ], + [ + -0.0034, + -0.0061, + -0.0026, + 0.7127, + 0.0179, + 0.7005, + 0.032 + ], + [ + 0.0049, + 0.0041, + -0.0017, + 0.6664, + 0.2088, + 0.6517, + -0.296 + ], + [ + -0.0027, + -0.0061, + -0.0002, + 0.7046, + -0.702, + 0.0685, + -0.0777 + ], + [ + -0.0029, + 0.0026, + -0.0013, + 0.4603, + 0.5074, + 0.5615, + -0.4641 + ], + [ + 0.0027, + -0.0039, + -0.0023, + 0.246, + 0.5768, + -0.7513, + -0.206 + ], + [ + 0.0023, + 0.0075, + -0.0027, + 0.978, + 0.2001, + 0.0563, + -0.0171 + ], + [ + -0.0033, + -0.0071, + -0.0005, + 0.7158, + -0.6937, + 0.0583, + -0.0559 + ], + [ + -0.0079, + -0.011, + 0.0043, + 0.2609, + -0.1498, + -0.5277, + 0.7944 + ], + [ + -0.0032, + -0.0034, + -0.0015, + 0.2411, + 0.5718, + -0.5037, + 0.6009 + ], + [ + -0.0005, + 0.004, + -0.0036, + 0.097, + 0.0098, + -0.2392, + 0.9661 + ], + [ + 0.01, + 0.0078, + 0.0107, + 0.2987, + 0.6198, + 0.4116, + -0.5977 + ], + [ + -0.0034, + 0.0018, + 0.0023, + 0.7942, + -0.234, + -0.5358, + -0.1653 + ], + [ + -0.006, + 0.0047, + -0.0005, + 0.5435, + -0.4856, + 0.5163, + 0.4496 + ], + [ + -0.0003, + 0.0068, + -0.0047, + -0.006, + -0.0082, + 0.174, + 0.9847 + ], + [ + -0.0005, + 0.0001, + -0.0006, + 0.7162, + 0.1211, + 0.1039, + 0.6794 + ], + [ + -0.0009, + 0.0004, + 0.0023, + 0.3787, + -0.6006, + -0.6258, + 0.3229 + ], + [ + -0.0074, + 0.0003, + 0.0033, + 0.6135, + 0.3131, + 0.3507, + 0.6345 + ], + [ + -0.0099, + -0.0048, + -0.0073, + 0.5596, + 0.2507, + 0.4362, + 0.6587 + ], + [ + 0.0028, + 0.0002, + -0.0058, + 0.5805, + -0.0975, + -0.1716, + 0.79 + ], + [ + -0.0124, + -0.0034, + 0.0005, + -0.0927, + -0.0303, + 0.9679, + 0.2315 + ], + [ + -0.0125, + -0.0016, + -0.0001, + 0.6208, + 0.3398, + -0.6117, + 0.3535 + ], + [ + 0.004, + -0.0062, + 0.0063, + 0.2119, + -0.7047, + 0.4396, + 0.515 + ], + [ + 0.0002, + -0.002, + -0.0028, + 0.9918, + 0.0386, + -0.0756, + -0.0955 + ], + [ + -0.0062, + -0.0068, + -0.001, + 0.2021, + -0.5826, + -0.1489, + -0.773 + ], + [ + 0.0003, + -0.0001, + -0.0017, + -0.0007, + 1.0, + -0.0036, + 0.0059 + ], + [ + -0.0008, + -0.0001, + -0.0016, + 0.0154, + 0.0026, + 0.9999, + -0.0044 + ], + [ + -0.0, + 0.0, + -0.0019, + 0.0049, + -0.7, + 0.7141, + -0.003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00009/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00009/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..48187a0fe12162f6b06a21876bcfd1d9ba00d7b5 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00009/grasps/aloha.json @@ -0,0 +1,491 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + 0.0005, + 0.0065, + 0.0013, + 0.9969, + 0.0666, + -0.0404, + -0.0121 + ], + [ + -0.0014, + -0.007, + -0.0003, + 0.2469, + 0.6968, + -0.2138, + 0.6386 + ], + [ + 0.0042, + 0.0024, + -0.0032, + 0.7592, + -0.1824, + 0.5975, + 0.1826 + ], + [ + -0.0088, + -0.0151, + -0.0055, + 0.6783, + -0.1176, + 0.7252, + 0.0101 + ], + [ + 0.0046, + -0.0064, + 0.0011, + 0.7186, + 0.0053, + 0.6945, + 0.0358 + ], + [ + -0.0085, + 0.0066, + -0.0045, + 0.724, + -0.6841, + 0.0614, + 0.0637 + ], + [ + 0.0002, + 0.0028, + 0.0103, + 0.0306, + -0.078, + -0.008, + -0.9965 + ], + [ + 0.0005, + 0.0047, + 0.0016, + 0.5944, + 0.362, + 0.6266, + -0.3507 + ], + [ + 0.0054, + -0.0055, + 0.0145, + 0.9954, + 0.0699, + -0.0283, + 0.0599 + ], + [ + -0.0067, + -0.0004, + 0.0009, + 0.6244, + -0.3214, + 0.6284, + 0.3345 + ], + [ + 0.0161, + -0.0085, + 0.0006, + 0.0329, + 0.0586, + 0.4755, + 0.8772 + ], + [ + 0.0008, + -0.0009, + 0.0001, + 0.0028, + 0.0232, + 0.9673, + -0.2526 + ], + [ + -0.001, + -0.0023, + -0.0043, + 0.5718, + -0.5005, + 0.4341, + -0.484 + ], + [ + 0.0041, + 0.002, + 0.0032, + 0.5648, + 0.4588, + 0.3953, + 0.5607 + ], + [ + 0.0325, + 0.0081, + -0.0177, + 0.0625, + -0.8508, + -0.4388, + -0.2824 + ], + [ + -0.0009, + -0.0025, + -0.0027, + 0.717, + -0.6945, + 0.0443, + 0.0406 + ], + [ + 0.003, + 0.0029, + 0.0026, + 0.2545, + -0.6305, + 0.4441, + -0.5835 + ], + [ + -0.0069, + 0.0078, + -0.0054, + -0.0241, + 0.6655, + -0.7432, + -0.0645 + ], + [ + -0.0034, + -0.0003, + -0.0004, + 0.864, + -0.4956, + 0.0819, + -0.0328 + ], + [ + -0.0002, + 0.0075, + -0.0016, + 0.9758, + 0.2171, + -0.0195, + -0.0143 + ], + [ + -0.0056, + -0.0018, + -0.0037, + 0.12, + 0.5891, + -0.7666, + -0.2258 + ], + [ + 0.0074, + 0.0024, + 0.0019, + 0.6389, + 0.1491, + 0.7546, + -0.0168 + ], + [ + -0.007, + 0.0057, + 0.0111, + 0.1932, + -0.0201, + 0.0945, + 0.9764 + ], + [ + -0.0047, + 0.0011, + 0.0069, + 0.5771, + 0.3672, + 0.6546, + -0.3218 + ], + [ + -0.0019, + -0.0048, + 0.0002, + 0.7145, + -0.6988, + 0.0255, + -0.0211 + ], + [ + 0.0017, + -0.01, + 0.0112, + 0.0285, + -0.0548, + -0.5204, + 0.8517 + ], + [ + -0.008, + -0.0119, + 0.0053, + 0.4653, + 0.6144, + -0.413, + 0.4852 + ], + [ + 0.001, + 0.0037, + -0.0037, + 0.0528, + 0.0056, + -0.2401, + 0.9693 + ], + [ + 0.0074, + 0.001, + -0.003, + 0.464, + -0.5489, + 0.4211, + -0.5533 + ], + [ + 0.0189, + -0.0111, + -0.0011, + 0.341, + 0.6152, + -0.3291, + 0.6301 + ], + [ + -0.0096, + 0.0055, + 0.0053, + 0.3893, + -0.5608, + 0.3438, + 0.6448 + ], + [ + -0.003, + -0.0055, + 0.0014, + 0.4856, + 0.5646, + 0.5258, + -0.4111 + ], + [ + -0.0107, + -0.005, + -0.0017, + 0.4812, + 0.4404, + -0.4823, + 0.5847 + ], + [ + 0.0007, + -0.0018, + -0.0007, + 0.6024, + -0.3343, + -0.6266, + -0.3643 + ], + [ + 0.0045, + 0.0047, + 0.0066, + 0.703, + -0.0529, + -0.0113, + 0.7091 + ], + [ + -0.0008, + 0.0038, + 0.002, + 0.6302, + -0.2213, + -0.7262, + -0.1627 + ], + [ + -0.0019, + 0.0036, + 0.0046, + 0.7558, + -0.0931, + 0.0241, + 0.6477 + ], + [ + -0.0022, + 0.0029, + 0.0004, + 0.2474, + -0.688, + 0.0952, + 0.6755 + ], + [ + 0.0046, + -0.0052, + -0.0045, + 0.4201, + 0.5948, + 0.5601, + 0.3951 + ], + [ + -0.0054, + -0.0006, + -0.0039, + 0.2119, + -0.6002, + -0.6178, + 0.4616 + ], + [ + -0.0063, + -0.0037, + 0.0014, + 0.1852, + 0.6569, + -0.7185, + -0.134 + ], + [ + -0.0071, + -0.0009, + -0.0051, + 0.6231, + 0.342, + 0.3449, + 0.613 + ], + [ + -0.0023, + -0.0001, + -0.0046, + 0.697, + -0.1025, + -0.1388, + 0.696 + ], + [ + 0.0023, + 0.0005, + -0.0071, + -0.0566, + -0.021, + 0.9614, + 0.2685 + ], + [ + -0.0061, + 0.0024, + 0.0034, + 0.7145, + 0.0455, + 0.0434, + -0.6968 + ], + [ + -0.0156, + -0.0026, + 0.002, + 0.596, + 0.4245, + -0.5943, + 0.3338 + ], + [ + -0.0028, + 0.0008, + -0.0006, + 0.1744, + -0.666, + -0.6701, + 0.2774 + ], + [ + 0.0041, + -0.0007, + 0.004, + 0.2709, + -0.6651, + 0.3983, + 0.5707 + ], + [ + 0.0009, + -0.0022, + -0.0026, + 0.983, + 0.0228, + -0.1055, + -0.1487 + ], + [ + -0.0008, + -0.0004, + 0.0002, + 0.3384, + 0.5107, + -0.5225, + 0.593 + ], + [ + -0.0078, + -0.0088, + -0.0067, + 0.036, + 0.0349, + -0.7034, + 0.7091 + ], + [ + 0.0, + -0.0144, + 0.0013, + -0.0382, + 0.0521, + -0.5279, + 0.8468 + ], + [ + -0.008, + -0.005, + 0.002, + 0.0986, + -0.7568, + -0.2029, + -0.6135 + ], + [ + 0.0002, + 0.0002, + -0.0022, + -0.0152, + 0.7016, + 0.7115, + 0.0364 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00009/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00009/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..21079bdf501ee38322f4f6bc3c359b0f7d3446ac --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00009/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + 0.0, + -0.0, + -0.002, + 0.0, + 1.0, + -0.0, + 0.0 + ], + [ + 0.0, + 0.0, + -0.002, + -0.0, + 0.7071, + 0.7071, + 0.0 + ], + [ + -0.0, + 0.0, + -0.002, + -0.0, + 0.0, + 1.0, + 0.0 + ], + [ + -0.0, + -0.0, + -0.002, + -0.0, + -0.7071, + 0.7071, + -0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00009/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00009/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..66c71625e340c27c0bb7fc3c43f20f4e085974f0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00009/grasps/piper_v1.json @@ -0,0 +1,707 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0023, + -0.0032, + -0.0004, + 0.212, + -0.6722, + -0.1631, + -0.6903 + ], + [ + 0.0009, + -0.0005, + -0.0026, + 0.9975, + 0.0313, + -0.0587, + -0.0237 + ], + [ + 0.0006, + -0.0039, + 0.0009, + 0.8942, + 0.4436, + -0.0592, + 0.0085 + ], + [ + 0.0004, + -0.0073, + -0.0007, + 0.0237, + 0.0136, + -0.222, + -0.9747 + ], + [ + 0.0025, + 0.0034, + -0.0026, + 0.0759, + -0.0689, + 0.2612, + 0.9598 + ], + [ + -0.0014, + -0.0027, + -0.0067, + 0.8906, + -0.4519, + 0.0209, + -0.0458 + ], + [ + 0.0032, + 0.0089, + 0.0015, + 0.9962, + 0.0079, + -0.0374, + -0.0784 + ], + [ + 0.0007, + -0.0008, + -0.0145, + 0.1891, + 0.7659, + -0.2182, + 0.5745 + ], + [ + -0.0046, + 0.0046, + -0.0001, + 0.9306, + -0.319, + -0.1768, + 0.0306 + ], + [ + 0.017, + -0.0036, + 0.0051, + 0.473, + 0.4948, + -0.154, + 0.7125 + ], + [ + 0.0003, + 0.0026, + -0.0001, + 0.6864, + -0.172, + 0.6741, + 0.2121 + ], + [ + 0.0014, + 0.0008, + 0.0012, + 0.0906, + -0.0279, + -0.24, + 0.9661 + ], + [ + 0.0096, + 0.0146, + -0.0139, + 0.6368, + -0.7458, + 0.0272, + -0.1939 + ], + [ + -0.0, + -0.0054, + -0.0011, + 0.7172, + 0.1688, + 0.6477, + -0.1939 + ], + [ + 0.0002, + -0.0045, + 0.0033, + 0.9954, + -0.0351, + 0.0646, + -0.0614 + ], + [ + -0.0, + -0.0023, + 0.0006, + 0.3286, + 0.6444, + 0.3618, + -0.5882 + ], + [ + -0.022, + 0.006, + 0.0021, + 0.9639, + -0.0066, + -0.2428, + -0.1089 + ], + [ + 0.0011, + -0.0054, + -0.0088, + 0.8607, + -0.5043, + -0.0646, + -0.0272 + ], + [ + -0.0067, + -0.0005, + -0.0, + 0.6235, + -0.3174, + 0.6293, + 0.3384 + ], + [ + 0.0001, + -0.0033, + -0.0056, + 0.7239, + -0.6897, + -0.0108, + -0.0123 + ], + [ + 0.0009, + -0.0006, + 0.0003, + 0.2154, + 0.6823, + 0.218, + -0.6637 + ], + [ + 0.0055, + 0.0016, + 0.0004, + 0.6594, + 0.2422, + 0.6798, + -0.2106 + ], + [ + 0.0005, + -0.007, + 0.002, + 0.8833, + 0.4657, + -0.0457, + -0.0298 + ], + [ + 0.0006, + -0.0061, + 0.0019, + 0.07, + 0.0625, + 0.4727, + 0.8762 + ], + [ + 0.0001, + -0.0008, + 0.0001, + 0.001, + 0.0206, + 0.9673, + -0.2526 + ], + [ + -0.003, + -0.0003, + -0.0047, + 0.5433, + -0.4726, + 0.4448, + -0.5325 + ], + [ + 0.0001, + -0.0033, + -0.0049, + 0.9786, + -0.1991, + -0.0251, + -0.0464 + ], + [ + 0.0035, + 0.0005, + 0.0025, + 0.5748, + 0.437, + 0.4111, + 0.5564 + ], + [ + -0.0036, + -0.0034, + 0.0014, + 0.5961, + 0.3596, + 0.637, + -0.331 + ], + [ + -0.0056, + -0.0035, + 0.0005, + 0.3469, + -0.6218, + -0.3387, + -0.615 + ], + [ + 0.0, + -0.0028, + -0.0004, + 0.7152, + -0.6988, + -0.0054, + -0.0088 + ], + [ + 0.0029, + 0.0026, + 0.0, + 0.6162, + 0.3711, + -0.6056, + 0.3403 + ], + [ + 0.0002, + 0.0053, + 0.0043, + 0.0711, + 0.0049, + -0.0888, + 0.9935 + ], + [ + 0.0002, + -0.0084, + 0.0044, + 0.9988, + -0.0326, + -0.0354, + -0.0044 + ], + [ + 0.0013, + -0.0068, + -0.0002, + 0.4673, + 0.4743, + 0.6021, + -0.4406 + ], + [ + 0.0003, + 0.0076, + -0.004, + 0.9998, + -0.0049, + -0.0178, + 0.0047 + ], + [ + -0.0038, + 0.0025, + 0.0005, + 0.4912, + 0.5316, + 0.4961, + -0.4796 + ], + [ + -0.0046, + -0.0106, + -0.0012, + 0.3787, + -0.4682, + 0.6133, + -0.5112 + ], + [ + -0.0059, + -0.0043, + -0.0018, + 0.6946, + -0.2359, + 0.6065, + 0.3066 + ], + [ + -0.0019, + -0.0242, + 0.0008, + 0.4328, + 0.5468, + -0.7163, + 0.0221 + ], + [ + 0.0, + -0.0059, + -0.0012, + 0.8653, + -0.5004, + -0.0148, + -0.0246 + ], + [ + 0.0044, + -0.0024, + 0.0003, + 0.6117, + -0.3023, + -0.6523, + -0.3301 + ], + [ + 0.0028, + -0.0016, + -0.0035, + 0.5832, + 0.5425, + 0.3747, + 0.4745 + ], + [ + 0.0006, + 0.0049, + 0.004, + 0.0966, + -0.0304, + 0.2408, + 0.9653 + ], + [ + 0.0015, + 0.0081, + -0.0016, + 0.9761, + 0.2128, + -0.0263, + -0.0362 + ], + [ + -0.0018, + 0.0002, + -0.0024, + 0.1257, + 0.6639, + -0.6912, + -0.2564 + ], + [ + -0.0049, + 0.0016, + -0.0128, + 0.5969, + 0.3534, + 0.6391, + -0.3322 + ], + [ + -0.0007, + -0.0053, + -0.0004, + 0.7256, + -0.6874, + 0.019, + -0.023 + ], + [ + 0.0, + 0.0036, + -0.0037, + 0.0818, + 0.0076, + -0.2395, + 0.9674 + ], + [ + 0.0071, + -0.0004, + -0.0043, + 0.5377, + -0.4761, + 0.4619, + -0.5205 + ], + [ + -0.0031, + -0.0034, + -0.0141, + 0.363, + 0.6978, + -0.4698, + 0.4008 + ], + [ + -0.0006, + -0.0037, + 0.0017, + 0.3166, + -0.9469, + -0.0111, + -0.055 + ], + [ + 0.0067, + 0.0035, + 0.0, + 0.3706, + 0.61, + 0.3585, + -0.6017 + ], + [ + 0.0007, + -0.0018, + 0.0001, + 0.5953, + -0.3281, + -0.6332, + -0.3703 + ], + [ + 0.0047, + -0.0, + 0.0061, + 0.7175, + -0.0231, + -0.0346, + 0.6953 + ], + [ + -0.0022, + 0.0036, + -0.0005, + 0.6165, + -0.2136, + -0.74, + -0.1635 + ], + [ + -0.0075, + 0.0048, + -0.0012, + 0.5721, + -0.4951, + 0.4958, + 0.4265 + ], + [ + -0.0027, + 0.0003, + 0.0009, + 0.7648, + -0.0403, + -0.059, + 0.6403 + ], + [ + 0.0003, + 0.0023, + -0.0049, + 0.0921, + 0.024, + 0.1788, + 0.9793 + ], + [ + -0.0016, + 0.0078, + -0.0002, + 0.1389, + -0.7135, + 0.1848, + 0.6615 + ], + [ + 0.0007, + 0.0001, + 0.0008, + 0.6974, + 0.0874, + 0.1374, + 0.6979 + ], + [ + -0.0012, + -0.0006, + 0.0018, + 0.3875, + -0.6007, + -0.6261, + 0.3116 + ], + [ + -0.007, + -0.0, + 0.0035, + 0.6318, + 0.3197, + 0.3404, + 0.6187 + ], + [ + -0.0049, + 0.0261, + 0.0055, + -0.1045, + 0.6228, + -0.6412, + -0.4361 + ], + [ + -0.0071, + -0.0, + -0.0051, + 0.6246, + 0.3394, + 0.3476, + 0.6115 + ], + [ + -0.0023, + 0.0005, + -0.0048, + 0.6955, + -0.0975, + -0.1448, + 0.697 + ], + [ + -0.0145, + -0.0004, + -0.0014, + -0.2073, + -0.0633, + 0.9344, + 0.2827 + ], + [ + -0.0051, + 0.0004, + 0.0017, + 0.6856, + 0.0344, + -0.0033, + -0.7271 + ], + [ + -0.0127, + -0.0023, + 0.0, + 0.6428, + 0.341, + -0.5972, + 0.3374 + ], + [ + -0.0028, + 0.0056, + -0.0139, + 0.7178, + 0.0311, + 0.6937, + 0.0506 + ], + [ + 0.0046, + 0.0017, + -0.0001, + 0.3727, + -0.6379, + 0.3004, + 0.6033 + ], + [ + -0.0064, + 0.0012, + 0.0011, + 0.3724, + 0.6298, + -0.4098, + 0.5447 + ], + [ + -0.0002, + -0.01, + -0.0061, + 0.0411, + 0.028, + -0.6944, + 0.7179 + ], + [ + 0.0122, + -0.0124, + 0.0008, + -0.0255, + 0.0278, + -0.5253, + 0.8501 + ], + [ + -0.0, + 0.0, + -0.002, + -0.0, + 1.0, + -0.0003, + 0.0001 + ], + [ + 0.0, + 0.0, + -0.002, + -0.0001, + 0.7074, + 0.7068, + 0.0001 + ], + [ + -0.0, + -0.0, + -0.002, + -0.0001, + 0.0003, + 1.0, + -0.0 + ], + [ + 0.0, + -0.0, + -0.002, + -0.0001, + -0.7069, + 0.7073, + -0.0001 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00009/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00009/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0fa71c45d5002f437898abfe612c87e236e5889f --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00009/grasps/proposal.json @@ -0,0 +1,1253 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + [ + -0.08994514461167549, + -0.05515085109478197, + -0.0053685521769575445, + 0.2153537681416006, + -0.6707762830720184, + -0.1597118715452709, + -0.691501302025389 + ], + 0.9541938304901123 + ], + [ + [ + 0.01575866375557685, + 0.005377928773254541, + -0.10331248585761112, + 0.9963574334261492, + 0.031239585961860283, + -0.073350061844626, + -0.030260891473613407 + ], + 0.9510727524757385 + ], + [ + [ + 0.0070149245343318015, + 0.07737677968138496, + -0.06059588213146251, + 0.894100345006952, + 0.44389009323750434, + -0.058493603506719394, + 0.01116496900346921 + ], + 0.9472348690032959 + ], + [ + [ + 0.004943863828401807, + -0.05535976164942941, + -0.09562635515511554, + 0.009548473852656832, + 0.048319731164471615, + -0.2722997231796582, + -0.9609510346440966 + ], + 0.9471831321716309 + ], + [ + [ + 0.0030510421979388024, + -0.051413110876142594, + -0.09260805790007633, + 0.026732790063780418, + 0.015001827888246189, + -0.22203374666313613, + -0.9745569857315413 + ], + 0.946749746799469 + ], + [ + [ + 0.012691678818981889, + -0.0428802775681611, + -0.09156538639843982, + 0.059449965490942794, + -0.07299139276069377, + 0.22900395498048165, + 0.9688628111292523 + ], + 0.9454984664916992 + ], + [ + [ + -0.007938259872872588, + -0.08526486479645928, + -0.0662348801332764, + 0.8888298455876605, + -0.45617896501508864, + 0.020825567482064655, + -0.038059863497239534 + ], + 0.9441311359405518 + ], + [ + [ + 0.010522052054028752, + 0.019871309912145523, + -0.09938144777596515, + 0.9969902584146854, + 0.06675398318491314, + -0.03775347031772025, + -0.01135807352225267 + ], + 0.9415324926376343 + ], + [ + [ + -0.08309381421216225, + 0.05815346217745581, + 0.0022945112951793106, + 0.21461901998981597, + 0.6689275132085476, + -0.21267973028219822, + 0.6791479887758861 + ], + 0.9407901167869568 + ], + [ + [ + -0.0008732770316155823, + -0.060559711837827775, + -0.08584331069767993, + 0.9459171456237659, + -0.3234713625994473, + 0.024601406368343515, + -0.001342385094830302 + ], + 0.939667284488678 + ], + [ + [ + -0.0852742415250132, + 0.05183669230932036, + 0.0026354379889317187, + 0.20811149656492134, + 0.673455235570016, + -0.2115190733165896, + 0.6770578500424714 + ], + 0.9388466477394104 + ], + [ + [ + -0.0866656821549723, + -0.05059815146928987, + -0.004543954978441414, + 0.6873048295419569, + -0.16932955450506004, + 0.6730166792499388, + 0.21444841503448803 + ], + 0.9388240575790405 + ], + [ + [ + -0.1054301482022593, + -0.00824328181302509, + -0.004477979621594366, + 0.7127423824807116, + 0.018644624083081467, + 0.7004104269884591, + 0.032801036178198635 + ], + 0.9386783838272095 + ], + [ + [ + 0.004711140286844018, + 0.04573544166082182, + -0.09049187694371265, + 0.08284832973001374, + -0.0046743173181121155, + -0.22974581042809084, + 0.969706743097776 + ], + 0.9377549290657043 + ], + [ + [ + -0.07729551162131523, + -0.06691376441127023, + 0.0005607176509447725, + 0.24647367329938777, + -0.6613081367857937, + -0.21202738303318402, + -0.6759930957009159 + ], + 0.9375361204147339 + ], + [ + [ + -0.09916882928021645, + -0.010141855524539563, + -0.0060075041900626985, + 0.7249711691946272, + 0.004515948705103322, + 0.6879888144034165, + 0.032677229069327816 + ], + 0.9373136162757874 + ], + [ + [ + -0.0469231080592463, + 0.0888830242215995, + 0.0012255639240838917, + 0.38171822972037095, + 0.6008335970495163, + -0.3583351467617464, + 0.6040580306153737 + ], + 0.9372559189796448 + ], + [ + [ + -0.007455540481288192, + -0.09895071708565911, + -0.015485718852584776, + 0.7376976925303004, + -0.6746402452854482, + 0.018208687194476214, + -0.018196087142963967 + ], + 0.93710857629776 + ], + [ + [ + 0.003043446098189595, + -0.0016814693339761223, + -0.09580364917099994, + 0.08766642833486953, + 0.03825497830679186, + -0.008177402088729524, + -0.995381476657484 + ], + 0.9367672204971313 + ], + [ + [ + -0.049823917108852624, + 0.09361513382786552, + 0.0031732453436352642, + 0.5950930658396031, + 0.3635484001939709, + 0.6260562584126868, + -0.34892744949105653 + ], + 0.9363876581192017 + ], + [ + [ + -0.0872927602709124, + 0.049660411244571594, + -0.002649935899978098, + 0.6891059370052889, + 0.21621533539699395, + 0.6712693697831205, + -0.16667744152764288 + ], + 0.9359813332557678 + ], + [ + [ + 0.008678909730832818, + -0.007869719015121075, + -0.10138770286620181, + 0.9941811110786639, + -0.016299009413863332, + -0.056364938731688796, + -0.09033966099279389 + ], + 0.9349111318588257 + ], + [ + [ + 0.04991215128890777, + 0.08695040321940223, + 0.007895375595683637, + 0.3487706154022498, + 0.6292203923891286, + 0.36730799746610976, + -0.5895130114179357 + ], + 0.9344545602798462 + ], + [ + [ + 0.007967012342732194, + 0.0012720113623295103, + -0.09902484063685459, + 0.9995188329320438, + -0.017501967281427288, + -0.01249038418753945, + -0.022355626993959175 + ], + 0.9342429041862488 + ], + [ + [ + -0.09592580761321282, + -0.028690061950742814, + -0.004361347301607546, + 0.13821129637705645, + -0.6723772492364809, + -0.07704401338454892, + -0.7230979824785561 + ], + 0.9331320524215698 + ], + [ + [ + 0.011134528894644025, + -0.09418035619860848, + -0.05765226949632686, + 0.8603927563429364, + -0.5038175991354996, + -0.07102687378840933, + -0.029108672827708754 + ], + 0.9327182769775391 + ], + [ + [ + -0.06480117108233666, + -0.08426716499930581, + -0.0022472627523593275, + 0.623529306720895, + -0.31624222914876404, + 0.6292374429857234, + 0.33950301398952143 + ], + 0.9313524961471558 + ], + [ + [ + 0.0025506830911299016, + -0.10512902908927163, + -0.010792774154549059, + 0.724990847067168, + -0.6885398476867092, + -0.011993637094254606, + -0.012542028769066007 + ], + 0.9309958815574646 + ], + [ + [ + 0.006364978723894599, + -0.00391246397016904, + -0.10574214254200977, + 0.041478844467146433, + 0.05247426337006936, + -0.02372499902571157, + -0.9974783614528532 + ], + 0.9302167296409607 + ], + [ + [ + 0.08377511833302284, + 0.05885468102091589, + 0.005825771943921629, + 0.2145337873132233, + 0.6841250827876119, + 0.2187208218084451, + -0.6618982756506672 + ], + 0.9300014972686768 + ], + [ + [ + -0.009357159617621657, + 0.07962678796643058, + -0.054776803596620974, + 0.8802623123475486, + 0.47415499271357137, + 0.017015916813725607, + 0.005075718700709553 + ], + 0.9297718405723572 + ], + [ + [ + -0.07558323408969139, + 0.06331711686247626, + 0.004158124321395937, + 0.6580728393958027, + 0.24393360965554342, + 0.6810581846255458, + -0.20879722527974023 + ], + 0.9292916655540466 + ], + [ + [ + 0.007896689106445554, + 0.0792924878656272, + -0.05392292235672992, + 0.8796264043875314, + 0.47465370166406495, + -0.030992484358011496, + 0.0008474161804702915 + ], + 0.9284639954566956 + ], + [ + [ + 0.003442211416285279, + -0.09401529603606423, + -0.05643859226882976, + 0.011226373839273586, + -0.04253542922875569, + 0.47456683397186594, + 0.8791194605311988 + ], + 0.9279835224151611 + ], + [ + [ + 0.0010075706427132515, + 0.048990887170970825, + 0.08909648563086468, + 0.0011935990920148131, + 0.022790401803872536, + 0.9673127631924405, + -0.2525573025509865 + ], + 0.9278251528739929 + ], + [ + [ + -0.10365549440987801, + -0.002125649433269712, + -0.02080006991208118, + 0.5434917652584392, + -0.4745956417922715, + 0.44280504883041283, + -0.5322587402930483 + ], + 0.9274035692214966 + ], + [ + [ + 0.004715908192764762, + -0.04334590160256586, + -0.09863136057436984, + 0.9778106998915811, + -0.19904824256075435, + -0.03137215882952149, + -0.057287171001774946 + ], + 0.9269307851791382 + ], + [ + [ + -0.09414418007739281, + 0.005645192275137094, + -0.02683508489907306, + 0.5767607988647719, + 0.43183206295984033, + 0.4123685412611452, + 0.5575125437789487 + ], + 0.9268277883529663 + ], + [ + [ + -0.05725252594359612, + 0.08343811756962577, + 0.005271531635219637, + 0.607731477727338, + 0.361224890075683, + 0.6267977367729328, + -0.32757232322875973 + ], + 0.9250271916389465 + ], + [ + [ + -0.06022790412910676, + -0.08965026908522805, + 0.0017299932597898277, + 0.3415288684948069, + -0.6172138194799429, + -0.3396212236296996, + -0.62214351840062 + ], + 0.9226351380348206 + ], + [ + [ + -0.001461206130016801, + -0.10281264358168801, + -0.013443063950841841, + 0.053941233737504646, + -0.0077782880698212, + 0.6862028749070396, + 0.7253657394769156 + ], + 0.9210415482521057 + ], + [ + [ + 0.002552661685939672, + -0.10481373541957101, + -0.0026867461919091312, + 0.7150724907434096, + -0.6989444634634291, + -0.00737612056697734, + -0.009672787665237938 + ], + 0.9209696650505066 + ], + [ + [ + 0.0532631877481153, + 0.09133974886530677, + 0.004377076861704174, + 0.6162268863304513, + 0.3742469850604749, + -0.6054418558635535, + 0.3371109281899915 + ], + 0.9199880957603455 + ], + [ + [ + -0.004244591701109168, + 0.023604181176364807, + -0.09612314496815723, + 0.08922160783363475, + 0.009704539169257224, + -0.08924768345965217, + 0.9919577499128577 + ], + 0.9197617769241333 + ], + [ + [ + 0.007389551368277314, + -0.015166419977008912, + -0.09714441095173877, + 0.9987444311830636, + -0.03293899649850688, + -0.03736565481940657, + -0.005328370333175889 + ], + 0.9196481108665466 + ], + [ + [ + -0.0024020167861918186, + 0.09748044288748542, + 0.0027997654334403904, + 0.4575102879931372, + 0.4382409195950855, + 0.5582497280372272, + -0.535711185172806 + ], + 0.9192835092544556 + ], + [ + [ + 0.0003401399785334048, + -0.0003753726454811048, + -0.10214524809897464, + 0.9989044526623351, + -0.031968797164076794, + -0.024321659189620037, + -0.02400723544072435 + ], + 0.9149937629699707 + ], + [ + [ + 0.051111109894435645, + -0.0033700528551485268, + 0.08550678844868619, + 0.20961749321604006, + -0.674119595652425, + -0.6907766286495186, + 0.15636792064499327 + ], + 0.9149286150932312 + ], + [ + [ + -0.07358340139992928, + -0.06561743044263085, + 0.004634259728039089, + 0.2519148584272334, + -0.6581690624177395, + -0.24908956898933177, + -0.6643092472639908 + ], + 0.9147508144378662 + ], + [ + [ + 0.00320447805776799, + 0.006605779799014715, + -0.10592406336844486, + 0.9997747311778642, + -0.004892320248699998, + -0.020077729899556584, + 0.0048411633822386885 + ], + 0.913472592830658 + ], + [ + [ + -0.0015102343263888927, + 0.10427847183340827, + 0.004548905411059442, + 0.49114713588605063, + 0.5347790748708805, + 0.4957750414725338, + -0.4764377611441833 + ], + 0.9121506214141846 + ], + [ + [ + -0.0982628759325335, + 0.009196856571674732, + 0.02942043821632344, + 0.4126061045177298, + -0.5601407986610113, + 0.5824815864210956, + -0.4203732742105193 + ], + 0.9102306365966797 + ], + [ + [ + -0.07434926148064827, + -0.07756445878154, + -0.017231467186217722, + 0.6994812207417682, + -0.2539197425836368, + 0.5937008457215877, + 0.30621902609951773 + ], + 0.9100514650344849 + ], + [ + [ + 0.05803416330806518, + 0.0014588747176680838, + 0.08259510900198895, + 0.20416129945993403, + 0.6790081949225324, + -0.6702333032579583, + -0.2192107530090651 + ], + 0.9086743593215942 + ], + [ + [ + 0.0043744988410880595, + -0.09442089819318017, + -0.05210788269222301, + 0.8651517684992978, + -0.5003499377077706, + -0.019071128804632353, + -0.028260384719332884 + ], + 0.9081690907478333 + ], + [ + [ + 0.06506618146292473, + -0.08363441699153146, + 0.005134894040668789, + 0.5981615404347803, + -0.30701646836226526, + -0.6642291255183892, + -0.3267159752937231 + ], + 0.9081486463546753 + ], + [ + [ + -0.10367400910266136, + 0.0007437587951649103, + -0.015365739359264788, + 0.4850282808498219, + 0.49160870237523335, + 0.44363856838454085, + 0.5711858464339962 + ], + 0.908004641532898 + ], + [ + [ + 0.0061522567316105396, + -0.03834133171445093, + -0.08893198613703769, + 0.06960203352545988, + -0.02227154249183583, + 0.218381053866736, + 0.973123450871578 + ], + 0.907597541809082 + ], + [ + [ + 0.006533213765095714, + 0.05055283806318083, + -0.09388902877152484, + 0.9755939382629462, + 0.21688652817194365, + -0.027561557943107218, + -0.02042209699966428 + ], + 0.9057994484901428 + ], + [ + [ + 0.05012896318427825, + -0.0032442372289147106, + 0.08862526621043164, + 0.17907357375647034, + 0.6842149021128471, + -0.6829721392460741, + -0.18256965772667055 + ], + 0.9056114554405212 + ], + [ + [ + -0.09515141661771034, + 0.02599566108578482, + -0.002491553087463197, + 0.7283258081556164, + 0.08154390173692838, + 0.6734654249839357, + -0.09662520693480062 + ], + 0.9021279215812683 + ], + [ + [ + 0.003405339191403034, + 0.01031817547076979, + -0.09757822100699466, + 0.19371533295359117, + -0.0008756906733397132, + -0.05054994956914327, + 0.9797542066983337 + ], + 0.9020488858222961 + ], + [ + [ + -0.0593541745425055, + 0.0876366463958625, + 0.009250274853105131, + 0.6063239271487746, + 0.3587785710494478, + 0.6304138272066475, + -0.3259258179237582 + ], + 0.9015272259712219 + ], + [ + [ + -0.0059016585678646535, + -0.10695783370143136, + -0.005933989311312851, + 0.725582390542436, + -0.6873391873670952, + 0.020686901215632325, + -0.025828049913990837 + ], + 0.9015103578567505 + ], + [ + [ + 0.0008657992488851575, + 0.08606337434643546, + -0.04309536982954067, + 0.08029090234658369, + 0.012593641183341765, + -0.504524946954993, + 0.8595634642667047 + ], + 0.8995612859725952 + ], + [ + [ + -0.05120649899848199, + 0.0817360994874839, + 0.001331925269471887, + 0.38017916744030766, + 0.6103623685657473, + -0.33959832419023783, + 0.606295767666564 + ], + 0.8980921506881714 + ], + [ + [ + 0.0026485043249239947, + 0.05088426969045439, + -0.09402567987025302, + 0.10680073242317617, + 0.010430613949581394, + -0.2390944396596335, + 0.9650485245677307 + ], + 0.8976646661758423 + ], + [ + [ + -0.09477715160258507, + -0.001512052793673786, + -0.01676680427670997, + 0.5298132540635818, + -0.46611040620416433, + 0.47106247432473314, + -0.5292817305838238 + ], + 0.897577702999115 + ], + [ + [ + -0.04143422435529923, + 0.08849215931290427, + 0.006422138766641203, + 0.400311866192035, + 0.5982999498312208, + -0.36857023110768816, + 0.5881696732738214 + ], + 0.8975424766540527 + ], + [ + [ + 0.02222931046478057, + -0.003295528422727796, + -0.09547536913931888, + 0.6848661391291502, + 0.09172711260245703, + -0.08119881838986076, + -0.7182974733214916 + ], + 0.89715576171875 + ], + [ + [ + 0.04515220258824134, + -0.09133641743069848, + 0.0007226804092288347, + 0.366470748089052, + -0.6352892066816277, + 0.35056382667774766, + 0.5824189369293661 + ], + 0.8963488340377808 + ], + [ + [ + -0.009692383590419051, + -0.06459018909341058, + 0.08316346909224469, + 0.31498807319741257, + -0.9474857236396903, + -0.00863869946373641, + -0.054577377309003826 + ], + 0.8963150382041931 + ], + [ + [ + 0.00037534586360284957, + 0.09950203872317115, + 0.01280666607737023, + 0.48591881712233265, + 0.5447077082538097, + 0.4955667204454527, + -0.47073351412689285 + ], + 0.8956792950630188 + ], + [ + [ + 0.05449142713538909, + 0.0936042634307746, + -0.0004045251179258941, + 0.37109156875037014, + 0.6102556951466641, + 0.3578618129337374, + -0.6015097314152364 + ], + 0.8955327868461609 + ], + [ + [ + -0.011527985926050898, + 0.10370210981959144, + 0.0009999838595040472, + 0.5103765618283684, + 0.5044618871969002, + -0.48236564411065563, + 0.502351823808482 + ], + 0.8950636386871338 + ], + [ + [ + 0.05279246751658225, + -0.08951308154469689, + 0.004426616703415695, + 0.5906225434599471, + -0.32419220291811507, + -0.6374312196796368, + -0.3738259847866817 + ], + 0.8944423198699951 + ], + [ + [ + 0.012815621089856866, + 0.003092464339301375, + -0.09562689904749912, + 0.7192751760467175, + -0.0185209599690341, + -0.03762984300090266, + 0.6934581386648494 + ], + 0.893351674079895 + ], + [ + [ + 0.08605243299595619, + -0.05400711991792879, + 0.004436247044498506, + 0.6672425008958117, + -0.16468834141024158, + -0.6898439156441997, + -0.22755343823050583 + ], + 0.8931870460510254 + ], + [ + [ + -0.01883952471919751, + -0.09653285467034539, + 0.0012179015840165647, + 0.5463645208724435, + -0.4891775755709384, + 0.5135298289558778, + 0.4455089501490534 + ], + 0.8929864168167114 + ], + [ + [ + 0.012238326822142842, + 0.0019291004169140135, + -0.0999173084336571, + 0.772157315484156, + -0.03890855295315915, + -0.06030948008781278, + 0.6313651647524839 + ], + 0.892698347568512 + ], + [ + [ + -0.006546479775835034, + -0.032077487045585724, + -0.10090040509284061, + 0.09863947213711978, + 0.02498194868119722, + 0.17263778438692723, + 0.9797154444932331 + ], + 0.8926149606704712 + ], + [ + [ + 0.08947735313765312, + -0.04156709038621149, + 0.0019311553270317944, + 0.1927443033369164, + -0.6877336286408178, + 0.14320827441609663, + 0.6851010726210139 + ], + 0.8919445872306824 + ], + [ + [ + -0.032484531062919854, + 0.00029591615343132354, + -0.09742110316336673, + 0.7190720255055395, + 0.12196847032663102, + 0.10300731391558271, + 0.6763494715466546 + ], + 0.8917402625083923 + ], + [ + [ + -0.09035355563767647, + -0.002890847809299442, + 0.03515744115530926, + 0.38851881794188564, + 0.6071771857104592, + 0.566325362294365, + 0.3995805016262964 + ], + 0.8913246989250183 + ], + [ + [ + 0.08664401654593254, + -0.005766337224900338, + 0.05350328888117749, + 0.3878709448289443, + -0.5994618071261192, + -0.6265015275285595, + 0.31256600576353716 + ], + 0.8911612033843994 + ], + [ + [ + -0.09121732379801964, + -0.003394863288536283, + -0.05399849732101482, + 0.6325826740548117, + 0.3182329803684166, + 0.3420107045917701, + 0.6177342540576328 + ], + 0.8908458352088928 + ], + [ + [ + 0.03929794613711143, + -0.005915214260726782, + 0.09340528304993588, + 0.1546411367162071, + 0.6749097718314558, + -0.7029802841827791, + -0.16248581098616113 + ], + 0.8902269005775452 + ], + [ + [ + -0.09371586855061745, + -0.0011549730083566035, + -0.05896041636050266, + 0.625522820366024, + 0.3385430096217757, + 0.3484099083347736, + 0.6105082862760507 + ], + 0.8887434601783752 + ], + [ + [ + 0.03217767212979102, + 0.008724771021247295, + -0.10051503126204532, + 0.6955400277770675, + -0.09443791274520554, + -0.14842154436428368, + 0.6966179695964828 + ], + 0.8881751298904419 + ], + [ + [ + -0.002012387276891825, + -0.055323548102438065, + 0.0830881139200874, + 0.042388685905556264, + 0.010770773295605638, + 0.9609553058241709, + 0.2732253464783036 + ], + 0.8880458474159241 + ], + [ + [ + 0.0004939814584476677, + 0.0032181337478909763, + -0.10009504948437732, + 0.6823333516129623, + 0.03588625691190497, + -0.0013951168152932514, + -0.7301584947739407 + ], + 0.8870725631713867 + ], + [ + [ + 0.042205915194671394, + 0.083651681011856, + -0.002933202317660269, + 0.6414188577801986, + 0.34192287357912643, + -0.5982129644087404, + 0.33736011415199246 + ], + 0.8856816291809082 + ], + [ + [ + -0.10500913824446892, + 0.002655520383581904, + 0.006610856385225836, + 0.6998642131975825, + 0.024408016064206943, + 0.7130226647935514, + 0.03453999606023235 + ], + 0.885647714138031 + ], + [ + [ + 0.059690714222114326, + 0.0010808087422851597, + 0.08355299289643246, + 0.2357017655017376, + -0.6785457108411234, + -0.6639380207743419, + 0.2078622154426537 + ], + 0.8848794102668762 + ], + [ + [ + 0.06031161208144927, + -0.08376191132670602, + -0.0034218342106096117, + 0.38159504908905506, + -0.6403859367694406, + 0.2909393815256448, + 0.5997043828221728 + ], + 0.8840065002441406 + ], + [ + [ + 0.02531689066879058, + 0.0022365625950846943, + -0.10166620556891483, + 0.9823269273738191, + 0.03803422268867601, + -0.11667000448951392, + -0.14133405715961275 + ], + 0.8838525414466858 + ], + [ + [ + -0.03883616219766831, + 0.09252535230511466, + 0.02878879661976773, + 0.3886423230896751, + 0.6637299123598627, + -0.39728404303761033, + 0.5005847953043719 + ], + 0.8833556175231934 + ], + [ + [ + 0.007032711398523095, + 0.09271157956713477, + -0.005101774825458941, + 0.04958283696844887, + -0.021052398413559402, + -0.7116550489252675, + 0.7004608698124203 + ], + 0.8829363584518433 + ], + [ + [ + -0.00047523226615434614, + 0.0820211587011222, + -0.04369205330193561, + 0.06613034290189497, + 0.003975507945316556, + -0.5243882286309126, + 0.848898085024102 + ], + 0.881764829158783 + ], + [ + [ + -0.09538312967427467, + -0.06244342722898683, + 0.0018941999816097649, + 0.21482732027097046, + -0.6793904561774302, + -0.17692938044157847, + -0.6789505319658985 + ], + 0.8812313079833984 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00009/metadata.json b/Objects/RoboDojo/Rigid/block/00009/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..fff36b24f60a5c02a3c93470369c80b7ff497727 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00009/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "e0e112f4-e6ac-4a90-9fc9-67d31bbc37b9", + "geometry": { + "faces": 1452, + "vertices": 2257, + "aligned_bbox": { + "vertices": [ + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ], + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ], + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + }, + "radius": 0.0268 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0002, + -0.0013, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0, + -0.0, + -0.0175, + 1.0, + -0.0002, + 0.0013, + 0.0 + ], + "radius": 0.0228 + }, + "contact_circle": { + "center": [ + 0.0, + -0.0, + -0.0175, + 1.0, + -0.0002, + 0.0013, + 0.0 + ], + "radius": 0.0206 + } + } + } + }, + "physics": { + "mass": 0.25, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.014 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00010/description.json b/Objects/RoboDojo/Rigid/block/00010/description.json new file mode 100644 index 0000000000000000000000000000000000000000..4ef2010bb8605538a7e4f324ffeb2c2ef66f87fc --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00010/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "e0e112f4-e6ac-4a90-9fc9-67d31bbc37b9", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "subtle blue LED glow smartwatch typically used for tracking heart rate", + "smartwatch appropriate for showing notifications", + "curved edges smartwatch ideal for monitoring daily activity", + "tempered glass front fitness tracker suitable for showing notifications", + "matte black object used for showing notifications", + "Apple Watch with subtle blue LED glow color", + "round face object used for showing notifications", + "subtle blue LED glow smartwatch designed for tracking heart rate", + "rubberized grip round face object used for tracking heart rate", + "fitness tracker in rectangular case", + "brushed aluminum smartwatch used for tracking heart rate", + "Apple Watch intended for tracking heart rate", + "Apple Watch made from rubberized grip", + "palm-sized round face object", + "fitness tracker featuring curved edges shape", + "Apple Watch with round face geometry", + "rectangular case object made of rubberized grip", + "rubberized grip smartwatch", + "about 5 inches tall round face object", + "smartwatch designed for showing notifications", + "Apple Watch featuring brushed aluminum build", + "palm-sized dark gray accents tempered glass front curved edges object", + "smartwatch with rubberized grip surface", + "Apple Watch with brushed aluminum body", + "dark gray accents round face smartwatch", + "round face about 5 inches tall smartwatch", + "Apple Watch primarily used for tracking heart rate", + "subtle blue LED glow brushed aluminum curved edges smartwatch", + "about 5 inches tall matte black curved edges for showing notifications", + "smartwatch made of tempered glass front", + "rectangular case object used for showing notifications", + "smartwatch for monitoring daily activity", + "curved edges-shaped Apple Watch", + "subtle blue LED glow about 5 inches tall smartwatch for showing notifications", + "matte black about 5 inches tall rectangular case fitness tracker", + "fitness tracker designed for tracking heart rate", + "Apple Watch shaped like a rectangular case", + "subtle blue LED glow tempered glass front smartwatch", + "fitness tracker featuring rectangular case shape", + "curved edges rubberized grip fitness tracker for monitoring daily activity", + "smartwatch optimized for tracking heart rate", + "Apple Watch appropriate for monitoring daily activity use", + "fitness tracker for tracking heart rate tasks", + "slim profile subtle blue LED glow round face object", + "Apple Watch sized as palm-sized", + "rectangular case object made of tempered glass front", + "Apple Watch suitable for showing notifications", + "smartwatch in slim profile", + "fitness tracker made of brushed aluminum", + "slim profile round face object for monitoring daily activity", + "subtle blue LED glow rectangular case smartwatch", + "smartwatch with curved edges profile", + "Apple Watch made of rubberized grip", + "matte black slim profile tempered glass front object", + "curved edges fitness tracker for monitoring daily activity", + "Apple Watch suitable for tracking heart rate", + "dark gray accents palm-sized fitness tracker for showing notifications", + "round face object used for monitoring daily activity", + "curved edges Apple Watch used for showing notifications", + "smartwatch commonly used for tracking heart rate", + "fitness tracker built from tempered glass front", + "matte black curved edges fitness tracker", + "tracking heart rate with smartwatch", + "slim profile Apple Watch for tracking heart rate", + "slim profile subtle blue LED glow smartwatch", + "Apple Watch primarily used for monitoring daily activity", + "Apple Watch ideal for tracking heart rate", + "Apple Watch in about 5 inches tall", + "smartwatch sized palm-sized", + "fitness tracker typically made of tempered glass front", + "smartwatch colored subtle blue LED glow", + "smartwatch for monitoring daily activity activities", + "subtle blue LED glow smartwatch suitable for tracking heart rate", + "smartwatch used to monitoring daily activity", + "Apple Watch sized as about 5 inches tall", + "Apple Watch in round face form", + "fitness tracker in curved edges form", + "rubberized grip object used for tracking heart rate", + "Apple Watch commonly used for tracking heart rate", + "dark gray accents palm-sized Apple Watch for monitoring daily activity", + "matte black object used for tracking heart rate", + "round face Apple Watch ideal for monitoring daily activity", + "rubberized grip smartwatch used for showing notifications", + "subtle blue LED glow tempered glass front rectangular case object", + "about 5 inches tall matte black object for tracking heart rate", + "dark gray accents curved edges smartwatch used for tracking heart rate", + "smartwatch commonly featuring brushed aluminum", + "about 5 inches tall Apple Watch perfect for monitoring daily activity", + "smartwatch commonly used for monitoring daily activity", + "curved edges object used for tracking heart rate", + "dark gray accents rectangular case object for monitoring daily activity", + "fitness tracker intended for tracking heart rate", + "subtle blue LED glow palm-sized rubberized grip object", + "palm-sized brushed aluminum object", + "fitness tracker with brushed aluminum body", + "fitness tracker featuring round face shape", + "round face brushed aluminum fitness tracker for tracking heart rate", + "fitness tracker for tracking heart rate scenarios", + "Apple Watch with rubberized grip surface", + "dark gray accents Apple Watch used for showing notifications" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00010/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00010/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..b56e756a6f13e4b56b1c2ee45988749cf77d809d --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00010/grasps/UMI.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0063, + 0.008, + 0.0259, + -0.0079, + 0.9984, + 0.0565, + 0.0016 + ], + [ + -0.0001, + -0.001, + 0.0028, + -0.0047, + 0.7075, + 0.7067, + 0.0045 + ], + [ + -0.0087, + -0.0002, + 0.0036, + 0.8655, + 0.0133, + -0.5006, + -0.0033 + ], + [ + 0.0, + 0.001, + 0.003, + -0.0022, + -0.7071, + 0.7072, + -0.0026 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00010/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00010/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..d62835ed21be864c2f4f5b7a2c7fb066b6b64082 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00010/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0097, + -0.004, + 0.0008, + -0.5934, + 0.5757, + 0.5223, + 0.2086 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00010/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00010/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..113c859b4bb0d8a2061b83f2d500ab2acfc3a342 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00010/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0008, + 0.0015, + 0.0051, + 0.0997, + 0.7527, + 0.6328, + -0.1515 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00010/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00010/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..07f2b64819ddc1f902ba7692c995ef1f16554092 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00010/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + -0.0, + 0.003, + -0.0, + 1.0, + 0.0, + -0.0 + ], + [ + 0.0, + -0.0, + 0.003, + 0.0, + 0.7071, + 0.7071, + -0.0 + ], + [ + 0.0, + 0.0, + 0.003, + 0.0, + -0.0, + 1.0, + -0.0 + ], + [ + -0.0, + 0.0, + 0.003, + 0.0, + -0.7071, + 0.7071, + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00010/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00010/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..82c5d620c4ebfc82e1f7076ca9e641c8264dc1a7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00010/grasps/piper_v1.json @@ -0,0 +1,32 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0001, + -0.0, + 0.003, + -0.0007, + 1.0, + -0.0052, + -0.0027 + ], + [ + 0.0001, + 0.0013, + 0.003, + 0.0082, + 0.7154, + 0.6985, + -0.015 + ], + [ + -0.0, + -0.0, + 0.003, + 0.002, + 0.005, + 1.0, + -0.0019 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00010/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00010/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..243a3076fdbb45e63ee57b013c55008bf1b51512 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00010/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + [ + 0.0, + 0.0, + 0.105, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00010/metadata.json b/Objects/RoboDojo/Rigid/block/00010/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..f73ccdcb294b3df9db06ad7bc721043695c32924 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00010/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "e0e112f4-e6ac-4a90-9fc9-67d31bbc37b9", + "geometry": { + "faces": 1452, + "vertices": 2257, + "aligned_bbox": { + "vertices": [ + [ + -0.02, + -0.02, + -0.02 + ], + [ + -0.02, + -0.02, + 0.02 + ], + [ + -0.02, + 0.02, + -0.02 + ], + [ + -0.02, + 0.02, + 0.02 + ], + [ + 0.02, + -0.02, + -0.02 + ], + [ + 0.02, + -0.02, + 0.02 + ], + [ + 0.02, + 0.02, + -0.02 + ], + [ + 0.02, + 0.02, + 0.02 + ] + ], + "extents": [ + 0.04, + 0.04, + 0.04 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.02, + 0.02, + 0.02 + ], + [ + 0.02, + 0.02, + 0.02 + ], + [ + -0.02, + 0.02, + -0.02 + ], + [ + 0.02, + 0.02, + -0.02 + ], + [ + -0.02, + -0.02, + 0.02 + ], + [ + 0.02, + -0.02, + 0.02 + ], + [ + -0.02, + -0.02, + -0.02 + ], + [ + 0.02, + -0.02, + -0.02 + ] + ], + "extents": [ + 0.04, + 0.04, + 0.04 + ] + }, + "radius": 0.0306 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0025, + 0.0035, + 0.0 + ], + "projection_circle": { + "center": [ + 0.0001, + -0.0001, + -0.0202, + 1.0, + -0.0025, + -0.0035, + -0.0 + ], + "radius": 0.0262 + }, + "contact_circle": { + "center": [ + -0.0, + -0.0004, + -0.0202, + 1.0, + -0.0025, + -0.0035, + -0.0 + ], + "radius": 0.0233 + } + } + } + }, + "physics": { + "mass": 0.3, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.02 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00011/description.json b/Objects/RoboDojo/Rigid/block/00011/description.json new file mode 100644 index 0000000000000000000000000000000000000000..2a06825601bc17fddb67fa07ad130733d74fe074 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00011/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "4241ac1d-5b39-4a2e-9c01-ecf117a12cad", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "round face object used for monitoring daily activity", + "rubberized grip fitness tracker used for showing notifications", + "palm-sized brushed aluminum fitness tracker", + "smartwatch commonly found in about 5 inches tall size", + "fitness tracker commonly found in palm-sized size", + "brushed aluminum smartwatch for tracking heart rate", + "about 5 inches tall round face fitness tracker for tracking heart rate", + "tracking heart rate use of fitness tracker", + "smartwatch suitable for tracking heart rate", + "Apple Watch optimized for showing notifications", + "smartwatch colored matte black", + "monitoring daily activity with fitness tracker", + "matte black fitness tracker for showing notifications", + "round face slim profile smartwatch", + "slim profile smartwatch perfect for tracking heart rate", + "fitness tracker built from brushed aluminum", + "smartwatch for tracking heart rate with tempered glass front", + "subtle blue LED glow smartwatch typically used for tracking heart rate", + "Apple Watch with tempered glass front construction", + "fitness tracker for showing notifications", + "tempered glass front fitness tracker used for showing notifications", + "dark gray accents object used for monitoring daily activity", + "slim profile rubberized grip object", + "smartwatch for monitoring daily activity activities", + "curved edges rubberized grip fitness tracker for monitoring daily activity", + "smartwatch sized as slim profile", + "matte black about 5 inches tall fitness tracker for tracking heart rate", + "about 5 inches tall dark gray accents smartwatch", + "smartwatch optimized for showing notifications", + "fitness tracker designed for tracking heart rate", + "tempered glass front Apple Watch for tracking heart rate", + "tempered glass front curved edges smartwatch", + "round face tempered glass front object for monitoring daily activity", + "fitness tracker appropriate for showing notifications", + "matte black Apple Watch typically used for monitoring daily activity", + "smartwatch appropriate for tracking heart rate use", + "subtle blue LED glow rubberized grip round face Apple Watch", + "Apple Watch ideal for monitoring daily activity", + "Apple Watch used to showing notifications", + "about 5 inches tall tempered glass front object", + "smartwatch intended for showing notifications", + "round face object made of rubberized grip", + "tracking heart rate use of smartwatch", + "smartwatch with matte black color", + "subtle blue LED glow round face object for tracking heart rate", + "Apple Watch for tracking heart rate", + "smartwatch for monitoring daily activity with tempered glass front", + "matte black smartwatch for showing notifications", + "smartwatch commonly found in slim profile size", + "Apple Watch made from tempered glass front", + "fitness tracker primarily used for monitoring daily activity", + "about 5 inches tall matte black curved edges for tracking heart rate", + "brushed aluminum smartwatch", + "palm-sized subtle blue LED glow smartwatch", + "subtle blue LED glow about 5 inches tall round face smartwatch", + "subtle blue LED glow Apple Watch used for tracking heart rate", + "rubberized grip smartwatch suitable for monitoring daily activity", + "dark gray accents round face object for monitoring daily activity", + "dark gray accents about 5 inches tall tempered glass front object", + "fitness tracker intended for monitoring daily activity usage", + "Apple Watch designed for showing notifications", + "subtle blue LED glow slim profile Apple Watch for tracking heart rate", + "dark gray accents fitness tracker for monitoring daily activity", + "matte black rubberized grip smartwatch", + "dark gray accents rubberized grip smartwatch", + "tempered glass front rectangular case Apple Watch", + "Apple Watch in round face form", + "fitness tracker colored dark gray accents", + "smartwatch in rectangular case", + "smartwatch in palm-sized", + "palm-sized Apple Watch used for tracking heart rate", + "subtle blue LED glow rubberized grip smartwatch", + "matte black tempered glass front Apple Watch", + "fitness tracker used to tracking heart rate", + "slim profile dark gray accents tempered glass front Apple Watch", + "monitoring daily activity use of Apple Watch", + "round face smartwatch ideal for showing notifications", + "Apple Watch featuring round face shape", + "fitness tracker featuring rectangular case shape", + "tempered glass front object for showing notifications", + "subtle blue LED glow round face Apple Watch used for monitoring daily activity", + "curved edges brushed aluminum object for tracking heart rate", + "Apple Watch for monitoring daily activity tasks", + "tempered glass front fitness tracker for monitoring daily activity", + "smartwatch suitable for monitoring daily activity", + "smartwatch for showing notifications activities", + "tracking heart rate with Apple Watch", + "Apple Watch for monitoring daily activity scenarios", + "about 5 inches tall fitness tracker perfect for monitoring daily activity", + "palm-sized rectangular case object", + "rectangular case Apple Watch ideal for showing notifications", + "Apple Watch for tracking heart rate tasks", + "about 5 inches tall rectangular case object for showing notifications", + "rectangular case tempered glass front fitness tracker for showing notifications", + "fitness tracker in matte black", + "fitness tracker with matte black color", + "tempered glass front subtle blue LED glow smartwatch", + "about 5 inches tall rectangular case object for monitoring daily activity", + "palm-sized rectangular case object for monitoring daily activity", + "rectangular case brushed aluminum smartwatch for showing notifications" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00011/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00011/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..642fc82d2e34978b329545b1c6f816fe5ea73840 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00011/grasps/UMI.json @@ -0,0 +1,4 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00011/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00011/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..efdf2af9a9cb6f9b72b7ebdb13d88106d8d3ee0b --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00011/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + 0.0002, + -0.001, + 0.0, + 0.7072, + 0.707, + -0.0002 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00011/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00011/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..83c92bac0c0b176f72efa95c562fa9e6e6f3292c --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00011/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0002, + -0.0007, + -0.0018, + -0.012, + 0.6868, + 0.7267, + 0.0108 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00011/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00011/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..cd9fde76cc8edd4e79b18b22ca0974d9d5897122 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00011/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0, + -0.0, + -0.0, + 0.0, + 1.0, + -0.0, + 0.0 + ], + [ + 0.0, + 0.0, + -0.0, + -0.0, + 0.7071, + 0.7071, + 0.0 + ], + [ + -0.0, + 0.0, + -0.0, + -0.0, + 0.0, + 1.0, + 0.0 + ], + [ + -0.0, + -0.0, + -0.0, + -0.0, + -0.7071, + 0.7071, + -0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00011/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00011/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..2f9af880edfe984bc1b85b4fdf82cb63148f7115 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00011/grasps/piper_v1.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + -0.0, + -0.001, + 0.0, + 1.0, + -0.0001, + -0.0 + ], + [ + -0.0, + -0.0, + -0.001, + -0.0002, + 0.7071, + 0.7071, + 0.0023 + ], + [ + 0.0, + -0.0, + -0.001, + -0.0015, + -0.0005, + 1.0, + 0.0015 + ], + [ + 0.0, + 0.0, + -0.001, + -0.0021, + -0.7072, + 0.707, + -0.0001 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00011/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00011/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..9dbe5be1e4f3781b90e071ad4b3bea768b5aa741 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00011/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + [ + 0.0, + 0.0, + 0.101, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00011/metadata.json b/Objects/RoboDojo/Rigid/block/00011/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..fc6376bc569215f71f6a394b7a118be9cfb14247 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00011/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "4241ac1d-5b39-4a2e-9c01-ecf117a12cad", + "geometry": { + "faces": 1452, + "vertices": 2244, + "aligned_bbox": { + "vertices": [ + [ + -0.015, + -0.015, + -0.015 + ], + [ + -0.015, + -0.015, + 0.015 + ], + [ + -0.015, + 0.015, + -0.015 + ], + [ + -0.015, + 0.015, + 0.015 + ], + [ + 0.015, + -0.015, + -0.015 + ], + [ + 0.015, + -0.015, + 0.015 + ], + [ + 0.015, + 0.015, + -0.015 + ], + [ + 0.015, + 0.015, + 0.015 + ] + ], + "extents": [ + 0.03, + 0.03, + 0.03 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.015, + 0.015, + 0.015 + ], + [ + 0.015, + 0.015, + 0.015 + ], + [ + -0.015, + 0.015, + -0.015 + ], + [ + 0.015, + 0.015, + -0.015 + ], + [ + -0.015, + -0.015, + 0.015 + ], + [ + 0.015, + -0.015, + 0.015 + ], + [ + -0.015, + -0.015, + -0.015 + ], + [ + 0.015, + -0.015, + -0.015 + ] + ], + "extents": [ + 0.03, + 0.03, + 0.03 + ] + }, + "radius": 0.0229 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0011, + -0.0006, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0, + -0.0, + -0.015, + 1.0, + -0.0011, + 0.0006, + 0.0 + ], + "radius": 0.0196 + }, + "contact_circle": { + "center": [ + -0.0, + -0.0, + -0.015, + 1.0, + -0.0011, + 0.0006, + 0.0 + ], + "radius": 0.0181 + } + } + } + }, + "physics": { + "mass": 0.2, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.015, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.015 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00012/description.json b/Objects/RoboDojo/Rigid/block/00012/description.json new file mode 100644 index 0000000000000000000000000000000000000000..2a06825601bc17fddb67fa07ad130733d74fe074 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00012/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "4241ac1d-5b39-4a2e-9c01-ecf117a12cad", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "round face object used for monitoring daily activity", + "rubberized grip fitness tracker used for showing notifications", + "palm-sized brushed aluminum fitness tracker", + "smartwatch commonly found in about 5 inches tall size", + "fitness tracker commonly found in palm-sized size", + "brushed aluminum smartwatch for tracking heart rate", + "about 5 inches tall round face fitness tracker for tracking heart rate", + "tracking heart rate use of fitness tracker", + "smartwatch suitable for tracking heart rate", + "Apple Watch optimized for showing notifications", + "smartwatch colored matte black", + "monitoring daily activity with fitness tracker", + "matte black fitness tracker for showing notifications", + "round face slim profile smartwatch", + "slim profile smartwatch perfect for tracking heart rate", + "fitness tracker built from brushed aluminum", + "smartwatch for tracking heart rate with tempered glass front", + "subtle blue LED glow smartwatch typically used for tracking heart rate", + "Apple Watch with tempered glass front construction", + "fitness tracker for showing notifications", + "tempered glass front fitness tracker used for showing notifications", + "dark gray accents object used for monitoring daily activity", + "slim profile rubberized grip object", + "smartwatch for monitoring daily activity activities", + "curved edges rubberized grip fitness tracker for monitoring daily activity", + "smartwatch sized as slim profile", + "matte black about 5 inches tall fitness tracker for tracking heart rate", + "about 5 inches tall dark gray accents smartwatch", + "smartwatch optimized for showing notifications", + "fitness tracker designed for tracking heart rate", + "tempered glass front Apple Watch for tracking heart rate", + "tempered glass front curved edges smartwatch", + "round face tempered glass front object for monitoring daily activity", + "fitness tracker appropriate for showing notifications", + "matte black Apple Watch typically used for monitoring daily activity", + "smartwatch appropriate for tracking heart rate use", + "subtle blue LED glow rubberized grip round face Apple Watch", + "Apple Watch ideal for monitoring daily activity", + "Apple Watch used to showing notifications", + "about 5 inches tall tempered glass front object", + "smartwatch intended for showing notifications", + "round face object made of rubberized grip", + "tracking heart rate use of smartwatch", + "smartwatch with matte black color", + "subtle blue LED glow round face object for tracking heart rate", + "Apple Watch for tracking heart rate", + "smartwatch for monitoring daily activity with tempered glass front", + "matte black smartwatch for showing notifications", + "smartwatch commonly found in slim profile size", + "Apple Watch made from tempered glass front", + "fitness tracker primarily used for monitoring daily activity", + "about 5 inches tall matte black curved edges for tracking heart rate", + "brushed aluminum smartwatch", + "palm-sized subtle blue LED glow smartwatch", + "subtle blue LED glow about 5 inches tall round face smartwatch", + "subtle blue LED glow Apple Watch used for tracking heart rate", + "rubberized grip smartwatch suitable for monitoring daily activity", + "dark gray accents round face object for monitoring daily activity", + "dark gray accents about 5 inches tall tempered glass front object", + "fitness tracker intended for monitoring daily activity usage", + "Apple Watch designed for showing notifications", + "subtle blue LED glow slim profile Apple Watch for tracking heart rate", + "dark gray accents fitness tracker for monitoring daily activity", + "matte black rubberized grip smartwatch", + "dark gray accents rubberized grip smartwatch", + "tempered glass front rectangular case Apple Watch", + "Apple Watch in round face form", + "fitness tracker colored dark gray accents", + "smartwatch in rectangular case", + "smartwatch in palm-sized", + "palm-sized Apple Watch used for tracking heart rate", + "subtle blue LED glow rubberized grip smartwatch", + "matte black tempered glass front Apple Watch", + "fitness tracker used to tracking heart rate", + "slim profile dark gray accents tempered glass front Apple Watch", + "monitoring daily activity use of Apple Watch", + "round face smartwatch ideal for showing notifications", + "Apple Watch featuring round face shape", + "fitness tracker featuring rectangular case shape", + "tempered glass front object for showing notifications", + "subtle blue LED glow round face Apple Watch used for monitoring daily activity", + "curved edges brushed aluminum object for tracking heart rate", + "Apple Watch for monitoring daily activity tasks", + "tempered glass front fitness tracker for monitoring daily activity", + "smartwatch suitable for monitoring daily activity", + "smartwatch for showing notifications activities", + "tracking heart rate with Apple Watch", + "Apple Watch for monitoring daily activity scenarios", + "about 5 inches tall fitness tracker perfect for monitoring daily activity", + "palm-sized rectangular case object", + "rectangular case Apple Watch ideal for showing notifications", + "Apple Watch for tracking heart rate tasks", + "about 5 inches tall rectangular case object for showing notifications", + "rectangular case tempered glass front fitness tracker for showing notifications", + "fitness tracker in matte black", + "fitness tracker with matte black color", + "tempered glass front subtle blue LED glow smartwatch", + "about 5 inches tall rectangular case object for monitoring daily activity", + "palm-sized rectangular case object for monitoring daily activity", + "rectangular case brushed aluminum smartwatch for showing notifications" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00012/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00012/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8900efbe463dea9722a336b4e22af3d9ea97f822 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00012/grasps/UMI.json @@ -0,0 +1,347 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0008, + -0.0005, + -0.0026, + 0.9969, + 0.0315, + -0.0653, + -0.029 + ], + [ + -0.0058, + 0.0146, + 0.009, + 0.8441, + 0.5192, + 0.0751, + -0.1109 + ], + [ + -0.0138, + -0.0021, + -0.0132, + 0.0053, + 0.0049, + -0.2093, + -0.9778 + ], + [ + -0.0027, + -0.0021, + 0.017, + 0.832, + -0.1274, + 0.5002, + 0.2034 + ], + [ + -0.0014, + -0.0042, + 0.0003, + 0.9959, + -0.0161, + -0.0409, + -0.0785 + ], + [ + -0.0007, + 0.0018, + -0.0113, + 0.0732, + -0.7442, + -0.1007, + -0.6562 + ], + [ + 0.0001, + -0.0052, + -0.0083, + 0.8602, + -0.5039, + -0.0698, + -0.0352 + ], + [ + -0.001, + -0.0031, + -0.0061, + 0.7254, + -0.6883, + 0.0005, + -0.0015 + ], + [ + 0.0009, + -0.0005, + 0.001, + 0.2163, + 0.6836, + 0.2162, + -0.6627 + ], + [ + -0.0034, + -0.0056, + 0.0012, + 0.8798, + 0.4745, + 0.0262, + 0.0113 + ], + [ + -0.0028, + 0.0001, + -0.0045, + 0.5395, + -0.468, + 0.449, + -0.537 + ], + [ + 0.0037, + 0.0041, + 0.0024, + 0.5713, + 0.4264, + 0.4185, + 0.5627 + ], + [ + -0.0059, + 0.0092, + 0.0017, + 0.058, + 0.0018, + -0.036, + 0.9977 + ], + [ + 0.0301, + 0.0106, + -0.012, + -0.5629, + 0.0567, + -0.8235, + -0.0414 + ], + [ + -0.001, + 0.0061, + -0.0003, + 0.9991, + -0.0335, + -0.0144, + -0.0214 + ], + [ + 0.0042, + -0.0221, + 0.0005, + 0.2884, + -0.0759, + 0.925, + 0.2355 + ], + [ + -0.0063, + -0.0096, + -0.0103, + 0.864, + -0.4539, + 0.1924, + -0.1018 + ], + [ + -0.012, + 0.0081, + -0.0022, + 0.9759, + 0.2184, + -0.0001, + 0.0002 + ], + [ + 0.0017, + 0.0106, + 0.0025, + 0.1148, + 0.6592, + -0.7095, + -0.2213 + ], + [ + 0.0034, + 0.0004, + 0.0012, + 0.7221, + 0.0841, + 0.68, + -0.0951 + ], + [ + -0.0054, + 0.0017, + 0.0009, + 0.6048, + 0.358, + 0.6321, + -0.3265 + ], + [ + 0.0015, + 0.0039, + -0.0034, + 0.0909, + 0.0009, + -0.241, + 0.9663 + ], + [ + -0.0005, + -0.0056, + -0.0099, + 0.3844, + 0.5935, + -0.3844, + 0.5935 + ], + [ + -0.0011, + -0.0034, + 0.0017, + 0.3152, + -0.947, + -0.0056, + -0.0609 + ], + [ + -0.0026, + -0.0017, + 0.0008, + 0.4826, + 0.5475, + 0.4983, + -0.468 + ], + [ + 0.0054, + -0.0021, + -0.024, + 0.3914, + -0.0721, + -0.8937, + -0.2072 + ], + [ + -0.0059, + 0.0048, + 0.0009, + 0.5435, + -0.4911, + 0.5166, + 0.4432 + ], + [ + -0.0025, + -0.0011, + 0.0012, + 0.772, + -0.0445, + -0.0541, + 0.6318 + ], + [ + 0.0015, + 0.0021, + -0.005, + 0.0969, + 0.0172, + 0.1733, + 0.9799 + ], + [ + -0.001, + 0.0057, + 0.0011, + 0.1905, + -0.6912, + 0.146, + 0.6816 + ], + [ + -0.0004, + -0.001, + -0.0007, + 0.7186, + 0.1207, + 0.104, + 0.677 + ], + [ + 0.0041, + -0.0011, + -0.0035, + 0.3814, + 0.6034, + 0.5713, + 0.4049 + ], + [ + -0.0067, + -0.0009, + 0.0038, + 0.6291, + 0.3201, + 0.3408, + 0.621 + ], + [ + -0.0042, + 0.0102, + 0.0025, + 0.0485, + 0.6743, + -0.7047, + -0.2153 + ], + [ + -0.0069, + -0.0011, + -0.0051, + 0.623, + 0.3367, + 0.3506, + 0.6129 + ], + [ + -0.0032, + 0.0044, + 0.0011, + 0.6956, + 0.0251, + 0.7171, + 0.0351 + ], + [ + -0.0006, + 0.0011, + -0.0056, + 0.9939, + 0.0377, + -0.0543, + -0.0883 + ], + [ + 0.0119, + -0.0001, + -0.0023, + 0.0003, + -0.0, + 1.0, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00012/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00012/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..b6af02d77774ebeed0911690e24ef497ee7210fb --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00012/grasps/XOne.json @@ -0,0 +1,257 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0203, + 0.0055, + -0.0224, + 0.973, + 0.0784, + -0.2159, + -0.0229 + ], + [ + -0.0034, + -0.0061, + -0.0026, + 0.7127, + 0.0179, + 0.7005, + 0.032 + ], + [ + 0.0049, + 0.0041, + -0.0017, + 0.6664, + 0.2088, + 0.6517, + -0.296 + ], + [ + -0.0027, + -0.0061, + -0.0002, + 0.7046, + -0.702, + 0.0685, + -0.0777 + ], + [ + -0.0029, + 0.0026, + -0.0013, + 0.4603, + 0.5074, + 0.5615, + -0.4641 + ], + [ + 0.0027, + -0.0039, + -0.0023, + 0.246, + 0.5768, + -0.7513, + -0.206 + ], + [ + 0.0023, + 0.0075, + -0.0027, + 0.978, + 0.2001, + 0.0563, + -0.0171 + ], + [ + -0.0033, + -0.0071, + -0.0005, + 0.7158, + -0.6937, + 0.0583, + -0.0559 + ], + [ + -0.0079, + -0.011, + 0.0043, + 0.2609, + -0.1498, + -0.5277, + 0.7944 + ], + [ + -0.0032, + -0.0034, + -0.0015, + 0.2411, + 0.5718, + -0.5037, + 0.6009 + ], + [ + -0.0005, + 0.004, + -0.0036, + 0.097, + 0.0098, + -0.2392, + 0.9661 + ], + [ + 0.01, + 0.0078, + 0.0107, + 0.2987, + 0.6198, + 0.4116, + -0.5977 + ], + [ + -0.0034, + 0.0018, + 0.0023, + 0.7942, + -0.234, + -0.5358, + -0.1653 + ], + [ + -0.006, + 0.0047, + -0.0005, + 0.5435, + -0.4856, + 0.5163, + 0.4496 + ], + [ + -0.0003, + 0.0068, + -0.0047, + -0.006, + -0.0082, + 0.174, + 0.9847 + ], + [ + -0.0005, + 0.0001, + -0.0006, + 0.7162, + 0.1211, + 0.1039, + 0.6794 + ], + [ + -0.0009, + 0.0004, + 0.0023, + 0.3787, + -0.6006, + -0.6258, + 0.3229 + ], + [ + -0.0074, + 0.0003, + 0.0033, + 0.6135, + 0.3131, + 0.3507, + 0.6345 + ], + [ + -0.0099, + -0.0048, + -0.0073, + 0.5596, + 0.2507, + 0.4362, + 0.6587 + ], + [ + 0.0028, + 0.0002, + -0.0058, + 0.5805, + -0.0975, + -0.1716, + 0.79 + ], + [ + -0.0124, + -0.0034, + 0.0005, + -0.0927, + -0.0303, + 0.9679, + 0.2315 + ], + [ + -0.0125, + -0.0016, + -0.0001, + 0.6208, + 0.3398, + -0.6117, + 0.3535 + ], + [ + 0.004, + -0.0062, + 0.0063, + 0.2119, + -0.7047, + 0.4396, + 0.515 + ], + [ + 0.0002, + -0.002, + -0.0028, + 0.9918, + 0.0386, + -0.0756, + -0.0955 + ], + [ + -0.0062, + -0.0068, + -0.001, + 0.2021, + -0.5826, + -0.1489, + -0.773 + ], + [ + 0.0003, + -0.0001, + -0.0017, + -0.0007, + 1.0, + -0.0036, + 0.0059 + ], + [ + -0.0008, + -0.0001, + -0.0016, + 0.0154, + 0.0026, + 0.9999, + -0.0044 + ], + [ + -0.0, + 0.0, + -0.0019, + 0.0049, + -0.7, + 0.7141, + -0.003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00012/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00012/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..48187a0fe12162f6b06a21876bcfd1d9ba00d7b5 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00012/grasps/aloha.json @@ -0,0 +1,491 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + 0.0005, + 0.0065, + 0.0013, + 0.9969, + 0.0666, + -0.0404, + -0.0121 + ], + [ + -0.0014, + -0.007, + -0.0003, + 0.2469, + 0.6968, + -0.2138, + 0.6386 + ], + [ + 0.0042, + 0.0024, + -0.0032, + 0.7592, + -0.1824, + 0.5975, + 0.1826 + ], + [ + -0.0088, + -0.0151, + -0.0055, + 0.6783, + -0.1176, + 0.7252, + 0.0101 + ], + [ + 0.0046, + -0.0064, + 0.0011, + 0.7186, + 0.0053, + 0.6945, + 0.0358 + ], + [ + -0.0085, + 0.0066, + -0.0045, + 0.724, + -0.6841, + 0.0614, + 0.0637 + ], + [ + 0.0002, + 0.0028, + 0.0103, + 0.0306, + -0.078, + -0.008, + -0.9965 + ], + [ + 0.0005, + 0.0047, + 0.0016, + 0.5944, + 0.362, + 0.6266, + -0.3507 + ], + [ + 0.0054, + -0.0055, + 0.0145, + 0.9954, + 0.0699, + -0.0283, + 0.0599 + ], + [ + -0.0067, + -0.0004, + 0.0009, + 0.6244, + -0.3214, + 0.6284, + 0.3345 + ], + [ + 0.0161, + -0.0085, + 0.0006, + 0.0329, + 0.0586, + 0.4755, + 0.8772 + ], + [ + 0.0008, + -0.0009, + 0.0001, + 0.0028, + 0.0232, + 0.9673, + -0.2526 + ], + [ + -0.001, + -0.0023, + -0.0043, + 0.5718, + -0.5005, + 0.4341, + -0.484 + ], + [ + 0.0041, + 0.002, + 0.0032, + 0.5648, + 0.4588, + 0.3953, + 0.5607 + ], + [ + 0.0325, + 0.0081, + -0.0177, + 0.0625, + -0.8508, + -0.4388, + -0.2824 + ], + [ + -0.0009, + -0.0025, + -0.0027, + 0.717, + -0.6945, + 0.0443, + 0.0406 + ], + [ + 0.003, + 0.0029, + 0.0026, + 0.2545, + -0.6305, + 0.4441, + -0.5835 + ], + [ + -0.0069, + 0.0078, + -0.0054, + -0.0241, + 0.6655, + -0.7432, + -0.0645 + ], + [ + -0.0034, + -0.0003, + -0.0004, + 0.864, + -0.4956, + 0.0819, + -0.0328 + ], + [ + -0.0002, + 0.0075, + -0.0016, + 0.9758, + 0.2171, + -0.0195, + -0.0143 + ], + [ + -0.0056, + -0.0018, + -0.0037, + 0.12, + 0.5891, + -0.7666, + -0.2258 + ], + [ + 0.0074, + 0.0024, + 0.0019, + 0.6389, + 0.1491, + 0.7546, + -0.0168 + ], + [ + -0.007, + 0.0057, + 0.0111, + 0.1932, + -0.0201, + 0.0945, + 0.9764 + ], + [ + -0.0047, + 0.0011, + 0.0069, + 0.5771, + 0.3672, + 0.6546, + -0.3218 + ], + [ + -0.0019, + -0.0048, + 0.0002, + 0.7145, + -0.6988, + 0.0255, + -0.0211 + ], + [ + 0.0017, + -0.01, + 0.0112, + 0.0285, + -0.0548, + -0.5204, + 0.8517 + ], + [ + -0.008, + -0.0119, + 0.0053, + 0.4653, + 0.6144, + -0.413, + 0.4852 + ], + [ + 0.001, + 0.0037, + -0.0037, + 0.0528, + 0.0056, + -0.2401, + 0.9693 + ], + [ + 0.0074, + 0.001, + -0.003, + 0.464, + -0.5489, + 0.4211, + -0.5533 + ], + [ + 0.0189, + -0.0111, + -0.0011, + 0.341, + 0.6152, + -0.3291, + 0.6301 + ], + [ + -0.0096, + 0.0055, + 0.0053, + 0.3893, + -0.5608, + 0.3438, + 0.6448 + ], + [ + -0.003, + -0.0055, + 0.0014, + 0.4856, + 0.5646, + 0.5258, + -0.4111 + ], + [ + -0.0107, + -0.005, + -0.0017, + 0.4812, + 0.4404, + -0.4823, + 0.5847 + ], + [ + 0.0007, + -0.0018, + -0.0007, + 0.6024, + -0.3343, + -0.6266, + -0.3643 + ], + [ + 0.0045, + 0.0047, + 0.0066, + 0.703, + -0.0529, + -0.0113, + 0.7091 + ], + [ + -0.0008, + 0.0038, + 0.002, + 0.6302, + -0.2213, + -0.7262, + -0.1627 + ], + [ + -0.0019, + 0.0036, + 0.0046, + 0.7558, + -0.0931, + 0.0241, + 0.6477 + ], + [ + -0.0022, + 0.0029, + 0.0004, + 0.2474, + -0.688, + 0.0952, + 0.6755 + ], + [ + 0.0046, + -0.0052, + -0.0045, + 0.4201, + 0.5948, + 0.5601, + 0.3951 + ], + [ + -0.0054, + -0.0006, + -0.0039, + 0.2119, + -0.6002, + -0.6178, + 0.4616 + ], + [ + -0.0063, + -0.0037, + 0.0014, + 0.1852, + 0.6569, + -0.7185, + -0.134 + ], + [ + -0.0071, + -0.0009, + -0.0051, + 0.6231, + 0.342, + 0.3449, + 0.613 + ], + [ + -0.0023, + -0.0001, + -0.0046, + 0.697, + -0.1025, + -0.1388, + 0.696 + ], + [ + 0.0023, + 0.0005, + -0.0071, + -0.0566, + -0.021, + 0.9614, + 0.2685 + ], + [ + -0.0061, + 0.0024, + 0.0034, + 0.7145, + 0.0455, + 0.0434, + -0.6968 + ], + [ + -0.0156, + -0.0026, + 0.002, + 0.596, + 0.4245, + -0.5943, + 0.3338 + ], + [ + -0.0028, + 0.0008, + -0.0006, + 0.1744, + -0.666, + -0.6701, + 0.2774 + ], + [ + 0.0041, + -0.0007, + 0.004, + 0.2709, + -0.6651, + 0.3983, + 0.5707 + ], + [ + 0.0009, + -0.0022, + -0.0026, + 0.983, + 0.0228, + -0.1055, + -0.1487 + ], + [ + -0.0008, + -0.0004, + 0.0002, + 0.3384, + 0.5107, + -0.5225, + 0.593 + ], + [ + -0.0078, + -0.0088, + -0.0067, + 0.036, + 0.0349, + -0.7034, + 0.7091 + ], + [ + 0.0, + -0.0144, + 0.0013, + -0.0382, + 0.0521, + -0.5279, + 0.8468 + ], + [ + -0.008, + -0.005, + 0.002, + 0.0986, + -0.7568, + -0.2029, + -0.6135 + ], + [ + 0.0002, + 0.0002, + -0.0022, + -0.0152, + 0.7016, + 0.7115, + 0.0364 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00012/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00012/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..21079bdf501ee38322f4f6bc3c359b0f7d3446ac --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00012/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + 0.0, + -0.0, + -0.002, + 0.0, + 1.0, + -0.0, + 0.0 + ], + [ + 0.0, + 0.0, + -0.002, + -0.0, + 0.7071, + 0.7071, + 0.0 + ], + [ + -0.0, + 0.0, + -0.002, + -0.0, + 0.0, + 1.0, + 0.0 + ], + [ + -0.0, + -0.0, + -0.002, + -0.0, + -0.7071, + 0.7071, + -0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00012/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00012/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..66c71625e340c27c0bb7fc3c43f20f4e085974f0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00012/grasps/piper_v1.json @@ -0,0 +1,707 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0023, + -0.0032, + -0.0004, + 0.212, + -0.6722, + -0.1631, + -0.6903 + ], + [ + 0.0009, + -0.0005, + -0.0026, + 0.9975, + 0.0313, + -0.0587, + -0.0237 + ], + [ + 0.0006, + -0.0039, + 0.0009, + 0.8942, + 0.4436, + -0.0592, + 0.0085 + ], + [ + 0.0004, + -0.0073, + -0.0007, + 0.0237, + 0.0136, + -0.222, + -0.9747 + ], + [ + 0.0025, + 0.0034, + -0.0026, + 0.0759, + -0.0689, + 0.2612, + 0.9598 + ], + [ + -0.0014, + -0.0027, + -0.0067, + 0.8906, + -0.4519, + 0.0209, + -0.0458 + ], + [ + 0.0032, + 0.0089, + 0.0015, + 0.9962, + 0.0079, + -0.0374, + -0.0784 + ], + [ + 0.0007, + -0.0008, + -0.0145, + 0.1891, + 0.7659, + -0.2182, + 0.5745 + ], + [ + -0.0046, + 0.0046, + -0.0001, + 0.9306, + -0.319, + -0.1768, + 0.0306 + ], + [ + 0.017, + -0.0036, + 0.0051, + 0.473, + 0.4948, + -0.154, + 0.7125 + ], + [ + 0.0003, + 0.0026, + -0.0001, + 0.6864, + -0.172, + 0.6741, + 0.2121 + ], + [ + 0.0014, + 0.0008, + 0.0012, + 0.0906, + -0.0279, + -0.24, + 0.9661 + ], + [ + 0.0096, + 0.0146, + -0.0139, + 0.6368, + -0.7458, + 0.0272, + -0.1939 + ], + [ + -0.0, + -0.0054, + -0.0011, + 0.7172, + 0.1688, + 0.6477, + -0.1939 + ], + [ + 0.0002, + -0.0045, + 0.0033, + 0.9954, + -0.0351, + 0.0646, + -0.0614 + ], + [ + -0.0, + -0.0023, + 0.0006, + 0.3286, + 0.6444, + 0.3618, + -0.5882 + ], + [ + -0.022, + 0.006, + 0.0021, + 0.9639, + -0.0066, + -0.2428, + -0.1089 + ], + [ + 0.0011, + -0.0054, + -0.0088, + 0.8607, + -0.5043, + -0.0646, + -0.0272 + ], + [ + -0.0067, + -0.0005, + -0.0, + 0.6235, + -0.3174, + 0.6293, + 0.3384 + ], + [ + 0.0001, + -0.0033, + -0.0056, + 0.7239, + -0.6897, + -0.0108, + -0.0123 + ], + [ + 0.0009, + -0.0006, + 0.0003, + 0.2154, + 0.6823, + 0.218, + -0.6637 + ], + [ + 0.0055, + 0.0016, + 0.0004, + 0.6594, + 0.2422, + 0.6798, + -0.2106 + ], + [ + 0.0005, + -0.007, + 0.002, + 0.8833, + 0.4657, + -0.0457, + -0.0298 + ], + [ + 0.0006, + -0.0061, + 0.0019, + 0.07, + 0.0625, + 0.4727, + 0.8762 + ], + [ + 0.0001, + -0.0008, + 0.0001, + 0.001, + 0.0206, + 0.9673, + -0.2526 + ], + [ + -0.003, + -0.0003, + -0.0047, + 0.5433, + -0.4726, + 0.4448, + -0.5325 + ], + [ + 0.0001, + -0.0033, + -0.0049, + 0.9786, + -0.1991, + -0.0251, + -0.0464 + ], + [ + 0.0035, + 0.0005, + 0.0025, + 0.5748, + 0.437, + 0.4111, + 0.5564 + ], + [ + -0.0036, + -0.0034, + 0.0014, + 0.5961, + 0.3596, + 0.637, + -0.331 + ], + [ + -0.0056, + -0.0035, + 0.0005, + 0.3469, + -0.6218, + -0.3387, + -0.615 + ], + [ + 0.0, + -0.0028, + -0.0004, + 0.7152, + -0.6988, + -0.0054, + -0.0088 + ], + [ + 0.0029, + 0.0026, + 0.0, + 0.6162, + 0.3711, + -0.6056, + 0.3403 + ], + [ + 0.0002, + 0.0053, + 0.0043, + 0.0711, + 0.0049, + -0.0888, + 0.9935 + ], + [ + 0.0002, + -0.0084, + 0.0044, + 0.9988, + -0.0326, + -0.0354, + -0.0044 + ], + [ + 0.0013, + -0.0068, + -0.0002, + 0.4673, + 0.4743, + 0.6021, + -0.4406 + ], + [ + 0.0003, + 0.0076, + -0.004, + 0.9998, + -0.0049, + -0.0178, + 0.0047 + ], + [ + -0.0038, + 0.0025, + 0.0005, + 0.4912, + 0.5316, + 0.4961, + -0.4796 + ], + [ + -0.0046, + -0.0106, + -0.0012, + 0.3787, + -0.4682, + 0.6133, + -0.5112 + ], + [ + -0.0059, + -0.0043, + -0.0018, + 0.6946, + -0.2359, + 0.6065, + 0.3066 + ], + [ + -0.0019, + -0.0242, + 0.0008, + 0.4328, + 0.5468, + -0.7163, + 0.0221 + ], + [ + 0.0, + -0.0059, + -0.0012, + 0.8653, + -0.5004, + -0.0148, + -0.0246 + ], + [ + 0.0044, + -0.0024, + 0.0003, + 0.6117, + -0.3023, + -0.6523, + -0.3301 + ], + [ + 0.0028, + -0.0016, + -0.0035, + 0.5832, + 0.5425, + 0.3747, + 0.4745 + ], + [ + 0.0006, + 0.0049, + 0.004, + 0.0966, + -0.0304, + 0.2408, + 0.9653 + ], + [ + 0.0015, + 0.0081, + -0.0016, + 0.9761, + 0.2128, + -0.0263, + -0.0362 + ], + [ + -0.0018, + 0.0002, + -0.0024, + 0.1257, + 0.6639, + -0.6912, + -0.2564 + ], + [ + -0.0049, + 0.0016, + -0.0128, + 0.5969, + 0.3534, + 0.6391, + -0.3322 + ], + [ + -0.0007, + -0.0053, + -0.0004, + 0.7256, + -0.6874, + 0.019, + -0.023 + ], + [ + 0.0, + 0.0036, + -0.0037, + 0.0818, + 0.0076, + -0.2395, + 0.9674 + ], + [ + 0.0071, + -0.0004, + -0.0043, + 0.5377, + -0.4761, + 0.4619, + -0.5205 + ], + [ + -0.0031, + -0.0034, + -0.0141, + 0.363, + 0.6978, + -0.4698, + 0.4008 + ], + [ + -0.0006, + -0.0037, + 0.0017, + 0.3166, + -0.9469, + -0.0111, + -0.055 + ], + [ + 0.0067, + 0.0035, + 0.0, + 0.3706, + 0.61, + 0.3585, + -0.6017 + ], + [ + 0.0007, + -0.0018, + 0.0001, + 0.5953, + -0.3281, + -0.6332, + -0.3703 + ], + [ + 0.0047, + -0.0, + 0.0061, + 0.7175, + -0.0231, + -0.0346, + 0.6953 + ], + [ + -0.0022, + 0.0036, + -0.0005, + 0.6165, + -0.2136, + -0.74, + -0.1635 + ], + [ + -0.0075, + 0.0048, + -0.0012, + 0.5721, + -0.4951, + 0.4958, + 0.4265 + ], + [ + -0.0027, + 0.0003, + 0.0009, + 0.7648, + -0.0403, + -0.059, + 0.6403 + ], + [ + 0.0003, + 0.0023, + -0.0049, + 0.0921, + 0.024, + 0.1788, + 0.9793 + ], + [ + -0.0016, + 0.0078, + -0.0002, + 0.1389, + -0.7135, + 0.1848, + 0.6615 + ], + [ + 0.0007, + 0.0001, + 0.0008, + 0.6974, + 0.0874, + 0.1374, + 0.6979 + ], + [ + -0.0012, + -0.0006, + 0.0018, + 0.3875, + -0.6007, + -0.6261, + 0.3116 + ], + [ + -0.007, + -0.0, + 0.0035, + 0.6318, + 0.3197, + 0.3404, + 0.6187 + ], + [ + -0.0049, + 0.0261, + 0.0055, + -0.1045, + 0.6228, + -0.6412, + -0.4361 + ], + [ + -0.0071, + -0.0, + -0.0051, + 0.6246, + 0.3394, + 0.3476, + 0.6115 + ], + [ + -0.0023, + 0.0005, + -0.0048, + 0.6955, + -0.0975, + -0.1448, + 0.697 + ], + [ + -0.0145, + -0.0004, + -0.0014, + -0.2073, + -0.0633, + 0.9344, + 0.2827 + ], + [ + -0.0051, + 0.0004, + 0.0017, + 0.6856, + 0.0344, + -0.0033, + -0.7271 + ], + [ + -0.0127, + -0.0023, + 0.0, + 0.6428, + 0.341, + -0.5972, + 0.3374 + ], + [ + -0.0028, + 0.0056, + -0.0139, + 0.7178, + 0.0311, + 0.6937, + 0.0506 + ], + [ + 0.0046, + 0.0017, + -0.0001, + 0.3727, + -0.6379, + 0.3004, + 0.6033 + ], + [ + -0.0064, + 0.0012, + 0.0011, + 0.3724, + 0.6298, + -0.4098, + 0.5447 + ], + [ + -0.0002, + -0.01, + -0.0061, + 0.0411, + 0.028, + -0.6944, + 0.7179 + ], + [ + 0.0122, + -0.0124, + 0.0008, + -0.0255, + 0.0278, + -0.5253, + 0.8501 + ], + [ + -0.0, + 0.0, + -0.002, + -0.0, + 1.0, + -0.0003, + 0.0001 + ], + [ + 0.0, + 0.0, + -0.002, + -0.0001, + 0.7074, + 0.7068, + 0.0001 + ], + [ + -0.0, + -0.0, + -0.002, + -0.0001, + 0.0003, + 1.0, + -0.0 + ], + [ + 0.0, + -0.0, + -0.002, + -0.0001, + -0.7069, + 0.7073, + -0.0001 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00012/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00012/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0fa71c45d5002f437898abfe612c87e236e5889f --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00012/grasps/proposal.json @@ -0,0 +1,1253 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + [ + -0.08994514461167549, + -0.05515085109478197, + -0.0053685521769575445, + 0.2153537681416006, + -0.6707762830720184, + -0.1597118715452709, + -0.691501302025389 + ], + 0.9541938304901123 + ], + [ + [ + 0.01575866375557685, + 0.005377928773254541, + -0.10331248585761112, + 0.9963574334261492, + 0.031239585961860283, + -0.073350061844626, + -0.030260891473613407 + ], + 0.9510727524757385 + ], + [ + [ + 0.0070149245343318015, + 0.07737677968138496, + -0.06059588213146251, + 0.894100345006952, + 0.44389009323750434, + -0.058493603506719394, + 0.01116496900346921 + ], + 0.9472348690032959 + ], + [ + [ + 0.004943863828401807, + -0.05535976164942941, + -0.09562635515511554, + 0.009548473852656832, + 0.048319731164471615, + -0.2722997231796582, + -0.9609510346440966 + ], + 0.9471831321716309 + ], + [ + [ + 0.0030510421979388024, + -0.051413110876142594, + -0.09260805790007633, + 0.026732790063780418, + 0.015001827888246189, + -0.22203374666313613, + -0.9745569857315413 + ], + 0.946749746799469 + ], + [ + [ + 0.012691678818981889, + -0.0428802775681611, + -0.09156538639843982, + 0.059449965490942794, + -0.07299139276069377, + 0.22900395498048165, + 0.9688628111292523 + ], + 0.9454984664916992 + ], + [ + [ + -0.007938259872872588, + -0.08526486479645928, + -0.0662348801332764, + 0.8888298455876605, + -0.45617896501508864, + 0.020825567482064655, + -0.038059863497239534 + ], + 0.9441311359405518 + ], + [ + [ + 0.010522052054028752, + 0.019871309912145523, + -0.09938144777596515, + 0.9969902584146854, + 0.06675398318491314, + -0.03775347031772025, + -0.01135807352225267 + ], + 0.9415324926376343 + ], + [ + [ + -0.08309381421216225, + 0.05815346217745581, + 0.0022945112951793106, + 0.21461901998981597, + 0.6689275132085476, + -0.21267973028219822, + 0.6791479887758861 + ], + 0.9407901167869568 + ], + [ + [ + -0.0008732770316155823, + -0.060559711837827775, + -0.08584331069767993, + 0.9459171456237659, + -0.3234713625994473, + 0.024601406368343515, + -0.001342385094830302 + ], + 0.939667284488678 + ], + [ + [ + -0.0852742415250132, + 0.05183669230932036, + 0.0026354379889317187, + 0.20811149656492134, + 0.673455235570016, + -0.2115190733165896, + 0.6770578500424714 + ], + 0.9388466477394104 + ], + [ + [ + -0.0866656821549723, + -0.05059815146928987, + -0.004543954978441414, + 0.6873048295419569, + -0.16932955450506004, + 0.6730166792499388, + 0.21444841503448803 + ], + 0.9388240575790405 + ], + [ + [ + -0.1054301482022593, + -0.00824328181302509, + -0.004477979621594366, + 0.7127423824807116, + 0.018644624083081467, + 0.7004104269884591, + 0.032801036178198635 + ], + 0.9386783838272095 + ], + [ + [ + 0.004711140286844018, + 0.04573544166082182, + -0.09049187694371265, + 0.08284832973001374, + -0.0046743173181121155, + -0.22974581042809084, + 0.969706743097776 + ], + 0.9377549290657043 + ], + [ + [ + -0.07729551162131523, + -0.06691376441127023, + 0.0005607176509447725, + 0.24647367329938777, + -0.6613081367857937, + -0.21202738303318402, + -0.6759930957009159 + ], + 0.9375361204147339 + ], + [ + [ + -0.09916882928021645, + -0.010141855524539563, + -0.0060075041900626985, + 0.7249711691946272, + 0.004515948705103322, + 0.6879888144034165, + 0.032677229069327816 + ], + 0.9373136162757874 + ], + [ + [ + -0.0469231080592463, + 0.0888830242215995, + 0.0012255639240838917, + 0.38171822972037095, + 0.6008335970495163, + -0.3583351467617464, + 0.6040580306153737 + ], + 0.9372559189796448 + ], + [ + [ + -0.007455540481288192, + -0.09895071708565911, + -0.015485718852584776, + 0.7376976925303004, + -0.6746402452854482, + 0.018208687194476214, + -0.018196087142963967 + ], + 0.93710857629776 + ], + [ + [ + 0.003043446098189595, + -0.0016814693339761223, + -0.09580364917099994, + 0.08766642833486953, + 0.03825497830679186, + -0.008177402088729524, + -0.995381476657484 + ], + 0.9367672204971313 + ], + [ + [ + -0.049823917108852624, + 0.09361513382786552, + 0.0031732453436352642, + 0.5950930658396031, + 0.3635484001939709, + 0.6260562584126868, + -0.34892744949105653 + ], + 0.9363876581192017 + ], + [ + [ + -0.0872927602709124, + 0.049660411244571594, + -0.002649935899978098, + 0.6891059370052889, + 0.21621533539699395, + 0.6712693697831205, + -0.16667744152764288 + ], + 0.9359813332557678 + ], + [ + [ + 0.008678909730832818, + -0.007869719015121075, + -0.10138770286620181, + 0.9941811110786639, + -0.016299009413863332, + -0.056364938731688796, + -0.09033966099279389 + ], + 0.9349111318588257 + ], + [ + [ + 0.04991215128890777, + 0.08695040321940223, + 0.007895375595683637, + 0.3487706154022498, + 0.6292203923891286, + 0.36730799746610976, + -0.5895130114179357 + ], + 0.9344545602798462 + ], + [ + [ + 0.007967012342732194, + 0.0012720113623295103, + -0.09902484063685459, + 0.9995188329320438, + -0.017501967281427288, + -0.01249038418753945, + -0.022355626993959175 + ], + 0.9342429041862488 + ], + [ + [ + -0.09592580761321282, + -0.028690061950742814, + -0.004361347301607546, + 0.13821129637705645, + -0.6723772492364809, + -0.07704401338454892, + -0.7230979824785561 + ], + 0.9331320524215698 + ], + [ + [ + 0.011134528894644025, + -0.09418035619860848, + -0.05765226949632686, + 0.8603927563429364, + -0.5038175991354996, + -0.07102687378840933, + -0.029108672827708754 + ], + 0.9327182769775391 + ], + [ + [ + -0.06480117108233666, + -0.08426716499930581, + -0.0022472627523593275, + 0.623529306720895, + -0.31624222914876404, + 0.6292374429857234, + 0.33950301398952143 + ], + 0.9313524961471558 + ], + [ + [ + 0.0025506830911299016, + -0.10512902908927163, + -0.010792774154549059, + 0.724990847067168, + -0.6885398476867092, + -0.011993637094254606, + -0.012542028769066007 + ], + 0.9309958815574646 + ], + [ + [ + 0.006364978723894599, + -0.00391246397016904, + -0.10574214254200977, + 0.041478844467146433, + 0.05247426337006936, + -0.02372499902571157, + -0.9974783614528532 + ], + 0.9302167296409607 + ], + [ + [ + 0.08377511833302284, + 0.05885468102091589, + 0.005825771943921629, + 0.2145337873132233, + 0.6841250827876119, + 0.2187208218084451, + -0.6618982756506672 + ], + 0.9300014972686768 + ], + [ + [ + -0.009357159617621657, + 0.07962678796643058, + -0.054776803596620974, + 0.8802623123475486, + 0.47415499271357137, + 0.017015916813725607, + 0.005075718700709553 + ], + 0.9297718405723572 + ], + [ + [ + -0.07558323408969139, + 0.06331711686247626, + 0.004158124321395937, + 0.6580728393958027, + 0.24393360965554342, + 0.6810581846255458, + -0.20879722527974023 + ], + 0.9292916655540466 + ], + [ + [ + 0.007896689106445554, + 0.0792924878656272, + -0.05392292235672992, + 0.8796264043875314, + 0.47465370166406495, + -0.030992484358011496, + 0.0008474161804702915 + ], + 0.9284639954566956 + ], + [ + [ + 0.003442211416285279, + -0.09401529603606423, + -0.05643859226882976, + 0.011226373839273586, + -0.04253542922875569, + 0.47456683397186594, + 0.8791194605311988 + ], + 0.9279835224151611 + ], + [ + [ + 0.0010075706427132515, + 0.048990887170970825, + 0.08909648563086468, + 0.0011935990920148131, + 0.022790401803872536, + 0.9673127631924405, + -0.2525573025509865 + ], + 0.9278251528739929 + ], + [ + [ + -0.10365549440987801, + -0.002125649433269712, + -0.02080006991208118, + 0.5434917652584392, + -0.4745956417922715, + 0.44280504883041283, + -0.5322587402930483 + ], + 0.9274035692214966 + ], + [ + [ + 0.004715908192764762, + -0.04334590160256586, + -0.09863136057436984, + 0.9778106998915811, + -0.19904824256075435, + -0.03137215882952149, + -0.057287171001774946 + ], + 0.9269307851791382 + ], + [ + [ + -0.09414418007739281, + 0.005645192275137094, + -0.02683508489907306, + 0.5767607988647719, + 0.43183206295984033, + 0.4123685412611452, + 0.5575125437789487 + ], + 0.9268277883529663 + ], + [ + [ + -0.05725252594359612, + 0.08343811756962577, + 0.005271531635219637, + 0.607731477727338, + 0.361224890075683, + 0.6267977367729328, + -0.32757232322875973 + ], + 0.9250271916389465 + ], + [ + [ + -0.06022790412910676, + -0.08965026908522805, + 0.0017299932597898277, + 0.3415288684948069, + -0.6172138194799429, + -0.3396212236296996, + -0.62214351840062 + ], + 0.9226351380348206 + ], + [ + [ + -0.001461206130016801, + -0.10281264358168801, + -0.013443063950841841, + 0.053941233737504646, + -0.0077782880698212, + 0.6862028749070396, + 0.7253657394769156 + ], + 0.9210415482521057 + ], + [ + [ + 0.002552661685939672, + -0.10481373541957101, + -0.0026867461919091312, + 0.7150724907434096, + -0.6989444634634291, + -0.00737612056697734, + -0.009672787665237938 + ], + 0.9209696650505066 + ], + [ + [ + 0.0532631877481153, + 0.09133974886530677, + 0.004377076861704174, + 0.6162268863304513, + 0.3742469850604749, + -0.6054418558635535, + 0.3371109281899915 + ], + 0.9199880957603455 + ], + [ + [ + -0.004244591701109168, + 0.023604181176364807, + -0.09612314496815723, + 0.08922160783363475, + 0.009704539169257224, + -0.08924768345965217, + 0.9919577499128577 + ], + 0.9197617769241333 + ], + [ + [ + 0.007389551368277314, + -0.015166419977008912, + -0.09714441095173877, + 0.9987444311830636, + -0.03293899649850688, + -0.03736565481940657, + -0.005328370333175889 + ], + 0.9196481108665466 + ], + [ + [ + -0.0024020167861918186, + 0.09748044288748542, + 0.0027997654334403904, + 0.4575102879931372, + 0.4382409195950855, + 0.5582497280372272, + -0.535711185172806 + ], + 0.9192835092544556 + ], + [ + [ + 0.0003401399785334048, + -0.0003753726454811048, + -0.10214524809897464, + 0.9989044526623351, + -0.031968797164076794, + -0.024321659189620037, + -0.02400723544072435 + ], + 0.9149937629699707 + ], + [ + [ + 0.051111109894435645, + -0.0033700528551485268, + 0.08550678844868619, + 0.20961749321604006, + -0.674119595652425, + -0.6907766286495186, + 0.15636792064499327 + ], + 0.9149286150932312 + ], + [ + [ + -0.07358340139992928, + -0.06561743044263085, + 0.004634259728039089, + 0.2519148584272334, + -0.6581690624177395, + -0.24908956898933177, + -0.6643092472639908 + ], + 0.9147508144378662 + ], + [ + [ + 0.00320447805776799, + 0.006605779799014715, + -0.10592406336844486, + 0.9997747311778642, + -0.004892320248699998, + -0.020077729899556584, + 0.0048411633822386885 + ], + 0.913472592830658 + ], + [ + [ + -0.0015102343263888927, + 0.10427847183340827, + 0.004548905411059442, + 0.49114713588605063, + 0.5347790748708805, + 0.4957750414725338, + -0.4764377611441833 + ], + 0.9121506214141846 + ], + [ + [ + -0.0982628759325335, + 0.009196856571674732, + 0.02942043821632344, + 0.4126061045177298, + -0.5601407986610113, + 0.5824815864210956, + -0.4203732742105193 + ], + 0.9102306365966797 + ], + [ + [ + -0.07434926148064827, + -0.07756445878154, + -0.017231467186217722, + 0.6994812207417682, + -0.2539197425836368, + 0.5937008457215877, + 0.30621902609951773 + ], + 0.9100514650344849 + ], + [ + [ + 0.05803416330806518, + 0.0014588747176680838, + 0.08259510900198895, + 0.20416129945993403, + 0.6790081949225324, + -0.6702333032579583, + -0.2192107530090651 + ], + 0.9086743593215942 + ], + [ + [ + 0.0043744988410880595, + -0.09442089819318017, + -0.05210788269222301, + 0.8651517684992978, + -0.5003499377077706, + -0.019071128804632353, + -0.028260384719332884 + ], + 0.9081690907478333 + ], + [ + [ + 0.06506618146292473, + -0.08363441699153146, + 0.005134894040668789, + 0.5981615404347803, + -0.30701646836226526, + -0.6642291255183892, + -0.3267159752937231 + ], + 0.9081486463546753 + ], + [ + [ + -0.10367400910266136, + 0.0007437587951649103, + -0.015365739359264788, + 0.4850282808498219, + 0.49160870237523335, + 0.44363856838454085, + 0.5711858464339962 + ], + 0.908004641532898 + ], + [ + [ + 0.0061522567316105396, + -0.03834133171445093, + -0.08893198613703769, + 0.06960203352545988, + -0.02227154249183583, + 0.218381053866736, + 0.973123450871578 + ], + 0.907597541809082 + ], + [ + [ + 0.006533213765095714, + 0.05055283806318083, + -0.09388902877152484, + 0.9755939382629462, + 0.21688652817194365, + -0.027561557943107218, + -0.02042209699966428 + ], + 0.9057994484901428 + ], + [ + [ + 0.05012896318427825, + -0.0032442372289147106, + 0.08862526621043164, + 0.17907357375647034, + 0.6842149021128471, + -0.6829721392460741, + -0.18256965772667055 + ], + 0.9056114554405212 + ], + [ + [ + -0.09515141661771034, + 0.02599566108578482, + -0.002491553087463197, + 0.7283258081556164, + 0.08154390173692838, + 0.6734654249839357, + -0.09662520693480062 + ], + 0.9021279215812683 + ], + [ + [ + 0.003405339191403034, + 0.01031817547076979, + -0.09757822100699466, + 0.19371533295359117, + -0.0008756906733397132, + -0.05054994956914327, + 0.9797542066983337 + ], + 0.9020488858222961 + ], + [ + [ + -0.0593541745425055, + 0.0876366463958625, + 0.009250274853105131, + 0.6063239271487746, + 0.3587785710494478, + 0.6304138272066475, + -0.3259258179237582 + ], + 0.9015272259712219 + ], + [ + [ + -0.0059016585678646535, + -0.10695783370143136, + -0.005933989311312851, + 0.725582390542436, + -0.6873391873670952, + 0.020686901215632325, + -0.025828049913990837 + ], + 0.9015103578567505 + ], + [ + [ + 0.0008657992488851575, + 0.08606337434643546, + -0.04309536982954067, + 0.08029090234658369, + 0.012593641183341765, + -0.504524946954993, + 0.8595634642667047 + ], + 0.8995612859725952 + ], + [ + [ + -0.05120649899848199, + 0.0817360994874839, + 0.001331925269471887, + 0.38017916744030766, + 0.6103623685657473, + -0.33959832419023783, + 0.606295767666564 + ], + 0.8980921506881714 + ], + [ + [ + 0.0026485043249239947, + 0.05088426969045439, + -0.09402567987025302, + 0.10680073242317617, + 0.010430613949581394, + -0.2390944396596335, + 0.9650485245677307 + ], + 0.8976646661758423 + ], + [ + [ + -0.09477715160258507, + -0.001512052793673786, + -0.01676680427670997, + 0.5298132540635818, + -0.46611040620416433, + 0.47106247432473314, + -0.5292817305838238 + ], + 0.897577702999115 + ], + [ + [ + -0.04143422435529923, + 0.08849215931290427, + 0.006422138766641203, + 0.400311866192035, + 0.5982999498312208, + -0.36857023110768816, + 0.5881696732738214 + ], + 0.8975424766540527 + ], + [ + [ + 0.02222931046478057, + -0.003295528422727796, + -0.09547536913931888, + 0.6848661391291502, + 0.09172711260245703, + -0.08119881838986076, + -0.7182974733214916 + ], + 0.89715576171875 + ], + [ + [ + 0.04515220258824134, + -0.09133641743069848, + 0.0007226804092288347, + 0.366470748089052, + -0.6352892066816277, + 0.35056382667774766, + 0.5824189369293661 + ], + 0.8963488340377808 + ], + [ + [ + -0.009692383590419051, + -0.06459018909341058, + 0.08316346909224469, + 0.31498807319741257, + -0.9474857236396903, + -0.00863869946373641, + -0.054577377309003826 + ], + 0.8963150382041931 + ], + [ + [ + 0.00037534586360284957, + 0.09950203872317115, + 0.01280666607737023, + 0.48591881712233265, + 0.5447077082538097, + 0.4955667204454527, + -0.47073351412689285 + ], + 0.8956792950630188 + ], + [ + [ + 0.05449142713538909, + 0.0936042634307746, + -0.0004045251179258941, + 0.37109156875037014, + 0.6102556951466641, + 0.3578618129337374, + -0.6015097314152364 + ], + 0.8955327868461609 + ], + [ + [ + -0.011527985926050898, + 0.10370210981959144, + 0.0009999838595040472, + 0.5103765618283684, + 0.5044618871969002, + -0.48236564411065563, + 0.502351823808482 + ], + 0.8950636386871338 + ], + [ + [ + 0.05279246751658225, + -0.08951308154469689, + 0.004426616703415695, + 0.5906225434599471, + -0.32419220291811507, + -0.6374312196796368, + -0.3738259847866817 + ], + 0.8944423198699951 + ], + [ + [ + 0.012815621089856866, + 0.003092464339301375, + -0.09562689904749912, + 0.7192751760467175, + -0.0185209599690341, + -0.03762984300090266, + 0.6934581386648494 + ], + 0.893351674079895 + ], + [ + [ + 0.08605243299595619, + -0.05400711991792879, + 0.004436247044498506, + 0.6672425008958117, + -0.16468834141024158, + -0.6898439156441997, + -0.22755343823050583 + ], + 0.8931870460510254 + ], + [ + [ + -0.01883952471919751, + -0.09653285467034539, + 0.0012179015840165647, + 0.5463645208724435, + -0.4891775755709384, + 0.5135298289558778, + 0.4455089501490534 + ], + 0.8929864168167114 + ], + [ + [ + 0.012238326822142842, + 0.0019291004169140135, + -0.0999173084336571, + 0.772157315484156, + -0.03890855295315915, + -0.06030948008781278, + 0.6313651647524839 + ], + 0.892698347568512 + ], + [ + [ + -0.006546479775835034, + -0.032077487045585724, + -0.10090040509284061, + 0.09863947213711978, + 0.02498194868119722, + 0.17263778438692723, + 0.9797154444932331 + ], + 0.8926149606704712 + ], + [ + [ + 0.08947735313765312, + -0.04156709038621149, + 0.0019311553270317944, + 0.1927443033369164, + -0.6877336286408178, + 0.14320827441609663, + 0.6851010726210139 + ], + 0.8919445872306824 + ], + [ + [ + -0.032484531062919854, + 0.00029591615343132354, + -0.09742110316336673, + 0.7190720255055395, + 0.12196847032663102, + 0.10300731391558271, + 0.6763494715466546 + ], + 0.8917402625083923 + ], + [ + [ + -0.09035355563767647, + -0.002890847809299442, + 0.03515744115530926, + 0.38851881794188564, + 0.6071771857104592, + 0.566325362294365, + 0.3995805016262964 + ], + 0.8913246989250183 + ], + [ + [ + 0.08664401654593254, + -0.005766337224900338, + 0.05350328888117749, + 0.3878709448289443, + -0.5994618071261192, + -0.6265015275285595, + 0.31256600576353716 + ], + 0.8911612033843994 + ], + [ + [ + -0.09121732379801964, + -0.003394863288536283, + -0.05399849732101482, + 0.6325826740548117, + 0.3182329803684166, + 0.3420107045917701, + 0.6177342540576328 + ], + 0.8908458352088928 + ], + [ + [ + 0.03929794613711143, + -0.005915214260726782, + 0.09340528304993588, + 0.1546411367162071, + 0.6749097718314558, + -0.7029802841827791, + -0.16248581098616113 + ], + 0.8902269005775452 + ], + [ + [ + -0.09371586855061745, + -0.0011549730083566035, + -0.05896041636050266, + 0.625522820366024, + 0.3385430096217757, + 0.3484099083347736, + 0.6105082862760507 + ], + 0.8887434601783752 + ], + [ + [ + 0.03217767212979102, + 0.008724771021247295, + -0.10051503126204532, + 0.6955400277770675, + -0.09443791274520554, + -0.14842154436428368, + 0.6966179695964828 + ], + 0.8881751298904419 + ], + [ + [ + -0.002012387276891825, + -0.055323548102438065, + 0.0830881139200874, + 0.042388685905556264, + 0.010770773295605638, + 0.9609553058241709, + 0.2732253464783036 + ], + 0.8880458474159241 + ], + [ + [ + 0.0004939814584476677, + 0.0032181337478909763, + -0.10009504948437732, + 0.6823333516129623, + 0.03588625691190497, + -0.0013951168152932514, + -0.7301584947739407 + ], + 0.8870725631713867 + ], + [ + [ + 0.042205915194671394, + 0.083651681011856, + -0.002933202317660269, + 0.6414188577801986, + 0.34192287357912643, + -0.5982129644087404, + 0.33736011415199246 + ], + 0.8856816291809082 + ], + [ + [ + -0.10500913824446892, + 0.002655520383581904, + 0.006610856385225836, + 0.6998642131975825, + 0.024408016064206943, + 0.7130226647935514, + 0.03453999606023235 + ], + 0.885647714138031 + ], + [ + [ + 0.059690714222114326, + 0.0010808087422851597, + 0.08355299289643246, + 0.2357017655017376, + -0.6785457108411234, + -0.6639380207743419, + 0.2078622154426537 + ], + 0.8848794102668762 + ], + [ + [ + 0.06031161208144927, + -0.08376191132670602, + -0.0034218342106096117, + 0.38159504908905506, + -0.6403859367694406, + 0.2909393815256448, + 0.5997043828221728 + ], + 0.8840065002441406 + ], + [ + [ + 0.02531689066879058, + 0.0022365625950846943, + -0.10166620556891483, + 0.9823269273738191, + 0.03803422268867601, + -0.11667000448951392, + -0.14133405715961275 + ], + 0.8838525414466858 + ], + [ + [ + -0.03883616219766831, + 0.09252535230511466, + 0.02878879661976773, + 0.3886423230896751, + 0.6637299123598627, + -0.39728404303761033, + 0.5005847953043719 + ], + 0.8833556175231934 + ], + [ + [ + 0.007032711398523095, + 0.09271157956713477, + -0.005101774825458941, + 0.04958283696844887, + -0.021052398413559402, + -0.7116550489252675, + 0.7004608698124203 + ], + 0.8829363584518433 + ], + [ + [ + -0.00047523226615434614, + 0.0820211587011222, + -0.04369205330193561, + 0.06613034290189497, + 0.003975507945316556, + -0.5243882286309126, + 0.848898085024102 + ], + 0.881764829158783 + ], + [ + [ + -0.09538312967427467, + -0.06244342722898683, + 0.0018941999816097649, + 0.21482732027097046, + -0.6793904561774302, + -0.17692938044157847, + -0.6789505319658985 + ], + 0.8812313079833984 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00012/metadata.json b/Objects/RoboDojo/Rigid/block/00012/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..f634d2b93f635ebb9cc63a31ac01099b0fb8e65f --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00012/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "4241ac1d-5b39-4a2e-9c01-ecf117a12cad", + "geometry": { + "faces": 1452, + "vertices": 2244, + "aligned_bbox": { + "vertices": [ + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ], + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ], + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + }, + "radius": 0.0268 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0002, + -0.0013, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0, + -0.0, + -0.0175, + 1.0, + -0.0002, + 0.0013, + 0.0 + ], + "radius": 0.0228 + }, + "contact_circle": { + "center": [ + 0.0, + -0.0, + -0.0175, + 1.0, + -0.0002, + 0.0013, + 0.0 + ], + "radius": 0.0206 + } + } + } + }, + "physics": { + "mass": 0.25, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.014 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00013/description.json b/Objects/RoboDojo/Rigid/block/00013/description.json new file mode 100644 index 0000000000000000000000000000000000000000..2a06825601bc17fddb67fa07ad130733d74fe074 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00013/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "4241ac1d-5b39-4a2e-9c01-ecf117a12cad", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "round face object used for monitoring daily activity", + "rubberized grip fitness tracker used for showing notifications", + "palm-sized brushed aluminum fitness tracker", + "smartwatch commonly found in about 5 inches tall size", + "fitness tracker commonly found in palm-sized size", + "brushed aluminum smartwatch for tracking heart rate", + "about 5 inches tall round face fitness tracker for tracking heart rate", + "tracking heart rate use of fitness tracker", + "smartwatch suitable for tracking heart rate", + "Apple Watch optimized for showing notifications", + "smartwatch colored matte black", + "monitoring daily activity with fitness tracker", + "matte black fitness tracker for showing notifications", + "round face slim profile smartwatch", + "slim profile smartwatch perfect for tracking heart rate", + "fitness tracker built from brushed aluminum", + "smartwatch for tracking heart rate with tempered glass front", + "subtle blue LED glow smartwatch typically used for tracking heart rate", + "Apple Watch with tempered glass front construction", + "fitness tracker for showing notifications", + "tempered glass front fitness tracker used for showing notifications", + "dark gray accents object used for monitoring daily activity", + "slim profile rubberized grip object", + "smartwatch for monitoring daily activity activities", + "curved edges rubberized grip fitness tracker for monitoring daily activity", + "smartwatch sized as slim profile", + "matte black about 5 inches tall fitness tracker for tracking heart rate", + "about 5 inches tall dark gray accents smartwatch", + "smartwatch optimized for showing notifications", + "fitness tracker designed for tracking heart rate", + "tempered glass front Apple Watch for tracking heart rate", + "tempered glass front curved edges smartwatch", + "round face tempered glass front object for monitoring daily activity", + "fitness tracker appropriate for showing notifications", + "matte black Apple Watch typically used for monitoring daily activity", + "smartwatch appropriate for tracking heart rate use", + "subtle blue LED glow rubberized grip round face Apple Watch", + "Apple Watch ideal for monitoring daily activity", + "Apple Watch used to showing notifications", + "about 5 inches tall tempered glass front object", + "smartwatch intended for showing notifications", + "round face object made of rubberized grip", + "tracking heart rate use of smartwatch", + "smartwatch with matte black color", + "subtle blue LED glow round face object for tracking heart rate", + "Apple Watch for tracking heart rate", + "smartwatch for monitoring daily activity with tempered glass front", + "matte black smartwatch for showing notifications", + "smartwatch commonly found in slim profile size", + "Apple Watch made from tempered glass front", + "fitness tracker primarily used for monitoring daily activity", + "about 5 inches tall matte black curved edges for tracking heart rate", + "brushed aluminum smartwatch", + "palm-sized subtle blue LED glow smartwatch", + "subtle blue LED glow about 5 inches tall round face smartwatch", + "subtle blue LED glow Apple Watch used for tracking heart rate", + "rubberized grip smartwatch suitable for monitoring daily activity", + "dark gray accents round face object for monitoring daily activity", + "dark gray accents about 5 inches tall tempered glass front object", + "fitness tracker intended for monitoring daily activity usage", + "Apple Watch designed for showing notifications", + "subtle blue LED glow slim profile Apple Watch for tracking heart rate", + "dark gray accents fitness tracker for monitoring daily activity", + "matte black rubberized grip smartwatch", + "dark gray accents rubberized grip smartwatch", + "tempered glass front rectangular case Apple Watch", + "Apple Watch in round face form", + "fitness tracker colored dark gray accents", + "smartwatch in rectangular case", + "smartwatch in palm-sized", + "palm-sized Apple Watch used for tracking heart rate", + "subtle blue LED glow rubberized grip smartwatch", + "matte black tempered glass front Apple Watch", + "fitness tracker used to tracking heart rate", + "slim profile dark gray accents tempered glass front Apple Watch", + "monitoring daily activity use of Apple Watch", + "round face smartwatch ideal for showing notifications", + "Apple Watch featuring round face shape", + "fitness tracker featuring rectangular case shape", + "tempered glass front object for showing notifications", + "subtle blue LED glow round face Apple Watch used for monitoring daily activity", + "curved edges brushed aluminum object for tracking heart rate", + "Apple Watch for monitoring daily activity tasks", + "tempered glass front fitness tracker for monitoring daily activity", + "smartwatch suitable for monitoring daily activity", + "smartwatch for showing notifications activities", + "tracking heart rate with Apple Watch", + "Apple Watch for monitoring daily activity scenarios", + "about 5 inches tall fitness tracker perfect for monitoring daily activity", + "palm-sized rectangular case object", + "rectangular case Apple Watch ideal for showing notifications", + "Apple Watch for tracking heart rate tasks", + "about 5 inches tall rectangular case object for showing notifications", + "rectangular case tempered glass front fitness tracker for showing notifications", + "fitness tracker in matte black", + "fitness tracker with matte black color", + "tempered glass front subtle blue LED glow smartwatch", + "about 5 inches tall rectangular case object for monitoring daily activity", + "palm-sized rectangular case object for monitoring daily activity", + "rectangular case brushed aluminum smartwatch for showing notifications" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00013/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00013/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..b56e756a6f13e4b56b1c2ee45988749cf77d809d --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00013/grasps/UMI.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0063, + 0.008, + 0.0259, + -0.0079, + 0.9984, + 0.0565, + 0.0016 + ], + [ + -0.0001, + -0.001, + 0.0028, + -0.0047, + 0.7075, + 0.7067, + 0.0045 + ], + [ + -0.0087, + -0.0002, + 0.0036, + 0.8655, + 0.0133, + -0.5006, + -0.0033 + ], + [ + 0.0, + 0.001, + 0.003, + -0.0022, + -0.7071, + 0.7072, + -0.0026 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00013/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00013/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..d62835ed21be864c2f4f5b7a2c7fb066b6b64082 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00013/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0097, + -0.004, + 0.0008, + -0.5934, + 0.5757, + 0.5223, + 0.2086 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00013/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00013/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..113c859b4bb0d8a2061b83f2d500ab2acfc3a342 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00013/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0008, + 0.0015, + 0.0051, + 0.0997, + 0.7527, + 0.6328, + -0.1515 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00013/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00013/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..07f2b64819ddc1f902ba7692c995ef1f16554092 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00013/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + -0.0, + 0.003, + -0.0, + 1.0, + 0.0, + -0.0 + ], + [ + 0.0, + -0.0, + 0.003, + 0.0, + 0.7071, + 0.7071, + -0.0 + ], + [ + 0.0, + 0.0, + 0.003, + 0.0, + -0.0, + 1.0, + -0.0 + ], + [ + -0.0, + 0.0, + 0.003, + 0.0, + -0.7071, + 0.7071, + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00013/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00013/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..82c5d620c4ebfc82e1f7076ca9e641c8264dc1a7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00013/grasps/piper_v1.json @@ -0,0 +1,32 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0001, + -0.0, + 0.003, + -0.0007, + 1.0, + -0.0052, + -0.0027 + ], + [ + 0.0001, + 0.0013, + 0.003, + 0.0082, + 0.7154, + 0.6985, + -0.015 + ], + [ + -0.0, + -0.0, + 0.003, + 0.002, + 0.005, + 1.0, + -0.0019 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00013/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00013/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..243a3076fdbb45e63ee57b013c55008bf1b51512 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00013/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + [ + 0.0, + 0.0, + 0.105, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00013/metadata.json b/Objects/RoboDojo/Rigid/block/00013/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..3fa67839e415db929fb3fb2698546564ad0913f0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00013/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "4241ac1d-5b39-4a2e-9c01-ecf117a12cad", + "geometry": { + "faces": 1452, + "vertices": 2244, + "aligned_bbox": { + "vertices": [ + [ + -0.02, + -0.02, + -0.02 + ], + [ + -0.02, + -0.02, + 0.02 + ], + [ + -0.02, + 0.02, + -0.02 + ], + [ + -0.02, + 0.02, + 0.02 + ], + [ + 0.02, + -0.02, + -0.02 + ], + [ + 0.02, + -0.02, + 0.02 + ], + [ + 0.02, + 0.02, + -0.02 + ], + [ + 0.02, + 0.02, + 0.02 + ] + ], + "extents": [ + 0.04, + 0.04, + 0.04 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.02, + 0.02, + 0.02 + ], + [ + 0.02, + 0.02, + 0.02 + ], + [ + -0.02, + 0.02, + -0.02 + ], + [ + 0.02, + 0.02, + -0.02 + ], + [ + -0.02, + -0.02, + 0.02 + ], + [ + 0.02, + -0.02, + 0.02 + ], + [ + -0.02, + -0.02, + -0.02 + ], + [ + 0.02, + -0.02, + -0.02 + ] + ], + "extents": [ + 0.04, + 0.04, + 0.04 + ] + }, + "radius": 0.0306 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0025, + 0.0035, + 0.0 + ], + "projection_circle": { + "center": [ + 0.0001, + -0.0001, + -0.0202, + 1.0, + -0.0025, + -0.0035, + -0.0 + ], + "radius": 0.0262 + }, + "contact_circle": { + "center": [ + -0.0, + -0.0004, + -0.0202, + 1.0, + -0.0025, + -0.0035, + -0.0 + ], + "radius": 0.0233 + } + } + } + }, + "physics": { + "mass": 0.3, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.02 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00014/description.json b/Objects/RoboDojo/Rigid/block/00014/description.json new file mode 100644 index 0000000000000000000000000000000000000000..d790e592576bf4c403170636488ed2621ca045df --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00014/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "a0762e62-687f-40b1-93b6-2a57ff625a91", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "Apple Watch appropriate for showing notifications use", + "rubberized grip curved edges for showing notifications", + "Apple Watch for showing notifications tasks", + "Apple Watch colored subtle blue LED glow", + "palm-sized subtle blue LED glow brushed aluminum round face object", + "palm-sized subtle blue LED glow brushed aluminum curved edges object", + "palm-sized Apple Watch for monitoring daily activity", + "slim profile matte black tempered glass front curved edges object", + "Apple Watch in dark gray accents", + "smartwatch in curved edges form", + "tempered glass front Apple Watch suitable for monitoring daily activity", + "Apple Watch for tracking heart rate", + "smartwatch for showing notifications activities", + "Apple Watch made of brushed aluminum", + "Apple Watch with brushed aluminum body", + "fitness tracker commonly found in palm-sized size", + "fitness tracker with matte black exterior", + "about 5 inches tall Apple Watch used for tracking heart rate", + "subtle blue LED glow brushed aluminum Apple Watch", + "fitness tracker suitable for monitoring daily activity", + "subtle blue LED glow Apple Watch used for monitoring daily activity", + "smartwatch appropriate for monitoring daily activity use", + "smartwatch used to tracking heart rate", + "brushed aluminum smartwatch suitable for showing notifications", + "Apple Watch intended for monitoring daily activity usage", + "Apple Watch featuring rectangular case shape", + "palm-sized Apple Watch used for tracking heart rate", + "fitness tracker for showing notifications scenarios", + "subtle blue LED glow about 5 inches tall smartwatch for showing notifications", + "smartwatch for monitoring daily activity scenarios", + "palm-sized dark gray accents object for showing notifications", + "matte black smartwatch designed for tracking heart rate", + "slim profile round face fitness tracker", + "tempered glass front round face for monitoring daily activity", + "dark gray accents Apple Watch designed for tracking heart rate", + "Apple Watch for monitoring daily activity scenarios", + "slim profile object used for tracking heart rate", + "palm-sized subtle blue LED glow tempered glass front fitness tracker", + "tracking heart rate with fitness tracker", + "fitness tracker in rectangular case", + "curved edges-shaped Apple Watch", + "smartwatch typically made of tempered glass front", + "rectangular case palm-sized smartwatch", + "Apple Watch featuring round face shape", + "smartwatch suitable for showing notifications", + "fitness tracker with brushed aluminum construction", + "slim profile round face object for tracking heart rate", + "brushed aluminum rectangular case object used for tracking heart rate", + "Apple Watch appropriate for showing notifications", + "rubberized grip Apple Watch", + "tracking heart rate with smartwatch", + "curved edges fitness tracker ideal for tracking heart rate", + "fitness tracker sized as palm-sized", + "tracking heart rate use of fitness tracker", + "smartwatch primarily used for monitoring daily activity", + "Apple Watch in rectangular case form", + "slim profile matte black curved edges object", + "Apple Watch colored dark gray accents", + "subtle blue LED glow rubberized grip rectangular case fitness tracker", + "brushed aluminum object for tracking heart rate", + "subtle blue LED glow round face object for showing notifications", + "slim profile smartwatch for monitoring daily activity", + "round face smartwatch for tracking heart rate", + "about 5 inches tall dark gray accents rubberized grip fitness tracker", + "rubberized grip fitness tracker used for monitoring daily activity", + "Apple Watch for showing notifications scenarios", + "curved edges-shaped smartwatch", + "slim profile subtle blue LED glow rectangular case for showing notifications", + "dark gray accents smartwatch used for monitoring daily activity", + "dark gray accents palm-sized curved edges fitness tracker", + "about 5 inches tall brushed aluminum object", + "fitness tracker with tempered glass front surface", + "Apple Watch for monitoring daily activity", + "curved edges object made of tempered glass front", + "fitness tracker ideal for tracking heart rate", + "fitness tracker for monitoring daily activity scenarios", + "palm-sized matte black tempered glass front fitness tracker", + "matte black object used for showing notifications", + "palm-sized curved edges smartwatch", + "fitness tracker for showing notifications", + "smartwatch with about 5 inches tall dimensions", + "palm-sized Apple Watch perfect for showing notifications", + "fitness tracker featuring curved edges shape", + "smartwatch with rectangular case profile", + "rubberized grip object for showing notifications", + "curved edges smartwatch ideal for monitoring daily activity", + "round face about 5 inches tall fitness tracker", + "smartwatch appropriate for monitoring daily activity", + "palm-sized smartwatch used for tracking heart rate", + "matte black curved edges Apple Watch", + "dark gray accents curved edges object for monitoring daily activity", + "Apple Watch featuring brushed aluminum build", + "slim profile round face Apple Watch", + "smartwatch with brushed aluminum body", + "palm-sized matte black object for tracking heart rate", + "fitness tracker typically made of rubberized grip", + "rectangular case Apple Watch ideal for monitoring daily activity", + "Apple Watch built from tempered glass front", + "slim profile fitness tracker for tracking heart rate", + "round face Apple Watch ideal for tracking heart rate" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00014/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00014/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..642fc82d2e34978b329545b1c6f816fe5ea73840 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00014/grasps/UMI.json @@ -0,0 +1,4 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00014/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00014/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..efdf2af9a9cb6f9b72b7ebdb13d88106d8d3ee0b --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00014/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + 0.0002, + -0.001, + 0.0, + 0.7072, + 0.707, + -0.0002 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00014/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00014/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..83c92bac0c0b176f72efa95c562fa9e6e6f3292c --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00014/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0002, + -0.0007, + -0.0018, + -0.012, + 0.6868, + 0.7267, + 0.0108 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00014/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00014/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..c0121586392385f4c910d8e246a98bde87dd4f13 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00014/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0, + -0.0, + 0.005, + 0.0, + 1.0, + -0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.005, + -0.0, + 0.7071, + 0.7071, + 0.0 + ], + [ + -0.0, + 0.0, + 0.005, + -0.0, + 0.0, + 1.0, + 0.0 + ], + [ + -0.0, + -0.0, + 0.005, + -0.0, + -0.7071, + 0.7071, + -0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00014/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00014/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..2f9af880edfe984bc1b85b4fdf82cb63148f7115 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00014/grasps/piper_v1.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + -0.0, + -0.001, + 0.0, + 1.0, + -0.0001, + -0.0 + ], + [ + -0.0, + -0.0, + -0.001, + -0.0002, + 0.7071, + 0.7071, + 0.0023 + ], + [ + 0.0, + -0.0, + -0.001, + -0.0015, + -0.0005, + 1.0, + 0.0015 + ], + [ + 0.0, + 0.0, + -0.001, + -0.0021, + -0.7072, + 0.707, + -0.0001 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00014/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00014/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..9dbe5be1e4f3781b90e071ad4b3bea768b5aa741 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00014/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + [ + 0.0, + 0.0, + 0.101, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00014/metadata.json b/Objects/RoboDojo/Rigid/block/00014/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..b4c3f7739b78387de9f6079f56c1d4499baad38c --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00014/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "a0762e62-687f-40b1-93b6-2a57ff625a91", + "geometry": { + "faces": 1452, + "vertices": 2244, + "aligned_bbox": { + "vertices": [ + [ + -0.015, + -0.015, + -0.015 + ], + [ + -0.015, + -0.015, + 0.015 + ], + [ + -0.015, + 0.015, + -0.015 + ], + [ + -0.015, + 0.015, + 0.015 + ], + [ + 0.015, + -0.015, + -0.015 + ], + [ + 0.015, + -0.015, + 0.015 + ], + [ + 0.015, + 0.015, + -0.015 + ], + [ + 0.015, + 0.015, + 0.015 + ] + ], + "extents": [ + 0.03, + 0.03, + 0.03 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.015, + 0.015, + 0.015 + ], + [ + 0.015, + 0.015, + 0.015 + ], + [ + -0.015, + 0.015, + -0.015 + ], + [ + 0.015, + 0.015, + -0.015 + ], + [ + -0.015, + -0.015, + 0.015 + ], + [ + 0.015, + -0.015, + 0.015 + ], + [ + -0.015, + -0.015, + -0.015 + ], + [ + 0.015, + -0.015, + -0.015 + ] + ], + "extents": [ + 0.03, + 0.03, + 0.03 + ] + }, + "radius": 0.0229 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0011, + -0.0006, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0, + -0.0, + -0.015, + 1.0, + -0.0011, + 0.0006, + 0.0 + ], + "radius": 0.0196 + }, + "contact_circle": { + "center": [ + -0.0, + -0.0, + -0.015, + 1.0, + -0.0011, + 0.0006, + 0.0 + ], + "radius": 0.0181 + } + } + } + }, + "physics": { + "mass": 0.2, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.015, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.015 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00015/description.json b/Objects/RoboDojo/Rigid/block/00015/description.json new file mode 100644 index 0000000000000000000000000000000000000000..d790e592576bf4c403170636488ed2621ca045df --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00015/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "a0762e62-687f-40b1-93b6-2a57ff625a91", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "Apple Watch appropriate for showing notifications use", + "rubberized grip curved edges for showing notifications", + "Apple Watch for showing notifications tasks", + "Apple Watch colored subtle blue LED glow", + "palm-sized subtle blue LED glow brushed aluminum round face object", + "palm-sized subtle blue LED glow brushed aluminum curved edges object", + "palm-sized Apple Watch for monitoring daily activity", + "slim profile matte black tempered glass front curved edges object", + "Apple Watch in dark gray accents", + "smartwatch in curved edges form", + "tempered glass front Apple Watch suitable for monitoring daily activity", + "Apple Watch for tracking heart rate", + "smartwatch for showing notifications activities", + "Apple Watch made of brushed aluminum", + "Apple Watch with brushed aluminum body", + "fitness tracker commonly found in palm-sized size", + "fitness tracker with matte black exterior", + "about 5 inches tall Apple Watch used for tracking heart rate", + "subtle blue LED glow brushed aluminum Apple Watch", + "fitness tracker suitable for monitoring daily activity", + "subtle blue LED glow Apple Watch used for monitoring daily activity", + "smartwatch appropriate for monitoring daily activity use", + "smartwatch used to tracking heart rate", + "brushed aluminum smartwatch suitable for showing notifications", + "Apple Watch intended for monitoring daily activity usage", + "Apple Watch featuring rectangular case shape", + "palm-sized Apple Watch used for tracking heart rate", + "fitness tracker for showing notifications scenarios", + "subtle blue LED glow about 5 inches tall smartwatch for showing notifications", + "smartwatch for monitoring daily activity scenarios", + "palm-sized dark gray accents object for showing notifications", + "matte black smartwatch designed for tracking heart rate", + "slim profile round face fitness tracker", + "tempered glass front round face for monitoring daily activity", + "dark gray accents Apple Watch designed for tracking heart rate", + "Apple Watch for monitoring daily activity scenarios", + "slim profile object used for tracking heart rate", + "palm-sized subtle blue LED glow tempered glass front fitness tracker", + "tracking heart rate with fitness tracker", + "fitness tracker in rectangular case", + "curved edges-shaped Apple Watch", + "smartwatch typically made of tempered glass front", + "rectangular case palm-sized smartwatch", + "Apple Watch featuring round face shape", + "smartwatch suitable for showing notifications", + "fitness tracker with brushed aluminum construction", + "slim profile round face object for tracking heart rate", + "brushed aluminum rectangular case object used for tracking heart rate", + "Apple Watch appropriate for showing notifications", + "rubberized grip Apple Watch", + "tracking heart rate with smartwatch", + "curved edges fitness tracker ideal for tracking heart rate", + "fitness tracker sized as palm-sized", + "tracking heart rate use of fitness tracker", + "smartwatch primarily used for monitoring daily activity", + "Apple Watch in rectangular case form", + "slim profile matte black curved edges object", + "Apple Watch colored dark gray accents", + "subtle blue LED glow rubberized grip rectangular case fitness tracker", + "brushed aluminum object for tracking heart rate", + "subtle blue LED glow round face object for showing notifications", + "slim profile smartwatch for monitoring daily activity", + "round face smartwatch for tracking heart rate", + "about 5 inches tall dark gray accents rubberized grip fitness tracker", + "rubberized grip fitness tracker used for monitoring daily activity", + "Apple Watch for showing notifications scenarios", + "curved edges-shaped smartwatch", + "slim profile subtle blue LED glow rectangular case for showing notifications", + "dark gray accents smartwatch used for monitoring daily activity", + "dark gray accents palm-sized curved edges fitness tracker", + "about 5 inches tall brushed aluminum object", + "fitness tracker with tempered glass front surface", + "Apple Watch for monitoring daily activity", + "curved edges object made of tempered glass front", + "fitness tracker ideal for tracking heart rate", + "fitness tracker for monitoring daily activity scenarios", + "palm-sized matte black tempered glass front fitness tracker", + "matte black object used for showing notifications", + "palm-sized curved edges smartwatch", + "fitness tracker for showing notifications", + "smartwatch with about 5 inches tall dimensions", + "palm-sized Apple Watch perfect for showing notifications", + "fitness tracker featuring curved edges shape", + "smartwatch with rectangular case profile", + "rubberized grip object for showing notifications", + "curved edges smartwatch ideal for monitoring daily activity", + "round face about 5 inches tall fitness tracker", + "smartwatch appropriate for monitoring daily activity", + "palm-sized smartwatch used for tracking heart rate", + "matte black curved edges Apple Watch", + "dark gray accents curved edges object for monitoring daily activity", + "Apple Watch featuring brushed aluminum build", + "slim profile round face Apple Watch", + "smartwatch with brushed aluminum body", + "palm-sized matte black object for tracking heart rate", + "fitness tracker typically made of rubberized grip", + "rectangular case Apple Watch ideal for monitoring daily activity", + "Apple Watch built from tempered glass front", + "slim profile fitness tracker for tracking heart rate", + "round face Apple Watch ideal for tracking heart rate" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00015/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00015/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8900efbe463dea9722a336b4e22af3d9ea97f822 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00015/grasps/UMI.json @@ -0,0 +1,347 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0008, + -0.0005, + -0.0026, + 0.9969, + 0.0315, + -0.0653, + -0.029 + ], + [ + -0.0058, + 0.0146, + 0.009, + 0.8441, + 0.5192, + 0.0751, + -0.1109 + ], + [ + -0.0138, + -0.0021, + -0.0132, + 0.0053, + 0.0049, + -0.2093, + -0.9778 + ], + [ + -0.0027, + -0.0021, + 0.017, + 0.832, + -0.1274, + 0.5002, + 0.2034 + ], + [ + -0.0014, + -0.0042, + 0.0003, + 0.9959, + -0.0161, + -0.0409, + -0.0785 + ], + [ + -0.0007, + 0.0018, + -0.0113, + 0.0732, + -0.7442, + -0.1007, + -0.6562 + ], + [ + 0.0001, + -0.0052, + -0.0083, + 0.8602, + -0.5039, + -0.0698, + -0.0352 + ], + [ + -0.001, + -0.0031, + -0.0061, + 0.7254, + -0.6883, + 0.0005, + -0.0015 + ], + [ + 0.0009, + -0.0005, + 0.001, + 0.2163, + 0.6836, + 0.2162, + -0.6627 + ], + [ + -0.0034, + -0.0056, + 0.0012, + 0.8798, + 0.4745, + 0.0262, + 0.0113 + ], + [ + -0.0028, + 0.0001, + -0.0045, + 0.5395, + -0.468, + 0.449, + -0.537 + ], + [ + 0.0037, + 0.0041, + 0.0024, + 0.5713, + 0.4264, + 0.4185, + 0.5627 + ], + [ + -0.0059, + 0.0092, + 0.0017, + 0.058, + 0.0018, + -0.036, + 0.9977 + ], + [ + 0.0301, + 0.0106, + -0.012, + -0.5629, + 0.0567, + -0.8235, + -0.0414 + ], + [ + -0.001, + 0.0061, + -0.0003, + 0.9991, + -0.0335, + -0.0144, + -0.0214 + ], + [ + 0.0042, + -0.0221, + 0.0005, + 0.2884, + -0.0759, + 0.925, + 0.2355 + ], + [ + -0.0063, + -0.0096, + -0.0103, + 0.864, + -0.4539, + 0.1924, + -0.1018 + ], + [ + -0.012, + 0.0081, + -0.0022, + 0.9759, + 0.2184, + -0.0001, + 0.0002 + ], + [ + 0.0017, + 0.0106, + 0.0025, + 0.1148, + 0.6592, + -0.7095, + -0.2213 + ], + [ + 0.0034, + 0.0004, + 0.0012, + 0.7221, + 0.0841, + 0.68, + -0.0951 + ], + [ + -0.0054, + 0.0017, + 0.0009, + 0.6048, + 0.358, + 0.6321, + -0.3265 + ], + [ + 0.0015, + 0.0039, + -0.0034, + 0.0909, + 0.0009, + -0.241, + 0.9663 + ], + [ + -0.0005, + -0.0056, + -0.0099, + 0.3844, + 0.5935, + -0.3844, + 0.5935 + ], + [ + -0.0011, + -0.0034, + 0.0017, + 0.3152, + -0.947, + -0.0056, + -0.0609 + ], + [ + -0.0026, + -0.0017, + 0.0008, + 0.4826, + 0.5475, + 0.4983, + -0.468 + ], + [ + 0.0054, + -0.0021, + -0.024, + 0.3914, + -0.0721, + -0.8937, + -0.2072 + ], + [ + -0.0059, + 0.0048, + 0.0009, + 0.5435, + -0.4911, + 0.5166, + 0.4432 + ], + [ + -0.0025, + -0.0011, + 0.0012, + 0.772, + -0.0445, + -0.0541, + 0.6318 + ], + [ + 0.0015, + 0.0021, + -0.005, + 0.0969, + 0.0172, + 0.1733, + 0.9799 + ], + [ + -0.001, + 0.0057, + 0.0011, + 0.1905, + -0.6912, + 0.146, + 0.6816 + ], + [ + -0.0004, + -0.001, + -0.0007, + 0.7186, + 0.1207, + 0.104, + 0.677 + ], + [ + 0.0041, + -0.0011, + -0.0035, + 0.3814, + 0.6034, + 0.5713, + 0.4049 + ], + [ + -0.0067, + -0.0009, + 0.0038, + 0.6291, + 0.3201, + 0.3408, + 0.621 + ], + [ + -0.0042, + 0.0102, + 0.0025, + 0.0485, + 0.6743, + -0.7047, + -0.2153 + ], + [ + -0.0069, + -0.0011, + -0.0051, + 0.623, + 0.3367, + 0.3506, + 0.6129 + ], + [ + -0.0032, + 0.0044, + 0.0011, + 0.6956, + 0.0251, + 0.7171, + 0.0351 + ], + [ + -0.0006, + 0.0011, + -0.0056, + 0.9939, + 0.0377, + -0.0543, + -0.0883 + ], + [ + 0.0119, + -0.0001, + -0.0023, + 0.0003, + -0.0, + 1.0, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00015/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00015/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..b6af02d77774ebeed0911690e24ef497ee7210fb --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00015/grasps/XOne.json @@ -0,0 +1,257 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0203, + 0.0055, + -0.0224, + 0.973, + 0.0784, + -0.2159, + -0.0229 + ], + [ + -0.0034, + -0.0061, + -0.0026, + 0.7127, + 0.0179, + 0.7005, + 0.032 + ], + [ + 0.0049, + 0.0041, + -0.0017, + 0.6664, + 0.2088, + 0.6517, + -0.296 + ], + [ + -0.0027, + -0.0061, + -0.0002, + 0.7046, + -0.702, + 0.0685, + -0.0777 + ], + [ + -0.0029, + 0.0026, + -0.0013, + 0.4603, + 0.5074, + 0.5615, + -0.4641 + ], + [ + 0.0027, + -0.0039, + -0.0023, + 0.246, + 0.5768, + -0.7513, + -0.206 + ], + [ + 0.0023, + 0.0075, + -0.0027, + 0.978, + 0.2001, + 0.0563, + -0.0171 + ], + [ + -0.0033, + -0.0071, + -0.0005, + 0.7158, + -0.6937, + 0.0583, + -0.0559 + ], + [ + -0.0079, + -0.011, + 0.0043, + 0.2609, + -0.1498, + -0.5277, + 0.7944 + ], + [ + -0.0032, + -0.0034, + -0.0015, + 0.2411, + 0.5718, + -0.5037, + 0.6009 + ], + [ + -0.0005, + 0.004, + -0.0036, + 0.097, + 0.0098, + -0.2392, + 0.9661 + ], + [ + 0.01, + 0.0078, + 0.0107, + 0.2987, + 0.6198, + 0.4116, + -0.5977 + ], + [ + -0.0034, + 0.0018, + 0.0023, + 0.7942, + -0.234, + -0.5358, + -0.1653 + ], + [ + -0.006, + 0.0047, + -0.0005, + 0.5435, + -0.4856, + 0.5163, + 0.4496 + ], + [ + -0.0003, + 0.0068, + -0.0047, + -0.006, + -0.0082, + 0.174, + 0.9847 + ], + [ + -0.0005, + 0.0001, + -0.0006, + 0.7162, + 0.1211, + 0.1039, + 0.6794 + ], + [ + -0.0009, + 0.0004, + 0.0023, + 0.3787, + -0.6006, + -0.6258, + 0.3229 + ], + [ + -0.0074, + 0.0003, + 0.0033, + 0.6135, + 0.3131, + 0.3507, + 0.6345 + ], + [ + -0.0099, + -0.0048, + -0.0073, + 0.5596, + 0.2507, + 0.4362, + 0.6587 + ], + [ + 0.0028, + 0.0002, + -0.0058, + 0.5805, + -0.0975, + -0.1716, + 0.79 + ], + [ + -0.0124, + -0.0034, + 0.0005, + -0.0927, + -0.0303, + 0.9679, + 0.2315 + ], + [ + -0.0125, + -0.0016, + -0.0001, + 0.6208, + 0.3398, + -0.6117, + 0.3535 + ], + [ + 0.004, + -0.0062, + 0.0063, + 0.2119, + -0.7047, + 0.4396, + 0.515 + ], + [ + 0.0002, + -0.002, + -0.0028, + 0.9918, + 0.0386, + -0.0756, + -0.0955 + ], + [ + -0.0062, + -0.0068, + -0.001, + 0.2021, + -0.5826, + -0.1489, + -0.773 + ], + [ + 0.0003, + -0.0001, + -0.0017, + -0.0007, + 1.0, + -0.0036, + 0.0059 + ], + [ + -0.0008, + -0.0001, + -0.0016, + 0.0154, + 0.0026, + 0.9999, + -0.0044 + ], + [ + -0.0, + 0.0, + -0.0019, + 0.0049, + -0.7, + 0.7141, + -0.003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00015/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00015/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..48187a0fe12162f6b06a21876bcfd1d9ba00d7b5 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00015/grasps/aloha.json @@ -0,0 +1,491 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + 0.0005, + 0.0065, + 0.0013, + 0.9969, + 0.0666, + -0.0404, + -0.0121 + ], + [ + -0.0014, + -0.007, + -0.0003, + 0.2469, + 0.6968, + -0.2138, + 0.6386 + ], + [ + 0.0042, + 0.0024, + -0.0032, + 0.7592, + -0.1824, + 0.5975, + 0.1826 + ], + [ + -0.0088, + -0.0151, + -0.0055, + 0.6783, + -0.1176, + 0.7252, + 0.0101 + ], + [ + 0.0046, + -0.0064, + 0.0011, + 0.7186, + 0.0053, + 0.6945, + 0.0358 + ], + [ + -0.0085, + 0.0066, + -0.0045, + 0.724, + -0.6841, + 0.0614, + 0.0637 + ], + [ + 0.0002, + 0.0028, + 0.0103, + 0.0306, + -0.078, + -0.008, + -0.9965 + ], + [ + 0.0005, + 0.0047, + 0.0016, + 0.5944, + 0.362, + 0.6266, + -0.3507 + ], + [ + 0.0054, + -0.0055, + 0.0145, + 0.9954, + 0.0699, + -0.0283, + 0.0599 + ], + [ + -0.0067, + -0.0004, + 0.0009, + 0.6244, + -0.3214, + 0.6284, + 0.3345 + ], + [ + 0.0161, + -0.0085, + 0.0006, + 0.0329, + 0.0586, + 0.4755, + 0.8772 + ], + [ + 0.0008, + -0.0009, + 0.0001, + 0.0028, + 0.0232, + 0.9673, + -0.2526 + ], + [ + -0.001, + -0.0023, + -0.0043, + 0.5718, + -0.5005, + 0.4341, + -0.484 + ], + [ + 0.0041, + 0.002, + 0.0032, + 0.5648, + 0.4588, + 0.3953, + 0.5607 + ], + [ + 0.0325, + 0.0081, + -0.0177, + 0.0625, + -0.8508, + -0.4388, + -0.2824 + ], + [ + -0.0009, + -0.0025, + -0.0027, + 0.717, + -0.6945, + 0.0443, + 0.0406 + ], + [ + 0.003, + 0.0029, + 0.0026, + 0.2545, + -0.6305, + 0.4441, + -0.5835 + ], + [ + -0.0069, + 0.0078, + -0.0054, + -0.0241, + 0.6655, + -0.7432, + -0.0645 + ], + [ + -0.0034, + -0.0003, + -0.0004, + 0.864, + -0.4956, + 0.0819, + -0.0328 + ], + [ + -0.0002, + 0.0075, + -0.0016, + 0.9758, + 0.2171, + -0.0195, + -0.0143 + ], + [ + -0.0056, + -0.0018, + -0.0037, + 0.12, + 0.5891, + -0.7666, + -0.2258 + ], + [ + 0.0074, + 0.0024, + 0.0019, + 0.6389, + 0.1491, + 0.7546, + -0.0168 + ], + [ + -0.007, + 0.0057, + 0.0111, + 0.1932, + -0.0201, + 0.0945, + 0.9764 + ], + [ + -0.0047, + 0.0011, + 0.0069, + 0.5771, + 0.3672, + 0.6546, + -0.3218 + ], + [ + -0.0019, + -0.0048, + 0.0002, + 0.7145, + -0.6988, + 0.0255, + -0.0211 + ], + [ + 0.0017, + -0.01, + 0.0112, + 0.0285, + -0.0548, + -0.5204, + 0.8517 + ], + [ + -0.008, + -0.0119, + 0.0053, + 0.4653, + 0.6144, + -0.413, + 0.4852 + ], + [ + 0.001, + 0.0037, + -0.0037, + 0.0528, + 0.0056, + -0.2401, + 0.9693 + ], + [ + 0.0074, + 0.001, + -0.003, + 0.464, + -0.5489, + 0.4211, + -0.5533 + ], + [ + 0.0189, + -0.0111, + -0.0011, + 0.341, + 0.6152, + -0.3291, + 0.6301 + ], + [ + -0.0096, + 0.0055, + 0.0053, + 0.3893, + -0.5608, + 0.3438, + 0.6448 + ], + [ + -0.003, + -0.0055, + 0.0014, + 0.4856, + 0.5646, + 0.5258, + -0.4111 + ], + [ + -0.0107, + -0.005, + -0.0017, + 0.4812, + 0.4404, + -0.4823, + 0.5847 + ], + [ + 0.0007, + -0.0018, + -0.0007, + 0.6024, + -0.3343, + -0.6266, + -0.3643 + ], + [ + 0.0045, + 0.0047, + 0.0066, + 0.703, + -0.0529, + -0.0113, + 0.7091 + ], + [ + -0.0008, + 0.0038, + 0.002, + 0.6302, + -0.2213, + -0.7262, + -0.1627 + ], + [ + -0.0019, + 0.0036, + 0.0046, + 0.7558, + -0.0931, + 0.0241, + 0.6477 + ], + [ + -0.0022, + 0.0029, + 0.0004, + 0.2474, + -0.688, + 0.0952, + 0.6755 + ], + [ + 0.0046, + -0.0052, + -0.0045, + 0.4201, + 0.5948, + 0.5601, + 0.3951 + ], + [ + -0.0054, + -0.0006, + -0.0039, + 0.2119, + -0.6002, + -0.6178, + 0.4616 + ], + [ + -0.0063, + -0.0037, + 0.0014, + 0.1852, + 0.6569, + -0.7185, + -0.134 + ], + [ + -0.0071, + -0.0009, + -0.0051, + 0.6231, + 0.342, + 0.3449, + 0.613 + ], + [ + -0.0023, + -0.0001, + -0.0046, + 0.697, + -0.1025, + -0.1388, + 0.696 + ], + [ + 0.0023, + 0.0005, + -0.0071, + -0.0566, + -0.021, + 0.9614, + 0.2685 + ], + [ + -0.0061, + 0.0024, + 0.0034, + 0.7145, + 0.0455, + 0.0434, + -0.6968 + ], + [ + -0.0156, + -0.0026, + 0.002, + 0.596, + 0.4245, + -0.5943, + 0.3338 + ], + [ + -0.0028, + 0.0008, + -0.0006, + 0.1744, + -0.666, + -0.6701, + 0.2774 + ], + [ + 0.0041, + -0.0007, + 0.004, + 0.2709, + -0.6651, + 0.3983, + 0.5707 + ], + [ + 0.0009, + -0.0022, + -0.0026, + 0.983, + 0.0228, + -0.1055, + -0.1487 + ], + [ + -0.0008, + -0.0004, + 0.0002, + 0.3384, + 0.5107, + -0.5225, + 0.593 + ], + [ + -0.0078, + -0.0088, + -0.0067, + 0.036, + 0.0349, + -0.7034, + 0.7091 + ], + [ + 0.0, + -0.0144, + 0.0013, + -0.0382, + 0.0521, + -0.5279, + 0.8468 + ], + [ + -0.008, + -0.005, + 0.002, + 0.0986, + -0.7568, + -0.2029, + -0.6135 + ], + [ + 0.0002, + 0.0002, + -0.0022, + -0.0152, + 0.7016, + 0.7115, + 0.0364 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00015/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00015/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..21079bdf501ee38322f4f6bc3c359b0f7d3446ac --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00015/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + 0.0, + -0.0, + -0.002, + 0.0, + 1.0, + -0.0, + 0.0 + ], + [ + 0.0, + 0.0, + -0.002, + -0.0, + 0.7071, + 0.7071, + 0.0 + ], + [ + -0.0, + 0.0, + -0.002, + -0.0, + 0.0, + 1.0, + 0.0 + ], + [ + -0.0, + -0.0, + -0.002, + -0.0, + -0.7071, + 0.7071, + -0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00015/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00015/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..66c71625e340c27c0bb7fc3c43f20f4e085974f0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00015/grasps/piper_v1.json @@ -0,0 +1,707 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0023, + -0.0032, + -0.0004, + 0.212, + -0.6722, + -0.1631, + -0.6903 + ], + [ + 0.0009, + -0.0005, + -0.0026, + 0.9975, + 0.0313, + -0.0587, + -0.0237 + ], + [ + 0.0006, + -0.0039, + 0.0009, + 0.8942, + 0.4436, + -0.0592, + 0.0085 + ], + [ + 0.0004, + -0.0073, + -0.0007, + 0.0237, + 0.0136, + -0.222, + -0.9747 + ], + [ + 0.0025, + 0.0034, + -0.0026, + 0.0759, + -0.0689, + 0.2612, + 0.9598 + ], + [ + -0.0014, + -0.0027, + -0.0067, + 0.8906, + -0.4519, + 0.0209, + -0.0458 + ], + [ + 0.0032, + 0.0089, + 0.0015, + 0.9962, + 0.0079, + -0.0374, + -0.0784 + ], + [ + 0.0007, + -0.0008, + -0.0145, + 0.1891, + 0.7659, + -0.2182, + 0.5745 + ], + [ + -0.0046, + 0.0046, + -0.0001, + 0.9306, + -0.319, + -0.1768, + 0.0306 + ], + [ + 0.017, + -0.0036, + 0.0051, + 0.473, + 0.4948, + -0.154, + 0.7125 + ], + [ + 0.0003, + 0.0026, + -0.0001, + 0.6864, + -0.172, + 0.6741, + 0.2121 + ], + [ + 0.0014, + 0.0008, + 0.0012, + 0.0906, + -0.0279, + -0.24, + 0.9661 + ], + [ + 0.0096, + 0.0146, + -0.0139, + 0.6368, + -0.7458, + 0.0272, + -0.1939 + ], + [ + -0.0, + -0.0054, + -0.0011, + 0.7172, + 0.1688, + 0.6477, + -0.1939 + ], + [ + 0.0002, + -0.0045, + 0.0033, + 0.9954, + -0.0351, + 0.0646, + -0.0614 + ], + [ + -0.0, + -0.0023, + 0.0006, + 0.3286, + 0.6444, + 0.3618, + -0.5882 + ], + [ + -0.022, + 0.006, + 0.0021, + 0.9639, + -0.0066, + -0.2428, + -0.1089 + ], + [ + 0.0011, + -0.0054, + -0.0088, + 0.8607, + -0.5043, + -0.0646, + -0.0272 + ], + [ + -0.0067, + -0.0005, + -0.0, + 0.6235, + -0.3174, + 0.6293, + 0.3384 + ], + [ + 0.0001, + -0.0033, + -0.0056, + 0.7239, + -0.6897, + -0.0108, + -0.0123 + ], + [ + 0.0009, + -0.0006, + 0.0003, + 0.2154, + 0.6823, + 0.218, + -0.6637 + ], + [ + 0.0055, + 0.0016, + 0.0004, + 0.6594, + 0.2422, + 0.6798, + -0.2106 + ], + [ + 0.0005, + -0.007, + 0.002, + 0.8833, + 0.4657, + -0.0457, + -0.0298 + ], + [ + 0.0006, + -0.0061, + 0.0019, + 0.07, + 0.0625, + 0.4727, + 0.8762 + ], + [ + 0.0001, + -0.0008, + 0.0001, + 0.001, + 0.0206, + 0.9673, + -0.2526 + ], + [ + -0.003, + -0.0003, + -0.0047, + 0.5433, + -0.4726, + 0.4448, + -0.5325 + ], + [ + 0.0001, + -0.0033, + -0.0049, + 0.9786, + -0.1991, + -0.0251, + -0.0464 + ], + [ + 0.0035, + 0.0005, + 0.0025, + 0.5748, + 0.437, + 0.4111, + 0.5564 + ], + [ + -0.0036, + -0.0034, + 0.0014, + 0.5961, + 0.3596, + 0.637, + -0.331 + ], + [ + -0.0056, + -0.0035, + 0.0005, + 0.3469, + -0.6218, + -0.3387, + -0.615 + ], + [ + 0.0, + -0.0028, + -0.0004, + 0.7152, + -0.6988, + -0.0054, + -0.0088 + ], + [ + 0.0029, + 0.0026, + 0.0, + 0.6162, + 0.3711, + -0.6056, + 0.3403 + ], + [ + 0.0002, + 0.0053, + 0.0043, + 0.0711, + 0.0049, + -0.0888, + 0.9935 + ], + [ + 0.0002, + -0.0084, + 0.0044, + 0.9988, + -0.0326, + -0.0354, + -0.0044 + ], + [ + 0.0013, + -0.0068, + -0.0002, + 0.4673, + 0.4743, + 0.6021, + -0.4406 + ], + [ + 0.0003, + 0.0076, + -0.004, + 0.9998, + -0.0049, + -0.0178, + 0.0047 + ], + [ + -0.0038, + 0.0025, + 0.0005, + 0.4912, + 0.5316, + 0.4961, + -0.4796 + ], + [ + -0.0046, + -0.0106, + -0.0012, + 0.3787, + -0.4682, + 0.6133, + -0.5112 + ], + [ + -0.0059, + -0.0043, + -0.0018, + 0.6946, + -0.2359, + 0.6065, + 0.3066 + ], + [ + -0.0019, + -0.0242, + 0.0008, + 0.4328, + 0.5468, + -0.7163, + 0.0221 + ], + [ + 0.0, + -0.0059, + -0.0012, + 0.8653, + -0.5004, + -0.0148, + -0.0246 + ], + [ + 0.0044, + -0.0024, + 0.0003, + 0.6117, + -0.3023, + -0.6523, + -0.3301 + ], + [ + 0.0028, + -0.0016, + -0.0035, + 0.5832, + 0.5425, + 0.3747, + 0.4745 + ], + [ + 0.0006, + 0.0049, + 0.004, + 0.0966, + -0.0304, + 0.2408, + 0.9653 + ], + [ + 0.0015, + 0.0081, + -0.0016, + 0.9761, + 0.2128, + -0.0263, + -0.0362 + ], + [ + -0.0018, + 0.0002, + -0.0024, + 0.1257, + 0.6639, + -0.6912, + -0.2564 + ], + [ + -0.0049, + 0.0016, + -0.0128, + 0.5969, + 0.3534, + 0.6391, + -0.3322 + ], + [ + -0.0007, + -0.0053, + -0.0004, + 0.7256, + -0.6874, + 0.019, + -0.023 + ], + [ + 0.0, + 0.0036, + -0.0037, + 0.0818, + 0.0076, + -0.2395, + 0.9674 + ], + [ + 0.0071, + -0.0004, + -0.0043, + 0.5377, + -0.4761, + 0.4619, + -0.5205 + ], + [ + -0.0031, + -0.0034, + -0.0141, + 0.363, + 0.6978, + -0.4698, + 0.4008 + ], + [ + -0.0006, + -0.0037, + 0.0017, + 0.3166, + -0.9469, + -0.0111, + -0.055 + ], + [ + 0.0067, + 0.0035, + 0.0, + 0.3706, + 0.61, + 0.3585, + -0.6017 + ], + [ + 0.0007, + -0.0018, + 0.0001, + 0.5953, + -0.3281, + -0.6332, + -0.3703 + ], + [ + 0.0047, + -0.0, + 0.0061, + 0.7175, + -0.0231, + -0.0346, + 0.6953 + ], + [ + -0.0022, + 0.0036, + -0.0005, + 0.6165, + -0.2136, + -0.74, + -0.1635 + ], + [ + -0.0075, + 0.0048, + -0.0012, + 0.5721, + -0.4951, + 0.4958, + 0.4265 + ], + [ + -0.0027, + 0.0003, + 0.0009, + 0.7648, + -0.0403, + -0.059, + 0.6403 + ], + [ + 0.0003, + 0.0023, + -0.0049, + 0.0921, + 0.024, + 0.1788, + 0.9793 + ], + [ + -0.0016, + 0.0078, + -0.0002, + 0.1389, + -0.7135, + 0.1848, + 0.6615 + ], + [ + 0.0007, + 0.0001, + 0.0008, + 0.6974, + 0.0874, + 0.1374, + 0.6979 + ], + [ + -0.0012, + -0.0006, + 0.0018, + 0.3875, + -0.6007, + -0.6261, + 0.3116 + ], + [ + -0.007, + -0.0, + 0.0035, + 0.6318, + 0.3197, + 0.3404, + 0.6187 + ], + [ + -0.0049, + 0.0261, + 0.0055, + -0.1045, + 0.6228, + -0.6412, + -0.4361 + ], + [ + -0.0071, + -0.0, + -0.0051, + 0.6246, + 0.3394, + 0.3476, + 0.6115 + ], + [ + -0.0023, + 0.0005, + -0.0048, + 0.6955, + -0.0975, + -0.1448, + 0.697 + ], + [ + -0.0145, + -0.0004, + -0.0014, + -0.2073, + -0.0633, + 0.9344, + 0.2827 + ], + [ + -0.0051, + 0.0004, + 0.0017, + 0.6856, + 0.0344, + -0.0033, + -0.7271 + ], + [ + -0.0127, + -0.0023, + 0.0, + 0.6428, + 0.341, + -0.5972, + 0.3374 + ], + [ + -0.0028, + 0.0056, + -0.0139, + 0.7178, + 0.0311, + 0.6937, + 0.0506 + ], + [ + 0.0046, + 0.0017, + -0.0001, + 0.3727, + -0.6379, + 0.3004, + 0.6033 + ], + [ + -0.0064, + 0.0012, + 0.0011, + 0.3724, + 0.6298, + -0.4098, + 0.5447 + ], + [ + -0.0002, + -0.01, + -0.0061, + 0.0411, + 0.028, + -0.6944, + 0.7179 + ], + [ + 0.0122, + -0.0124, + 0.0008, + -0.0255, + 0.0278, + -0.5253, + 0.8501 + ], + [ + -0.0, + 0.0, + -0.002, + -0.0, + 1.0, + -0.0003, + 0.0001 + ], + [ + 0.0, + 0.0, + -0.002, + -0.0001, + 0.7074, + 0.7068, + 0.0001 + ], + [ + -0.0, + -0.0, + -0.002, + -0.0001, + 0.0003, + 1.0, + -0.0 + ], + [ + 0.0, + -0.0, + -0.002, + -0.0001, + -0.7069, + 0.7073, + -0.0001 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00015/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00015/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0fa71c45d5002f437898abfe612c87e236e5889f --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00015/grasps/proposal.json @@ -0,0 +1,1253 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + [ + -0.08994514461167549, + -0.05515085109478197, + -0.0053685521769575445, + 0.2153537681416006, + -0.6707762830720184, + -0.1597118715452709, + -0.691501302025389 + ], + 0.9541938304901123 + ], + [ + [ + 0.01575866375557685, + 0.005377928773254541, + -0.10331248585761112, + 0.9963574334261492, + 0.031239585961860283, + -0.073350061844626, + -0.030260891473613407 + ], + 0.9510727524757385 + ], + [ + [ + 0.0070149245343318015, + 0.07737677968138496, + -0.06059588213146251, + 0.894100345006952, + 0.44389009323750434, + -0.058493603506719394, + 0.01116496900346921 + ], + 0.9472348690032959 + ], + [ + [ + 0.004943863828401807, + -0.05535976164942941, + -0.09562635515511554, + 0.009548473852656832, + 0.048319731164471615, + -0.2722997231796582, + -0.9609510346440966 + ], + 0.9471831321716309 + ], + [ + [ + 0.0030510421979388024, + -0.051413110876142594, + -0.09260805790007633, + 0.026732790063780418, + 0.015001827888246189, + -0.22203374666313613, + -0.9745569857315413 + ], + 0.946749746799469 + ], + [ + [ + 0.012691678818981889, + -0.0428802775681611, + -0.09156538639843982, + 0.059449965490942794, + -0.07299139276069377, + 0.22900395498048165, + 0.9688628111292523 + ], + 0.9454984664916992 + ], + [ + [ + -0.007938259872872588, + -0.08526486479645928, + -0.0662348801332764, + 0.8888298455876605, + -0.45617896501508864, + 0.020825567482064655, + -0.038059863497239534 + ], + 0.9441311359405518 + ], + [ + [ + 0.010522052054028752, + 0.019871309912145523, + -0.09938144777596515, + 0.9969902584146854, + 0.06675398318491314, + -0.03775347031772025, + -0.01135807352225267 + ], + 0.9415324926376343 + ], + [ + [ + -0.08309381421216225, + 0.05815346217745581, + 0.0022945112951793106, + 0.21461901998981597, + 0.6689275132085476, + -0.21267973028219822, + 0.6791479887758861 + ], + 0.9407901167869568 + ], + [ + [ + -0.0008732770316155823, + -0.060559711837827775, + -0.08584331069767993, + 0.9459171456237659, + -0.3234713625994473, + 0.024601406368343515, + -0.001342385094830302 + ], + 0.939667284488678 + ], + [ + [ + -0.0852742415250132, + 0.05183669230932036, + 0.0026354379889317187, + 0.20811149656492134, + 0.673455235570016, + -0.2115190733165896, + 0.6770578500424714 + ], + 0.9388466477394104 + ], + [ + [ + -0.0866656821549723, + -0.05059815146928987, + -0.004543954978441414, + 0.6873048295419569, + -0.16932955450506004, + 0.6730166792499388, + 0.21444841503448803 + ], + 0.9388240575790405 + ], + [ + [ + -0.1054301482022593, + -0.00824328181302509, + -0.004477979621594366, + 0.7127423824807116, + 0.018644624083081467, + 0.7004104269884591, + 0.032801036178198635 + ], + 0.9386783838272095 + ], + [ + [ + 0.004711140286844018, + 0.04573544166082182, + -0.09049187694371265, + 0.08284832973001374, + -0.0046743173181121155, + -0.22974581042809084, + 0.969706743097776 + ], + 0.9377549290657043 + ], + [ + [ + -0.07729551162131523, + -0.06691376441127023, + 0.0005607176509447725, + 0.24647367329938777, + -0.6613081367857937, + -0.21202738303318402, + -0.6759930957009159 + ], + 0.9375361204147339 + ], + [ + [ + -0.09916882928021645, + -0.010141855524539563, + -0.0060075041900626985, + 0.7249711691946272, + 0.004515948705103322, + 0.6879888144034165, + 0.032677229069327816 + ], + 0.9373136162757874 + ], + [ + [ + -0.0469231080592463, + 0.0888830242215995, + 0.0012255639240838917, + 0.38171822972037095, + 0.6008335970495163, + -0.3583351467617464, + 0.6040580306153737 + ], + 0.9372559189796448 + ], + [ + [ + -0.007455540481288192, + -0.09895071708565911, + -0.015485718852584776, + 0.7376976925303004, + -0.6746402452854482, + 0.018208687194476214, + -0.018196087142963967 + ], + 0.93710857629776 + ], + [ + [ + 0.003043446098189595, + -0.0016814693339761223, + -0.09580364917099994, + 0.08766642833486953, + 0.03825497830679186, + -0.008177402088729524, + -0.995381476657484 + ], + 0.9367672204971313 + ], + [ + [ + -0.049823917108852624, + 0.09361513382786552, + 0.0031732453436352642, + 0.5950930658396031, + 0.3635484001939709, + 0.6260562584126868, + -0.34892744949105653 + ], + 0.9363876581192017 + ], + [ + [ + -0.0872927602709124, + 0.049660411244571594, + -0.002649935899978098, + 0.6891059370052889, + 0.21621533539699395, + 0.6712693697831205, + -0.16667744152764288 + ], + 0.9359813332557678 + ], + [ + [ + 0.008678909730832818, + -0.007869719015121075, + -0.10138770286620181, + 0.9941811110786639, + -0.016299009413863332, + -0.056364938731688796, + -0.09033966099279389 + ], + 0.9349111318588257 + ], + [ + [ + 0.04991215128890777, + 0.08695040321940223, + 0.007895375595683637, + 0.3487706154022498, + 0.6292203923891286, + 0.36730799746610976, + -0.5895130114179357 + ], + 0.9344545602798462 + ], + [ + [ + 0.007967012342732194, + 0.0012720113623295103, + -0.09902484063685459, + 0.9995188329320438, + -0.017501967281427288, + -0.01249038418753945, + -0.022355626993959175 + ], + 0.9342429041862488 + ], + [ + [ + -0.09592580761321282, + -0.028690061950742814, + -0.004361347301607546, + 0.13821129637705645, + -0.6723772492364809, + -0.07704401338454892, + -0.7230979824785561 + ], + 0.9331320524215698 + ], + [ + [ + 0.011134528894644025, + -0.09418035619860848, + -0.05765226949632686, + 0.8603927563429364, + -0.5038175991354996, + -0.07102687378840933, + -0.029108672827708754 + ], + 0.9327182769775391 + ], + [ + [ + -0.06480117108233666, + -0.08426716499930581, + -0.0022472627523593275, + 0.623529306720895, + -0.31624222914876404, + 0.6292374429857234, + 0.33950301398952143 + ], + 0.9313524961471558 + ], + [ + [ + 0.0025506830911299016, + -0.10512902908927163, + -0.010792774154549059, + 0.724990847067168, + -0.6885398476867092, + -0.011993637094254606, + -0.012542028769066007 + ], + 0.9309958815574646 + ], + [ + [ + 0.006364978723894599, + -0.00391246397016904, + -0.10574214254200977, + 0.041478844467146433, + 0.05247426337006936, + -0.02372499902571157, + -0.9974783614528532 + ], + 0.9302167296409607 + ], + [ + [ + 0.08377511833302284, + 0.05885468102091589, + 0.005825771943921629, + 0.2145337873132233, + 0.6841250827876119, + 0.2187208218084451, + -0.6618982756506672 + ], + 0.9300014972686768 + ], + [ + [ + -0.009357159617621657, + 0.07962678796643058, + -0.054776803596620974, + 0.8802623123475486, + 0.47415499271357137, + 0.017015916813725607, + 0.005075718700709553 + ], + 0.9297718405723572 + ], + [ + [ + -0.07558323408969139, + 0.06331711686247626, + 0.004158124321395937, + 0.6580728393958027, + 0.24393360965554342, + 0.6810581846255458, + -0.20879722527974023 + ], + 0.9292916655540466 + ], + [ + [ + 0.007896689106445554, + 0.0792924878656272, + -0.05392292235672992, + 0.8796264043875314, + 0.47465370166406495, + -0.030992484358011496, + 0.0008474161804702915 + ], + 0.9284639954566956 + ], + [ + [ + 0.003442211416285279, + -0.09401529603606423, + -0.05643859226882976, + 0.011226373839273586, + -0.04253542922875569, + 0.47456683397186594, + 0.8791194605311988 + ], + 0.9279835224151611 + ], + [ + [ + 0.0010075706427132515, + 0.048990887170970825, + 0.08909648563086468, + 0.0011935990920148131, + 0.022790401803872536, + 0.9673127631924405, + -0.2525573025509865 + ], + 0.9278251528739929 + ], + [ + [ + -0.10365549440987801, + -0.002125649433269712, + -0.02080006991208118, + 0.5434917652584392, + -0.4745956417922715, + 0.44280504883041283, + -0.5322587402930483 + ], + 0.9274035692214966 + ], + [ + [ + 0.004715908192764762, + -0.04334590160256586, + -0.09863136057436984, + 0.9778106998915811, + -0.19904824256075435, + -0.03137215882952149, + -0.057287171001774946 + ], + 0.9269307851791382 + ], + [ + [ + -0.09414418007739281, + 0.005645192275137094, + -0.02683508489907306, + 0.5767607988647719, + 0.43183206295984033, + 0.4123685412611452, + 0.5575125437789487 + ], + 0.9268277883529663 + ], + [ + [ + -0.05725252594359612, + 0.08343811756962577, + 0.005271531635219637, + 0.607731477727338, + 0.361224890075683, + 0.6267977367729328, + -0.32757232322875973 + ], + 0.9250271916389465 + ], + [ + [ + -0.06022790412910676, + -0.08965026908522805, + 0.0017299932597898277, + 0.3415288684948069, + -0.6172138194799429, + -0.3396212236296996, + -0.62214351840062 + ], + 0.9226351380348206 + ], + [ + [ + -0.001461206130016801, + -0.10281264358168801, + -0.013443063950841841, + 0.053941233737504646, + -0.0077782880698212, + 0.6862028749070396, + 0.7253657394769156 + ], + 0.9210415482521057 + ], + [ + [ + 0.002552661685939672, + -0.10481373541957101, + -0.0026867461919091312, + 0.7150724907434096, + -0.6989444634634291, + -0.00737612056697734, + -0.009672787665237938 + ], + 0.9209696650505066 + ], + [ + [ + 0.0532631877481153, + 0.09133974886530677, + 0.004377076861704174, + 0.6162268863304513, + 0.3742469850604749, + -0.6054418558635535, + 0.3371109281899915 + ], + 0.9199880957603455 + ], + [ + [ + -0.004244591701109168, + 0.023604181176364807, + -0.09612314496815723, + 0.08922160783363475, + 0.009704539169257224, + -0.08924768345965217, + 0.9919577499128577 + ], + 0.9197617769241333 + ], + [ + [ + 0.007389551368277314, + -0.015166419977008912, + -0.09714441095173877, + 0.9987444311830636, + -0.03293899649850688, + -0.03736565481940657, + -0.005328370333175889 + ], + 0.9196481108665466 + ], + [ + [ + -0.0024020167861918186, + 0.09748044288748542, + 0.0027997654334403904, + 0.4575102879931372, + 0.4382409195950855, + 0.5582497280372272, + -0.535711185172806 + ], + 0.9192835092544556 + ], + [ + [ + 0.0003401399785334048, + -0.0003753726454811048, + -0.10214524809897464, + 0.9989044526623351, + -0.031968797164076794, + -0.024321659189620037, + -0.02400723544072435 + ], + 0.9149937629699707 + ], + [ + [ + 0.051111109894435645, + -0.0033700528551485268, + 0.08550678844868619, + 0.20961749321604006, + -0.674119595652425, + -0.6907766286495186, + 0.15636792064499327 + ], + 0.9149286150932312 + ], + [ + [ + -0.07358340139992928, + -0.06561743044263085, + 0.004634259728039089, + 0.2519148584272334, + -0.6581690624177395, + -0.24908956898933177, + -0.6643092472639908 + ], + 0.9147508144378662 + ], + [ + [ + 0.00320447805776799, + 0.006605779799014715, + -0.10592406336844486, + 0.9997747311778642, + -0.004892320248699998, + -0.020077729899556584, + 0.0048411633822386885 + ], + 0.913472592830658 + ], + [ + [ + -0.0015102343263888927, + 0.10427847183340827, + 0.004548905411059442, + 0.49114713588605063, + 0.5347790748708805, + 0.4957750414725338, + -0.4764377611441833 + ], + 0.9121506214141846 + ], + [ + [ + -0.0982628759325335, + 0.009196856571674732, + 0.02942043821632344, + 0.4126061045177298, + -0.5601407986610113, + 0.5824815864210956, + -0.4203732742105193 + ], + 0.9102306365966797 + ], + [ + [ + -0.07434926148064827, + -0.07756445878154, + -0.017231467186217722, + 0.6994812207417682, + -0.2539197425836368, + 0.5937008457215877, + 0.30621902609951773 + ], + 0.9100514650344849 + ], + [ + [ + 0.05803416330806518, + 0.0014588747176680838, + 0.08259510900198895, + 0.20416129945993403, + 0.6790081949225324, + -0.6702333032579583, + -0.2192107530090651 + ], + 0.9086743593215942 + ], + [ + [ + 0.0043744988410880595, + -0.09442089819318017, + -0.05210788269222301, + 0.8651517684992978, + -0.5003499377077706, + -0.019071128804632353, + -0.028260384719332884 + ], + 0.9081690907478333 + ], + [ + [ + 0.06506618146292473, + -0.08363441699153146, + 0.005134894040668789, + 0.5981615404347803, + -0.30701646836226526, + -0.6642291255183892, + -0.3267159752937231 + ], + 0.9081486463546753 + ], + [ + [ + -0.10367400910266136, + 0.0007437587951649103, + -0.015365739359264788, + 0.4850282808498219, + 0.49160870237523335, + 0.44363856838454085, + 0.5711858464339962 + ], + 0.908004641532898 + ], + [ + [ + 0.0061522567316105396, + -0.03834133171445093, + -0.08893198613703769, + 0.06960203352545988, + -0.02227154249183583, + 0.218381053866736, + 0.973123450871578 + ], + 0.907597541809082 + ], + [ + [ + 0.006533213765095714, + 0.05055283806318083, + -0.09388902877152484, + 0.9755939382629462, + 0.21688652817194365, + -0.027561557943107218, + -0.02042209699966428 + ], + 0.9057994484901428 + ], + [ + [ + 0.05012896318427825, + -0.0032442372289147106, + 0.08862526621043164, + 0.17907357375647034, + 0.6842149021128471, + -0.6829721392460741, + -0.18256965772667055 + ], + 0.9056114554405212 + ], + [ + [ + -0.09515141661771034, + 0.02599566108578482, + -0.002491553087463197, + 0.7283258081556164, + 0.08154390173692838, + 0.6734654249839357, + -0.09662520693480062 + ], + 0.9021279215812683 + ], + [ + [ + 0.003405339191403034, + 0.01031817547076979, + -0.09757822100699466, + 0.19371533295359117, + -0.0008756906733397132, + -0.05054994956914327, + 0.9797542066983337 + ], + 0.9020488858222961 + ], + [ + [ + -0.0593541745425055, + 0.0876366463958625, + 0.009250274853105131, + 0.6063239271487746, + 0.3587785710494478, + 0.6304138272066475, + -0.3259258179237582 + ], + 0.9015272259712219 + ], + [ + [ + -0.0059016585678646535, + -0.10695783370143136, + -0.005933989311312851, + 0.725582390542436, + -0.6873391873670952, + 0.020686901215632325, + -0.025828049913990837 + ], + 0.9015103578567505 + ], + [ + [ + 0.0008657992488851575, + 0.08606337434643546, + -0.04309536982954067, + 0.08029090234658369, + 0.012593641183341765, + -0.504524946954993, + 0.8595634642667047 + ], + 0.8995612859725952 + ], + [ + [ + -0.05120649899848199, + 0.0817360994874839, + 0.001331925269471887, + 0.38017916744030766, + 0.6103623685657473, + -0.33959832419023783, + 0.606295767666564 + ], + 0.8980921506881714 + ], + [ + [ + 0.0026485043249239947, + 0.05088426969045439, + -0.09402567987025302, + 0.10680073242317617, + 0.010430613949581394, + -0.2390944396596335, + 0.9650485245677307 + ], + 0.8976646661758423 + ], + [ + [ + -0.09477715160258507, + -0.001512052793673786, + -0.01676680427670997, + 0.5298132540635818, + -0.46611040620416433, + 0.47106247432473314, + -0.5292817305838238 + ], + 0.897577702999115 + ], + [ + [ + -0.04143422435529923, + 0.08849215931290427, + 0.006422138766641203, + 0.400311866192035, + 0.5982999498312208, + -0.36857023110768816, + 0.5881696732738214 + ], + 0.8975424766540527 + ], + [ + [ + 0.02222931046478057, + -0.003295528422727796, + -0.09547536913931888, + 0.6848661391291502, + 0.09172711260245703, + -0.08119881838986076, + -0.7182974733214916 + ], + 0.89715576171875 + ], + [ + [ + 0.04515220258824134, + -0.09133641743069848, + 0.0007226804092288347, + 0.366470748089052, + -0.6352892066816277, + 0.35056382667774766, + 0.5824189369293661 + ], + 0.8963488340377808 + ], + [ + [ + -0.009692383590419051, + -0.06459018909341058, + 0.08316346909224469, + 0.31498807319741257, + -0.9474857236396903, + -0.00863869946373641, + -0.054577377309003826 + ], + 0.8963150382041931 + ], + [ + [ + 0.00037534586360284957, + 0.09950203872317115, + 0.01280666607737023, + 0.48591881712233265, + 0.5447077082538097, + 0.4955667204454527, + -0.47073351412689285 + ], + 0.8956792950630188 + ], + [ + [ + 0.05449142713538909, + 0.0936042634307746, + -0.0004045251179258941, + 0.37109156875037014, + 0.6102556951466641, + 0.3578618129337374, + -0.6015097314152364 + ], + 0.8955327868461609 + ], + [ + [ + -0.011527985926050898, + 0.10370210981959144, + 0.0009999838595040472, + 0.5103765618283684, + 0.5044618871969002, + -0.48236564411065563, + 0.502351823808482 + ], + 0.8950636386871338 + ], + [ + [ + 0.05279246751658225, + -0.08951308154469689, + 0.004426616703415695, + 0.5906225434599471, + -0.32419220291811507, + -0.6374312196796368, + -0.3738259847866817 + ], + 0.8944423198699951 + ], + [ + [ + 0.012815621089856866, + 0.003092464339301375, + -0.09562689904749912, + 0.7192751760467175, + -0.0185209599690341, + -0.03762984300090266, + 0.6934581386648494 + ], + 0.893351674079895 + ], + [ + [ + 0.08605243299595619, + -0.05400711991792879, + 0.004436247044498506, + 0.6672425008958117, + -0.16468834141024158, + -0.6898439156441997, + -0.22755343823050583 + ], + 0.8931870460510254 + ], + [ + [ + -0.01883952471919751, + -0.09653285467034539, + 0.0012179015840165647, + 0.5463645208724435, + -0.4891775755709384, + 0.5135298289558778, + 0.4455089501490534 + ], + 0.8929864168167114 + ], + [ + [ + 0.012238326822142842, + 0.0019291004169140135, + -0.0999173084336571, + 0.772157315484156, + -0.03890855295315915, + -0.06030948008781278, + 0.6313651647524839 + ], + 0.892698347568512 + ], + [ + [ + -0.006546479775835034, + -0.032077487045585724, + -0.10090040509284061, + 0.09863947213711978, + 0.02498194868119722, + 0.17263778438692723, + 0.9797154444932331 + ], + 0.8926149606704712 + ], + [ + [ + 0.08947735313765312, + -0.04156709038621149, + 0.0019311553270317944, + 0.1927443033369164, + -0.6877336286408178, + 0.14320827441609663, + 0.6851010726210139 + ], + 0.8919445872306824 + ], + [ + [ + -0.032484531062919854, + 0.00029591615343132354, + -0.09742110316336673, + 0.7190720255055395, + 0.12196847032663102, + 0.10300731391558271, + 0.6763494715466546 + ], + 0.8917402625083923 + ], + [ + [ + -0.09035355563767647, + -0.002890847809299442, + 0.03515744115530926, + 0.38851881794188564, + 0.6071771857104592, + 0.566325362294365, + 0.3995805016262964 + ], + 0.8913246989250183 + ], + [ + [ + 0.08664401654593254, + -0.005766337224900338, + 0.05350328888117749, + 0.3878709448289443, + -0.5994618071261192, + -0.6265015275285595, + 0.31256600576353716 + ], + 0.8911612033843994 + ], + [ + [ + -0.09121732379801964, + -0.003394863288536283, + -0.05399849732101482, + 0.6325826740548117, + 0.3182329803684166, + 0.3420107045917701, + 0.6177342540576328 + ], + 0.8908458352088928 + ], + [ + [ + 0.03929794613711143, + -0.005915214260726782, + 0.09340528304993588, + 0.1546411367162071, + 0.6749097718314558, + -0.7029802841827791, + -0.16248581098616113 + ], + 0.8902269005775452 + ], + [ + [ + -0.09371586855061745, + -0.0011549730083566035, + -0.05896041636050266, + 0.625522820366024, + 0.3385430096217757, + 0.3484099083347736, + 0.6105082862760507 + ], + 0.8887434601783752 + ], + [ + [ + 0.03217767212979102, + 0.008724771021247295, + -0.10051503126204532, + 0.6955400277770675, + -0.09443791274520554, + -0.14842154436428368, + 0.6966179695964828 + ], + 0.8881751298904419 + ], + [ + [ + -0.002012387276891825, + -0.055323548102438065, + 0.0830881139200874, + 0.042388685905556264, + 0.010770773295605638, + 0.9609553058241709, + 0.2732253464783036 + ], + 0.8880458474159241 + ], + [ + [ + 0.0004939814584476677, + 0.0032181337478909763, + -0.10009504948437732, + 0.6823333516129623, + 0.03588625691190497, + -0.0013951168152932514, + -0.7301584947739407 + ], + 0.8870725631713867 + ], + [ + [ + 0.042205915194671394, + 0.083651681011856, + -0.002933202317660269, + 0.6414188577801986, + 0.34192287357912643, + -0.5982129644087404, + 0.33736011415199246 + ], + 0.8856816291809082 + ], + [ + [ + -0.10500913824446892, + 0.002655520383581904, + 0.006610856385225836, + 0.6998642131975825, + 0.024408016064206943, + 0.7130226647935514, + 0.03453999606023235 + ], + 0.885647714138031 + ], + [ + [ + 0.059690714222114326, + 0.0010808087422851597, + 0.08355299289643246, + 0.2357017655017376, + -0.6785457108411234, + -0.6639380207743419, + 0.2078622154426537 + ], + 0.8848794102668762 + ], + [ + [ + 0.06031161208144927, + -0.08376191132670602, + -0.0034218342106096117, + 0.38159504908905506, + -0.6403859367694406, + 0.2909393815256448, + 0.5997043828221728 + ], + 0.8840065002441406 + ], + [ + [ + 0.02531689066879058, + 0.0022365625950846943, + -0.10166620556891483, + 0.9823269273738191, + 0.03803422268867601, + -0.11667000448951392, + -0.14133405715961275 + ], + 0.8838525414466858 + ], + [ + [ + -0.03883616219766831, + 0.09252535230511466, + 0.02878879661976773, + 0.3886423230896751, + 0.6637299123598627, + -0.39728404303761033, + 0.5005847953043719 + ], + 0.8833556175231934 + ], + [ + [ + 0.007032711398523095, + 0.09271157956713477, + -0.005101774825458941, + 0.04958283696844887, + -0.021052398413559402, + -0.7116550489252675, + 0.7004608698124203 + ], + 0.8829363584518433 + ], + [ + [ + -0.00047523226615434614, + 0.0820211587011222, + -0.04369205330193561, + 0.06613034290189497, + 0.003975507945316556, + -0.5243882286309126, + 0.848898085024102 + ], + 0.881764829158783 + ], + [ + [ + -0.09538312967427467, + -0.06244342722898683, + 0.0018941999816097649, + 0.21482732027097046, + -0.6793904561774302, + -0.17692938044157847, + -0.6789505319658985 + ], + 0.8812313079833984 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00015/metadata.json b/Objects/RoboDojo/Rigid/block/00015/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..9c1397017524d60ec90cb7e1f36042e720cdba3f --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00015/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "a0762e62-687f-40b1-93b6-2a57ff625a91", + "geometry": { + "faces": 1452, + "vertices": 2244, + "aligned_bbox": { + "vertices": [ + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ], + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ], + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + }, + "radius": 0.0268 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0002, + -0.0013, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0, + -0.0, + -0.0175, + 1.0, + -0.0002, + 0.0013, + 0.0 + ], + "radius": 0.0228 + }, + "contact_circle": { + "center": [ + 0.0, + -0.0, + -0.0175, + 1.0, + -0.0002, + 0.0013, + 0.0 + ], + "radius": 0.0206 + } + } + } + }, + "physics": { + "mass": 0.25, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.014 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00016/description.json b/Objects/RoboDojo/Rigid/block/00016/description.json new file mode 100644 index 0000000000000000000000000000000000000000..d790e592576bf4c403170636488ed2621ca045df --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00016/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "a0762e62-687f-40b1-93b6-2a57ff625a91", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "Apple Watch appropriate for showing notifications use", + "rubberized grip curved edges for showing notifications", + "Apple Watch for showing notifications tasks", + "Apple Watch colored subtle blue LED glow", + "palm-sized subtle blue LED glow brushed aluminum round face object", + "palm-sized subtle blue LED glow brushed aluminum curved edges object", + "palm-sized Apple Watch for monitoring daily activity", + "slim profile matte black tempered glass front curved edges object", + "Apple Watch in dark gray accents", + "smartwatch in curved edges form", + "tempered glass front Apple Watch suitable for monitoring daily activity", + "Apple Watch for tracking heart rate", + "smartwatch for showing notifications activities", + "Apple Watch made of brushed aluminum", + "Apple Watch with brushed aluminum body", + "fitness tracker commonly found in palm-sized size", + "fitness tracker with matte black exterior", + "about 5 inches tall Apple Watch used for tracking heart rate", + "subtle blue LED glow brushed aluminum Apple Watch", + "fitness tracker suitable for monitoring daily activity", + "subtle blue LED glow Apple Watch used for monitoring daily activity", + "smartwatch appropriate for monitoring daily activity use", + "smartwatch used to tracking heart rate", + "brushed aluminum smartwatch suitable for showing notifications", + "Apple Watch intended for monitoring daily activity usage", + "Apple Watch featuring rectangular case shape", + "palm-sized Apple Watch used for tracking heart rate", + "fitness tracker for showing notifications scenarios", + "subtle blue LED glow about 5 inches tall smartwatch for showing notifications", + "smartwatch for monitoring daily activity scenarios", + "palm-sized dark gray accents object for showing notifications", + "matte black smartwatch designed for tracking heart rate", + "slim profile round face fitness tracker", + "tempered glass front round face for monitoring daily activity", + "dark gray accents Apple Watch designed for tracking heart rate", + "Apple Watch for monitoring daily activity scenarios", + "slim profile object used for tracking heart rate", + "palm-sized subtle blue LED glow tempered glass front fitness tracker", + "tracking heart rate with fitness tracker", + "fitness tracker in rectangular case", + "curved edges-shaped Apple Watch", + "smartwatch typically made of tempered glass front", + "rectangular case palm-sized smartwatch", + "Apple Watch featuring round face shape", + "smartwatch suitable for showing notifications", + "fitness tracker with brushed aluminum construction", + "slim profile round face object for tracking heart rate", + "brushed aluminum rectangular case object used for tracking heart rate", + "Apple Watch appropriate for showing notifications", + "rubberized grip Apple Watch", + "tracking heart rate with smartwatch", + "curved edges fitness tracker ideal for tracking heart rate", + "fitness tracker sized as palm-sized", + "tracking heart rate use of fitness tracker", + "smartwatch primarily used for monitoring daily activity", + "Apple Watch in rectangular case form", + "slim profile matte black curved edges object", + "Apple Watch colored dark gray accents", + "subtle blue LED glow rubberized grip rectangular case fitness tracker", + "brushed aluminum object for tracking heart rate", + "subtle blue LED glow round face object for showing notifications", + "slim profile smartwatch for monitoring daily activity", + "round face smartwatch for tracking heart rate", + "about 5 inches tall dark gray accents rubberized grip fitness tracker", + "rubberized grip fitness tracker used for monitoring daily activity", + "Apple Watch for showing notifications scenarios", + "curved edges-shaped smartwatch", + "slim profile subtle blue LED glow rectangular case for showing notifications", + "dark gray accents smartwatch used for monitoring daily activity", + "dark gray accents palm-sized curved edges fitness tracker", + "about 5 inches tall brushed aluminum object", + "fitness tracker with tempered glass front surface", + "Apple Watch for monitoring daily activity", + "curved edges object made of tempered glass front", + "fitness tracker ideal for tracking heart rate", + "fitness tracker for monitoring daily activity scenarios", + "palm-sized matte black tempered glass front fitness tracker", + "matte black object used for showing notifications", + "palm-sized curved edges smartwatch", + "fitness tracker for showing notifications", + "smartwatch with about 5 inches tall dimensions", + "palm-sized Apple Watch perfect for showing notifications", + "fitness tracker featuring curved edges shape", + "smartwatch with rectangular case profile", + "rubberized grip object for showing notifications", + "curved edges smartwatch ideal for monitoring daily activity", + "round face about 5 inches tall fitness tracker", + "smartwatch appropriate for monitoring daily activity", + "palm-sized smartwatch used for tracking heart rate", + "matte black curved edges Apple Watch", + "dark gray accents curved edges object for monitoring daily activity", + "Apple Watch featuring brushed aluminum build", + "slim profile round face Apple Watch", + "smartwatch with brushed aluminum body", + "palm-sized matte black object for tracking heart rate", + "fitness tracker typically made of rubberized grip", + "rectangular case Apple Watch ideal for monitoring daily activity", + "Apple Watch built from tempered glass front", + "slim profile fitness tracker for tracking heart rate", + "round face Apple Watch ideal for tracking heart rate" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00016/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00016/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..b56e756a6f13e4b56b1c2ee45988749cf77d809d --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00016/grasps/UMI.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0063, + 0.008, + 0.0259, + -0.0079, + 0.9984, + 0.0565, + 0.0016 + ], + [ + -0.0001, + -0.001, + 0.0028, + -0.0047, + 0.7075, + 0.7067, + 0.0045 + ], + [ + -0.0087, + -0.0002, + 0.0036, + 0.8655, + 0.0133, + -0.5006, + -0.0033 + ], + [ + 0.0, + 0.001, + 0.003, + -0.0022, + -0.7071, + 0.7072, + -0.0026 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00016/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00016/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..d62835ed21be864c2f4f5b7a2c7fb066b6b64082 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00016/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0097, + -0.004, + 0.0008, + -0.5934, + 0.5757, + 0.5223, + 0.2086 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00016/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00016/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..113c859b4bb0d8a2061b83f2d500ab2acfc3a342 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00016/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0008, + 0.0015, + 0.0051, + 0.0997, + 0.7527, + 0.6328, + -0.1515 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00016/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00016/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..07f2b64819ddc1f902ba7692c995ef1f16554092 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00016/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + -0.0, + 0.003, + -0.0, + 1.0, + 0.0, + -0.0 + ], + [ + 0.0, + -0.0, + 0.003, + 0.0, + 0.7071, + 0.7071, + -0.0 + ], + [ + 0.0, + 0.0, + 0.003, + 0.0, + -0.0, + 1.0, + -0.0 + ], + [ + -0.0, + 0.0, + 0.003, + 0.0, + -0.7071, + 0.7071, + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00016/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00016/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..82c5d620c4ebfc82e1f7076ca9e641c8264dc1a7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00016/grasps/piper_v1.json @@ -0,0 +1,32 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0001, + -0.0, + 0.003, + -0.0007, + 1.0, + -0.0052, + -0.0027 + ], + [ + 0.0001, + 0.0013, + 0.003, + 0.0082, + 0.7154, + 0.6985, + -0.015 + ], + [ + -0.0, + -0.0, + 0.003, + 0.002, + 0.005, + 1.0, + -0.0019 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00016/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00016/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..243a3076fdbb45e63ee57b013c55008bf1b51512 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00016/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + [ + 0.0, + 0.0, + 0.105, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00016/metadata.json b/Objects/RoboDojo/Rigid/block/00016/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..5cf97718447d1b559c07f3a871b171fe276ba9f0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00016/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "a0762e62-687f-40b1-93b6-2a57ff625a91", + "geometry": { + "faces": 1452, + "vertices": 2244, + "aligned_bbox": { + "vertices": [ + [ + -0.02, + -0.02, + -0.02 + ], + [ + -0.02, + -0.02, + 0.02 + ], + [ + -0.02, + 0.02, + -0.02 + ], + [ + -0.02, + 0.02, + 0.02 + ], + [ + 0.02, + -0.02, + -0.02 + ], + [ + 0.02, + -0.02, + 0.02 + ], + [ + 0.02, + 0.02, + -0.02 + ], + [ + 0.02, + 0.02, + 0.02 + ] + ], + "extents": [ + 0.04, + 0.04, + 0.04 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.02, + 0.02, + 0.02 + ], + [ + 0.02, + 0.02, + 0.02 + ], + [ + -0.02, + 0.02, + -0.02 + ], + [ + 0.02, + 0.02, + -0.02 + ], + [ + -0.02, + -0.02, + 0.02 + ], + [ + 0.02, + -0.02, + 0.02 + ], + [ + -0.02, + -0.02, + -0.02 + ], + [ + 0.02, + -0.02, + -0.02 + ] + ], + "extents": [ + 0.04, + 0.04, + 0.04 + ] + }, + "radius": 0.0306 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0025, + 0.0035, + 0.0 + ], + "projection_circle": { + "center": [ + 0.0001, + -0.0001, + -0.0202, + 1.0, + -0.0025, + -0.0035, + -0.0 + ], + "radius": 0.0262 + }, + "contact_circle": { + "center": [ + -0.0, + -0.0004, + -0.0202, + 1.0, + -0.0025, + -0.0035, + -0.0 + ], + "radius": 0.0233 + } + } + } + }, + "physics": { + "mass": 0.3, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.02 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00017/description.json b/Objects/RoboDojo/Rigid/block/00017/description.json new file mode 100644 index 0000000000000000000000000000000000000000..005219888ba2e4aa367643e65658b53a6b63c259 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00017/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "0f027b8b-73c0-468f-8f4e-2ee3249e3b23", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "slim profile matte black Apple Watch", + "monitoring daily activity with Apple Watch", + "dark gray accents smartwatch used for showing notifications", + "smartwatch commonly featuring tempered glass front", + "curved edges object made of brushed aluminum", + "Apple Watch in round face form", + "fitness tracker ideal for showing notifications", + "rubberized grip curved edges Apple Watch", + "Apple Watch in rectangular case", + "slim profile round face object for monitoring daily activity", + "Apple Watch appropriate for showing notifications", + "fitness tracker made from brushed aluminum", + "palm-sized smartwatch for tracking heart rate", + "fitness tracker appropriate for monitoring daily activity", + "Apple Watch built from brushed aluminum", + "curved edges tempered glass front object for tracking heart rate", + "smartwatch intended for showing notifications usage", + "showing notifications with fitness tracker", + "tempered glass front object used for tracking heart rate", + "rubberized grip Apple Watch suitable for showing notifications", + "fitness tracker in rectangular case", + "Apple Watch optimized for monitoring daily activity", + "fitness tracker ideal for tracking heart rate", + "slim profile tempered glass front smartwatch", + "about 5 inches tall dark gray accents curved edges object", + "round face-shaped fitness tracker", + "tempered glass front Apple Watch suitable for tracking heart rate", + "matte black curved edges fitness tracker used for tracking heart rate", + "fitness tracker with palm-sized dimensions", + "about 5 inches tall curved edges fitness tracker", + "fitness tracker intended for monitoring daily activity usage", + "curved edges Apple Watch used for showing notifications", + "fitness tracker with matte black exterior", + "Apple Watch for showing notifications tasks", + "Apple Watch designed for tracking heart rate", + "smartwatch in round face form", + "fitness tracker typically made of brushed aluminum", + "smartwatch commonly featuring rubberized grip", + "round face Apple Watch ideal for tracking heart rate", + "smartwatch suitable for showing notifications", + "dark gray accents smartwatch designed for showing notifications", + "dark gray accents about 5 inches tall rubberized grip object", + "smartwatch built from rubberized grip", + "Apple Watch with matte black color", + "matte black fitness tracker for tracking heart rate", + "palm-sized rubberized grip fitness tracker", + "fitness tracker in round face form", + "smartwatch with curved edges geometry", + "tempered glass front object used for monitoring daily activity", + "brushed aluminum rectangular case fitness tracker", + "smartwatch with brushed aluminum surface", + "fitness tracker appropriate for showing notifications", + "smartwatch with slim profile dimensions", + "smartwatch featuring round face shape", + "curved edges fitness tracker for showing notifications", + "subtle blue LED glow object used for showing notifications", + "dark gray accents palm-sized Apple Watch for monitoring daily activity", + "Apple Watch colored dark gray accents", + "subtle blue LED glow Apple Watch used for showing notifications", + "smartwatch for tracking heart rate tasks", + "Apple Watch for monitoring daily activity with brushed aluminum", + "fitness tracker used to monitoring daily activity", + "fitness tracker suitable for tracking heart rate", + "tempered glass front smartwatch used for monitoring daily activity", + "fitness tracker with about 5 inches tall dimensions", + "monitoring daily activity use of Apple Watch", + "Apple Watch with rectangular case profile", + "rectangular case Apple Watch ideal for monitoring daily activity", + "fitness tracker featuring rubberized grip build", + "smartwatch in rectangular case", + "Apple Watch commonly used for monitoring daily activity", + "Apple Watch featuring rectangular case shape", + "about 5 inches tall matte black curved edges object", + "dark gray accents about 5 inches tall tempered glass front object", + "smartwatch with round face profile", + "palm-sized Apple Watch used for tracking heart rate", + "Apple Watch commonly found in slim profile size", + "dark gray accents round face Apple Watch used for tracking heart rate", + "fitness tracker with rubberized grip body", + "rectangular case brushed aluminum object for showing notifications", + "smartwatch with rectangular case profile", + "dark gray accents rectangular case object for monitoring daily activity", + "smartwatch with round face geometry", + "dark gray accents round face object for showing notifications", + "round face tempered glass front object for monitoring daily activity", + "palm-sized subtle blue LED glow curved edges object", + "smartwatch featuring curved edges shape", + "fitness tracker in slim profile", + "brushed aluminum subtle blue LED glow fitness tracker", + "brushed aluminum smartwatch suitable for tracking heart rate", + "smartwatch for monitoring daily activity use", + "about 5 inches tall matte black round face object", + "Apple Watch built from rubberized grip", + "curved edges object used for tracking heart rate", + "subtle blue LED glow smartwatch for monitoring daily activity", + "Apple Watch with round face profile", + "fitness tracker with brushed aluminum surface", + "palm-sized brushed aluminum fitness tracker", + "matte black about 5 inches tall fitness tracker for showing notifications", + "about 5 inches tall dark gray accents rubberized grip curved edges object" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00017/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00017/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..642fc82d2e34978b329545b1c6f816fe5ea73840 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00017/grasps/UMI.json @@ -0,0 +1,4 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00017/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00017/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..efdf2af9a9cb6f9b72b7ebdb13d88106d8d3ee0b --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00017/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + 0.0002, + -0.001, + 0.0, + 0.7072, + 0.707, + -0.0002 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00017/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00017/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..83c92bac0c0b176f72efa95c562fa9e6e6f3292c --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00017/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0002, + -0.0007, + -0.0018, + -0.012, + 0.6868, + 0.7267, + 0.0108 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00017/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00017/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..c0121586392385f4c910d8e246a98bde87dd4f13 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00017/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0, + -0.0, + 0.005, + 0.0, + 1.0, + -0.0, + 0.0 + ], + [ + 0.0, + 0.0, + 0.005, + -0.0, + 0.7071, + 0.7071, + 0.0 + ], + [ + -0.0, + 0.0, + 0.005, + -0.0, + 0.0, + 1.0, + 0.0 + ], + [ + -0.0, + -0.0, + 0.005, + -0.0, + -0.7071, + 0.7071, + -0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00017/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00017/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..2f9af880edfe984bc1b85b4fdf82cb63148f7115 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00017/grasps/piper_v1.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + -0.0, + -0.001, + 0.0, + 1.0, + -0.0001, + -0.0 + ], + [ + -0.0, + -0.0, + -0.001, + -0.0002, + 0.7071, + 0.7071, + 0.0023 + ], + [ + 0.0, + -0.0, + -0.001, + -0.0015, + -0.0005, + 1.0, + 0.0015 + ], + [ + 0.0, + 0.0, + -0.001, + -0.0021, + -0.7072, + 0.707, + -0.0001 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00017/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00017/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..9dbe5be1e4f3781b90e071ad4b3bea768b5aa741 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00017/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + [ + 0.0, + 0.0, + 0.101, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.101, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00017/metadata.json b/Objects/RoboDojo/Rigid/block/00017/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..24588abb6988622d3272b58cedd9cfc4ae529f5f --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00017/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "0f027b8b-73c0-468f-8f4e-2ee3249e3b23", + "geometry": { + "faces": 1452, + "vertices": 2257, + "aligned_bbox": { + "vertices": [ + [ + -0.015, + -0.015, + -0.015 + ], + [ + -0.015, + -0.015, + 0.015 + ], + [ + -0.015, + 0.015, + -0.015 + ], + [ + -0.015, + 0.015, + 0.015 + ], + [ + 0.015, + -0.015, + -0.015 + ], + [ + 0.015, + -0.015, + 0.015 + ], + [ + 0.015, + 0.015, + -0.015 + ], + [ + 0.015, + 0.015, + 0.015 + ] + ], + "extents": [ + 0.03, + 0.03, + 0.03 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.015, + 0.015, + 0.015 + ], + [ + 0.015, + 0.015, + 0.015 + ], + [ + -0.015, + 0.015, + -0.015 + ], + [ + 0.015, + 0.015, + -0.015 + ], + [ + -0.015, + -0.015, + 0.015 + ], + [ + 0.015, + -0.015, + 0.015 + ], + [ + -0.015, + -0.015, + -0.015 + ], + [ + 0.015, + -0.015, + -0.015 + ] + ], + "extents": [ + 0.03, + 0.03, + 0.03 + ] + }, + "radius": 0.0229 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0011, + -0.0006, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0, + -0.0, + -0.015, + 1.0, + -0.0011, + 0.0006, + 0.0 + ], + "radius": 0.0196 + }, + "contact_circle": { + "center": [ + -0.0, + -0.0, + -0.015, + 1.0, + -0.0011, + 0.0006, + 0.0 + ], + "radius": 0.0181 + } + } + } + }, + "physics": { + "mass": 0.2, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.015, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.015 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00018/description.json b/Objects/RoboDojo/Rigid/block/00018/description.json new file mode 100644 index 0000000000000000000000000000000000000000..005219888ba2e4aa367643e65658b53a6b63c259 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00018/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "0f027b8b-73c0-468f-8f4e-2ee3249e3b23", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "slim profile matte black Apple Watch", + "monitoring daily activity with Apple Watch", + "dark gray accents smartwatch used for showing notifications", + "smartwatch commonly featuring tempered glass front", + "curved edges object made of brushed aluminum", + "Apple Watch in round face form", + "fitness tracker ideal for showing notifications", + "rubberized grip curved edges Apple Watch", + "Apple Watch in rectangular case", + "slim profile round face object for monitoring daily activity", + "Apple Watch appropriate for showing notifications", + "fitness tracker made from brushed aluminum", + "palm-sized smartwatch for tracking heart rate", + "fitness tracker appropriate for monitoring daily activity", + "Apple Watch built from brushed aluminum", + "curved edges tempered glass front object for tracking heart rate", + "smartwatch intended for showing notifications usage", + "showing notifications with fitness tracker", + "tempered glass front object used for tracking heart rate", + "rubberized grip Apple Watch suitable for showing notifications", + "fitness tracker in rectangular case", + "Apple Watch optimized for monitoring daily activity", + "fitness tracker ideal for tracking heart rate", + "slim profile tempered glass front smartwatch", + "about 5 inches tall dark gray accents curved edges object", + "round face-shaped fitness tracker", + "tempered glass front Apple Watch suitable for tracking heart rate", + "matte black curved edges fitness tracker used for tracking heart rate", + "fitness tracker with palm-sized dimensions", + "about 5 inches tall curved edges fitness tracker", + "fitness tracker intended for monitoring daily activity usage", + "curved edges Apple Watch used for showing notifications", + "fitness tracker with matte black exterior", + "Apple Watch for showing notifications tasks", + "Apple Watch designed for tracking heart rate", + "smartwatch in round face form", + "fitness tracker typically made of brushed aluminum", + "smartwatch commonly featuring rubberized grip", + "round face Apple Watch ideal for tracking heart rate", + "smartwatch suitable for showing notifications", + "dark gray accents smartwatch designed for showing notifications", + "dark gray accents about 5 inches tall rubberized grip object", + "smartwatch built from rubberized grip", + "Apple Watch with matte black color", + "matte black fitness tracker for tracking heart rate", + "palm-sized rubberized grip fitness tracker", + "fitness tracker in round face form", + "smartwatch with curved edges geometry", + "tempered glass front object used for monitoring daily activity", + "brushed aluminum rectangular case fitness tracker", + "smartwatch with brushed aluminum surface", + "fitness tracker appropriate for showing notifications", + "smartwatch with slim profile dimensions", + "smartwatch featuring round face shape", + "curved edges fitness tracker for showing notifications", + "subtle blue LED glow object used for showing notifications", + "dark gray accents palm-sized Apple Watch for monitoring daily activity", + "Apple Watch colored dark gray accents", + "subtle blue LED glow Apple Watch used for showing notifications", + "smartwatch for tracking heart rate tasks", + "Apple Watch for monitoring daily activity with brushed aluminum", + "fitness tracker used to monitoring daily activity", + "fitness tracker suitable for tracking heart rate", + "tempered glass front smartwatch used for monitoring daily activity", + "fitness tracker with about 5 inches tall dimensions", + "monitoring daily activity use of Apple Watch", + "Apple Watch with rectangular case profile", + "rectangular case Apple Watch ideal for monitoring daily activity", + "fitness tracker featuring rubberized grip build", + "smartwatch in rectangular case", + "Apple Watch commonly used for monitoring daily activity", + "Apple Watch featuring rectangular case shape", + "about 5 inches tall matte black curved edges object", + "dark gray accents about 5 inches tall tempered glass front object", + "smartwatch with round face profile", + "palm-sized Apple Watch used for tracking heart rate", + "Apple Watch commonly found in slim profile size", + "dark gray accents round face Apple Watch used for tracking heart rate", + "fitness tracker with rubberized grip body", + "rectangular case brushed aluminum object for showing notifications", + "smartwatch with rectangular case profile", + "dark gray accents rectangular case object for monitoring daily activity", + "smartwatch with round face geometry", + "dark gray accents round face object for showing notifications", + "round face tempered glass front object for monitoring daily activity", + "palm-sized subtle blue LED glow curved edges object", + "smartwatch featuring curved edges shape", + "fitness tracker in slim profile", + "brushed aluminum subtle blue LED glow fitness tracker", + "brushed aluminum smartwatch suitable for tracking heart rate", + "smartwatch for monitoring daily activity use", + "about 5 inches tall matte black round face object", + "Apple Watch built from rubberized grip", + "curved edges object used for tracking heart rate", + "subtle blue LED glow smartwatch for monitoring daily activity", + "Apple Watch with round face profile", + "fitness tracker with brushed aluminum surface", + "palm-sized brushed aluminum fitness tracker", + "matte black about 5 inches tall fitness tracker for showing notifications", + "about 5 inches tall dark gray accents rubberized grip curved edges object" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00018/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00018/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8900efbe463dea9722a336b4e22af3d9ea97f822 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00018/grasps/UMI.json @@ -0,0 +1,347 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0008, + -0.0005, + -0.0026, + 0.9969, + 0.0315, + -0.0653, + -0.029 + ], + [ + -0.0058, + 0.0146, + 0.009, + 0.8441, + 0.5192, + 0.0751, + -0.1109 + ], + [ + -0.0138, + -0.0021, + -0.0132, + 0.0053, + 0.0049, + -0.2093, + -0.9778 + ], + [ + -0.0027, + -0.0021, + 0.017, + 0.832, + -0.1274, + 0.5002, + 0.2034 + ], + [ + -0.0014, + -0.0042, + 0.0003, + 0.9959, + -0.0161, + -0.0409, + -0.0785 + ], + [ + -0.0007, + 0.0018, + -0.0113, + 0.0732, + -0.7442, + -0.1007, + -0.6562 + ], + [ + 0.0001, + -0.0052, + -0.0083, + 0.8602, + -0.5039, + -0.0698, + -0.0352 + ], + [ + -0.001, + -0.0031, + -0.0061, + 0.7254, + -0.6883, + 0.0005, + -0.0015 + ], + [ + 0.0009, + -0.0005, + 0.001, + 0.2163, + 0.6836, + 0.2162, + -0.6627 + ], + [ + -0.0034, + -0.0056, + 0.0012, + 0.8798, + 0.4745, + 0.0262, + 0.0113 + ], + [ + -0.0028, + 0.0001, + -0.0045, + 0.5395, + -0.468, + 0.449, + -0.537 + ], + [ + 0.0037, + 0.0041, + 0.0024, + 0.5713, + 0.4264, + 0.4185, + 0.5627 + ], + [ + -0.0059, + 0.0092, + 0.0017, + 0.058, + 0.0018, + -0.036, + 0.9977 + ], + [ + 0.0301, + 0.0106, + -0.012, + -0.5629, + 0.0567, + -0.8235, + -0.0414 + ], + [ + -0.001, + 0.0061, + -0.0003, + 0.9991, + -0.0335, + -0.0144, + -0.0214 + ], + [ + 0.0042, + -0.0221, + 0.0005, + 0.2884, + -0.0759, + 0.925, + 0.2355 + ], + [ + -0.0063, + -0.0096, + -0.0103, + 0.864, + -0.4539, + 0.1924, + -0.1018 + ], + [ + -0.012, + 0.0081, + -0.0022, + 0.9759, + 0.2184, + -0.0001, + 0.0002 + ], + [ + 0.0017, + 0.0106, + 0.0025, + 0.1148, + 0.6592, + -0.7095, + -0.2213 + ], + [ + 0.0034, + 0.0004, + 0.0012, + 0.7221, + 0.0841, + 0.68, + -0.0951 + ], + [ + -0.0054, + 0.0017, + 0.0009, + 0.6048, + 0.358, + 0.6321, + -0.3265 + ], + [ + 0.0015, + 0.0039, + -0.0034, + 0.0909, + 0.0009, + -0.241, + 0.9663 + ], + [ + -0.0005, + -0.0056, + -0.0099, + 0.3844, + 0.5935, + -0.3844, + 0.5935 + ], + [ + -0.0011, + -0.0034, + 0.0017, + 0.3152, + -0.947, + -0.0056, + -0.0609 + ], + [ + -0.0026, + -0.0017, + 0.0008, + 0.4826, + 0.5475, + 0.4983, + -0.468 + ], + [ + 0.0054, + -0.0021, + -0.024, + 0.3914, + -0.0721, + -0.8937, + -0.2072 + ], + [ + -0.0059, + 0.0048, + 0.0009, + 0.5435, + -0.4911, + 0.5166, + 0.4432 + ], + [ + -0.0025, + -0.0011, + 0.0012, + 0.772, + -0.0445, + -0.0541, + 0.6318 + ], + [ + 0.0015, + 0.0021, + -0.005, + 0.0969, + 0.0172, + 0.1733, + 0.9799 + ], + [ + -0.001, + 0.0057, + 0.0011, + 0.1905, + -0.6912, + 0.146, + 0.6816 + ], + [ + -0.0004, + -0.001, + -0.0007, + 0.7186, + 0.1207, + 0.104, + 0.677 + ], + [ + 0.0041, + -0.0011, + -0.0035, + 0.3814, + 0.6034, + 0.5713, + 0.4049 + ], + [ + -0.0067, + -0.0009, + 0.0038, + 0.6291, + 0.3201, + 0.3408, + 0.621 + ], + [ + -0.0042, + 0.0102, + 0.0025, + 0.0485, + 0.6743, + -0.7047, + -0.2153 + ], + [ + -0.0069, + -0.0011, + -0.0051, + 0.623, + 0.3367, + 0.3506, + 0.6129 + ], + [ + -0.0032, + 0.0044, + 0.0011, + 0.6956, + 0.0251, + 0.7171, + 0.0351 + ], + [ + -0.0006, + 0.0011, + -0.0056, + 0.9939, + 0.0377, + -0.0543, + -0.0883 + ], + [ + 0.0119, + -0.0001, + -0.0023, + 0.0003, + -0.0, + 1.0, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00018/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00018/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..b6af02d77774ebeed0911690e24ef497ee7210fb --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00018/grasps/XOne.json @@ -0,0 +1,257 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0203, + 0.0055, + -0.0224, + 0.973, + 0.0784, + -0.2159, + -0.0229 + ], + [ + -0.0034, + -0.0061, + -0.0026, + 0.7127, + 0.0179, + 0.7005, + 0.032 + ], + [ + 0.0049, + 0.0041, + -0.0017, + 0.6664, + 0.2088, + 0.6517, + -0.296 + ], + [ + -0.0027, + -0.0061, + -0.0002, + 0.7046, + -0.702, + 0.0685, + -0.0777 + ], + [ + -0.0029, + 0.0026, + -0.0013, + 0.4603, + 0.5074, + 0.5615, + -0.4641 + ], + [ + 0.0027, + -0.0039, + -0.0023, + 0.246, + 0.5768, + -0.7513, + -0.206 + ], + [ + 0.0023, + 0.0075, + -0.0027, + 0.978, + 0.2001, + 0.0563, + -0.0171 + ], + [ + -0.0033, + -0.0071, + -0.0005, + 0.7158, + -0.6937, + 0.0583, + -0.0559 + ], + [ + -0.0079, + -0.011, + 0.0043, + 0.2609, + -0.1498, + -0.5277, + 0.7944 + ], + [ + -0.0032, + -0.0034, + -0.0015, + 0.2411, + 0.5718, + -0.5037, + 0.6009 + ], + [ + -0.0005, + 0.004, + -0.0036, + 0.097, + 0.0098, + -0.2392, + 0.9661 + ], + [ + 0.01, + 0.0078, + 0.0107, + 0.2987, + 0.6198, + 0.4116, + -0.5977 + ], + [ + -0.0034, + 0.0018, + 0.0023, + 0.7942, + -0.234, + -0.5358, + -0.1653 + ], + [ + -0.006, + 0.0047, + -0.0005, + 0.5435, + -0.4856, + 0.5163, + 0.4496 + ], + [ + -0.0003, + 0.0068, + -0.0047, + -0.006, + -0.0082, + 0.174, + 0.9847 + ], + [ + -0.0005, + 0.0001, + -0.0006, + 0.7162, + 0.1211, + 0.1039, + 0.6794 + ], + [ + -0.0009, + 0.0004, + 0.0023, + 0.3787, + -0.6006, + -0.6258, + 0.3229 + ], + [ + -0.0074, + 0.0003, + 0.0033, + 0.6135, + 0.3131, + 0.3507, + 0.6345 + ], + [ + -0.0099, + -0.0048, + -0.0073, + 0.5596, + 0.2507, + 0.4362, + 0.6587 + ], + [ + 0.0028, + 0.0002, + -0.0058, + 0.5805, + -0.0975, + -0.1716, + 0.79 + ], + [ + -0.0124, + -0.0034, + 0.0005, + -0.0927, + -0.0303, + 0.9679, + 0.2315 + ], + [ + -0.0125, + -0.0016, + -0.0001, + 0.6208, + 0.3398, + -0.6117, + 0.3535 + ], + [ + 0.004, + -0.0062, + 0.0063, + 0.2119, + -0.7047, + 0.4396, + 0.515 + ], + [ + 0.0002, + -0.002, + -0.0028, + 0.9918, + 0.0386, + -0.0756, + -0.0955 + ], + [ + -0.0062, + -0.0068, + -0.001, + 0.2021, + -0.5826, + -0.1489, + -0.773 + ], + [ + 0.0003, + -0.0001, + -0.0017, + -0.0007, + 1.0, + -0.0036, + 0.0059 + ], + [ + -0.0008, + -0.0001, + -0.0016, + 0.0154, + 0.0026, + 0.9999, + -0.0044 + ], + [ + -0.0, + 0.0, + -0.0019, + 0.0049, + -0.7, + 0.7141, + -0.003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00018/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00018/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..48187a0fe12162f6b06a21876bcfd1d9ba00d7b5 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00018/grasps/aloha.json @@ -0,0 +1,491 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + 0.0005, + 0.0065, + 0.0013, + 0.9969, + 0.0666, + -0.0404, + -0.0121 + ], + [ + -0.0014, + -0.007, + -0.0003, + 0.2469, + 0.6968, + -0.2138, + 0.6386 + ], + [ + 0.0042, + 0.0024, + -0.0032, + 0.7592, + -0.1824, + 0.5975, + 0.1826 + ], + [ + -0.0088, + -0.0151, + -0.0055, + 0.6783, + -0.1176, + 0.7252, + 0.0101 + ], + [ + 0.0046, + -0.0064, + 0.0011, + 0.7186, + 0.0053, + 0.6945, + 0.0358 + ], + [ + -0.0085, + 0.0066, + -0.0045, + 0.724, + -0.6841, + 0.0614, + 0.0637 + ], + [ + 0.0002, + 0.0028, + 0.0103, + 0.0306, + -0.078, + -0.008, + -0.9965 + ], + [ + 0.0005, + 0.0047, + 0.0016, + 0.5944, + 0.362, + 0.6266, + -0.3507 + ], + [ + 0.0054, + -0.0055, + 0.0145, + 0.9954, + 0.0699, + -0.0283, + 0.0599 + ], + [ + -0.0067, + -0.0004, + 0.0009, + 0.6244, + -0.3214, + 0.6284, + 0.3345 + ], + [ + 0.0161, + -0.0085, + 0.0006, + 0.0329, + 0.0586, + 0.4755, + 0.8772 + ], + [ + 0.0008, + -0.0009, + 0.0001, + 0.0028, + 0.0232, + 0.9673, + -0.2526 + ], + [ + -0.001, + -0.0023, + -0.0043, + 0.5718, + -0.5005, + 0.4341, + -0.484 + ], + [ + 0.0041, + 0.002, + 0.0032, + 0.5648, + 0.4588, + 0.3953, + 0.5607 + ], + [ + 0.0325, + 0.0081, + -0.0177, + 0.0625, + -0.8508, + -0.4388, + -0.2824 + ], + [ + -0.0009, + -0.0025, + -0.0027, + 0.717, + -0.6945, + 0.0443, + 0.0406 + ], + [ + 0.003, + 0.0029, + 0.0026, + 0.2545, + -0.6305, + 0.4441, + -0.5835 + ], + [ + -0.0069, + 0.0078, + -0.0054, + -0.0241, + 0.6655, + -0.7432, + -0.0645 + ], + [ + -0.0034, + -0.0003, + -0.0004, + 0.864, + -0.4956, + 0.0819, + -0.0328 + ], + [ + -0.0002, + 0.0075, + -0.0016, + 0.9758, + 0.2171, + -0.0195, + -0.0143 + ], + [ + -0.0056, + -0.0018, + -0.0037, + 0.12, + 0.5891, + -0.7666, + -0.2258 + ], + [ + 0.0074, + 0.0024, + 0.0019, + 0.6389, + 0.1491, + 0.7546, + -0.0168 + ], + [ + -0.007, + 0.0057, + 0.0111, + 0.1932, + -0.0201, + 0.0945, + 0.9764 + ], + [ + -0.0047, + 0.0011, + 0.0069, + 0.5771, + 0.3672, + 0.6546, + -0.3218 + ], + [ + -0.0019, + -0.0048, + 0.0002, + 0.7145, + -0.6988, + 0.0255, + -0.0211 + ], + [ + 0.0017, + -0.01, + 0.0112, + 0.0285, + -0.0548, + -0.5204, + 0.8517 + ], + [ + -0.008, + -0.0119, + 0.0053, + 0.4653, + 0.6144, + -0.413, + 0.4852 + ], + [ + 0.001, + 0.0037, + -0.0037, + 0.0528, + 0.0056, + -0.2401, + 0.9693 + ], + [ + 0.0074, + 0.001, + -0.003, + 0.464, + -0.5489, + 0.4211, + -0.5533 + ], + [ + 0.0189, + -0.0111, + -0.0011, + 0.341, + 0.6152, + -0.3291, + 0.6301 + ], + [ + -0.0096, + 0.0055, + 0.0053, + 0.3893, + -0.5608, + 0.3438, + 0.6448 + ], + [ + -0.003, + -0.0055, + 0.0014, + 0.4856, + 0.5646, + 0.5258, + -0.4111 + ], + [ + -0.0107, + -0.005, + -0.0017, + 0.4812, + 0.4404, + -0.4823, + 0.5847 + ], + [ + 0.0007, + -0.0018, + -0.0007, + 0.6024, + -0.3343, + -0.6266, + -0.3643 + ], + [ + 0.0045, + 0.0047, + 0.0066, + 0.703, + -0.0529, + -0.0113, + 0.7091 + ], + [ + -0.0008, + 0.0038, + 0.002, + 0.6302, + -0.2213, + -0.7262, + -0.1627 + ], + [ + -0.0019, + 0.0036, + 0.0046, + 0.7558, + -0.0931, + 0.0241, + 0.6477 + ], + [ + -0.0022, + 0.0029, + 0.0004, + 0.2474, + -0.688, + 0.0952, + 0.6755 + ], + [ + 0.0046, + -0.0052, + -0.0045, + 0.4201, + 0.5948, + 0.5601, + 0.3951 + ], + [ + -0.0054, + -0.0006, + -0.0039, + 0.2119, + -0.6002, + -0.6178, + 0.4616 + ], + [ + -0.0063, + -0.0037, + 0.0014, + 0.1852, + 0.6569, + -0.7185, + -0.134 + ], + [ + -0.0071, + -0.0009, + -0.0051, + 0.6231, + 0.342, + 0.3449, + 0.613 + ], + [ + -0.0023, + -0.0001, + -0.0046, + 0.697, + -0.1025, + -0.1388, + 0.696 + ], + [ + 0.0023, + 0.0005, + -0.0071, + -0.0566, + -0.021, + 0.9614, + 0.2685 + ], + [ + -0.0061, + 0.0024, + 0.0034, + 0.7145, + 0.0455, + 0.0434, + -0.6968 + ], + [ + -0.0156, + -0.0026, + 0.002, + 0.596, + 0.4245, + -0.5943, + 0.3338 + ], + [ + -0.0028, + 0.0008, + -0.0006, + 0.1744, + -0.666, + -0.6701, + 0.2774 + ], + [ + 0.0041, + -0.0007, + 0.004, + 0.2709, + -0.6651, + 0.3983, + 0.5707 + ], + [ + 0.0009, + -0.0022, + -0.0026, + 0.983, + 0.0228, + -0.1055, + -0.1487 + ], + [ + -0.0008, + -0.0004, + 0.0002, + 0.3384, + 0.5107, + -0.5225, + 0.593 + ], + [ + -0.0078, + -0.0088, + -0.0067, + 0.036, + 0.0349, + -0.7034, + 0.7091 + ], + [ + 0.0, + -0.0144, + 0.0013, + -0.0382, + 0.0521, + -0.5279, + 0.8468 + ], + [ + -0.008, + -0.005, + 0.002, + 0.0986, + -0.7568, + -0.2029, + -0.6135 + ], + [ + 0.0002, + 0.0002, + -0.0022, + -0.0152, + 0.7016, + 0.7115, + 0.0364 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00018/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00018/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..21079bdf501ee38322f4f6bc3c359b0f7d3446ac --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00018/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + 0.0, + -0.0, + -0.002, + 0.0, + 1.0, + -0.0, + 0.0 + ], + [ + 0.0, + 0.0, + -0.002, + -0.0, + 0.7071, + 0.7071, + 0.0 + ], + [ + -0.0, + 0.0, + -0.002, + -0.0, + 0.0, + 1.0, + 0.0 + ], + [ + -0.0, + -0.0, + -0.002, + -0.0, + -0.7071, + 0.7071, + -0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00018/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00018/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..66c71625e340c27c0bb7fc3c43f20f4e085974f0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00018/grasps/piper_v1.json @@ -0,0 +1,707 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + -0.0023, + -0.0032, + -0.0004, + 0.212, + -0.6722, + -0.1631, + -0.6903 + ], + [ + 0.0009, + -0.0005, + -0.0026, + 0.9975, + 0.0313, + -0.0587, + -0.0237 + ], + [ + 0.0006, + -0.0039, + 0.0009, + 0.8942, + 0.4436, + -0.0592, + 0.0085 + ], + [ + 0.0004, + -0.0073, + -0.0007, + 0.0237, + 0.0136, + -0.222, + -0.9747 + ], + [ + 0.0025, + 0.0034, + -0.0026, + 0.0759, + -0.0689, + 0.2612, + 0.9598 + ], + [ + -0.0014, + -0.0027, + -0.0067, + 0.8906, + -0.4519, + 0.0209, + -0.0458 + ], + [ + 0.0032, + 0.0089, + 0.0015, + 0.9962, + 0.0079, + -0.0374, + -0.0784 + ], + [ + 0.0007, + -0.0008, + -0.0145, + 0.1891, + 0.7659, + -0.2182, + 0.5745 + ], + [ + -0.0046, + 0.0046, + -0.0001, + 0.9306, + -0.319, + -0.1768, + 0.0306 + ], + [ + 0.017, + -0.0036, + 0.0051, + 0.473, + 0.4948, + -0.154, + 0.7125 + ], + [ + 0.0003, + 0.0026, + -0.0001, + 0.6864, + -0.172, + 0.6741, + 0.2121 + ], + [ + 0.0014, + 0.0008, + 0.0012, + 0.0906, + -0.0279, + -0.24, + 0.9661 + ], + [ + 0.0096, + 0.0146, + -0.0139, + 0.6368, + -0.7458, + 0.0272, + -0.1939 + ], + [ + -0.0, + -0.0054, + -0.0011, + 0.7172, + 0.1688, + 0.6477, + -0.1939 + ], + [ + 0.0002, + -0.0045, + 0.0033, + 0.9954, + -0.0351, + 0.0646, + -0.0614 + ], + [ + -0.0, + -0.0023, + 0.0006, + 0.3286, + 0.6444, + 0.3618, + -0.5882 + ], + [ + -0.022, + 0.006, + 0.0021, + 0.9639, + -0.0066, + -0.2428, + -0.1089 + ], + [ + 0.0011, + -0.0054, + -0.0088, + 0.8607, + -0.5043, + -0.0646, + -0.0272 + ], + [ + -0.0067, + -0.0005, + -0.0, + 0.6235, + -0.3174, + 0.6293, + 0.3384 + ], + [ + 0.0001, + -0.0033, + -0.0056, + 0.7239, + -0.6897, + -0.0108, + -0.0123 + ], + [ + 0.0009, + -0.0006, + 0.0003, + 0.2154, + 0.6823, + 0.218, + -0.6637 + ], + [ + 0.0055, + 0.0016, + 0.0004, + 0.6594, + 0.2422, + 0.6798, + -0.2106 + ], + [ + 0.0005, + -0.007, + 0.002, + 0.8833, + 0.4657, + -0.0457, + -0.0298 + ], + [ + 0.0006, + -0.0061, + 0.0019, + 0.07, + 0.0625, + 0.4727, + 0.8762 + ], + [ + 0.0001, + -0.0008, + 0.0001, + 0.001, + 0.0206, + 0.9673, + -0.2526 + ], + [ + -0.003, + -0.0003, + -0.0047, + 0.5433, + -0.4726, + 0.4448, + -0.5325 + ], + [ + 0.0001, + -0.0033, + -0.0049, + 0.9786, + -0.1991, + -0.0251, + -0.0464 + ], + [ + 0.0035, + 0.0005, + 0.0025, + 0.5748, + 0.437, + 0.4111, + 0.5564 + ], + [ + -0.0036, + -0.0034, + 0.0014, + 0.5961, + 0.3596, + 0.637, + -0.331 + ], + [ + -0.0056, + -0.0035, + 0.0005, + 0.3469, + -0.6218, + -0.3387, + -0.615 + ], + [ + 0.0, + -0.0028, + -0.0004, + 0.7152, + -0.6988, + -0.0054, + -0.0088 + ], + [ + 0.0029, + 0.0026, + 0.0, + 0.6162, + 0.3711, + -0.6056, + 0.3403 + ], + [ + 0.0002, + 0.0053, + 0.0043, + 0.0711, + 0.0049, + -0.0888, + 0.9935 + ], + [ + 0.0002, + -0.0084, + 0.0044, + 0.9988, + -0.0326, + -0.0354, + -0.0044 + ], + [ + 0.0013, + -0.0068, + -0.0002, + 0.4673, + 0.4743, + 0.6021, + -0.4406 + ], + [ + 0.0003, + 0.0076, + -0.004, + 0.9998, + -0.0049, + -0.0178, + 0.0047 + ], + [ + -0.0038, + 0.0025, + 0.0005, + 0.4912, + 0.5316, + 0.4961, + -0.4796 + ], + [ + -0.0046, + -0.0106, + -0.0012, + 0.3787, + -0.4682, + 0.6133, + -0.5112 + ], + [ + -0.0059, + -0.0043, + -0.0018, + 0.6946, + -0.2359, + 0.6065, + 0.3066 + ], + [ + -0.0019, + -0.0242, + 0.0008, + 0.4328, + 0.5468, + -0.7163, + 0.0221 + ], + [ + 0.0, + -0.0059, + -0.0012, + 0.8653, + -0.5004, + -0.0148, + -0.0246 + ], + [ + 0.0044, + -0.0024, + 0.0003, + 0.6117, + -0.3023, + -0.6523, + -0.3301 + ], + [ + 0.0028, + -0.0016, + -0.0035, + 0.5832, + 0.5425, + 0.3747, + 0.4745 + ], + [ + 0.0006, + 0.0049, + 0.004, + 0.0966, + -0.0304, + 0.2408, + 0.9653 + ], + [ + 0.0015, + 0.0081, + -0.0016, + 0.9761, + 0.2128, + -0.0263, + -0.0362 + ], + [ + -0.0018, + 0.0002, + -0.0024, + 0.1257, + 0.6639, + -0.6912, + -0.2564 + ], + [ + -0.0049, + 0.0016, + -0.0128, + 0.5969, + 0.3534, + 0.6391, + -0.3322 + ], + [ + -0.0007, + -0.0053, + -0.0004, + 0.7256, + -0.6874, + 0.019, + -0.023 + ], + [ + 0.0, + 0.0036, + -0.0037, + 0.0818, + 0.0076, + -0.2395, + 0.9674 + ], + [ + 0.0071, + -0.0004, + -0.0043, + 0.5377, + -0.4761, + 0.4619, + -0.5205 + ], + [ + -0.0031, + -0.0034, + -0.0141, + 0.363, + 0.6978, + -0.4698, + 0.4008 + ], + [ + -0.0006, + -0.0037, + 0.0017, + 0.3166, + -0.9469, + -0.0111, + -0.055 + ], + [ + 0.0067, + 0.0035, + 0.0, + 0.3706, + 0.61, + 0.3585, + -0.6017 + ], + [ + 0.0007, + -0.0018, + 0.0001, + 0.5953, + -0.3281, + -0.6332, + -0.3703 + ], + [ + 0.0047, + -0.0, + 0.0061, + 0.7175, + -0.0231, + -0.0346, + 0.6953 + ], + [ + -0.0022, + 0.0036, + -0.0005, + 0.6165, + -0.2136, + -0.74, + -0.1635 + ], + [ + -0.0075, + 0.0048, + -0.0012, + 0.5721, + -0.4951, + 0.4958, + 0.4265 + ], + [ + -0.0027, + 0.0003, + 0.0009, + 0.7648, + -0.0403, + -0.059, + 0.6403 + ], + [ + 0.0003, + 0.0023, + -0.0049, + 0.0921, + 0.024, + 0.1788, + 0.9793 + ], + [ + -0.0016, + 0.0078, + -0.0002, + 0.1389, + -0.7135, + 0.1848, + 0.6615 + ], + [ + 0.0007, + 0.0001, + 0.0008, + 0.6974, + 0.0874, + 0.1374, + 0.6979 + ], + [ + -0.0012, + -0.0006, + 0.0018, + 0.3875, + -0.6007, + -0.6261, + 0.3116 + ], + [ + -0.007, + -0.0, + 0.0035, + 0.6318, + 0.3197, + 0.3404, + 0.6187 + ], + [ + -0.0049, + 0.0261, + 0.0055, + -0.1045, + 0.6228, + -0.6412, + -0.4361 + ], + [ + -0.0071, + -0.0, + -0.0051, + 0.6246, + 0.3394, + 0.3476, + 0.6115 + ], + [ + -0.0023, + 0.0005, + -0.0048, + 0.6955, + -0.0975, + -0.1448, + 0.697 + ], + [ + -0.0145, + -0.0004, + -0.0014, + -0.2073, + -0.0633, + 0.9344, + 0.2827 + ], + [ + -0.0051, + 0.0004, + 0.0017, + 0.6856, + 0.0344, + -0.0033, + -0.7271 + ], + [ + -0.0127, + -0.0023, + 0.0, + 0.6428, + 0.341, + -0.5972, + 0.3374 + ], + [ + -0.0028, + 0.0056, + -0.0139, + 0.7178, + 0.0311, + 0.6937, + 0.0506 + ], + [ + 0.0046, + 0.0017, + -0.0001, + 0.3727, + -0.6379, + 0.3004, + 0.6033 + ], + [ + -0.0064, + 0.0012, + 0.0011, + 0.3724, + 0.6298, + -0.4098, + 0.5447 + ], + [ + -0.0002, + -0.01, + -0.0061, + 0.0411, + 0.028, + -0.6944, + 0.7179 + ], + [ + 0.0122, + -0.0124, + 0.0008, + -0.0255, + 0.0278, + -0.5253, + 0.8501 + ], + [ + -0.0, + 0.0, + -0.002, + -0.0, + 1.0, + -0.0003, + 0.0001 + ], + [ + 0.0, + 0.0, + -0.002, + -0.0001, + 0.7074, + 0.7068, + 0.0001 + ], + [ + -0.0, + -0.0, + -0.002, + -0.0001, + 0.0003, + 1.0, + -0.0 + ], + [ + 0.0, + -0.0, + -0.002, + -0.0001, + -0.7069, + 0.7073, + -0.0001 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00018/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00018/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0fa71c45d5002f437898abfe612c87e236e5889f --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00018/grasps/proposal.json @@ -0,0 +1,1253 @@ +{ + "uuid": "24ccdaaf-09b4-4d71-b68d-3d63ac4d820e", + "grasp": [ + [ + [ + -0.08994514461167549, + -0.05515085109478197, + -0.0053685521769575445, + 0.2153537681416006, + -0.6707762830720184, + -0.1597118715452709, + -0.691501302025389 + ], + 0.9541938304901123 + ], + [ + [ + 0.01575866375557685, + 0.005377928773254541, + -0.10331248585761112, + 0.9963574334261492, + 0.031239585961860283, + -0.073350061844626, + -0.030260891473613407 + ], + 0.9510727524757385 + ], + [ + [ + 0.0070149245343318015, + 0.07737677968138496, + -0.06059588213146251, + 0.894100345006952, + 0.44389009323750434, + -0.058493603506719394, + 0.01116496900346921 + ], + 0.9472348690032959 + ], + [ + [ + 0.004943863828401807, + -0.05535976164942941, + -0.09562635515511554, + 0.009548473852656832, + 0.048319731164471615, + -0.2722997231796582, + -0.9609510346440966 + ], + 0.9471831321716309 + ], + [ + [ + 0.0030510421979388024, + -0.051413110876142594, + -0.09260805790007633, + 0.026732790063780418, + 0.015001827888246189, + -0.22203374666313613, + -0.9745569857315413 + ], + 0.946749746799469 + ], + [ + [ + 0.012691678818981889, + -0.0428802775681611, + -0.09156538639843982, + 0.059449965490942794, + -0.07299139276069377, + 0.22900395498048165, + 0.9688628111292523 + ], + 0.9454984664916992 + ], + [ + [ + -0.007938259872872588, + -0.08526486479645928, + -0.0662348801332764, + 0.8888298455876605, + -0.45617896501508864, + 0.020825567482064655, + -0.038059863497239534 + ], + 0.9441311359405518 + ], + [ + [ + 0.010522052054028752, + 0.019871309912145523, + -0.09938144777596515, + 0.9969902584146854, + 0.06675398318491314, + -0.03775347031772025, + -0.01135807352225267 + ], + 0.9415324926376343 + ], + [ + [ + -0.08309381421216225, + 0.05815346217745581, + 0.0022945112951793106, + 0.21461901998981597, + 0.6689275132085476, + -0.21267973028219822, + 0.6791479887758861 + ], + 0.9407901167869568 + ], + [ + [ + -0.0008732770316155823, + -0.060559711837827775, + -0.08584331069767993, + 0.9459171456237659, + -0.3234713625994473, + 0.024601406368343515, + -0.001342385094830302 + ], + 0.939667284488678 + ], + [ + [ + -0.0852742415250132, + 0.05183669230932036, + 0.0026354379889317187, + 0.20811149656492134, + 0.673455235570016, + -0.2115190733165896, + 0.6770578500424714 + ], + 0.9388466477394104 + ], + [ + [ + -0.0866656821549723, + -0.05059815146928987, + -0.004543954978441414, + 0.6873048295419569, + -0.16932955450506004, + 0.6730166792499388, + 0.21444841503448803 + ], + 0.9388240575790405 + ], + [ + [ + -0.1054301482022593, + -0.00824328181302509, + -0.004477979621594366, + 0.7127423824807116, + 0.018644624083081467, + 0.7004104269884591, + 0.032801036178198635 + ], + 0.9386783838272095 + ], + [ + [ + 0.004711140286844018, + 0.04573544166082182, + -0.09049187694371265, + 0.08284832973001374, + -0.0046743173181121155, + -0.22974581042809084, + 0.969706743097776 + ], + 0.9377549290657043 + ], + [ + [ + -0.07729551162131523, + -0.06691376441127023, + 0.0005607176509447725, + 0.24647367329938777, + -0.6613081367857937, + -0.21202738303318402, + -0.6759930957009159 + ], + 0.9375361204147339 + ], + [ + [ + -0.09916882928021645, + -0.010141855524539563, + -0.0060075041900626985, + 0.7249711691946272, + 0.004515948705103322, + 0.6879888144034165, + 0.032677229069327816 + ], + 0.9373136162757874 + ], + [ + [ + -0.0469231080592463, + 0.0888830242215995, + 0.0012255639240838917, + 0.38171822972037095, + 0.6008335970495163, + -0.3583351467617464, + 0.6040580306153737 + ], + 0.9372559189796448 + ], + [ + [ + -0.007455540481288192, + -0.09895071708565911, + -0.015485718852584776, + 0.7376976925303004, + -0.6746402452854482, + 0.018208687194476214, + -0.018196087142963967 + ], + 0.93710857629776 + ], + [ + [ + 0.003043446098189595, + -0.0016814693339761223, + -0.09580364917099994, + 0.08766642833486953, + 0.03825497830679186, + -0.008177402088729524, + -0.995381476657484 + ], + 0.9367672204971313 + ], + [ + [ + -0.049823917108852624, + 0.09361513382786552, + 0.0031732453436352642, + 0.5950930658396031, + 0.3635484001939709, + 0.6260562584126868, + -0.34892744949105653 + ], + 0.9363876581192017 + ], + [ + [ + -0.0872927602709124, + 0.049660411244571594, + -0.002649935899978098, + 0.6891059370052889, + 0.21621533539699395, + 0.6712693697831205, + -0.16667744152764288 + ], + 0.9359813332557678 + ], + [ + [ + 0.008678909730832818, + -0.007869719015121075, + -0.10138770286620181, + 0.9941811110786639, + -0.016299009413863332, + -0.056364938731688796, + -0.09033966099279389 + ], + 0.9349111318588257 + ], + [ + [ + 0.04991215128890777, + 0.08695040321940223, + 0.007895375595683637, + 0.3487706154022498, + 0.6292203923891286, + 0.36730799746610976, + -0.5895130114179357 + ], + 0.9344545602798462 + ], + [ + [ + 0.007967012342732194, + 0.0012720113623295103, + -0.09902484063685459, + 0.9995188329320438, + -0.017501967281427288, + -0.01249038418753945, + -0.022355626993959175 + ], + 0.9342429041862488 + ], + [ + [ + -0.09592580761321282, + -0.028690061950742814, + -0.004361347301607546, + 0.13821129637705645, + -0.6723772492364809, + -0.07704401338454892, + -0.7230979824785561 + ], + 0.9331320524215698 + ], + [ + [ + 0.011134528894644025, + -0.09418035619860848, + -0.05765226949632686, + 0.8603927563429364, + -0.5038175991354996, + -0.07102687378840933, + -0.029108672827708754 + ], + 0.9327182769775391 + ], + [ + [ + -0.06480117108233666, + -0.08426716499930581, + -0.0022472627523593275, + 0.623529306720895, + -0.31624222914876404, + 0.6292374429857234, + 0.33950301398952143 + ], + 0.9313524961471558 + ], + [ + [ + 0.0025506830911299016, + -0.10512902908927163, + -0.010792774154549059, + 0.724990847067168, + -0.6885398476867092, + -0.011993637094254606, + -0.012542028769066007 + ], + 0.9309958815574646 + ], + [ + [ + 0.006364978723894599, + -0.00391246397016904, + -0.10574214254200977, + 0.041478844467146433, + 0.05247426337006936, + -0.02372499902571157, + -0.9974783614528532 + ], + 0.9302167296409607 + ], + [ + [ + 0.08377511833302284, + 0.05885468102091589, + 0.005825771943921629, + 0.2145337873132233, + 0.6841250827876119, + 0.2187208218084451, + -0.6618982756506672 + ], + 0.9300014972686768 + ], + [ + [ + -0.009357159617621657, + 0.07962678796643058, + -0.054776803596620974, + 0.8802623123475486, + 0.47415499271357137, + 0.017015916813725607, + 0.005075718700709553 + ], + 0.9297718405723572 + ], + [ + [ + -0.07558323408969139, + 0.06331711686247626, + 0.004158124321395937, + 0.6580728393958027, + 0.24393360965554342, + 0.6810581846255458, + -0.20879722527974023 + ], + 0.9292916655540466 + ], + [ + [ + 0.007896689106445554, + 0.0792924878656272, + -0.05392292235672992, + 0.8796264043875314, + 0.47465370166406495, + -0.030992484358011496, + 0.0008474161804702915 + ], + 0.9284639954566956 + ], + [ + [ + 0.003442211416285279, + -0.09401529603606423, + -0.05643859226882976, + 0.011226373839273586, + -0.04253542922875569, + 0.47456683397186594, + 0.8791194605311988 + ], + 0.9279835224151611 + ], + [ + [ + 0.0010075706427132515, + 0.048990887170970825, + 0.08909648563086468, + 0.0011935990920148131, + 0.022790401803872536, + 0.9673127631924405, + -0.2525573025509865 + ], + 0.9278251528739929 + ], + [ + [ + -0.10365549440987801, + -0.002125649433269712, + -0.02080006991208118, + 0.5434917652584392, + -0.4745956417922715, + 0.44280504883041283, + -0.5322587402930483 + ], + 0.9274035692214966 + ], + [ + [ + 0.004715908192764762, + -0.04334590160256586, + -0.09863136057436984, + 0.9778106998915811, + -0.19904824256075435, + -0.03137215882952149, + -0.057287171001774946 + ], + 0.9269307851791382 + ], + [ + [ + -0.09414418007739281, + 0.005645192275137094, + -0.02683508489907306, + 0.5767607988647719, + 0.43183206295984033, + 0.4123685412611452, + 0.5575125437789487 + ], + 0.9268277883529663 + ], + [ + [ + -0.05725252594359612, + 0.08343811756962577, + 0.005271531635219637, + 0.607731477727338, + 0.361224890075683, + 0.6267977367729328, + -0.32757232322875973 + ], + 0.9250271916389465 + ], + [ + [ + -0.06022790412910676, + -0.08965026908522805, + 0.0017299932597898277, + 0.3415288684948069, + -0.6172138194799429, + -0.3396212236296996, + -0.62214351840062 + ], + 0.9226351380348206 + ], + [ + [ + -0.001461206130016801, + -0.10281264358168801, + -0.013443063950841841, + 0.053941233737504646, + -0.0077782880698212, + 0.6862028749070396, + 0.7253657394769156 + ], + 0.9210415482521057 + ], + [ + [ + 0.002552661685939672, + -0.10481373541957101, + -0.0026867461919091312, + 0.7150724907434096, + -0.6989444634634291, + -0.00737612056697734, + -0.009672787665237938 + ], + 0.9209696650505066 + ], + [ + [ + 0.0532631877481153, + 0.09133974886530677, + 0.004377076861704174, + 0.6162268863304513, + 0.3742469850604749, + -0.6054418558635535, + 0.3371109281899915 + ], + 0.9199880957603455 + ], + [ + [ + -0.004244591701109168, + 0.023604181176364807, + -0.09612314496815723, + 0.08922160783363475, + 0.009704539169257224, + -0.08924768345965217, + 0.9919577499128577 + ], + 0.9197617769241333 + ], + [ + [ + 0.007389551368277314, + -0.015166419977008912, + -0.09714441095173877, + 0.9987444311830636, + -0.03293899649850688, + -0.03736565481940657, + -0.005328370333175889 + ], + 0.9196481108665466 + ], + [ + [ + -0.0024020167861918186, + 0.09748044288748542, + 0.0027997654334403904, + 0.4575102879931372, + 0.4382409195950855, + 0.5582497280372272, + -0.535711185172806 + ], + 0.9192835092544556 + ], + [ + [ + 0.0003401399785334048, + -0.0003753726454811048, + -0.10214524809897464, + 0.9989044526623351, + -0.031968797164076794, + -0.024321659189620037, + -0.02400723544072435 + ], + 0.9149937629699707 + ], + [ + [ + 0.051111109894435645, + -0.0033700528551485268, + 0.08550678844868619, + 0.20961749321604006, + -0.674119595652425, + -0.6907766286495186, + 0.15636792064499327 + ], + 0.9149286150932312 + ], + [ + [ + -0.07358340139992928, + -0.06561743044263085, + 0.004634259728039089, + 0.2519148584272334, + -0.6581690624177395, + -0.24908956898933177, + -0.6643092472639908 + ], + 0.9147508144378662 + ], + [ + [ + 0.00320447805776799, + 0.006605779799014715, + -0.10592406336844486, + 0.9997747311778642, + -0.004892320248699998, + -0.020077729899556584, + 0.0048411633822386885 + ], + 0.913472592830658 + ], + [ + [ + -0.0015102343263888927, + 0.10427847183340827, + 0.004548905411059442, + 0.49114713588605063, + 0.5347790748708805, + 0.4957750414725338, + -0.4764377611441833 + ], + 0.9121506214141846 + ], + [ + [ + -0.0982628759325335, + 0.009196856571674732, + 0.02942043821632344, + 0.4126061045177298, + -0.5601407986610113, + 0.5824815864210956, + -0.4203732742105193 + ], + 0.9102306365966797 + ], + [ + [ + -0.07434926148064827, + -0.07756445878154, + -0.017231467186217722, + 0.6994812207417682, + -0.2539197425836368, + 0.5937008457215877, + 0.30621902609951773 + ], + 0.9100514650344849 + ], + [ + [ + 0.05803416330806518, + 0.0014588747176680838, + 0.08259510900198895, + 0.20416129945993403, + 0.6790081949225324, + -0.6702333032579583, + -0.2192107530090651 + ], + 0.9086743593215942 + ], + [ + [ + 0.0043744988410880595, + -0.09442089819318017, + -0.05210788269222301, + 0.8651517684992978, + -0.5003499377077706, + -0.019071128804632353, + -0.028260384719332884 + ], + 0.9081690907478333 + ], + [ + [ + 0.06506618146292473, + -0.08363441699153146, + 0.005134894040668789, + 0.5981615404347803, + -0.30701646836226526, + -0.6642291255183892, + -0.3267159752937231 + ], + 0.9081486463546753 + ], + [ + [ + -0.10367400910266136, + 0.0007437587951649103, + -0.015365739359264788, + 0.4850282808498219, + 0.49160870237523335, + 0.44363856838454085, + 0.5711858464339962 + ], + 0.908004641532898 + ], + [ + [ + 0.0061522567316105396, + -0.03834133171445093, + -0.08893198613703769, + 0.06960203352545988, + -0.02227154249183583, + 0.218381053866736, + 0.973123450871578 + ], + 0.907597541809082 + ], + [ + [ + 0.006533213765095714, + 0.05055283806318083, + -0.09388902877152484, + 0.9755939382629462, + 0.21688652817194365, + -0.027561557943107218, + -0.02042209699966428 + ], + 0.9057994484901428 + ], + [ + [ + 0.05012896318427825, + -0.0032442372289147106, + 0.08862526621043164, + 0.17907357375647034, + 0.6842149021128471, + -0.6829721392460741, + -0.18256965772667055 + ], + 0.9056114554405212 + ], + [ + [ + -0.09515141661771034, + 0.02599566108578482, + -0.002491553087463197, + 0.7283258081556164, + 0.08154390173692838, + 0.6734654249839357, + -0.09662520693480062 + ], + 0.9021279215812683 + ], + [ + [ + 0.003405339191403034, + 0.01031817547076979, + -0.09757822100699466, + 0.19371533295359117, + -0.0008756906733397132, + -0.05054994956914327, + 0.9797542066983337 + ], + 0.9020488858222961 + ], + [ + [ + -0.0593541745425055, + 0.0876366463958625, + 0.009250274853105131, + 0.6063239271487746, + 0.3587785710494478, + 0.6304138272066475, + -0.3259258179237582 + ], + 0.9015272259712219 + ], + [ + [ + -0.0059016585678646535, + -0.10695783370143136, + -0.005933989311312851, + 0.725582390542436, + -0.6873391873670952, + 0.020686901215632325, + -0.025828049913990837 + ], + 0.9015103578567505 + ], + [ + [ + 0.0008657992488851575, + 0.08606337434643546, + -0.04309536982954067, + 0.08029090234658369, + 0.012593641183341765, + -0.504524946954993, + 0.8595634642667047 + ], + 0.8995612859725952 + ], + [ + [ + -0.05120649899848199, + 0.0817360994874839, + 0.001331925269471887, + 0.38017916744030766, + 0.6103623685657473, + -0.33959832419023783, + 0.606295767666564 + ], + 0.8980921506881714 + ], + [ + [ + 0.0026485043249239947, + 0.05088426969045439, + -0.09402567987025302, + 0.10680073242317617, + 0.010430613949581394, + -0.2390944396596335, + 0.9650485245677307 + ], + 0.8976646661758423 + ], + [ + [ + -0.09477715160258507, + -0.001512052793673786, + -0.01676680427670997, + 0.5298132540635818, + -0.46611040620416433, + 0.47106247432473314, + -0.5292817305838238 + ], + 0.897577702999115 + ], + [ + [ + -0.04143422435529923, + 0.08849215931290427, + 0.006422138766641203, + 0.400311866192035, + 0.5982999498312208, + -0.36857023110768816, + 0.5881696732738214 + ], + 0.8975424766540527 + ], + [ + [ + 0.02222931046478057, + -0.003295528422727796, + -0.09547536913931888, + 0.6848661391291502, + 0.09172711260245703, + -0.08119881838986076, + -0.7182974733214916 + ], + 0.89715576171875 + ], + [ + [ + 0.04515220258824134, + -0.09133641743069848, + 0.0007226804092288347, + 0.366470748089052, + -0.6352892066816277, + 0.35056382667774766, + 0.5824189369293661 + ], + 0.8963488340377808 + ], + [ + [ + -0.009692383590419051, + -0.06459018909341058, + 0.08316346909224469, + 0.31498807319741257, + -0.9474857236396903, + -0.00863869946373641, + -0.054577377309003826 + ], + 0.8963150382041931 + ], + [ + [ + 0.00037534586360284957, + 0.09950203872317115, + 0.01280666607737023, + 0.48591881712233265, + 0.5447077082538097, + 0.4955667204454527, + -0.47073351412689285 + ], + 0.8956792950630188 + ], + [ + [ + 0.05449142713538909, + 0.0936042634307746, + -0.0004045251179258941, + 0.37109156875037014, + 0.6102556951466641, + 0.3578618129337374, + -0.6015097314152364 + ], + 0.8955327868461609 + ], + [ + [ + -0.011527985926050898, + 0.10370210981959144, + 0.0009999838595040472, + 0.5103765618283684, + 0.5044618871969002, + -0.48236564411065563, + 0.502351823808482 + ], + 0.8950636386871338 + ], + [ + [ + 0.05279246751658225, + -0.08951308154469689, + 0.004426616703415695, + 0.5906225434599471, + -0.32419220291811507, + -0.6374312196796368, + -0.3738259847866817 + ], + 0.8944423198699951 + ], + [ + [ + 0.012815621089856866, + 0.003092464339301375, + -0.09562689904749912, + 0.7192751760467175, + -0.0185209599690341, + -0.03762984300090266, + 0.6934581386648494 + ], + 0.893351674079895 + ], + [ + [ + 0.08605243299595619, + -0.05400711991792879, + 0.004436247044498506, + 0.6672425008958117, + -0.16468834141024158, + -0.6898439156441997, + -0.22755343823050583 + ], + 0.8931870460510254 + ], + [ + [ + -0.01883952471919751, + -0.09653285467034539, + 0.0012179015840165647, + 0.5463645208724435, + -0.4891775755709384, + 0.5135298289558778, + 0.4455089501490534 + ], + 0.8929864168167114 + ], + [ + [ + 0.012238326822142842, + 0.0019291004169140135, + -0.0999173084336571, + 0.772157315484156, + -0.03890855295315915, + -0.06030948008781278, + 0.6313651647524839 + ], + 0.892698347568512 + ], + [ + [ + -0.006546479775835034, + -0.032077487045585724, + -0.10090040509284061, + 0.09863947213711978, + 0.02498194868119722, + 0.17263778438692723, + 0.9797154444932331 + ], + 0.8926149606704712 + ], + [ + [ + 0.08947735313765312, + -0.04156709038621149, + 0.0019311553270317944, + 0.1927443033369164, + -0.6877336286408178, + 0.14320827441609663, + 0.6851010726210139 + ], + 0.8919445872306824 + ], + [ + [ + -0.032484531062919854, + 0.00029591615343132354, + -0.09742110316336673, + 0.7190720255055395, + 0.12196847032663102, + 0.10300731391558271, + 0.6763494715466546 + ], + 0.8917402625083923 + ], + [ + [ + -0.09035355563767647, + -0.002890847809299442, + 0.03515744115530926, + 0.38851881794188564, + 0.6071771857104592, + 0.566325362294365, + 0.3995805016262964 + ], + 0.8913246989250183 + ], + [ + [ + 0.08664401654593254, + -0.005766337224900338, + 0.05350328888117749, + 0.3878709448289443, + -0.5994618071261192, + -0.6265015275285595, + 0.31256600576353716 + ], + 0.8911612033843994 + ], + [ + [ + -0.09121732379801964, + -0.003394863288536283, + -0.05399849732101482, + 0.6325826740548117, + 0.3182329803684166, + 0.3420107045917701, + 0.6177342540576328 + ], + 0.8908458352088928 + ], + [ + [ + 0.03929794613711143, + -0.005915214260726782, + 0.09340528304993588, + 0.1546411367162071, + 0.6749097718314558, + -0.7029802841827791, + -0.16248581098616113 + ], + 0.8902269005775452 + ], + [ + [ + -0.09371586855061745, + -0.0011549730083566035, + -0.05896041636050266, + 0.625522820366024, + 0.3385430096217757, + 0.3484099083347736, + 0.6105082862760507 + ], + 0.8887434601783752 + ], + [ + [ + 0.03217767212979102, + 0.008724771021247295, + -0.10051503126204532, + 0.6955400277770675, + -0.09443791274520554, + -0.14842154436428368, + 0.6966179695964828 + ], + 0.8881751298904419 + ], + [ + [ + -0.002012387276891825, + -0.055323548102438065, + 0.0830881139200874, + 0.042388685905556264, + 0.010770773295605638, + 0.9609553058241709, + 0.2732253464783036 + ], + 0.8880458474159241 + ], + [ + [ + 0.0004939814584476677, + 0.0032181337478909763, + -0.10009504948437732, + 0.6823333516129623, + 0.03588625691190497, + -0.0013951168152932514, + -0.7301584947739407 + ], + 0.8870725631713867 + ], + [ + [ + 0.042205915194671394, + 0.083651681011856, + -0.002933202317660269, + 0.6414188577801986, + 0.34192287357912643, + -0.5982129644087404, + 0.33736011415199246 + ], + 0.8856816291809082 + ], + [ + [ + -0.10500913824446892, + 0.002655520383581904, + 0.006610856385225836, + 0.6998642131975825, + 0.024408016064206943, + 0.7130226647935514, + 0.03453999606023235 + ], + 0.885647714138031 + ], + [ + [ + 0.059690714222114326, + 0.0010808087422851597, + 0.08355299289643246, + 0.2357017655017376, + -0.6785457108411234, + -0.6639380207743419, + 0.2078622154426537 + ], + 0.8848794102668762 + ], + [ + [ + 0.06031161208144927, + -0.08376191132670602, + -0.0034218342106096117, + 0.38159504908905506, + -0.6403859367694406, + 0.2909393815256448, + 0.5997043828221728 + ], + 0.8840065002441406 + ], + [ + [ + 0.02531689066879058, + 0.0022365625950846943, + -0.10166620556891483, + 0.9823269273738191, + 0.03803422268867601, + -0.11667000448951392, + -0.14133405715961275 + ], + 0.8838525414466858 + ], + [ + [ + -0.03883616219766831, + 0.09252535230511466, + 0.02878879661976773, + 0.3886423230896751, + 0.6637299123598627, + -0.39728404303761033, + 0.5005847953043719 + ], + 0.8833556175231934 + ], + [ + [ + 0.007032711398523095, + 0.09271157956713477, + -0.005101774825458941, + 0.04958283696844887, + -0.021052398413559402, + -0.7116550489252675, + 0.7004608698124203 + ], + 0.8829363584518433 + ], + [ + [ + -0.00047523226615434614, + 0.0820211587011222, + -0.04369205330193561, + 0.06613034290189497, + 0.003975507945316556, + -0.5243882286309126, + 0.848898085024102 + ], + 0.881764829158783 + ], + [ + [ + -0.09538312967427467, + -0.06244342722898683, + 0.0018941999816097649, + 0.21482732027097046, + -0.6793904561774302, + -0.17692938044157847, + -0.6789505319658985 + ], + 0.8812313079833984 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.1, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00018/metadata.json b/Objects/RoboDojo/Rigid/block/00018/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..02ea1dab4c716c19197f8180f5bb9571bf19d128 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00018/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "0f027b8b-73c0-468f-8f4e-2ee3249e3b23", + "geometry": { + "faces": 1452, + "vertices": 2257, + "aligned_bbox": { + "vertices": [ + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ], + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ], + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + }, + "radius": 0.0268 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0002, + -0.0013, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0, + -0.0, + -0.0175, + 1.0, + -0.0002, + 0.0013, + 0.0 + ], + "radius": 0.0228 + }, + "contact_circle": { + "center": [ + 0.0, + -0.0, + -0.0175, + 1.0, + -0.0002, + 0.0013, + 0.0 + ], + "radius": 0.0206 + } + } + } + }, + "physics": { + "mass": 0.25, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.014 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00019/description.json b/Objects/RoboDojo/Rigid/block/00019/description.json new file mode 100644 index 0000000000000000000000000000000000000000..005219888ba2e4aa367643e65658b53a6b63c259 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00019/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "0f027b8b-73c0-468f-8f4e-2ee3249e3b23", + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass front", + "rubberized grip" + ], + "size": [ + "palm-sized", + "about 5 inches tall", + "slim profile" + ], + "name": [ + "smartwatch", + "fitness tracker", + "Apple Watch" + ], + "shape": [ + "round face", + "rectangular case", + "curved edges" + ], + "function": [ + "tracking heart rate", + "showing notifications", + "monitoring daily activity" + ] + }, + "description": [ + "slim profile matte black Apple Watch", + "monitoring daily activity with Apple Watch", + "dark gray accents smartwatch used for showing notifications", + "smartwatch commonly featuring tempered glass front", + "curved edges object made of brushed aluminum", + "Apple Watch in round face form", + "fitness tracker ideal for showing notifications", + "rubberized grip curved edges Apple Watch", + "Apple Watch in rectangular case", + "slim profile round face object for monitoring daily activity", + "Apple Watch appropriate for showing notifications", + "fitness tracker made from brushed aluminum", + "palm-sized smartwatch for tracking heart rate", + "fitness tracker appropriate for monitoring daily activity", + "Apple Watch built from brushed aluminum", + "curved edges tempered glass front object for tracking heart rate", + "smartwatch intended for showing notifications usage", + "showing notifications with fitness tracker", + "tempered glass front object used for tracking heart rate", + "rubberized grip Apple Watch suitable for showing notifications", + "fitness tracker in rectangular case", + "Apple Watch optimized for monitoring daily activity", + "fitness tracker ideal for tracking heart rate", + "slim profile tempered glass front smartwatch", + "about 5 inches tall dark gray accents curved edges object", + "round face-shaped fitness tracker", + "tempered glass front Apple Watch suitable for tracking heart rate", + "matte black curved edges fitness tracker used for tracking heart rate", + "fitness tracker with palm-sized dimensions", + "about 5 inches tall curved edges fitness tracker", + "fitness tracker intended for monitoring daily activity usage", + "curved edges Apple Watch used for showing notifications", + "fitness tracker with matte black exterior", + "Apple Watch for showing notifications tasks", + "Apple Watch designed for tracking heart rate", + "smartwatch in round face form", + "fitness tracker typically made of brushed aluminum", + "smartwatch commonly featuring rubberized grip", + "round face Apple Watch ideal for tracking heart rate", + "smartwatch suitable for showing notifications", + "dark gray accents smartwatch designed for showing notifications", + "dark gray accents about 5 inches tall rubberized grip object", + "smartwatch built from rubberized grip", + "Apple Watch with matte black color", + "matte black fitness tracker for tracking heart rate", + "palm-sized rubberized grip fitness tracker", + "fitness tracker in round face form", + "smartwatch with curved edges geometry", + "tempered glass front object used for monitoring daily activity", + "brushed aluminum rectangular case fitness tracker", + "smartwatch with brushed aluminum surface", + "fitness tracker appropriate for showing notifications", + "smartwatch with slim profile dimensions", + "smartwatch featuring round face shape", + "curved edges fitness tracker for showing notifications", + "subtle blue LED glow object used for showing notifications", + "dark gray accents palm-sized Apple Watch for monitoring daily activity", + "Apple Watch colored dark gray accents", + "subtle blue LED glow Apple Watch used for showing notifications", + "smartwatch for tracking heart rate tasks", + "Apple Watch for monitoring daily activity with brushed aluminum", + "fitness tracker used to monitoring daily activity", + "fitness tracker suitable for tracking heart rate", + "tempered glass front smartwatch used for monitoring daily activity", + "fitness tracker with about 5 inches tall dimensions", + "monitoring daily activity use of Apple Watch", + "Apple Watch with rectangular case profile", + "rectangular case Apple Watch ideal for monitoring daily activity", + "fitness tracker featuring rubberized grip build", + "smartwatch in rectangular case", + "Apple Watch commonly used for monitoring daily activity", + "Apple Watch featuring rectangular case shape", + "about 5 inches tall matte black curved edges object", + "dark gray accents about 5 inches tall tempered glass front object", + "smartwatch with round face profile", + "palm-sized Apple Watch used for tracking heart rate", + "Apple Watch commonly found in slim profile size", + "dark gray accents round face Apple Watch used for tracking heart rate", + "fitness tracker with rubberized grip body", + "rectangular case brushed aluminum object for showing notifications", + "smartwatch with rectangular case profile", + "dark gray accents rectangular case object for monitoring daily activity", + "smartwatch with round face geometry", + "dark gray accents round face object for showing notifications", + "round face tempered glass front object for monitoring daily activity", + "palm-sized subtle blue LED glow curved edges object", + "smartwatch featuring curved edges shape", + "fitness tracker in slim profile", + "brushed aluminum subtle blue LED glow fitness tracker", + "brushed aluminum smartwatch suitable for tracking heart rate", + "smartwatch for monitoring daily activity use", + "about 5 inches tall matte black round face object", + "Apple Watch built from rubberized grip", + "curved edges object used for tracking heart rate", + "subtle blue LED glow smartwatch for monitoring daily activity", + "Apple Watch with round face profile", + "fitness tracker with brushed aluminum surface", + "palm-sized brushed aluminum fitness tracker", + "matte black about 5 inches tall fitness tracker for showing notifications", + "about 5 inches tall dark gray accents rubberized grip curved edges object" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00019/grasps/UMI.json b/Objects/RoboDojo/Rigid/block/00019/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..b56e756a6f13e4b56b1c2ee45988749cf77d809d --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00019/grasps/UMI.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0063, + 0.008, + 0.0259, + -0.0079, + 0.9984, + 0.0565, + 0.0016 + ], + [ + -0.0001, + -0.001, + 0.0028, + -0.0047, + 0.7075, + 0.7067, + 0.0045 + ], + [ + -0.0087, + -0.0002, + 0.0036, + 0.8655, + 0.0133, + -0.5006, + -0.0033 + ], + [ + 0.0, + 0.001, + 0.003, + -0.0022, + -0.7071, + 0.7072, + -0.0026 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00019/grasps/XOne.json b/Objects/RoboDojo/Rigid/block/00019/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..d62835ed21be864c2f4f5b7a2c7fb066b6b64082 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00019/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0097, + -0.004, + 0.0008, + -0.5934, + 0.5757, + 0.5223, + 0.2086 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00019/grasps/aloha.json b/Objects/RoboDojo/Rigid/block/00019/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..113c859b4bb0d8a2061b83f2d500ab2acfc3a342 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00019/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0008, + 0.0015, + 0.0051, + 0.0997, + 0.7527, + 0.6328, + -0.1515 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00019/grasps/panda.json b/Objects/RoboDojo/Rigid/block/00019/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..07f2b64819ddc1f902ba7692c995ef1f16554092 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00019/grasps/panda.json @@ -0,0 +1,41 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + -0.0, + -0.0, + 0.003, + -0.0, + 1.0, + 0.0, + -0.0 + ], + [ + 0.0, + -0.0, + 0.003, + 0.0, + 0.7071, + 0.7071, + -0.0 + ], + [ + 0.0, + 0.0, + 0.003, + 0.0, + -0.0, + 1.0, + -0.0 + ], + [ + -0.0, + 0.0, + 0.003, + 0.0, + -0.7071, + 0.7071, + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00019/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/block/00019/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..82c5d620c4ebfc82e1f7076ca9e641c8264dc1a7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00019/grasps/piper_v1.json @@ -0,0 +1,32 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + 0.0001, + -0.0, + 0.003, + -0.0007, + 1.0, + -0.0052, + -0.0027 + ], + [ + 0.0001, + 0.0013, + 0.003, + 0.0082, + 0.7154, + 0.6985, + -0.015 + ], + [ + -0.0, + -0.0, + 0.003, + 0.002, + 0.005, + 1.0, + -0.0019 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00019/grasps/proposal.json b/Objects/RoboDojo/Rigid/block/00019/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..243a3076fdbb45e63ee57b013c55008bf1b51512 --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00019/grasps/proposal.json @@ -0,0 +1,53 @@ +{ + "uuid": "04c614e3-2daa-48f9-9012-335fbdbbef65", + "grasp": [ + [ + [ + 0.0, + 0.0, + 0.105, + 6.123233995736766e-17, + 1.0, + 0.0, + 0.0 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + 4.329780281177467e-17, + 0.7071067811865476, + 0.7071067811865475, + 4.329780281177466e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ], + 0.0 + ], + [ + [ + 0.0, + 0.0, + 0.105, + -4.329780281177466e-17, + -0.7071067811865475, + 0.7071067811865476, + 4.329780281177467e-17 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/block/00019/metadata.json b/Objects/RoboDojo/Rigid/block/00019/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..6773bf1f28228f58b8665d697b3bd392e89519ac --- /dev/null +++ b/Objects/RoboDojo/Rigid/block/00019/metadata.json @@ -0,0 +1,167 @@ +{ + "uuid": "0f027b8b-73c0-468f-8f4e-2ee3249e3b23", + "geometry": { + "faces": 1452, + "vertices": 2257, + "aligned_bbox": { + "vertices": [ + [ + -0.02, + -0.02, + -0.02 + ], + [ + -0.02, + -0.02, + 0.02 + ], + [ + -0.02, + 0.02, + -0.02 + ], + [ + -0.02, + 0.02, + 0.02 + ], + [ + 0.02, + -0.02, + -0.02 + ], + [ + 0.02, + -0.02, + 0.02 + ], + [ + 0.02, + 0.02, + -0.02 + ], + [ + 0.02, + 0.02, + 0.02 + ] + ], + "extents": [ + 0.04, + 0.04, + 0.04 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.02, + 0.02, + 0.02 + ], + [ + 0.02, + 0.02, + 0.02 + ], + [ + -0.02, + 0.02, + -0.02 + ], + [ + 0.02, + 0.02, + -0.02 + ], + [ + -0.02, + -0.02, + 0.02 + ], + [ + 0.02, + -0.02, + 0.02 + ], + [ + -0.02, + -0.02, + -0.02 + ], + [ + 0.02, + -0.02, + -0.02 + ] + ], + "extents": [ + 0.04, + 0.04, + 0.04 + ] + }, + "radius": 0.0306 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0025, + 0.0035, + 0.0 + ], + "projection_circle": { + "center": [ + 0.0001, + -0.0001, + -0.0202, + 1.0, + -0.0025, + -0.0035, + -0.0 + ], + "radius": 0.0262 + }, + "contact_circle": { + "center": [ + -0.0, + -0.0004, + -0.0202, + 1.0, + -0.0025, + -0.0035, + -0.0 + ], + "radius": 0.0233 + } + } + } + }, + "physics": { + "mass": 0.3, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "block/0": { + "center": [ + [ + 0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.02 + ] + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/bottle/00047/metadata.json b/Objects/RoboDojo/Rigid/bottle/00047/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..522fec9373862df55c357a4b30d22a65f5806d97 --- /dev/null +++ b/Objects/RoboDojo/Rigid/bottle/00047/metadata.json @@ -0,0 +1,237 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.029, + -0.029, + -0.073 + ], + [ + -0.029, + -0.029, + 0.073 + ], + [ + -0.029, + 0.029, + -0.073 + ], + [ + -0.029, + 0.029, + 0.073 + ], + [ + 0.029, + -0.029, + -0.073 + ], + [ + 0.029, + -0.029, + 0.073 + ], + [ + 0.029, + 0.029, + -0.073 + ], + [ + 0.029, + 0.029, + 0.073 + ] + ], + "extents": [ + 0.058, + 0.058, + 0.146 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0256, + -0.032, + 0.073 + ], + [ + -0.0256, + -0.032, + -0.073 + ], + [ + 0.032, + -0.0256, + 0.073 + ], + [ + 0.032, + -0.0256, + -0.073 + ], + [ + -0.032, + 0.0256, + 0.073 + ], + [ + -0.032, + 0.0256, + -0.073 + ], + [ + 0.0256, + 0.032, + 0.073 + ], + [ + 0.0256, + 0.032, + -0.073 + ] + ], + "extents": [ + 0.064, + 0.064, + 0.146 + ] + } + }, + "active": {}, + "description": [ + "standard beverage can light silver top metal can flat circular top object", + "soda can optimized for holding carbonated drinks", + "cylinder aluminum aluminum can for holding carbonated drinks", + "12 ounce size drink can used for keeping liquids cold", + "12 ounce size cylinder aluminum can", + "light silver top aluminum can suitable for single-serving beverage container", + "smooth coated surface aluminum can used for single-serving beverage container", + "flat circular top-shaped soda can", + "flat circular top metal can object for single-serving beverage container", + "matte gray standard beverage can drink can for keeping liquids cold", + "matte gray drink can typically used for single-serving beverage container", + "cylinder soda can used for keeping liquids cold", + "aluminum can intended for single-serving beverage container", + "drink can featuring flat circular top shape", + "smooth coated surface object for single-serving beverage container", + "keeping liquids cold use of aluminum can", + "12 ounce size matte gray aluminum rolled rim edge object", + "drink can made of metal can", + "12 ounce size light silver top cylinder object", + "metal can soda can used for keeping liquids cold", + "soda can colored matte gray", + "handheld rolled rim edge drink can", + "drink can with smooth coated surface surface", + "drink can sized 12 ounce size", + "cylinder object made of smooth coated surface", + "metal can cylinder for holding carbonated drinks", + "matte gray smooth coated surface aluminum can", + "matte gray aluminum cylinder soda can", + "aluminum can with light silver top color", + "smooth coated surface matte gray aluminum can", + "standard beverage can soda can perfect for single-serving beverage container", + "aluminum can intended for holding carbonated drinks", + "aluminum can for holding carbonated drinks with metal can", + "drink can primarily used for keeping liquids cold", + "12 ounce size flat circular top drink can for holding carbonated drinks", + "cylinder object made of metal can", + "matte gray soda can suitable for holding carbonated drinks", + "12 ounce size object used for single-serving beverage container", + "soda can intended for holding carbonated drinks usage", + "12 ounce size flat circular top aluminum can", + "aluminum can shaped like a flat circular top", + "drink can shaped like a flat circular top", + "cylinder-shaped soda can", + "12 ounce size metal can aluminum can", + "soda can ideal for holding carbonated drinks", + "flat circular top aluminum object for holding carbonated drinks", + "dark charcoal object used for single-serving beverage container", + "flat circular top object made of metal can", + "cylinder aluminum can used for single-serving beverage container", + "holding carbonated drinks use of aluminum can", + "soda can appropriate for holding carbonated drinks", + "light silver top metal can soda can", + "drink can with 12 ounce size dimensions", + "flat circular top object used for single-serving beverage container", + "12 ounce size aluminum soda can", + "soda can typically made of metal can", + "aluminum can with smooth coated surface body", + "soda can appropriate for keeping liquids cold", + "soda can commonly found in 12 ounce size size", + "soda can with flat circular top geometry", + "standard beverage can metal can cylinder for keeping liquids cold", + "rolled rim edge object used for single-serving beverage container", + "light silver top standard beverage can cylinder drink can", + "handheld flat circular top object for single-serving beverage container", + "light silver top soda can used for keeping liquids cold", + "rolled rim edge drink can for single-serving beverage container", + "drink can sized as 12 ounce size", + "soda can with aluminum construction", + "smooth coated surface flat circular top for single-serving beverage container", + "drink can suitable for holding carbonated drinks", + "handheld aluminum can used for single-serving beverage container", + "handheld rolled rim edge object for keeping liquids cold", + "soda can appropriate for holding carbonated drinks use", + "metal can soda can", + "light silver top rolled rim edge aluminum can", + "handheld matte gray object for keeping liquids cold", + "matte gray object used for keeping liquids cold", + "12 ounce size matte gray cylinder object", + "dark charcoal metal can cylinder object", + "light silver top aluminum can for holding carbonated drinks", + "flat circular top soda can used for holding carbonated drinks", + "rolled rim edge object used for keeping liquids cold", + "standard beverage can matte gray metal can drink can", + "12 ounce size object used for holding carbonated drinks", + "smooth coated surface rolled rim edge object used for keeping liquids cold", + "single-serving beverage container use of drink can", + "matte gray standard beverage can aluminum object", + "drink can shaped like a cylinder", + "drink can designed for keeping liquids cold", + "soda can for holding carbonated drinks use", + "drink can intended for keeping liquids cold usage", + "aluminum can featuring rolled rim edge shape", + "single-serving beverage container use of soda can", + "drink can for holding carbonated drinks scenarios", + "standard beverage can matte gray rolled rim edge for single-serving beverage container", + "aluminum can in 12 ounce size", + "light silver top soda can used for single-serving beverage container", + "aluminum can sized 12 ounce size", + "aluminum cylinder object used for holding carbonated drinks", + "standard beverage can drink can used for keeping liquids cold" + ], + "caption": { + "color": [ + "matte gray", + "dark charcoal", + "light silver top" + ], + "material": [ + "aluminum", + "metal can", + "smooth coated surface" + ], + "size": [ + "standard beverage can", + "handheld", + "12 ounce size" + ], + "name": [ + "soda can", + "drink can", + "aluminum can" + ], + "shape": [ + "cylinder", + "flat circular top", + "rolled rim edge" + ], + "function": [ + "holding carbonated drinks", + "keeping liquids cold", + "single-serving beverage container" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/box/00000/metadata.json b/Objects/RoboDojo/Rigid/box/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..e395d8228e8d7fe2a9363a35062518a6cd39d1a9 --- /dev/null +++ b/Objects/RoboDojo/Rigid/box/00000/metadata.json @@ -0,0 +1,293 @@ +{ + "physics": { + "mass": 0.2, + "friction": 0.4, + "size": [ + 0.17017032794890447, + 0.29156746983328163, + 0.18199999999999997 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.084, + -0.1506, + -0.0 + ], + [ + -0.084, + -0.1506, + 0.1818 + ], + [ + -0.084, + 0.1406, + -0.0 + ], + [ + -0.084, + 0.1406, + 0.1818 + ], + [ + 0.086, + -0.1506, + -0.0 + ], + [ + 0.086, + -0.1506, + 0.1818 + ], + [ + 0.086, + 0.1406, + -0.0 + ], + [ + 0.086, + 0.1406, + 0.1818 + ] + ], + "extents": [ + 0.17, + 0.2913, + 0.1818 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.084, + 0.1417, + 0.0003 + ], + [ + -0.084, + -0.1496, + -0.0015 + ], + [ + -0.084, + 0.1406, + 0.1818 + ], + [ + -0.084, + -0.1506, + 0.1801 + ], + [ + 0.086, + 0.1417, + 0.0003 + ], + [ + 0.086, + -0.1496, + -0.0015 + ], + [ + 0.086, + 0.1406, + 0.1818 + ], + [ + 0.086, + -0.1506, + 0.1801 + ] + ], + "extents": [ + 0.17, + 0.2924, + 0.1833 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "functional": { + "box_bottom": { + "frame": [ + [ + 0.086, + -0.095, + 0.001, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.084, + -0.1, + 0.001, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.084, + 0.095, + 0.001, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.086, + 0.1, + 0.006, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + }, + "support": {} + }, + "description": [ + "shipping box with rectangular prism profile", + "matte finish hinged lid object for storing products", + "folded carton shipping box used for storing products", + "open cardboard box for holding items scenarios", + "open cardboard box featuring paperboard build", + "open cardboard box suitable for shipping goods", + "shipping box with hand-sized dimensions", + "shipping box colored matte finish", + "packaging box built from folded carton", + "packaging box intended for storing products usage", + "hand-sized cardboard object", + "medium box dark gray rectangular prism for shipping goods", + "dark gray shipping scale hinged lid open cardboard box", + "matte finish object used for holding items", + "shipping scale packaging box used for storing products", + "cardboard object for shipping goods", + "dark gray packaging box suitable for storing products", + "shipping box ideal for storing products", + "packaging box made of folded carton", + "shipping box ideal for shipping goods", + "packaging box for holding items activities", + "shipping box optimized for holding items", + "holding items with packaging box", + "flaps open outward shipping box ideal for storing products", + "packaging box with light gray exterior", + "paperboard matte finish shipping box", + "matte finish object used for storing products", + "light gray cardboard hinged lid shipping box", + "cardboard packaging box", + "flaps open outward cardboard packaging box for storing products", + "folded carton open cardboard box suitable for storing products", + "shipping box appropriate for holding items use", + "paperboard matte finish open cardboard box", + "paperboard object used for storing products", + "hand-sized rectangular prism open cardboard box", + "storing products with open cardboard box", + "hinged lid shipping scale open cardboard box", + "hand-sized hinged lid object", + "rectangular prism packaging box ideal for holding items", + "open cardboard box in hinged lid", + "folded carton packaging box", + "open cardboard box for shipping goods use", + "hand-sized packaging box for holding items", + "shipping box made from cardboard", + "light gray packaging box typically used for holding items", + "open cardboard box built from folded carton", + "packaging box used to storing products", + "shipping scale rectangular prism open cardboard box for shipping goods", + "shipping box sized as hand-sized", + "open cardboard box for storing products", + "shipping scale light gray shipping box", + "open cardboard box appropriate for holding items use", + "packaging box suitable for storing products", + "open cardboard box intended for shipping goods", + "matte finish cardboard flaps open outward open cardboard box", + "packaging box sized medium box", + "open cardboard box in hand-sized", + "folded carton open cardboard box suitable for shipping goods", + "matte finish packaging box used for storing products", + "shipping scale cardboard shipping box", + "rectangular prism shipping box used for storing products", + "packaging box appropriate for shipping goods", + "hinged lid shipping box for holding items", + "rectangular prism folded carton packaging box for shipping goods", + "packaging box for shipping goods scenarios", + "flaps open outward cardboard open cardboard box for shipping goods", + "hand-sized dark gray open cardboard box", + "matte finish flaps open outward object for shipping goods", + "cardboard matte finish open cardboard box", + "shipping box with folded carton body", + "medium box matte finish cardboard rectangular prism object", + "light gray cardboard hinged lid object", + "matte finish rectangular prism object for storing products", + "open cardboard box sized as shipping scale", + "packaging box commonly featuring paperboard", + "cardboard object for holding items", + "shipping goods use of open cardboard box", + "flaps open outward shipping box for shipping goods", + "rectangular prism-shaped open cardboard box", + "packaging box in hinged lid form", + "cardboard open cardboard box used for holding items", + "open cardboard box designed for holding items", + "shipping box made of folded carton", + "rectangular prism hand-sized shipping box", + "dark gray hand-sized folded carton object", + "matte finish rectangular prism object for holding items", + "shipping scale light gray flaps open outward for holding items", + "light gray rectangular prism object for holding items", + "flaps open outward cardboard open cardboard box for storing products", + "cardboard rectangular prism for holding items", + "cardboard shipping box", + "hinged lid packaging box for holding items", + "hinged lid cardboard packaging box for holding items", + "storing products with shipping box", + "shipping scale dark gray shipping box", + "light gray shipping scale cardboard object", + "folded carton rectangular prism open cardboard box", + "shipping scale matte finish cardboard rectangular prism object", + "holding items with open cardboard box", + "open cardboard box with paperboard construction" + ], + "caption": { + "color": [ + "light gray", + "dark gray", + "matte finish" + ], + "function": [ + "holding items", + "shipping goods", + "storing products" + ], + "material": [ + "cardboard", + "paperboard", + "folded carton" + ], + "name": [ + "open cardboard box", + "shipping box", + "packaging box" + ], + "shape": [ + "rectangular prism", + "hinged lid", + "flaps open outward" + ], + "size": [ + "medium box", + "hand-sized", + "shipping scale" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/box/00000/object.usdz b/Objects/RoboDojo/Rigid/box/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..597f09108ea36b4e4d66793a50216e6b74e28dbc Binary files /dev/null and b/Objects/RoboDojo/Rigid/box/00000/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/bread/00000/metadata.json b/Objects/RoboDojo/Rigid/bread/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..3dadaa3c93629acbc4f244e01261126958a0f817 --- /dev/null +++ b/Objects/RoboDojo/Rigid/bread/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.07, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0584, + -0.0583, + -0.0003 + ], + [ + -0.0584, + -0.0583, + 0.0115 + ], + [ + -0.0584, + 0.0578, + -0.0003 + ], + [ + -0.0584, + 0.0578, + 0.0115 + ], + [ + 0.0586, + -0.0583, + -0.0003 + ], + [ + 0.0586, + -0.0583, + 0.0115 + ], + [ + 0.0586, + 0.0578, + -0.0003 + ], + [ + 0.0586, + 0.0578, + 0.0115 + ] + ], + "extents": [ + 0.1169, + 0.1161, + 0.0118 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0503, + -0.0589, + 0.0115 + ], + [ + 0.0592, + -0.05, + 0.0117 + ], + [ + -0.0592, + 0.0503, + 0.0113 + ], + [ + 0.0503, + 0.0592, + 0.0115 + ], + [ + -0.0503, + -0.0589, + -0.0002 + ], + [ + 0.0592, + -0.05, + -0.0 + ], + [ + -0.0591, + 0.0503, + -0.0004 + ], + [ + 0.0503, + 0.0592, + -0.0002 + ] + ], + "extents": [ + 0.1183, + 0.1181, + 0.012 + ] + } + }, + "active": {}, + "description": [ + "matte black tempered glass screen rectangular slab object", + "pocket-sized object used for sending messages", + "smartphone primarily used for making calls", + "rectangular slab iPhone ideal for making calls", + "5.8 inches tall flat front with slight curve smartphone", + "matte black iPhone designed for making calls", + "smartphone commonly featuring tempered glass screen", + "iPhone built from tempered glass screen", + "5.8 inches tall subtle blue LED glow iPhone", + "flat front with slight curve object used for sending messages", + "cell phone commonly used for sending messages", + "rubberized grip smartphone used for taking photos", + "tempered glass screen rounded corners for taking photos", + "iPhone made of rubberized grip", + "subtle blue LED glow iPhone for sending messages", + "rectangular slab smartphone ideal for making calls", + "rubberized grip object for taking photos", + "dark gray accents brushed aluminum flat front with slight curve cell phone", + "iPhone with slim profile dimensions", + "cell phone suitable for sending messages", + "iPhone with 5.8 inches tall dimensions", + "smartphone with matte black exterior", + "making calls use of cell phone", + "cell phone in rectangular slab", + "dark gray accents object used for sending messages", + "iPhone featuring rounded corners shape", + "slim profile cell phone for sending messages", + "cell phone for taking photos use", + "brushed aluminum smartphone used for taking photos", + "dark gray accents brushed aluminum rounded corners object", + "matte black pocket-sized brushed aluminum object", + "pocket-sized matte black object for sending messages", + "5.8 inches tall brushed aluminum rectangular slab for sending messages", + "smartphone ideal for sending messages", + "rounded corners rubberized grip object for making calls", + "smartphone suitable for making calls", + "pocket-sized brushed aluminum object", + "smartphone shaped like a flat front with slight curve", + "cell phone designed for making calls", + "matte black rounded corners iPhone", + "slim profile brushed aluminum object", + "smartphone with brushed aluminum construction", + "rectangular slab brushed aluminum object for sending messages", + "cell phone sized as pocket-sized", + "tempered glass screen smartphone suitable for making calls", + "rounded corners brushed aluminum object for taking photos", + "cell phone with tempered glass screen surface", + "flat front with slight curve-shaped cell phone", + "tempered glass screen iPhone used for taking photos", + "smartphone primarily used for sending messages", + "cell phone for sending messages tasks", + "cell phone with dark gray accents exterior", + "matte black iPhone suitable for making calls", + "cell phone for sending messages with rubberized grip", + "pocket-sized flat front with slight curve object", + "iPhone with brushed aluminum surface", + "dark gray accents rounded corners smartphone", + "iPhone optimized for making calls", + "5.8 inches tall iPhone for sending messages", + "cell phone featuring brushed aluminum build", + "iPhone colored matte black", + "iPhone with tempered glass screen surface", + "subtle blue LED glow rounded corners object for sending messages", + "rubberized grip rectangular slab for sending messages", + "dark gray accents 5.8 inches tall rounded corners smartphone", + "smartphone for making calls with tempered glass screen", + "cell phone in subtle blue LED glow", + "brushed aluminum iPhone used for sending messages", + "rubberized grip smartphone used for sending messages", + "iPhone commonly featuring rubberized grip", + "smartphone in rectangular slab", + "tempered glass screen cell phone", + "smartphone intended for taking photos", + "flat front with slight curve object made of brushed aluminum", + "subtle blue LED glow pocket-sized rubberized grip object", + "cell phone in slim profile", + "iPhone with rounded corners geometry", + "iPhone for taking photos with rubberized grip", + "making calls with cell phone", + "pocket-sized iPhone for making calls", + "brushed aluminum rounded corners for making calls", + "smartphone for taking photos", + "rubberized grip rounded corners for taking photos", + "taking photos use of cell phone", + "subtle blue LED glow object used for sending messages", + "cell phone featuring rubberized grip build", + "brushed aluminum iPhone for making calls", + "subtle blue LED glow iPhone used for making calls", + "smartphone in rounded corners", + "iPhone appropriate for sending messages use", + "pocket-sized rectangular slab cell phone for making calls", + "iPhone appropriate for making calls", + "cell phone for taking photos with tempered glass screen", + "slim profile matte black iPhone", + "iPhone designed for sending messages", + "pocket-sized rounded corners object", + "pocket-sized cell phone perfect for making calls", + "5.8 inches tall iPhone used for making calls", + "sending messages with iPhone", + "brushed aluminum matte black smartphone" + ], + "caption": { + "color": [ + "matte black", + "dark gray accents", + "subtle blue LED glow" + ], + "material": [ + "brushed aluminum", + "tempered glass screen", + "rubberized grip" + ], + "size": [ + "pocket-sized", + "5.8 inches tall", + "slim profile" + ], + "name": [ + "smartphone", + "iPhone", + "cell phone" + ], + "shape": [ + "rectangular slab", + "rounded corners", + "flat front with slight curve" + ], + "function": [ + "making calls", + "sending messages", + "taking photos" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/brick/00000/metadata.json b/Objects/RoboDojo/Rigid/brick/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c9460f26028b22bff0f53f5c031252abd66bf415 --- /dev/null +++ b/Objects/RoboDojo/Rigid/brick/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.035, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0302, + -0.0145, + -0.0122 + ], + [ + -0.0302, + -0.0145, + 0.0122 + ], + [ + -0.0302, + 0.0146, + -0.0122 + ], + [ + -0.0302, + 0.0146, + 0.0122 + ], + [ + 0.0302, + -0.0145, + -0.0122 + ], + [ + 0.0302, + -0.0145, + 0.0122 + ], + [ + 0.0302, + 0.0146, + -0.0122 + ], + [ + 0.0302, + 0.0146, + 0.0122 + ] + ], + "extents": [ + 0.0604, + 0.029, + 0.0244 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0302, + 0.0146, + 0.0122 + ], + [ + -0.0302, + 0.0146, + 0.0122 + ], + [ + 0.0302, + -0.0145, + 0.0122 + ], + [ + -0.0302, + -0.0145, + 0.0122 + ], + [ + 0.0302, + 0.0146, + -0.0122 + ], + [ + -0.0302, + 0.0146, + -0.0122 + ], + [ + 0.0302, + -0.0145, + -0.0122 + ], + [ + -0.0302, + -0.0145, + -0.0122 + ] + ], + "extents": [ + 0.0604, + 0.029, + 0.0244 + ] + } + }, + "active": {}, + "description": [ + "Lego brick commonly used for snapping together with other bricks", + "red Lego ideal for creative construction", + "red Lego sized standard 2x4 stud", + "glossy red object used for snapping together with other bricks", + "Lego brick typically made of smooth plastic", + "smooth plastic interlocking studs 2x4 Lego", + "glossy red Lego brick used for building structures", + "eight-stud top smooth plastic Lego brick for creative construction", + "2x4 Lego in rectangular prism", + "2x4 Lego shaped like a eight-stud top", + "2x4 Lego appropriate for building structures", + "Lego brick for creative construction use", + "deep red object used for creative construction", + "deep red Lego brick designed for snapping together with other bricks", + "interlocking studs Lego brick size 2x4 Lego", + "Lego brick size eight-stud top 2x4 Lego", + "Lego brick made of smooth plastic", + "2x4 Lego intended for creative construction usage", + "Lego brick designed for snapping together with other bricks", + "Lego brick for snapping together with other bricks activities", + "plastic 2x4 Lego used for creative construction", + "red Lego with smooth plastic surface", + "deep red Lego brick for creative construction", + "standard 2x4 stud interlocking studs object", + "Lego brick in eight-stud top form", + "shiny ABS plastic Lego brick used for snapping together with other bricks", + "eight-stud top object made of plastic", + "hand-sized glossy red smooth plastic red Lego", + "standard 2x4 stud object used for snapping together with other bricks", + "hand-sized eight-stud top 2x4 Lego", + "Lego brick sized Lego brick size", + "red Lego for building structures with shiny ABS plastic", + "Lego brick featuring smooth plastic build", + "red Lego commonly used for snapping together with other bricks", + "Lego brick sized standard 2x4 stud", + "Lego brick primarily used for creative construction", + "hand-sized shiny ABS plastic red Lego", + "red Lego used to creative construction", + "red Lego colored deep red", + "2x4 Lego for building structures scenarios", + "eight-stud top-shaped Lego brick", + "Lego brick with interlocking studs profile", + "shiny ABS plastic eight-stud top object used for snapping together with other bricks", + "bright red object used for creative construction", + "Lego brick commonly found in Lego brick size size", + "2x4 Lego featuring interlocking studs shape", + "rectangular prism Lego brick size Lego brick", + "plastic rectangular prism object used for building structures", + "Lego brick for creative construction with smooth plastic", + "hand-sized glossy red smooth plastic 2x4 Lego", + "Lego brick featuring shiny ABS plastic build", + "Lego brick with eight-stud top geometry", + "interlocking studs object used for snapping together with other bricks", + "bright red Lego brick suitable for snapping together with other bricks", + "deep red Lego brick used for snapping together with other bricks", + "hand-sized interlocking studs object", + "red Lego commonly found in hand-sized size", + "Lego brick optimized for creative construction", + "standard 2x4 stud red Lego perfect for creative construction", + "Lego brick optimized for building structures", + "red Lego made from smooth plastic", + "eight-stud top plastic object for building structures", + "smooth plastic interlocking studs object used for snapping together with other bricks", + "red Lego sized as hand-sized", + "red Lego ideal for building structures", + "shiny ABS plastic object for creative construction", + "2x4 Lego with glossy red exterior", + "red Lego in bright red", + "Lego brick with interlocking studs geometry", + "Lego brick primarily used for building structures", + "red Lego intended for snapping together with other bricks usage", + "rectangular prism Lego brick for snapping together with other bricks", + "red Lego with deep red exterior", + "red Lego designed for creative construction", + "standard 2x4 stud bright red plastic rectangular prism object", + "hand-sized interlocking studs red Lego", + "interlocking studs smooth plastic red Lego for creative construction", + "glossy red 2x4 Lego typically used for building structures", + "deep red Lego brick used for building structures", + "red Lego made from plastic", + "glossy red red Lego suitable for snapping together with other bricks", + "standard 2x4 stud rectangular prism 2x4 Lego", + "Lego brick intended for building structures", + "glossy red plastic red Lego", + "Lego brick made from shiny ABS plastic", + "bright red Lego brick size rectangular prism Lego brick", + "Lego brick with bright red exterior", + "2x4 Lego colored bright red", + "2x4 Lego used to building structures", + "2x4 Lego ideal for creative construction", + "smooth plastic Lego brick", + "2x4 Lego with rectangular prism profile", + "2x4 Lego in eight-stud top form", + "hand-sized glossy red smooth plastic rectangular prism object", + "shiny ABS plastic 2x4 Lego for snapping together with other bricks", + "2x4 Lego with shiny ABS plastic surface", + "Lego brick size eight-stud top object for building structures", + "red Lego with interlocking studs profile", + "deep red shiny ABS plastic eight-stud top 2x4 Lego", + "Lego brick intended for building structures usage" + ], + "caption": { + "color": [ + "bright red", + "glossy red", + "deep red" + ], + "function": [ + "building structures", + "snapping together with other bricks", + "creative construction" + ], + "material": [ + "plastic", + "smooth plastic", + "shiny ABS plastic" + ], + "name": [ + "Lego brick", + "2x4 Lego", + "red Lego" + ], + "shape": [ + "rectangular prism", + "eight-stud top", + "interlocking studs" + ], + "size": [ + "standard 2x4 stud", + "hand-sized", + "Lego brick size" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/brick/00001/metadata.json b/Objects/RoboDojo/Rigid/brick/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..6026932993417dcc08293acc23875e94d5c490ea --- /dev/null +++ b/Objects/RoboDojo/Rigid/brick/00001/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.015, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0167, + -0.0167, + -0.0152 + ], + [ + -0.0167, + -0.0167, + 0.0152 + ], + [ + -0.0167, + 0.0167, + -0.0152 + ], + [ + -0.0167, + 0.0167, + 0.0152 + ], + [ + 0.0167, + -0.0167, + -0.0152 + ], + [ + 0.0167, + -0.0167, + 0.0152 + ], + [ + 0.0167, + 0.0167, + -0.0152 + ], + [ + 0.0167, + 0.0167, + 0.0152 + ] + ], + "extents": [ + 0.0334, + 0.0334, + 0.0305 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0167, + 0.0167, + 0.0152 + ], + [ + -0.0167, + -0.0167, + 0.0152 + ], + [ + 0.0167, + 0.0167, + 0.0152 + ], + [ + 0.0167, + -0.0167, + 0.0152 + ], + [ + -0.0167, + 0.0167, + -0.0152 + ], + [ + -0.0167, + -0.0167, + -0.0152 + ], + [ + 0.0167, + 0.0167, + -0.0152 + ], + [ + 0.0167, + -0.0167, + -0.0152 + ] + ], + "extents": [ + 0.0334, + 0.0334, + 0.0305 + ] + } + }, + "active": {}, + "description": [ + "Lego brick colored vibrant blue", + "classic Lego stud with smooth plastic body", + "single-stud height vibrant blue object for connecting with other bricks", + "classic Lego stud with square base profile", + "hand-sized raised circular stud on top classic Lego stud for building structures", + "raised circular stud on top Lego brick used for snapping into place", + "light blue stud top 2x2 blue brick for snapping into place", + "single-stud height glossy royal blue cube for building structures", + "light blue stud top 2x2 blue brick used for snapping into place", + "glossy royal blue Lego-style polymer 2x2 blue brick", + "standard 2x2 brick glossy royal blue Lego-style polymer Lego brick", + "Lego brick made of shiny molded plastic", + "Lego-style polymer square base object used for snapping into place", + "classic Lego stud featuring raised circular stud on top shape", + "smooth plastic square base object used for connecting with other bricks", + "classic Lego stud commonly found in single-stud height size", + "2x2 blue brick with cube profile", + "2x2 blue brick with glossy royal blue color", + "square base smooth plastic object for building structures", + "single-stud height Lego brick perfect for connecting with other bricks", + "classic Lego stud optimized for snapping into place", + "glossy royal blue standard 2x2 brick square base classic Lego stud", + "standard 2x2 brick object used for building structures", + "vibrant blue raised circular stud on top Lego brick", + "classic Lego stud with Lego-style polymer construction", + "classic Lego stud sized as hand-sized", + "Lego brick for connecting with other bricks", + "standard 2x2 brick vibrant blue 2x2 blue brick", + "2x2 blue brick intended for snapping into place", + "snapping into place use of 2x2 blue brick", + "standard 2x2 brick raised circular stud on top classic Lego stud", + "2x2 blue brick commonly featuring shiny molded plastic", + "single-stud height 2x2 blue brick for snapping into place", + "Lego brick built from shiny molded plastic", + "classic Lego stud made of smooth plastic", + "glossy royal blue cube 2x2 blue brick", + "hand-sized vibrant blue raised circular stud on top for connecting with other bricks", + "hand-sized vibrant blue square base for snapping into place", + "standard 2x2 brick vibrant blue classic Lego stud", + "raised circular stud on top smooth plastic object for connecting with other bricks", + "glossy royal blue 2x2 blue brick used for building structures", + "2x2 blue brick ideal for building structures", + "Lego brick appropriate for snapping into place use", + "cube smooth plastic object for snapping into place", + "Lego brick in raised circular stud on top", + "vibrant blue Lego-style polymer raised circular stud on top object", + "single-stud height light blue stud top Lego-style polymer cube object", + "cube classic Lego stud used for snapping into place", + "smooth plastic 2x2 blue brick suitable for building structures", + "classic Lego stud suitable for snapping into place", + "single-stud height shiny molded plastic object", + "Lego brick for snapping into place scenarios", + "Lego brick for building structures scenarios", + "hand-sized raised circular stud on top Lego brick", + "classic Lego stud commonly used for snapping into place", + "Lego brick with cube geometry", + "single-stud height smooth plastic object", + "glossy royal blue 2x2 blue brick designed for snapping into place", + "classic Lego stud in single-stud height", + "classic Lego stud typically made of shiny molded plastic", + "Lego-style polymer cube classic Lego stud", + "2x2 blue brick colored vibrant blue", + "standard 2x2 brick cube 2x2 blue brick for building structures", + "cube 2x2 blue brick ideal for snapping into place", + "Lego-style polymer raised circular stud on top for building structures", + "Lego brick with single-stud height dimensions", + "shiny molded plastic classic Lego stud suitable for building structures", + "single-stud height glossy royal blue classic Lego stud", + "smooth plastic classic Lego stud used for building structures", + "classic Lego stud with Lego-style polymer surface", + "single-stud height glossy royal blue object for connecting with other bricks", + "2x2 blue brick with shiny molded plastic body", + "classic Lego stud with light blue stud top color", + "single-stud height vibrant blue square base for connecting with other bricks", + "square base object made of smooth plastic", + "standard 2x2 brick smooth plastic Lego brick for snapping into place", + "2x2 blue brick commonly found in standard 2x2 brick size", + "classic Lego stud made from smooth plastic", + "classic Lego stud with cube profile", + "Lego brick for connecting with other bricks tasks", + "Lego brick primarily used for snapping into place", + "classic Lego stud with single-stud height dimensions", + "2x2 blue brick sized hand-sized", + "square base shiny molded plastic object for connecting with other bricks", + "square base-shaped Lego brick", + "single-stud height shiny molded plastic raised circular stud on top for building structures", + "2x2 blue brick in cube", + "light blue stud top classic Lego stud typically used for building structures", + "shiny molded plastic cube classic Lego stud", + "hand-sized shiny molded plastic 2x2 blue brick for connecting with other bricks", + "2x2 blue brick for snapping into place use", + "raised circular stud on top-shaped classic Lego stud", + "2x2 blue brick commonly used for connecting with other bricks", + "2x2 blue brick for snapping into place scenarios", + "Lego brick in square base", + "Lego brick intended for connecting with other bricks", + "hand-sized smooth plastic classic Lego stud", + "glossy royal blue single-stud height Lego-style polymer object", + "smooth plastic classic Lego stud for connecting with other bricks", + "light blue stud top raised circular stud on top Lego brick" + ], + "caption": { + "color": [ + "vibrant blue", + "light blue stud top", + "glossy royal blue" + ], + "function": [ + "connecting with other bricks", + "building structures", + "snapping into place" + ], + "material": [ + "smooth plastic", + "shiny molded plastic", + "Lego-style polymer" + ], + "name": [ + "Lego brick", + "2x2 blue brick", + "classic Lego stud" + ], + "shape": [ + "cube", + "square base", + "raised circular stud on top" + ], + "size": [ + "standard 2x2 brick", + "hand-sized", + "single-stud height" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/brick/00002/metadata.json b/Objects/RoboDojo/Rigid/brick/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..bed7b96386da21a8d0dd965fce8c4f25ba290297 --- /dev/null +++ b/Objects/RoboDojo/Rigid/brick/00002/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.015, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0201, + -0.02, + -0.0183 + ], + [ + -0.0201, + -0.02, + 0.0183 + ], + [ + -0.0201, + 0.0201, + -0.0183 + ], + [ + -0.0201, + 0.0201, + 0.0183 + ], + [ + 0.02, + -0.02, + -0.0183 + ], + [ + 0.02, + -0.02, + 0.0183 + ], + [ + 0.02, + 0.0201, + -0.0183 + ], + [ + 0.02, + 0.0201, + 0.0183 + ] + ], + "extents": [ + 0.0401, + 0.0401, + 0.0366 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.02, + -0.02, + 0.0183 + ], + [ + 0.02, + 0.0201, + 0.0183 + ], + [ + -0.0201, + -0.02, + 0.0183 + ], + [ + -0.0201, + 0.0201, + 0.0183 + ], + [ + 0.02, + -0.02, + -0.0183 + ], + [ + 0.02, + 0.0201, + -0.0183 + ], + [ + -0.0201, + -0.02, + -0.0183 + ], + [ + -0.0201, + 0.0201, + -0.0183 + ] + ], + "extents": [ + 0.0401, + 0.0401, + 0.0366 + ] + } + }, + "active": {}, + "description": [ + "handheld matte yellow object for connecting with other bricks", + "yellow Lego intended for snapping together usage", + "Lego stud with brick-sized dimensions", + "Lego stud appropriate for building structures", + "Lego stud typically made of glossy plastic", + "Lego brick made from glossy plastic", + "cube object made of glossy plastic", + "smooth plastic cube Lego stud", + "cube plastic yellow Lego for connecting with other bricks", + "yellow Lego featuring glossy plastic build", + "Lego stud primarily used for snapping together", + "yellow Lego featuring square base shape", + "brick-sized glossy plastic square base for connecting with other bricks", + "small smooth plastic yellow Lego", + "yellow Lego commonly found in small size", + "golden yellow small square base Lego brick", + "Lego stud suitable for snapping together", + "bright yellow object used for building structures", + "Lego stud for snapping together with glossy plastic", + "brick-sized bright yellow object for connecting with other bricks", + "cube yellow Lego used for building structures", + "small smooth plastic Lego brick", + "yellow Lego with matte yellow exterior", + "plastic matte yellow yellow Lego", + "Lego brick sized as brick-sized", + "Lego stud with cube geometry", + "smooth plastic Lego brick", + "brick-sized Lego brick perfect for building structures", + "single stud on top Lego brick for connecting with other bricks", + "single stud on top Lego stud for building structures", + "square base Lego brick ideal for building structures", + "bright yellow Lego stud used for connecting with other bricks", + "Lego brick featuring cube shape", + "small square base yellow Lego for connecting with other bricks", + "glossy plastic bright yellow Lego brick", + "golden yellow Lego stud suitable for snapping together", + "Lego brick appropriate for connecting with other bricks use", + "matte yellow glossy plastic Lego brick", + "plastic object used for snapping together", + "golden yellow Lego stud suitable for building structures", + "square base Lego brick for snapping together", + "Lego stud commonly featuring glossy plastic", + "Lego brick made of smooth plastic", + "handheld single stud on top object for connecting with other bricks", + "yellow Lego optimized for snapping together", + "bright yellow single stud on top Lego stud", + "Lego brick commonly used for snapping together", + "yellow Lego intended for building structures usage", + "square base Lego stud used for building structures", + "small square base object for building structures", + "small cube object", + "golden yellow square base Lego stud used for building structures", + "small plastic cube for building structures", + "golden yellow square base object for building structures", + "matte yellow square base Lego stud used for connecting with other bricks", + "Lego brick primarily used for snapping together", + "square base smooth plastic object for snapping together", + "Lego stud for connecting with other bricks", + "single stud on top Lego brick ideal for building structures", + "Lego brick suitable for snapping together", + "matte yellow Lego stud typically used for connecting with other bricks", + "yellow Lego made of smooth plastic", + "Lego brick in cube", + "matte yellow plastic square base object", + "Lego stud with cube profile", + "handheld bright yellow plastic yellow Lego", + "small yellow Lego for building structures", + "handheld golden yellow Lego stud", + "square base handheld yellow Lego", + "yellow Lego with single stud on top geometry", + "small single stud on top Lego stud", + "yellow Lego featuring single stud on top shape", + "Lego stud in cube form", + "bright yellow cube Lego stud", + "plastic object used for building structures", + "brick-sized single stud on top object", + "Lego stud featuring glossy plastic build", + "brick-sized bright yellow cube for snapping together", + "cube object made of plastic", + "Lego stud sized as brick-sized", + "small matte yellow single stud on top object", + "brick-sized glossy plastic yellow Lego", + "brick-sized smooth plastic square base for connecting with other bricks", + "matte yellow small square base yellow Lego", + "yellow Lego designed for snapping together", + "Lego brick for building structures with smooth plastic", + "small Lego brick for building structures", + "Lego stud with square base profile", + "handheld yellow Lego used for snapping together", + "golden yellow handheld single stud on top Lego stud", + "matte yellow smooth plastic cube object", + "cube yellow Lego ideal for building structures", + "Lego brick with bright yellow color", + "brick-sized bright yellow cube for building structures", + "Lego brick with square base profile", + "yellow Lego featuring cube shape", + "Lego stud in matte yellow", + "connecting with other bricks with yellow Lego", + "yellow Lego for snapping together with plastic", + "square base Lego brick ideal for snapping together" + ], + "caption": { + "color": [ + "bright yellow", + "matte yellow", + "golden yellow" + ], + "function": [ + "connecting with other bricks", + "building structures", + "snapping together" + ], + "material": [ + "plastic", + "smooth plastic", + "glossy plastic" + ], + "name": [ + "Lego brick", + "Lego stud", + "yellow Lego" + ], + "shape": [ + "cube", + "square base", + "single stud on top" + ], + "size": [ + "small", + "brick-sized", + "handheld" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/broom/00000/metadata.json b/Objects/RoboDojo/Rigid/broom/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..fb23507c8a3235e0a20e6e33d3bd278c60459307 --- /dev/null +++ b/Objects/RoboDojo/Rigid/broom/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.04, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0187, + -0.0414, + -0.1251 + ], + [ + -0.0187, + -0.0414, + 0.1249 + ], + [ + -0.0187, + 0.0414, + -0.1251 + ], + [ + -0.0187, + 0.0414, + 0.1249 + ], + [ + 0.0187, + -0.0414, + -0.1251 + ], + [ + 0.0187, + -0.0414, + 0.1249 + ], + [ + 0.0187, + 0.0414, + -0.1251 + ], + [ + 0.0187, + 0.0414, + 0.1249 + ] + ], + "extents": [ + 0.0374, + 0.0828, + 0.25 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.02, + -0.0532, + 0.123 + ], + [ + 0.0166, + -0.02, + -0.1319 + ], + [ + 0.0132, + 0.0111, + 0.1314 + ], + [ + 0.0099, + 0.0443, + -0.1234 + ], + [ + -0.017, + -0.0571, + 0.123 + ], + [ + -0.0203, + -0.0239, + -0.1319 + ], + [ + -0.0237, + 0.0072, + 0.1314 + ], + [ + -0.0271, + 0.0404, + -0.1235 + ] + ], + "extents": [ + 0.0471, + 0.1013, + 0.2633 + ] + } + }, + "active": {}, + "description": [ + "darkened worn tips handheld oval finger hole utility brush", + "stiff synthetic bristles utility brush suitable for scrubbing stubborn residue", + "compact grip olive green handle rectangular bristle block for scraping baked-on food", + "about 6 inches long oval finger hole object", + "olive green handle utility brush typically used for scrubbing stubborn residue", + "utility brush in compact grip", + "kitchen brush for scrubbing stubborn residue scenarios", + "rectangular bristle block-shaped utility brush", + "scraping baked-on food with scrub brush", + "stiff synthetic bristles oval finger hole utility brush", + "kitchen brush with about 6 inches long dimensions", + "yellow bristles stiff synthetic bristles oval finger hole object", + "utility brush intended for scrubbing stubborn residue", + "scrub brush for scraping baked-on food use", + "darkened worn tips rectangular bristle block scrub brush used for scraping baked-on food", + "olive green handle slim tapered handle scrub brush", + "yellow bristles about 6 inches long metal-reinforced head object", + "scraping baked-on food with utility brush", + "about 6 inches long rectangular bristle block object for cleaning pots and pans", + "utility brush appropriate for cleaning pots and pans use", + "yellow bristles oval finger hole kitchen brush used for scrubbing stubborn residue", + "kitchen brush used to scrubbing stubborn residue", + "about 6 inches long stiff synthetic bristles slim tapered handle for scraping baked-on food", + "scrub brush for scraping baked-on food", + "compact grip darkened worn tips metal-reinforced head slim tapered handle object", + "scrub brush primarily used for scrubbing stubborn residue", + "handheld oval finger hole object", + "scrub brush ideal for scrubbing stubborn residue", + "olive green handle utility brush suitable for scraping baked-on food", + "utility brush with oval finger hole geometry", + "scrub brush typically made of stiff synthetic bristles", + "about 6 inches long rectangular bristle block scrub brush", + "scrub brush optimized for scrubbing stubborn residue", + "utility brush for scraping baked-on food with metal-reinforced head", + "compact grip darkened worn tips rectangular bristle block for scrubbing stubborn residue", + "handheld slim tapered handle object", + "kitchen brush shaped like a rectangular bristle block", + "oval finger hole kitchen brush used for scrubbing stubborn residue", + "compact grip oval finger hole object for scrubbing stubborn residue", + "scrub brush made of metal-reinforced head", + "utility brush shaped like a oval finger hole", + "handheld darkened worn tips oval finger hole object", + "utility brush made of plastic handle", + "compact grip utility brush for cleaning pots and pans", + "handheld darkened worn tips object for scraping baked-on food", + "oval finger hole object used for scrubbing stubborn residue", + "scrub brush with rectangular bristle block geometry", + "scrub brush intended for cleaning pots and pans usage", + "slim tapered handle object made of metal-reinforced head", + "metal-reinforced head oval finger hole scrub brush", + "utility brush colored olive green handle", + "kitchen brush for scrubbing stubborn residue tasks", + "darkened worn tips metal-reinforced head rectangular bristle block scrub brush", + "scrub brush with handheld dimensions", + "utility brush with darkened worn tips color", + "olive green handle utility brush used for scrubbing stubborn residue", + "utility brush in oval finger hole", + "yellow bristles slim tapered handle scrub brush", + "utility brush for scrubbing stubborn residue tasks", + "scrub brush featuring plastic handle build", + "slim tapered handle plastic handle object for cleaning pots and pans", + "about 6 inches long plastic handle rectangular bristle block for scraping baked-on food", + "utility brush made of stiff synthetic bristles", + "utility brush for scrubbing stubborn residue use", + "rectangular bristle block plastic handle object for scrubbing stubborn residue", + "utility brush with plastic handle surface", + "utility brush in yellow bristles", + "stiff synthetic bristles oval finger hole for scraping baked-on food", + "scraping baked-on food use of utility brush", + "olive green handle plastic handle oval finger hole object", + "scrub brush with yellow bristles exterior", + "compact grip rectangular bristle block scrub brush", + "scrub brush for scrubbing stubborn residue activities", + "kitchen brush with olive green handle exterior", + "scrubbing stubborn residue with scrub brush", + "kitchen brush with handheld dimensions", + "kitchen brush for scrubbing stubborn residue", + "scrub brush appropriate for cleaning pots and pans", + "rectangular bristle block scrub brush ideal for scrubbing stubborn residue", + "about 6 inches long object used for cleaning pots and pans", + "utility brush sized about 6 inches long", + "darkened worn tips object used for scrubbing stubborn residue", + "metal-reinforced head utility brush suitable for scrubbing stubborn residue", + "scrub brush ideal for scraping baked-on food", + "rectangular bristle block-shaped scrub brush", + "handheld kitchen brush used for cleaning pots and pans", + "kitchen brush primarily used for scraping baked-on food", + "about 6 inches long olive green handle object for cleaning pots and pans", + "compact grip olive green handle rectangular bristle block object", + "utility brush optimized for cleaning pots and pans", + "metal-reinforced head kitchen brush for scraping baked-on food", + "handheld scrub brush for scraping baked-on food", + "scrub brush in slim tapered handle form", + "yellow bristles metal-reinforced head utility brush", + "kitchen brush commonly found in compact grip size", + "compact grip darkened worn tips utility brush", + "oval finger hole scrub brush ideal for scrubbing stubborn residue", + "utility brush with darkened worn tips exterior", + "handheld yellow bristles stiff synthetic bristles kitchen brush", + "plastic handle oval finger hole object used for scraping baked-on food" + ], + "caption": { + "color": [ + "olive green handle", + "yellow bristles", + "darkened worn tips" + ], + "function": [ + "scraping baked-on food", + "cleaning pots and pans", + "scrubbing stubborn residue" + ], + "material": [ + "plastic handle", + "stiff synthetic bristles", + "metal-reinforced head" + ], + "name": [ + "scrub brush", + "kitchen brush", + "utility brush" + ], + "shape": [ + "slim tapered handle", + "rectangular bristle block", + "oval finger hole" + ], + "size": [ + "handheld", + "about 6 inches long", + "compact grip" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/broom_shovel/00000/metadata.json b/Objects/RoboDojo/Rigid/broom_shovel/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..191ce1e45b330c0c83c33716880bd178deb14b84 --- /dev/null +++ b/Objects/RoboDojo/Rigid/broom_shovel/00000/metadata.json @@ -0,0 +1,310 @@ +{ + "physics": { + "mass": 0.15, + "friction": 0.3, + "size": [ + 0.18400000035762787, + 0.2800000011920929, + 0.04800000041723251 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0921, + -0.1399, + -0.0243 + ], + [ + -0.0921, + -0.1399, + 0.0237 + ], + [ + -0.0921, + 0.1401, + -0.0243 + ], + [ + -0.0921, + 0.1401, + 0.0237 + ], + [ + 0.0919, + -0.1399, + -0.0243 + ], + [ + 0.0919, + -0.1399, + 0.0237 + ], + [ + 0.0919, + 0.1401, + -0.0243 + ], + [ + 0.0919, + 0.1401, + 0.0237 + ] + ], + "extents": [ + 0.184, + 0.28, + 0.048 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0918, + -0.14, + 0.0232 + ], + [ + 0.0918, + 0.1401, + 0.0241 + ], + [ + -0.0922, + -0.14, + 0.0231 + ], + [ + -0.0922, + 0.1401, + 0.024 + ], + [ + 0.0919, + -0.1399, + -0.0244 + ], + [ + 0.0919, + 0.1403, + -0.0235 + ], + [ + -0.0921, + -0.1399, + -0.0244 + ], + [ + -0.0921, + 0.1403, + -0.0236 + ] + ], + "extents": [ + 0.184, + 0.2803, + 0.0485 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "functional": { + "handle": { + "frame": [ + [ + 0.085, + -0.124, + -0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.085, + -0.124, + -0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.085, + -0.05, + -0.0, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.085, + -0.05, + -0.0, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + }, + "support": { + "broom_shovel/0": { + "center": [ + [ + 0.0, + -0.053, + -0.015, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.081 + ] + } + } + }, + "description": [ + "hand dustpan shaped like a shallow scoop", + "fits in one hand mustard yellow curved front lip object", + "handheld smooth molded plastic flat back with handle for collecting small debris", + "dustpan with smooth molded plastic surface", + "dustpan commonly found in fits in one hand size", + "dustpan built from slightly glossy finish", + "handheld shallow scoop sweeping pan for pairing with a brush for cleanup", + "hand dustpan featuring smooth molded plastic build", + "flat back with handle hand dustpan for pairing with a brush for cleanup", + "flat back with handle handheld dustpan", + "dustpan featuring shallow scoop shape", + "slightly glossy finish hand dustpan used for collecting small debris", + "curved front lip dustpan ideal for collecting small debris", + "sweeping pan primarily used for pairing with a brush for cleanup", + "metallic gray interior handheld shallow scoop sweeping pan", + "slightly glossy finish shallow scoop for sweeping up crumbs", + "flat back with handle fits in one hand hand dustpan", + "small dustpan object used for collecting small debris", + "metallic gray interior object used for collecting small debris", + "handheld metallic gray interior dustpan", + "mustard yellow smooth molded plastic shallow scoop hand dustpan", + "sweeping pan used to pairing with a brush for cleanup", + "shallow scoop dustpan ideal for pairing with a brush for cleanup", + "dustpan appropriate for sweeping up crumbs", + "smooth molded plastic sweeping pan suitable for sweeping up crumbs", + "hand dustpan used to pairing with a brush for cleanup", + "handheld metallic gray interior curved front lip object", + "shallow scoop plastic dustpan for collecting small debris", + "hand dustpan built from smooth molded plastic", + "olive green in shadow handheld flat back with handle hand dustpan", + "dustpan featuring plastic build", + "slightly glossy finish shallow scoop dustpan", + "plastic sweeping pan used for collecting small debris", + "shallow scoop smooth molded plastic object for pairing with a brush for cleanup", + "shallow scoop plastic sweeping pan for sweeping up crumbs", + "handheld flat back with handle sweeping pan", + "shallow scoop object made of slightly glossy finish", + "hand dustpan sized as small dustpan", + "handheld mustard yellow curved front lip object", + "sweeping pan commonly featuring plastic", + "hand dustpan colored olive green in shadow", + "sweeping pan in handheld", + "curved front lip plastic object for sweeping up crumbs", + "slightly glossy finish object for pairing with a brush for cleanup", + "mustard yellow plastic flat back with handle object", + "smooth molded plastic hand dustpan for collecting small debris", + "dustpan in metallic gray interior", + "small dustpan metallic gray interior hand dustpan", + "olive green in shadow fits in one hand plastic object", + "mustard yellow shallow scoop object for collecting small debris", + "hand dustpan with fits in one hand dimensions", + "shallow scoop sweeping pan used for sweeping up crumbs", + "sweeping pan intended for collecting small debris", + "small dustpan hand dustpan for collecting small debris", + "small dustpan metallic gray interior curved front lip for collecting small debris", + "smooth molded plastic curved front lip object used for sweeping up crumbs", + "slightly glossy finish dustpan for collecting small debris", + "dustpan appropriate for collecting small debris", + "handheld dustpan perfect for collecting small debris", + "plastic shallow scoop for collecting small debris", + "shallow scoop object made of plastic", + "handheld olive green in shadow plastic shallow scoop object", + "sweeping pan built from slightly glossy finish", + "sweeping pan built from smooth molded plastic", + "plastic olive green in shadow sweeping pan", + "sweeping pan featuring flat back with handle shape", + "metallic gray interior slightly glossy finish curved front lip dustpan", + "sweeping pan sized as small dustpan", + "flat back with handle smooth molded plastic sweeping pan for sweeping up crumbs", + "slightly glossy finish curved front lip sweeping pan", + "dustpan appropriate for pairing with a brush for cleanup use", + "small dustpan smooth molded plastic dustpan for pairing with a brush for cleanup", + "small dustpan dustpan perfect for pairing with a brush for cleanup", + "hand dustpan suitable for pairing with a brush for cleanup", + "fits in one hand mustard yellow shallow scoop object", + "metallic gray interior object used for pairing with a brush for cleanup", + "slightly glossy finish hand dustpan used for pairing with a brush for cleanup", + "small dustpan smooth molded plastic object", + "dustpan with smooth molded plastic construction", + "slightly glossy finish object for sweeping up crumbs", + "dustpan for sweeping up crumbs activities", + "hand dustpan with olive green in shadow color", + "dustpan with handheld dimensions", + "curved front lip object used for collecting small debris", + "hand dustpan with smooth molded plastic surface", + "hand dustpan commonly featuring smooth molded plastic", + "hand dustpan sized as fits in one hand", + "hand dustpan with plastic surface", + "hand dustpan in curved front lip", + "smooth molded plastic shallow scoop object used for collecting small debris", + "hand dustpan ideal for sweeping up crumbs", + "collecting small debris use of hand dustpan", + "shallow scoop dustpan ideal for collecting small debris", + "sweeping pan intended for pairing with a brush for cleanup", + "pairing with a brush for cleanup with sweeping pan", + "mustard yellow smooth molded plastic dustpan", + "olive green in shadow slightly glossy finish dustpan", + "dustpan in small dustpan", + "smooth molded plastic olive green in shadow hand dustpan", + "hand dustpan with shallow scoop profile" + ], + "caption": { + "color": [ + "mustard yellow", + "metallic gray interior", + "olive green in shadow" + ], + "function": [ + "sweeping up crumbs", + "collecting small debris", + "pairing with a brush for cleanup" + ], + "material": [ + "plastic", + "smooth molded plastic", + "slightly glossy finish" + ], + "name": [ + "dustpan", + "sweeping pan", + "hand dustpan" + ], + "shape": [ + "shallow scoop", + "curved front lip", + "flat back with handle" + ], + "size": [ + "handheld", + "small dustpan", + "fits in one hand" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/camera/00002/metadata.json b/Objects/RoboDojo/Rigid/camera/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..a5f8fe83c277efb4c1f7a4f6f89a13841a7909ad --- /dev/null +++ b/Objects/RoboDojo/Rigid/camera/00002/metadata.json @@ -0,0 +1,103 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.109, + -0.0709, + -0.0107 + ], + [ + -0.109, + -0.0709, + 0.1495 + ], + [ + -0.109, + 0.0373, + -0.0107 + ], + [ + -0.109, + 0.0373, + 0.1495 + ], + [ + 0.023, + -0.0709, + -0.0107 + ], + [ + 0.023, + -0.0709, + 0.1495 + ], + [ + 0.023, + 0.0373, + -0.0107 + ], + [ + 0.023, + 0.0373, + 0.1495 + ] + ], + "extents": [ + 0.132, + 0.1082, + 0.1602 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0227, + 0.0418, + 0.146 + ], + [ + 0.023, + 0.0362, + -0.0111 + ], + [ + -0.1094, + 0.0416, + 0.1458 + ], + [ + -0.1091, + 0.036, + -0.0113 + ], + [ + 0.0229, + -0.0665, + 0.1499 + ], + [ + 0.0231, + -0.072, + -0.0073 + ], + [ + -0.1092, + -0.0667, + 0.1496 + ], + [ + -0.1089, + -0.0722, + -0.0075 + ] + ], + "extents": [ + 0.1325, + 0.114, + 0.1612 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Rigid/can/00000/metadata.json b/Objects/RoboDojo/Rigid/can/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..26aaa509e2db02ac2d03fcb891cbe98210b53807 --- /dev/null +++ b/Objects/RoboDojo/Rigid/can/00000/metadata.json @@ -0,0 +1,111 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0247, + -0.0247, + 0.0005 + ], + [ + -0.0247, + -0.0247, + 0.1385 + ], + [ + -0.0247, + 0.0247, + 0.0005 + ], + [ + -0.0247, + 0.0247, + 0.1385 + ], + [ + 0.0247, + -0.0247, + 0.0005 + ], + [ + 0.0247, + -0.0247, + 0.1385 + ], + [ + 0.0247, + 0.0247, + 0.0005 + ], + [ + 0.0247, + 0.0247, + 0.1385 + ] + ], + "extents": [ + 0.0494, + 0.0494, + 0.138 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0306, + 0.0164, + 0.0005 + ], + [ + -0.0306, + 0.0164, + 0.1385 + ], + [ + 0.0164, + 0.0306, + 0.0005 + ], + [ + 0.0164, + 0.0306, + 0.1385 + ], + [ + -0.0164, + -0.0306, + 0.0005 + ], + [ + -0.0164, + -0.0306, + 0.1385 + ], + [ + 0.0306, + -0.0164, + 0.0005 + ], + [ + 0.0306, + -0.0164, + 0.1385 + ] + ], + "extents": [ + 0.0613, + 0.0613, + 0.138 + ] + } + }, + "physics": { + "mass": 0.32, + "friction": 0.25 + }, + "active": {}, + "description": [ + "spray can" + ], + "caption": "" +} diff --git a/Objects/RoboDojo/Rigid/car/00000/metadata.json b/Objects/RoboDojo/Rigid/car/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..8e104b37cb7bc795f8980d9fdab79d5a0b57ad49 --- /dev/null +++ b/Objects/RoboDojo/Rigid/car/00000/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.45, + "friction": 0.45, + "size": [ + 0.15639552372232826, + 0.06906805102681127, + 0.05500000000000001 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.078, + -0.0344, + -0.0274 + ], + [ + -0.078, + -0.0344, + 0.0274 + ], + [ + -0.078, + 0.0344, + -0.0274 + ], + [ + -0.078, + 0.0344, + 0.0274 + ], + [ + 0.078, + -0.0344, + -0.0274 + ], + [ + 0.078, + -0.0344, + 0.0274 + ], + [ + 0.078, + 0.0344, + -0.0274 + ], + [ + 0.078, + 0.0344, + 0.0274 + ] + ], + "extents": [ + 0.156, + 0.0689, + 0.0549 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.078, + 0.0345, + 0.0274 + ], + [ + -0.078, + 0.0344, + 0.0274 + ], + [ + 0.078, + -0.0344, + 0.0274 + ], + [ + -0.078, + -0.0345, + 0.0274 + ], + [ + 0.078, + 0.0345, + -0.0274 + ], + [ + -0.078, + 0.0344, + -0.0274 + ], + [ + 0.078, + -0.0344, + -0.0274 + ], + [ + -0.078, + -0.0344, + -0.0274 + ] + ], + "extents": [ + 0.156, + 0.0689, + 0.0549 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 6.123233995736766e-17, + 0.0, + 0.0, + 1.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "plastic trim black bed work truck", + "work truck in silver wheels", + "Ford F-150 style truck made from painted metal body", + "silver wheels raised roofline object for hauling cargo", + "full-size pickup angular front grille pickup truck", + "hauling cargo with pickup truck", + "silver wheels rubber tires angular front grille work truck", + "painted metal body silver wheels work truck", + "work truck appropriate for off-road transport use", + "Ford F-150 style truck for towing trailers with painted metal body", + "hauling cargo use of Ford F-150 style truck", + "black bed raised roofline object for hauling cargo", + "boxy cab with open cargo bed four-door crew cab work truck", + "work truck for hauling cargo", + "painted metal body raised roofline for towing trailers", + "full-size pickup rubber tires object", + "large truck angular front grille object", + "Ford F-150 style truck for towing trailers scenarios", + "angular front grille rubber tires pickup truck for off-road transport", + "four-door crew cab raised roofline object", + "Ford F-150 style truck optimized for off-road transport", + "work truck intended for towing trailers", + "raised roofline rubber tires Ford F-150 style truck for off-road transport", + "pickup truck commonly featuring painted metal body", + "boxy cab with open cargo bed object used for towing trailers", + "painted metal body Ford F-150 style truck for hauling cargo", + "plastic trim boxy cab with open cargo bed for off-road transport", + "full-size pickup work truck perfect for towing trailers", + "raised roofline painted metal body pickup truck for towing trailers", + "deep blue work truck suitable for hauling cargo", + "work truck for hauling cargo tasks", + "pickup truck with rubber tires surface", + "painted metal body Ford F-150 style truck", + "full-size pickup black bed painted metal body Ford F-150 style truck", + "pickup truck sized full-size pickup", + "Ford F-150 style truck for hauling cargo use", + "pickup truck sized as large truck", + "full-size pickup painted metal body object", + "silver wheels pickup truck used for hauling cargo", + "rubber tires object used for hauling cargo", + "four-door crew cab object used for off-road transport", + "four-door crew cab rubber tires Ford F-150 style truck", + "pickup truck designed for towing trailers", + "raised roofline four-door crew cab work truck", + "painted metal body boxy cab with open cargo bed for towing trailers", + "Ford F-150 style truck in boxy cab with open cargo bed form", + "Ford F-150 style truck in four-door crew cab", + "four-door crew cab painted metal body Ford F-150 style truck for hauling cargo", + "work truck in angular front grille form", + "four-door crew cab boxy cab with open cargo bed object", + "work truck ideal for off-road transport", + "raised roofline pickup truck ideal for towing trailers", + "raised roofline object used for off-road transport", + "large truck silver wheels rubber tires boxy cab with open cargo bed object", + "black bed full-size pickup Ford F-150 style truck for off-road transport", + "work truck primarily used for towing trailers", + "black bed full-size pickup angular front grille work truck", + "pickup truck for hauling cargo with plastic trim", + "hauling cargo use of pickup truck", + "pickup truck for hauling cargo activities", + "work truck featuring plastic trim build", + "Ford F-150 style truck in boxy cab with open cargo bed", + "deep blue four-door crew cab plastic trim object", + "four-door crew cab rubber tires object", + "deep blue four-door crew cab work truck for towing trailers", + "work truck for towing trailers activities", + "boxy cab with open cargo bed large truck Ford F-150 style truck", + "boxy cab with open cargo bed pickup truck used for hauling cargo", + "Ford F-150 style truck for towing trailers activities", + "black bed object used for off-road transport", + "large truck black bed raised roofline object", + "four-door crew cab black bed angular front grille object", + "full-size pickup deep blue pickup truck", + "four-door crew cab raised roofline object for off-road transport", + "full-size pickup plastic trim work truck", + "deep blue angular front grille pickup truck", + "pickup truck for off-road transport with painted metal body", + "full-size pickup plastic trim object", + "plastic trim pickup truck for towing trailers", + "raised roofline work truck for hauling cargo", + "pickup truck designed for off-road transport", + "towing trailers with Ford F-150 style truck", + "full-size pickup deep blue object for towing trailers", + "pickup truck for off-road transport scenarios", + "raised roofline Ford F-150 style truck ideal for towing trailers", + "work truck typically made of rubber tires", + "large truck boxy cab with open cargo bed Ford F-150 style truck for hauling cargo", + "painted metal body Ford F-150 style truck used for off-road transport", + "four-door crew cab rubber tires work truck for hauling cargo", + "rubber tires work truck", + "deep blue object used for hauling cargo", + "deep blue object used for towing trailers", + "pickup truck made from rubber tires", + "pickup truck appropriate for off-road transport", + "work truck for off-road transport", + "work truck optimized for off-road transport", + "four-door crew cab black bed pickup truck", + "work truck intended for towing trailers usage", + "deep blue pickup truck designed for towing trailers", + "full-size pickup plastic trim work truck for off-road transport" + ], + "caption": { + "color": [ + "deep blue", + "black bed", + "silver wheels" + ], + "function": [ + "hauling cargo", + "towing trailers", + "off-road transport" + ], + "material": [ + "painted metal body", + "plastic trim", + "rubber tires" + ], + "name": [ + "pickup truck", + "Ford F-150 style truck", + "work truck" + ], + "shape": [ + "boxy cab with open cargo bed", + "raised roofline", + "angular front grille" + ], + "size": [ + "full-size pickup", + "four-door crew cab", + "large truck" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/car/00001/metadata.json b/Objects/RoboDojo/Rigid/car/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..4130e9d96e15c1e8d0a85196a497981947fb12b1 --- /dev/null +++ b/Objects/RoboDojo/Rigid/car/00001/metadata.json @@ -0,0 +1,132 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0338, + -0.0877, + -0.0239 + ], + [ + -0.0338, + -0.0877, + 0.0239 + ], + [ + -0.0338, + 0.0877, + -0.0239 + ], + [ + -0.0338, + 0.0877, + 0.0239 + ], + [ + 0.0338, + -0.0877, + -0.0239 + ], + [ + 0.0338, + -0.0877, + 0.0239 + ], + [ + 0.0338, + 0.0877, + -0.0239 + ], + [ + 0.0338, + 0.0877, + 0.0239 + ] + ], + "extents": [ + 0.0676, + 0.1755, + 0.0478 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0338, + -0.0878, + 0.0239 + ], + [ + 0.0339, + 0.0877, + 0.0239 + ], + [ + -0.0339, + -0.0877, + 0.0239 + ], + [ + -0.0337, + 0.0878, + 0.0239 + ], + [ + 0.0338, + -0.0878, + -0.0239 + ], + [ + 0.0339, + 0.0877, + -0.0239 + ], + [ + -0.0339, + -0.0877, + -0.0239 + ], + [ + -0.0337, + 0.0878, + -0.0239 + ] + ], + "extents": [ + 0.0678, + 0.1755, + 0.0478 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 0.7071067811865476, + 0.0, + -0.0, + -0.7071067811865475 + ] + ] + } + } + }, + "physics": { + "size": [ + 0.06798820690633808, + 0.17635748429500087, + 0.04800000000000001 + ], + "mass": 0.45, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/car/00002/metadata.json b/Objects/RoboDojo/Rigid/car/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..e23ed9d9c9f482de27280caec0ab55c1e2ea480c --- /dev/null +++ b/Objects/RoboDojo/Rigid/car/00002/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.45, + "friction": 0.45, + "size": [ + 0.15689126972345258, + 0.07166970479856268, + 0.05700000000000001 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0781, + -0.0356, + -0.0284 + ], + [ + -0.0781, + -0.0356, + 0.0283 + ], + [ + -0.0781, + 0.0357, + -0.0284 + ], + [ + -0.0781, + 0.0357, + 0.0283 + ], + [ + 0.0779, + -0.0356, + -0.0284 + ], + [ + 0.0779, + -0.0356, + 0.0283 + ], + [ + 0.0779, + 0.0357, + -0.0284 + ], + [ + 0.0779, + 0.0357, + 0.0283 + ] + ], + "extents": [ + 0.156, + 0.0713, + 0.0567 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0781, + -0.0356, + 0.0283 + ], + [ + 0.0779, + -0.0356, + 0.0283 + ], + [ + -0.0781, + 0.0357, + 0.0283 + ], + [ + 0.0779, + 0.0357, + 0.0283 + ], + [ + -0.0781, + -0.0356, + -0.0283 + ], + [ + 0.0779, + -0.0356, + -0.0284 + ], + [ + -0.0781, + 0.0357, + -0.0283 + ], + [ + 0.0779, + 0.0357, + -0.0284 + ] + ], + "extents": [ + 0.156, + 0.0713, + 0.0567 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + -0.0, + 0.0, + -0.0, + 6.123233995736766e-17, + 0.0, + 0.0, + 1.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "patrol vehicle sized as police vehicle scale", + "Chevrolet Tahoe police car suitable for patrolling streets", + "police SUV featuring tinted glass build", + "rubber tires high ground clearance Chevrolet Tahoe police car", + "Chevrolet Tahoe police car made from rubber tires", + "police SUV sized as full-size SUV", + "patrol vehicle typically made of painted metal", + "police SUV appropriate for responding to emergencies", + "patrol vehicle in high ground clearance", + "Chevrolet Tahoe police car used to responding to emergencies", + "police SUV appropriate for patrolling streets", + "roof-mounted emergency lights full-size SUV Chevrolet Tahoe police car", + "patrol vehicle built from rubber tires", + "four-door white door panel painted metal police SUV", + "Chevrolet Tahoe police car for transporting officers activities", + "high ground clearance patrol vehicle ideal for patrolling streets", + "police vehicle scale roof-mounted emergency lights object", + "Chevrolet Tahoe police car in four-door", + "full-size SUV white door panel police SUV", + "blue and red light bar boxy utility vehicle patrol vehicle", + "boxy utility vehicle tinted glass Chevrolet Tahoe police car for responding to emergencies", + "white door panel patrol vehicle suitable for responding to emergencies", + "patrol vehicle for transporting officers", + "tinted glass object for transporting officers", + "patrol vehicle made from rubber tires", + "four-door Chevrolet Tahoe police car perfect for transporting officers", + "four-door white door panel rubber tires Chevrolet Tahoe police car", + "police vehicle scale tinted glass patrol vehicle", + "painted metal police SUV used for responding to emergencies", + "Chevrolet Tahoe police car commonly featuring rubber tires", + "full-size SUV black boxy utility vehicle for transporting officers", + "police vehicle scale white door panel tinted glass Chevrolet Tahoe police car", + "patrolling streets use of patrol vehicle", + "four-door white door panel object for patrolling streets", + "high ground clearance Chevrolet Tahoe police car for transporting officers", + "four-door high ground clearance police SUV", + "Chevrolet Tahoe police car used to transporting officers", + "painted metal high ground clearance object used for patrolling streets", + "police SUV optimized for responding to emergencies", + "four-door tinted glass police SUV", + "police SUV with roof-mounted emergency lights geometry", + "police vehicle scale tinted glass Chevrolet Tahoe police car for responding to emergencies", + "full-size SUV white door panel rubber tires boxy utility vehicle object", + "four-door object used for transporting officers", + "police vehicle scale painted metal police SUV", + "police SUV designed for transporting officers", + "patrol vehicle with tinted glass construction", + "full-size SUV patrol vehicle used for responding to emergencies", + "full-size SUV patrol vehicle perfect for patrolling streets", + "Chevrolet Tahoe police car sized as police vehicle scale", + "blue and red light bar patrol vehicle for responding to emergencies", + "four-door rubber tires object", + "patrol vehicle appropriate for transporting officers", + "police vehicle scale white door panel object for patrolling streets", + "Chevrolet Tahoe police car appropriate for patrolling streets use", + "Chevrolet Tahoe police car with rubber tires body", + "full-size SUV object used for patrolling streets", + "Chevrolet Tahoe police car typically made of rubber tires", + "patrol vehicle in roof-mounted emergency lights", + "Chevrolet Tahoe police car for patrolling streets with rubber tires", + "blue and red light bar high ground clearance Chevrolet Tahoe police car used for transporting officers", + "white door panel object used for patrolling streets", + "four-door roof-mounted emergency lights object", + "full-size SUV boxy utility vehicle object", + "patrol vehicle designed for patrolling streets", + "tinted glass roof-mounted emergency lights object used for transporting officers", + "black patrol vehicle suitable for transporting officers", + "police SUV ideal for transporting officers", + "Chevrolet Tahoe police car for transporting officers scenarios", + "rubber tires police SUV", + "roof-mounted emergency lights Chevrolet Tahoe police car for responding to emergencies", + "Chevrolet Tahoe police car in police vehicle scale", + "four-door white door panel patrol vehicle", + "roof-mounted emergency lights-shaped police SUV", + "Chevrolet Tahoe police car sized as full-size SUV", + "blue and red light bar object used for patrolling streets", + "blue and red light bar rubber tires Chevrolet Tahoe police car", + "painted metal object for patrolling streets", + "rubber tires boxy utility vehicle for transporting officers", + "boxy utility vehicle tinted glass object for responding to emergencies", + "full-size SUV roof-mounted emergency lights object for patrolling streets", + "police SUV colored blue and red light bar", + "tinted glass police SUV suitable for responding to emergencies", + "police SUV for patrolling streets with painted metal", + "patrol vehicle primarily used for transporting officers", + "transporting officers use of Chevrolet Tahoe police car", + "high ground clearance patrol vehicle used for transporting officers", + "boxy utility vehicle object made of rubber tires", + "four-door black object for transporting officers", + "blue and red light bar roof-mounted emergency lights object for responding to emergencies", + "Chevrolet Tahoe police car colored blue and red light bar", + "roof-mounted emergency lights tinted glass patrol vehicle for responding to emergencies", + "white door panel object used for transporting officers", + "police SUV in black", + "white door panel object used for responding to emergencies", + "white door panel Chevrolet Tahoe police car used for transporting officers", + "Chevrolet Tahoe police car suitable for responding to emergencies", + "white door panel police vehicle scale roof-mounted emergency lights Chevrolet Tahoe police car", + "blue and red light bar object used for responding to emergencies", + "patrol vehicle appropriate for transporting officers use" + ], + "caption": { + "color": [ + "black", + "white door panel", + "blue and red light bar" + ], + "function": [ + "patrolling streets", + "responding to emergencies", + "transporting officers" + ], + "material": [ + "painted metal", + "tinted glass", + "rubber tires" + ], + "name": [ + "police SUV", + "patrol vehicle", + "Chevrolet Tahoe police car" + ], + "shape": [ + "boxy utility vehicle", + "high ground clearance", + "roof-mounted emergency lights" + ], + "size": [ + "full-size SUV", + "police vehicle scale", + "four-door" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/car/00003/metadata.json b/Objects/RoboDojo/Rigid/car/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..49805a8aa666c05054658c52e5d7bf18b6bdac3f --- /dev/null +++ b/Objects/RoboDojo/Rigid/car/00003/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.45, + "friction": 0.45, + "size": [ + 0.1353308144675138, + 0.0582320400105684, + 0.039999999999999994 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0675, + -0.029, + -0.02 + ], + [ + -0.0675, + -0.029, + 0.02 + ], + [ + -0.0675, + 0.029, + -0.02 + ], + [ + -0.0675, + 0.029, + 0.02 + ], + [ + 0.0675, + -0.029, + -0.02 + ], + [ + 0.0675, + -0.029, + 0.02 + ], + [ + 0.0675, + 0.029, + -0.02 + ], + [ + 0.0675, + 0.029, + 0.02 + ] + ], + "extents": [ + 0.135, + 0.0581, + 0.0399 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0675, + -0.029, + 0.02 + ], + [ + 0.0675, + -0.0291, + 0.02 + ], + [ + -0.0675, + 0.0291, + 0.02 + ], + [ + 0.0675, + 0.029, + 0.0199 + ], + [ + -0.0675, + -0.029, + -0.0199 + ], + [ + 0.0675, + -0.0291, + -0.0199 + ], + [ + -0.0675, + 0.029, + -0.02 + ], + [ + 0.0675, + 0.029, + -0.02 + ] + ], + "extents": [ + 0.135, + 0.0581, + 0.0399 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 6.123233995736766e-17, + 0.0, + 0.0, + 1.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "sports coupe sized full-size coupe", + "sports coupe for high-performance driving scenarios", + "Ford Mustang with rubber tires surface", + "dark tinted windows sports coupe used for high-performance driving", + "sports coupe with low-slung aerodynamic profile geometry", + "dark tinted windows full-size coupe curved hood and fenders Ford Mustang", + "full-size coupe rubber tires sports coupe", + "dark tinted windows two-door sports coupe for street cruising", + "dark tinted windows painted metal body low-slung aerodynamic profile Ford Mustang", + "fastback rear object made of rubber tires", + "sports coupe typically made of rubber tires", + "Mustang appropriate for high-performance driving use", + "glossy red fastback rear object for street cruising", + "mid-sized car sports coupe perfect for street cruising", + "mid-sized car curved hood and fenders object for high-performance driving", + "dark tinted windows low-slung aerodynamic profile sports coupe", + "glass windows sports coupe suitable for high-performance driving", + "glossy red low-slung aerodynamic profile Ford Mustang used for high-performance driving", + "Mustang with dark tinted windows exterior", + "mid-sized car glass windows object", + "Mustang in dark tinted windows", + "black roof low-slung aerodynamic profile sports coupe used for showcasing muscle car design", + "glossy red Ford Mustang typically used for street cruising", + "fastback rear-shaped Mustang", + "Ford Mustang appropriate for showcasing muscle car design", + "low-slung aerodynamic profile-shaped Ford Mustang", + "mid-sized car fastback rear object for street cruising", + "glossy red full-size coupe Ford Mustang for showcasing muscle car design", + "black roof object used for street cruising", + "two-door low-slung aerodynamic profile object", + "sports coupe for showcasing muscle car design use", + "Mustang commonly used for street cruising", + "Mustang used to high-performance driving", + "mid-sized car rubber tires curved hood and fenders for high-performance driving", + "dark tinted windows two-door curved hood and fenders sports coupe", + "full-size coupe fastback rear object for high-performance driving", + "sports coupe in dark tinted windows", + "Mustang for high-performance driving activities", + "glossy red rubber tires sports coupe", + "Ford Mustang with full-size coupe dimensions", + "dark tinted windows mid-sized car curved hood and fenders sports coupe", + "mid-sized car dark tinted windows curved hood and fenders for high-performance driving", + "black roof object used for high-performance driving", + "Mustang in curved hood and fenders form", + "painted metal body object used for street cruising", + "Ford Mustang for showcasing muscle car design tasks", + "Ford Mustang suitable for high-performance driving", + "two-door glass windows sports coupe", + "Mustang suitable for street cruising", + "glass windows curved hood and fenders for high-performance driving", + "full-size coupe fastback rear object for street cruising", + "rubber tires fastback rear object used for street cruising", + "sports coupe with mid-sized car dimensions", + "sports coupe suitable for high-performance driving", + "sports coupe in black roof", + "glass windows Mustang", + "Mustang ideal for high-performance driving", + "sports coupe with curved hood and fenders profile", + "mid-sized car Ford Mustang for showcasing muscle car design", + "sports coupe optimized for street cruising", + "sports coupe suitable for showcasing muscle car design", + "glossy red object used for high-performance driving", + "Mustang in glossy red", + "Mustang in low-slung aerodynamic profile form", + "Mustang with rubber tires construction", + "mid-sized car sports coupe for high-performance driving", + "fastback rear sports coupe ideal for street cruising", + "mid-sized car black roof object for high-performance driving", + "Mustang with glass windows body", + "rubber tires low-slung aerodynamic profile Mustang", + "Ford Mustang in mid-sized car", + "glass windows object used for high-performance driving", + "curved hood and fenders rubber tires Ford Mustang for street cruising", + "mid-sized car low-slung aerodynamic profile object for showcasing muscle car design", + "Ford Mustang typically made of painted metal body", + "Ford Mustang shaped like a fastback rear", + "Mustang made of rubber tires", + "mid-sized car Ford Mustang used for street cruising", + "Mustang with black roof color", + "two-door black roof object for showcasing muscle car design", + "mid-sized car curved hood and fenders object", + "dark tinted windows object used for high-performance driving", + "high-performance driving with sports coupe", + "glossy red curved hood and fenders object for street cruising", + "two-door Ford Mustang for street cruising", + "fastback rear sports coupe for street cruising", + "Mustang featuring curved hood and fenders shape", + "sports coupe featuring glass windows build", + "Mustang with glossy red exterior", + "glossy red Mustang used for high-performance driving", + "Ford Mustang for street cruising use", + "full-size coupe glossy red object for street cruising", + "black roof Mustang for showcasing muscle car design", + "Mustang in mid-sized car", + "Ford Mustang built from rubber tires", + "Ford Mustang designed for street cruising", + "Mustang with two-door dimensions", + "Ford Mustang with glass windows surface", + "mid-sized car Ford Mustang used for high-performance driving", + "Mustang commonly featuring rubber tires" + ], + "caption": { + "color": [ + "glossy red", + "black roof", + "dark tinted windows" + ], + "function": [ + "high-performance driving", + "street cruising", + "showcasing muscle car design" + ], + "material": [ + "painted metal body", + "glass windows", + "rubber tires" + ], + "name": [ + "Mustang", + "Ford Mustang", + "sports coupe" + ], + "shape": [ + "low-slung aerodynamic profile", + "fastback rear", + "curved hood and fenders" + ], + "size": [ + "full-size coupe", + "two-door", + "mid-sized car" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/car/00004/metadata.json b/Objects/RoboDojo/Rigid/car/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..f3c4e8f4ed53cd696976746caebe81fb2806ab6c --- /dev/null +++ b/Objects/RoboDojo/Rigid/car/00004/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.45, + "friction": 0.38, + "size": [ + 0.14555971088824238, + 0.0654364118746493, + 0.045 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0735, + -0.0329, + -0.0227 + ], + [ + -0.0735, + -0.0329, + 0.0226 + ], + [ + -0.0735, + 0.0331, + -0.0227 + ], + [ + -0.0735, + 0.0331, + 0.0226 + ], + [ + 0.0733, + -0.0329, + -0.0227 + ], + [ + 0.0733, + -0.0329, + 0.0226 + ], + [ + 0.0733, + 0.0331, + -0.0227 + ], + [ + 0.0733, + 0.0331, + 0.0226 + ] + ], + "extents": [ + 0.1468, + 0.066, + 0.0454 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.071, + -0.0373, + 0.0226 + ], + [ + 0.0755, + -0.0271, + 0.0226 + ], + [ + -0.0756, + 0.0283, + 0.0226 + ], + [ + 0.0709, + 0.0385, + 0.0226 + ], + [ + -0.071, + -0.0373, + -0.0227 + ], + [ + 0.0755, + -0.0271, + -0.0227 + ], + [ + -0.0756, + 0.0283, + -0.0227 + ], + [ + 0.0709, + 0.0385, + -0.0227 + ] + ], + "extents": [ + 0.151, + 0.0759, + 0.0454 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.005, + -0.005, + 6.123233995736766e-17, + 0.0, + 0.0, + 1.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "glossy plastic police cruiser toy used for collectible display", + "black body toy-sized glossy plastic object", + "police cruiser toy with glossy plastic surface", + "approximate die-cast scale two-door coupe police cruiser toy for pretend play", + "sheriff car with glossy plastic construction", + "yellow sheriff star and text low-slung profile with raised roofline object for pretend play", + "police cruiser toy with red and blue light bar exterior", + "collectible display with Dodge Challenger-style patrol car", + "black body sheriff car for role-playing law enforcement scenarios", + "sheriff car suitable for collectible display", + "approximate die-cast scale low-slung profile with raised roofline sheriff car", + "Dodge Challenger-style patrol car commonly found in toy-sized size", + "muscle car silhouette-shaped Dodge Challenger-style patrol car", + "collectible display use of sheriff car", + "approximate die-cast scale Dodge Challenger-style patrol car perfect for pretend play", + "Dodge Challenger-style patrol car for collectible display", + "yellow sheriff star and text object used for pretend play", + "white roof and side stripe two-door coupe object for pretend play", + "two-door coupe police cruiser toy for collectible display", + "approximate die-cast scale muscle car silhouette sheriff car", + "red and blue light bar low-slung profile with raised roofline police cruiser toy used for pretend play", + "glossy plastic muscle car silhouette object used for collectible display", + "yellow sheriff star and text small enough to hold in one hand low-slung profile with raised roofline sheriff car", + "glossy plastic sheriff car used for pretend play", + "sheriff car in yellow sheriff star and text", + "glossy plastic Dodge Challenger-style patrol car used for role-playing law enforcement scenarios", + "Dodge Challenger-style patrol car appropriate for collectible display use", + "sheriff car shaped like a two-door coupe", + "police cruiser toy in muscle car silhouette", + "police cruiser toy ideal for collectible display", + "two-door coupe object used for pretend play", + "police cruiser toy featuring low-slung profile with raised roofline shape", + "police cruiser toy shaped like a muscle car silhouette", + "approximate die-cast scale white roof and side stripe glossy plastic police cruiser toy", + "low-slung profile with raised roofline approximate die-cast scale sheriff car", + "Dodge Challenger-style patrol car for role-playing law enforcement scenarios tasks", + "Dodge Challenger-style patrol car appropriate for pretend play use", + "Dodge Challenger-style patrol car for collectible display use", + "Dodge Challenger-style patrol car featuring smooth painted finish build", + "red and blue light bar smooth painted finish low-slung profile with raised roofline Dodge Challenger-style patrol car", + "Dodge Challenger-style patrol car for pretend play", + "low-slung profile with raised roofline sheriff car ideal for pretend play", + "sheriff car built from glossy plastic", + "toy-sized white roof and side stripe muscle car silhouette object", + "Dodge Challenger-style patrol car typically made of glossy plastic", + "muscle car silhouette-shaped police cruiser toy", + "yellow sheriff star and text police cruiser toy used for collectible display", + "small enough to hold in one hand glossy plastic muscle car silhouette for collectible display", + "toy-sized black body smooth painted finish police cruiser toy", + "small enough to hold in one hand red and blue light bar smooth painted finish low-slung profile with raised roofline object", + "muscle car silhouette smooth painted finish object for pretend play", + "approximate die-cast scale muscle car silhouette police cruiser toy for pretend play", + "low-slung profile with raised roofline object made of smooth painted finish", + "police cruiser toy for collectible display with smooth painted finish", + "small enough to hold in one hand smooth painted finish sheriff car for collectible display", + "sheriff car in low-slung profile with raised roofline", + "approximate die-cast scale Dodge Challenger-style patrol car perfect for collectible display", + "approximate die-cast scale muscle car silhouette object", + "small enough to hold in one hand Dodge Challenger-style patrol car used for role-playing law enforcement scenarios", + "Dodge Challenger-style patrol car with low-slung profile with raised roofline geometry", + "Dodge Challenger-style patrol car with small enough to hold in one hand dimensions", + "small enough to hold in one hand police cruiser toy used for role-playing law enforcement scenarios", + "small enough to hold in one hand low-slung profile with raised roofline object for pretend play", + "glossy plastic muscle car silhouette sheriff car", + "sheriff car featuring smooth painted finish build", + "two-door coupe Dodge Challenger-style patrol car ideal for role-playing law enforcement scenarios", + "yellow sheriff star and text object used for role-playing law enforcement scenarios", + "glossy plastic muscle car silhouette police cruiser toy", + "white roof and side stripe police cruiser toy suitable for pretend play", + "smooth painted finish low-slung profile with raised roofline police cruiser toy", + "Dodge Challenger-style patrol car used to pretend play", + "toy-sized black body Dodge Challenger-style patrol car", + "Dodge Challenger-style patrol car with smooth painted finish surface", + "Dodge Challenger-style patrol car with yellow sheriff star and text color", + "red and blue light bar small enough to hold in one hand sheriff car for pretend play", + "police cruiser toy in two-door coupe form", + "police cruiser toy sized small enough to hold in one hand", + "pretend play with police cruiser toy", + "muscle car silhouette smooth painted finish object for collectible display", + "low-slung profile with raised roofline sheriff car ideal for role-playing law enforcement scenarios", + "sheriff car ideal for pretend play", + "smooth painted finish object used for role-playing law enforcement scenarios", + "toy-sized black body muscle car silhouette object", + "yellow sheriff star and text glossy plastic low-slung profile with raised roofline object", + "small enough to hold in one hand object used for pretend play", + "sheriff car optimized for collectible display", + "muscle car silhouette object made of glossy plastic", + "sheriff car appropriate for role-playing law enforcement scenarios use", + "red and blue light bar smooth painted finish two-door coupe object", + "black body object used for role-playing law enforcement scenarios", + "Dodge Challenger-style patrol car used to collectible display", + "police cruiser toy used to pretend play", + "Dodge Challenger-style patrol car with smooth painted finish body", + "smooth painted finish red and blue light bar sheriff car", + "approximate die-cast scale black body sheriff car", + "Dodge Challenger-style patrol car for pretend play use", + "muscle car silhouette small enough to hold in one hand Dodge Challenger-style patrol car", + "low-slung profile with raised roofline police cruiser toy ideal for pretend play", + "sheriff car for role-playing law enforcement scenarios scenarios", + "two-door coupe-shaped Dodge Challenger-style patrol car" + ], + "caption": { + "color": [ + "black body", + "white roof and side stripe", + "yellow sheriff star and text", + "red and blue light bar" + ], + "function": [ + "pretend play", + "role-playing law enforcement scenarios", + "collectible display" + ], + "material": [ + "glossy plastic", + "smooth painted finish" + ], + "name": [ + "sheriff car", + "police cruiser toy", + "Dodge Challenger-style patrol car" + ], + "shape": [ + "muscle car silhouette", + "two-door coupe", + "low-slung profile with raised roofline" + ], + "size": [ + "toy-sized", + "small enough to hold in one hand", + "approximate die-cast scale" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/car/00005/metadata.json b/Objects/RoboDojo/Rigid/car/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..bb29942a9c2a2495b3da5f6fc7c3fda36179303a --- /dev/null +++ b/Objects/RoboDojo/Rigid/car/00005/metadata.json @@ -0,0 +1,132 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0343, + -0.0771, + -0.0196 + ], + [ + -0.0343, + -0.0771, + 0.0196 + ], + [ + -0.0343, + 0.0771, + -0.0196 + ], + [ + -0.0343, + 0.0771, + 0.0196 + ], + [ + 0.0343, + -0.0771, + -0.0196 + ], + [ + 0.0343, + -0.0771, + 0.0196 + ], + [ + 0.0343, + 0.0771, + -0.0196 + ], + [ + 0.0343, + 0.0771, + 0.0196 + ] + ], + "extents": [ + 0.0686, + 0.1543, + 0.0392 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0343, + -0.0771, + 0.0196 + ], + [ + 0.0343, + 0.0771, + 0.0196 + ], + [ + -0.0343, + -0.0771, + 0.0196 + ], + [ + -0.0343, + 0.0771, + 0.0196 + ], + [ + 0.0343, + -0.0771, + -0.0196 + ], + [ + 0.0343, + 0.0771, + -0.0196 + ], + [ + -0.0343, + -0.0771, + -0.0196 + ], + [ + -0.0343, + 0.0771, + -0.0196 + ] + ], + "extents": [ + 0.0687, + 0.1543, + 0.0392 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 0.7071067811865476, + 0.0, + -0.0, + -0.7071067811865475 + ] + ] + } + } + }, + "physics": { + "size": [ + 0.06831246940501093, + 0.15355837894768073, + 0.039 + ], + "mass": 0.45, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/car/00006/metadata.json b/Objects/RoboDojo/Rigid/car/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..8a404d8aeae6776c220e25feb010b588901202d0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/car/00006/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.45, + "friction": 0.42, + "size": [ + 0.1177976868106018, + 0.06001013705697756, + 0.03799999999999999 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0589, + -0.0299, + -0.0191 + ], + [ + -0.0589, + -0.0299, + 0.0189 + ], + [ + -0.0589, + 0.03, + -0.0191 + ], + [ + -0.0589, + 0.03, + 0.0189 + ], + [ + 0.0587, + -0.0299, + -0.0191 + ], + [ + 0.0587, + -0.0299, + 0.0189 + ], + [ + 0.0587, + 0.03, + -0.0191 + ], + [ + 0.0587, + 0.03, + 0.0189 + ] + ], + "extents": [ + 0.1176, + 0.0599, + 0.0379 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0589, + -0.0299, + -0.0187 + ], + [ + -0.0588, + -0.0299, + -0.0192 + ], + [ + 0.0589, + 0.03, + -0.0186 + ], + [ + -0.0588, + 0.03, + -0.0192 + ], + [ + 0.0587, + -0.0299, + 0.0191 + ], + [ + -0.059, + -0.03, + 0.0186 + ], + [ + 0.0587, + 0.03, + 0.0191 + ], + [ + -0.059, + 0.03, + 0.0186 + ] + ], + "extents": [ + 0.1179, + 0.06, + 0.0383 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + -0.0, + 0.0, + -0.0, + 6.123233995736766e-17, + 0.0, + 0.0, + 1.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "gray undercarriage fits in hand gold LEGO sports car for collecting", + "plastic bricks gold LEGO sports car for recreating classic rally cars", + "Porsche 911 rally car with plastic bricks surface", + "fits in hand wide rear fenders gold LEGO sports car for recreating classic rally cars", + "LEGO Porsche 911 in boxy wheel arches", + "black accents Porsche 911 rally car designed for displaying", + "gold LEGO sports car typically made of interlocking LEGO pieces", + "small scale model plastic bricks Porsche 911 rally car for recreating classic rally cars", + "LEGO Porsche 911 commonly featuring interlocking LEGO pieces", + "toy car size gold LEGO sports car for collecting", + "Porsche 911 rally car appropriate for collecting use", + "fits in hand gold LEGO sports car perfect for recreating classic rally cars", + "gold yellow wide rear fenders object for recreating classic rally cars", + "gray undercarriage gold LEGO sports car for recreating classic rally cars", + "interlocking LEGO pieces wide rear fenders object used for recreating classic rally cars", + "gold LEGO sports car with interlocking LEGO pieces body", + "fits in hand interlocking LEGO pieces gold LEGO sports car for recreating classic rally cars", + "gold yellow gold LEGO sports car used for recreating classic rally cars", + "gold yellow Porsche 911 rally car for recreating classic rally cars", + "gold LEGO sports car commonly found in toy car size size", + "plastic bricks large rear spoiler object used for recreating classic rally cars", + "interlocking LEGO pieces black accents gold LEGO sports car", + "LEGO Porsche 911 featuring wide rear fenders shape", + "gold LEGO sports car with gray undercarriage exterior", + "LEGO Porsche 911 ideal for recreating classic rally cars", + "toy car size wide rear fenders LEGO Porsche 911 for collecting", + "small scale model boxy wheel arches LEGO Porsche 911 for collecting", + "LEGO Porsche 911 appropriate for collecting use", + "LEGO Porsche 911 with wide rear fenders geometry", + "boxy wheel arches interlocking LEGO pieces Porsche 911 rally car for collecting", + "gold yellow low-slung coupe gold LEGO sports car used for collecting", + "LEGO Porsche 911 in gold yellow", + "Porsche 911 rally car with gray undercarriage color", + "black accents toy car size low-slung coupe Porsche 911 rally car", + "plastic bricks Porsche 911 rally car for recreating classic rally cars", + "toy car size wide rear fenders object", + "small scale model plastic bricks wide rear fenders for displaying", + "toy car size large rear spoiler Porsche 911 rally car for collecting", + "toy car size wide rear fenders gold LEGO sports car for displaying", + "fits in hand object used for recreating classic rally cars", + "gray undercarriage small scale model Porsche 911 rally car for displaying", + "wide rear fenders-shaped LEGO Porsche 911", + "boxy wheel arches LEGO Porsche 911 ideal for recreating classic rally cars", + "plastic bricks LEGO Porsche 911", + "LEGO Porsche 911 with low-slung coupe geometry", + "gold LEGO sports car with wide rear fenders profile", + "LEGO Porsche 911 in gray undercarriage", + "LEGO Porsche 911 primarily used for displaying", + "wide rear fenders object used for displaying", + "fits in hand gold yellow object for displaying", + "fits in hand wide rear fenders object", + "plastic bricks object for displaying", + "LEGO Porsche 911 for collecting scenarios", + "black accents object used for displaying", + "LEGO Porsche 911 for displaying tasks", + "Porsche 911 rally car primarily used for collecting", + "LEGO Porsche 911 intended for collecting usage", + "large rear spoiler toy car size LEGO Porsche 911", + "gold LEGO sports car for displaying tasks", + "Porsche 911 rally car with boxy wheel arches geometry", + "Porsche 911 rally car featuring interlocking LEGO pieces build", + "gold LEGO sports car built from plastic bricks", + "gold yellow toy car size interlocking LEGO pieces object", + "toy car size large rear spoiler object", + "low-slung coupe object made of interlocking LEGO pieces", + "plastic bricks black accents LEGO Porsche 911", + "fits in hand plastic bricks LEGO Porsche 911 for collecting", + "black accents toy car size low-slung coupe LEGO Porsche 911", + "small scale model plastic bricks object", + "fits in hand LEGO Porsche 911 for recreating classic rally cars", + "gold yellow wide rear fenders object for displaying", + "large rear spoiler-shaped Porsche 911 rally car", + "gray undercarriage plastic bricks LEGO Porsche 911", + "Porsche 911 rally car made from plastic bricks", + "black accents large rear spoiler gold LEGO sports car used for displaying", + "gold LEGO sports car ideal for collecting", + "gold yellow Porsche 911 rally car typically used for recreating classic rally cars", + "black accents LEGO Porsche 911 typically used for collecting", + "toy car size interlocking LEGO pieces LEGO Porsche 911 for collecting", + "toy car size gold yellow low-slung coupe object", + "gold yellow plastic bricks gold LEGO sports car", + "gray undercarriage small scale model Porsche 911 rally car for collecting", + "plastic bricks low-slung coupe Porsche 911 rally car", + "interlocking LEGO pieces object for collecting", + "gold LEGO sports car in large rear spoiler", + "black accents toy car size plastic bricks object", + "black accents gold LEGO sports car for recreating classic rally cars", + "gold LEGO sports car built from interlocking LEGO pieces", + "wide rear fenders gold LEGO sports car ideal for displaying", + "boxy wheel arches object made of plastic bricks", + "interlocking LEGO pieces low-slung coupe object used for displaying", + "gold LEGO sports car appropriate for collecting", + "Porsche 911 rally car for recreating classic rally cars", + "gold LEGO sports car with large rear spoiler profile", + "gold LEGO sports car primarily used for recreating classic rally cars", + "LEGO Porsche 911 shaped like a low-slung coupe", + "interlocking LEGO pieces gold LEGO sports car suitable for collecting", + "interlocking LEGO pieces wide rear fenders for collecting", + "Porsche 911 rally car intended for recreating classic rally cars usage", + "small scale model wide rear fenders LEGO Porsche 911 for recreating classic rally cars" + ], + "caption": { + "color": [ + "gold yellow", + "black accents", + "gray undercarriage" + ], + "function": [ + "displaying", + "collecting", + "recreating classic rally cars" + ], + "material": [ + "plastic bricks", + "interlocking LEGO pieces" + ], + "name": [ + "LEGO Porsche 911", + "Porsche 911 rally car", + "gold LEGO sports car" + ], + "shape": [ + "low-slung coupe", + "wide rear fenders", + "large rear spoiler", + "boxy wheel arches" + ], + "size": [ + "small scale model", + "toy car size", + "fits in hand" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/car/00007/metadata.json b/Objects/RoboDojo/Rigid/car/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..892c1df54bae6034d59dadf00fc10b91c8fb75bd --- /dev/null +++ b/Objects/RoboDojo/Rigid/car/00007/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.45, + "friction": 0.45, + "size": [ + 0.12877156439227253, + 0.05763390332637112, + 0.036 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0645, + -0.0289, + -0.018 + ], + [ + -0.0645, + -0.0289, + 0.018 + ], + [ + -0.0645, + 0.0289, + -0.018 + ], + [ + -0.0645, + 0.0289, + 0.018 + ], + [ + 0.0645, + -0.0289, + -0.018 + ], + [ + 0.0645, + -0.0289, + 0.018 + ], + [ + 0.0645, + 0.0289, + -0.018 + ], + [ + 0.0645, + 0.0289, + 0.018 + ] + ], + "extents": [ + 0.129, + 0.0577, + 0.0361 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0645, + 0.0288, + 0.018 + ], + [ + -0.0645, + 0.0289, + 0.0181 + ], + [ + 0.0645, + -0.029, + 0.018 + ], + [ + -0.0645, + -0.0288, + 0.0181 + ], + [ + 0.0645, + 0.0288, + -0.018 + ], + [ + -0.0645, + 0.0289, + -0.018 + ], + [ + 0.0645, + -0.029, + -0.018 + ], + [ + -0.0645, + -0.0288, + -0.018 + ] + ], + "extents": [ + 0.1291, + 0.0579, + 0.0361 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 6.123233995736766e-17, + 0.0, + 0.0, + 1.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "black roof Japanese supercar for high-performance driving", + "metallic silver compact sports car glass windows object", + "mid-sized for a supercar Acura NSX perfect for showcasing advanced engineering", + "glass windows Japanese supercar used for track use", + "Japanese supercar with mid-sized for a supercar dimensions", + "two-door coupe glass windows Japanese supercar", + "Japanese supercar intended for showcasing advanced engineering usage", + "90s exotic colored black roof", + "black roof object used for showcasing advanced engineering", + "Acura NSX in two-door coupe", + "glass windows Japanese supercar for showcasing advanced engineering", + "rubber tires Japanese supercar for high-performance driving", + "painted metal body metallic silver Japanese supercar", + "showcasing advanced engineering use of 90s exotic", + "two-door coupe rubber tires object", + "low-slung wedge profile 90s exotic used for high-performance driving", + "two-door coupe dark tinted windows twin rear spoilers object", + "metallic silver Japanese supercar used for track use", + "Japanese supercar suitable for track use", + "metallic silver Acura NSX typically used for showcasing advanced engineering", + "90s exotic for high-performance driving", + "90s exotic primarily used for showcasing advanced engineering", + "curved aerodynamic lines rubber tires Japanese supercar for showcasing advanced engineering", + "rubber tires twin rear spoilers object used for track use", + "twin rear spoilers Japanese supercar ideal for high-performance driving", + "compact sports car dark tinted windows object for track use", + "Japanese supercar used to showcasing advanced engineering", + "Acura NSX made of painted metal body", + "Japanese supercar in metallic silver", + "dark tinted windows two-door coupe painted metal body object", + "curved aerodynamic lines-shaped Japanese supercar", + "high-performance driving use of Acura NSX", + "curved aerodynamic lines Japanese supercar ideal for track use", + "90s exotic for showcasing advanced engineering", + "two-door coupe curved aerodynamic lines 90s exotic", + "dark tinted windows object used for track use", + "Acura NSX used to showcasing advanced engineering", + "painted metal body Japanese supercar suitable for track use", + "glass windows object for high-performance driving", + "Japanese supercar commonly used for track use", + "mid-sized for a supercar curved aerodynamic lines object", + "90s exotic with curved aerodynamic lines geometry", + "mid-sized for a supercar twin rear spoilers object for high-performance driving", + "two-door coupe 90s exotic for showcasing advanced engineering", + "compact sports car rubber tires Japanese supercar", + "Acura NSX commonly featuring painted metal body", + "dark tinted windows curved aerodynamic lines object for showcasing advanced engineering", + "glass windows low-slung wedge profile 90s exotic", + "mid-sized for a supercar low-slung wedge profile 90s exotic for track use", + "Japanese supercar intended for showcasing advanced engineering", + "twin rear spoilers compact sports car Japanese supercar", + "90s exotic for high-performance driving activities", + "Japanese supercar appropriate for track use use", + "90s exotic commonly found in compact sports car size", + "dark tinted windows Japanese supercar suitable for showcasing advanced engineering", + "glass windows Japanese supercar for track use", + "Acura NSX sized as two-door coupe", + "glass windows curved aerodynamic lines object used for track use", + "painted metal body Japanese supercar used for high-performance driving", + "Japanese supercar built from painted metal body", + "Japanese supercar commonly used for showcasing advanced engineering", + "compact sports car object used for showcasing advanced engineering", + "dark tinted windows mid-sized for a supercar curved aerodynamic lines 90s exotic", + "painted metal body Acura NSX used for high-performance driving", + "black roof low-slung wedge profile object for track use", + "90s exotic shaped like a curved aerodynamic lines", + "painted metal body twin rear spoilers object used for high-performance driving", + "Japanese supercar colored metallic silver", + "Acura NSX shaped like a twin rear spoilers", + "compact sports car 90s exotic used for high-performance driving", + "curved aerodynamic lines 90s exotic used for track use", + "compact sports car 90s exotic for high-performance driving", + "Japanese supercar with curved aerodynamic lines profile", + "metallic silver rubber tires curved aerodynamic lines object", + "rubber tires low-slung wedge profile object used for track use", + "compact sports car dark tinted windows glass windows Acura NSX", + "Acura NSX featuring low-slung wedge profile shape", + "90s exotic with compact sports car dimensions", + "mid-sized for a supercar object used for high-performance driving", + "Acura NSX ideal for track use", + "two-door coupe Acura NSX used for track use", + "Acura NSX intended for track use usage", + "black roof two-door coupe 90s exotic for high-performance driving", + "black roof twin rear spoilers object for track use", + "Japanese supercar sized two-door coupe", + "Japanese supercar optimized for high-performance driving", + "metallic silver object used for showcasing advanced engineering", + "glass windows metallic silver Japanese supercar", + "two-door coupe black roof curved aerodynamic lines object", + "compact sports car Acura NSX for showcasing advanced engineering", + "Acura NSX optimized for high-performance driving", + "twin rear spoilers Japanese supercar for high-performance driving", + "Acura NSX with rubber tires surface", + "dark tinted windows glass windows low-slung wedge profile Japanese supercar", + "two-door coupe 90s exotic used for showcasing advanced engineering", + "curved aerodynamic lines object used for showcasing advanced engineering", + "rubber tires Acura NSX for track use", + "Japanese supercar for showcasing advanced engineering with rubber tires", + "dark tinted windows twin rear spoilers Acura NSX", + "Japanese supercar in dark tinted windows" + ], + "caption": { + "color": [ + "metallic silver", + "black roof", + "dark tinted windows" + ], + "function": [ + "high-performance driving", + "track use", + "showcasing advanced engineering" + ], + "material": [ + "painted metal body", + "glass windows", + "rubber tires" + ], + "name": [ + "Acura NSX", + "Japanese supercar", + "90s exotic" + ], + "shape": [ + "low-slung wedge profile", + "curved aerodynamic lines", + "twin rear spoilers" + ], + "size": [ + "compact sports car", + "two-door coupe", + "mid-sized for a supercar" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/charger/00000/metadata.json b/Objects/RoboDojo/Rigid/charger/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..2c29f6a374af681dea69c18af822d31f1c96f76d --- /dev/null +++ b/Objects/RoboDojo/Rigid/charger/00000/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.45, + "size": [ + 0.041993668374983625, + 0.06306500350970716, + 0.026999999999999996 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0233, + -0.0169, + -0.015 + ], + [ + -0.0233, + -0.0169, + 0.015 + ], + [ + -0.0233, + 0.0531, + -0.015 + ], + [ + -0.0233, + 0.0531, + 0.015 + ], + [ + 0.0233, + -0.0169, + -0.015 + ], + [ + 0.0233, + -0.0169, + 0.015 + ], + [ + 0.0233, + 0.0531, + -0.015 + ], + [ + 0.0233, + 0.0531, + 0.015 + ] + ], + "extents": [ + 0.0466, + 0.07, + 0.03 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0233, + 0.0531, + 0.015 + ], + [ + -0.0233, + -0.0169, + 0.015 + ], + [ + 0.0233, + 0.0531, + 0.015 + ], + [ + 0.0233, + -0.0169, + 0.015 + ], + [ + -0.0233, + 0.0531, + -0.015 + ], + [ + -0.0233, + -0.0169, + -0.015 + ], + [ + 0.0233, + 0.0531, + -0.015 + ], + [ + 0.0233, + -0.0169, + -0.015 + ] + ], + "extents": [ + 0.0466, + 0.07, + 0.03 + ] + } + }, + "active": { + "functional": { + "insert": { + "frame": [ + [ + 0.0, + -0.014, + 0.0, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "fits in palm flat top with two prongs phone charger", + "matte gray non-reflective polymer wall adapter", + "phone charger with slightly tapered sides geometry", + "wall adapter typically made of plastic", + "phone charger in dark charcoal", + "dark charcoal flat top with two prongs phone charger", + "phone charger for powering small electronics scenarios", + "light silver-gray wall adapter designed for powering small electronics", + "fits in palm slightly tapered sides phone charger for charging phones", + "USB power brick with dark charcoal color", + "phone charger sized compact wall plug", + "light silver-gray USB power brick suitable for charging phones", + "fits in palm matte gray flat top with two prongs object", + "wall adapter ideal for converting AC to DC", + "wall adapter with dark charcoal color", + "phone charger colored matte gray", + "wall adapter designed for converting AC to DC", + "matte gray slightly tapered sides USB power brick used for powering small electronics", + "powering small electronics with USB power brick", + "USB power brick commonly used for powering small electronics", + "phone charger commonly used for powering small electronics", + "rectangular block with rounded edges object made of non-reflective polymer", + "USB power brick in matte gray", + "light silver-gray object used for charging phones", + "flat top with two prongs USB power brick for charging phones", + "smooth molded plastic phone charger for charging phones", + "dark charcoal compact wall plug flat top with two prongs wall adapter", + "phone charger for charging phones use", + "matte gray flat top with two prongs object for powering small electronics", + "USB power brick primarily used for charging phones", + "wall adapter made from non-reflective polymer", + "non-reflective polymer object for powering small electronics", + "USB power brick with light silver-gray exterior", + "smooth molded plastic slightly tapered sides for charging phones", + "USB power brick in flat top with two prongs form", + "converting AC to DC use of wall adapter", + "wall adapter with slightly tapered sides profile", + "phone charger intended for powering small electronics usage", + "standard USB charger size plastic object", + "flat top with two prongs USB power brick used for charging phones", + "wall adapter appropriate for charging phones", + "standard USB charger size phone charger for charging phones", + "standard USB charger size dark charcoal phone charger", + "USB power brick built from non-reflective polymer", + "plastic USB power brick", + "non-reflective polymer object for charging phones", + "phone charger with plastic surface", + "phone charger in slightly tapered sides form", + "USB power brick in compact wall plug", + "compact wall plug plastic phone charger", + "standard USB charger size plastic USB power brick for charging phones", + "charging phones with phone charger", + "wall adapter in dark charcoal", + "wall adapter typically made of non-reflective polymer", + "matte gray object used for converting AC to DC", + "fits in palm object used for powering small electronics", + "rectangular block with rounded edges non-reflective polymer object for powering small electronics", + "light silver-gray USB power brick for charging phones", + "non-reflective polymer phone charger", + "matte gray object used for charging phones", + "dark charcoal object used for converting AC to DC", + "wall adapter commonly used for charging phones", + "light silver-gray non-reflective polymer slightly tapered sides object", + "matte gray non-reflective polymer rectangular block with rounded edges object", + "non-reflective polymer light silver-gray USB power brick", + "rectangular block with rounded edges object used for powering small electronics", + "USB power brick for powering small electronics use", + "flat top with two prongs wall adapter for powering small electronics", + "phone charger in rectangular block with rounded edges", + "phone charger designed for charging phones", + "USB power brick made from non-reflective polymer", + "wall adapter intended for charging phones", + "standard USB charger size plastic phone charger", + "non-reflective polymer wall adapter used for powering small electronics", + "phone charger ideal for charging phones", + "charging phones use of USB power brick", + "USB power brick with non-reflective polymer construction", + "USB power brick intended for converting AC to DC", + "matte gray phone charger suitable for charging phones", + "wall adapter intended for powering small electronics usage", + "standard USB charger size phone charger for converting AC to DC", + "wall adapter featuring plastic build", + "wall adapter sized as compact wall plug", + "wall adapter commonly featuring smooth molded plastic", + "wall adapter in flat top with two prongs form", + "matte gray compact wall plug phone charger for powering small electronics", + "phone charger with smooth molded plastic surface", + "light silver-gray rectangular block with rounded edges wall adapter", + "flat top with two prongs USB power brick used for converting AC to DC", + "standard USB charger size matte gray object for charging phones", + "fits in palm flat top with two prongs USB power brick", + "USB power brick intended for powering small electronics", + "matte gray USB power brick typically used for charging phones", + "dark charcoal phone charger for powering small electronics", + "wall adapter used to powering small electronics", + "compact wall plug USB power brick for powering small electronics", + "non-reflective polymer dark charcoal phone charger", + "wall adapter appropriate for converting AC to DC use", + "wall adapter suitable for converting AC to DC", + "phone charger featuring rectangular block with rounded edges shape" + ], + "caption": { + "color": [ + "matte gray", + "dark charcoal", + "light silver-gray" + ], + "function": [ + "charging phones", + "powering small electronics", + "converting AC to DC" + ], + "material": [ + "plastic", + "smooth molded plastic", + "non-reflective polymer" + ], + "name": [ + "phone charger", + "wall adapter", + "USB power brick" + ], + "shape": [ + "rectangular block with rounded edges", + "flat top with two prongs", + "slightly tapered sides" + ], + "size": [ + "compact wall plug", + "fits in palm", + "standard USB charger size" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/checkerboard/00000/metadata.json b/Objects/RoboDojo/Rigid/checkerboard/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..6699e74c4f77f8fa27dad3586c906bc1167d8abf --- /dev/null +++ b/Objects/RoboDojo/Rigid/checkerboard/00000/metadata.json @@ -0,0 +1,413 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.25, + "size": [ + 0.2233600115334982, + 0.2233600115334982, + 0.016000000000000004 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1117, + -0.1117, + -0.0 + ], + [ + -0.1117, + -0.1117, + 0.016 + ], + [ + -0.1117, + 0.1117, + -0.0 + ], + [ + -0.1117, + 0.1117, + 0.016 + ], + [ + 0.1117, + -0.1117, + -0.0 + ], + [ + 0.1117, + -0.1117, + 0.016 + ], + [ + 0.1117, + 0.1117, + -0.0 + ], + [ + 0.1117, + 0.1117, + 0.016 + ] + ], + "extents": [ + 0.2234, + 0.2234, + 0.016 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.1117, + 0.1117, + -0.0 + ], + [ + 0.1117, + -0.1117, + -0.0 + ], + [ + -0.1117, + 0.1117, + -0.0 + ], + [ + -0.1117, + -0.1117, + -0.0 + ], + [ + 0.1117, + 0.1117, + 0.016 + ], + [ + 0.1117, + -0.1117, + 0.016 + ], + [ + -0.1117, + 0.1117, + 0.016 + ], + [ + -0.1117, + -0.1117, + 0.016 + ] + ], + "extents": [ + 0.2234, + 0.2234, + 0.016 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "functional": {}, + "support": { + "cell/0": { + "center": [ + [ + -0.074, + -0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/1": { + "center": [ + [ + 0.0, + -0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/2": { + "center": [ + [ + 0.074, + -0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/3": { + "center": [ + [ + -0.074, + 0.0, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/4": { + "center": [ + [ + -0.0, + 0.0, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/5": { + "center": [ + [ + 0.074, + 0.0, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/6": { + "center": [ + [ + -0.074, + 0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/7": { + "center": [ + [ + 0.0, + 0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "cell/8": { + "center": [ + [ + 0.074, + 0.074, + 0.022, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.032 + ] + }, + "checkerboard/0": { + "center": [ + [ + -0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.25 + ] + } + } + }, + "description": [ + "glossy black tic-tac-toe board designed for playing tic-tac-toe", + "about 6 inches across polished ceramic tic-tac-toe board for displaying game positions", + "grid plaque sized desktop-sized", + "serving as a minimalist game surface with game tile", + "reflective silver highlights flat square object for serving as a minimalist game surface", + "smooth glass grid plaque", + "about 6 inches across object used for displaying game positions", + "tic-tac-toe board appropriate for displaying game positions use", + "diamond orientation in some views tic-tac-toe board for playing tic-tac-toe", + "reflective silver highlights tic-tac-toe board designed for playing tic-tac-toe", + "desktop-sized polished ceramic object", + "about 6 inches across gold grid lines diamond orientation in some views object", + "desktop-sized diamond orientation in some views object", + "about 6 inches across object used for playing tic-tac-toe", + "grid plaque in desktop-sized", + "small square glossy black diamond orientation in some views object", + "gold grid lines about 6 inches across slightly beveled edges grid plaque", + "glossy black thin rigid plate flat square grid plaque", + "flat square game tile used for playing tic-tac-toe", + "desktop-sized glossy black thin rigid plate diamond orientation in some views object", + "gold grid lines object used for playing tic-tac-toe", + "game tile optimized for playing tic-tac-toe", + "tic-tac-toe board with slightly beveled edges profile", + "desktop-sized gold grid lines diamond orientation in some views for displaying game positions", + "reflective silver highlights game tile typically used for displaying game positions", + "diamond orientation in some views-shaped game tile", + "game tile in small square", + "game tile in flat square form", + "small square slightly beveled edges game tile", + "small square flat square object", + "glossy black tic-tac-toe board typically used for displaying game positions", + "grid plaque with slightly beveled edges profile", + "polished ceramic object used for displaying game positions", + "thin rigid plate game tile suitable for serving as a minimalist game surface", + "reflective silver highlights about 6 inches across tic-tac-toe board for playing tic-tac-toe", + "tic-tac-toe board made from polished ceramic", + "about 6 inches across flat square grid plaque for displaying game positions", + "glossy black slightly beveled edges game tile", + "gold grid lines game tile for serving as a minimalist game surface", + "grid plaque in reflective silver highlights", + "reflective silver highlights small square polished ceramic object", + "tic-tac-toe board with gold grid lines color", + "gold grid lines smooth glass slightly beveled edges tic-tac-toe board", + "thin rigid plate grid plaque used for displaying game positions", + "glossy black smooth glass slightly beveled edges object", + "diamond orientation in some views smooth glass tic-tac-toe board for playing tic-tac-toe", + "grid plaque commonly found in desktop-sized size", + "game tile commonly featuring polished ceramic", + "slightly beveled edges object made of thin rigid plate", + "about 6 inches across thin rigid plate grid plaque for displaying game positions", + "slightly beveled edges-shaped grid plaque", + "gold grid lines small square slightly beveled edges grid plaque", + "thin rigid plate grid plaque for displaying game positions", + "grid plaque commonly used for displaying game positions", + "game tile suitable for serving as a minimalist game surface", + "desktop-sized smooth glass object", + "reflective silver highlights smooth glass diamond orientation in some views object", + "about 6 inches across tic-tac-toe board perfect for displaying game positions", + "tic-tac-toe board colored glossy black", + "grid plaque appropriate for playing tic-tac-toe", + "grid plaque intended for playing tic-tac-toe", + "gold grid lines desktop-sized game tile for displaying game positions", + "polished ceramic grid plaque suitable for serving as a minimalist game surface", + "game tile suitable for displaying game positions", + "about 6 inches across gold grid lines slightly beveled edges object", + "tic-tac-toe board with gold grid lines exterior", + "glossy black game tile for displaying game positions", + "tic-tac-toe board for playing tic-tac-toe", + "serving as a minimalist game surface use of grid plaque", + "gold grid lines game tile suitable for serving as a minimalist game surface", + "game tile in slightly beveled edges", + "tic-tac-toe board commonly featuring smooth glass", + "grid plaque sized as small square", + "grid plaque commonly used for playing tic-tac-toe", + "about 6 inches across polished ceramic object", + "glossy black game tile typically used for playing tic-tac-toe", + "reflective silver highlights smooth glass flat square object", + "tic-tac-toe board ideal for serving as a minimalist game surface", + "flat square polished ceramic grid plaque for playing tic-tac-toe", + "gold grid lines tic-tac-toe board for displaying game positions", + "small square tic-tac-toe board used for displaying game positions", + "small square reflective silver highlights flat square object", + "reflective silver highlights tic-tac-toe board suitable for displaying game positions", + "game tile featuring diamond orientation in some views shape", + "tic-tac-toe board colored reflective silver highlights", + "about 6 inches across game tile used for playing tic-tac-toe", + "diamond orientation in some views object used for serving as a minimalist game surface", + "small square tic-tac-toe board perfect for serving as a minimalist game surface", + "tic-tac-toe board intended for displaying game positions", + "diamond orientation in some views tic-tac-toe board used for serving as a minimalist game surface", + "tic-tac-toe board sized as small square", + "small square gold grid lines smooth glass flat square object", + "slightly beveled edges polished ceramic tic-tac-toe board for serving as a minimalist game surface", + "grid plaque made from smooth glass", + "about 6 inches across reflective silver highlights polished ceramic slightly beveled edges object", + "small square game tile perfect for playing tic-tac-toe", + "grid plaque with flat square geometry", + "polished ceramic slightly beveled edges for serving as a minimalist game surface", + "tic-tac-toe board featuring diamond orientation in some views shape", + "glossy black diamond orientation in some views game tile used for playing tic-tac-toe" + ], + "caption": { + "color": [ + "glossy black", + "gold grid lines", + "reflective silver highlights" + ], + "material": [ + "smooth glass", + "polished ceramic", + "thin rigid plate" + ], + "size": [ + "small square", + "desktop-sized", + "about 6 inches across" + ], + "name": [ + "tic-tac-toe board", + "game tile", + "grid plaque" + ], + "shape": [ + "flat square", + "slightly beveled edges", + "diamond orientation in some views" + ], + "function": [ + "playing tic-tac-toe", + "displaying game positions", + "serving as a minimalist game surface" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/checkerboard/00000/object.usdz b/Objects/RoboDojo/Rigid/checkerboard/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..7cd50561c1ea2d256c846e84e99e3acdbfca44ac Binary files /dev/null and b/Objects/RoboDojo/Rigid/checkerboard/00000/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/chessman/00000/metadata.json b/Objects/RoboDojo/Rigid/chessman/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..462175b35f6b54a801e88bcda5bace98e6e58b12 --- /dev/null +++ b/Objects/RoboDojo/Rigid/chessman/00000/metadata.json @@ -0,0 +1,252 @@ +{ + "physics": { + "mass": 0.1, + "friction": 0.15, + "size": [ + 0.05000000125621582, + 0.050000004981506155, + 0.01 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.025, + -0.025, + 0.0 + ], + [ + -0.025, + -0.025, + 0.01 + ], + [ + -0.025, + 0.025, + 0.0 + ], + [ + -0.025, + 0.025, + 0.01 + ], + [ + 0.025, + -0.025, + 0.0 + ], + [ + 0.025, + -0.025, + 0.01 + ], + [ + 0.025, + 0.025, + 0.0 + ], + [ + 0.025, + 0.025, + 0.01 + ] + ], + "extents": [ + 0.05, + 0.05, + 0.01 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0279, + -0.0217, + 0.01 + ], + [ + 0.0217, + -0.0279, + 0.01 + ], + [ + -0.0217, + 0.0279, + 0.01 + ], + [ + 0.0279, + 0.0217, + 0.01 + ], + [ + -0.0279, + -0.0217, + -0.0 + ], + [ + 0.0217, + -0.0279, + 0.0 + ], + [ + -0.0217, + 0.0279, + -0.0 + ], + [ + 0.0279, + 0.0217, + -0.0 + ] + ], + "extents": [ + 0.0557, + 0.0557, + 0.01 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "washer suitable for preventing loosening", + "spacing components with flat washer", + "metal ring for spacing components tasks", + "hollow cylinder washer for spacing components", + "small to medium diameter flat washer used for preventing loosening", + "metal ring sized small to medium diameter", + "flat washer for spacing components use", + "medium ring reflective steel-like surface flat washer for distributing load", + "metal ring with dark brass color", + "torus flat washer ideal for spacing components", + "washer with torus geometry", + "metal ring featuring thick circular ring shape", + "metallic greenish-yellow object used for distributing load", + "reflective steel-like surface hollow cylinder object used for spacing components", + "flat washer appropriate for spacing components use", + "hollow cylinder washer used for spacing components", + "flat washer with hollow cylinder geometry", + "medium ring dark brass shiny alloy flat washer", + "finger-width thick torus metal ring for preventing loosening", + "metal ring for preventing loosening use", + "shiny alloy object for preventing loosening", + "small to medium diameter metallic greenish-yellow thick circular ring for spacing components", + "metal ring with shiny alloy body", + "thick circular ring-shaped metal ring", + "small to medium diameter polished metal object", + "reflective steel-like surface thick circular ring metal ring", + "olive gold washer typically used for preventing loosening", + "small to medium diameter flat washer perfect for distributing load", + "shiny alloy torus object used for preventing loosening", + "small to medium diameter metal ring used for distributing load", + "flat washer commonly featuring polished metal", + "washer commonly found in finger-width thick size", + "metal ring ideal for distributing load", + "flat washer intended for distributing load", + "torus object used for distributing load", + "metal ring optimized for preventing loosening", + "washer with shiny alloy body", + "small to medium diameter shiny alloy metal ring for preventing loosening", + "dark brass small to medium diameter thick circular ring metal ring", + "torus polished metal metal ring for spacing components", + "washer with medium ring dimensions", + "dark brass washer designed for spacing components", + "metal ring shaped like a hollow cylinder", + "small to medium diameter thick circular ring object", + "olive gold metal ring typically used for spacing components", + "dark brass polished metal torus object", + "flat washer with reflective steel-like surface body", + "dark brass small to medium diameter metal ring for preventing loosening", + "dark brass finger-width thick polished metal object", + "thick circular ring metal ring for spacing components", + "flat washer featuring thick circular ring shape", + "washer intended for distributing load usage", + "finger-width thick shiny alloy flat washer for distributing load", + "finger-width thick metallic greenish-yellow shiny alloy thick circular ring object", + "flat washer made of polished metal", + "metal ring appropriate for preventing loosening use", + "small to medium diameter shiny alloy washer for spacing components", + "torus-shaped washer", + "thick circular ring flat washer used for distributing load", + "small to medium diameter metal ring for distributing load", + "dark brass finger-width thick hollow cylinder metal ring", + "metal ring commonly used for spacing components", + "thick circular ring metal ring ideal for preventing loosening", + "washer in finger-width thick", + "reflective steel-like surface metal ring suitable for distributing load", + "polished metal washer suitable for preventing loosening", + "metal ring sized as medium ring", + "dark brass metal ring typically used for distributing load", + "flat washer designed for spacing components", + "finger-width thick dark brass polished metal thick circular ring object", + "shiny alloy hollow cylinder object used for preventing loosening", + "metal ring typically made of polished metal", + "finger-width thick dark brass torus object", + "olive gold torus object for spacing components", + "torus object made of shiny alloy", + "finger-width thick olive gold thick circular ring object", + "polished metal washer used for preventing loosening", + "medium ring thick circular ring object for distributing load", + "metal ring with shiny alloy construction", + "metal ring for preventing loosening", + "washer sized medium ring", + "olive gold medium ring washer for preventing loosening", + "flat washer colored metallic greenish-yellow", + "medium ring hollow cylinder object", + "olive gold hollow cylinder object for distributing load", + "thick circular ring small to medium diameter metal ring", + "metal ring featuring torus shape", + "flat washer in medium ring", + "metal ring featuring reflective steel-like surface build", + "small to medium diameter olive gold shiny alloy washer", + "metal ring designed for preventing loosening", + "washer suitable for distributing load", + "polished metal object for preventing loosening", + "metallic greenish-yellow thick circular ring metal ring used for spacing components", + "metal ring for spacing components use", + "metal ring in thick circular ring form", + "medium ring metallic greenish-yellow reflective steel-like surface torus object", + "flat washer designed for preventing loosening", + "thick circular ring object used for spacing components", + "flat washer commonly featuring shiny alloy" + ], + "caption": { + "color": [ + "olive gold", + "metallic greenish-yellow", + "dark brass" + ], + "material": [ + "polished metal", + "shiny alloy", + "reflective steel-like surface" + ], + "size": [ + "medium ring", + "finger-width thick", + "small to medium diameter" + ], + "name": [ + "washer", + "flat washer", + "metal ring" + ], + "shape": [ + "torus", + "thick circular ring", + "hollow cylinder" + ], + "function": [ + "distributing load", + "preventing loosening", + "spacing components" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/chessman/00001/metadata.json b/Objects/RoboDojo/Rigid/chessman/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c27cdce97158974efb4861f2af45f136861ab435 --- /dev/null +++ b/Objects/RoboDojo/Rigid/chessman/00001/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.1, + "friction": 0.15 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.025, + -0.0252, + -0.0 + ], + [ + -0.025, + -0.0252, + 0.01 + ], + [ + -0.025, + 0.0248, + -0.0 + ], + [ + -0.025, + 0.0248, + 0.01 + ], + [ + 0.025, + -0.0252, + -0.0 + ], + [ + 0.025, + -0.0252, + 0.01 + ], + [ + 0.025, + 0.0248, + -0.0 + ], + [ + 0.025, + 0.0248, + 0.01 + ] + ], + "extents": [ + 0.05, + 0.05, + 0.01 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.025, + 0.0248, + 0.01 + ], + [ + -0.025, + -0.0252, + 0.01 + ], + [ + 0.025, + 0.0248, + 0.01 + ], + [ + 0.025, + -0.0252, + 0.01 + ], + [ + -0.025, + 0.0248, + -0.0 + ], + [ + -0.025, + -0.0252, + -0.0 + ], + [ + 0.025, + 0.0248, + -0.0 + ], + [ + 0.025, + -0.0252, + 0.0 + ] + ], + "extents": [ + 0.05, + 0.05, + 0.01 + ] + } + }, + "active": {}, + "description": [ + "plus sign commonly featuring shiny brass-like finish", + "golden plus commonly used for marking medical aid", + "compact cross form 3D cross plus sign for symbolizing addition", + "3D cross plus sign used for symbolizing addition", + "plus sign for symbolizing addition", + "plus sign made of shiny brass-like finish", + "medium blocky metallic bronze four equal arms object", + "dark greenish-yellow 3D cross golden plus used for marking medical aid", + "plus sign with dark greenish-yellow exterior", + "dark greenish-yellow four equal arms cross symbol used for marking medical aid", + "plus sign commonly found in desktop-scale size", + "medium blocky four equal arms golden plus", + "dark greenish-yellow compact cross form blocky orthogonal structure golden plus", + "shiny brass-like finish plus sign used for indicating positivity", + "golden plus with dark greenish-yellow color", + "blocky orthogonal structure plus sign for symbolizing addition", + "cross symbol sized as medium blocky", + "compact cross form olive gold four equal arms object", + "cross symbol shaped like a four equal arms", + "cross symbol for symbolizing addition activities", + "compact cross form blocky orthogonal structure object", + "dark greenish-yellow cross symbol typically used for symbolizing addition", + "desktop-scale olive gold polished metal four equal arms object", + "desktop-scale plus sign perfect for symbolizing addition", + "golden plus in blocky orthogonal structure form", + "3D cross plus sign for marking medical aid", + "cross symbol with polished metal surface", + "cross symbol for symbolizing addition with shiny brass-like finish", + "golden plus made of polished metal", + "golden plus intended for indicating positivity", + "medium blocky four equal arms object", + "shiny brass-like finish golden plus suitable for marking medical aid", + "metallic bronze golden plus for marking medical aid", + "cross symbol in desktop-scale", + "olive gold golden plus used for indicating positivity", + "metallic bronze desktop-scale 3D cross golden plus", + "golden plus with four equal arms geometry", + "cross symbol sized as desktop-scale", + "reflective alloy cross symbol suitable for marking medical aid", + "compact cross form plus sign used for indicating positivity", + "four equal arms reflective alloy cross symbol for symbolizing addition", + "olive gold object used for symbolizing addition", + "dark greenish-yellow 3D cross golden plus", + "golden plus for symbolizing addition tasks", + "cross symbol appropriate for indicating positivity use", + "3D cross golden plus for marking medical aid", + "plus sign in blocky orthogonal structure", + "desktop-scale polished metal cross symbol for marking medical aid", + "plus sign in compact cross form", + "cross symbol intended for marking medical aid usage", + "blocky orthogonal structure golden plus used for symbolizing addition", + "golden plus for symbolizing addition scenarios", + "cross symbol optimized for indicating positivity", + "desktop-scale four equal arms golden plus for symbolizing addition", + "olive gold plus sign designed for symbolizing addition", + "desktop-scale cross symbol for indicating positivity", + "golden plus designed for indicating positivity", + "olive gold cross symbol suitable for marking medical aid", + "golden plus shaped like a blocky orthogonal structure", + "shiny brass-like finish plus sign used for marking medical aid", + "shiny brass-like finish object used for indicating positivity", + "3D cross cross symbol for marking medical aid", + "olive gold 3D cross plus sign used for symbolizing addition", + "3D cross cross symbol ideal for marking medical aid", + "olive gold object used for marking medical aid", + "cross symbol sized medium blocky", + "cross symbol in 3D cross", + "medium blocky 3D cross object", + "cross symbol for marking medical aid use", + "plus sign with reflective alloy construction", + "cross symbol intended for marking medical aid", + "medium blocky olive gold reflective alloy four equal arms object", + "plus sign for symbolizing addition tasks", + "plus sign colored metallic bronze", + "plus sign made from polished metal", + "golden plus intended for indicating positivity usage", + "plus sign built from shiny brass-like finish", + "cross symbol with shiny brass-like finish body", + "cross symbol ideal for symbolizing addition", + "plus sign commonly used for symbolizing addition", + "metallic bronze medium blocky cross symbol for indicating positivity", + "desktop-scale olive gold object for marking medical aid", + "cross symbol typically made of shiny brass-like finish", + "metallic bronze object used for indicating positivity", + "golden plus for indicating positivity scenarios", + "medium blocky metallic bronze reflective alloy 3D cross object", + "medium blocky object used for symbolizing addition", + "cross symbol with 3D cross profile", + "desktop-scale plus sign perfect for marking medical aid", + "golden plus primarily used for symbolizing addition", + "olive gold cross symbol used for marking medical aid", + "golden plus appropriate for symbolizing addition use", + "3D cross golden plus ideal for indicating positivity", + "medium blocky dark greenish-yellow shiny brass-like finish blocky orthogonal structure object", + "dark greenish-yellow cross symbol for marking medical aid", + "olive gold reflective alloy four equal arms plus sign", + "golden plus with olive gold color", + "golden plus for indicating positivity with reflective alloy", + "cross symbol appropriate for symbolizing addition", + "compact cross form 3D cross plus sign" + ], + "caption": { + "color": [ + "olive gold", + "metallic bronze", + "dark greenish-yellow" + ], + "material": [ + "polished metal", + "shiny brass-like finish", + "reflective alloy" + ], + "size": [ + "medium blocky", + "compact cross form", + "desktop-scale" + ], + "name": [ + "plus sign", + "cross symbol", + "golden plus" + ], + "shape": [ + "3D cross", + "four equal arms", + "blocky orthogonal structure" + ], + "function": [ + "symbolizing addition", + "marking medical aid", + "indicating positivity" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/cube/00000/metadata.json b/Objects/RoboDojo/Rigid/cube/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ee23dafff38a23cca5fb65ca055c897a68b93a20 --- /dev/null +++ b/Objects/RoboDojo/Rigid/cube/00000/metadata.json @@ -0,0 +1,269 @@ +{ + "physics": { + "mass": 0.1, + "friction": 0.3, + "size": [ + 0.03500000014901161, + 0.03500000014901163, + 0.03500000014901163 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0175, + 0.0175, + -0.0175 + ], + [ + -0.0175, + 0.0175, + 0.0175 + ], + [ + 0.0175, + 0.0175, + -0.0175 + ], + [ + 0.0175, + 0.0175, + 0.0175 + ], + [ + -0.0175, + -0.0175, + -0.0175 + ], + [ + -0.0175, + -0.0175, + 0.0175 + ], + [ + 0.0175, + -0.0175, + -0.0175 + ], + [ + 0.0175, + -0.0175, + 0.0175 + ] + ], + "extents": [ + 0.035, + 0.035, + 0.035 + ] + } + }, + "active": { + "functional": {} + }, + "passive": { + "functional": {}, + "support": { + "cube/0": { + "center": [ + [ + 0.0, + 0.0, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.014 + ] + } + } + }, + "description": [ + "deep purple glossy plastic perfect cube object", + "desktop-sized sharp right angles purple cube for 3D modeling reference", + "roughly fist-sized purple cube perfect for visual demonstration", + "3D cube appropriate for visual demonstration use", + "3D cube built from matte-to-shiny finish", + "shiny magenta gradient matte-to-shiny finish six flat faces 3D cube", + "purple cube primarily used for lighting study", + "six flat faces purple cube used for lighting study", + "smooth reflective surface six flat faces object used for lighting study", + "3D cube ideal for visual demonstration", + "violet purple cube designed for lighting study", + "deep purple desktop-sized purple cube for lighting study", + "3D cube intended for lighting study usage", + "violet geometric block designed for lighting study", + "violet 3D cube designed for visual demonstration", + "purple cube made of glossy plastic", + "desktop-sized glossy plastic 3D cube", + "matte-to-shiny finish 3D cube for 3D modeling reference", + "sharp right angles-shaped 3D cube", + "roughly fist-sized deep purple object for visual demonstration", + "geometric block commonly featuring smooth reflective surface", + "desktop-sized 3D cube for visual demonstration", + "purple cube with violet exterior", + "geometric block made from matte-to-shiny finish", + "smooth reflective surface geometric block used for 3D modeling reference", + "glossy plastic 3D cube for visual demonstration", + "purple cube sized desktop-sized", + "smooth reflective surface sharp right angles geometric block", + "3D cube for lighting study with glossy plastic", + "perfect cube object used for 3D modeling reference", + "smooth reflective surface object used for lighting study", + "medium cube six flat faces purple cube for visual demonstration", + "purple cube for visual demonstration activities", + "purple cube with medium cube dimensions", + "smooth reflective surface object for 3D modeling reference", + "purple cube primarily used for 3D modeling reference", + "purple cube for 3D modeling reference use", + "3D cube for visual demonstration activities", + "sharp right angles smooth reflective surface geometric block for visual demonstration", + "medium cube deep purple perfect cube object", + "roughly fist-sized violet object for 3D modeling reference", + "desktop-sized object used for lighting study", + "geometric block for visual demonstration use", + "perfect cube-shaped 3D cube", + "geometric block with matte-to-shiny finish construction", + "geometric block commonly found in roughly fist-sized size", + "matte-to-shiny finish 3D cube suitable for lighting study", + "roughly fist-sized smooth reflective surface perfect cube for 3D modeling reference", + "roughly fist-sized matte-to-shiny finish geometric block for lighting study", + "3D cube commonly featuring smooth reflective surface", + "violet six flat faces 3D cube", + "purple cube with deep purple color", + "purple cube with sharp right angles geometry", + "violet object used for visual demonstration", + "desktop-sized violet perfect cube object", + "lighting study use of purple cube", + "desktop-sized six flat faces object", + "geometric block in sharp right angles", + "3D cube for visual demonstration scenarios", + "smooth reflective surface 3D cube suitable for lighting study", + "geometric block in deep purple", + "3D cube colored shiny magenta gradient", + "geometric block intended for lighting study", + "geometric block made of smooth reflective surface", + "deep purple smooth reflective surface perfect cube geometric block", + "purple cube with desktop-sized dimensions", + "deep purple purple cube used for visual demonstration", + "purple cube for visual demonstration", + "glossy plastic geometric block for visual demonstration", + "3D cube in medium cube", + "smooth reflective surface geometric block for visual demonstration", + "violet matte-to-shiny finish perfect cube 3D cube", + "3D cube in six flat faces form", + "geometric block with six flat faces geometry", + "six flat faces 3D cube used for visual demonstration", + "geometric block with matte-to-shiny finish surface", + "smooth reflective surface shiny magenta gradient purple cube", + "3D cube colored violet", + "geometric block in perfect cube form", + "geometric block designed for lighting study", + "geometric block in six flat faces", + "matte-to-shiny finish perfect cube object used for visual demonstration", + "geometric block shaped like a sharp right angles", + "3D cube with desktop-sized dimensions", + "purple cube sized medium cube", + "desktop-sized object used for 3D modeling reference", + "visual demonstration use of geometric block", + "deep purple roughly fist-sized purple cube for lighting study", + "shiny magenta gradient object used for visual demonstration", + "purple cube appropriate for visual demonstration", + "glossy plastic 3D cube suitable for visual demonstration", + "deep purple perfect cube object for lighting study", + "roughly fist-sized purple cube used for visual demonstration", + "3D cube featuring perfect cube shape", + "shiny magenta gradient roughly fist-sized sharp right angles purple cube", + "smooth reflective surface sharp right angles for visual demonstration", + "glossy plastic perfect cube for visual demonstration", + "violet perfect cube 3D cube", + "desktop-sized deep purple perfect cube object", + "smooth reflective surface purple cube for lighting study" + ], + "caption": { + "color": [ + "violet", + "deep purple", + "shiny magenta gradient" + ], + "function": [ + "visual demonstration", + "3D modeling reference", + "lighting study" + ], + "material": [ + "glossy plastic", + "smooth reflective surface", + "matte-to-shiny finish" + ], + "name": [ + "purple cube", + "3D cube", + "geometric block" + ], + "shape": [ + "perfect cube", + "six flat faces", + "sharp right angles" + ], + "size": [ + "medium cube", + "desktop-sized", + "roughly fist-sized" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/cube/00000/object.usdz b/Objects/RoboDojo/Rigid/cube/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..6848c447c5c70337764b28783838ca5c898b834e Binary files /dev/null and b/Objects/RoboDojo/Rigid/cube/00000/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/cup/00007/metadata.json b/Objects/RoboDojo/Rigid/cup/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..f0e9882d7c839c7a8c3cd109525cc61442cec3a8 --- /dev/null +++ b/Objects/RoboDojo/Rigid/cup/00007/metadata.json @@ -0,0 +1,111 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.037, + -0.0371, + 0.0 + ], + [ + -0.037, + -0.0371, + 0.072 + ], + [ + -0.037, + 0.0371, + 0.0 + ], + [ + -0.037, + 0.0371, + 0.072 + ], + [ + 0.037, + -0.0371, + 0.0 + ], + [ + 0.037, + -0.0371, + 0.072 + ], + [ + 0.037, + 0.0371, + 0.0 + ], + [ + 0.037, + 0.0371, + 0.072 + ] + ], + "extents": [ + 0.074, + 0.0741, + 0.072 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.037, + -0.0371, + 0.072 + ], + [ + 0.037, + 0.0371, + 0.072 + ], + [ + -0.037, + -0.0371, + 0.072 + ], + [ + -0.037, + 0.0371, + 0.072 + ], + [ + 0.037, + -0.0371, + 0.0 + ], + [ + 0.037, + 0.0371, + 0.0 + ], + [ + -0.037, + -0.0371, + 0.0 + ], + [ + -0.037, + 0.0371, + 0.0 + ] + ], + "extents": [ + 0.074, + 0.0741, + 0.072 + ] + } + }, + "physics": { + "mass": 0.35, + "friction": 0.45 + }, + "active": {}, + "description": [ + "white coffee cup" + ], + "caption": "" +} diff --git a/Objects/RoboDojo/Rigid/division/00000/metadata.json b/Objects/RoboDojo/Rigid/division/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..77552a4b5f0d5ce349f4ac72eb7f54922caa438a --- /dev/null +++ b/Objects/RoboDojo/Rigid/division/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.25 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03, + -0.03, + -0.004 + ], + [ + -0.03, + -0.03, + 0.0041 + ], + [ + -0.03, + 0.03, + -0.004 + ], + [ + -0.03, + 0.03, + 0.0041 + ], + [ + 0.03, + -0.03, + -0.004 + ], + [ + 0.03, + -0.03, + 0.0041 + ], + [ + 0.03, + 0.03, + -0.004 + ], + [ + 0.03, + 0.03, + 0.0041 + ] + ], + "extents": [ + 0.06, + 0.06, + 0.0081 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0277, + 0.0321, + 0.0041 + ], + [ + -0.0321, + 0.0277, + 0.0041 + ], + [ + 0.0321, + -0.0277, + 0.0041 + ], + [ + -0.0277, + -0.0321, + 0.0041 + ], + [ + 0.0277, + 0.0321, + -0.004 + ], + [ + -0.0321, + 0.0277, + -0.004 + ], + [ + 0.0321, + -0.0277, + -0.004 + ], + [ + -0.0277, + -0.0321, + -0.004 + ] + ], + "extents": [ + 0.0642, + 0.0642, + 0.0081 + ] + } + }, + "active": {}, + "description": [ + "small disc matte black smooth polymer flat top object", + "black disc with matte black color", + "flat lid optimized for covering openings", + "subtle silver edge flat top flat lid", + "flat lid made from smooth polymer", + "circular cap with subtle silver edge exterior", + "sealing containers use of circular cap", + "black disc built from plastic", + "flat top palm-sized flat lid", + "non-reflective finish circular cap suitable for covering openings", + "black disc made from plastic", + "circular cap made from smooth polymer", + "thin profile black disc used for protecting contents", + "subtle silver edge smooth polymer flat lid", + "rounded edge-shaped flat lid", + "flat lid commonly featuring non-reflective finish", + "black disc with smooth polymer construction", + "circular cap shaped like a cylindrical disc", + "flat lid for sealing containers scenarios", + "flat lid with smooth polymer construction", + "thin profile matte black cylindrical disc object", + "thin profile black disc used for covering openings", + "cylindrical disc black disc ideal for covering openings", + "non-reflective finish black disc", + "subtle silver edge palm-sized non-reflective finish object", + "matte black circular cap typically used for protecting contents", + "matte black circular cap suitable for protecting contents", + "thin profile matte black non-reflective finish flat top object", + "smooth polymer flat top flat lid", + "palm-sized dark gray highlight flat top for covering openings", + "rounded edge smooth polymer flat lid for covering openings", + "thin profile flat top object", + "matte black cylindrical disc object for covering openings", + "circular cap built from plastic", + "protecting contents use of circular cap", + "subtle silver edge flat top flat lid used for protecting contents", + "black disc shaped like a flat top", + "matte black circular cap designed for sealing containers", + "flat lid for sealing containers activities", + "non-reflective finish object used for covering openings", + "flat lid with rounded edge geometry", + "black disc for protecting contents activities", + "thin profile non-reflective finish flat lid for protecting contents", + "palm-sized smooth polymer flat lid", + "dark gray highlight smooth polymer flat lid", + "sealing containers use of flat lid", + "dark gray highlight black disc typically used for sealing containers", + "flat lid for covering openings tasks", + "black disc suitable for sealing containers", + "thin profile dark gray highlight flat top for covering openings", + "rounded edge object made of smooth polymer", + "circular cap for sealing containers", + "small disc plastic black disc", + "thin profile cylindrical disc circular cap for sealing containers", + "thin profile smooth polymer object", + "cylindrical disc flat lid used for protecting contents", + "black disc with smooth polymer surface", + "dark gray highlight smooth polymer circular cap", + "dark gray highlight non-reflective finish flat top object", + "thin profile subtle silver edge smooth polymer cylindrical disc object", + "palm-sized rounded edge flat lid", + "plastic flat top flat lid", + "subtle silver edge flat lid designed for sealing containers", + "small disc non-reflective finish circular cap for sealing containers", + "black disc commonly found in palm-sized size", + "palm-sized matte black flat lid", + "black disc for covering openings with plastic", + "flat lid for covering openings with smooth polymer", + "non-reflective finish matte black flat lid", + "small disc flat lid perfect for covering openings", + "dark gray highlight plastic flat lid", + "palm-sized matte black cylindrical disc object", + "non-reflective finish flat lid for covering openings", + "rounded edge black disc for protecting contents", + "matte black thin profile smooth polymer object", + "flat lid ideal for protecting contents", + "smooth polymer black disc used for sealing containers", + "smooth polymer cylindrical disc for sealing containers", + "cylindrical disc object made of smooth polymer", + "palm-sized smooth polymer flat top for sealing containers", + "plastic flat lid suitable for protecting contents", + "smooth polymer flat top object used for covering openings", + "non-reflective finish cylindrical disc for covering openings", + "subtle silver edge thin profile cylindrical disc flat lid", + "matte black flat top black disc", + "smooth polymer object for protecting contents", + "rounded edge object used for covering openings", + "flat lid for protecting contents", + "circular cap in dark gray highlight", + "subtle silver edge black disc typically used for sealing containers", + "covering openings use of flat lid", + "black disc with rounded edge geometry", + "flat lid featuring flat top shape", + "dark gray highlight flat lid typically used for sealing containers", + "matte black object used for sealing containers", + "flat lid sized as palm-sized", + "dark gray highlight circular cap typically used for covering openings", + "plastic black disc suitable for covering openings", + "cylindrical disc plastic flat lid for protecting contents", + "black disc with plastic construction" + ], + "caption": { + "color": [ + "matte black", + "dark gray highlight", + "subtle silver edge" + ], + "function": [ + "covering openings", + "sealing containers", + "protecting contents" + ], + "material": [ + "plastic", + "smooth polymer", + "non-reflective finish" + ], + "name": [ + "black disc", + "circular cap", + "flat lid" + ], + "shape": [ + "cylindrical disc", + "flat top", + "rounded edge" + ], + "size": [ + "small disc", + "palm-sized", + "thin profile" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/division/00000/object.usdz b/Objects/RoboDojo/Rigid/division/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..65673eb148bb927bf07e2ac3539d5459443c5b9f Binary files /dev/null and b/Objects/RoboDojo/Rigid/division/00000/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/donut/00000/metadata.json b/Objects/RoboDojo/Rigid/donut/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..3a8c55de12456da341457d5e889765289475a3f9 --- /dev/null +++ b/Objects/RoboDojo/Rigid/donut/00000/metadata.json @@ -0,0 +1,111 @@ +{ + "physics": { + "mass": 0.06, + "friction": 0.25 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0481, + -0.0479, + -0.023 + ], + [ + -0.0481, + -0.0479, + 0.023 + ], + [ + -0.0481, + 0.048, + -0.023 + ], + [ + -0.0481, + 0.048, + 0.023 + ], + [ + 0.0479, + -0.0479, + -0.023 + ], + [ + 0.0479, + -0.0479, + 0.023 + ], + [ + 0.0479, + 0.048, + -0.023 + ], + [ + 0.0479, + 0.048, + 0.023 + ] + ], + "extents": [ + 0.096, + 0.096, + 0.046 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0479, + -0.0479, + -0.0232 + ], + [ + -0.0481, + -0.0478, + -0.0232 + ], + [ + 0.048, + 0.048, + -0.0229 + ], + [ + -0.048, + 0.0482, + -0.0229 + ], + [ + 0.0479, + -0.0481, + 0.0228 + ], + [ + -0.0481, + -0.0479, + 0.0228 + ], + [ + 0.048, + 0.0479, + 0.0231 + ], + [ + -0.048, + 0.048, + 0.0231 + ] + ], + "extents": [ + 0.0961, + 0.0962, + 0.0463 + ] + } + }, + "active": {}, + "description": [ + "donut" + ], + "caption": "" +} diff --git a/Objects/RoboDojo/Rigid/earbuds/00000/metadata.json b/Objects/RoboDojo/Rigid/earbuds/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..4cf83c62cdb9550e1a81a273dcf2886c2a8ae1d1 --- /dev/null +++ b/Objects/RoboDojo/Rigid/earbuds/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.012, + "friction": 0.25 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0227, + -0.0305, + -0.0213 + ], + [ + -0.0227, + -0.0305, + 0.0213 + ], + [ + -0.0227, + 0.0306, + -0.0213 + ], + [ + -0.0227, + 0.0306, + 0.0213 + ], + [ + 0.0226, + -0.0305, + -0.0213 + ], + [ + 0.0226, + -0.0305, + 0.0213 + ], + [ + 0.0226, + 0.0306, + -0.0213 + ], + [ + 0.0226, + 0.0306, + 0.0213 + ] + ], + "extents": [ + 0.0453, + 0.0611, + 0.0427 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0166, + -0.0397, + 0.0146 + ], + [ + 0.0391, + 0.0161, + 0.0183 + ], + [ + -0.0237, + -0.0241, + 0.024 + ], + [ + -0.0012, + 0.0317, + 0.0277 + ], + [ + 0.009, + -0.0339, + -0.0277 + ], + [ + 0.0315, + 0.022, + -0.024 + ], + [ + -0.0313, + -0.0183, + -0.0183 + ], + [ + -0.0088, + 0.0376, + -0.0146 + ] + ], + "extents": [ + 0.0704, + 0.0773, + 0.0554 + ] + } + }, + "active": {}, + "description": [ + "noise-cancelling earbud colored glossy black", + "true wireless earphone primarily used for active noise cancellation", + "fits in ear canal tan speaker grille teardrop main body for playing audio", + "teardrop main body-shaped noise-cancelling earbud", + "Sony wireless earbud with rubberized ear tip construction", + "rubberized ear tip rounded ergonomic contour object used for active noise cancellation", + "compact earbud gold Sony logo true wireless earphone", + "true wireless earphone sized as fits in ear canal", + "noise-cancelling earbud with tan speaker grille exterior", + "compact earbud noise-cancelling earbud perfect for wireless listening", + "fits in ear canal rubberized ear tip rounded ergonomic contour for active noise cancellation", + "metal mesh grille rounded ergonomic contour for playing audio", + "rounded ergonomic contour object made of metal mesh grille", + "teardrop main body metal mesh grille true wireless earphone for active noise cancellation", + "rubberized ear tip object for playing audio", + "gold Sony logo smaller than a walnut rubberized ear tip object", + "fits in ear canal object used for playing audio", + "smaller than a walnut noise-cancelling earbud used for wireless listening", + "fits in ear canal metal mesh grille noise-cancelling earbud", + "gold Sony logo rubberized ear tip cylindrical stem object", + "compact earbud rounded ergonomic contour noise-cancelling earbud", + "playing audio use of true wireless earphone", + "compact earbud glossy black shiny plastic rounded ergonomic contour object", + "gold Sony logo fits in ear canal rubberized ear tip object", + "true wireless earphone colored glossy black", + "compact earbud rubberized ear tip object", + "compact earbud Sony wireless earbud used for wireless listening", + "gold Sony logo noise-cancelling earbud typically used for wireless listening", + "Sony wireless earbud with cylindrical stem profile", + "true wireless earphone with tan speaker grille exterior", + "true wireless earphone intended for playing audio usage", + "noise-cancelling earbud commonly used for active noise cancellation", + "Sony wireless earbud in glossy black", + "tan speaker grille object used for wireless listening", + "Sony wireless earbud for wireless listening activities", + "teardrop main body true wireless earphone ideal for active noise cancellation", + "cylindrical stem object made of shiny plastic", + "Sony wireless earbud optimized for wireless listening", + "glossy black noise-cancelling earbud typically used for playing audio", + "rubberized ear tip true wireless earphone suitable for active noise cancellation", + "glossy black Sony wireless earbud typically used for active noise cancellation", + "Sony wireless earbud featuring cylindrical stem shape", + "noise-cancelling earbud appropriate for wireless listening use", + "smaller than a walnut rubberized ear tip object", + "Sony wireless earbud typically made of rubberized ear tip", + "true wireless earphone made of shiny plastic", + "true wireless earphone designed for active noise cancellation", + "cylindrical stem object used for wireless listening", + "glossy black object used for active noise cancellation", + "wireless listening use of noise-cancelling earbud", + "glossy black metal mesh grille true wireless earphone", + "rounded ergonomic contour Sony wireless earbud for playing audio", + "shiny plastic tan speaker grille Sony wireless earbud", + "noise-cancelling earbud with rounded ergonomic contour profile", + "noise-cancelling earbud appropriate for wireless listening", + "noise-cancelling earbud commonly used for wireless listening", + "tan speaker grille object used for active noise cancellation", + "Sony wireless earbud with tan speaker grille color", + "Sony wireless earbud commonly featuring metal mesh grille", + "fits in ear canal rounded ergonomic contour true wireless earphone for wireless listening", + "true wireless earphone appropriate for active noise cancellation", + "active noise cancellation with noise-cancelling earbud", + "smaller than a walnut teardrop main body Sony wireless earbud", + "Sony wireless earbud primarily used for playing audio", + "noise-cancelling earbud for wireless listening", + "rubberized ear tip object used for wireless listening", + "true wireless earphone appropriate for active noise cancellation use", + "noise-cancelling earbud intended for wireless listening", + "gold Sony logo noise-cancelling earbud used for wireless listening", + "gold Sony logo cylindrical stem true wireless earphone", + "noise-cancelling earbud with shiny plastic body", + "shiny plastic noise-cancelling earbud for active noise cancellation", + "glossy black true wireless earphone typically used for playing audio", + "glossy black cylindrical stem object for active noise cancellation", + "noise-cancelling earbud optimized for playing audio", + "true wireless earphone in gold Sony logo", + "glossy black compact earbud noise-cancelling earbud for wireless listening", + "compact earbud Sony wireless earbud used for active noise cancellation", + "Sony wireless earbud in rounded ergonomic contour form", + "cylindrical stem noise-cancelling earbud used for playing audio", + "tan speaker grille object used for playing audio", + "true wireless earphone for wireless listening use", + "noise-cancelling earbud with rubberized ear tip body", + "Sony wireless earbud with rounded ergonomic contour profile", + "smaller than a walnut tan speaker grille cylindrical stem for playing audio", + "tan speaker grille smaller than a walnut true wireless earphone for active noise cancellation", + "compact earbud object used for active noise cancellation", + "smaller than a walnut glossy black rubberized ear tip teardrop main body object", + "compact earbud Sony wireless earbud for playing audio", + "smaller than a walnut object used for playing audio", + "tan speaker grille rounded ergonomic contour noise-cancelling earbud", + "noise-cancelling earbud commonly featuring rubberized ear tip", + "noise-cancelling earbud with tan speaker grille color", + "Sony wireless earbud with metal mesh grille surface", + "tan speaker grille shiny plastic rounded ergonomic contour object", + "true wireless earphone in fits in ear canal", + "Sony wireless earbud made from rubberized ear tip", + "compact earbud metal mesh grille true wireless earphone for wireless listening", + "rounded ergonomic contour-shaped true wireless earphone", + "noise-cancelling earbud ideal for wireless listening" + ], + "caption": { + "color": [ + "glossy black", + "tan speaker grille", + "gold Sony logo" + ], + "function": [ + "playing audio", + "wireless listening", + "active noise cancellation" + ], + "material": [ + "shiny plastic", + "rubberized ear tip", + "metal mesh grille" + ], + "name": [ + "Sony wireless earbud", + "true wireless earphone", + "noise-cancelling earbud" + ], + "shape": [ + "teardrop main body", + "cylindrical stem", + "rounded ergonomic contour" + ], + "size": [ + "compact earbud", + "fits in ear canal", + "smaller than a walnut" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/earbuds/00001/metadata.json b/Objects/RoboDojo/Rigid/earbuds/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..51ee3c7a72f1a60b71ad1e2617c2bd52cce1d1a8 --- /dev/null +++ b/Objects/RoboDojo/Rigid/earbuds/00001/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.006, + "friction": 0.25 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0181, + -0.0129, + -0.0244 + ], + [ + -0.0181, + -0.0129, + 0.0244 + ], + [ + -0.0181, + 0.0129, + -0.0244 + ], + [ + -0.0181, + 0.0129, + 0.0244 + ], + [ + 0.018, + -0.0129, + -0.0244 + ], + [ + 0.018, + -0.0129, + 0.0244 + ], + [ + 0.018, + 0.0129, + -0.0244 + ], + [ + 0.018, + 0.0129, + 0.0244 + ] + ], + "extents": [ + 0.036, + 0.0259, + 0.0488 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0227, + 0.0147, + 0.0113 + ], + [ + -0.0139, + 0.0138, + -0.0248 + ], + [ + -0.0008, + 0.0111, + 0.0351 + ], + [ + -0.0373, + 0.0102, + -0.001 + ], + [ + 0.0249, + -0.0095, + 0.0097 + ], + [ + -0.0117, + -0.0105, + -0.0264 + ], + [ + 0.0014, + -0.0132, + 0.0335 + ], + [ + -0.0352, + -0.0141, + -0.0025 + ] + ], + "extents": [ + 0.0622, + 0.0288, + 0.0615 + ] + } + }, + "active": {}, + "description": [ + "earphone made from smooth plastic", + "fits in ear canal object used for blocking ambient noise", + "smooth plastic Bluetooth earpiece suitable for making phone calls", + "compact earbud ergonomic curve earphone for listening to audio", + "stem with angled nozzle earphone for listening to audio", + "smooth plastic object used for blocking ambient noise", + "shiny black ergonomic curve Bluetooth earpiece", + "wireless earbud for blocking ambient noise tasks", + "fits in ear canal shiny black dual-chamber design for making phone calls", + "Bluetooth earpiece featuring dual-chamber design shape", + "deep black object used for listening to audio", + "earphone typically made of non-porous finish", + "wireless earbud with glossy black color", + "glossy black high-gloss polymer dual-chamber design wireless earbud", + "Bluetooth earpiece appropriate for blocking ambient noise use", + "earphone made of smooth plastic", + "deep black small handheld wireless earbud for listening to audio", + "Bluetooth earpiece for making phone calls use", + "earphone for making phone calls activities", + "shiny black object used for making phone calls", + "glossy black earphone for listening to audio", + "Bluetooth earpiece for listening to audio with smooth plastic", + "wireless earbud built from non-porous finish", + "ergonomic curve object used for making phone calls", + "earphone intended for listening to audio", + "Bluetooth earpiece typically made of high-gloss polymer", + "stem with angled nozzle object used for listening to audio", + "Bluetooth earpiece commonly used for making phone calls", + "Bluetooth earpiece with ergonomic curve geometry", + "blocking ambient noise with wireless earbud", + "wireless earbud featuring stem with angled nozzle shape", + "earphone commonly featuring smooth plastic", + "wireless earbud intended for making phone calls", + "fits in ear canal non-porous finish object", + "Bluetooth earpiece used to blocking ambient noise", + "Bluetooth earpiece sized fits in ear canal", + "non-porous finish wireless earbud for blocking ambient noise", + "wireless earbud for listening to audio use", + "wireless earbud in deep black", + "fits in ear canal stem with angled nozzle Bluetooth earpiece for listening to audio", + "wireless earbud sized as fits in ear canal", + "deep black Bluetooth earpiece designed for blocking ambient noise", + "wireless earbud typically made of smooth plastic", + "small handheld deep black stem with angled nozzle for making phone calls", + "fits in ear canal dual-chamber design object", + "wireless earbud appropriate for listening to audio", + "stem with angled nozzle wireless earbud ideal for listening to audio", + "deep black stem with angled nozzle object for listening to audio", + "shiny black compact earbud dual-chamber design earphone", + "glossy black small handheld Bluetooth earpiece for making phone calls", + "small handheld ergonomic curve object for making phone calls", + "wireless earbud made from smooth plastic", + "stem with angled nozzle smooth plastic Bluetooth earpiece for making phone calls", + "wireless earbud sized small handheld", + "stem with angled nozzle wireless earbud ideal for blocking ambient noise", + "wireless earbud for making phone calls with high-gloss polymer", + "glossy black object used for making phone calls", + "compact earbud Bluetooth earpiece for blocking ambient noise", + "shiny black Bluetooth earpiece for making phone calls", + "earphone with deep black color", + "wireless earbud appropriate for making phone calls use", + "glossy black high-gloss polymer Bluetooth earpiece", + "small handheld object used for listening to audio", + "Bluetooth earpiece optimized for listening to audio", + "shiny black wireless earbud typically used for listening to audio", + "compact earbud high-gloss polymer earphone", + "earphone with non-porous finish body", + "ergonomic curve-shaped Bluetooth earpiece", + "deep black high-gloss polymer dual-chamber design earphone", + "fits in ear canal wireless earbud used for making phone calls", + "Bluetooth earpiece sized compact earbud", + "shiny black Bluetooth earpiece suitable for making phone calls", + "earphone with non-porous finish surface", + "wireless earbud made of high-gloss polymer", + "high-gloss polymer ergonomic curve for listening to audio", + "shiny black earphone suitable for making phone calls", + "Bluetooth earpiece in deep black", + "fits in ear canal non-porous finish wireless earbud", + "earphone intended for making phone calls", + "Bluetooth earpiece appropriate for blocking ambient noise", + "deep black object used for blocking ambient noise", + "high-gloss polymer stem with angled nozzle object used for making phone calls", + "earphone made from high-gloss polymer", + "glossy black compact earbud ergonomic curve wireless earbud", + "shiny black smooth plastic dual-chamber design object", + "stem with angled nozzle earphone ideal for listening to audio", + "small handheld glossy black stem with angled nozzle for making phone calls", + "Bluetooth earpiece in dual-chamber design", + "Bluetooth earpiece with stem with angled nozzle geometry", + "ergonomic curve Bluetooth earpiece ideal for blocking ambient noise", + "ergonomic curve non-porous finish earphone for blocking ambient noise", + "smooth plastic wireless earbud for blocking ambient noise", + "stem with angled nozzle object made of high-gloss polymer", + "stem with angled nozzle smooth plastic Bluetooth earpiece for listening to audio", + "glossy black object used for blocking ambient noise", + "deep black smooth plastic ergonomic curve Bluetooth earpiece", + "Bluetooth earpiece with smooth plastic surface", + "non-porous finish glossy black Bluetooth earpiece", + "earphone sized as compact earbud", + "earphone ideal for blocking ambient noise" + ], + "caption": { + "color": [ + "glossy black", + "deep black", + "shiny black" + ], + "function": [ + "listening to audio", + "making phone calls", + "blocking ambient noise" + ], + "material": [ + "smooth plastic", + "high-gloss polymer", + "non-porous finish" + ], + "name": [ + "wireless earbud", + "earphone", + "Bluetooth earpiece" + ], + "shape": [ + "ergonomic curve", + "dual-chamber design", + "stem with angled nozzle" + ], + "size": [ + "compact earbud", + "fits in ear canal", + "small handheld" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/earbuds/00002/metadata.json b/Objects/RoboDojo/Rigid/earbuds/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..3507a214d27f7b7ed1ca3df3986031806b56428a --- /dev/null +++ b/Objects/RoboDojo/Rigid/earbuds/00002/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.005, + "friction": 0.32 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0111, + -0.0117, + -0.0213 + ], + [ + -0.0111, + -0.0117, + 0.0213 + ], + [ + -0.0111, + 0.0117, + -0.0213 + ], + [ + -0.0111, + 0.0117, + 0.0213 + ], + [ + 0.0111, + -0.0117, + -0.0213 + ], + [ + 0.0111, + -0.0117, + 0.0213 + ], + [ + 0.0111, + 0.0117, + -0.0213 + ], + [ + 0.0111, + 0.0117, + 0.0213 + ] + ], + "extents": [ + 0.0222, + 0.0234, + 0.0427 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0082, + 0.0133, + 0.0205 + ], + [ + -0.018, + 0.0049, + -0.0191 + ], + [ + -0.0082, + -0.0091, + 0.0253 + ], + [ + -0.018, + -0.0175, + -0.0143 + ], + [ + 0.0132, + 0.0122, + 0.0154 + ], + [ + 0.0033, + 0.0038, + -0.0242 + ], + [ + 0.0132, + -0.0101, + 0.0202 + ], + [ + 0.0033, + -0.0186, + -0.0194 + ] + ], + "extents": [ + 0.0313, + 0.0318, + 0.0494 + ] + } + }, + "active": {}, + "description": [ + "AirPod for making phone calls tasks", + "Apple earphone in tapered handle form", + "AirPod intended for listening to audio", + "wireless earbud in compact ear-sized", + "small handheld off-white glossy finish oval head with stem object", + "tapered handle object made of non-metallic", + "light gray tapered handle object for listening to audio", + "smooth plastic wireless earbud used for making phone calls", + "wireless earbud with off-white exterior", + "non-metallic tapered handle object used for listening to audio", + "listening to audio use of Apple earphone", + "smooth plastic Apple earphone for making phone calls", + "AirPod appropriate for listening to audio", + "Apple earphone with matte white color", + "wireless earbud with smooth plastic surface", + "compact ear-sized Apple earphone for wireless music playback", + "matte white fits in ear canal oval head with stem Apple earphone", + "oval head with stem fits in ear canal wireless earbud", + "curved ergonomic body wireless earbud for wireless music playback", + "small handheld curved ergonomic body wireless earbud for listening to audio", + "curved ergonomic body glossy finish AirPod for wireless music playback", + "off-white AirPod used for wireless music playback", + "tapered handle small handheld AirPod", + "small handheld light gray oval head with stem object", + "tapered handle glossy finish object for listening to audio", + "AirPod optimized for listening to audio", + "fits in ear canal oval head with stem object", + "wireless earbud for wireless music playback use", + "wireless music playback use of AirPod", + "wireless earbud for making phone calls use", + "smooth plastic object for listening to audio", + "wireless earbud intended for listening to audio usage", + "off-white wireless earbud used for listening to audio", + "curved ergonomic body-shaped Apple earphone", + "AirPod for making phone calls with smooth plastic", + "glossy finish off-white wireless earbud", + "AirPod appropriate for wireless music playback", + "compact ear-sized light gray tapered handle for making phone calls", + "light gray wireless earbud suitable for wireless music playback", + "AirPod appropriate for making phone calls use", + "AirPod for making phone calls scenarios", + "small handheld curved ergonomic body object", + "Apple earphone in matte white", + "Apple earphone in tapered handle", + "wireless earbud appropriate for listening to audio", + "AirPod shaped like a tapered handle", + "light gray oval head with stem object for wireless music playback", + "AirPod with non-metallic surface", + "Apple earphone sized compact ear-sized", + "making phone calls with Apple earphone", + "wireless earbud with non-metallic surface", + "AirPod with oval head with stem profile", + "AirPod sized as compact ear-sized", + "Apple earphone with oval head with stem profile", + "fits in ear canal smooth plastic wireless earbud for making phone calls", + "wireless earbud suitable for making phone calls", + "smooth plastic oval head with stem for listening to audio", + "smooth plastic wireless earbud used for wireless music playback", + "AirPod in curved ergonomic body", + "AirPod in curved ergonomic body form", + "AirPod for listening to audio scenarios", + "AirPod sized compact ear-sized", + "light gray small handheld non-metallic object", + "off-white Apple earphone suitable for making phone calls", + "smooth plastic object used for making phone calls", + "non-metallic Apple earphone used for listening to audio", + "glossy finish curved ergonomic body for making phone calls", + "light gray small handheld smooth plastic object", + "compact ear-sized matte white smooth plastic wireless earbud", + "Apple earphone commonly found in fits in ear canal size", + "compact ear-sized non-metallic Apple earphone for making phone calls", + "matte white tapered handle wireless earbud", + "Apple earphone built from non-metallic", + "compact ear-sized matte white wireless earbud", + "matte white smooth plastic tapered handle wireless earbud", + "off-white oval head with stem wireless earbud", + "oval head with stem object used for wireless music playback", + "Apple earphone typically made of glossy finish", + "wireless earbud with non-metallic construction", + "AirPod featuring curved ergonomic body shape", + "glossy finish AirPod used for listening to audio", + "off-white oval head with stem Apple earphone used for listening to audio", + "wireless earbud with smooth plastic body", + "AirPod commonly found in compact ear-sized size", + "light gray object used for making phone calls", + "curved ergonomic body wireless earbud ideal for wireless music playback", + "light gray non-metallic tapered handle wireless earbud", + "AirPod for listening to audio activities", + "Apple earphone intended for wireless music playback", + "compact ear-sized glossy finish curved ergonomic body for listening to audio", + "non-metallic tapered handle object used for making phone calls", + "Apple earphone optimized for wireless music playback", + "light gray AirPod suitable for wireless music playback", + "off-white compact ear-sized tapered handle Apple earphone", + "AirPod in light gray", + "AirPod featuring tapered handle shape", + "fits in ear canal wireless earbud for listening to audio", + "AirPod intended for wireless music playback usage", + "Apple earphone in small handheld", + "compact ear-sized wireless earbud for making phone calls" + ], + "caption": { + "color": [ + "matte white", + "light gray", + "off-white" + ], + "function": [ + "listening to audio", + "making phone calls", + "wireless music playback" + ], + "material": [ + "smooth plastic", + "glossy finish", + "non-metallic" + ], + "name": [ + "AirPod", + "wireless earbud", + "Apple earphone" + ], + "shape": [ + "oval head with stem", + "curved ergonomic body", + "tapered handle" + ], + "size": [ + "compact ear-sized", + "fits in ear canal", + "small handheld" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/egg/00000/metadata.json b/Objects/RoboDojo/Rigid/egg/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c59e3d7e2a6d24ee89de36359acfe6a747f8b347 --- /dev/null +++ b/Objects/RoboDojo/Rigid/egg/00000/metadata.json @@ -0,0 +1,106 @@ +{ + "physics": { + "mass": 0.3 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0206, + -0.0211, + -0.03 + ], + [ + -0.0206, + -0.0211, + 0.0276 + ], + [ + -0.0206, + 0.0211, + -0.03 + ], + [ + -0.0206, + 0.0211, + 0.0276 + ], + [ + 0.0206, + -0.0211, + -0.03 + ], + [ + 0.0206, + -0.0211, + 0.0276 + ], + [ + 0.0206, + 0.0211, + -0.03 + ], + [ + 0.0206, + 0.0211, + 0.0276 + ] + ], + "extents": [ + 0.0411, + 0.0422, + 0.0576 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0183, + 0.0202, + 0.0297 + ], + [ + -0.0262, + 0.0187, + -0.0268 + ], + [ + -0.0151, + -0.0218, + 0.0303 + ], + [ + -0.0231, + -0.0233, + -0.0262 + ], + [ + 0.0225, + 0.0232, + 0.0239 + ], + [ + 0.0146, + 0.0218, + -0.0327 + ], + [ + 0.0257, + -0.0188, + 0.0245 + ], + [ + 0.0178, + -0.0203, + -0.032 + ] + ], + "extents": [ + 0.052, + 0.0465, + 0.0629 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Rigid/electric_toothbrush/00000/metadata.json b/Objects/RoboDojo/Rigid/electric_toothbrush/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..808d85b93576ff76341510acd7e608bdc445db28 --- /dev/null +++ b/Objects/RoboDojo/Rigid/electric_toothbrush/00000/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.45, + "size": [ + 0.020072985628892932, + 0.020515537123053804, + 0.168 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.01, + -0.0103, + -0.084 + ], + [ + -0.01, + -0.0103, + 0.084 + ], + [ + -0.01, + 0.0103, + -0.084 + ], + [ + -0.01, + 0.0103, + 0.084 + ], + [ + 0.01, + -0.0103, + -0.084 + ], + [ + 0.01, + -0.0103, + 0.084 + ], + [ + 0.01, + 0.0103, + -0.084 + ], + [ + 0.01, + 0.0103, + 0.084 + ] + ], + "extents": [ + 0.0201, + 0.0205, + 0.168 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0102, + -0.0103, + 0.084 + ], + [ + 0.0099, + -0.0102, + -0.084 + ], + [ + 0.0104, + 0.0101, + 0.084 + ], + [ + 0.0101, + 0.0102, + -0.084 + ], + [ + -0.0099, + -0.0102, + 0.084 + ], + [ + -0.0102, + -0.0101, + -0.084 + ], + [ + -0.0097, + 0.0103, + 0.084 + ], + [ + -0.01, + 0.0104, + -0.084 + ] + ], + "extents": [ + 0.0205, + 0.0207, + 0.1681 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 0.7071067811865476, + 0.0, + -0.7071067811865475, + 0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "standard adult toothbrush plastic handle black sonic toothbrush for removing plaque", + "blue accent bristles rechargeable toothbrush suitable for removing plaque", + "elongated cylindrical handle object made of smooth coated finish", + "handheld length smooth coated finish rechargeable toothbrush for removing plaque", + "smooth coated finish rectangular brush head for gum care", + "blue accent bristles black sonic toothbrush suitable for gum care", + "electric toothbrush typically made of smooth coated finish", + "black sonic toothbrush with blue accent bristles exterior", + "electric toothbrush appropriate for gum care", + "black sonic toothbrush used to gum care", + "black sonic toothbrush shaped like a tapered neck", + "electric toothbrush optimized for gum care", + "plastic handle tapered neck object used for gum care", + "plastic handle tapered neck electric toothbrush", + "elongated cylindrical handle object made of nylon bristles", + "blue accent bristles object used for removing plaque", + "blue accent bristles smooth coated finish electric toothbrush", + "electric toothbrush used to gum care", + "elongated cylindrical handle smooth coated finish rechargeable toothbrush for cleaning teeth", + "rechargeable toothbrush in handheld length", + "handheld length rectangular brush head rechargeable toothbrush for cleaning teeth", + "electric toothbrush intended for gum care", + "elongated cylindrical handle smooth coated finish object for removing plaque", + "blue accent bristles standard adult toothbrush electric toothbrush for removing plaque", + "electric toothbrush with plastic handle construction", + "electric toothbrush appropriate for gum care use", + "nylon bristles elongated cylindrical handle black sonic toothbrush", + "matte black body plastic handle black sonic toothbrush", + "electric toothbrush made from plastic handle", + "black sonic toothbrush with elongated cylindrical handle geometry", + "rechargeable toothbrush with standard adult toothbrush dimensions", + "black sonic toothbrush appropriate for cleaning teeth", + "blue accent bristles rechargeable toothbrush typically used for gum care", + "black sonic toothbrush commonly featuring plastic handle", + "slim grip object used for gum care", + "electric toothbrush for cleaning teeth with nylon bristles", + "slim grip nylon bristles black sonic toothbrush", + "green bristles tapered neck rechargeable toothbrush used for cleaning teeth", + "rectangular brush head object used for cleaning teeth", + "electric toothbrush for cleaning teeth with smooth coated finish", + "standard adult toothbrush object used for removing plaque", + "standard adult toothbrush matte black body smooth coated finish black sonic toothbrush", + "electric toothbrush with rectangular brush head profile", + "rechargeable toothbrush shaped like a elongated cylindrical handle", + "nylon bristles electric toothbrush", + "handheld length rectangular brush head rechargeable toothbrush", + "handheld length black sonic toothbrush perfect for removing plaque", + "handheld length nylon bristles object", + "standard adult toothbrush plastic handle rechargeable toothbrush", + "rechargeable toothbrush made of smooth coated finish", + "black sonic toothbrush typically made of smooth coated finish", + "smooth coated finish rechargeable toothbrush suitable for gum care", + "slim grip rectangular brush head object for gum care", + "smooth coated finish matte black body black sonic toothbrush", + "handheld length matte black body tapered neck for removing plaque", + "plastic handle black sonic toothbrush used for cleaning teeth", + "electric toothbrush for gum care tasks", + "black sonic toothbrush for cleaning teeth activities", + "black sonic toothbrush sized as standard adult toothbrush", + "black sonic toothbrush featuring elongated cylindrical handle shape", + "plastic handle electric toothbrush", + "standard adult toothbrush green bristles rechargeable toothbrush", + "electric toothbrush sized as standard adult toothbrush", + "handheld length smooth coated finish black sonic toothbrush", + "standard adult toothbrush plastic handle black sonic toothbrush for cleaning teeth", + "removing plaque use of electric toothbrush", + "electric toothbrush with plastic handle surface", + "plastic handle object used for cleaning teeth", + "black sonic toothbrush sized as handheld length", + "matte black body tapered neck rechargeable toothbrush", + "plastic handle green bristles electric toothbrush", + "elongated cylindrical handle slim grip black sonic toothbrush", + "nylon bristles rectangular brush head for cleaning teeth", + "electric toothbrush made of nylon bristles", + "matte black body nylon bristles elongated cylindrical handle object", + "rechargeable toothbrush with handheld length dimensions", + "rechargeable toothbrush shaped like a tapered neck", + "blue accent bristles electric toothbrush for cleaning teeth", + "rectangular brush head nylon bristles black sonic toothbrush for removing plaque", + "rechargeable toothbrush sized standard adult toothbrush", + "green bristles slim grip smooth coated finish object", + "smooth coated finish elongated cylindrical handle object used for cleaning teeth", + "black sonic toothbrush intended for cleaning teeth usage", + "tapered neck object used for gum care", + "matte black body rechargeable toothbrush designed for cleaning teeth", + "handheld length matte black body black sonic toothbrush", + "handheld length tapered neck black sonic toothbrush for removing plaque", + "standard adult toothbrush blue accent bristles nylon bristles rectangular brush head object", + "rectangular brush head black sonic toothbrush for gum care", + "matte black body electric toothbrush designed for removing plaque", + "rechargeable toothbrush with blue accent bristles exterior", + "nylon bristles rectangular brush head for gum care", + "standard adult toothbrush matte black body object for gum care", + "nylon bristles matte black body electric toothbrush", + "rectangular brush head black sonic toothbrush ideal for removing plaque", + "black sonic toothbrush with plastic handle construction", + "green bristles handheld length plastic handle object", + "elongated cylindrical handle rechargeable toothbrush for removing plaque", + "black sonic toothbrush in green bristles", + "handheld length rectangular brush head object" + ], + "caption": { + "color": [ + "matte black body", + "green bristles", + "blue accent bristles" + ], + "function": [ + "cleaning teeth", + "removing plaque", + "gum care" + ], + "material": [ + "plastic handle", + "nylon bristles", + "smooth coated finish" + ], + "name": [ + "electric toothbrush", + "rechargeable toothbrush", + "black sonic toothbrush" + ], + "shape": [ + "elongated cylindrical handle", + "tapered neck", + "rectangular brush head" + ], + "size": [ + "standard adult toothbrush", + "handheld length", + "slim grip" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/electric_toothbrush/00001/metadata.json b/Objects/RoboDojo/Rigid/electric_toothbrush/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..de4876f664007dcd99dcb1c5c38b1021e85b8571 --- /dev/null +++ b/Objects/RoboDojo/Rigid/electric_toothbrush/00001/metadata.json @@ -0,0 +1,132 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0089, + -0.0114, + -0.081 + ], + [ + -0.0089, + -0.0114, + 0.081 + ], + [ + -0.0089, + 0.0114, + -0.081 + ], + [ + -0.0089, + 0.0114, + 0.081 + ], + [ + 0.0089, + -0.0114, + -0.081 + ], + [ + 0.0089, + -0.0114, + 0.081 + ], + [ + 0.0089, + 0.0114, + -0.081 + ], + [ + 0.0089, + 0.0114, + 0.081 + ] + ], + "extents": [ + 0.0178, + 0.0228, + 0.1619 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0105, + 0.0097, + 0.081 + ], + [ + -0.0105, + 0.0097, + -0.081 + ], + [ + -0.0069, + -0.0125, + 0.081 + ], + [ + -0.0069, + -0.0125, + -0.081 + ], + [ + 0.0069, + 0.0125, + 0.081 + ], + [ + 0.0069, + 0.0125, + -0.081 + ], + [ + 0.0105, + -0.0097, + 0.081 + ], + [ + 0.0105, + -0.0097, + -0.081 + ] + ], + "extents": [ + 0.021, + 0.0251, + 0.1619 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + -0.7071067811865475, + -0.0, + 0.7071067811865476, + -0.0 + ] + ] + } + } + }, + "physics": { + "size": [ + 0.017781377173806706, + 0.022841586285174506, + 0.162 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/electric_toothbrush/00002/metadata.json b/Objects/RoboDojo/Rigid/electric_toothbrush/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..1c94109ad481d2f20fc73f0a7a50afb1a9c565c6 --- /dev/null +++ b/Objects/RoboDojo/Rigid/electric_toothbrush/00002/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.12, + "friction": 0.65, + "size": [ + 0.02802306088844471, + 0.03242305348895368, + 0.175 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.014, + -0.0162, + -0.0875 + ], + [ + -0.014, + -0.0162, + 0.0875 + ], + [ + -0.014, + 0.0162, + -0.0875 + ], + [ + -0.014, + 0.0162, + 0.0875 + ], + [ + 0.014, + -0.0162, + -0.0875 + ], + [ + 0.014, + -0.0162, + 0.0875 + ], + [ + 0.014, + 0.0162, + -0.0875 + ], + [ + 0.014, + 0.0162, + 0.0875 + ] + ], + "extents": [ + 0.028, + 0.0324, + 0.175 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0206, + -0.0025, + 0.0878 + ], + [ + 0.0195, + 0.0045, + -0.0876 + ], + [ + 0.0027, + 0.0201, + 0.0888 + ], + [ + 0.0016, + 0.027, + -0.0866 + ], + [ + -0.0009, + -0.0195, + 0.0873 + ], + [ + -0.002, + -0.0125, + -0.0881 + ], + [ + -0.0188, + 0.0031, + 0.0883 + ], + [ + -0.0199, + 0.01, + -0.0871 + ] + ], + "extents": [ + 0.0405, + 0.0465, + 0.1769 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + -0.7071067811865475, + -0.0, + 0.7071067811865476, + -0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "compact matte finish plastic grip angled brush head object", + "matte finish cylindrical handle object for cleaning teeth", + "sonic toothbrush shaped like a textured diamond-pattern grip", + "sonic toothbrush commonly found in slightly longer than average toothbrush size", + "rechargeable toothbrush for cleaning teeth activities", + "textured diamond-pattern grip object used for removing plaque", + "sonic toothbrush commonly featuring metal neck", + "plastic grip electric toothbrush for gum care", + "removing plaque with electric toothbrush", + "handheld metal neck object", + "slightly longer than average toothbrush textured diamond-pattern grip sonic toothbrush", + "rechargeable toothbrush suitable for removing plaque", + "gray body compact rechargeable toothbrush for cleaning teeth", + "compact angled brush head object", + "compact rubberized texture sonic toothbrush", + "rechargeable toothbrush optimized for gum care", + "sonic toothbrush with textured diamond-pattern grip profile", + "compact rubberized texture rechargeable toothbrush for gum care", + "metal neck object for gum care", + "blue and white bristles slightly longer than average toothbrush rubberized texture object", + "matte finish compact textured diamond-pattern grip sonic toothbrush", + "plastic grip object for gum care", + "blue and white bristles slightly longer than average toothbrush plastic grip object", + "compact cylindrical handle object for cleaning teeth", + "plastic grip angled brush head object used for removing plaque", + "sonic toothbrush ideal for gum care", + "electric toothbrush in handheld", + "cylindrical handle compact rechargeable toothbrush", + "sonic toothbrush colored gray body", + "rechargeable toothbrush ideal for removing plaque", + "cylindrical handle sonic toothbrush ideal for gum care", + "electric toothbrush for removing plaque with metal neck", + "slightly longer than average toothbrush rubberized texture electric toothbrush", + "blue and white bristles plastic grip textured diamond-pattern grip object", + "electric toothbrush in compact", + "handheld plastic grip electric toothbrush for cleaning teeth", + "electric toothbrush in cylindrical handle", + "compact rubberized texture object", + "textured diamond-pattern grip rubberized texture object for cleaning teeth", + "rechargeable toothbrush for removing plaque use", + "rechargeable toothbrush with metal neck surface", + "metal neck electric toothbrush", + "textured diamond-pattern grip electric toothbrush for removing plaque", + "sonic toothbrush ideal for removing plaque", + "handheld electric toothbrush for removing plaque", + "electric toothbrush primarily used for gum care", + "compact object used for gum care", + "angled brush head-shaped rechargeable toothbrush", + "slightly longer than average toothbrush sonic toothbrush for gum care", + "gray body sonic toothbrush suitable for cleaning teeth", + "electric toothbrush in slightly longer than average toothbrush", + "cleaning teeth use of electric toothbrush", + "electric toothbrush with rubberized texture surface", + "rechargeable toothbrush made of metal neck", + "sonic toothbrush with slightly longer than average toothbrush dimensions", + "rechargeable toothbrush with plastic grip body", + "electric toothbrush intended for cleaning teeth usage", + "rechargeable toothbrush with metal neck body", + "sonic toothbrush for gum care scenarios", + "slightly longer than average toothbrush blue and white bristles cylindrical handle object", + "rubberized texture electric toothbrush suitable for gum care", + "slightly longer than average toothbrush rechargeable toothbrush for cleaning teeth", + "sonic toothbrush made of plastic grip", + "handheld matte finish cylindrical handle for removing plaque", + "blue and white bristles handheld rubberized texture object", + "rechargeable toothbrush built from rubberized texture", + "electric toothbrush for gum care with metal neck", + "rechargeable toothbrush intended for cleaning teeth usage", + "sonic toothbrush optimized for removing plaque", + "rechargeable toothbrush appropriate for removing plaque", + "blue and white bristles object used for removing plaque", + "cylindrical handle electric toothbrush for gum care", + "plastic grip electric toothbrush", + "plastic grip sonic toothbrush used for removing plaque", + "sonic toothbrush appropriate for removing plaque", + "angled brush head sonic toothbrush used for removing plaque", + "electric toothbrush in cylindrical handle form", + "textured diamond-pattern grip object used for gum care", + "compact matte finish metal neck angled brush head object", + "rechargeable toothbrush in angled brush head form", + "electric toothbrush sized slightly longer than average toothbrush", + "angled brush head-shaped sonic toothbrush", + "electric toothbrush used to gum care", + "compact cylindrical handle rechargeable toothbrush", + "textured diamond-pattern grip-shaped sonic toothbrush", + "handheld object used for cleaning teeth", + "rechargeable toothbrush appropriate for gum care use", + "electric toothbrush with angled brush head profile", + "handheld matte finish metal neck cylindrical handle object", + "sonic toothbrush appropriate for cleaning teeth", + "rechargeable toothbrush for removing plaque tasks", + "sonic toothbrush with matte finish exterior", + "textured diamond-pattern grip object made of metal neck", + "electric toothbrush for gum care scenarios", + "slightly longer than average toothbrush cylindrical handle object", + "rechargeable toothbrush in handheld", + "blue and white bristles textured diamond-pattern grip sonic toothbrush", + "handheld rechargeable toothbrush for cleaning teeth", + "rechargeable toothbrush used to cleaning teeth", + "angled brush head metal neck object for removing plaque" + ], + "caption": { + "color": [ + "gray body", + "blue and white bristles", + "matte finish" + ], + "function": [ + "cleaning teeth", + "removing plaque", + "gum care" + ], + "material": [ + "plastic grip", + "rubberized texture", + "metal neck" + ], + "name": [ + "electric toothbrush", + "sonic toothbrush", + "rechargeable toothbrush" + ], + "shape": [ + "cylindrical handle", + "textured diamond-pattern grip", + "angled brush head" + ], + "size": [ + "handheld", + "slightly longer than average toothbrush", + "compact" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/electric_toothbrush/00003/metadata.json b/Objects/RoboDojo/Rigid/electric_toothbrush/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..fcd831900cfbbdc59000d0718c70a5003e1bb902 --- /dev/null +++ b/Objects/RoboDojo/Rigid/electric_toothbrush/00003/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.12, + "friction": 0.45, + "size": [ + 0.02344448159327646, + 0.022995751742733404, + 0.175 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0117, + -0.0115, + -0.0875 + ], + [ + -0.0117, + -0.0115, + 0.0875 + ], + [ + -0.0117, + 0.0115, + -0.0875 + ], + [ + -0.0117, + 0.0115, + 0.0875 + ], + [ + 0.0117, + -0.0115, + -0.0875 + ], + [ + 0.0117, + -0.0115, + 0.0875 + ], + [ + 0.0117, + 0.0115, + -0.0875 + ], + [ + 0.0117, + 0.0115, + 0.0875 + ] + ], + "extents": [ + 0.0234, + 0.023, + 0.175 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0155, + -0.0053, + 0.0875 + ], + [ + 0.0156, + -0.0036, + -0.0875 + ], + [ + 0.0055, + 0.0153, + 0.0877 + ], + [ + 0.0056, + 0.017, + -0.0873 + ], + [ + -0.0046, + -0.0151, + 0.0874 + ], + [ + -0.0045, + -0.0134, + -0.0876 + ], + [ + -0.0147, + 0.0055, + 0.0876 + ], + [ + -0.0146, + 0.0072, + -0.0874 + ] + ], + "extents": [ + 0.0303, + 0.0322, + 0.1754 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + -0.7071067811865475, + -0.0, + 0.7071067811865476, + -0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "purple bristles oral hygiene brush for cleaning teeth", + "sonic toothbrush appropriate for cleaning teeth", + "electric toothbrush commonly featuring plastic handle", + "oral hygiene brush suitable for removing plaque", + "sonic toothbrush built from rubber grip texture", + "oral hygiene brush featuring tapered neck shape", + "nylon bristles rounded brush head sonic toothbrush", + "oral hygiene brush with rounded brush head geometry", + "fits in palm nylon bristles electric toothbrush", + "electric toothbrush ideal for removing plaque", + "rounded brush head-shaped sonic toothbrush", + "oral hygiene brush with nylon bristles construction", + "rubber grip texture tapered neck object used for gum care", + "plastic handle gray body oral hygiene brush", + "electric toothbrush featuring tapered neck shape", + "electric toothbrush with purple bristles exterior", + "cleaning teeth with electric toothbrush", + "gray body handheld nylon bristles object", + "nylon bristles object for removing plaque", + "standard electric toothbrush length gray body object for gum care", + "standard electric toothbrush length gray body rubber grip texture tapered neck object", + "sonic toothbrush made of rubber grip texture", + "standard electric toothbrush length nylon bristles oral hygiene brush for gum care", + "fits in palm elongated cylinder electric toothbrush", + "oral hygiene brush in tapered neck form", + "electric toothbrush commonly found in fits in palm size", + "gray body handheld plastic handle object", + "sonic toothbrush featuring rounded brush head shape", + "purple bristles object used for cleaning teeth", + "sonic toothbrush built from plastic handle", + "sonic toothbrush intended for gum care usage", + "sonic toothbrush for gum care use", + "gray body electric toothbrush used for gum care", + "plastic handle tapered neck oral hygiene brush", + "sonic toothbrush built from nylon bristles", + "handheld rubber grip texture oral hygiene brush", + "elongated cylinder-shaped electric toothbrush", + "elongated cylinder sonic toothbrush used for gum care", + "handheld tapered neck oral hygiene brush", + "oral hygiene brush sized fits in palm", + "sonic toothbrush with tapered neck profile", + "sonic toothbrush typically made of rubber grip texture", + "tapered neck plastic handle sonic toothbrush for gum care", + "rubber grip texture oral hygiene brush for cleaning teeth", + "handheld rounded brush head object", + "electric toothbrush for gum care use", + "blue accent ring rounded brush head sonic toothbrush", + "electric toothbrush with gray body exterior", + "electric toothbrush in standard electric toothbrush length", + "oral hygiene brush built from rubber grip texture", + "rounded brush head-shaped oral hygiene brush", + "purple bristles nylon bristles oral hygiene brush", + "plastic handle object for cleaning teeth", + "blue accent ring oral hygiene brush designed for gum care", + "nylon bristles elongated cylinder object used for gum care", + "tapered neck object used for cleaning teeth", + "gray body electric toothbrush for removing plaque", + "fits in palm gray body object for gum care", + "sonic toothbrush sized as fits in palm", + "rounded brush head object used for removing plaque", + "oral hygiene brush shaped like a rounded brush head", + "electric toothbrush shaped like a tapered neck", + "elongated cylinder object made of plastic handle", + "gray body oral hygiene brush typically used for cleaning teeth", + "standard electric toothbrush length plastic handle object", + "sonic toothbrush appropriate for gum care use", + "gray body sonic toothbrush suitable for gum care", + "gray body elongated cylinder sonic toothbrush", + "sonic toothbrush in tapered neck", + "purple bristles rounded brush head object for removing plaque", + "fits in palm plastic handle sonic toothbrush", + "handheld rounded brush head object for removing plaque", + "nylon bristles tapered neck sonic toothbrush", + "rubber grip texture object for removing plaque", + "sonic toothbrush in handheld", + "blue accent ring sonic toothbrush for gum care", + "sonic toothbrush shaped like a elongated cylinder", + "plastic handle elongated cylinder for removing plaque", + "elongated cylinder plastic handle sonic toothbrush for removing plaque", + "blue accent ring rounded brush head sonic toothbrush used for gum care", + "elongated cylinder object used for cleaning teeth", + "standard electric toothbrush length gray body rounded brush head object", + "handheld plastic handle electric toothbrush for cleaning teeth", + "sonic toothbrush used to gum care", + "handheld object used for removing plaque", + "gray body standard electric toothbrush length oral hygiene brush for gum care", + "handheld rubber grip texture electric toothbrush for cleaning teeth", + "fits in palm blue accent ring plastic handle elongated cylinder object", + "oral hygiene brush made of nylon bristles", + "electric toothbrush for gum care tasks", + "rounded brush head object made of nylon bristles", + "fits in palm rubber grip texture oral hygiene brush", + "standard electric toothbrush length purple bristles plastic handle tapered neck object", + "sonic toothbrush designed for cleaning teeth", + "sonic toothbrush typically made of plastic handle", + "oral hygiene brush primarily used for removing plaque", + "gray body rounded brush head object for cleaning teeth", + "oral hygiene brush typically made of nylon bristles", + "blue accent ring sonic toothbrush designed for removing plaque", + "purple bristles nylon bristles sonic toothbrush" + ], + "caption": { + "color": [ + "gray body", + "purple bristles", + "blue accent ring" + ], + "function": [ + "cleaning teeth", + "removing plaque", + "gum care" + ], + "material": [ + "plastic handle", + "nylon bristles", + "rubber grip texture" + ], + "name": [ + "electric toothbrush", + "sonic toothbrush", + "oral hygiene brush" + ], + "shape": [ + "elongated cylinder", + "tapered neck", + "rounded brush head" + ], + "size": [ + "handheld", + "standard electric toothbrush length", + "fits in palm" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/electric_toothbrush/00004/metadata.json b/Objects/RoboDojo/Rigid/electric_toothbrush/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..022cf7c81924113c41c5cbc498de4fb988569ee1 --- /dev/null +++ b/Objects/RoboDojo/Rigid/electric_toothbrush/00004/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.45, + "size": [ + 0.02160102928535003, + 0.021581126686492424, + 0.168 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0109, + -0.0107, + -0.0841 + ], + [ + -0.0109, + -0.0107, + 0.0841 + ], + [ + -0.0109, + 0.0109, + -0.0841 + ], + [ + -0.0109, + 0.0109, + 0.0841 + ], + [ + 0.0107, + -0.0107, + -0.0841 + ], + [ + 0.0107, + -0.0107, + 0.0841 + ], + [ + 0.0107, + 0.0109, + -0.0841 + ], + [ + 0.0107, + 0.0109, + 0.0841 + ] + ], + "extents": [ + 0.0216, + 0.0216, + 0.1682 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0086, + 0.0127, + 0.0841 + ], + [ + 0.0086, + 0.0127, + -0.0841 + ], + [ + -0.0127, + 0.0088, + 0.0841 + ], + [ + -0.0127, + 0.0088, + -0.0841 + ], + [ + 0.0125, + -0.0085, + 0.0841 + ], + [ + 0.0125, + -0.0086, + -0.0841 + ], + [ + -0.0088, + -0.0124, + 0.0841 + ], + [ + -0.0088, + -0.0125, + -0.0841 + ] + ], + "extents": [ + 0.0252, + 0.0252, + 0.1683 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + -0.0, + 0.0, + 0.0, + -0.7071067811865475, + -0.0, + 0.7071067811865476, + -0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "lavender personal oral care brush designed for cleaning teeth", + "matte finish rechargeable toothbrush suitable for removing plaque", + "dusty purple electric toothbrush used for daily oral hygiene", + "dusty purple object used for daily oral hygiene", + "electric toothbrush typically made of matte finish", + "personal oral care brush sized slightly longer than average toothbrush", + "electric toothbrush intended for daily oral hygiene usage", + "slightly longer than average toothbrush object used for daily oral hygiene", + "personal oral care brush colored dusty purple", + "lavender personal oral care brush typically used for daily oral hygiene", + "light mauve smooth plastic rounded brush head object", + "rechargeable toothbrush optimized for removing plaque", + "smooth plastic rechargeable toothbrush", + "soft-touch grip rechargeable toothbrush suitable for cleaning teeth", + "slightly longer than average toothbrush matte finish personal oral care brush", + "electric toothbrush used to cleaning teeth", + "dusty purple rounded brush head rechargeable toothbrush used for daily oral hygiene", + "compact handheld object used for removing plaque", + "single-hand grip dusty purple electric toothbrush", + "lavender slightly longer than average toothbrush matte finish object", + "electric toothbrush in cylindrical handle", + "personal oral care brush with soft-touch grip body", + "personal oral care brush for removing plaque", + "slightly longer than average toothbrush soft-touch grip rounded brush head for cleaning teeth", + "dusty purple soft-touch grip rounded brush head object", + "rechargeable toothbrush sized as single-hand grip", + "cylindrical handle object made of soft-touch grip", + "personal oral care brush in rounded brush head form", + "electric toothbrush in single-hand grip", + "electric toothbrush optimized for daily oral hygiene", + "personal oral care brush for removing plaque use", + "soft-touch grip object used for daily oral hygiene", + "rechargeable toothbrush typically made of soft-touch grip", + "compact handheld dusty purple soft-touch grip rounded brush head object", + "lavender object used for daily oral hygiene", + "cylindrical handle single-hand grip rechargeable toothbrush", + "lavender slim neck electric toothbrush used for daily oral hygiene", + "personal oral care brush featuring smooth plastic build", + "electric toothbrush with rounded brush head profile", + "rechargeable toothbrush made of smooth plastic", + "personal oral care brush commonly found in slightly longer than average toothbrush size", + "rechargeable toothbrush colored light mauve", + "dusty purple slightly longer than average toothbrush slim neck electric toothbrush", + "electric toothbrush ideal for removing plaque", + "compact handheld rechargeable toothbrush perfect for daily oral hygiene", + "slightly longer than average toothbrush smooth plastic rechargeable toothbrush for cleaning teeth", + "light mauve rechargeable toothbrush for cleaning teeth", + "rechargeable toothbrush built from smooth plastic", + "rechargeable toothbrush commonly used for daily oral hygiene", + "single-hand grip soft-touch grip rounded brush head for cleaning teeth", + "personal oral care brush made from smooth plastic", + "single-hand grip light mauve rounded brush head for removing plaque", + "electric toothbrush appropriate for removing plaque use", + "lavender slightly longer than average toothbrush rounded brush head electric toothbrush", + "slightly longer than average toothbrush personal oral care brush perfect for daily oral hygiene", + "rechargeable toothbrush sized as slightly longer than average toothbrush", + "matte finish object used for daily oral hygiene", + "dusty purple object used for removing plaque", + "rechargeable toothbrush for removing plaque activities", + "rounded brush head personal oral care brush used for removing plaque", + "electric toothbrush optimized for removing plaque", + "lavender slim neck object for removing plaque", + "personal oral care brush intended for removing plaque usage", + "lavender electric toothbrush used for removing plaque", + "personal oral care brush commonly used for daily oral hygiene", + "personal oral care brush for cleaning teeth", + "slightly longer than average toothbrush rounded brush head personal oral care brush for removing plaque", + "rechargeable toothbrush made from soft-touch grip", + "compact handheld matte finish electric toothbrush", + "dusty purple smooth plastic slim neck object", + "rounded brush head object used for daily oral hygiene", + "rechargeable toothbrush appropriate for daily oral hygiene", + "cylindrical handle personal oral care brush used for removing plaque", + "rechargeable toothbrush with soft-touch grip surface", + "dusty purple rounded brush head object for daily oral hygiene", + "compact handheld electric toothbrush perfect for cleaning teeth", + "rechargeable toothbrush used to removing plaque", + "light mauve compact handheld soft-touch grip object", + "electric toothbrush intended for cleaning teeth", + "single-hand grip soft-touch grip object", + "personal oral care brush suitable for removing plaque", + "matte finish object for cleaning teeth", + "personal oral care brush made of smooth plastic", + "rechargeable toothbrush with slim neck geometry", + "electric toothbrush for daily oral hygiene with matte finish", + "daily oral hygiene with electric toothbrush", + "electric toothbrush sized as compact handheld", + "soft-touch grip object for removing plaque", + "light mauve object used for daily oral hygiene", + "compact handheld rounded brush head personal oral care brush", + "rechargeable toothbrush for cleaning teeth activities", + "personal oral care brush for daily oral hygiene", + "electric toothbrush appropriate for removing plaque", + "slim neck matte finish personal oral care brush for daily oral hygiene", + "compact handheld light mauve rechargeable toothbrush", + "smooth plastic object for daily oral hygiene", + "personal oral care brush colored lavender", + "smooth plastic electric toothbrush", + "personal oral care brush ideal for removing plaque", + "electric toothbrush for daily oral hygiene use" + ], + "caption": { + "color": [ + "lavender", + "dusty purple", + "light mauve" + ], + "function": [ + "cleaning teeth", + "removing plaque", + "daily oral hygiene" + ], + "material": [ + "smooth plastic", + "matte finish", + "soft-touch grip" + ], + "name": [ + "electric toothbrush", + "rechargeable toothbrush", + "personal oral care brush" + ], + "shape": [ + "cylindrical handle", + "slim neck", + "rounded brush head" + ], + "size": [ + "compact handheld", + "slightly longer than average toothbrush", + "single-hand grip" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/electric_toothbrush/00005/metadata.json b/Objects/RoboDojo/Rigid/electric_toothbrush/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..1eda28d12e4b10d33d2f37d43ee23c9c9e76429b --- /dev/null +++ b/Objects/RoboDojo/Rigid/electric_toothbrush/00005/metadata.json @@ -0,0 +1,267 @@ +{ + "physics": { + "mass": 0.06, + "friction": 0.45, + "size": [ + 0.01847616815971639, + 0.022683551146907246, + 0.168 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0093, + -0.0113, + -0.0841 + ], + [ + -0.0093, + -0.0113, + 0.0841 + ], + [ + -0.0093, + 0.0115, + -0.0841 + ], + [ + -0.0093, + 0.0115, + 0.0841 + ], + [ + 0.0092, + -0.0113, + -0.0841 + ], + [ + 0.0092, + -0.0113, + 0.0841 + ], + [ + 0.0092, + 0.0115, + -0.0841 + ], + [ + 0.0092, + 0.0115, + 0.0841 + ] + ], + "extents": [ + 0.0185, + 0.0227, + 0.1682 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0043, + 0.0127, + 0.0844 + ], + [ + -0.0032, + 0.0156, + -0.0841 + ], + [ + -0.0141, + -0.0058, + 0.084 + ], + [ + -0.013, + -0.0029, + -0.0845 + ], + [ + 0.0123, + 0.0039, + 0.0843 + ], + [ + 0.0134, + 0.0068, + -0.0841 + ], + [ + 0.0025, + -0.0146, + 0.0839 + ], + [ + 0.0037, + -0.0117, + -0.0845 + ] + ], + "extents": [ + 0.0275, + 0.0302, + 0.1689 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + -0.0, + 0.0, + -0.0, + -0.7071067811865475, + -0.0, + 0.7071067811865476, + -0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "compact brush head object made of smooth plastic body", + "handheld pink to blue gradient compact brush head for cleaning teeth", + "standard electric toothbrush length white neck slim neck object", + "electric toothbrush with brownish-pink bristles color", + "soft silicone grip smart toothbrush used for oral hygiene", + "white neck rechargeable toothbrush designed for cleaning teeth", + "pink to blue gradient electric toothbrush for oral hygiene", + "electric toothbrush made of soft silicone grip", + "rechargeable toothbrush ideal for oral hygiene", + "brownish-pink bristles electric toothbrush typically used for oral hygiene", + "rechargeable toothbrush with rose gold accent ring color", + "compact brush head fits in palm electric toothbrush", + "fits in palm brownish-pink bristles nylon bristles slim neck object", + "white neck standard electric toothbrush length soft silicone grip object", + "smart toothbrush for removing plaque scenarios", + "rechargeable toothbrush featuring tapered cylindrical handle shape", + "smart toothbrush made of nylon bristles", + "standard electric toothbrush length smooth plastic body object", + "smart toothbrush with soft silicone grip construction", + "rose gold accent ring electric toothbrush typically used for removing plaque", + "slim neck smart toothbrush for removing plaque", + "smooth plastic body slim neck object used for removing plaque", + "handheld white neck object for cleaning teeth", + "brownish-pink bristles fits in palm smooth plastic body object", + "nylon bristles electric toothbrush used for removing plaque", + "electric toothbrush suitable for oral hygiene", + "tapered cylindrical handle rechargeable toothbrush used for oral hygiene", + "rechargeable toothbrush in standard electric toothbrush length", + "tapered cylindrical handle-shaped electric toothbrush", + "smart toothbrush with rose gold accent ring exterior", + "compact brush head standard electric toothbrush length rechargeable toothbrush", + "handheld tapered cylindrical handle object for removing plaque", + "rose gold accent ring standard electric toothbrush length rechargeable toothbrush for cleaning teeth", + "electric toothbrush in pink to blue gradient", + "electric toothbrush for oral hygiene scenarios", + "smart toothbrush with compact brush head profile", + "smooth plastic body object used for oral hygiene", + "smart toothbrush intended for cleaning teeth", + "standard electric toothbrush length soft silicone grip slim neck for cleaning teeth", + "white neck compact brush head rechargeable toothbrush", + "white neck standard electric toothbrush length smooth plastic body object", + "white neck electric toothbrush typically used for removing plaque", + "smart toothbrush with white neck exterior", + "smooth plastic body rechargeable toothbrush", + "pink to blue gradient smart toothbrush for removing plaque", + "handheld compact brush head smart toothbrush for cleaning teeth", + "compact brush head rechargeable toothbrush for oral hygiene", + "white neck smart toothbrush used for cleaning teeth", + "smart toothbrush commonly found in standard electric toothbrush length size", + "rechargeable toothbrush for cleaning teeth scenarios", + "electric toothbrush in white neck", + "standard electric toothbrush length white neck object for removing plaque", + "brownish-pink bristles rechargeable toothbrush typically used for cleaning teeth", + "smart toothbrush for oral hygiene use", + "handheld pink to blue gradient soft silicone grip tapered cylindrical handle object", + "rechargeable toothbrush with tapered cylindrical handle profile", + "electric toothbrush intended for removing plaque usage", + "rechargeable toothbrush in tapered cylindrical handle form", + "nylon bristles white neck rechargeable toothbrush", + "rechargeable toothbrush sized as handheld", + "tapered cylindrical handle handheld rechargeable toothbrush", + "fits in palm slim neck object", + "handheld soft silicone grip smart toothbrush for cleaning teeth", + "rechargeable toothbrush made from soft silicone grip", + "smart toothbrush for removing plaque", + "rechargeable toothbrush appropriate for cleaning teeth", + "fits in palm white neck smart toothbrush", + "brownish-pink bristles fits in palm electric toothbrush for oral hygiene", + "electric toothbrush with tapered cylindrical handle geometry", + "electric toothbrush with pink to blue gradient color", + "electric toothbrush ideal for cleaning teeth", + "rose gold accent ring compact brush head electric toothbrush used for cleaning teeth", + "electric toothbrush for removing plaque with smooth plastic body", + "rechargeable toothbrush primarily used for removing plaque", + "electric toothbrush made of nylon bristles", + "cleaning teeth use of rechargeable toothbrush", + "nylon bristles slim neck for cleaning teeth", + "removing plaque use of smart toothbrush", + "pink to blue gradient smart toothbrush suitable for removing plaque", + "removing plaque use of electric toothbrush", + "soft silicone grip slim neck for oral hygiene", + "nylon bristles tapered cylindrical handle rechargeable toothbrush", + "electric toothbrush for removing plaque scenarios", + "fits in palm pink to blue gradient tapered cylindrical handle for cleaning teeth", + "smooth plastic body object for removing plaque", + "smart toothbrush with brownish-pink bristles exterior", + "smart toothbrush featuring compact brush head shape", + "smart toothbrush featuring smooth plastic body build", + "rechargeable toothbrush with brownish-pink bristles color", + "electric toothbrush made of smooth plastic body", + "smart toothbrush with smooth plastic body body", + "electric toothbrush sized as handheld", + "smart toothbrush with compact brush head geometry", + "electric toothbrush with standard electric toothbrush length dimensions", + "rose gold accent ring standard electric toothbrush length compact brush head rechargeable toothbrush", + "rose gold accent ring smart toothbrush typically used for oral hygiene", + "nylon bristles electric toothbrush suitable for cleaning teeth", + "oral hygiene with electric toothbrush", + "brownish-pink bristles object used for removing plaque", + "rechargeable toothbrush appropriate for removing plaque" + ], + "caption": { + "color": [ + "pink to blue gradient", + "white neck", + "rose gold accent ring", + "brownish-pink bristles" + ], + "function": [ + "cleaning teeth", + "removing plaque", + "oral hygiene" + ], + "material": [ + "smooth plastic body", + "soft silicone grip", + "nylon bristles" + ], + "name": [ + "electric toothbrush", + "rechargeable toothbrush", + "smart toothbrush" + ], + "shape": [ + "tapered cylindrical handle", + "slim neck", + "compact brush head" + ], + "size": [ + "handheld", + "standard electric toothbrush length", + "fits in palm" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/electric_toothbrush/00006/metadata.json b/Objects/RoboDojo/Rigid/electric_toothbrush/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..e7e9a7aae8efa2e363bbf7f803809f2939b7603a --- /dev/null +++ b/Objects/RoboDojo/Rigid/electric_toothbrush/00006/metadata.json @@ -0,0 +1,265 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.45, + "size": [ + 0.024787386651812408, + 0.024784819084621844, + 0.16799999999999998 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0125, + -0.0123, + -0.0841 + ], + [ + -0.0125, + -0.0123, + 0.0841 + ], + [ + -0.0125, + 0.0125, + -0.0841 + ], + [ + -0.0125, + 0.0125, + 0.0841 + ], + [ + 0.0123, + -0.0123, + -0.0841 + ], + [ + 0.0123, + -0.0123, + 0.0841 + ], + [ + 0.0123, + 0.0125, + -0.0841 + ], + [ + 0.0123, + 0.0125, + 0.0841 + ] + ], + "extents": [ + 0.0248, + 0.0248, + 0.1682 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0149, + -0.0093, + -0.0841 + ], + [ + -0.0146, + -0.0095, + 0.0841 + ], + [ + -0.0095, + 0.0149, + -0.0841 + ], + [ + -0.0092, + 0.0147, + 0.0842 + ], + [ + 0.0093, + -0.0147, + -0.0842 + ], + [ + 0.0096, + -0.0149, + 0.0841 + ], + [ + 0.0147, + 0.0095, + -0.0841 + ], + [ + 0.0151, + 0.0093, + 0.0841 + ] + ], + "extents": [ + 0.03, + 0.0298, + 0.1683 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + -0.0, + 0.0, + 0.0, + -0.7071067811865475, + -0.0, + 0.7071067811865476, + -0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "rechargeable toothbrush for massaging gums tasks", + "deep red body glossy plastic tapered cylinder object", + "slim grip black neck and head soft nylon bristles slim handle object", + "deep red body rechargeable toothbrush designed for removing plaque", + "rechargeable toothbrush ideal for cleaning teeth", + "electric toothbrush for cleaning teeth with soft nylon bristles", + "white and tan bristles about 8 inches tall electric toothbrush for massaging gums", + "tapered cylinder-shaped sonic toothbrush", + "electric toothbrush sized as about 8 inches tall", + "white and tan bristles sonic toothbrush for removing plaque", + "glossy plastic rounded brush head for massaging gums", + "sonic toothbrush optimized for cleaning teeth", + "glossy plastic tapered cylinder object used for removing plaque", + "white and tan bristles electric toothbrush for removing plaque", + "black neck and head rechargeable toothbrush designed for removing plaque", + "handheld electric toothbrush for massaging gums", + "sonic toothbrush primarily used for removing plaque", + "rechargeable toothbrush with white and tan bristles color", + "handheld rounded brush head object", + "sonic toothbrush with about 8 inches tall dimensions", + "rechargeable toothbrush with soft nylon bristles construction", + "rechargeable toothbrush colored deep red body", + "rechargeable toothbrush typically made of soft nylon bristles", + "rechargeable toothbrush typically made of glossy plastic", + "handheld black neck and head glossy plastic rounded brush head object", + "tapered cylinder sonic toothbrush used for cleaning teeth", + "slim handle glossy plastic object for cleaning teeth", + "rounded brush head-shaped rechargeable toothbrush", + "deep red body soft nylon bristles rechargeable toothbrush", + "handheld soft nylon bristles rechargeable toothbrush", + "electric toothbrush featuring tapered cylinder shape", + "deep red body slim grip electric toothbrush for cleaning teeth", + "white and tan bristles about 8 inches tall rounded brush head electric toothbrush", + "sonic toothbrush for cleaning teeth with soft nylon bristles", + "slim grip white and tan bristles glossy plastic slim handle object", + "slim handle-shaped sonic toothbrush", + "rechargeable toothbrush sized handheld", + "rechargeable toothbrush commonly featuring glossy plastic", + "slim grip black neck and head glossy plastic rounded brush head object", + "rechargeable toothbrush commonly used for removing plaque", + "rechargeable toothbrush colored black neck and head", + "sonic toothbrush commonly used for massaging gums", + "deep red body object used for removing plaque", + "slim handle object made of glossy plastic", + "electric toothbrush in about 8 inches tall", + "black neck and head slim handle rechargeable toothbrush used for removing plaque", + "tapered cylinder object used for removing plaque", + "rechargeable toothbrush featuring glossy plastic build", + "handheld object used for massaging gums", + "glossy plastic tapered cylinder object used for massaging gums", + "soft nylon bristles black neck and head electric toothbrush", + "electric toothbrush with black neck and head exterior", + "electric toothbrush primarily used for cleaning teeth", + "electric toothbrush with glossy plastic body", + "rechargeable toothbrush ideal for removing plaque", + "handheld soft nylon bristles rechargeable toothbrush for massaging gums", + "white and tan bristles rounded brush head object for cleaning teeth", + "sonic toothbrush ideal for cleaning teeth", + "handheld black neck and head glossy plastic electric toothbrush", + "massaging gums use of electric toothbrush", + "rounded brush head electric toothbrush used for removing plaque", + "electric toothbrush built from glossy plastic", + "rechargeable toothbrush with about 8 inches tall dimensions", + "soft nylon bristles rechargeable toothbrush used for massaging gums", + "sonic toothbrush with slim handle profile", + "electric toothbrush for cleaning teeth scenarios", + "rechargeable toothbrush appropriate for massaging gums use", + "slim handle about 8 inches tall rechargeable toothbrush", + "sonic toothbrush typically made of soft nylon bristles", + "handheld tapered cylinder electric toothbrush for cleaning teeth", + "deep red body rechargeable toothbrush for cleaning teeth", + "soft nylon bristles electric toothbrush used for removing plaque", + "slim grip black neck and head rounded brush head object", + "deep red body soft nylon bristles rounded brush head sonic toothbrush", + "sonic toothbrush with soft nylon bristles construction", + "slim handle sonic toothbrush ideal for removing plaque", + "electric toothbrush with tapered cylinder profile", + "electric toothbrush with deep red body color", + "rounded brush head object made of glossy plastic", + "soft nylon bristles sonic toothbrush used for removing plaque", + "sonic toothbrush made from glossy plastic", + "deep red body sonic toothbrush suitable for removing plaque", + "sonic toothbrush featuring tapered cylinder shape", + "about 8 inches tall slim handle object", + "electric toothbrush typically made of glossy plastic", + "slim handle soft nylon bristles object for cleaning teeth", + "sonic toothbrush for removing plaque scenarios", + "rechargeable toothbrush appropriate for removing plaque", + "sonic toothbrush for massaging gums activities", + "tapered cylinder electric toothbrush ideal for removing plaque", + "slim grip glossy plastic sonic toothbrush", + "slim grip tapered cylinder object for removing plaque", + "rounded brush head-shaped sonic toothbrush", + "sonic toothbrush in tapered cylinder", + "sonic toothbrush sized handheld", + "rechargeable toothbrush with black neck and head color", + "electric toothbrush in slim grip", + "sonic toothbrush with slim grip dimensions", + "black neck and head slim grip rechargeable toothbrush for massaging gums", + "about 8 inches tall rounded brush head sonic toothbrush" + ], + "caption": { + "color": [ + "deep red body", + "black neck and head", + "white and tan bristles" + ], + "function": [ + "cleaning teeth", + "removing plaque", + "massaging gums" + ], + "material": [ + "glossy plastic", + "soft nylon bristles" + ], + "name": [ + "electric toothbrush", + "rechargeable toothbrush", + "sonic toothbrush" + ], + "shape": [ + "tapered cylinder", + "slim handle", + "rounded brush head" + ], + "size": [ + "handheld", + "about 8 inches tall", + "slim grip" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/equal/00000/metadata.json b/Objects/RoboDojo/Rigid/equal/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..d52dfa8450a23402fb9d01922076288efa750491 --- /dev/null +++ b/Objects/RoboDojo/Rigid/equal/00000/metadata.json @@ -0,0 +1,240 @@ +{ + "physics": { + "mass": 0.008, + "friction": 0.25 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03, + -0.03, + -0.004 + ], + [ + -0.03, + -0.03, + 0.0041 + ], + [ + -0.03, + 0.03, + -0.004 + ], + [ + -0.03, + 0.03, + 0.0041 + ], + [ + 0.03, + -0.03, + -0.004 + ], + [ + 0.03, + -0.03, + 0.0041 + ], + [ + 0.03, + 0.03, + -0.004 + ], + [ + 0.03, + 0.03, + 0.0041 + ] + ], + "extents": [ + 0.06, + 0.06, + 0.0081 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0277, + 0.0321, + 0.0041 + ], + [ + -0.0321, + 0.0277, + 0.0041 + ], + [ + 0.0321, + -0.0277, + 0.0041 + ], + [ + -0.0277, + -0.0321, + 0.0041 + ], + [ + 0.0277, + 0.0321, + -0.004 + ], + [ + -0.0321, + 0.0277, + -0.004 + ], + [ + 0.0321, + -0.0277, + -0.004 + ], + [ + -0.0277, + -0.0321, + -0.004 + ] + ], + "extents": [ + 0.0642, + 0.0642, + 0.0081 + ] + } + }, + "active": {}, + "description": [ + "light gray rim smooth polished surface play-pause toggle", + "metallic silver edge object used for pausing media playback", + "play-pause toggle used to toggling between play and pause states", + "small disc circular disc with beveled edge pause button for pausing media playback", + "light gray rim thumb-width diameter flat cylinder play-pause toggle", + "thumb-width diameter machined metal pause button", + "pause button used to pausing media playback", + "media control disc made from smooth polished surface", + "media control disc for pausing media playback with smooth polished surface", + "small disc metallic silver edge flat cylinder object", + "flat cylinder object used for pausing media playback", + "pause button with circular disc with beveled edge geometry", + "flat cylinder machined metal object for toggling between play and pause states", + "two parallel rectangular indentations on top pause button for pausing media playback", + "play-pause toggle for toggling between play and pause states with smooth polished surface", + "play-pause toggle with small disc dimensions", + "two parallel rectangular indentations on top play-pause toggle ideal for toggling between play and pause states", + "dark gray top circular disc with beveled edge media control disc", + "metallic silver edge pause button designed for pausing media playback", + "thumb-width diameter flat cylinder object", + "play-pause toggle with circular disc with beveled edge profile", + "media control disc made of stainless steel look", + "pause button commonly found in small disc size", + "dark gray top play-pause toggle suitable for toggling between play and pause states", + "media control disc made of machined metal", + "metallic silver edge coin-sized media control disc for pausing media playback", + "media control disc for toggling between play and pause states scenarios", + "dark gray top machined metal two parallel rectangular indentations on top object", + "pause button commonly used for pausing media playback", + "thumb-width diameter light gray rim two parallel rectangular indentations on top for pausing media playback", + "thumb-width diameter two parallel rectangular indentations on top pause button", + "two parallel rectangular indentations on top-shaped media control disc", + "media control disc with flat cylinder profile", + "flat cylinder small disc pause button", + "circular disc with beveled edge small disc media control disc", + "metallic silver edge object used for toggling between play and pause states", + "play-pause toggle typically made of machined metal", + "play-pause toggle used to pausing media playback", + "media control disc designed for toggling between play and pause states", + "toggling between play and pause states with media control disc", + "light gray rim media control disc for toggling between play and pause states", + "two parallel rectangular indentations on top media control disc for toggling between play and pause states", + "coin-sized two parallel rectangular indentations on top object for pausing media playback", + "media control disc with stainless steel look surface", + "pause button sized as small disc", + "machined metal media control disc suitable for pausing media playback", + "light gray rim media control disc designed for pausing media playback", + "play-pause toggle in light gray rim", + "coin-sized play-pause toggle perfect for pausing media playback", + "play-pause toggle with flat cylinder profile", + "pause button optimized for pausing media playback", + "toggling between play and pause states with pause button", + "small disc pause button used for toggling between play and pause states", + "pause button shaped like a circular disc with beveled edge", + "media control disc for toggling between play and pause states use", + "stainless steel look media control disc suitable for toggling between play and pause states", + "pause button in circular disc with beveled edge", + "pause button featuring machined metal build", + "pause button with smooth polished surface construction", + "two parallel rectangular indentations on top stainless steel look object for pausing media playback", + "light gray rim stainless steel look flat cylinder object", + "small disc play-pause toggle perfect for toggling between play and pause states", + "play-pause toggle for pausing media playback scenarios", + "smooth polished surface object for toggling between play and pause states", + "small disc flat cylinder play-pause toggle for toggling between play and pause states", + "metallic silver edge two parallel rectangular indentations on top play-pause toggle", + "dark gray top pause button for toggling between play and pause states", + "media control disc optimized for toggling between play and pause states", + "light gray rim play-pause toggle suitable for pausing media playback", + "dark gray top flat cylinder play-pause toggle", + "play-pause toggle in circular disc with beveled edge", + "two parallel rectangular indentations on top object made of smooth polished surface", + "stainless steel look flat cylinder object used for toggling between play and pause states", + "media control disc for pausing media playback tasks", + "light gray rim coin-sized two parallel rectangular indentations on top play-pause toggle", + "media control disc in small disc", + "light gray rim machined metal play-pause toggle", + "pause button with machined metal surface", + "machined metal play-pause toggle for toggling between play and pause states", + "pausing media playback with pause button", + "metallic silver edge pause button for toggling between play and pause states", + "pause button sized as thumb-width diameter", + "media control disc sized as small disc", + "play-pause toggle with machined metal body", + "media control disc with dark gray top color", + "pause button commonly found in thumb-width diameter size", + "media control disc with light gray rim color", + "play-pause toggle with machined metal construction", + "metallic silver edge media control disc for toggling between play and pause states", + "play-pause toggle made of smooth polished surface", + "pause button typically made of stainless steel look", + "media control disc made from machined metal", + "media control disc colored metallic silver edge", + "play-pause toggle for pausing media playback with smooth polished surface", + "small disc dark gray top two parallel rectangular indentations on top for toggling between play and pause states", + "media control disc with smooth polished surface body", + "small disc flat cylinder object for pausing media playback", + "media control disc commonly found in thumb-width diameter size", + "media control disc for pausing media playback activities", + "machined metal media control disc used for pausing media playback" + ], + "caption": { + "color": [ + "dark gray top", + "light gray rim", + "metallic silver edge" + ], + "function": [ + "pausing media playback", + "toggling between play and pause states" + ], + "material": [ + "machined metal", + "stainless steel look", + "smooth polished surface" + ], + "name": [ + "pause button", + "media control disc", + "play-pause toggle" + ], + "shape": [ + "flat cylinder", + "circular disc with beveled edge", + "two parallel rectangular indentations on top" + ], + "size": [ + "coin-sized", + "small disc", + "thumb-width diameter" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/equal/00000/object.usdz b/Objects/RoboDojo/Rigid/equal/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..2825a502ee5fa11fcb360afe8ee70d54a1f7be6e Binary files /dev/null and b/Objects/RoboDojo/Rigid/equal/00000/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/factory_nut/00000/metadata.json b/Objects/RoboDojo/Rigid/factory_nut/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ab4ffc8ded3bf0cd4a200c124c242d32982aa07e --- /dev/null +++ b/Objects/RoboDojo/Rigid/factory_nut/00000/metadata.json @@ -0,0 +1,249 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0179, + -0.0203, + -0.0086 + ], + [ + -0.0179, + -0.0203, + 0.0105 + ], + [ + -0.0179, + 0.0203, + -0.0086 + ], + [ + -0.0179, + 0.0203, + 0.0105 + ], + [ + 0.0173, + -0.0203, + -0.0086 + ], + [ + 0.0173, + -0.0203, + 0.0105 + ], + [ + 0.0173, + 0.0203, + -0.0086 + ], + [ + 0.0173, + 0.0203, + 0.0105 + ] + ], + "extents": [ + 0.0353, + 0.0407, + 0.0191 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0173, + -0.0203, + 0.0105 + ], + [ + 0.0173, + 0.0203, + 0.0105 + ], + [ + -0.0179, + -0.0203, + 0.0105 + ], + [ + -0.0179, + 0.0203, + 0.0105 + ], + [ + 0.0173, + -0.0203, + -0.0086 + ], + [ + 0.0173, + 0.0203, + -0.0086 + ], + [ + -0.0179, + -0.0203, + -0.0086 + ], + [ + -0.0179, + 0.0203, + -0.0086 + ] + ], + "extents": [ + 0.0353, + 0.0407, + 0.0191 + ] + } + }, + "active": {}, + "physics": { + "mass": 0.03, + "friction": 0.25, + "size": [ + 0.0351, + 0.0405, + 0.019 + ] + }, + "passive": { + "functional": {} + }, + "description": [ + "hex nut sized standard hex nut", + "hex nut ideal for locking assemblies", + "machined metal hexagonal prism machine nut", + "hex nut with standard hex nut dimensions", + "standard hex nut hexagonal prism nut for securing bolts", + "machine nut made from metal", + "nut typically made of metal", + "machine nut for securing bolts scenarios", + "metal nut used for securing bolts", + "metal object for securing bolts", + "nut optimized for locking assemblies", + "nut featuring machined metal build", + "hex nut intended for fastening parts together", + "hex nut appropriate for fastening parts together use", + "metal hexagonal prism for fastening parts together", + "gray small nut for fastening parts together", + "nut made of metal", + "machine nut colored dark gray", + "six-sided exterior metal nut for fastening parts together", + "standard hex nut gray machine nut", + "dark gray machined metal six-sided exterior object", + "machine nut sized standard hex nut", + "gray machine nut for locking assemblies", + "nut made of steel", + "small hex nut for securing bolts", + "hex nut designed for fastening parts together", + "steel nut for locking assemblies", + "nut in finger-sized", + "internal threaded hole hex nut for securing bolts", + "nut appropriate for fastening parts together", + "machine nut featuring metal build", + "gray small hex nut for securing bolts", + "matte finish object used for fastening parts together", + "hex nut in hexagonal prism form", + "nut in six-sided exterior", + "machine nut optimized for fastening parts together", + "nut appropriate for securing bolts use", + "machine nut for locking assemblies use", + "six-sided exterior machined metal machine nut for fastening parts together", + "hex nut optimized for locking assemblies", + "hex nut intended for locking assemblies usage", + "gray steel six-sided exterior object", + "small metal hexagonal prism for fastening parts together", + "nut built from metal", + "gray machine nut used for fastening parts together", + "nut commonly featuring metal", + "matte finish finger-sized internal threaded hole hex nut", + "hex nut featuring internal threaded hole shape", + "dark gray object used for securing bolts", + "small object used for securing bolts", + "gray small machine nut for securing bolts", + "matte finish object used for securing bolts", + "hex nut sized as small", + "standard hex nut hexagonal prism object for fastening parts together", + "machine nut in hexagonal prism", + "hex nut primarily used for locking assemblies", + "nut suitable for securing bolts", + "hex nut intended for fastening parts together usage", + "machine nut for securing bolts tasks", + "machine nut with machined metal body", + "hex nut ideal for fastening parts together", + "matte finish hex nut typically used for securing bolts", + "machine nut in internal threaded hole form", + "hexagonal prism object made of metal", + "steel object for locking assemblies", + "nut with gray exterior", + "steel object for securing bolts", + "matte finish machined metal hexagonal prism machine nut", + "nut used to locking assemblies", + "machined metal object for fastening parts together", + "machine nut for fastening parts together tasks", + "standard hex nut machined metal nut for securing bolts", + "machine nut used to securing bolts", + "dark gray machine nut designed for securing bolts", + "machine nut sized finger-sized", + "hexagonal prism machine nut used for locking assemblies", + "finger-sized hex nut perfect for locking assemblies", + "gray hex nut suitable for fastening parts together", + "finger-sized nut for fastening parts together", + "finger-sized six-sided exterior hex nut", + "nut ideal for securing bolts", + "hexagonal prism hex nut for securing bolts", + "dark gray machined metal hexagonal prism machine nut", + "nut commonly found in standard hex nut size", + "machine nut intended for securing bolts", + "finger-sized machine nut perfect for fastening parts together", + "dark gray machined metal internal threaded hole hex nut", + "nut intended for locking assemblies usage", + "dark gray hex nut for locking assemblies", + "small hexagonal prism machine nut for securing bolts", + "matte finish small metal object", + "standard hex nut gray machined metal machine nut", + "dark gray hex nut designed for securing bolts", + "finger-sized metal object", + "machine nut intended for locking assemblies", + "gray hex nut typically used for fastening parts together", + "nut with hexagonal prism geometry", + "gray standard hex nut machine nut for securing bolts", + "matte finish metal hexagonal prism object", + "hex nut with matte finish exterior" + ], + "caption": { + "color": [ + "gray", + "dark gray", + "matte finish" + ], + "function": [ + "securing bolts", + "fastening parts together", + "locking assemblies" + ], + "material": [ + "metal", + "steel", + "machined metal" + ], + "name": [ + "hex nut", + "nut", + "machine nut" + ], + "shape": [ + "hexagonal prism", + "six-sided exterior", + "internal threaded hole" + ], + "size": [ + "small", + "finger-sized", + "standard hex nut" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/factory_nut/00001/metadata.json b/Objects/RoboDojo/Rigid/factory_nut/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ab4ffc8ded3bf0cd4a200c124c242d32982aa07e --- /dev/null +++ b/Objects/RoboDojo/Rigid/factory_nut/00001/metadata.json @@ -0,0 +1,249 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0179, + -0.0203, + -0.0086 + ], + [ + -0.0179, + -0.0203, + 0.0105 + ], + [ + -0.0179, + 0.0203, + -0.0086 + ], + [ + -0.0179, + 0.0203, + 0.0105 + ], + [ + 0.0173, + -0.0203, + -0.0086 + ], + [ + 0.0173, + -0.0203, + 0.0105 + ], + [ + 0.0173, + 0.0203, + -0.0086 + ], + [ + 0.0173, + 0.0203, + 0.0105 + ] + ], + "extents": [ + 0.0353, + 0.0407, + 0.0191 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0173, + -0.0203, + 0.0105 + ], + [ + 0.0173, + 0.0203, + 0.0105 + ], + [ + -0.0179, + -0.0203, + 0.0105 + ], + [ + -0.0179, + 0.0203, + 0.0105 + ], + [ + 0.0173, + -0.0203, + -0.0086 + ], + [ + 0.0173, + 0.0203, + -0.0086 + ], + [ + -0.0179, + -0.0203, + -0.0086 + ], + [ + -0.0179, + 0.0203, + -0.0086 + ] + ], + "extents": [ + 0.0353, + 0.0407, + 0.0191 + ] + } + }, + "active": {}, + "physics": { + "mass": 0.03, + "friction": 0.25, + "size": [ + 0.0351, + 0.0405, + 0.019 + ] + }, + "passive": { + "functional": {} + }, + "description": [ + "hex nut sized standard hex nut", + "hex nut ideal for locking assemblies", + "machined metal hexagonal prism machine nut", + "hex nut with standard hex nut dimensions", + "standard hex nut hexagonal prism nut for securing bolts", + "machine nut made from metal", + "nut typically made of metal", + "machine nut for securing bolts scenarios", + "metal nut used for securing bolts", + "metal object for securing bolts", + "nut optimized for locking assemblies", + "nut featuring machined metal build", + "hex nut intended for fastening parts together", + "hex nut appropriate for fastening parts together use", + "metal hexagonal prism for fastening parts together", + "gray small nut for fastening parts together", + "nut made of metal", + "machine nut colored dark gray", + "six-sided exterior metal nut for fastening parts together", + "standard hex nut gray machine nut", + "dark gray machined metal six-sided exterior object", + "machine nut sized standard hex nut", + "gray machine nut for locking assemblies", + "nut made of steel", + "small hex nut for securing bolts", + "hex nut designed for fastening parts together", + "steel nut for locking assemblies", + "nut in finger-sized", + "internal threaded hole hex nut for securing bolts", + "nut appropriate for fastening parts together", + "machine nut featuring metal build", + "gray small hex nut for securing bolts", + "matte finish object used for fastening parts together", + "hex nut in hexagonal prism form", + "nut in six-sided exterior", + "machine nut optimized for fastening parts together", + "nut appropriate for securing bolts use", + "machine nut for locking assemblies use", + "six-sided exterior machined metal machine nut for fastening parts together", + "hex nut optimized for locking assemblies", + "hex nut intended for locking assemblies usage", + "gray steel six-sided exterior object", + "small metal hexagonal prism for fastening parts together", + "nut built from metal", + "gray machine nut used for fastening parts together", + "nut commonly featuring metal", + "matte finish finger-sized internal threaded hole hex nut", + "hex nut featuring internal threaded hole shape", + "dark gray object used for securing bolts", + "small object used for securing bolts", + "gray small machine nut for securing bolts", + "matte finish object used for securing bolts", + "hex nut sized as small", + "standard hex nut hexagonal prism object for fastening parts together", + "machine nut in hexagonal prism", + "hex nut primarily used for locking assemblies", + "nut suitable for securing bolts", + "hex nut intended for fastening parts together usage", + "machine nut for securing bolts tasks", + "machine nut with machined metal body", + "hex nut ideal for fastening parts together", + "matte finish hex nut typically used for securing bolts", + "machine nut in internal threaded hole form", + "hexagonal prism object made of metal", + "steel object for locking assemblies", + "nut with gray exterior", + "steel object for securing bolts", + "matte finish machined metal hexagonal prism machine nut", + "nut used to locking assemblies", + "machined metal object for fastening parts together", + "machine nut for fastening parts together tasks", + "standard hex nut machined metal nut for securing bolts", + "machine nut used to securing bolts", + "dark gray machine nut designed for securing bolts", + "machine nut sized finger-sized", + "hexagonal prism machine nut used for locking assemblies", + "finger-sized hex nut perfect for locking assemblies", + "gray hex nut suitable for fastening parts together", + "finger-sized nut for fastening parts together", + "finger-sized six-sided exterior hex nut", + "nut ideal for securing bolts", + "hexagonal prism hex nut for securing bolts", + "dark gray machined metal hexagonal prism machine nut", + "nut commonly found in standard hex nut size", + "machine nut intended for securing bolts", + "finger-sized machine nut perfect for fastening parts together", + "dark gray machined metal internal threaded hole hex nut", + "nut intended for locking assemblies usage", + "dark gray hex nut for locking assemblies", + "small hexagonal prism machine nut for securing bolts", + "matte finish small metal object", + "standard hex nut gray machined metal machine nut", + "dark gray hex nut designed for securing bolts", + "finger-sized metal object", + "machine nut intended for locking assemblies", + "gray hex nut typically used for fastening parts together", + "nut with hexagonal prism geometry", + "gray standard hex nut machine nut for securing bolts", + "matte finish metal hexagonal prism object", + "hex nut with matte finish exterior" + ], + "caption": { + "color": [ + "gray", + "dark gray", + "matte finish" + ], + "function": [ + "securing bolts", + "fastening parts together", + "locking assemblies" + ], + "material": [ + "metal", + "steel", + "machined metal" + ], + "name": [ + "hex nut", + "nut", + "machine nut" + ], + "shape": [ + "hexagonal prism", + "six-sided exterior", + "internal threaded hole" + ], + "size": [ + "small", + "finger-sized", + "standard hex nut" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/factory_nut/00002/metadata.json b/Objects/RoboDojo/Rigid/factory_nut/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ab4ffc8ded3bf0cd4a200c124c242d32982aa07e --- /dev/null +++ b/Objects/RoboDojo/Rigid/factory_nut/00002/metadata.json @@ -0,0 +1,249 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0179, + -0.0203, + -0.0086 + ], + [ + -0.0179, + -0.0203, + 0.0105 + ], + [ + -0.0179, + 0.0203, + -0.0086 + ], + [ + -0.0179, + 0.0203, + 0.0105 + ], + [ + 0.0173, + -0.0203, + -0.0086 + ], + [ + 0.0173, + -0.0203, + 0.0105 + ], + [ + 0.0173, + 0.0203, + -0.0086 + ], + [ + 0.0173, + 0.0203, + 0.0105 + ] + ], + "extents": [ + 0.0353, + 0.0407, + 0.0191 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0173, + -0.0203, + 0.0105 + ], + [ + 0.0173, + 0.0203, + 0.0105 + ], + [ + -0.0179, + -0.0203, + 0.0105 + ], + [ + -0.0179, + 0.0203, + 0.0105 + ], + [ + 0.0173, + -0.0203, + -0.0086 + ], + [ + 0.0173, + 0.0203, + -0.0086 + ], + [ + -0.0179, + -0.0203, + -0.0086 + ], + [ + -0.0179, + 0.0203, + -0.0086 + ] + ], + "extents": [ + 0.0353, + 0.0407, + 0.0191 + ] + } + }, + "active": {}, + "physics": { + "mass": 0.03, + "friction": 0.25, + "size": [ + 0.0351, + 0.0405, + 0.019 + ] + }, + "passive": { + "functional": {} + }, + "description": [ + "hex nut sized standard hex nut", + "hex nut ideal for locking assemblies", + "machined metal hexagonal prism machine nut", + "hex nut with standard hex nut dimensions", + "standard hex nut hexagonal prism nut for securing bolts", + "machine nut made from metal", + "nut typically made of metal", + "machine nut for securing bolts scenarios", + "metal nut used for securing bolts", + "metal object for securing bolts", + "nut optimized for locking assemblies", + "nut featuring machined metal build", + "hex nut intended for fastening parts together", + "hex nut appropriate for fastening parts together use", + "metal hexagonal prism for fastening parts together", + "gray small nut for fastening parts together", + "nut made of metal", + "machine nut colored dark gray", + "six-sided exterior metal nut for fastening parts together", + "standard hex nut gray machine nut", + "dark gray machined metal six-sided exterior object", + "machine nut sized standard hex nut", + "gray machine nut for locking assemblies", + "nut made of steel", + "small hex nut for securing bolts", + "hex nut designed for fastening parts together", + "steel nut for locking assemblies", + "nut in finger-sized", + "internal threaded hole hex nut for securing bolts", + "nut appropriate for fastening parts together", + "machine nut featuring metal build", + "gray small hex nut for securing bolts", + "matte finish object used for fastening parts together", + "hex nut in hexagonal prism form", + "nut in six-sided exterior", + "machine nut optimized for fastening parts together", + "nut appropriate for securing bolts use", + "machine nut for locking assemblies use", + "six-sided exterior machined metal machine nut for fastening parts together", + "hex nut optimized for locking assemblies", + "hex nut intended for locking assemblies usage", + "gray steel six-sided exterior object", + "small metal hexagonal prism for fastening parts together", + "nut built from metal", + "gray machine nut used for fastening parts together", + "nut commonly featuring metal", + "matte finish finger-sized internal threaded hole hex nut", + "hex nut featuring internal threaded hole shape", + "dark gray object used for securing bolts", + "small object used for securing bolts", + "gray small machine nut for securing bolts", + "matte finish object used for securing bolts", + "hex nut sized as small", + "standard hex nut hexagonal prism object for fastening parts together", + "machine nut in hexagonal prism", + "hex nut primarily used for locking assemblies", + "nut suitable for securing bolts", + "hex nut intended for fastening parts together usage", + "machine nut for securing bolts tasks", + "machine nut with machined metal body", + "hex nut ideal for fastening parts together", + "matte finish hex nut typically used for securing bolts", + "machine nut in internal threaded hole form", + "hexagonal prism object made of metal", + "steel object for locking assemblies", + "nut with gray exterior", + "steel object for securing bolts", + "matte finish machined metal hexagonal prism machine nut", + "nut used to locking assemblies", + "machined metal object for fastening parts together", + "machine nut for fastening parts together tasks", + "standard hex nut machined metal nut for securing bolts", + "machine nut used to securing bolts", + "dark gray machine nut designed for securing bolts", + "machine nut sized finger-sized", + "hexagonal prism machine nut used for locking assemblies", + "finger-sized hex nut perfect for locking assemblies", + "gray hex nut suitable for fastening parts together", + "finger-sized nut for fastening parts together", + "finger-sized six-sided exterior hex nut", + "nut ideal for securing bolts", + "hexagonal prism hex nut for securing bolts", + "dark gray machined metal hexagonal prism machine nut", + "nut commonly found in standard hex nut size", + "machine nut intended for securing bolts", + "finger-sized machine nut perfect for fastening parts together", + "dark gray machined metal internal threaded hole hex nut", + "nut intended for locking assemblies usage", + "dark gray hex nut for locking assemblies", + "small hexagonal prism machine nut for securing bolts", + "matte finish small metal object", + "standard hex nut gray machined metal machine nut", + "dark gray hex nut designed for securing bolts", + "finger-sized metal object", + "machine nut intended for locking assemblies", + "gray hex nut typically used for fastening parts together", + "nut with hexagonal prism geometry", + "gray standard hex nut machine nut for securing bolts", + "matte finish metal hexagonal prism object", + "hex nut with matte finish exterior" + ], + "caption": { + "color": [ + "gray", + "dark gray", + "matte finish" + ], + "function": [ + "securing bolts", + "fastening parts together", + "locking assemblies" + ], + "material": [ + "metal", + "steel", + "machined metal" + ], + "name": [ + "hex nut", + "nut", + "machine nut" + ], + "shape": [ + "hexagonal prism", + "six-sided exterior", + "internal threaded hole" + ], + "size": [ + "small", + "finger-sized", + "standard hex nut" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/factory_nut/00003/metadata.json b/Objects/RoboDojo/Rigid/factory_nut/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ab4ffc8ded3bf0cd4a200c124c242d32982aa07e --- /dev/null +++ b/Objects/RoboDojo/Rigid/factory_nut/00003/metadata.json @@ -0,0 +1,249 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0179, + -0.0203, + -0.0086 + ], + [ + -0.0179, + -0.0203, + 0.0105 + ], + [ + -0.0179, + 0.0203, + -0.0086 + ], + [ + -0.0179, + 0.0203, + 0.0105 + ], + [ + 0.0173, + -0.0203, + -0.0086 + ], + [ + 0.0173, + -0.0203, + 0.0105 + ], + [ + 0.0173, + 0.0203, + -0.0086 + ], + [ + 0.0173, + 0.0203, + 0.0105 + ] + ], + "extents": [ + 0.0353, + 0.0407, + 0.0191 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0173, + -0.0203, + 0.0105 + ], + [ + 0.0173, + 0.0203, + 0.0105 + ], + [ + -0.0179, + -0.0203, + 0.0105 + ], + [ + -0.0179, + 0.0203, + 0.0105 + ], + [ + 0.0173, + -0.0203, + -0.0086 + ], + [ + 0.0173, + 0.0203, + -0.0086 + ], + [ + -0.0179, + -0.0203, + -0.0086 + ], + [ + -0.0179, + 0.0203, + -0.0086 + ] + ], + "extents": [ + 0.0353, + 0.0407, + 0.0191 + ] + } + }, + "active": {}, + "physics": { + "mass": 0.03, + "friction": 0.25, + "size": [ + 0.0351, + 0.0405, + 0.019 + ] + }, + "passive": { + "functional": {} + }, + "description": [ + "hex nut sized standard hex nut", + "hex nut ideal for locking assemblies", + "machined metal hexagonal prism machine nut", + "hex nut with standard hex nut dimensions", + "standard hex nut hexagonal prism nut for securing bolts", + "machine nut made from metal", + "nut typically made of metal", + "machine nut for securing bolts scenarios", + "metal nut used for securing bolts", + "metal object for securing bolts", + "nut optimized for locking assemblies", + "nut featuring machined metal build", + "hex nut intended for fastening parts together", + "hex nut appropriate for fastening parts together use", + "metal hexagonal prism for fastening parts together", + "gray small nut for fastening parts together", + "nut made of metal", + "machine nut colored dark gray", + "six-sided exterior metal nut for fastening parts together", + "standard hex nut gray machine nut", + "dark gray machined metal six-sided exterior object", + "machine nut sized standard hex nut", + "gray machine nut for locking assemblies", + "nut made of steel", + "small hex nut for securing bolts", + "hex nut designed for fastening parts together", + "steel nut for locking assemblies", + "nut in finger-sized", + "internal threaded hole hex nut for securing bolts", + "nut appropriate for fastening parts together", + "machine nut featuring metal build", + "gray small hex nut for securing bolts", + "matte finish object used for fastening parts together", + "hex nut in hexagonal prism form", + "nut in six-sided exterior", + "machine nut optimized for fastening parts together", + "nut appropriate for securing bolts use", + "machine nut for locking assemblies use", + "six-sided exterior machined metal machine nut for fastening parts together", + "hex nut optimized for locking assemblies", + "hex nut intended for locking assemblies usage", + "gray steel six-sided exterior object", + "small metal hexagonal prism for fastening parts together", + "nut built from metal", + "gray machine nut used for fastening parts together", + "nut commonly featuring metal", + "matte finish finger-sized internal threaded hole hex nut", + "hex nut featuring internal threaded hole shape", + "dark gray object used for securing bolts", + "small object used for securing bolts", + "gray small machine nut for securing bolts", + "matte finish object used for securing bolts", + "hex nut sized as small", + "standard hex nut hexagonal prism object for fastening parts together", + "machine nut in hexagonal prism", + "hex nut primarily used for locking assemblies", + "nut suitable for securing bolts", + "hex nut intended for fastening parts together usage", + "machine nut for securing bolts tasks", + "machine nut with machined metal body", + "hex nut ideal for fastening parts together", + "matte finish hex nut typically used for securing bolts", + "machine nut in internal threaded hole form", + "hexagonal prism object made of metal", + "steel object for locking assemblies", + "nut with gray exterior", + "steel object for securing bolts", + "matte finish machined metal hexagonal prism machine nut", + "nut used to locking assemblies", + "machined metal object for fastening parts together", + "machine nut for fastening parts together tasks", + "standard hex nut machined metal nut for securing bolts", + "machine nut used to securing bolts", + "dark gray machine nut designed for securing bolts", + "machine nut sized finger-sized", + "hexagonal prism machine nut used for locking assemblies", + "finger-sized hex nut perfect for locking assemblies", + "gray hex nut suitable for fastening parts together", + "finger-sized nut for fastening parts together", + "finger-sized six-sided exterior hex nut", + "nut ideal for securing bolts", + "hexagonal prism hex nut for securing bolts", + "dark gray machined metal hexagonal prism machine nut", + "nut commonly found in standard hex nut size", + "machine nut intended for securing bolts", + "finger-sized machine nut perfect for fastening parts together", + "dark gray machined metal internal threaded hole hex nut", + "nut intended for locking assemblies usage", + "dark gray hex nut for locking assemblies", + "small hexagonal prism machine nut for securing bolts", + "matte finish small metal object", + "standard hex nut gray machined metal machine nut", + "dark gray hex nut designed for securing bolts", + "finger-sized metal object", + "machine nut intended for locking assemblies", + "gray hex nut typically used for fastening parts together", + "nut with hexagonal prism geometry", + "gray standard hex nut machine nut for securing bolts", + "matte finish metal hexagonal prism object", + "hex nut with matte finish exterior" + ], + "caption": { + "color": [ + "gray", + "dark gray", + "matte finish" + ], + "function": [ + "securing bolts", + "fastening parts together", + "locking assemblies" + ], + "material": [ + "metal", + "steel", + "machined metal" + ], + "name": [ + "hex nut", + "nut", + "machine nut" + ], + "shape": [ + "hexagonal prism", + "six-sided exterior", + "internal threaded hole" + ], + "size": [ + "small", + "finger-sized", + "standard hex nut" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/factory_nut/00004/metadata.json b/Objects/RoboDojo/Rigid/factory_nut/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ab4ffc8ded3bf0cd4a200c124c242d32982aa07e --- /dev/null +++ b/Objects/RoboDojo/Rigid/factory_nut/00004/metadata.json @@ -0,0 +1,249 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0179, + -0.0203, + -0.0086 + ], + [ + -0.0179, + -0.0203, + 0.0105 + ], + [ + -0.0179, + 0.0203, + -0.0086 + ], + [ + -0.0179, + 0.0203, + 0.0105 + ], + [ + 0.0173, + -0.0203, + -0.0086 + ], + [ + 0.0173, + -0.0203, + 0.0105 + ], + [ + 0.0173, + 0.0203, + -0.0086 + ], + [ + 0.0173, + 0.0203, + 0.0105 + ] + ], + "extents": [ + 0.0353, + 0.0407, + 0.0191 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0173, + -0.0203, + 0.0105 + ], + [ + 0.0173, + 0.0203, + 0.0105 + ], + [ + -0.0179, + -0.0203, + 0.0105 + ], + [ + -0.0179, + 0.0203, + 0.0105 + ], + [ + 0.0173, + -0.0203, + -0.0086 + ], + [ + 0.0173, + 0.0203, + -0.0086 + ], + [ + -0.0179, + -0.0203, + -0.0086 + ], + [ + -0.0179, + 0.0203, + -0.0086 + ] + ], + "extents": [ + 0.0353, + 0.0407, + 0.0191 + ] + } + }, + "active": {}, + "physics": { + "mass": 0.03, + "friction": 0.25, + "size": [ + 0.0351, + 0.0405, + 0.019 + ] + }, + "passive": { + "functional": {} + }, + "description": [ + "hex nut sized standard hex nut", + "hex nut ideal for locking assemblies", + "machined metal hexagonal prism machine nut", + "hex nut with standard hex nut dimensions", + "standard hex nut hexagonal prism nut for securing bolts", + "machine nut made from metal", + "nut typically made of metal", + "machine nut for securing bolts scenarios", + "metal nut used for securing bolts", + "metal object for securing bolts", + "nut optimized for locking assemblies", + "nut featuring machined metal build", + "hex nut intended for fastening parts together", + "hex nut appropriate for fastening parts together use", + "metal hexagonal prism for fastening parts together", + "gray small nut for fastening parts together", + "nut made of metal", + "machine nut colored dark gray", + "six-sided exterior metal nut for fastening parts together", + "standard hex nut gray machine nut", + "dark gray machined metal six-sided exterior object", + "machine nut sized standard hex nut", + "gray machine nut for locking assemblies", + "nut made of steel", + "small hex nut for securing bolts", + "hex nut designed for fastening parts together", + "steel nut for locking assemblies", + "nut in finger-sized", + "internal threaded hole hex nut for securing bolts", + "nut appropriate for fastening parts together", + "machine nut featuring metal build", + "gray small hex nut for securing bolts", + "matte finish object used for fastening parts together", + "hex nut in hexagonal prism form", + "nut in six-sided exterior", + "machine nut optimized for fastening parts together", + "nut appropriate for securing bolts use", + "machine nut for locking assemblies use", + "six-sided exterior machined metal machine nut for fastening parts together", + "hex nut optimized for locking assemblies", + "hex nut intended for locking assemblies usage", + "gray steel six-sided exterior object", + "small metal hexagonal prism for fastening parts together", + "nut built from metal", + "gray machine nut used for fastening parts together", + "nut commonly featuring metal", + "matte finish finger-sized internal threaded hole hex nut", + "hex nut featuring internal threaded hole shape", + "dark gray object used for securing bolts", + "small object used for securing bolts", + "gray small machine nut for securing bolts", + "matte finish object used for securing bolts", + "hex nut sized as small", + "standard hex nut hexagonal prism object for fastening parts together", + "machine nut in hexagonal prism", + "hex nut primarily used for locking assemblies", + "nut suitable for securing bolts", + "hex nut intended for fastening parts together usage", + "machine nut for securing bolts tasks", + "machine nut with machined metal body", + "hex nut ideal for fastening parts together", + "matte finish hex nut typically used for securing bolts", + "machine nut in internal threaded hole form", + "hexagonal prism object made of metal", + "steel object for locking assemblies", + "nut with gray exterior", + "steel object for securing bolts", + "matte finish machined metal hexagonal prism machine nut", + "nut used to locking assemblies", + "machined metal object for fastening parts together", + "machine nut for fastening parts together tasks", + "standard hex nut machined metal nut for securing bolts", + "machine nut used to securing bolts", + "dark gray machine nut designed for securing bolts", + "machine nut sized finger-sized", + "hexagonal prism machine nut used for locking assemblies", + "finger-sized hex nut perfect for locking assemblies", + "gray hex nut suitable for fastening parts together", + "finger-sized nut for fastening parts together", + "finger-sized six-sided exterior hex nut", + "nut ideal for securing bolts", + "hexagonal prism hex nut for securing bolts", + "dark gray machined metal hexagonal prism machine nut", + "nut commonly found in standard hex nut size", + "machine nut intended for securing bolts", + "finger-sized machine nut perfect for fastening parts together", + "dark gray machined metal internal threaded hole hex nut", + "nut intended for locking assemblies usage", + "dark gray hex nut for locking assemblies", + "small hexagonal prism machine nut for securing bolts", + "matte finish small metal object", + "standard hex nut gray machined metal machine nut", + "dark gray hex nut designed for securing bolts", + "finger-sized metal object", + "machine nut intended for locking assemblies", + "gray hex nut typically used for fastening parts together", + "nut with hexagonal prism geometry", + "gray standard hex nut machine nut for securing bolts", + "matte finish metal hexagonal prism object", + "hex nut with matte finish exterior" + ], + "caption": { + "color": [ + "gray", + "dark gray", + "matte finish" + ], + "function": [ + "securing bolts", + "fastening parts together", + "locking assemblies" + ], + "material": [ + "metal", + "steel", + "machined metal" + ], + "name": [ + "hex nut", + "nut", + "machine nut" + ], + "shape": [ + "hexagonal prism", + "six-sided exterior", + "internal threaded hole" + ], + "size": [ + "small", + "finger-sized", + "standard hex nut" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/figurine/00000/metadata.json b/Objects/RoboDojo/Rigid/figurine/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..f7413f94365115fea89f825f107fa71734cb7e80 --- /dev/null +++ b/Objects/RoboDojo/Rigid/figurine/00000/metadata.json @@ -0,0 +1,111 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0338, + -0.0289, + -0.0601 + ], + [ + -0.0338, + -0.0289, + 0.0599 + ], + [ + -0.0338, + 0.029, + -0.0601 + ], + [ + -0.0338, + 0.029, + 0.0599 + ], + [ + 0.0337, + -0.0289, + -0.0601 + ], + [ + 0.0337, + -0.0289, + 0.0599 + ], + [ + 0.0337, + 0.029, + -0.0601 + ], + [ + 0.0337, + 0.029, + 0.0599 + ] + ], + "extents": [ + 0.0676, + 0.0579, + 0.12 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0406, + 0.0014, + 0.0594 + ], + [ + -0.0386, + -0.0077, + -0.0617 + ], + [ + 0.0014, + -0.0369, + 0.063 + ], + [ + 0.0034, + -0.0459, + -0.0582 + ], + [ + -0.0025, + 0.0431, + 0.0569 + ], + [ + -0.0004, + 0.034, + -0.0642 + ], + [ + 0.0395, + 0.0048, + 0.0605 + ], + [ + 0.0416, + -0.0043, + -0.0606 + ] + ], + "extents": [ + 0.0822, + 0.089, + 0.1272 + ] + } + }, + "active": {}, + "description": [ + "beige bear-hat figurine" + ], + "caption": "" +} diff --git a/Objects/RoboDojo/Rigid/game_machine/00000/metadata.json b/Objects/RoboDojo/Rigid/game_machine/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..754ecfd2a85d049136541aef9dc2f14d008fbd7b --- /dev/null +++ b/Objects/RoboDojo/Rigid/game_machine/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.05, + "friction": 0.38 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0301, + -0.0115, + -0.0324 + ], + [ + -0.0301, + -0.0115, + 0.0323 + ], + [ + -0.0301, + 0.0115, + -0.0324 + ], + [ + -0.0301, + 0.0115, + 0.0323 + ], + [ + 0.03, + -0.0115, + -0.0324 + ], + [ + 0.03, + -0.0115, + 0.0323 + ], + [ + 0.03, + 0.0115, + -0.0324 + ], + [ + 0.03, + 0.0115, + 0.0323 + ] + ], + "extents": [ + 0.0601, + 0.0229, + 0.0647 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0387, + 0.0114, + 0.0171 + ], + [ + 0.0156, + 0.0117, + -0.0401 + ], + [ + -0.0176, + 0.0113, + 0.0398 + ], + [ + -0.0407, + 0.0116, + -0.0174 + ], + [ + 0.0387, + -0.0114, + 0.017 + ], + [ + 0.0156, + -0.0112, + -0.0402 + ], + [ + -0.0176, + -0.0115, + 0.0397 + ], + [ + -0.0407, + -0.0113, + -0.0175 + ] + ], + "extents": [ + 0.0793, + 0.0232, + 0.08 + ] + } + }, + "active": {}, + "description": [ + "Jia Yuan pet for feeding and playing with digital creature activities", + "glossy plastic bright green Jia Yuan pet", + "silver-gray back rounded front with flat screen Tamagotchi used for feeding and playing with digital creature", + "palm-sized Jia Yuan pet used for keeping track of pet needs", + "Jia Yuan pet for feeding and playing with digital creature", + "fits in hand silver-gray back glossy plastic Jia Yuan pet", + "compact egg-shaped object", + "Jia Yuan pet made from metal chain", + "metal chain object used for raising a virtual pet", + "compact silver-gray back LCD screen rounded front with flat screen object", + "digital pet primarily used for raising a virtual pet", + "fits in hand egg-shaped Tamagotchi for keeping track of pet needs", + "fits in hand silver-gray back object for keeping track of pet needs", + "rounded front with flat screen glossy plastic object for feeding and playing with digital creature", + "compact bright green looped top for chain for keeping track of pet needs", + "compact bright green Jia Yuan pet", + "compact digital pet perfect for feeding and playing with digital creature", + "compact metal chain looped top for chain for keeping track of pet needs", + "Jia Yuan pet sized as fits in hand", + "silver-gray back digital pet typically used for keeping track of pet needs", + "rounded front with flat screen metal chain Jia Yuan pet for feeding and playing with digital creature", + "rounded front with flat screen object used for keeping track of pet needs", + "Jia Yuan pet with fits in hand dimensions", + "Jia Yuan pet for keeping track of pet needs use", + "digital pet suitable for feeding and playing with digital creature", + "silver-gray back palm-sized egg-shaped Jia Yuan pet", + "digital pet with bright green color", + "Jia Yuan pet shaped like a egg-shaped", + "digital pet ideal for feeding and playing with digital creature", + "Jia Yuan pet for raising a virtual pet tasks", + "Tamagotchi for feeding and playing with digital creature with glossy plastic", + "Tamagotchi commonly used for raising a virtual pet", + "digital pet with yellow buttons exterior", + "Tamagotchi suitable for raising a virtual pet", + "Tamagotchi featuring looped top for chain shape", + "digital pet appropriate for keeping track of pet needs", + "Tamagotchi shaped like a looped top for chain", + "Tamagotchi in rounded front with flat screen", + "fits in hand object used for keeping track of pet needs", + "fits in hand Tamagotchi used for keeping track of pet needs", + "bright green compact glossy plastic object", + "egg-shaped metal chain Jia Yuan pet for feeding and playing with digital creature", + "bright green Jia Yuan pet for feeding and playing with digital creature", + "digital pet with glossy plastic construction", + "fits in hand silver-gray back rounded front with flat screen object", + "bright green Jia Yuan pet typically used for raising a virtual pet", + "silver-gray back fits in hand metal chain object", + "Tamagotchi featuring egg-shaped shape", + "digital pet colored silver-gray back", + "digital pet with palm-sized dimensions", + "digital pet built from metal chain", + "Jia Yuan pet intended for raising a virtual pet", + "compact object used for raising a virtual pet", + "metal chain rounded front with flat screen for raising a virtual pet", + "looped top for chain Jia Yuan pet used for raising a virtual pet", + "palm-sized glossy plastic object", + "glossy plastic digital pet used for raising a virtual pet", + "Tamagotchi with palm-sized dimensions", + "Jia Yuan pet with egg-shaped geometry", + "glossy plastic Jia Yuan pet suitable for raising a virtual pet", + "Jia Yuan pet for raising a virtual pet scenarios", + "Tamagotchi built from LCD screen", + "looped top for chain palm-sized Tamagotchi", + "rounded front with flat screen-shaped Tamagotchi", + "digital pet typically made of metal chain", + "yellow buttons palm-sized egg-shaped Tamagotchi", + "Tamagotchi for keeping track of pet needs", + "Tamagotchi intended for raising a virtual pet", + "egg-shaped Tamagotchi used for keeping track of pet needs", + "rounded front with flat screen Jia Yuan pet ideal for feeding and playing with digital creature", + "compact glossy plastic rounded front with flat screen for feeding and playing with digital creature", + "metal chain digital pet used for raising a virtual pet", + "Jia Yuan pet ideal for raising a virtual pet", + "LCD screen egg-shaped for feeding and playing with digital creature", + "compact egg-shaped object for feeding and playing with digital creature", + "Tamagotchi commonly featuring metal chain", + "digital pet for keeping track of pet needs activities", + "Jia Yuan pet with glossy plastic surface", + "Jia Yuan pet primarily used for raising a virtual pet", + "yellow buttons object used for raising a virtual pet", + "metal chain looped top for chain for keeping track of pet needs", + "glossy plastic Tamagotchi for feeding and playing with digital creature", + "palm-sized looped top for chain Tamagotchi", + "egg-shaped Jia Yuan pet used for raising a virtual pet", + "Tamagotchi sized compact", + "raising a virtual pet with Tamagotchi", + "yellow buttons looped top for chain Tamagotchi", + "compact Tamagotchi used for feeding and playing with digital creature", + "rounded front with flat screen object made of metal chain", + "silver-gray back Jia Yuan pet suitable for feeding and playing with digital creature", + "digital pet for raising a virtual pet activities", + "Jia Yuan pet intended for feeding and playing with digital creature usage", + "digital pet made of glossy plastic", + "LCD screen silver-gray back Tamagotchi", + "Tamagotchi sized as palm-sized", + "digital pet primarily used for feeding and playing with digital creature", + "Jia Yuan pet primarily used for keeping track of pet needs", + "Tamagotchi with rounded front with flat screen geometry", + "palm-sized yellow buttons glossy plastic Tamagotchi", + "compact Jia Yuan pet perfect for feeding and playing with digital creature" + ], + "caption": { + "color": [ + "bright green", + "silver-gray back", + "yellow buttons" + ], + "material": [ + "glossy plastic", + "metal chain", + "LCD screen" + ], + "size": [ + "palm-sized", + "fits in hand", + "compact" + ], + "name": [ + "Tamagotchi", + "digital pet", + "Jia Yuan pet" + ], + "shape": [ + "egg-shaped", + "rounded front with flat screen", + "looped top for chain" + ], + "function": [ + "raising a virtual pet", + "feeding and playing with digital creature", + "keeping track of pet needs" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/garage/00016/metadata.json b/Objects/RoboDojo/Rigid/garage/00016/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..94f8a69373488fad2cc5fcf70065dbc4d7250524 --- /dev/null +++ b/Objects/RoboDojo/Rigid/garage/00016/metadata.json @@ -0,0 +1,243 @@ +{ + "physics": { + "mass": 0.35, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0669, + -0.0653, + -0.1202 + ], + [ + -0.0669, + -0.0653, + 0.1198 + ], + [ + -0.0669, + 0.0655, + -0.1202 + ], + [ + -0.0669, + 0.0655, + 0.1198 + ], + [ + 0.0666, + -0.0653, + -0.1202 + ], + [ + 0.0666, + -0.0653, + 0.1198 + ], + [ + 0.0666, + 0.0655, + -0.1202 + ], + [ + 0.0666, + 0.0655, + 0.1198 + ] + ], + "extents": [ + 0.1334, + 0.1308, + 0.24 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.076, + -0.0545, + 0.1199 + ], + [ + -0.076, + -0.0545, + -0.1201 + ], + [ + 0.0577, + -0.0721, + 0.1198 + ], + [ + 0.0577, + -0.0721, + -0.1202 + ], + [ + -0.0593, + 0.0724, + 0.1198 + ], + [ + -0.0594, + 0.0724, + -0.1201 + ], + [ + 0.0744, + 0.0549, + 0.1198 + ], + [ + 0.0744, + 0.0548, + -0.1202 + ] + ], + "extents": [ + 0.1505, + 0.1445, + 0.24 + ] + } + }, + "active": {}, + "description": [ + "black collectible figurine one leg raised Naruto Kakashi statue", + "Kakashi Hatake figure suitable for showcasing character", + "circular base with engraved text roughly 6 inches tall copy ninja Kakashi", + "Naruto Kakashi statue for showcasing character tasks", + "hand-sized painted resin one leg raised for showcasing character", + "copy ninja Kakashi built from matte base", + "copy ninja Kakashi suitable for displaying", + "collectible figurine black Naruto Kakashi statue", + "copy ninja Kakashi appropriate for collecting", + "black hand-sized matte base object", + "glossy plastic copy ninja Kakashi", + "long sword on back object used for showcasing character", + "roughly 6 inches tall dynamic crouching pose Kakashi Hatake figure", + "matte base object used for displaying", + "copy ninja Kakashi for showcasing character with glossy plastic", + "roughly 6 inches tall object used for showcasing character", + "Kakashi Hatake figure built from matte base", + "hand-sized dark gray painted resin long sword on back object", + "hand-sized dark gray glossy plastic long sword on back object", + "hand-sized glossy plastic Naruto Kakashi statue for displaying", + "Kakashi Hatake figure for showcasing character with glossy plastic", + "dynamic crouching pose Kakashi Hatake figure used for displaying", + "Kakashi Hatake figure in hand-sized", + "black one leg raised object for displaying", + "collectible figurine long sword on back object for displaying", + "Kakashi Hatake figure intended for collecting", + "Naruto Kakashi statue primarily used for displaying", + "hand-sized dynamic crouching pose Kakashi Hatake figure", + "Naruto Kakashi statue in roughly 6 inches tall", + "copy ninja Kakashi for showcasing character activities", + "copy ninja Kakashi intended for showcasing character usage", + "roughly 6 inches tall glossy plastic object", + "collectible figurine painted resin object", + "matte base dynamic crouching pose object used for displaying", + "collecting use of copy ninja Kakashi", + "painted resin circular base with engraved text for collecting", + "painted resin Naruto Kakashi statue", + "dark gray Kakashi Hatake figure for collecting", + "Naruto Kakashi statue suitable for displaying", + "green scarf Naruto Kakashi statue typically used for collecting", + "copy ninja Kakashi primarily used for displaying", + "Naruto Kakashi statue featuring long sword on back shape", + "glossy plastic Kakashi Hatake figure suitable for showcasing character", + "roughly 6 inches tall painted resin dynamic crouching pose for collecting", + "Kakashi Hatake figure optimized for displaying", + "Kakashi Hatake figure with collectible figurine dimensions", + "dark gray collectible figurine matte base object", + "roughly 6 inches tall matte base circular base with engraved text for showcasing character", + "copy ninja Kakashi with one leg raised profile", + "dynamic crouching pose Kakashi Hatake figure for displaying", + "Kakashi Hatake figure with one leg raised profile", + "hand-sized glossy plastic Naruto Kakashi statue", + "copy ninja Kakashi with glossy plastic construction", + "copy ninja Kakashi commonly featuring matte base", + "hand-sized dynamic crouching pose object for showcasing character", + "roughly 6 inches tall circular base with engraved text object", + "matte base Naruto Kakashi statue for showcasing character", + "Naruto Kakashi statue for collecting scenarios", + "Kakashi Hatake figure in long sword on back form", + "dynamic crouching pose Naruto Kakashi statue for displaying", + "Kakashi Hatake figure for collecting activities", + "copy ninja Kakashi made from painted resin", + "Naruto Kakashi statue designed for displaying", + "hand-sized silver hair dynamic crouching pose for collecting", + "hand-sized black copy ninja Kakashi", + "matte base dark gray Kakashi Hatake figure", + "roughly 6 inches tall one leg raised Kakashi Hatake figure", + "Kakashi Hatake figure primarily used for showcasing character", + "Kakashi Hatake figure appropriate for showcasing character", + "collectible figurine one leg raised Kakashi Hatake figure for displaying", + "Naruto Kakashi statue with silver hair exterior", + "collectible figurine object used for displaying", + "black matte base one leg raised object", + "silver hair copy ninja Kakashi suitable for displaying", + "Naruto Kakashi statue featuring painted resin build", + "Kakashi Hatake figure with long sword on back geometry", + "green scarf collectible figurine matte base object", + "Naruto Kakashi statue sized as collectible figurine", + "dark gray one leg raised object for displaying", + "Naruto Kakashi statue for collecting activities", + "matte base copy ninja Kakashi used for collecting", + "copy ninja Kakashi colored silver hair", + "long sword on back Kakashi Hatake figure for showcasing character", + "Kakashi Hatake figure used to collecting", + "matte base copy ninja Kakashi for showcasing character", + "displaying use of Kakashi Hatake figure", + "dark gray matte base copy ninja Kakashi", + "green scarf Kakashi Hatake figure for displaying", + "Kakashi Hatake figure for displaying with glossy plastic", + "Kakashi Hatake figure made from glossy plastic", + "copy ninja Kakashi for collecting scenarios", + "copy ninja Kakashi with green scarf color", + "collectible figurine object used for showcasing character", + "Naruto Kakashi statue designed for collecting", + "collectible figurine silver hair painted resin dynamic crouching pose object", + "Kakashi Hatake figure with dark gray color", + "dark gray collectible figurine Naruto Kakashi statue for showcasing character", + "circular base with engraved text painted resin object for collecting", + "circular base with engraved text object used for collecting", + "Kakashi Hatake figure in green scarf" + ], + "caption": { + "color": [ + "dark gray", + "black", + "silver hair", + "green scarf" + ], + "material": [ + "painted resin", + "glossy plastic", + "matte base" + ], + "size": [ + "collectible figurine", + "hand-sized", + "roughly 6 inches tall" + ], + "name": [ + "Kakashi Hatake figure", + "Naruto Kakashi statue", + "copy ninja Kakashi" + ], + "shape": [ + "dynamic crouching pose", + "one leg raised", + "long sword on back", + "circular base with engraved text" + ], + "function": [ + "displaying", + "collecting", + "showcasing character" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/goblet/00006/metadata.json b/Objects/RoboDojo/Rigid/goblet/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..91a2c768cdfac35e3c0e52bdc43b8182a5dcae6d --- /dev/null +++ b/Objects/RoboDojo/Rigid/goblet/00006/metadata.json @@ -0,0 +1,146 @@ +{ + "uuid": "5a0df006-deb0-41d1-a758-834714ba4993", + "physics": { + "mass": 0.5, + "friction": 0.25 + }, + "geometry": { + "faces": 25856, + "vertices": 13186, + "aligned_bbox": { + "vertices": [ + [ + -0.0401, + -0.0401, + 0.0013 + ], + [ + -0.0401, + -0.0401, + 0.1016 + ], + [ + -0.0401, + 0.0401, + 0.0013 + ], + [ + -0.0401, + 0.0401, + 0.1016 + ], + [ + 0.0401, + -0.0401, + 0.0013 + ], + [ + 0.0401, + -0.0401, + 0.1016 + ], + [ + 0.0401, + 0.0401, + 0.0013 + ], + [ + 0.0401, + 0.0401, + 0.1016 + ] + ], + "extents": [ + 0.0801, + 0.0801, + 0.1003 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0493, + 0.0279, + 0.1016 + ], + [ + 0.0493, + 0.0279, + 0.0013 + ], + [ + -0.0279, + 0.0493, + 0.1016 + ], + [ + -0.0279, + 0.0493, + 0.0013 + ], + [ + 0.0279, + -0.0493, + 0.1016 + ], + [ + 0.0279, + -0.0493, + 0.0013 + ], + [ + -0.0493, + -0.0279, + 0.1016 + ], + [ + -0.0493, + -0.0279, + 0.0013 + ] + ], + "extents": [ + 0.0986, + 0.0986, + 0.1003 + ] + }, + "radius": 0.0571 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "projection_circle": { + "center": [ + -0.0, + 0.0, + 0.0013, + 1.0, + 0.0, + 0.0, + 0.0 + ], + "radius": 0.0402 + }, + "contact_circle": { + "center": [ + -0.0, + -0.0, + 0.0013, + 1.0, + 0.0, + 0.0, + 0.0 + ], + "radius": 0.0174 + } + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/hammer/00000/metadata.json b/Objects/RoboDojo/Rigid/hammer/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0436e0bf1555895478ea422edbc3c1c16eb672d3 --- /dev/null +++ b/Objects/RoboDojo/Rigid/hammer/00000/metadata.json @@ -0,0 +1,132 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0294, + -0.0794, + -0.0072 + ], + [ + -0.0294, + -0.0794, + 0.0072 + ], + [ + -0.0294, + 0.0794, + -0.0072 + ], + [ + -0.0294, + 0.0794, + 0.0072 + ], + [ + 0.0294, + -0.0794, + -0.0072 + ], + [ + 0.0294, + -0.0794, + 0.0072 + ], + [ + 0.0294, + 0.0794, + -0.0072 + ], + [ + 0.0294, + 0.0794, + 0.0072 + ] + ], + "extents": [ + 0.0587, + 0.1588, + 0.0145 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0248, + 0.0862, + 0.0072 + ], + [ + -0.0486, + -0.073, + 0.0072 + ], + [ + 0.0307, + 0.078, + 0.0072 + ], + [ + 0.007, + -0.0812, + 0.0072 + ], + [ + -0.0248, + 0.0862, + -0.0072 + ], + [ + -0.0486, + -0.073, + -0.0072 + ], + [ + 0.0307, + 0.078, + -0.0072 + ], + [ + 0.007, + -0.0812, + -0.0072 + ] + ], + "extents": [ + 0.0793, + 0.1675, + 0.0145 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 0.7071067811865476, + 0.0, + 0.0, + 0.7071067811865475 + ] + ] + } + } + }, + "physics": { + "size": [ + 0.056761837894765264, + 0.1535095544783945, + 0.014 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/hammer/00001/metadata.json b/Objects/RoboDojo/Rigid/hammer/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..a2bcb273b1836d7e7aebf47e8c932bba803c64c3 --- /dev/null +++ b/Objects/RoboDojo/Rigid/hammer/00001/metadata.json @@ -0,0 +1,132 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0354, + -0.08, + -0.0097 + ], + [ + -0.0354, + -0.08, + 0.0097 + ], + [ + -0.0354, + 0.08, + -0.0097 + ], + [ + -0.0354, + 0.08, + 0.0097 + ], + [ + 0.0354, + -0.08, + -0.0097 + ], + [ + 0.0354, + -0.08, + 0.0097 + ], + [ + 0.0354, + 0.08, + -0.0097 + ], + [ + 0.0354, + 0.08, + 0.0097 + ] + ], + "extents": [ + 0.0708, + 0.1601, + 0.0195 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0288, + -0.0808, + -0.0096 + ], + [ + -0.0362, + 0.0779, + -0.0098 + ], + [ + 0.0423, + -0.0775, + -0.0096 + ], + [ + 0.035, + 0.0812, + -0.0098 + ], + [ + -0.0288, + -0.0808, + 0.0099 + ], + [ + -0.0362, + 0.078, + 0.0097 + ], + [ + 0.0423, + -0.0775, + 0.0099 + ], + [ + 0.035, + 0.0812, + 0.0097 + ] + ], + "extents": [ + 0.0785, + 0.1621, + 0.0196 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 0.7071067811865476, + 0.0, + 0.0, + 0.7071067811865475 + ] + ] + } + } + }, + "physics": { + "size": [ + 0.06896896475106806, + 0.15602063339992672, + 0.019 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/hammer/00002/metadata.json b/Objects/RoboDojo/Rigid/hammer/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..82750bb86d021d75b0e7e5881aa83c77844b717f --- /dev/null +++ b/Objects/RoboDojo/Rigid/hammer/00002/metadata.json @@ -0,0 +1,132 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.033, + -0.0801, + -0.0106 + ], + [ + -0.033, + -0.0801, + 0.0106 + ], + [ + -0.033, + 0.0801, + -0.0106 + ], + [ + -0.033, + 0.0801, + 0.0106 + ], + [ + 0.033, + -0.0801, + -0.0106 + ], + [ + 0.033, + -0.0801, + 0.0106 + ], + [ + 0.033, + 0.0801, + -0.0106 + ], + [ + 0.033, + 0.0801, + 0.0106 + ] + ], + "extents": [ + 0.066, + 0.1603, + 0.0212 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0541, + 0.0725, + -0.0021 + ], + [ + -0.0277, + -0.0882, + 0.0062 + ], + [ + 0.0071, + 0.0828, + 0.0028 + ], + [ + 0.0335, + -0.0779, + 0.0111 + ], + [ + -0.0523, + 0.0717, + -0.0227 + ], + [ + -0.0259, + -0.089, + -0.0144 + ], + [ + 0.0089, + 0.082, + -0.0178 + ], + [ + 0.0353, + -0.0786, + -0.0095 + ] + ], + "extents": [ + 0.0894, + 0.1718, + 0.0339 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 0.7071067811865476, + 0.0, + -0.0, + -0.7071067811865475 + ] + ] + } + } + }, + "physics": { + "size": [ + 0.0652070724977587, + 0.15847408122099937, + 0.021 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/hammer/00003/metadata.json b/Objects/RoboDojo/Rigid/hammer/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..14bce58d3498f7cb6500c4a1da17113e806b00db --- /dev/null +++ b/Objects/RoboDojo/Rigid/hammer/00003/metadata.json @@ -0,0 +1,132 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0716, + -0.029, + -0.0075 + ], + [ + -0.0716, + -0.029, + 0.0075 + ], + [ + -0.0716, + 0.029, + -0.0075 + ], + [ + -0.0716, + 0.029, + 0.0075 + ], + [ + 0.0716, + -0.029, + -0.0075 + ], + [ + 0.0716, + -0.029, + 0.0075 + ], + [ + 0.0716, + 0.029, + -0.0075 + ], + [ + 0.0716, + 0.029, + 0.0075 + ] + ], + "extents": [ + 0.1431, + 0.0581, + 0.015 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0735, + 0.0022, + 0.0044 + ], + [ + -0.0657, + 0.0297, + 0.0074 + ], + [ + 0.0622, + -0.055, + 0.0047 + ], + [ + -0.077, + -0.0275, + 0.0077 + ], + [ + 0.0731, + 0.0022, + -0.0103 + ], + [ + -0.0661, + 0.0297, + -0.0073 + ], + [ + 0.0619, + -0.055, + -0.0101 + ], + [ + -0.0773, + -0.0275, + -0.0071 + ] + ], + "extents": [ + 0.1508, + 0.0847, + 0.018 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 6.123233995736766e-17, + 0.0, + 0.0, + 1.0 + ] + ] + } + } + }, + "physics": { + "size": [ + 0.14308571204413748, + 0.05807330197277555, + 0.014999999999999998 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/hammer/00004/metadata.json b/Objects/RoboDojo/Rigid/hammer/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..20891c501db23acb8e268a3f9e9bad5b077c25e0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/hammer/00004/metadata.json @@ -0,0 +1,132 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0261, + -0.0717, + -0.0109 + ], + [ + -0.0261, + -0.0717, + 0.0109 + ], + [ + -0.0261, + 0.0717, + -0.0109 + ], + [ + -0.0261, + 0.0717, + 0.0109 + ], + [ + 0.0261, + -0.0717, + -0.0109 + ], + [ + 0.0261, + -0.0717, + 0.0109 + ], + [ + 0.0261, + 0.0717, + -0.0109 + ], + [ + 0.0261, + 0.0717, + 0.0109 + ] + ], + "extents": [ + 0.0523, + 0.1434, + 0.0218 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0261, + -0.0712, + -0.0137 + ], + [ + -0.0261, + 0.072, + -0.0091 + ], + [ + 0.0261, + -0.0712, + -0.0137 + ], + [ + 0.0261, + 0.072, + -0.0091 + ], + [ + -0.0261, + -0.0719, + 0.0066 + ], + [ + -0.0261, + 0.0713, + 0.0112 + ], + [ + 0.0261, + -0.0719, + 0.0066 + ], + [ + 0.0261, + 0.0713, + 0.0112 + ] + ], + "extents": [ + 0.0523, + 0.1438, + 0.0249 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 0.7071067811865476, + 0.0, + 0.0, + 0.7071067811865475 + ] + ] + } + } + }, + "physics": { + "size": [ + 0.05278656763130935, + 0.14488134809400263, + 0.022 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/hammer/00005/metadata.json b/Objects/RoboDojo/Rigid/hammer/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c8f43b00148a813875129e2c8df050cc383082ec --- /dev/null +++ b/Objects/RoboDojo/Rigid/hammer/00005/metadata.json @@ -0,0 +1,119 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1142, + -0.0127, + -0.0381 + ], + [ + -0.1142, + -0.0127, + 0.0381 + ], + [ + -0.1142, + 0.0129, + -0.0381 + ], + [ + -0.1142, + 0.0129, + 0.0381 + ], + [ + 0.114, + -0.0127, + -0.0381 + ], + [ + 0.114, + -0.0127, + 0.0381 + ], + [ + 0.114, + 0.0129, + -0.0381 + ], + [ + 0.114, + 0.0129, + 0.0381 + ] + ], + "extents": [ + 0.2282, + 0.0256, + 0.0762 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.1057, + 0.0124, + -0.0657 + ], + [ + -0.1216, + 0.0127, + -0.0339 + ], + [ + 0.1162, + 0.013, + 0.0086 + ], + [ + -0.1112, + 0.0132, + 0.0405 + ], + [ + 0.1057, + -0.0132, + -0.0655 + ], + [ + -0.1216, + -0.013, + -0.0337 + ], + [ + 0.1162, + -0.0126, + 0.0088 + ], + [ + -0.1112, + -0.0124, + 0.0407 + ] + ], + "extents": [ + 0.2378, + 0.0265, + 0.1064 + ] + } + }, + "active": { + "functional": { + "center": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/hammer/00006/metadata.json b/Objects/RoboDojo/Rigid/hammer/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..86e5f3ff6013098b50cfe76b90b2f3960defc58e --- /dev/null +++ b/Objects/RoboDojo/Rigid/hammer/00006/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.05, + "friction": 0.75, + "size": [ + 0.0634059335149331, + 0.0178003967465838, + 0.146 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0318, + -0.0088, + -0.0732 + ], + [ + -0.0318, + -0.0088, + 0.0732 + ], + [ + -0.0318, + 0.009, + -0.0732 + ], + [ + -0.0318, + 0.009, + 0.0732 + ], + [ + 0.0317, + -0.0088, + -0.0732 + ], + [ + 0.0317, + -0.0088, + 0.0732 + ], + [ + 0.0317, + 0.009, + -0.0732 + ], + [ + 0.0317, + 0.009, + 0.0732 + ] + ], + "extents": [ + 0.0635, + 0.0178, + 0.1463 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0263, + 0.0088, + 0.0818 + ], + [ + 0.0502, + 0.0098, + -0.0656 + ], + [ + -0.0335, + 0.0094, + 0.0721 + ], + [ + -0.0096, + 0.0104, + -0.0753 + ], + [ + 0.0261, + -0.0091, + 0.0816 + ], + [ + 0.05, + -0.0081, + -0.0658 + ], + [ + -0.0336, + -0.0084, + 0.0719 + ], + [ + -0.0098, + -0.0074, + -0.0755 + ] + ], + "extents": [ + 0.0838, + 0.0195, + 0.1572 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + -0.0, + 0.0, + 0.005, + 0.7071067811865476, + 0.0, + -0.7071067811865475, + 0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "steel head object for driving nails", + "carpenter's hammer suitable for removing nails", + "bright red shaft curved claw for prying object for removing nails", + "about 12 to 16 inches long tapered handle with ergonomic grip object", + "claw hammer optimized for light demolition", + "claw hammer for removing nails with steel head", + "black rubber grip object used for driving nails", + "steel head tapered handle with ergonomic grip object used for light demolition", + "claw hammer made from textured rubber handle", + "carpenter's hammer with fiberglass or plastic shaft surface", + "claw hammer in black rubber grip", + "fiberglass or plastic shaft curved claw for prying framing hammer", + "removing nails with claw hammer", + "textured rubber handle object for light demolition", + "carpenter's hammer in standard claw hammer", + "carpenter's hammer for removing nails activities", + "tapered handle with ergonomic grip-shaped carpenter's hammer", + " framing hammer for light demolition scenarios", + "about 12 to 16 inches long bright red shaft curved claw for prying for light demolition", + "claw hammer commonly used for light demolition", + "steel head carpenter's hammer suitable for light demolition", + "handheld tool bright red shaft flat striking face object", + "fiberglass or plastic shaft framing hammer used for removing nails", + "handheld tool framing hammer used for removing nails", + "textured rubber handle black rubber grip carpenter's hammer", + " framing hammer intended for light demolition", + "curved claw for prying carpenter's hammer ideal for driving nails", + "black rubber grip claw hammer used for driving nails", + "carpenter's hammer primarily used for driving nails", + "carpenter's hammer with about 12 to 16 inches long dimensions", + "tapered handle with ergonomic grip object used for light demolition", + "about 12 to 16 inches long carpenter's hammer used for removing nails", + "standard claw hammer tapered handle with ergonomic grip object", + "claw hammer ideal for light demolition", + "curved claw for prying fiberglass or plastic shaft object for driving nails", + " framing hammer appropriate for light demolition", + "removing nails use of claw hammer", + "standard claw hammer fiberglass or plastic shaft claw hammer", + "claw hammer with steel head construction", + "carpenter's hammer in flat striking face", + "curved claw for prying steel head object for driving nails", + "gray metal head tapered handle with ergonomic grip framing hammer used for removing nails", + "carpenter's hammer built from fiberglass or plastic shaft", + "claw hammer in curved claw for prying", + "textured rubber handle framing hammer used for removing nails", + "curved claw for prying claw hammer for light demolition", + "gray metal head framing hammer suitable for driving nails", + "carpenter's hammer featuring fiberglass or plastic shaft build", + "bright red shaft standard claw hammer tapered handle with ergonomic grip carpenter's hammer", + "flat striking face carpenter's hammer for driving nails", + "claw hammer commonly found in about 12 to 16 inches long size", + "standard claw hammer black rubber grip fiberglass or plastic shaft flat striking face object", + "flat striking face framing hammer ideal for driving nails", + "standard claw hammer black rubber grip textured rubber handle flat striking face object", + "carpenter's hammer sized standard claw hammer", + "carpenter's hammer commonly featuring textured rubber handle", + "curved claw for prying framing hammer ideal for removing nails", + "carpenter's hammer for driving nails activities", + "about 12 to 16 inches long flat striking face object", + "curved claw for prying steel head object for removing nails", + " framing hammer made of steel head", + "claw hammer with textured rubber handle surface", + "about 12 to 16 inches long textured rubber handle carpenter's hammer", + " framing hammer with tapered handle with ergonomic grip geometry", + "carpenter's hammer made of steel head", + " framing hammer appropriate for removing nails use", + "textured rubber handle carpenter's hammer for removing nails", + "steel head claw hammer used for light demolition", + "about 12 to 16 inches long fiberglass or plastic shaft claw hammer for driving nails", + "claw hammer with tapered handle with ergonomic grip profile", + "carpenter's hammer ideal for light demolition", + "gray metal head fiberglass or plastic shaft framing hammer", + "curved claw for prying framing hammer for driving nails", + "gray metal head claw hammer used for driving nails", + "carpenter's hammer for removing nails tasks", + "about 12 to 16 inches long fiberglass or plastic shaft curved claw for prying for removing nails", + "carpenter's hammer featuring curved claw for prying shape", + "about 12 to 16 inches long black rubber grip object for driving nails", + " framing hammer suitable for driving nails", + "tapered handle with ergonomic grip fiberglass or plastic shaft object for light demolition", + "bright red shaft tapered handle with ergonomic grip framing hammer", + " framing hammer for light demolition activities", + "textured rubber handle claw hammer suitable for driving nails", + "carpenter's hammer featuring flat striking face shape", + "standard claw hammer gray metal head flat striking face object", + " framing hammer typically made of textured rubber handle", + "curved claw for prying claw hammer used for light demolition", + "gray metal head framing hammer typically used for light demolition", + "carpenter's hammer for driving nails", + "about 12 to 16 inches long claw hammer perfect for driving nails", + "light demolition use of claw hammer", + "handheld tool object used for removing nails", + "about 12 to 16 inches long textured rubber handle framing hammer for light demolition", + "claw hammer built from textured rubber handle", + " framing hammer used to driving nails", + "carpenter's hammer sized as handheld tool", + "bright red shaft fiberglass or plastic shaft curved claw for prying carpenter's hammer", + "light demolition with framing hammer", + "handheld tool textured rubber handle carpenter's hammer", + "bright red shaft handheld tool fiberglass or plastic shaft object" + ], + "caption": { + "color": [ + "gray metal head", + "bright red shaft", + "black rubber grip" + ], + "function": [ + "driving nails", + "removing nails", + "light demolition" + ], + "material": [ + "steel head", + "fiberglass or plastic shaft", + "textured rubber handle" + ], + "name": [ + "claw hammer", + "carpenter's hammer", + " framing hammer" + ], + "shape": [ + "flat striking face", + "curved claw for prying", + "tapered handle with ergonomic grip" + ], + "size": [ + "standard claw hammer", + "handheld tool", + "about 12 to 16 inches long" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/hammer/00007/metadata.json b/Objects/RoboDojo/Rigid/hammer/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..419ee269f0ffdee650d0617dd924c978abfd2c50 --- /dev/null +++ b/Objects/RoboDojo/Rigid/hammer/00007/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.05, + "friction": 0.35, + "size": [ + 0.06740407303895057, + 0.01675058308236903, + 0.14599999999999996 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0338, + -0.0083, + -0.0732 + ], + [ + -0.0338, + -0.0083, + 0.0732 + ], + [ + -0.0338, + 0.0085, + -0.0732 + ], + [ + -0.0338, + 0.0085, + 0.0732 + ], + [ + 0.0337, + -0.0083, + -0.0732 + ], + [ + 0.0337, + -0.0083, + 0.0732 + ], + [ + 0.0337, + 0.0085, + -0.0732 + ], + [ + 0.0337, + 0.0085, + 0.0732 + ] + ], + "extents": [ + 0.0675, + 0.0168, + 0.1463 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0536, + -0.0099, + -0.0635 + ], + [ + 0.0277, + -0.0085, + 0.0838 + ], + [ + -0.0104, + -0.0096, + -0.0747 + ], + [ + -0.0363, + -0.0082, + 0.0725 + ], + [ + 0.0537, + 0.007, + -0.0636 + ], + [ + 0.0278, + 0.0084, + 0.0836 + ], + [ + -0.0103, + 0.0072, + -0.0749 + ], + [ + -0.0362, + 0.0086, + 0.0724 + ] + ], + "extents": [ + 0.09, + 0.0185, + 0.1587 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + -0.005, + 0.0, + 0.0, + 0.7071067811865476, + 0.0, + -0.7071067811865475, + 0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "handheld matte black straight handle object", + "V-shaped claw standard claw hammer black hammer", + "handheld black hammer perfect for driving nails", + "16-inch total length slightly tapered head claw hammer for prying wood", + "standard claw hammer matte black rubberized grip handle V-shaped claw object", + "standard claw hammer object used for prying wood", + "uniform black V-shaped claw carpenter's hammer used for driving nails", + "matte black standard claw hammer slightly tapered head black hammer", + "flat striking face object used for driving nails", + "carpenter's hammer intended for prying wood usage", + "uniform black handheld cast metal head object", + "black hammer for pulling nails scenarios", + "black hammer made of rubberized grip handle", + "black hammer sized handheld", + "V-shaped claw black hammer used for pulling nails", + "black hammer featuring cast metal head build", + "uniform black object used for pulling nails", + "uniform black 16-inch total length carpenter's hammer for driving nails", + "black hammer in straight handle", + "cast metal head object for prying wood", + "carpenter's hammer sized handheld", + "16-inch total length slightly tapered head object for prying wood", + "standard claw hammer rubberized grip handle flat striking face for prying wood", + "handheld claw hammer for prying wood", + "carpenter's hammer shaped like a slightly tapered head", + "black hammer appropriate for driving nails use", + "matte black flat striking face object for pulling nails", + "claw hammer with cast metal head body", + "carpenter's hammer optimized for driving nails", + "claw hammer with standard claw hammer dimensions", + "pulling nails with carpenter's hammer", + "carpenter's hammer in 16-inch total length", + "matte black claw hammer suitable for driving nails", + "uniform black object used for driving nails", + "claw hammer commonly featuring cast metal head", + "carpenter's hammer with cast metal head body", + "matte black 16-inch total length carpenter's hammer for driving nails", + "black hammer made of steel core", + "16-inch total length uniform black slightly tapered head for pulling nails", + "carpenter's hammer in matte black", + "carpenter's hammer for driving nails with cast metal head", + "claw hammer in flat striking face", + "claw hammer designed for prying wood", + "standard claw hammer matte black cast metal head carpenter's hammer", + "carpenter's hammer shaped like a V-shaped claw", + "claw hammer used to driving nails", + "matte black object used for prying wood", + "16-inch total length uniform black flat striking face for prying wood", + "carpenter's hammer with cast metal head surface", + "standard claw hammer uniform black flat striking face object", + "uniform black steel core black hammer", + "16-inch total length steel core claw hammer for driving nails", + "claw hammer made from steel core", + "handheld V-shaped claw object for prying wood", + "black hammer with rubberized grip handle surface", + "uniform black object used for prying wood", + "black hammer in standard claw hammer", + "cast metal head straight handle object used for pulling nails", + "flat striking face claw hammer ideal for driving nails", + "uniform black claw hammer suitable for pulling nails", + "standard claw hammer steel core V-shaped claw for pulling nails", + "matte black handheld V-shaped claw carpenter's hammer", + "standard claw hammer straight handle carpenter's hammer", + "flat striking face handheld claw hammer", + "carpenter's hammer made of steel core", + "carpenter's hammer built from cast metal head", + "slightly tapered head object made of steel core", + "cast metal head object used for driving nails", + "black hammer in 16-inch total length", + "cast metal head carpenter's hammer for pulling nails", + "claw hammer commonly found in standard claw hammer size", + "black hammer for prying wood use", + "rubberized grip handle matte black carpenter's hammer", + "flat striking face carpenter's hammer ideal for prying wood", + "prying wood with claw hammer", + "black hammer commonly used for driving nails", + "claw hammer commonly used for driving nails", + "uniform black V-shaped claw object for prying wood", + "handheld straight handle carpenter's hammer for pulling nails", + "carpenter's hammer sized as handheld", + "16-inch total length cast metal head carpenter's hammer", + "black hammer in uniform black", + "claw hammer with matte black color", + "uniform black 16-inch total length claw hammer for driving nails", + "claw hammer sized 16-inch total length", + "cast metal head object used for prying wood", + "carpenter's hammer built from rubberized grip handle", + "matte black black hammer typically used for driving nails", + "carpenter's hammer in V-shaped claw form", + "pulling nails use of claw hammer", + "flat striking face object used for pulling nails", + "carpenter's hammer used to driving nails", + "matte black black hammer suitable for pulling nails", + "claw hammer primarily used for prying wood", + "black hammer with flat striking face geometry", + "16-inch total length matte black straight handle for pulling nails", + "black hammer primarily used for pulling nails", + "carpenter's hammer commonly used for driving nails", + "claw hammer intended for prying wood", + "carpenter's hammer with straight handle profile" + ], + "caption": { + "color": [ + "matte black", + "uniform black" + ], + "function": [ + "driving nails", + "pulling nails", + "prying wood" + ], + "material": [ + "cast metal head", + "rubberized grip handle", + "steel core" + ], + "name": [ + "claw hammer", + "carpenter's hammer", + "black hammer" + ], + "shape": [ + "straight handle", + "flat striking face", + "V-shaped claw", + "slightly tapered head" + ], + "size": [ + "standard claw hammer", + "handheld", + "16-inch total length" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/hammer/00008/metadata.json b/Objects/RoboDojo/Rigid/hammer/00008/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..d4a51b2842ebff587f83c5b1b9837310d1cfc321 --- /dev/null +++ b/Objects/RoboDojo/Rigid/hammer/00008/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.05, + "friction": 0.75, + "size": [ + 0.18125252663522534, + 0.05544697567143786, + 0.037 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0897, + -0.0273, + -0.0183 + ], + [ + -0.0897, + -0.0273, + 0.0183 + ], + [ + -0.0897, + 0.0275, + -0.0183 + ], + [ + -0.0897, + 0.0275, + 0.0183 + ], + [ + 0.0895, + -0.0273, + -0.0183 + ], + [ + 0.0895, + -0.0273, + 0.0183 + ], + [ + 0.0895, + 0.0275, + -0.0183 + ], + [ + 0.0895, + 0.0275, + 0.0183 + ] + ], + "extents": [ + 0.1792, + 0.0548, + 0.0366 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0877, + 0.0276, + 0.0293 + ], + [ + -0.091, + 0.0276, + 0.0169 + ], + [ + 0.0877, + -0.0272, + 0.0296 + ], + [ + -0.091, + -0.0272, + 0.0173 + ], + [ + 0.0902, + 0.0274, + -0.0072 + ], + [ + -0.0885, + 0.0274, + -0.0195 + ], + [ + 0.0902, + -0.0274, + -0.0068 + ], + [ + -0.0885, + -0.0274, + -0.0192 + ] + ], + "extents": [ + 0.1813, + 0.055, + 0.0491 + ] + } + }, + "active": { + "functional": { + "checkpoint": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 6.123233995736766e-17, + 0.0, + 0.0, + 1.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "rubber mallet commonly found in medium hammer size", + "medium hammer rubber mallet for assembling furniture", + "soft-face hammer for setting tiles or trim use", + "tapered wooden shaft object made of wooden handle", + "black grip end soft-face hammer typically used for assembling furniture", + "handheld rubberized grip object", + "black head wooden handle tapered wooden shaft object", + "dead-blow mallet for assembling furniture with rubberized grip", + "rubber head object used for assembling furniture", + "soft-face hammer built from rubber head", + "dead-blow mallet with wooden handle body", + "medium hammer black grip end rubberized grip soft-face hammer", + "two-part handle with black end cap rubber head dead-blow mallet for tapping without marring surfaces", + "rubberized grip soft-face hammer used for tapping without marring surfaces", + "rubber mallet primarily used for assembling furniture", + "about 12 inches long two-part handle with black end cap soft-face hammer", + "soft-face hammer with rubberized grip surface", + "rubber mallet with handheld dimensions", + "rubberized grip object for tapping without marring surfaces", + "dead-blow mallet with medium hammer dimensions", + "handheld black grip end wooden handle tapered wooden shaft object", + "medium hammer wooden handle object", + "rubber mallet sized as medium hammer", + "rubber mallet for setting tiles or trim scenarios", + "rubberized grip two-part handle with black end cap object used for assembling furniture", + "dead-blow mallet with about 12 inches long dimensions", + "handheld black head wooden handle rubber mallet", + "tapered wooden shaft about 12 inches long dead-blow mallet", + "black head handheld tapered wooden shaft soft-face hammer", + "black grip end rubber head cylindrical head object", + "about 12 inches long black grip end two-part handle with black end cap object", + "about 12 inches long light wood handle two-part handle with black end cap object", + "wooden handle two-part handle with black end cap for tapping without marring surfaces", + "tapered wooden shaft rubber head object for assembling furniture", + "rubber mallet for tapping without marring surfaces with rubber head", + "rubber head tapered wooden shaft object used for tapping without marring surfaces", + "tapered wooden shaft rubber head soft-face hammer for assembling furniture", + "tapered wooden shaft medium hammer dead-blow mallet", + "tapered wooden shaft soft-face hammer for assembling furniture", + "about 12 inches long rubber head rubber mallet for tapping without marring surfaces", + "black head cylindrical head dead-blow mallet", + "tapered wooden shaft object made of rubberized grip", + "rubber mallet for assembling furniture with rubberized grip", + "rubber mallet appropriate for assembling furniture", + "soft-face hammer suitable for setting tiles or trim", + "black head cylindrical head rubber mallet used for assembling furniture", + "rubber mallet in two-part handle with black end cap form", + "soft-face hammer appropriate for setting tiles or trim use", + "medium hammer light wood handle two-part handle with black end cap object", + "dead-blow mallet used to setting tiles or trim", + "about 12 inches long black head rubber head dead-blow mallet", + "rubber mallet made of rubber head", + "handheld black grip end rubber mallet", + "tapered wooden shaft-shaped dead-blow mallet", + "rubber mallet in two-part handle with black end cap", + "soft-face hammer typically made of rubberized grip", + "soft-face hammer ideal for tapping without marring surfaces", + "soft-face hammer with rubber head construction", + "soft-face hammer in two-part handle with black end cap", + "rubberized grip dead-blow mallet used for tapping without marring surfaces", + "soft-face hammer appropriate for assembling furniture use", + "dead-blow mallet ideal for assembling furniture", + "cylindrical head soft-face hammer ideal for assembling furniture", + "about 12 inches long light wood handle dead-blow mallet", + "rubber head object for tapping without marring surfaces", + "rubber mallet with rubber head surface", + "about 12 inches long black head two-part handle with black end cap for setting tiles or trim", + "black head dead-blow mallet typically used for setting tiles or trim", + "dead-blow mallet colored light wood handle", + "soft-face hammer with rubber head body", + "tapping without marring surfaces use of soft-face hammer", + "light wood handle medium hammer rubberized grip object", + "tapered wooden shaft dead-blow mallet for tapping without marring surfaces", + "soft-face hammer with rubberized grip body", + "handheld light wood handle cylindrical head object", + "dead-blow mallet for setting tiles or trim", + "soft-face hammer designed for setting tiles or trim", + "cylindrical head soft-face hammer for tapping without marring surfaces", + "rubber mallet featuring rubber head build", + "medium hammer two-part handle with black end cap object", + "wooden handle tapered wooden shaft rubber mallet", + "rubber mallet for tapping without marring surfaces scenarios", + "about 12 inches long black head two-part handle with black end cap for tapping without marring surfaces", + "rubber head dead-blow mallet for setting tiles or trim", + "black head handheld cylindrical head dead-blow mallet", + "rubber mallet intended for assembling furniture", + "dead-blow mallet in cylindrical head", + "medium hammer light wood handle soft-face hammer", + "medium hammer cylindrical head object", + "cylindrical head object made of wooden handle", + "black grip end about 12 inches long rubber head object", + "dead-blow mallet for tapping without marring surfaces activities", + "medium hammer black head rubber head rubber mallet", + "black head soft-face hammer typically used for setting tiles or trim", + "soft-face hammer with tapered wooden shaft profile", + "cylindrical head medium hammer dead-blow mallet", + "about 12 inches long rubber mallet used for assembling furniture", + "light wood handle rubber head soft-face hammer", + "soft-face hammer with cylindrical head profile", + "dead-blow mallet in about 12 inches long" + ], + "caption": { + "color": [ + "black head", + "light wood handle", + "black grip end" + ], + "function": [ + "tapping without marring surfaces", + "assembling furniture", + "setting tiles or trim" + ], + "material": [ + "rubber head", + "wooden handle", + "rubberized grip" + ], + "name": [ + "rubber mallet", + "soft-face hammer", + "dead-blow mallet" + ], + "shape": [ + "cylindrical head", + "tapered wooden shaft", + "two-part handle with black end cap" + ], + "size": [ + "handheld", + "medium hammer", + "about 12 inches long" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/headset/00002/metadata.json b/Objects/RoboDojo/Rigid/headset/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..679855f1b0c805ae6dd4b17f02838808628eea95 --- /dev/null +++ b/Objects/RoboDojo/Rigid/headset/00002/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.32, + "friction": 0.55, + "size": [ + 0.1627899491667203, + 0.08877639893118033, + 0.198 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0815, + -0.0443, + -0.099 + ], + [ + -0.0815, + -0.0443, + 0.099 + ], + [ + -0.0815, + 0.0445, + -0.099 + ], + [ + -0.0815, + 0.0445, + 0.099 + ], + [ + 0.0813, + -0.0443, + -0.099 + ], + [ + 0.0813, + -0.0443, + 0.099 + ], + [ + 0.0813, + 0.0445, + -0.099 + ], + [ + 0.0813, + 0.0445, + 0.099 + ] + ], + "extents": [ + 0.1628, + 0.0888, + 0.198 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0816, + -0.0442, + 0.0989 + ], + [ + -0.0813, + -0.0443, + -0.0991 + ], + [ + 0.0812, + -0.0442, + 0.0991 + ], + [ + 0.0815, + -0.0443, + -0.0988 + ], + [ + -0.0816, + 0.0445, + 0.0989 + ], + [ + -0.0813, + 0.0445, + -0.0991 + ], + [ + 0.0812, + 0.0445, + 0.0991 + ], + [ + 0.0815, + 0.0445, + -0.0988 + ] + ], + "extents": [ + 0.1631, + 0.0889, + 0.1982 + ] + } + }, + "active": { + "functional": { + "headband_bridge": { + "frame": [ + [ + -0.0, + 0.0, + 0.085, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "full-size vibrant red headband Apple over-ear headphones", + "slim profile with rounded edges over-ear red wireless headphones", + "red wireless headphones in oval ear cups", + "red wireless headphones with vibrant red headband exterior", + "over-ear object used for noise cancellation", + "red wireless headphones for wireless audio playback scenarios", + "smooth matte plastic curved headband object used for listening to music", + "Apple over-ear headphones appropriate for listening to music use", + "oval ear cups object used for noise cancellation", + "red wireless headphones commonly featuring soft padded fabric", + "curved headband-shaped Apple over-ear headphones", + "deep red adult head coverage slim profile with rounded edges red wireless headphones", + "deep red slim profile with rounded edges object for wireless audio playback", + "slim profile with rounded edges smooth matte plastic Apple over-ear headphones for noise cancellation", + "curved headband object used for noise cancellation", + "Apple over-ear headphones appropriate for listening to music", + "vibrant red headband oval ear cups AirPods Max", + "adult head coverage vibrant red headband textured mesh on headband red wireless headphones", + "full-size slim profile with rounded edges Apple over-ear headphones for wireless audio playback", + "oval ear cups object made of soft padded fabric", + "deep red soft padded fabric slim profile with rounded edges object", + "red wireless headphones intended for noise cancellation", + "red wireless headphones for noise cancellation activities", + "deep red object used for noise cancellation", + "over-ear maroon ear cups AirPods Max", + "soft padded fabric Apple over-ear headphones used for noise cancellation", + "red wireless headphones with smooth matte plastic body", + "oval ear cups AirPods Max for wireless audio playback", + "maroon ear cups Apple over-ear headphones suitable for wireless audio playback", + "over-ear oval ear cups object", + "maroon ear cups full-size curved headband Apple over-ear headphones", + "deep red full-size textured mesh on headband object", + "over-ear soft padded fabric red wireless headphones for listening to music", + "adult head coverage soft padded fabric Apple over-ear headphones", + "over-ear vibrant red headband red wireless headphones", + "Apple over-ear headphones in over-ear", + "curved headband-shaped AirPods Max", + "oval ear cups Apple over-ear headphones ideal for wireless audio playback", + "Apple over-ear headphones made from textured mesh on headband", + "textured mesh on headband oval ear cups object used for noise cancellation", + "Apple over-ear headphones for wireless audio playback scenarios", + "full-size oval ear cups Apple over-ear headphones", + "vibrant red headband red wireless headphones for wireless audio playback", + "AirPods Max used to wireless audio playback", + "full-size red wireless headphones perfect for listening to music", + "vibrant red headband AirPods Max suitable for wireless audio playback", + "full-size deep red curved headband object", + "AirPods Max commonly featuring soft padded fabric", + "red wireless headphones in curved headband", + "soft padded fabric Apple over-ear headphones suitable for listening to music", + "curved headband red wireless headphones used for listening to music", + "adult head coverage object used for noise cancellation", + "full-size AirPods Max used for wireless audio playback", + "textured mesh on headband Apple over-ear headphones suitable for wireless audio playback", + "curved headband adult head coverage AirPods Max", + "soft padded fabric slim profile with rounded edges AirPods Max", + "red wireless headphones with vibrant red headband color", + "oval ear cups soft padded fabric Apple over-ear headphones for listening to music", + "deep red Apple over-ear headphones typically used for noise cancellation", + "AirPods Max with vibrant red headband color", + "oval ear cups AirPods Max ideal for wireless audio playback", + "AirPods Max designed for listening to music", + "soft padded fabric Apple over-ear headphones", + "vibrant red headband oval ear cups Apple over-ear headphones used for wireless audio playback", + "red wireless headphones in slim profile with rounded edges form", + "smooth matte plastic red wireless headphones used for listening to music", + "red wireless headphones shaped like a curved headband", + "deep red AirPods Max typically used for noise cancellation", + "over-ear vibrant red headband curved headband object", + "red wireless headphones appropriate for wireless audio playback", + "Apple over-ear headphones featuring textured mesh on headband build", + "red wireless headphones with over-ear dimensions", + "deep red red wireless headphones for wireless audio playback", + "smooth matte plastic red wireless headphones suitable for wireless audio playback", + "red wireless headphones for listening to music use", + "oval ear cups red wireless headphones ideal for listening to music", + "red wireless headphones for listening to music with textured mesh on headband", + "textured mesh on headband Apple over-ear headphones for listening to music", + "AirPods Max for noise cancellation activities", + "red wireless headphones colored vibrant red headband", + "adult head coverage oval ear cups object for noise cancellation", + "full-size red wireless headphones for wireless audio playback", + "over-ear slim profile with rounded edges object for wireless audio playback", + "slim profile with rounded edges red wireless headphones used for listening to music", + "full-size vibrant red headband soft padded fabric red wireless headphones", + "slim profile with rounded edges smooth matte plastic red wireless headphones for wireless audio playback", + "curved headband red wireless headphones for noise cancellation", + "AirPods Max commonly found in full-size size", + "soft padded fabric object used for noise cancellation", + "slim profile with rounded edges AirPods Max ideal for listening to music", + "Apple over-ear headphones for wireless audio playback", + "full-size vibrant red headband slim profile with rounded edges for noise cancellation", + "curved headband adult head coverage red wireless headphones", + "red wireless headphones for listening to music tasks", + "full-size slim profile with rounded edges object", + "vibrant red headband Apple over-ear headphones designed for listening to music", + "textured mesh on headband curved headband object used for listening to music", + "Apple over-ear headphones appropriate for noise cancellation use", + "textured mesh on headband vibrant red headband red wireless headphones", + "Apple over-ear headphones optimized for listening to music" + ], + "caption": { + "color": [ + "deep red", + "maroon ear cups", + "vibrant red headband" + ], + "material": [ + "soft padded fabric", + "smooth matte plastic", + "textured mesh on headband" + ], + "size": [ + "over-ear", + "full-size", + "adult head coverage" + ], + "name": [ + "AirPods Max", + "Apple over-ear headphones", + "red wireless headphones" + ], + "shape": [ + "oval ear cups", + "curved headband", + "slim profile with rounded edges" + ], + "function": [ + "listening to music", + "wireless audio playback", + "noise cancellation" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/headset/00003/metadata.json b/Objects/RoboDojo/Rigid/headset/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..e0dd8eb56444fabfd83f608b17433a36629a3ed5 --- /dev/null +++ b/Objects/RoboDojo/Rigid/headset/00003/metadata.json @@ -0,0 +1,265 @@ +{ + "physics": { + "mass": 0.28, + "friction": 0.45, + "size": [ + 0.17351535801733275, + 0.08529822947111035, + 0.19799999999999998 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0869, + -0.0426, + -0.099 + ], + [ + -0.0869, + -0.0426, + 0.099 + ], + [ + -0.0869, + 0.0427, + -0.099 + ], + [ + -0.0869, + 0.0427, + 0.099 + ], + [ + 0.0867, + -0.0426, + -0.099 + ], + [ + 0.0867, + -0.0426, + 0.099 + ], + [ + 0.0867, + 0.0427, + -0.099 + ], + [ + 0.0867, + 0.0427, + 0.099 + ] + ], + "extents": [ + 0.1735, + 0.0853, + 0.198 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0866, + 0.0424, + 0.0992 + ], + [ + 0.0867, + 0.0428, + -0.0988 + ], + [ + -0.0869, + 0.0424, + 0.099 + ], + [ + -0.0868, + 0.0428, + -0.099 + ], + [ + 0.0866, + -0.0429, + 0.099 + ], + [ + 0.0867, + -0.0425, + -0.099 + ], + [ + -0.0869, + -0.0429, + 0.0989 + ], + [ + -0.0868, + -0.0425, + -0.0992 + ] + ], + "extents": [ + 0.1737, + 0.0857, + 0.1983 + ] + } + }, + "active": { + "functional": { + "headband_bridge": { + "frame": [ + [ + -0.0, + 0.0, + 0.095, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "support": {} + }, + "description": [ + "over-ear light gray object for making phone calls", + "wireless headphones sized as over-ear", + "headphones with red dot sized full-size", + "noise-cancelling headphones made from rubberized finish", + "noise-cancelling headphones for blocking ambient noise use", + "adult head size slim profile wireless headphones", + "soft-touch plastic slim profile object used for blocking ambient noise", + "noise-cancelling headphones commonly found in adult head size size", + "wireless headphones in adult head size", + "over-ear padded fabric ear cushions wireless headphones for making phone calls", + "adult head size light gray padded fabric ear cushions noise-cancelling headphones", + "headphones with red dot commonly featuring rubberized finish", + "dark charcoal headphones with red dot typically used for making phone calls", + "padded fabric ear cushions curved headband headphones with red dot", + "noise-cancelling headphones commonly found in full-size size", + "full-size headphones with red dot for listening to music", + "headphones with red dot in full-size", + "rubberized finish object for blocking ambient noise", + "adult head size circular ear cups object for blocking ambient noise", + "dark charcoal full-size padded fabric ear cushions object", + "noise-cancelling headphones with rubberized finish construction", + "full-size light gray padded fabric ear cushions circular ear cups object", + "dark charcoal wireless headphones designed for listening to music", + "light gray curved headband headphones with red dot used for listening to music", + "headphones with red dot sized over-ear", + "headphones with red dot designed for blocking ambient noise", + "rubberized finish object used for blocking ambient noise", + "light gray rubberized finish circular ear cups noise-cancelling headphones", + "slim profile wireless headphones ideal for blocking ambient noise", + "full-size slim profile object", + "padded fabric ear cushions noise-cancelling headphones", + "dark charcoal headphones with red dot for listening to music", + "noise-cancelling headphones typically made of padded fabric ear cushions", + "headphones with red dot featuring curved headband shape", + "light gray curved headband object for making phone calls", + "light gray over-ear noise-cancelling headphones for blocking ambient noise", + "full-size soft-touch plastic wireless headphones", + "wireless headphones shaped like a circular ear cups", + "soft-touch plastic circular ear cups for making phone calls", + "dark charcoal slim profile noise-cancelling headphones", + "wireless headphones for making phone calls with rubberized finish", + "matte black noise-cancelling headphones for listening to music", + "circular ear cups full-size wireless headphones", + "headphones with red dot suitable for blocking ambient noise", + "headphones with red dot sized as adult head size", + "slim profile wireless headphones used for listening to music", + "adult head size soft-touch plastic object", + "noise-cancelling headphones with curved headband profile", + "noise-cancelling headphones used to blocking ambient noise", + "headphones with red dot built from soft-touch plastic", + "wireless headphones with dark charcoal exterior", + "circular ear cups-shaped noise-cancelling headphones", + "wireless headphones colored dark charcoal", + "wireless headphones in dark charcoal", + "noise-cancelling headphones in slim profile form", + "rubberized finish curved headband object used for blocking ambient noise", + "wireless headphones colored matte black", + "headphones with red dot for making phone calls activities", + "dark charcoal full-size wireless headphones for listening to music", + "over-ear circular ear cups headphones with red dot", + "padded fabric ear cushions object for making phone calls", + "headphones with red dot used to making phone calls", + "full-size object used for making phone calls", + "dark charcoal full-size curved headband headphones with red dot", + "noise-cancelling headphones designed for blocking ambient noise", + "wireless headphones typically made of soft-touch plastic", + "over-ear circular ear cups object", + "noise-cancelling headphones intended for making phone calls", + "wireless headphones appropriate for listening to music use", + "dark charcoal object used for listening to music", + "dark charcoal curved headband headphones with red dot", + "headphones with red dot optimized for listening to music", + "over-ear object used for making phone calls", + "over-ear circular ear cups object for listening to music", + "wireless headphones primarily used for making phone calls", + "headphones with red dot ideal for making phone calls", + "noise-cancelling headphones for listening to music tasks", + "dark charcoal noise-cancelling headphones designed for making phone calls", + "curved headband object made of rubberized finish", + "dark charcoal circular ear cups noise-cancelling headphones", + "rubberized finish object for making phone calls", + "over-ear padded fabric ear cushions circular ear cups for blocking ambient noise", + "noise-cancelling headphones in slim profile", + "curved headband soft-touch plastic noise-cancelling headphones for listening to music", + "wireless headphones made of soft-touch plastic", + "wireless headphones designed for listening to music", + "listening to music with noise-cancelling headphones", + "wireless headphones for listening to music activities", + "noise-cancelling headphones with light gray exterior", + "noise-cancelling headphones for blocking ambient noise activities", + "headphones with red dot appropriate for blocking ambient noise use", + "wireless headphones with slim profile geometry", + "over-ear dark charcoal object for making phone calls", + "wireless headphones in slim profile", + "curved headband soft-touch plastic object for listening to music", + "headphones with red dot made from padded fabric ear cushions", + "blocking ambient noise with wireless headphones", + "wireless headphones featuring slim profile shape", + "dark charcoal wireless headphones for making phone calls", + "slim profile full-size headphones with red dot" + ], + "caption": { + "color": [ + "matte black", + "dark charcoal", + "light gray" + ], + "material": [ + "soft-touch plastic", + "rubberized finish", + "padded fabric ear cushions" + ], + "size": [ + "over-ear", + "full-size", + "adult head size" + ], + "name": [ + "wireless headphones", + "noise-cancelling headphones", + "headphones with red dot" + ], + "shape": [ + "circular ear cups", + "curved headband", + "slim profile" + ], + "function": [ + "listening to music", + "blocking ambient noise", + "making phone calls" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/headset/00004/metadata.json b/Objects/RoboDojo/Rigid/headset/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..09bd3924c42c7ea580d3f01f684d9bc98d68f2ed --- /dev/null +++ b/Objects/RoboDojo/Rigid/headset/00004/metadata.json @@ -0,0 +1,265 @@ +{ + "physics": { + "mass": 0.25, + "friction": 0.45, + "size": [ + 0.1689761439181249, + 0.07302029097904017, + 0.198 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0846, + -0.0364, + -0.099 + ], + [ + -0.0846, + -0.0364, + 0.099 + ], + [ + -0.0846, + 0.0366, + -0.099 + ], + [ + -0.0846, + 0.0366, + 0.099 + ], + [ + 0.0844, + -0.0364, + -0.099 + ], + [ + 0.0844, + -0.0364, + 0.099 + ], + [ + 0.0844, + 0.0366, + -0.099 + ], + [ + 0.0844, + 0.0366, + 0.099 + ] + ], + "extents": [ + 0.169, + 0.073, + 0.198 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0844, + 0.0315, + 0.1 + ], + [ + 0.0844, + 0.0379, + -0.0978 + ], + [ + -0.0846, + 0.0315, + 0.1 + ], + [ + -0.0846, + 0.0379, + -0.0978 + ], + [ + 0.0844, + -0.0414, + 0.0977 + ], + [ + 0.0844, + -0.0351, + -0.1002 + ], + [ + -0.0846, + -0.0414, + 0.0977 + ], + [ + -0.0846, + -0.0351, + -0.1001 + ] + ], + "extents": [ + 0.169, + 0.0793, + 0.2002 + ] + } + }, + "active": { + "functional": { + "headband_bridge": { + "frame": [ + [ + -0.0, + 0.0, + 0.095, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "support": {} + }, + "description": [ + "Beats headphones commonly used for blocking outside noise", + "full-size headphones matte red object for blocking outside noise", + "fits adult head glossy crimson plastic red Beats", + "smooth polymer red Beats suitable for listening to music", + "red Beats intended for wireless audio playback", + "red Beats with matte red exterior", + "full-size headphones smooth polymer Beats headphones", + "red Beats intended for listening to music", + "Beats headphones for wireless audio playback activities", + "wireless earphones made of slightly reflective surface", + "wireless earphones featuring curved headband shape", + "Beats headphones for blocking outside noise tasks", + "wireless earphones with slightly reflective surface body", + "matte red slightly reflective surface Beats headphones", + "fits adult head object used for wireless audio playback", + "Beats headphones for listening to music tasks", + "red Beats commonly used for blocking outside noise", + "full-size headphones matte red contoured ear pads for listening to music", + "wireless earphones for blocking outside noise use", + "Beats headphones designed for listening to music", + "smooth polymer wireless earphones", + "red Beats designed for blocking outside noise", + "plastic circular earcups red Beats", + "red Beats for listening to music with smooth polymer", + "full-size headphones smooth polymer circular earcups for wireless audio playback", + "red Beats appropriate for wireless audio playback use", + "smooth polymer circular earcups object used for blocking outside noise", + "circular earcups plastic wireless earphones for blocking outside noise", + "full-size headphones plastic curved headband for blocking outside noise", + "listening to music with red Beats", + "wireless earphones in matte red", + "smooth polymer object used for listening to music", + "Beats headphones with smooth polymer body", + "plastic red Beats for listening to music", + "wireless earphones in curved headband form", + "full-size headphones circular earcups Beats headphones for blocking outside noise", + "curved headband object made of plastic", + "red Beats in circular earcups", + "wireless earphones sized full-size headphones", + "Beats headphones intended for listening to music", + "wireless earphones ideal for blocking outside noise", + "red Beats commonly used for wireless audio playback", + "matte red circular earcups Beats headphones used for listening to music", + "fits adult head smooth polymer object", + "red Beats optimized for blocking outside noise", + "plastic circular earcups Beats headphones", + "full-size headphones wireless earphones used for listening to music", + "over-ear contoured ear pads object", + "Beats headphones built from smooth polymer", + "over-ear glossy crimson contoured ear pads object", + "curved headband slightly reflective surface red Beats for blocking outside noise", + "red Beats for blocking outside noise tasks", + "over-ear glossy crimson red Beats", + "full-size headphones deep red red Beats", + "smooth polymer curved headband for wireless audio playback", + "wireless earphones commonly featuring slightly reflective surface", + "fits adult head contoured ear pads red Beats for listening to music", + "wireless earphones used to wireless audio playback", + "fits adult head object used for listening to music", + "contoured ear pads Beats headphones ideal for wireless audio playback", + "red Beats with smooth polymer body", + "fits adult head curved headband Beats headphones for listening to music", + "full-size headphones curved headband object", + "red Beats for listening to music activities", + "Beats headphones commonly found in full-size headphones size", + "plastic matte red wireless earphones", + "glossy crimson Beats headphones typically used for blocking outside noise", + "full-size headphones glossy crimson smooth polymer curved headband object", + "circular earcups red Beats for wireless audio playback", + "red Beats used to blocking outside noise", + "wireless earphones commonly found in full-size headphones size", + "matte red red Beats suitable for blocking outside noise", + "wireless earphones in deep red", + "red Beats appropriate for wireless audio playback", + "over-ear deep red circular earcups object", + "wireless audio playback use of red Beats", + "red Beats with deep red color", + "fits adult head deep red object for wireless audio playback", + "deep red plastic circular earcups object", + "over-ear matte red object for blocking outside noise", + "matte red Beats headphones typically used for blocking outside noise", + "Beats headphones in curved headband form", + "over-ear circular earcups object for wireless audio playback", + "over-ear plastic contoured ear pads for wireless audio playback", + "circular earcups slightly reflective surface wireless earphones for listening to music", + "full-size headphones object used for wireless audio playback", + "red Beats primarily used for wireless audio playback", + "red Beats featuring smooth polymer build", + "matte red slightly reflective surface wireless earphones", + "wireless earphones intended for blocking outside noise usage", + "over-ear deep red object for wireless audio playback", + "Beats headphones made of slightly reflective surface", + "circular earcups Beats headphones used for wireless audio playback", + "Beats headphones in glossy crimson", + "slightly reflective surface object for wireless audio playback", + "fits adult head wireless earphones used for listening to music", + "Beats headphones intended for wireless audio playback usage", + "matte red smooth polymer circular earcups wireless earphones", + "Beats headphones sized over-ear", + "slightly reflective surface object used for wireless audio playback" + ], + "caption": { + "color": [ + "deep red", + "glossy crimson", + "matte red" + ], + "material": [ + "plastic", + "smooth polymer", + "slightly reflective surface" + ], + "size": [ + "over-ear", + "full-size headphones", + "fits adult head" + ], + "name": [ + "Beats headphones", + "wireless earphones", + "red Beats" + ], + "shape": [ + "curved headband", + "circular earcups", + "contoured ear pads" + ], + "function": [ + "listening to music", + "blocking outside noise", + "wireless audio playback" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/headset/00005/metadata.json b/Objects/RoboDojo/Rigid/headset/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..bd2dc6c48502b22ddb8e12da27e8b994c75cd13a --- /dev/null +++ b/Objects/RoboDojo/Rigid/headset/00005/metadata.json @@ -0,0 +1,265 @@ +{ + "physics": { + "mass": 0.25, + "friction": 0.45, + "size": [ + 0.16619427592209401, + 0.07326516921284618, + 0.19800000000000004 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0832, + -0.0366, + -0.099 + ], + [ + -0.0832, + -0.0366, + 0.099 + ], + [ + -0.0832, + 0.0366, + -0.099 + ], + [ + -0.0832, + 0.0366, + 0.099 + ], + [ + 0.083, + -0.0366, + -0.099 + ], + [ + 0.083, + -0.0366, + 0.099 + ], + [ + 0.083, + 0.0366, + -0.099 + ], + [ + 0.083, + 0.0366, + 0.099 + ] + ], + "extents": [ + 0.1662, + 0.0733, + 0.198 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0831, + 0.0117, + 0.1011 + ], + [ + 0.0829, + 0.044, + -0.0918 + ], + [ + -0.0831, + 0.0118, + 0.1013 + ], + [ + -0.0833, + 0.0441, + -0.0916 + ], + [ + 0.083, + -0.0605, + 0.089 + ], + [ + 0.0828, + -0.0282, + -0.1039 + ], + [ + -0.0832, + -0.0603, + 0.0892 + ], + [ + -0.0834, + -0.028, + -0.1036 + ] + ], + "extents": [ + 0.1665, + 0.1046, + 0.2052 + ] + } + }, + "active": { + "functional": { + "headband_bridge": { + "frame": [ + [ + -0.0, + -0.0, + 0.095, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "support": {} + }, + "description": [ + "curved headband fabric-covered cushioning on-ear headphones for blocking outside noise", + "dark gray headband padding wireless headphones designed for blocking outside noise", + "circular ear cups object used for listening to music", + "listening to music with black Bluetooth headphones", + "soft foam ear pads object used for blocking outside noise", + "fabric-covered cushioning object used for making phone calls", + "wireless headphones primarily used for making phone calls", + "over-ear dark gray headband padding circular ear cups for making phone calls", + "glossy black fabric-covered cushioning black Bluetooth headphones", + "wireless headphones typically made of shiny plastic", + "wireless headphones with over-ear dimensions", + "shiny plastic dark gray headband padding black Bluetooth headphones", + "black Bluetooth headphones in angular side panels form", + "wireless headphones with fabric-covered cushioning construction", + "angular side panels on-ear headphones used for making phone calls", + "glossy black full-size soft foam ear pads object", + "full-size glossy black object for blocking outside noise", + "black Bluetooth headphones featuring circular ear cups shape", + "black Bluetooth headphones made of fabric-covered cushioning", + "wireless headphones featuring circular ear cups shape", + "on-ear headphones intended for blocking outside noise", + "glossy black adult head fit circular ear cups on-ear headphones", + "black Bluetooth headphones designed for blocking outside noise", + "adult head fit angular side panels black Bluetooth headphones", + "black Bluetooth headphones made from soft foam ear pads", + "full-size circular ear cups object for listening to music", + "on-ear headphones typically made of shiny plastic", + "blocking outside noise with wireless headphones", + "light gray ear cushions black Bluetooth headphones for listening to music", + "full-size fabric-covered cushioning object", + "wireless headphones in circular ear cups form", + "curved headband soft foam ear pads wireless headphones for making phone calls", + "on-ear headphones intended for listening to music", + "on-ear headphones in angular side panels", + "wireless headphones for listening to music scenarios", + "shiny plastic on-ear headphones suitable for listening to music", + "light gray ear cushions circular ear cups on-ear headphones", + "full-size shiny plastic circular ear cups for blocking outside noise", + "dark gray headband padding black Bluetooth headphones designed for listening to music", + "black Bluetooth headphones intended for blocking outside noise usage", + "wireless headphones for listening to music", + "over-ear on-ear headphones used for making phone calls", + "glossy black soft foam ear pads on-ear headphones", + "circular ear cups black Bluetooth headphones for listening to music", + "glossy black circular ear cups on-ear headphones used for blocking outside noise", + "black Bluetooth headphones for making phone calls tasks", + "on-ear headphones featuring shiny plastic build", + "wireless headphones commonly featuring soft foam ear pads", + "soft foam ear pads angular side panels black Bluetooth headphones", + "dark gray headband padding full-size on-ear headphones for making phone calls", + "on-ear headphones colored light gray ear cushions", + "shiny plastic angular side panels for making phone calls", + "light gray ear cushions wireless headphones for listening to music", + "dark gray headband padding shiny plastic curved headband black Bluetooth headphones", + "light gray ear cushions shiny plastic circular ear cups object", + "light gray ear cushions curved headband object for making phone calls", + "black Bluetooth headphones with circular ear cups geometry", + "over-ear light gray ear cushions fabric-covered cushioning circular ear cups object", + "blocking outside noise use of black Bluetooth headphones", + "full-size shiny plastic object", + "adult head fit glossy black curved headband object", + "over-ear soft foam ear pads circular ear cups for blocking outside noise", + "wireless headphones featuring shiny plastic build", + "wireless headphones intended for blocking outside noise usage", + "black Bluetooth headphones sized adult head fit", + "wireless headphones with angular side panels geometry", + "on-ear headphones ideal for making phone calls", + "full-size dark gray headband padding on-ear headphones", + "on-ear headphones made from soft foam ear pads", + "wireless headphones in full-size", + "black Bluetooth headphones optimized for listening to music", + "dark gray headband padding full-size on-ear headphones for blocking outside noise", + "over-ear glossy black shiny plastic curved headband object", + "circular ear cups on-ear headphones used for listening to music", + "wireless headphones for blocking outside noise activities", + "soft foam ear pads on-ear headphones", + "curved headband object used for blocking outside noise", + "adult head fit fabric-covered cushioning black Bluetooth headphones for making phone calls", + "light gray ear cushions full-size black Bluetooth headphones for listening to music", + "over-ear on-ear headphones perfect for listening to music", + "dark gray headband padding soft foam ear pads wireless headphones", + "wireless headphones typically made of soft foam ear pads", + "over-ear curved headband on-ear headphones for listening to music", + "soft foam ear pads on-ear headphones for making phone calls", + "shiny plastic on-ear headphones", + "on-ear headphones for making phone calls use", + "black Bluetooth headphones used to blocking outside noise", + "full-size light gray ear cushions shiny plastic on-ear headphones", + "black Bluetooth headphones used to making phone calls", + "curved headband wireless headphones used for making phone calls", + "wireless headphones intended for listening to music usage", + "wireless headphones with fabric-covered cushioning surface", + "full-size on-ear headphones for making phone calls", + "light gray ear cushions object used for listening to music", + "adult head fit shiny plastic on-ear headphones for listening to music", + "on-ear headphones for making phone calls with fabric-covered cushioning", + "dark gray headband padding soft foam ear pads curved headband object", + "black Bluetooth headphones shaped like a curved headband", + "adult head fit soft foam ear pads on-ear headphones", + "wireless headphones featuring angular side panels shape" + ], + "caption": { + "color": [ + "glossy black", + "light gray ear cushions", + "dark gray headband padding" + ], + "material": [ + "shiny plastic", + "soft foam ear pads", + "fabric-covered cushioning" + ], + "size": [ + "over-ear", + "full-size", + "adult head fit" + ], + "name": [ + "wireless headphones", + "on-ear headphones", + "black Bluetooth headphones" + ], + "shape": [ + "curved headband", + "circular ear cups", + "angular side panels" + ], + "function": [ + "listening to music", + "blocking outside noise", + "making phone calls" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/headset/00006/metadata.json b/Objects/RoboDojo/Rigid/headset/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..f48ee1fb51eb8e93085d795e644fd87f36adaf00 --- /dev/null +++ b/Objects/RoboDojo/Rigid/headset/00006/metadata.json @@ -0,0 +1,264 @@ +{ + "physics": { + "mass": 0.25, + "friction": 0.45, + "size": [ + 0.1843224997375364, + 0.09359630993060802, + 0.198 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0923, + -0.0467, + -0.099 + ], + [ + -0.0923, + -0.0467, + 0.099 + ], + [ + -0.0923, + 0.0469, + -0.099 + ], + [ + -0.0923, + 0.0469, + 0.099 + ], + [ + 0.0921, + -0.0467, + -0.099 + ], + [ + 0.0921, + -0.0467, + 0.099 + ], + [ + 0.0921, + 0.0469, + -0.099 + ], + [ + 0.0921, + 0.0469, + 0.099 + ] + ], + "extents": [ + 0.1843, + 0.0936, + 0.198 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0908, + 0.0366, + -0.1102 + ], + [ + -0.0937, + 0.0794, + 0.0818 + ], + [ + 0.0935, + 0.0373, + -0.1075 + ], + [ + 0.0905, + 0.0801, + 0.0845 + ], + [ + -0.0907, + -0.055, + -0.0897 + ], + [ + -0.0937, + -0.0121, + 0.1022 + ], + [ + 0.0936, + -0.0542, + -0.0871 + ], + [ + 0.0906, + -0.0114, + 0.1049 + ] + ], + "extents": [ + 0.1873, + 0.1351, + 0.215 + ] + } + }, + "active": { + "functional": { + "headband_bridge": { + "frame": [ + [ + -0.0, + 0.0, + 0.095, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "support": {} + }, + "description": [ + "Sony WH-1000XM series used to blocking ambient noise", + "full-size glossy black accents object for making phone calls", + "Sony WH-1000XM series with glossy black accents color", + "glossy black accents circular ear cups object for making phone calls", + "full-size matte black slim profile for making phone calls", + "noise-cancelling headphones ideal for listening to music", + "glossy black accents object used for making phone calls", + "wireless headphones in curved headband", + "slim profile Sony WH-1000XM series for listening to music", + "noise-cancelling headphones commonly found in full-size size", + "noise-cancelling headphones made from memory foam ear pads", + "circular ear cups soft-touch polymer wireless headphones for making phone calls", + "plastic noise-cancelling headphones for listening to music", + "matte black memory foam ear pads wireless headphones", + "slim profile memory foam ear pads Sony WH-1000XM series for blocking ambient noise", + "full-size glossy black accents slim profile for listening to music", + "glossy black accents memory foam ear pads slim profile object", + "soft-touch polymer noise-cancelling headphones used for listening to music", + "making phone calls with Sony WH-1000XM series", + "wireless headphones in curved headband form", + "adult head size wireless headphones used for listening to music", + "adult head size matte black soft-touch polymer curved headband object", + "Sony WH-1000XM series for making phone calls activities", + "soft-touch polymer object used for making phone calls", + "circular ear cups wireless headphones ideal for listening to music", + "noise-cancelling headphones featuring soft-touch polymer build", + "full-size curved headband object", + "over-ear soft-touch polymer slim profile for making phone calls", + "matte black noise-cancelling headphones designed for making phone calls", + "noise-cancelling headphones shaped like a curved headband", + "over-ear circular ear cups wireless headphones", + "wireless headphones suitable for blocking ambient noise", + "over-ear circular ear cups object for listening to music", + "noise-cancelling headphones with circular ear cups profile", + "wireless headphones with soft-touch polymer surface", + "noise-cancelling headphones suitable for making phone calls", + "wireless headphones used to listening to music", + "wireless headphones for listening to music tasks", + "listening to music use of noise-cancelling headphones", + "wireless headphones with circular ear cups geometry", + "noise-cancelling headphones for blocking ambient noise use", + "Sony WH-1000XM series shaped like a circular ear cups", + "making phone calls use of wireless headphones", + "matte black adult head size Sony WH-1000XM series for listening to music", + "soft-touch polymer object for listening to music", + "noise-cancelling headphones commonly used for blocking ambient noise", + "plastic curved headband for making phone calls", + "matte black wireless headphones used for making phone calls", + "circular ear cups memory foam ear pads noise-cancelling headphones for listening to music", + "curved headband full-size Sony WH-1000XM series", + "wireless headphones intended for blocking ambient noise", + "noise-cancelling headphones designed for blocking ambient noise", + "Sony WH-1000XM series with curved headband profile", + "wireless headphones with glossy black accents exterior", + "soft-touch polymer curved headband wireless headphones", + "circular ear cups wireless headphones ideal for blocking ambient noise", + "memory foam ear pads circular ear cups object used for listening to music", + "plastic slim profile for blocking ambient noise", + "slim profile object used for listening to music", + "full-size object used for blocking ambient noise", + "blocking ambient noise use of wireless headphones", + "matte black slim profile noise-cancelling headphones used for making phone calls", + "glossy black accents object used for listening to music", + "Sony WH-1000XM series optimized for listening to music", + "wireless headphones featuring soft-touch polymer build", + "matte black wireless headphones for listening to music", + "memory foam ear pads slim profile wireless headphones", + "adult head size soft-touch polymer Sony WH-1000XM series", + "Sony WH-1000XM series designed for blocking ambient noise", + "adult head size matte black wireless headphones", + "matte black circular ear cups Sony WH-1000XM series", + "glossy black accents wireless headphones used for making phone calls", + "plastic slim profile wireless headphones", + "matte black noise-cancelling headphones used for listening to music", + "wireless headphones featuring slim profile shape", + "noise-cancelling headphones shaped like a slim profile", + "matte black object used for making phone calls", + "wireless headphones appropriate for listening to music", + "glossy black accents wireless headphones for making phone calls", + "circular ear cups wireless headphones ideal for making phone calls", + "noise-cancelling headphones ideal for making phone calls", + "circular ear cups over-ear noise-cancelling headphones", + "soft-touch polymer slim profile noise-cancelling headphones", + "plastic noise-cancelling headphones", + "over-ear memory foam ear pads object", + "slim profile full-size noise-cancelling headphones", + "memory foam ear pads object for blocking ambient noise", + "matte black circular ear cups wireless headphones", + "plastic object for making phone calls", + "noise-cancelling headphones commonly used for making phone calls", + "noise-cancelling headphones intended for making phone calls usage", + "plastic circular ear cups noise-cancelling headphones", + "curved headband memory foam ear pads wireless headphones for blocking ambient noise", + "noise-cancelling headphones for listening to music", + "memory foam ear pads object for listening to music", + "matte black wireless headphones suitable for making phone calls", + "full-size curved headband wireless headphones", + "Sony WH-1000XM series commonly featuring soft-touch polymer", + "Sony WH-1000XM series intended for making phone calls usage", + "soft-touch polymer glossy black accents wireless headphones" + ], + "caption": { + "color": [ + "matte black", + "glossy black accents" + ], + "material": [ + "plastic", + "soft-touch polymer", + "memory foam ear pads" + ], + "size": [ + "over-ear", + "full-size", + "adult head size" + ], + "name": [ + "wireless headphones", + "noise-cancelling headphones", + "Sony WH-1000XM series" + ], + "shape": [ + "curved headband", + "circular ear cups", + "slim profile" + ], + "function": [ + "listening to music", + "blocking ambient noise", + "making phone calls" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/headset/00007/metadata.json b/Objects/RoboDojo/Rigid/headset/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..9a38148167808889ddf40e7f9278309f768ca7c2 --- /dev/null +++ b/Objects/RoboDojo/Rigid/headset/00007/metadata.json @@ -0,0 +1,242 @@ +{ + "physics": { + "mass": 0.32, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.1045, + -0.039, + -0.1141 + ], + [ + -0.1045, + -0.039, + 0.1139 + ], + [ + -0.1045, + 0.0392, + -0.1141 + ], + [ + -0.1045, + 0.0392, + 0.1139 + ], + [ + 0.1042, + -0.039, + -0.1141 + ], + [ + 0.1042, + -0.039, + 0.1139 + ], + [ + 0.1042, + 0.0392, + -0.1141 + ], + [ + 0.1042, + 0.0392, + 0.1139 + ] + ], + "extents": [ + 0.2087, + 0.0782, + 0.228 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0723, + 0.0385, + 0.1367 + ], + [ + 0.1336, + 0.0393, + -0.0881 + ], + [ + -0.1227, + 0.0386, + 0.0835 + ], + [ + -0.0614, + 0.0395, + -0.1413 + ], + [ + 0.0723, + -0.0397, + 0.1364 + ], + [ + 0.1336, + -0.0389, + -0.0884 + ], + [ + -0.1227, + -0.0395, + 0.0832 + ], + [ + -0.0614, + -0.0387, + -0.1416 + ] + ], + "extents": [ + 0.2563, + 0.0792, + 0.2783 + ] + } + }, + "active": {}, + "description": [ + "over-ear headphones with full-size dimensions", + "critical sound playback with over-ear headphones", + "studio headphones appropriate for listening to music use", + "black earcups plastic earcup housing curved headband object", + "listening to music use of over-ear headphones", + "over-ear headphones in curved headband", + "black earcups full-size perforated metal grilles object", + "leather headband over-ear headphones used for critical sound playback", + "leather headband open-back design object used for audio monitoring", + "gunmetal gray metal object used for listening to music", + "high-fidelity headphones made of leather headband", + "adult head size open-back design object", + "full-size gunmetal gray metal rectangular earcups with rounded edges for critical sound playback", + "high-fidelity headphones with perforated metal grilles body", + "high-fidelity headphones with leather headband construction", + "over-ear headphones appropriate for critical sound playback use", + "over-ear headphones intended for critical sound playback", + "over-ear headphones made of brushed metal frame", + "plastic earcup housing curved headband for critical sound playback", + "black earcups rectangular earcups with rounded edges high-fidelity headphones used for critical sound playback", + "black earcups studio headphones for listening to music", + "curved headband object made of brushed metal frame", + "studio headphones sized over-ear", + "high-fidelity headphones for listening to music", + "rectangular earcups with rounded edges object made of plastic earcup housing", + "full-size dark brown leather curved headband object", + "full-size rectangular earcups with rounded edges object", + "studio headphones in curved headband form", + "studio headphones with gunmetal gray metal color", + "over-ear open-back design object", + "full-size over-ear headphones for audio monitoring", + "full-size brushed metal frame object", + "high-fidelity headphones for listening to music use", + "studio headphones commonly used for listening to music", + "adult head size high-fidelity headphones used for critical sound playback", + "studio headphones appropriate for audio monitoring use", + "black earcups open-back design over-ear headphones used for audio monitoring", + "brushed metal frame object for critical sound playback", + "gunmetal gray metal curved headband object for audio monitoring", + "over-ear curved headband over-ear headphones for listening to music", + "brushed metal frame over-ear headphones", + "adult head size dark brown leather rectangular earcups with rounded edges for audio monitoring", + "rectangular earcups with rounded edges leather headband object for audio monitoring", + "adult head size open-back design over-ear headphones for listening to music", + "dark brown leather brushed metal frame high-fidelity headphones", + "adult head size perforated metal grilles studio headphones for listening to music", + "studio headphones suitable for audio monitoring", + "studio headphones built from plastic earcup housing", + "plastic earcup housing open-back design object used for critical sound playback", + "studio headphones suitable for listening to music", + "high-fidelity headphones for audio monitoring tasks", + "curved headband plastic earcup housing object for listening to music", + "full-size gunmetal gray metal open-back design object", + "high-fidelity headphones in open-back design", + "full-size dark brown leather plastic earcup housing high-fidelity headphones", + "dark brown leather perforated metal grilles open-back design object", + "over-ear headphones with over-ear dimensions", + "curved headband high-fidelity headphones ideal for listening to music", + "high-fidelity headphones commonly used for listening to music", + "over-ear headphones featuring brushed metal frame build", + "rectangular earcups with rounded edges high-fidelity headphones used for listening to music", + "high-fidelity headphones optimized for critical sound playback", + "high-fidelity headphones made of brushed metal frame", + "studio headphones with adult head size dimensions", + "open-back design brushed metal frame over-ear headphones for listening to music", + "adult head size object used for critical sound playback", + "full-size dark brown leather over-ear headphones", + "high-fidelity headphones sized as adult head size", + "dark brown leather object used for critical sound playback", + "gunmetal gray metal adult head size curved headband studio headphones", + "adult head size black earcups plastic earcup housing high-fidelity headphones", + "studio headphones with perforated metal grilles surface", + "gunmetal gray metal over-ear headphones typically used for critical sound playback", + "over-ear headphones shaped like a rectangular earcups with rounded edges", + "over-ear headphones intended for audio monitoring usage", + "high-fidelity headphones for audio monitoring with perforated metal grilles", + "open-back design full-size high-fidelity headphones", + "adult head size brushed metal frame studio headphones for audio monitoring", + "curved headband object used for critical sound playback", + "perforated metal grilles high-fidelity headphones used for listening to music", + "full-size open-back design object", + "rectangular earcups with rounded edges over-ear studio headphones", + "gunmetal gray metal full-size studio headphones for critical sound playback", + "over-ear headphones sized as adult head size", + "studio headphones commonly found in adult head size size", + "full-size plastic earcup housing curved headband for listening to music", + "black earcups over-ear headphones for listening to music", + "over-ear brushed metal frame curved headband for critical sound playback", + "high-fidelity headphones used to critical sound playback", + "full-size curved headband object for critical sound playback", + "over-ear brushed metal frame open-back design for critical sound playback", + "studio headphones in rectangular earcups with rounded edges", + "curved headband-shaped studio headphones", + "studio headphones in open-back design", + "high-fidelity headphones shaped like a rectangular earcups with rounded edges", + "black earcups high-fidelity headphones for critical sound playback", + "adult head size dark brown leather open-back design for critical sound playback", + "studio headphones in adult head size", + "studio headphones typically made of perforated metal grilles", + "studio headphones for listening to music scenarios" + ], + "caption": { + "color": [ + "dark brown leather", + "gunmetal gray metal", + "black earcups" + ], + "material": [ + "leather headband", + "brushed metal frame", + "plastic earcup housing", + "perforated metal grilles" + ], + "size": [ + "over-ear", + "full-size", + "adult head size" + ], + "name": [ + "over-ear headphones", + "studio headphones", + "high-fidelity headphones" + ], + "shape": [ + "curved headband", + "rectangular earcups with rounded edges", + "open-back design" + ], + "function": [ + "listening to music", + "audio monitoring", + "critical sound playback" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/headset/00008/metadata.json b/Objects/RoboDojo/Rigid/headset/00008/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..e2583829d812f564e55743c855ed8b861ee81eaf --- /dev/null +++ b/Objects/RoboDojo/Rigid/headset/00008/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.22, + "friction": 0.32, + "size": [ + 0.16369571695094276, + 0.07228027315780851, + 0.183 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0819, + -0.036, + -0.0914 + ], + [ + -0.0819, + -0.036, + 0.0914 + ], + [ + -0.0819, + 0.0362, + -0.0914 + ], + [ + -0.0819, + 0.0362, + 0.0914 + ], + [ + 0.0817, + -0.036, + -0.0914 + ], + [ + 0.0817, + -0.036, + 0.0914 + ], + [ + 0.0817, + 0.0362, + -0.0914 + ], + [ + 0.0817, + 0.0362, + 0.0914 + ] + ], + "extents": [ + 0.1636, + 0.0722, + 0.1829 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0819, + 0.0411, + -0.0855 + ], + [ + -0.0819, + 0.0128, + 0.0947 + ], + [ + 0.0817, + 0.0411, + -0.0855 + ], + [ + 0.0817, + 0.0128, + 0.0947 + ], + [ + -0.0819, + -0.0303, + -0.0967 + ], + [ + -0.0819, + -0.0587, + 0.0835 + ], + [ + 0.0817, + -0.0303, + -0.0967 + ], + [ + 0.0817, + -0.0587, + 0.0835 + ] + ], + "extents": [ + 0.1636, + 0.0998, + 0.1915 + ] + } + }, + "active": { + "functional": { + "headband_bridge": { + "frame": [ + [ + -0.0, + 0.0, + 0.085, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "high-gloss finish curved headband object used for listening to music", + "medium-large wireless earphones perfect for listening to music", + "circular ear cups high-gloss finish wireless earphones for audio playback", + "adult head size object used for listening to music", + "smooth plastic object used for blocking ambient noise", + "blue Beats Solo in symmetrical over-ear design form", + "glossy royal blue blue Beats Solo for listening to music", + "circular ear cups wireless earphones for listening to music", + "symmetrical over-ear design wireless earphones for blocking ambient noise", + "blue Beats Solo used to blocking ambient noise", + "blue Beats Solo with deep cobalt exterior", + "blue Beats Solo with high-gloss finish construction", + "medium-large hard polymer symmetrical over-ear design for blocking ambient noise", + "Beats headphones colored shiny navy", + "high-gloss finish wireless earphones used for listening to music", + "Beats headphones for blocking ambient noise use", + "hard polymer object for blocking ambient noise", + "adult head size curved headband object", + "deep cobalt circular ear cups object for listening to music", + "wireless earphones featuring symmetrical over-ear design shape", + "blue Beats Solo intended for listening to music usage", + "wireless earphones used to blocking ambient noise", + "smooth plastic symmetrical over-ear design for audio playback", + "blue Beats Solo made from high-gloss finish", + "circular ear cups hard polymer object for audio playback", + "medium-large curved headband blue Beats Solo for audio playback", + "wireless earphones shaped like a curved headband", + "high-gloss finish blue Beats Solo", + "glossy royal blue wireless earphones designed for audio playback", + "blue Beats Solo in glossy royal blue", + "glossy royal blue circular ear cups Beats headphones used for listening to music", + "hard polymer curved headband wireless earphones", + "deep cobalt wireless earphones designed for audio playback", + "blue Beats Solo made of hard polymer", + "glossy royal blue adult head size wireless earphones for audio playback", + "smooth plastic blue Beats Solo", + "adult head size blue Beats Solo for blocking ambient noise", + "wireless earphones for blocking ambient noise scenarios", + "glossy royal blue Beats headphones typically used for listening to music", + "Beats headphones built from smooth plastic", + "deep cobalt Beats headphones suitable for blocking ambient noise", + "Beats headphones with smooth plastic body", + "Beats headphones intended for listening to music", + "glossy royal blue medium-large Beats headphones for listening to music", + "adult head size smooth plastic object", + "symmetrical over-ear design object used for audio playback", + "blue Beats Solo with circular ear cups profile", + "over-ear Beats headphones used for audio playback", + "blue Beats Solo with symmetrical over-ear design geometry", + "over-ear symmetrical over-ear design object", + "Beats headphones made of smooth plastic", + "shiny navy wireless earphones typically used for listening to music", + "deep cobalt over-ear high-gloss finish object", + "Beats headphones for listening to music with smooth plastic", + "wireless earphones in symmetrical over-ear design form", + "Beats headphones shaped like a curved headband", + "Beats headphones for audio playback scenarios", + "Beats headphones in circular ear cups form", + "adult head size object used for blocking ambient noise", + "glossy royal blue hard polymer wireless earphones", + "wireless earphones for audio playback with high-gloss finish", + "smooth plastic Beats headphones", + "blue Beats Solo in symmetrical over-ear design", + "blue Beats Solo for blocking ambient noise with high-gloss finish", + "adult head size glossy royal blue symmetrical over-ear design for audio playback", + "shiny navy curved headband wireless earphones", + "deep cobalt Beats headphones typically used for blocking ambient noise", + "adult head size high-gloss finish Beats headphones for listening to music", + "symmetrical over-ear design object made of smooth plastic", + "over-ear high-gloss finish circular ear cups for audio playback", + "adult head size hard polymer object", + "symmetrical over-ear design over-ear Beats headphones", + "blue Beats Solo suitable for blocking ambient noise", + "Beats headphones used to listening to music", + "blue Beats Solo intended for audio playback", + "wireless earphones made of high-gloss finish", + "deep cobalt blue Beats Solo designed for audio playback", + "curved headband blue Beats Solo ideal for blocking ambient noise", + "medium-large curved headband object", + "Beats headphones for blocking ambient noise with smooth plastic", + "high-gloss finish symmetrical over-ear design blue Beats Solo", + "shiny navy curved headband Beats headphones", + "wireless earphones primarily used for listening to music", + "shiny navy symmetrical over-ear design blue Beats Solo", + "Beats headphones intended for blocking ambient noise usage", + "over-ear smooth plastic object", + "blue Beats Solo intended for audio playback usage", + "curved headband object used for audio playback", + "Beats headphones with high-gloss finish body", + "smooth plastic object used for listening to music", + "blue Beats Solo with high-gloss finish surface", + "deep cobalt curved headband object for listening to music", + "over-ear deep cobalt blue Beats Solo", + "Beats headphones with curved headband geometry", + "symmetrical over-ear design high-gloss finish object for listening to music", + "Beats headphones in medium-large", + "curved headband Beats headphones ideal for audio playback", + "blue Beats Solo with smooth plastic surface", + "adult head size circular ear cups blue Beats Solo", + "blue Beats Solo commonly featuring high-gloss finish" + ], + "caption": { + "color": [ + "glossy royal blue", + "deep cobalt", + "shiny navy" + ], + "material": [ + "smooth plastic", + "high-gloss finish", + "hard polymer" + ], + "size": [ + "over-ear", + "adult head size", + "medium-large" + ], + "name": [ + "Beats headphones", + "wireless earphones", + "blue Beats Solo" + ], + "shape": [ + "curved headband", + "circular ear cups", + "symmetrical over-ear design" + ], + "function": [ + "listening to music", + "blocking ambient noise", + "audio playback" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/headset/00009/metadata.json b/Objects/RoboDojo/Rigid/headset/00009/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..76f7bcf60e820018732da9282fd4ab0d693f9980 --- /dev/null +++ b/Objects/RoboDojo/Rigid/headset/00009/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.1581680539746634, + 0.08063772439281622, + 0.183 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0791, + -0.0402, + -0.0914 + ], + [ + -0.0791, + -0.0402, + 0.0914 + ], + [ + -0.0791, + 0.0404, + -0.0914 + ], + [ + -0.0791, + 0.0404, + 0.0914 + ], + [ + 0.0789, + -0.0402, + -0.0914 + ], + [ + 0.0789, + -0.0402, + 0.0914 + ], + [ + 0.0789, + 0.0404, + -0.0914 + ], + [ + 0.0789, + 0.0404, + 0.0914 + ] + ], + "extents": [ + 0.1581, + 0.0806, + 0.1829 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0791, + -0.0401, + 0.0915 + ], + [ + -0.0792, + -0.0401, + -0.0914 + ], + [ + 0.0789, + -0.0402, + 0.0914 + ], + [ + 0.0789, + -0.0402, + -0.0914 + ], + [ + -0.0791, + 0.0405, + 0.0915 + ], + [ + -0.0791, + 0.0404, + -0.0914 + ], + [ + 0.079, + 0.0404, + 0.0914 + ], + [ + 0.079, + 0.0404, + -0.0915 + ] + ], + "extents": [ + 0.1582, + 0.0807, + 0.1829 + ] + } + }, + "active": { + "functional": { + "headband_bridge": { + "frame": [ + [ + -0.0, + 0.0, + 0.08, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "red Bluetooth headphones for listening to music tasks", + "over-ear black headband padding circular earcups for making phone calls", + "wireless headphones for blocking ambient noise activities", + "adult head size glossy red curved headband object", + "wireless headphones for blocking ambient noise tasks", + "full-size curved headband headset", + "matte black earcups wireless headphones typically used for listening to music", + "full-size rubberized ear cushions headset", + "black headband padding over-ear rubberized ear cushions object", + "black headband padding headset for making phone calls", + "shiny plastic circular earcups for making phone calls", + "shiny plastic wireless headphones suitable for listening to music", + "full-size circular earcups object for listening to music", + "headset for blocking ambient noise use", + "rubberized ear cushions curved headband for listening to music", + "soft foam padding wireless headphones suitable for listening to music", + "soft foam padding curved headband object used for making phone calls", + "black headband padding wireless headphones designed for making phone calls", + "wireless headphones with soft foam padding surface", + "shiny plastic object used for listening to music", + "matte black earcups circular earcups red Bluetooth headphones used for listening to music", + "red Bluetooth headphones sized as over-ear", + "red Bluetooth headphones in adult head size", + "glossy red shiny plastic wireless headphones", + "over-ear headset perfect for making phone calls", + "black headband padding object used for making phone calls", + "adult head size shiny plastic foldable design for listening to music", + "making phone calls with headset", + "headset appropriate for making phone calls", + "red Bluetooth headphones appropriate for making phone calls", + "foldable design-shaped headset", + "headset made of rubberized ear cushions", + "shiny plastic circular earcups red Bluetooth headphones", + "headset featuring foldable design shape", + "full-size glossy red curved headband for making phone calls", + "red Bluetooth headphones featuring curved headband shape", + "curved headband object used for making phone calls", + "listening to music use of wireless headphones", + "matte black earcups object used for listening to music", + "over-ear glossy red object for listening to music", + "glossy red adult head size soft foam padding object", + "glossy red headset typically used for listening to music", + "soft foam padding object used for making phone calls", + "circular earcups headset ideal for listening to music", + "wireless headphones for making phone calls use", + "wireless headphones suitable for listening to music", + "wireless headphones used to making phone calls", + "headset in over-ear", + "rubberized ear cushions foldable design headset", + "glossy red headset for blocking ambient noise", + "black headband padding foldable design red Bluetooth headphones", + "headset with shiny plastic surface", + "wireless headphones built from shiny plastic", + "rubberized ear cushions object used for making phone calls", + "over-ear matte black earcups object for listening to music", + "black headband padding headset suitable for listening to music", + "headset shaped like a foldable design", + "red Bluetooth headphones for blocking ambient noise use", + "over-ear curved headband wireless headphones", + "red Bluetooth headphones commonly found in over-ear size", + "glossy red object used for listening to music", + "headset used to listening to music", + "red Bluetooth headphones for listening to music scenarios", + "black headband padding shiny plastic red Bluetooth headphones", + "wireless headphones for making phone calls activities", + "matte black earcups red Bluetooth headphones designed for listening to music", + "headset in glossy red", + "red Bluetooth headphones for making phone calls tasks", + "wireless headphones ideal for making phone calls", + "adult head size black headband padding foldable design object", + "wireless headphones in foldable design form", + "wireless headphones sized as over-ear", + "headset for blocking ambient noise activities", + "red Bluetooth headphones commonly featuring soft foam padding", + "over-ear headset used for blocking ambient noise", + "adult head size foldable design object", + "curved headband object made of shiny plastic", + "glossy red wireless headphones used for blocking ambient noise", + "adult head size glossy red object for making phone calls", + "foldable design-shaped wireless headphones", + "wireless headphones in curved headband", + "curved headband adult head size wireless headphones", + "full-size red Bluetooth headphones for blocking ambient noise", + "over-ear wireless headphones perfect for blocking ambient noise", + "shiny plastic headset suitable for blocking ambient noise", + "curved headband object used for listening to music", + "soft foam padding curved headband object used for blocking ambient noise", + "curved headband wireless headphones ideal for blocking ambient noise", + "red Bluetooth headphones in over-ear", + "making phone calls use of red Bluetooth headphones", + "full-size glossy red soft foam padding circular earcups object", + "red Bluetooth headphones appropriate for making phone calls use", + "full-size glossy red object for blocking ambient noise", + "black headband padding full-size soft foam padding object", + "headset for making phone calls use", + "shiny plastic black headband padding red Bluetooth headphones", + "circular earcups shiny plastic object for listening to music", + "glossy red shiny plastic headset", + "over-ear object used for blocking ambient noise", + "over-ear circular earcups wireless headphones" + ], + "caption": { + "color": [ + "glossy red", + "matte black earcups", + "black headband padding" + ], + "material": [ + "shiny plastic", + "soft foam padding", + "rubberized ear cushions" + ], + "size": [ + "over-ear", + "full-size", + "adult head size" + ], + "name": [ + "wireless headphones", + "red Bluetooth headphones", + "headset" + ], + "shape": [ + "curved headband", + "circular earcups", + "foldable design" + ], + "function": [ + "listening to music", + "making phone calls", + "blocking ambient noise" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/headset/00010/metadata.json b/Objects/RoboDojo/Rigid/headset/00010/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c9ca1237a3472b69623d88990e7ffe12408a913b --- /dev/null +++ b/Objects/RoboDojo/Rigid/headset/00010/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.16330255276903877, + 0.0782988276213166, + 0.183 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0817, + -0.0391, + -0.0914 + ], + [ + -0.0817, + -0.0391, + 0.0914 + ], + [ + -0.0817, + 0.0392, + -0.0914 + ], + [ + -0.0817, + 0.0392, + 0.0914 + ], + [ + 0.0815, + -0.0391, + -0.0914 + ], + [ + 0.0815, + -0.0391, + 0.0914 + ], + [ + 0.0815, + 0.0392, + -0.0914 + ], + [ + 0.0815, + 0.0392, + 0.0914 + ] + ], + "extents": [ + 0.1632, + 0.0782, + 0.1829 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0815, + 0.0393, + 0.0914 + ], + [ + 0.0815, + 0.0391, + -0.0915 + ], + [ + -0.0817, + 0.0393, + 0.0914 + ], + [ + -0.0817, + 0.0392, + -0.0915 + ], + [ + 0.0815, + -0.0389, + 0.0915 + ], + [ + 0.0815, + -0.0391, + -0.0914 + ], + [ + -0.0817, + -0.0389, + 0.0915 + ], + [ + -0.0817, + -0.0391, + -0.0914 + ] + ], + "extents": [ + 0.1632, + 0.0785, + 0.183 + ] + } + }, + "active": { + "functional": { + "headband_bridge": { + "frame": [ + [ + -0.0, + 0.0, + 0.09, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "wireless headphones with glossy black color", + "Bluetooth headphones primarily used for listening to music", + "soft-touch polymer circular ear cups Bluetooth headphones", + "headset typically made of soft-touch polymer", + "Bluetooth headphones built from plastic", + "medium adult fit wireless headphones used for listening to music", + "circular ear cups object made of soft-touch polymer", + "matte black Bluetooth headphones designed for listening to music", + "Bluetooth headphones sized as medium adult fit", + "foldable design headset for blocking ambient noise", + "headset intended for blocking ambient noise usage", + "lightweight wireless headphones for blocking ambient noise", + "circular ear cups-shaped wireless headphones", + "matte black plastic circular ear cups wireless headphones", + "Bluetooth headphones featuring foldable design shape", + "wireless headphones with circular ear cups geometry", + "Bluetooth headphones optimized for taking phone calls", + "wireless headphones intended for blocking ambient noise usage", + "lightweight curved headband Bluetooth headphones for listening to music", + "Bluetooth headphones featuring rubberized ear cushions build", + "foldable design over-ear headset", + "soft-touch polymer foldable design for blocking ambient noise", + "Bluetooth headphones with soft-touch polymer body", + "Bluetooth headphones for blocking ambient noise scenarios", + "wireless headphones appropriate for blocking ambient noise", + "matte black headset used for taking phone calls", + "over-ear headset used for taking phone calls", + "medium adult fit matte black rubberized ear cushions foldable design object", + "glossy black wireless headphones designed for listening to music", + "Bluetooth headphones appropriate for listening to music use", + "wireless headphones intended for taking phone calls usage", + "wireless headphones colored dark gray", + "lightweight object used for blocking ambient noise", + "wireless headphones ideal for listening to music", + "dark gray over-ear Bluetooth headphones for listening to music", + "foldable design medium adult fit wireless headphones", + "Bluetooth headphones built from rubberized ear cushions", + "blocking ambient noise with Bluetooth headphones", + "circular ear cups object used for blocking ambient noise", + "over-ear rubberized ear cushions foldable design for blocking ambient noise", + "dark gray over-ear Bluetooth headphones for blocking ambient noise", + "wireless headphones commonly used for blocking ambient noise", + "headset commonly found in medium adult fit size", + "Bluetooth headphones built from soft-touch polymer", + "Bluetooth headphones made from rubberized ear cushions", + "circular ear cups rubberized ear cushions Bluetooth headphones for taking phone calls", + "wireless headphones designed for listening to music", + "medium adult fit Bluetooth headphones used for taking phone calls", + "Bluetooth headphones in circular ear cups form", + "glossy black curved headband wireless headphones", + "soft-touch polymer wireless headphones", + "wireless headphones made of soft-touch polymer", + "soft-touch polymer dark gray wireless headphones", + "foldable design wireless headphones ideal for taking phone calls", + "lightweight foldable design object for blocking ambient noise", + "wireless headphones in curved headband", + "wireless headphones in over-ear", + "plastic wireless headphones used for taking phone calls", + "circular ear cups object used for taking phone calls", + "taking phone calls use of Bluetooth headphones", + "Bluetooth headphones sized lightweight", + "plastic headset", + "wireless headphones with matte black exterior", + "medium adult fit plastic headset for listening to music", + "medium adult fit curved headband object", + "rubberized ear cushions foldable design object used for listening to music", + "medium adult fit curved headband Bluetooth headphones for taking phone calls", + "headset used to taking phone calls", + "over-ear matte black curved headband object", + "taking phone calls with Bluetooth headphones", + "listening to music use of Bluetooth headphones", + "lightweight headset perfect for listening to music", + "plastic Bluetooth headphones", + "over-ear matte black object for taking phone calls", + "Bluetooth headphones appropriate for taking phone calls use", + "over-ear glossy black foldable design object", + "plastic curved headband Bluetooth headphones", + "medium adult fit headset for blocking ambient noise", + "medium adult fit rubberized ear cushions circular ear cups for listening to music", + "over-ear wireless headphones for taking phone calls", + "dark gray soft-touch polymer curved headband Bluetooth headphones", + "headset for blocking ambient noise use", + "listening to music with Bluetooth headphones", + "wireless headphones made of plastic", + "dark gray headset typically used for taking phone calls", + "headset intended for blocking ambient noise", + "plastic object used for taking phone calls", + "wireless headphones commonly featuring soft-touch polymer", + "glossy black headset used for taking phone calls", + "glossy black rubberized ear cushions circular ear cups object", + "wireless headphones for taking phone calls", + "rubberized ear cushions glossy black headset", + "soft-touch polymer circular ear cups for taking phone calls", + "wireless headphones commonly found in medium adult fit size", + "wireless headphones for taking phone calls with rubberized ear cushions", + "dark gray object used for taking phone calls", + "headset intended for listening to music", + "wireless headphones in matte black", + "medium adult fit Bluetooth headphones used for blocking ambient noise", + "over-ear glossy black object for blocking ambient noise" + ], + "caption": { + "color": [ + "matte black", + "dark gray", + "glossy black" + ], + "material": [ + "plastic", + "soft-touch polymer", + "rubberized ear cushions" + ], + "size": [ + "over-ear", + "medium adult fit", + "lightweight" + ], + "name": [ + "wireless headphones", + "Bluetooth headphones", + "headset" + ], + "shape": [ + "curved headband", + "circular ear cups", + "foldable design" + ], + "function": [ + "listening to music", + "taking phone calls", + "blocking ambient noise" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/ice_cream/00000/metadata.json b/Objects/RoboDojo/Rigid/ice_cream/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..36beff7c4b8efed6827d8db767c55b5cfba85aa0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/ice_cream/00000/metadata.json @@ -0,0 +1,240 @@ +{ + "physics": { + "mass": 0.25, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0521, + -0.0519, + -0.0503 + ], + [ + -0.0521, + -0.0519, + 0.0502 + ], + [ + -0.0521, + 0.0521, + -0.0503 + ], + [ + -0.0521, + 0.0521, + 0.0502 + ], + [ + 0.0519, + -0.0519, + -0.0503 + ], + [ + 0.0519, + -0.0519, + 0.0502 + ], + [ + 0.0519, + 0.0521, + -0.0503 + ], + [ + 0.0519, + 0.0521, + 0.0502 + ] + ], + "extents": [ + 0.104, + 0.104, + 0.1005 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0733, + 0.0001, + 0.0502 + ], + [ + -0.0001, + -0.0732, + 0.0502 + ], + [ + -0.0, + 0.0733, + 0.0502 + ], + [ + 0.0732, + 0.0, + 0.0502 + ], + [ + -0.0733, + 0.0001, + -0.0503 + ], + [ + -0.0001, + -0.0732, + -0.0503 + ], + [ + -0.0, + 0.0733, + -0.0503 + ], + [ + 0.0732, + 0.0001, + -0.0503 + ] + ], + "extents": [ + 0.1465, + 0.1465, + 0.1005 + ] + } + }, + "active": {}, + "description": [ + "Oreo McFlurry for eating frozen dessert tasks", + "handheld flat base object", + "white swirls object used for eating frozen dessert", + "Oreo McFlurry for eating frozen dessert", + "McFlurry with gray cup color", + "Oreo McFlurry for eating frozen dessert activities", + "flat base Oreo McFlurry ideal for eating frozen dessert", + "flat base glossy finish McFlurry for mixing ice cream with candy pieces", + "black cookie crumbles frosted texture tapered cylinder object", + "frozen dessert cup made from glossy finish", + "gray cup tapered cylinder object for mixing ice cream with candy pieces", + "flat base object made of plastic cup", + "plastic cup frozen dessert cup used for mixing ice cream with candy pieces", + "frozen dessert cup with white swirls color", + "Oreo McFlurry made from plastic cup", + "McFlurry featuring wide rim shape", + "white swirls glossy finish Oreo McFlurry", + "tapered cylinder glossy finish McFlurry for eating frozen dessert", + "tapered cylinder plastic cup frozen dessert cup for eating frozen dessert", + "wide rim Oreo McFlurry ideal for eating frozen dessert", + "McFlurry colored white swirls", + "small dessert portion gray cup plastic cup flat base object", + "Oreo McFlurry typically made of frosted texture", + "Oreo McFlurry appropriate for mixing ice cream with candy pieces", + "handheld frosted texture frozen dessert cup", + "glossy finish frozen dessert cup for mixing ice cream with candy pieces", + "frozen dessert cup sized handheld", + "single serving wide rim McFlurry for mixing ice cream with candy pieces", + "black cookie crumbles glossy finish flat base object", + "Oreo McFlurry in wide rim form", + "black cookie crumbles frozen dessert cup suitable for eating frozen dessert", + "single serving black cookie crumbles flat base for mixing ice cream with candy pieces", + "Oreo McFlurry for mixing ice cream with candy pieces", + "gray cup object used for mixing ice cream with candy pieces", + "glossy finish object used for eating frozen dessert", + "handheld object used for eating frozen dessert", + "tapered cylinder object made of frosted texture", + "handheld frosted texture flat base for mixing ice cream with candy pieces", + "Oreo McFlurry with wide rim geometry", + "Oreo McFlurry in tapered cylinder form", + "McFlurry appropriate for mixing ice cream with candy pieces", + "frozen dessert cup suitable for mixing ice cream with candy pieces", + "Oreo McFlurry with flat base profile", + "glossy finish object for mixing ice cream with candy pieces", + "black cookie crumbles Oreo McFlurry used for eating frozen dessert", + "Oreo McFlurry with white swirls color", + "black cookie crumbles wide rim object for mixing ice cream with candy pieces", + "eating frozen dessert with frozen dessert cup", + "Oreo McFlurry made from frosted texture", + "small dessert portion object used for eating frozen dessert", + "Oreo McFlurry in tapered cylinder", + "black cookie crumbles flat base object for eating frozen dessert", + "frozen dessert cup in flat base", + "gray cup frozen dessert cup suitable for mixing ice cream with candy pieces", + "gray cup frozen dessert cup typically used for eating frozen dessert", + "white swirls tapered cylinder frozen dessert cup", + "plastic cup McFlurry used for eating frozen dessert", + "frozen dessert cup used to eating frozen dessert", + "single serving plastic cup Oreo McFlurry for mixing ice cream with candy pieces", + "white swirls tapered cylinder object for mixing ice cream with candy pieces", + "small dessert portion McFlurry perfect for eating frozen dessert", + "wide rim McFlurry used for mixing ice cream with candy pieces", + "plastic cup frozen dessert cup suitable for eating frozen dessert", + "Oreo McFlurry for mixing ice cream with candy pieces tasks", + "small dessert portion glossy finish tapered cylinder for eating frozen dessert", + "plastic cup flat base object used for eating frozen dessert", + "Oreo McFlurry built from frosted texture", + "plastic cup flat base for mixing ice cream with candy pieces", + "small dessert portion Oreo McFlurry for mixing ice cream with candy pieces", + "McFlurry in flat base form", + "frosted texture object for eating frozen dessert", + "frozen dessert cup appropriate for eating frozen dessert", + "black cookie crumbles single serving glossy finish object", + "frozen dessert cup shaped like a flat base", + "McFlurry used to eating frozen dessert", + "Oreo McFlurry made of glossy finish", + "frosted texture object used for mixing ice cream with candy pieces", + "Oreo McFlurry sized as single serving", + "flat base glossy finish frozen dessert cup for eating frozen dessert", + "McFlurry shaped like a flat base", + "single serving gray cup frosted texture frozen dessert cup", + "McFlurry optimized for mixing ice cream with candy pieces", + "flat base glossy finish object for eating frozen dessert", + "white swirls Oreo McFlurry designed for mixing ice cream with candy pieces", + "single serving McFlurry for eating frozen dessert", + "white swirls plastic cup wide rim Oreo McFlurry", + "frosted texture tapered cylinder object used for mixing ice cream with candy pieces", + "frozen dessert cup with handheld dimensions", + "black cookie crumbles Oreo McFlurry typically used for eating frozen dessert", + "handheld flat base object for eating frozen dessert", + "plastic cup object for eating frozen dessert", + "frozen dessert cup with wide rim geometry", + "small dessert portion gray cup tapered cylinder object", + "frozen dessert cup for mixing ice cream with candy pieces use", + "Oreo McFlurry suitable for mixing ice cream with candy pieces", + "glossy finish flat base for mixing ice cream with candy pieces", + "black cookie crumbles plastic cup McFlurry", + "white swirls wide rim Oreo McFlurry used for mixing ice cream with candy pieces", + "small dessert portion white swirls frozen dessert cup", + "flat base plastic cup frozen dessert cup for mixing ice cream with candy pieces" + ], + "caption": { + "color": [ + "gray cup", + "white swirls", + "black cookie crumbles" + ], + "material": [ + "plastic cup", + "glossy finish", + "frosted texture" + ], + "size": [ + "small dessert portion", + "single serving", + "handheld" + ], + "name": [ + "McFlurry", + "Oreo McFlurry", + "frozen dessert cup" + ], + "shape": [ + "tapered cylinder", + "wide rim", + "flat base" + ], + "function": [ + "eating frozen dessert", + "mixing ice cream with candy pieces" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/key/00000/metadata.json b/Objects/RoboDojo/Rigid/key/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..d207d02c87808f7739ad076e33db906bf295b6eb --- /dev/null +++ b/Objects/RoboDojo/Rigid/key/00000/metadata.json @@ -0,0 +1,118 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.01, + -0.005, + -0.0528 + ], + [ + -0.01, + -0.005, + 0.01 + ], + [ + -0.01, + 0.005, + -0.0528 + ], + [ + -0.01, + 0.005, + 0.01 + ], + [ + 0.0127, + -0.005, + -0.0528 + ], + [ + 0.0127, + -0.005, + 0.01 + ], + [ + 0.0127, + 0.005, + -0.0528 + ], + [ + 0.0127, + 0.005, + 0.01 + ] + ], + "extents": [ + 0.0227, + 0.01, + 0.0628 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0089, + 0.005, + 0.0109 + ], + [ + 0.0151, + 0.005, + -0.0516 + ], + [ + -0.0109, + 0.005, + 0.0089 + ], + [ + -0.0047, + 0.005, + -0.0536 + ], + [ + 0.0089, + -0.005, + 0.0109 + ], + [ + 0.0151, + -0.005, + -0.0516 + ], + [ + -0.0109, + -0.005, + 0.0089 + ], + [ + -0.0047, + -0.005, + -0.0536 + ] + ], + "extents": [ + 0.026, + 0.01, + 0.0644 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "size": [ + 0.022765745395852716, + 0.01002438921814205, + 0.063 + ], + "mass": 0.2, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00000/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00000/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00001/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00001/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00002/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00002/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00003/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00003/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00004/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00004/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00005/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00005/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00006/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00006/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00007/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00007/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00008/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00008/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00008/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00009/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00009/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00009/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00010/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00010/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00010/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00011/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00011/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00011/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00012/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00012/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00012/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00013/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00013/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00013/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00014/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00014/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00014/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00015/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00015/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00015/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00016/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00016/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00016/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00017/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00017/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00017/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00018/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00018/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00018/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00019/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00019/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00019/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00020/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00020/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00020/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00021/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00021/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00021/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00022/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00022/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00022/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00023/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00023/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00023/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00024/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00024/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00024/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00025/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00025/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00025/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00026/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00026/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00026/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00027/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00027/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00027/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00028/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00028/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00028/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00029/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00029/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00029/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00030/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00030/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00030/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00031/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00031/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00031/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00032/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00032/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00032/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00033/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00033/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00033/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00034/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00034/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00034/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00035/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00035/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00035/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00036/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00036/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00036/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00037/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00037/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00037/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00038/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00038/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00038/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00039/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00039/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00039/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00040/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00040/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00040/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mahjong/00041/metadata.json b/Objects/RoboDojo/Rigid/mahjong/00041/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..95f2f33362dc4f95f86cd476a8c321174d333204 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mahjong/00041/metadata.json @@ -0,0 +1,133 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0224, + 0.0324, + 0.0164 + ], + [ + -0.0224, + -0.0324, + 0.0164 + ], + [ + 0.0224, + 0.0324, + 0.0164 + ], + [ + 0.0224, + -0.0324, + 0.0164 + ], + [ + -0.0224, + 0.0324, + -0.0164 + ], + [ + -0.0224, + -0.0324, + -0.0164 + ], + [ + 0.0224, + 0.0324, + -0.0164 + ], + [ + 0.0224, + -0.0324, + -0.0164 + ] + ], + "extents": [ + 0.0449, + 0.0647, + 0.0328 + ] + } + }, + "active": {}, + "physics": { + "size": [ + 0.0274, + 0.0395, + 0.02 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": { + "mahjong_0": { + "center": [ + [ + 0.0, + 0.0, + -0.017, + 0.0, + 0.7071, + 0.7071, + 0.0 + ] + ], + "radius": [ + 0.0185 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/mallet/00000/metadata.json b/Objects/RoboDojo/Rigid/mallet/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..7b90b61da9183b8a1cf661120ea62a7d60495626 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mallet/00000/metadata.json @@ -0,0 +1,141 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.013, + -0.013, + -0.013 + ], + [ + -0.013, + -0.013, + 0.013 + ], + [ + -0.013, + 0.2006, + -0.013 + ], + [ + -0.013, + 0.2006, + 0.013 + ], + [ + 0.013, + -0.013, + -0.013 + ], + [ + 0.013, + -0.013, + 0.013 + ], + [ + 0.013, + 0.2006, + -0.013 + ], + [ + 0.013, + 0.2006, + 0.013 + ] + ], + "extents": [ + 0.026, + 0.2136, + 0.026 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.013, + -0.013, + -0.013 + ], + [ + -0.013, + -0.013, + 0.013 + ], + [ + -0.013, + 0.2006, + -0.013 + ], + [ + -0.013, + 0.2006, + 0.013 + ], + [ + 0.013, + -0.013, + -0.013 + ], + [ + 0.013, + -0.013, + 0.013 + ], + [ + 0.013, + 0.2006, + -0.013 + ], + [ + 0.013, + 0.2006, + 0.013 + ] + ], + "extents": [ + 0.026, + 0.2136, + 0.026 + ] + } + }, + "active": { + "functional": { + "beat": { + "frame": [ + [ + 0.0, + -0.001, + -0.01, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + -0.001, + 0.01, + 3.749399456654644e-33, + 6.123233995736766e-17, + 1.0, + 6.123233995736766e-17 + ] + ] + } + } + }, + "physics": { + "size": [ + 0.025999978349795335, + 0.2136360114008964, + 0.026000000000000002 + ], + "mass": 0.02, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/mallet_stand/00000/metadata.json b/Objects/RoboDojo/Rigid/mallet_stand/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..053f744ef1b9834ebfe8c1fa5eb3583709df95f0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mallet_stand/00000/metadata.json @@ -0,0 +1,266 @@ +{ + "physics": { + "mass": 0.04, + "friction": 0.45, + "size": [ + 0.0675218914917145, + 0.030801340170786725, + 0.015 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.034, + -0.0155, + -0.0076 + ], + [ + -0.034, + -0.0155, + 0.0075 + ], + [ + -0.034, + 0.0156, + -0.0076 + ], + [ + -0.034, + 0.0156, + 0.0075 + ], + [ + 0.034, + -0.0155, + -0.0076 + ], + [ + 0.034, + -0.0155, + 0.0075 + ], + [ + 0.034, + 0.0156, + -0.0076 + ], + [ + 0.034, + 0.0156, + 0.0075 + ] + ], + "extents": [ + 0.068, + 0.031, + 0.0151 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0346, + 0.013, + 0.0075 + ], + [ + -0.0335, + 0.0157, + 0.0075 + ], + [ + 0.0335, + -0.0156, + 0.0075 + ], + [ + -0.0347, + -0.0129, + 0.0075 + ], + [ + 0.0346, + 0.013, + -0.0076 + ], + [ + -0.0335, + 0.0157, + -0.0076 + ], + [ + 0.0335, + -0.0156, + -0.0076 + ], + [ + -0.0347, + -0.0129, + -0.0076 + ] + ], + "extents": [ + 0.0693, + 0.0314, + 0.0151 + ] + } + }, + "active": {}, + "passive": { + "functional": {}, + "support": { + "mallet_stand/0": { + "center": [ + [ + -3.3452790557735334e-05, + 4.143729306437982e-05, + -1.543009270894582e-05, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ], + "radius": [ + 0.013 + ] + } + } + }, + "description": [ + "ceramic hashioki for holding chopsticks off the table", + "asymmetrical raised ends hand-thrown clay Japanese chopstick holder for holding chopsticks off the table", + "hashioki in asymmetrical raised ends", + "hashioki made of glazed stoneware", + "gentle upward arch Japanese chopstick holder used for holding chopsticks off the table", + "holding chopsticks off the table with Japanese chopstick holder", + "ceramic Japanese chopstick holder used for keeping tips clean during meals", + "Japanese chopstick holder with glazed stoneware body", + "deep indigo blue streaks gentle upward arch Japanese chopstick holder used for holding chopsticks off the table", + "Japanese chopstick holder for keeping tips clean during meals scenarios", + "asymmetrical raised ends ceramic chopstick rest for keeping tips clean during meals", + "Japanese chopstick holder sized as slim width", + "Japanese chopstick holder shaped like a asymmetrical raised ends", + "hashioki primarily used for keeping tips clean during meals", + "glossy gray hand-thrown clay asymmetrical raised ends object", + "about 4 inches long hand-thrown clay hashioki", + "matte black Japanese chopstick holder suitable for keeping tips clean during meals", + "Japanese chopstick holder in matte black", + "hashioki intended for holding chopsticks off the table", + "chopstick rest in gentle upward arch", + "Japanese chopstick holder with ceramic surface", + "deep indigo blue streaks hand-thrown clay curved rectangular trough hashioki", + "slim width glossy gray curved rectangular trough object", + "about 4 inches long curved rectangular trough chopstick rest for keeping tips clean during meals", + "glazed stoneware asymmetrical raised ends for holding chopsticks off the table", + "glossy gray object used for holding chopsticks off the table", + "glazed stoneware curved rectangular trough Japanese chopstick holder", + "slim width Japanese chopstick holder for keeping tips clean during meals", + "glazed stoneware Japanese chopstick holder", + "hashioki built from ceramic", + "curved rectangular trough ceramic hashioki for keeping tips clean during meals", + "Japanese chopstick holder with hand-thrown clay body", + "Japanese chopstick holder appropriate for holding chopsticks off the table use", + "small palm-sized ceramic object", + "hashioki for keeping tips clean during meals activities", + "matte black object used for holding chopsticks off the table", + "chopstick rest ideal for holding chopsticks off the table", + "slim width ceramic asymmetrical raised ends for holding chopsticks off the table", + "deep indigo blue streaks ceramic hashioki", + "hashioki for keeping tips clean during meals use", + "chopstick rest with hand-thrown clay surface", + "small palm-sized asymmetrical raised ends object for keeping tips clean during meals", + "glossy gray small palm-sized curved rectangular trough Japanese chopstick holder", + "ceramic object used for keeping tips clean during meals", + "chopstick rest in slim width", + "hashioki for keeping tips clean during meals with ceramic", + "glossy gray curved rectangular trough chopstick rest", + "slim width hashioki used for keeping tips clean during meals", + "Japanese chopstick holder in deep indigo blue streaks", + "gentle upward arch-shaped chopstick rest", + "Japanese chopstick holder primarily used for keeping tips clean during meals", + "matte black hand-thrown clay chopstick rest", + "hashioki made of hand-thrown clay", + "glazed stoneware gentle upward arch object used for keeping tips clean during meals", + "glazed stoneware object for keeping tips clean during meals", + "asymmetrical raised ends slim width chopstick rest", + "small palm-sized deep indigo blue streaks object for keeping tips clean during meals", + "Japanese chopstick holder in gentle upward arch form", + "keeping tips clean during meals with chopstick rest", + "chopstick rest optimized for holding chopsticks off the table", + "matte black hand-thrown clay asymmetrical raised ends Japanese chopstick holder", + "hashioki with gentle upward arch profile", + "deep indigo blue streaks slim width glazed stoneware object", + "asymmetrical raised ends object used for keeping tips clean during meals", + "Japanese chopstick holder optimized for holding chopsticks off the table", + "matte black hand-thrown clay curved rectangular trough object", + "about 4 inches long Japanese chopstick holder perfect for holding chopsticks off the table", + "glossy gray chopstick rest designed for holding chopsticks off the table", + "chopstick rest made from hand-thrown clay", + "Japanese chopstick holder sized small palm-sized", + "deep indigo blue streaks object used for keeping tips clean during meals", + "about 4 inches long hashioki used for keeping tips clean during meals", + "hashioki typically made of glazed stoneware", + "curved rectangular trough object used for holding chopsticks off the table", + "Japanese chopstick holder designed for keeping tips clean during meals", + "Japanese chopstick holder appropriate for keeping tips clean during meals use", + "chopstick rest in about 4 inches long", + "hashioki shaped like a asymmetrical raised ends", + "Japanese chopstick holder built from hand-thrown clay", + "chopstick rest featuring glazed stoneware build", + "small palm-sized Japanese chopstick holder for keeping tips clean during meals", + "asymmetrical raised ends Japanese chopstick holder ideal for keeping tips clean during meals", + "chopstick rest typically made of hand-thrown clay", + "small palm-sized matte black curved rectangular trough for holding chopsticks off the table", + "matte black Japanese chopstick holder used for keeping tips clean during meals", + "about 4 inches long gentle upward arch chopstick rest for holding chopsticks off the table", + "chopstick rest for holding chopsticks off the table activities", + "hashioki suitable for holding chopsticks off the table", + "hashioki with ceramic surface", + "small palm-sized glossy gray glazed stoneware asymmetrical raised ends object", + "asymmetrical raised ends-shaped Japanese chopstick holder", + "Japanese chopstick holder with small palm-sized dimensions", + "small palm-sized hand-thrown clay Japanese chopstick holder for holding chopsticks off the table", + "Japanese chopstick holder for keeping tips clean during meals use", + "slim width hashioki for holding chopsticks off the table", + "chopstick rest colored glossy gray", + "about 4 inches long asymmetrical raised ends Japanese chopstick holder", + "about 4 inches long Japanese chopstick holder used for holding chopsticks off the table", + "small palm-sized curved rectangular trough hashioki for keeping tips clean during meals", + "Japanese chopstick holder with curved rectangular trough profile" + ], + "caption": { + "color": [ + "matte black", + "glossy gray", + "deep indigo blue streaks" + ], + "function": [ + "holding chopsticks off the table", + "keeping tips clean during meals" + ], + "material": [ + "ceramic", + "glazed stoneware", + "hand-thrown clay" + ], + "name": [ + "chopstick rest", + "hashioki", + "Japanese chopstick holder" + ], + "shape": [ + "curved rectangular trough", + "gentle upward arch", + "asymmetrical raised ends" + ], + "size": [ + "small palm-sized", + "about 4 inches long", + "slim width" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/minus/00000/metadata.json b/Objects/RoboDojo/Rigid/minus/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..37b481d7f8feb96871caa98ffbd9c1acc5ee6bdc --- /dev/null +++ b/Objects/RoboDojo/Rigid/minus/00000/metadata.json @@ -0,0 +1,240 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.25 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03, + -0.03, + -0.004 + ], + [ + -0.03, + -0.03, + 0.0041 + ], + [ + -0.03, + 0.03, + -0.004 + ], + [ + -0.03, + 0.03, + 0.0041 + ], + [ + 0.03, + -0.03, + -0.004 + ], + [ + 0.03, + -0.03, + 0.0041 + ], + [ + 0.03, + 0.03, + -0.004 + ], + [ + 0.03, + 0.03, + 0.0041 + ] + ], + "extents": [ + 0.06, + 0.06, + 0.0081 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0277, + 0.0321, + 0.0041 + ], + [ + -0.0321, + 0.0277, + 0.0041 + ], + [ + 0.0321, + -0.0277, + 0.0041 + ], + [ + -0.0277, + -0.0321, + 0.0041 + ], + [ + 0.0277, + 0.0321, + -0.004 + ], + [ + -0.0321, + 0.0277, + -0.004 + ], + [ + 0.0321, + -0.0277, + -0.004 + ], + [ + -0.0277, + -0.0321, + -0.004 + ] + ], + "extents": [ + 0.0642, + 0.0642, + 0.0081 + ] + } + }, + "active": {}, + "description": [ + "thumb-width object used for providing clean surface", + "matte black screw cover designed for hiding fasteners", + "black cap typically made of smooth polymer", + "plastic flathead screw cap suitable for providing clean surface", + "plastic object used for hiding fasteners", + "smooth polymer object for providing clean surface", + "plastic cylindrical disc for hiding fasteners", + "black cap for covering screw heads with non-reflective finish", + "black cap with smooth polymer body", + "flat top with raised rim small disc screw cover", + "black cap appropriate for hiding fasteners use", + "small disc black cap used for covering screw heads", + "matte black flathead screw cap used for providing clean surface", + "screw cover made from plastic", + "non-reflective finish screw cover used for providing clean surface", + "thumb-width screw cover perfect for covering screw heads", + "cylindrical disc-shaped black cap", + "plastic object for providing clean surface", + "plastic object for hiding fasteners", + "plastic flathead screw cap for covering screw heads", + "screw cover with dark gray highlight exterior", + "covering screw heads with flathead screw cap", + "black cap suitable for covering screw heads", + "flat top with raised rim small disc flathead screw cap", + "coin-sized slightly domed edge screw cover for providing clean surface", + "black cap shaped like a slightly domed edge", + "matte black black cap suitable for hiding fasteners", + "smooth polymer object used for covering screw heads", + "slightly domed edge thumb-width screw cover", + "small disc non-reflective finish screw cover", + "coin-sized black cap perfect for providing clean surface", + "screw cover appropriate for providing clean surface", + "dark gray highlight cylindrical disc flathead screw cap", + "screw cover used to providing clean surface", + "slightly domed edge flathead screw cap used for providing clean surface", + "coin-sized slightly domed edge flathead screw cap for hiding fasteners", + "flathead screw cap suitable for providing clean surface", + "flathead screw cap for hiding fasteners use", + "thumb-width slightly domed edge black cap for hiding fasteners", + "black cap with slightly domed edge profile", + "flathead screw cap with slightly domed edge profile", + "thumb-width cylindrical disc object for covering screw heads", + "black cap for providing clean surface tasks", + "thumb-width slightly domed edge black cap", + "screw cover with plastic construction", + "flat top with raised rim flathead screw cap for providing clean surface", + "flathead screw cap intended for covering screw heads", + "thumb-width flat top with raised rim black cap for providing clean surface", + "flathead screw cap appropriate for covering screw heads", + "flathead screw cap for covering screw heads", + "small disc object used for hiding fasteners", + "black cap with cylindrical disc geometry", + "flathead screw cap with smooth polymer construction", + "thumb-width matte black flat top with raised rim object", + "dark gray highlight coin-sized plastic object", + "dark gray highlight flathead screw cap suitable for hiding fasteners", + "plastic flathead screw cap", + "flathead screw cap with slightly domed edge geometry", + "small disc cylindrical disc object", + "small disc plastic object", + "thumb-width screw cover used for hiding fasteners", + "dark gray highlight screw cover typically used for providing clean surface", + "coin-sized flathead screw cap perfect for hiding fasteners", + "matte black object used for hiding fasteners", + "hiding fasteners with screw cover", + "flathead screw cap commonly found in thumb-width size", + "matte black screw cover used for hiding fasteners", + "flathead screw cap commonly used for hiding fasteners", + "black cap designed for providing clean surface", + "plastic dark gray highlight flathead screw cap", + "screw cover with cylindrical disc profile", + "black cap featuring cylindrical disc shape", + "coin-sized matte black flat top with raised rim for covering screw heads", + "thumb-width smooth polymer object", + "plastic matte black screw cover", + "flathead screw cap intended for providing clean surface", + "plastic slightly domed edge for providing clean surface", + "plastic screw cover", + "black cap featuring non-reflective finish build", + "dark gray highlight thumb-width screw cover for providing clean surface", + "dark gray highlight black cap used for hiding fasteners", + "coin-sized matte black plastic slightly domed edge object", + "matte black thumb-width cylindrical disc flathead screw cap", + "coin-sized dark gray highlight slightly domed edge object", + "flathead screw cap built from smooth polymer", + "plastic cylindrical disc object used for covering screw heads", + "thumb-width dark gray highlight cylindrical disc object", + "coin-sized screw cover used for hiding fasteners", + "cylindrical disc small disc screw cover", + "coin-sized matte black flathead screw cap", + "flathead screw cap for providing clean surface activities", + "dark gray highlight slightly domed edge screw cover used for covering screw heads", + "smooth polymer slightly domed edge for providing clean surface", + "thumb-width flathead screw cap perfect for covering screw heads", + "matte black smooth polymer cylindrical disc screw cover", + "dark gray highlight non-reflective finish black cap", + "screw cover primarily used for providing clean surface", + "black cap with matte black exterior", + "small disc flathead screw cap used for providing clean surface", + "thumb-width plastic black cap" + ], + "caption": { + "color": [ + "matte black", + "dark gray highlight" + ], + "function": [ + "covering screw heads", + "hiding fasteners", + "providing clean surface" + ], + "material": [ + "plastic", + "smooth polymer", + "non-reflective finish" + ], + "name": [ + "flathead screw cap", + "screw cover", + "black cap" + ], + "shape": [ + "cylindrical disc", + "flat top with raised rim", + "slightly domed edge" + ], + "size": [ + "coin-sized", + "thumb-width", + "small disc" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/minus/00000/object.usdz b/Objects/RoboDojo/Rigid/minus/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..f2e7652f4f9329d055c07d1b9cda12c8d6f6bdb9 Binary files /dev/null and b/Objects/RoboDojo/Rigid/minus/00000/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/mug/00000/metadata.json b/Objects/RoboDojo/Rigid/mug/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..339af76fe08fac68f318236734c07bdb1080f412 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00000/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.15, + "friction": 0.45, + "size": [ + 0.14628267112262167, + 0.11598380978169663, + 0.075 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0728, + -0.0577, + -0.0373 + ], + [ + -0.0728, + -0.0577, + 0.0373 + ], + [ + -0.0728, + 0.0577, + -0.0373 + ], + [ + -0.0728, + 0.0577, + 0.0373 + ], + [ + 0.0728, + -0.0577, + -0.0373 + ], + [ + 0.0728, + -0.0577, + 0.0373 + ], + [ + 0.0728, + 0.0577, + -0.0373 + ], + [ + 0.0728, + 0.0577, + 0.0373 + ] + ], + "extents": [ + 0.1457, + 0.1155, + 0.0747 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0961, + -0.0115, + 0.0373 + ], + [ + 0.0089, + -0.0904, + 0.0373 + ], + [ + -0.0267, + 0.0809, + 0.0373 + ], + [ + 0.0783, + 0.002, + 0.0373 + ], + [ + -0.0961, + -0.0115, + -0.0374 + ], + [ + 0.0089, + -0.0904, + -0.0373 + ], + [ + -0.0266, + 0.0809, + -0.0373 + ], + [ + 0.0783, + 0.002, + -0.0373 + ] + ], + "extents": [ + 0.1744, + 0.1713, + 0.0747 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.075, + 0.0, + 0.015, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.075, + 0.0, + 0.015, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "tea cup shaped like a curved handle on side", + "coffee cup designed for sipping slowly", + "tea cup appropriate for sipping slowly", + "drinking hot beverages use of coffee cup", + "mug sized as holds about 12 ounces", + "tea cup ideal for sipping slowly", + "coffee cup primarily used for holding coffee or tea", + "soft gray-brown non-glossy clay curved handle on side object", + "dusty taupe mug used for drinking hot beverages", + "coffee cup colored matte olive green", + "wide bowl-like body matt-finish stoneware object for drinking hot beverages", + "medium cup dusty taupe object for sipping slowly", + "tea cup appropriate for holding coffee or tea use", + "fits comfortably in one hand ceramic coffee cup for drinking hot beverages", + "soft gray-brown medium cup coffee cup for drinking hot beverages", + "mug for holding coffee or tea with non-glossy clay", + "tea cup featuring slightly flared rim shape", + "wide bowl-like body non-glossy clay coffee cup for drinking hot beverages", + "matte olive green holds about 12 ounces non-glossy clay object", + "fits comfortably in one hand slightly flared rim object for drinking hot beverages", + "medium cup slightly flared rim object for sipping slowly", + "soft gray-brown object used for drinking hot beverages", + "fits comfortably in one hand matte olive green object for drinking hot beverages", + "medium cup coffee cup perfect for holding coffee or tea", + "matt-finish stoneware mug", + "ceramic coffee cup", + "coffee cup designed for drinking hot beverages", + "mug for sipping slowly", + "soft gray-brown matt-finish stoneware wide bowl-like body mug", + "tea cup typically made of matt-finish stoneware", + "mug intended for holding coffee or tea usage", + "ceramic slightly flared rim for holding coffee or tea", + "tea cup with matte olive green color", + "coffee cup primarily used for sipping slowly", + "coffee cup featuring wide bowl-like body shape", + "non-glossy clay coffee cup suitable for drinking hot beverages", + "soft gray-brown slightly flared rim mug used for drinking hot beverages", + "tea cup featuring wide bowl-like body shape", + "mug suitable for drinking hot beverages", + "fits comfortably in one hand matte olive green non-glossy clay tea cup", + "dusty taupe ceramic tea cup", + "mug for holding coffee or tea use", + "medium cup dusty taupe object for holding coffee or tea", + "ceramic wide bowl-like body coffee cup", + "coffee cup featuring matt-finish stoneware build", + "coffee cup for holding coffee or tea scenarios", + "wide bowl-like body tea cup ideal for sipping slowly", + "non-glossy clay coffee cup for sipping slowly", + "soft gray-brown mug designed for holding coffee or tea", + "ceramic soft gray-brown tea cup", + "tea cup with fits comfortably in one hand dimensions", + "tea cup commonly featuring non-glossy clay", + "soft gray-brown mug typically used for drinking hot beverages", + "tea cup built from non-glossy clay", + "matte olive green coffee cup used for holding coffee or tea", + "dusty taupe mug for drinking hot beverages", + "drinking hot beverages use of mug", + "slightly flared rim non-glossy clay object for sipping slowly", + "coffee cup in slightly flared rim form", + "ceramic wide bowl-like body for drinking hot beverages", + "mug made from ceramic", + "medium cup wide bowl-like body tea cup for drinking hot beverages", + "matte olive green medium cup curved handle on side mug", + "soft gray-brown object used for sipping slowly", + "mug built from matt-finish stoneware", + "holds about 12 ounces matte olive green ceramic wide bowl-like body object", + "tea cup for sipping slowly tasks", + "mug built from non-glossy clay", + "medium cup dusty taupe wide bowl-like body object", + "coffee cup commonly found in medium cup size", + "ceramic curved handle on side tea cup", + "matte olive green non-glossy clay slightly flared rim coffee cup", + "mug with ceramic body", + "fits comfortably in one hand wide bowl-like body mug", + "holds about 12 ounces dusty taupe coffee cup", + "coffee cup for sipping slowly activities", + "mug appropriate for drinking hot beverages", + "non-glossy clay tea cup used for sipping slowly", + "tea cup shaped like a wide bowl-like body", + "tea cup in slightly flared rim form", + "tea cup for drinking hot beverages use", + "tea cup with ceramic body", + "soft gray-brown coffee cup for sipping slowly", + "holding coffee or tea with tea cup", + "tea cup for holding coffee or tea use", + "mug intended for sipping slowly", + "holds about 12 ounces wide bowl-like body mug", + "mug optimized for holding coffee or tea", + "coffee cup commonly used for holding coffee or tea", + "holds about 12 ounces soft gray-brown slightly flared rim object", + "mug with matt-finish stoneware body", + "tea cup in soft gray-brown", + "matte olive green wide bowl-like body object for holding coffee or tea", + "curved handle on side tea cup used for holding coffee or tea", + "matt-finish stoneware slightly flared rim for sipping slowly", + "fits comfortably in one hand tea cup used for sipping slowly", + "mug in medium cup", + "holds about 12 ounces curved handle on side tea cup", + "mug used to holding coffee or tea", + "curved handle on side tea cup ideal for drinking hot beverages" + ], + "caption": { + "color": [ + "matte olive green", + "dusty taupe", + "soft gray-brown" + ], + "function": [ + "drinking hot beverages", + "holding coffee or tea", + "sipping slowly" + ], + "material": [ + "ceramic", + "matt-finish stoneware", + "non-glossy clay" + ], + "name": [ + "coffee cup", + "mug", + "tea cup" + ], + "shape": [ + "wide bowl-like body", + "curved handle on side", + "slightly flared rim" + ], + "size": [ + "medium cup", + "holds about 12 ounces", + "fits comfortably in one hand" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00001/metadata.json b/Objects/RoboDojo/Rigid/mug/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ae6595cad36a52ccf40ff2c9d2c195b37025af9a --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00001/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.25, + "friction": 0.25, + "size": [ + 0.12976993449779883, + 0.10216702971676554, + 0.069 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0646, + -0.0507, + -0.0343 + ], + [ + -0.0646, + -0.0507, + 0.0343 + ], + [ + -0.0646, + 0.0508, + -0.0343 + ], + [ + -0.0646, + 0.0508, + 0.0343 + ], + [ + 0.0644, + -0.0507, + -0.0343 + ], + [ + 0.0644, + -0.0507, + 0.0343 + ], + [ + 0.0644, + 0.0508, + -0.0343 + ], + [ + 0.0644, + 0.0508, + 0.0343 + ] + ], + "extents": [ + 0.129, + 0.1015, + 0.0686 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0242, + -0.0709, + 0.0343 + ], + [ + 0.0684, + -0.0027, + 0.0343 + ], + [ + -0.0844, + 0.0109, + 0.0343 + ], + [ + 0.0082, + 0.079, + 0.0343 + ], + [ + -0.0242, + -0.0709, + -0.0343 + ], + [ + 0.0683, + -0.0027, + -0.0343 + ], + [ + -0.0844, + 0.0109, + -0.0343 + ], + [ + 0.0081, + 0.0791, + -0.0343 + ] + ], + "extents": [ + 0.1528, + 0.1499, + 0.0686 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.063, + 0.0, + 0.005, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.063, + 0.0, + 0.005, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "dark brown rim fits comfortably in one hand glazed ceramic object", + "glazed ceramic wide open top mug", + "sipping slowly with coffee mug", + "coffee mug with medium cup dimensions", + "holds about 12 ounces creamy beige interior mug", + "mug with fits comfortably in one hand dimensions", + "olive green exterior mug typically used for sipping slowly", + "coffee mug for holding coffee or tea", + "dark brown rim mug designed for drinking hot beverages", + "dark brown rim fits comfortably in one hand mug for drinking hot beverages", + "glazed ceramic wide open top ceramic cup", + "ceramic cup for sipping slowly use", + "fits comfortably in one hand coffee mug used for drinking hot beverages", + "medium cup smooth shiny finish coffee mug", + "creamy beige interior wide open top coffee mug", + "fits comfortably in one hand glazed ceramic coffee mug for holding coffee or tea", + "coffee mug in rounded bowl body", + "non-porous surface wide open top for drinking hot beverages", + "non-porous surface wide open top object used for drinking hot beverages", + "holds about 12 ounces rounded bowl body ceramic cup for drinking hot beverages", + "ceramic cup with smooth shiny finish surface", + "mug with non-porous surface body", + "ceramic cup sized as fits comfortably in one hand", + "coffee mug typically made of smooth shiny finish", + "ceramic cup suitable for drinking hot beverages", + "mug with holds about 12 ounces dimensions", + "coffee mug used to sipping slowly", + "non-porous surface dark brown rim coffee mug", + "ceramic cup with wide open top geometry", + "coffee mug with rounded bowl body profile", + "C-shaped handle non-porous surface object for holding coffee or tea", + "mug used to drinking hot beverages", + "C-shaped handle-shaped mug", + "ceramic cup in fits comfortably in one hand", + "non-porous surface ceramic cup for sipping slowly", + "fits comfortably in one hand dark brown rim glazed ceramic mug", + "smooth shiny finish rounded bowl body ceramic cup", + "holds about 12 ounces glazed ceramic wide open top for drinking hot beverages", + "drinking hot beverages with coffee mug", + "smooth shiny finish object used for holding coffee or tea", + "mug featuring glazed ceramic build", + "holds about 12 ounces olive green exterior wide open top for sipping slowly", + "ceramic cup sized holds about 12 ounces", + "holds about 12 ounces C-shaped handle coffee mug", + "non-porous surface wide open top ceramic cup", + "coffee mug designed for drinking hot beverages", + "wide open top mug ideal for sipping slowly", + "ceramic cup shaped like a rounded bowl body", + "olive green exterior fits comfortably in one hand smooth shiny finish object", + "rounded bowl body mug ideal for drinking hot beverages", + "mug typically made of glazed ceramic", + "coffee mug appropriate for drinking hot beverages use", + "ceramic cup intended for sipping slowly", + "smooth shiny finish ceramic cup", + "holds about 12 ounces object used for sipping slowly", + "mug for holding coffee or tea activities", + "medium cup C-shaped handle coffee mug for drinking hot beverages", + "medium cup dark brown rim object for sipping slowly", + "fits comfortably in one hand olive green exterior mug", + "ceramic cup intended for holding coffee or tea usage", + "coffee mug with wide open top profile", + "olive green exterior coffee mug used for holding coffee or tea", + "wide open top non-porous surface coffee mug for sipping slowly", + "smooth shiny finish mug suitable for holding coffee or tea", + "olive green exterior fits comfortably in one hand glazed ceramic object", + "non-porous surface rounded bowl body ceramic cup", + "wide open top mug ideal for holding coffee or tea", + "ceramic cup for holding coffee or tea scenarios", + "coffee mug for sipping slowly with non-porous surface", + "olive green exterior medium cup coffee mug for drinking hot beverages", + "ceramic cup with olive green exterior color", + "coffee mug primarily used for sipping slowly", + "medium cup glazed ceramic coffee mug for drinking hot beverages", + "medium cup wide open top object", + "ceramic cup in C-shaped handle form", + "dark brown rim ceramic cup designed for sipping slowly", + "dark brown rim coffee mug suitable for sipping slowly", + "coffee mug commonly found in medium cup size", + "holding coffee or tea use of coffee mug", + "coffee mug commonly featuring glazed ceramic", + "ceramic cup colored dark brown rim", + "coffee mug appropriate for holding coffee or tea use", + "olive green exterior coffee mug typically used for drinking hot beverages", + "ceramic cup in dark brown rim", + "coffee mug with smooth shiny finish construction", + "ceramic cup in wide open top form", + "C-shaped handle medium cup mug", + "non-porous surface wide open top object used for holding coffee or tea", + "drinking hot beverages use of ceramic cup", + "C-shaped handle mug ideal for sipping slowly", + "C-shaped handle object made of glazed ceramic", + "dark brown rim object used for holding coffee or tea", + "fits comfortably in one hand mug perfect for holding coffee or tea", + "fits comfortably in one hand object used for holding coffee or tea", + "coffee mug optimized for holding coffee or tea", + "mug colored olive green exterior", + "smooth shiny finish object for sipping slowly", + "mug commonly featuring smooth shiny finish", + "ceramic cup featuring rounded bowl body shape", + "fits comfortably in one hand smooth shiny finish C-shaped handle for holding coffee or tea" + ], + "caption": { + "color": [ + "olive green exterior", + "creamy beige interior", + "dark brown rim" + ], + "function": [ + "drinking hot beverages", + "holding coffee or tea", + "sipping slowly" + ], + "material": [ + "glazed ceramic", + "smooth shiny finish", + "non-porous surface" + ], + "name": [ + "mug", + "coffee mug", + "ceramic cup" + ], + "shape": [ + "rounded bowl body", + "C-shaped handle", + "wide open top" + ], + "size": [ + "medium cup", + "holds about 12 ounces", + "fits comfortably in one hand" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00002/metadata.json b/Objects/RoboDojo/Rigid/mug/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0f39e17b03bec2106e79c9c56cfb1d62a12f7dc3 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00002/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.25, + "friction": 0.25, + "size": [ + 0.10209891541261336, + 0.07649432756967196, + 0.069 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0508, + -0.038, + -0.0343 + ], + [ + -0.0508, + -0.038, + 0.0343 + ], + [ + -0.0508, + 0.0381, + -0.0343 + ], + [ + -0.0508, + 0.0381, + 0.0343 + ], + [ + 0.0507, + -0.038, + -0.0343 + ], + [ + 0.0507, + -0.038, + 0.0343 + ], + [ + 0.0507, + 0.0381, + -0.0343 + ], + [ + 0.0507, + 0.0381, + 0.0343 + ] + ], + "extents": [ + 0.1015, + 0.076, + 0.0686 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0115, + 0.0619, + 0.0343 + ], + [ + -0.0655, + 0.0108, + 0.0343 + ], + [ + 0.0537, + -0.0016, + 0.0343 + ], + [ + -0.0234, + -0.0527, + 0.0343 + ], + [ + 0.0116, + 0.0619, + -0.0343 + ], + [ + -0.0655, + 0.0108, + -0.0343 + ], + [ + 0.0537, + -0.0016, + -0.0343 + ], + [ + -0.0233, + -0.0527, + -0.0343 + ] + ], + "extents": [ + 0.1192, + 0.1146, + 0.0686 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.048, + 0.0, + -0.0, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.048, + 0.0, + -0.0, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "black camping cup in D-shaped handle", + "medium mug camp mug for holding coffee or tea", + "enamel mug sized fits in one hand", + "holds about 12 ounces D-shaped handle object for camping use", + "holds about 12 ounces smooth ceramic-like finish enamel mug", + "fits in one hand cylindrical body camp mug", + "cylindrical body enameled metal enamel mug for holding coffee or tea", + "shiny dark gray object used for camping use", + "D-shaped handle black camping cup ideal for drinking hot beverages", + "enamel mug appropriate for holding coffee or tea", + "metallic sheen silver rim camp mug", + "enamel mug in slightly flared rim", + "camp mug used to camping use", + "silver rim fits in one hand cylindrical body camp mug", + "black camping cup ideal for drinking hot beverages", + "glossy black object used for holding coffee or tea", + "fits in one hand object used for camping use", + "black camping cup primarily used for camping use", + "smooth ceramic-like finish slightly flared rim for drinking hot beverages", + "camp mug featuring smooth ceramic-like finish build", + "metallic sheen enamel mug suitable for holding coffee or tea", + "black camping cup shaped like a D-shaped handle", + "camp mug for camping use use", + "cylindrical body-shaped black camping cup", + "silver rim holds about 12 ounces cylindrical body enamel mug", + "black camping cup made of smooth ceramic-like finish", + "glossy black D-shaped handle object for drinking hot beverages", + "smooth ceramic-like finish black camping cup suitable for camping use", + "shiny dark gray slightly flared rim camp mug", + "silver rim camp mug typically used for holding coffee or tea", + "enamel mug designed for holding coffee or tea", + "camp mug in slightly flared rim", + "holding coffee or tea use of enamel mug", + "enameled metal enamel mug used for camping use", + "shiny dark gray smooth ceramic-like finish D-shaped handle object", + "enameled metal cylindrical body for drinking hot beverages", + "enamel mug made of smooth ceramic-like finish", + "medium mug enameled metal slightly flared rim for drinking hot beverages", + "cylindrical body enameled metal object for drinking hot beverages", + "enamel mug appropriate for drinking hot beverages", + "fits in one hand cylindrical body black camping cup for drinking hot beverages", + "camp mug for holding coffee or tea activities", + "black camping cup for holding coffee or tea activities", + "enamel mug ideal for holding coffee or tea", + "enamel mug for drinking hot beverages with smooth ceramic-like finish", + "black camping cup commonly featuring enameled metal", + "slightly flared rim enameled metal enamel mug for camping use", + "glossy black smooth ceramic-like finish D-shaped handle enamel mug", + "medium mug smooth ceramic-like finish slightly flared rim for holding coffee or tea", + "enameled metal slightly flared rim for holding coffee or tea", + "medium mug object used for drinking hot beverages", + "shiny dark gray D-shaped handle enamel mug", + "holds about 12 ounces camp mug for holding coffee or tea", + "medium mug enamel mug for holding coffee or tea", + "black camping cup with metallic sheen body", + "black camping cup with metallic sheen surface", + "enamel mug commonly used for holding coffee or tea", + "enameled metal object used for drinking hot beverages", + "metallic sheen D-shaped handle object used for drinking hot beverages", + "medium mug D-shaped handle enamel mug", + "black camping cup intended for camping use", + "camp mug intended for holding coffee or tea", + "D-shaped handle enamel mug ideal for holding coffee or tea", + "enameled metal black camping cup suitable for camping use", + "holds about 12 ounces enameled metal camp mug for holding coffee or tea", + "D-shaped handle object used for camping use", + "camp mug made from smooth ceramic-like finish", + "shiny dark gray cylindrical body camp mug", + "smooth ceramic-like finish enamel mug", + "enamel mug for holding coffee or tea activities", + "medium mug smooth ceramic-like finish object", + "enamel mug commonly found in holds about 12 ounces size", + "shiny dark gray camp mug designed for holding coffee or tea", + "camp mug in slightly flared rim form", + "fits in one hand D-shaped handle black camping cup", + "cylindrical body enamel mug used for holding coffee or tea", + "camp mug with enameled metal construction", + "smooth ceramic-like finish object for camping use", + "glossy black medium mug black camping cup for holding coffee or tea", + "D-shaped handle smooth ceramic-like finish object for camping use", + "black camping cup appropriate for holding coffee or tea", + "camp mug in D-shaped handle", + "camp mug commonly featuring enameled metal", + "enamel mug appropriate for drinking hot beverages use", + "enameled metal black camping cup used for camping use", + "camp mug featuring D-shaped handle shape", + "enamel mug shaped like a D-shaped handle", + "holds about 12 ounces smooth ceramic-like finish camp mug for camping use", + "shiny dark gray enamel mug typically used for camping use", + "glossy black smooth ceramic-like finish black camping cup", + "enameled metal D-shaped handle object used for holding coffee or tea", + "camp mug in shiny dark gray", + "camp mug with fits in one hand dimensions", + "black camping cup with D-shaped handle profile", + "camp mug appropriate for drinking hot beverages use", + "metallic sheen black camping cup for holding coffee or tea", + "camp mug for holding coffee or tea with smooth ceramic-like finish", + "smooth ceramic-like finish object for drinking hot beverages", + "enamel mug made from enameled metal", + "black camping cup designed for holding coffee or tea" + ], + "caption": { + "color": [ + "glossy black", + "shiny dark gray", + "silver rim" + ], + "function": [ + "drinking hot beverages", + "holding coffee or tea", + "camping use" + ], + "material": [ + "enameled metal", + "smooth ceramic-like finish", + "metallic sheen" + ], + "name": [ + "camp mug", + "enamel mug", + "black camping cup" + ], + "shape": [ + "cylindrical body", + "slightly flared rim", + "D-shaped handle" + ], + "size": [ + "medium mug", + "holds about 12 ounces", + "fits in one hand" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00003/metadata.json b/Objects/RoboDojo/Rigid/mug/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..5545775a5134b765d065a77b38f4fd109dbd7635 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00003/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.1032825874115162, + 0.08844706991063539, + 0.069 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0514, + -0.0439, + -0.0343 + ], + [ + -0.0514, + -0.0439, + 0.0343 + ], + [ + -0.0514, + 0.044, + -0.0343 + ], + [ + -0.0514, + 0.044, + 0.0343 + ], + [ + 0.0513, + -0.0439, + -0.0343 + ], + [ + 0.0513, + -0.0439, + 0.0343 + ], + [ + 0.0513, + 0.044, + -0.0343 + ], + [ + 0.0513, + 0.044, + 0.0343 + ] + ], + "extents": [ + 0.1027, + 0.0879, + 0.0686 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0702, + -0.0, + 0.0342 + ], + [ + -0.0082, + -0.0618, + 0.0342 + ], + [ + -0.0086, + 0.0618, + 0.0344 + ], + [ + 0.0534, + 0.0, + 0.0344 + ], + [ + -0.0701, + 0.0001, + -0.0344 + ], + [ + -0.0081, + -0.0616, + -0.0344 + ], + [ + -0.0084, + 0.0619, + -0.0341 + ], + [ + 0.0535, + 0.0002, + -0.0342 + ] + ], + "extents": [ + 0.1237, + 0.1237, + 0.0688 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.05, + 0.0, + 0.01, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.05, + 0.0, + 0.01, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "coffee cup for drinking hot beverages with glazed stoneware", + "C-shaped handle coffee cup ideal for drinking hot beverages", + "light-reflective rim vertical fluted ribs ribbed ceramic cup used for holding coffee or tea", + "vertical fluted ribs glazed stoneware mug for sipping slowly", + "glazed stoneware matte gray ribbed ceramic cup", + "medium cup coffee cup for sipping slowly", + "dark interior object used for holding coffee or tea", + "ribbed texture light-reflective rim mug", + "glazed stoneware vertical fluted ribs ribbed ceramic cup", + "ribbed ceramic cup colored matte gray", + "ceramic mug suitable for sipping slowly", + "fits in one hand C-shaped handle object", + "mug made of ceramic", + "C-shaped handle ceramic object for sipping slowly", + "ribbed ceramic cup ideal for sipping slowly", + "glazed stoneware object used for drinking hot beverages", + "glazed stoneware matte gray mug", + "coffee cup intended for sipping slowly", + "mug built from glazed stoneware", + "light-reflective rim fits in one hand mug for sipping slowly", + "fits in one hand mug perfect for sipping slowly", + "coffee cup for drinking hot beverages activities", + "medium cup object used for holding coffee or tea", + "ribbed ceramic cup in matte gray", + "light-reflective rim medium cup glazed stoneware object", + "ribbed ceramic cup colored light-reflective rim", + "ribbed ceramic cup intended for holding coffee or tea usage", + "ribbed ceramic cup for holding coffee or tea scenarios", + "vertical fluted ribs-shaped coffee cup", + "ribbed ceramic cup with glazed stoneware surface", + "light-reflective rim ceramic ribbed ceramic cup", + "ribbed texture object used for sipping slowly", + "coffee cup with holds about 12 ounces dimensions", + "medium cup vertical fluted ribs object for sipping slowly", + "fits in one hand light-reflective rim ceramic C-shaped handle object", + "coffee cup with C-shaped handle profile", + "ceramic mug", + "medium cup ceramic mug", + "coffee cup in wide bowl-shaped body", + "mug suitable for sipping slowly", + "ribbed texture matte gray coffee cup", + "ribbed ceramic cup for drinking hot beverages", + "fits in one hand coffee cup used for drinking hot beverages", + "medium cup vertical fluted ribs ribbed ceramic cup for drinking hot beverages", + "dark interior fits in one hand mug for holding coffee or tea", + "ribbed ceramic cup made of glazed stoneware", + "ceramic coffee cup used for drinking hot beverages", + "glazed stoneware dark interior coffee cup", + "mug typically made of ceramic", + "dark interior ribbed ceramic cup used for drinking hot beverages", + "ribbed texture coffee cup", + "glazed stoneware object used for holding coffee or tea", + "C-shaped handle mug used for drinking hot beverages", + "mug appropriate for holding coffee or tea use", + "fits in one hand ceramic mug", + "coffee cup in C-shaped handle form", + "ribbed ceramic cup commonly featuring ribbed texture", + "holding coffee or tea use of ribbed ceramic cup", + "ribbed ceramic cup ideal for holding coffee or tea", + "mug with ceramic body", + "mug for drinking hot beverages activities", + "light-reflective rim mug designed for holding coffee or tea", + "ribbed ceramic cup sized as medium cup", + "coffee cup made of ceramic", + "coffee cup designed for sipping slowly", + "C-shaped handle ribbed texture ribbed ceramic cup for sipping slowly", + "matte gray ceramic wide bowl-shaped body ribbed ceramic cup", + "fits in one hand glazed stoneware C-shaped handle for sipping slowly", + "ribbed ceramic cup primarily used for sipping slowly", + "coffee cup in fits in one hand", + "matte gray C-shaped handle mug used for sipping slowly", + "holds about 12 ounces ribbed texture object", + "fits in one hand wide bowl-shaped body object for drinking hot beverages", + "holds about 12 ounces coffee cup for holding coffee or tea", + "medium cup mug perfect for sipping slowly", + "medium cup coffee cup for drinking hot beverages", + "ribbed ceramic cup sized medium cup", + "coffee cup used to sipping slowly", + "light-reflective rim vertical fluted ribs ribbed ceramic cup", + "coffee cup shaped like a vertical fluted ribs", + "C-shaped handle object used for sipping slowly", + "matte gray medium cup mug for drinking hot beverages", + "medium cup C-shaped handle coffee cup for drinking hot beverages", + "matte gray coffee cup designed for sipping slowly", + "vertical fluted ribs-shaped ribbed ceramic cup", + "coffee cup primarily used for holding coffee or tea", + "matte gray ribbed ceramic cup typically used for holding coffee or tea", + "medium cup glazed stoneware mug", + "matte gray medium cup C-shaped handle ribbed ceramic cup", + "fits in one hand matte gray wide bowl-shaped body object", + "light-reflective rim coffee cup designed for sipping slowly", + "wide bowl-shaped body ribbed texture object for drinking hot beverages", + "mug commonly featuring ceramic", + "coffee cup with vertical fluted ribs geometry", + "glazed stoneware C-shaped handle object used for sipping slowly", + "ribbed texture coffee cup used for drinking hot beverages", + "mug for holding coffee or tea with glazed stoneware", + "mug for drinking hot beverages with ribbed texture", + "ribbed ceramic cup with C-shaped handle profile", + "wide bowl-shaped body-shaped mug" + ], + "caption": { + "color": [ + "matte gray", + "dark interior", + "light-reflective rim" + ], + "function": [ + "drinking hot beverages", + "holding coffee or tea", + "sipping slowly" + ], + "material": [ + "ceramic", + "glazed stoneware", + "ribbed texture" + ], + "name": [ + "coffee cup", + "mug", + "ribbed ceramic cup" + ], + "shape": [ + "wide bowl-shaped body", + "vertical fluted ribs", + "C-shaped handle" + ], + "size": [ + "medium cup", + "holds about 12 ounces", + "fits in one hand" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00004/metadata.json b/Objects/RoboDojo/Rigid/mug/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..19b8f1d3c80a0a01db2f3ea653d7f8caf6b10e4e --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00004/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.25, + "friction": 0.25, + "size": [ + 0.09067746668346471, + 0.06430525750383176, + 0.07600000000000001 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0455, + -0.0322, + -0.0381 + ], + [ + -0.0455, + -0.0322, + 0.0381 + ], + [ + -0.0455, + 0.0323, + -0.0381 + ], + [ + -0.0455, + 0.0323, + 0.0381 + ], + [ + 0.0454, + -0.0322, + -0.0381 + ], + [ + 0.0454, + -0.0322, + 0.0381 + ], + [ + 0.0454, + 0.0323, + -0.0381 + ], + [ + 0.0454, + 0.0323, + 0.0381 + ] + ], + "extents": [ + 0.0909, + 0.0645, + 0.0762 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0484, + 0.0023, + -0.0381 + ], + [ + -0.0259, + 0.0437, + -0.0381 + ], + [ + 0.0484, + 0.0023, + 0.0381 + ], + [ + -0.0259, + 0.0437, + 0.0381 + ], + [ + 0.0171, + -0.0539, + -0.0381 + ], + [ + -0.0572, + -0.0125, + -0.0381 + ], + [ + 0.0171, + -0.0539, + 0.0381 + ], + [ + -0.0572, + -0.0125, + 0.0381 + ] + ], + "extents": [ + 0.1056, + 0.0975, + 0.0762 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.042, + 0.0, + 0.0, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.042, + 0.0, + 0.0, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "printed ceramic mug shaped like a C-shaped handle", + "standard coffee mug wide open rim burger mug for holding hot drinks", + "coffee mug with standard coffee mug dimensions", + "fits in one hand C-shaped handle coffee mug", + "ceramic printed ceramic mug for holding hot drinks", + "burger mug designed for displaying a fun design", + "fits in one hand white with burger print cylindrical body object", + "matte gray smooth porcelain wide open rim object", + "printed ceramic mug typically made of glossy glaze", + "burger mug with ceramic surface", + "printed ceramic mug made of ceramic", + "cylindrical body burger mug ideal for daily beverage use", + "white with burger print ceramic C-shaped handle object", + "standard coffee mug glossy glaze C-shaped handle for displaying a fun design", + "printed ceramic mug for holding hot drinks use", + "matte gray printed ceramic mug designed for displaying a fun design", + "cylindrical body ceramic object for daily beverage use", + "matte gray burger mug suitable for daily beverage use", + "holds about 12 ounces glossy glaze cylindrical body for displaying a fun design", + "coffee mug sized standard coffee mug", + "holds about 12 ounces printed ceramic mug perfect for displaying a fun design", + "fits in one hand white with burger print glossy glaze coffee mug", + "metallic silver holds about 12 ounces glossy glaze object", + "holds about 12 ounces wide open rim printed ceramic mug for daily beverage use", + "printed ceramic mug with glossy glaze surface", + "holds about 12 ounces cylindrical body coffee mug", + "printed ceramic mug in fits in one hand", + "fits in one hand glossy glaze coffee mug", + "burger mug with smooth porcelain surface", + "holds about 12 ounces matte gray C-shaped handle for daily beverage use", + "fits in one hand white with burger print smooth porcelain printed ceramic mug", + "coffee mug in cylindrical body", + "metallic silver coffee mug used for holding hot drinks", + "glossy glaze C-shaped handle printed ceramic mug", + "C-shaped handle burger mug for displaying a fun design", + "burger mug with glossy glaze body", + "coffee mug typically made of smooth porcelain", + "coffee mug optimized for displaying a fun design", + "printed ceramic mug sized standard coffee mug", + "printed ceramic mug for holding hot drinks tasks", + "fits in one hand ceramic burger mug for daily beverage use", + "coffee mug appropriate for daily beverage use", + "glossy glaze printed ceramic mug for daily beverage use", + "wide open rim burger mug used for daily beverage use", + "burger mug made of smooth porcelain", + "burger mug appropriate for displaying a fun design", + "coffee mug intended for holding hot drinks usage", + "matte gray coffee mug used for daily beverage use", + "coffee mug for displaying a fun design tasks", + "coffee mug intended for displaying a fun design usage", + "fits in one hand wide open rim printed ceramic mug for holding hot drinks", + "burger mug built from smooth porcelain", + "white with burger print burger mug for displaying a fun design", + "holds about 12 ounces smooth porcelain printed ceramic mug", + "displaying a fun design with printed ceramic mug", + "burger mug for daily beverage use use", + "C-shaped handle object made of smooth porcelain", + "glossy glaze printed ceramic mug for holding hot drinks", + "printed ceramic mug in wide open rim form", + "glossy glaze object used for daily beverage use", + "ceramic burger mug used for daily beverage use", + "printed ceramic mug commonly featuring glossy glaze", + "burger mug used to holding hot drinks", + "glossy glaze printed ceramic mug used for holding hot drinks", + "printed ceramic mug with smooth porcelain body", + "metallic silver glossy glaze coffee mug", + "fits in one hand wide open rim burger mug", + "metallic silver standard coffee mug burger mug for displaying a fun design", + "printed ceramic mug appropriate for displaying a fun design", + "printed ceramic mug made of smooth porcelain", + "smooth porcelain burger mug suitable for holding hot drinks", + "ceramic burger mug for holding hot drinks", + "standard coffee mug matte gray object for displaying a fun design", + "white with burger print C-shaped handle burger mug", + "fits in one hand C-shaped handle printed ceramic mug for displaying a fun design", + "smooth porcelain matte gray burger mug", + "burger mug in wide open rim", + "standard coffee mug white with burger print ceramic printed ceramic mug", + "holds about 12 ounces wide open rim object", + "matte gray wide open rim object for daily beverage use", + "smooth porcelain wide open rim printed ceramic mug", + "coffee mug in wide open rim", + "ceramic printed ceramic mug suitable for daily beverage use", + "standard coffee mug glossy glaze printed ceramic mug", + "matte gray printed ceramic mug typically used for displaying a fun design", + "printed ceramic mug built from glossy glaze", + "standard coffee mug glossy glaze object", + "standard coffee mug cylindrical body burger mug", + "daily beverage use with printed ceramic mug", + "burger mug with cylindrical body geometry", + "wide open rim printed ceramic mug used for displaying a fun design", + "cylindrical body printed ceramic mug for holding hot drinks", + "printed ceramic mug colored white with burger print", + "coffee mug built from ceramic", + "holds about 12 ounces object used for daily beverage use", + "coffee mug for displaying a fun design scenarios", + "printed ceramic mug built from smooth porcelain", + "coffee mug ideal for daily beverage use", + "glossy glaze burger mug", + "smooth porcelain cylindrical body printed ceramic mug" + ], + "caption": { + "color": [ + "matte gray", + "metallic silver", + "white with burger print" + ], + "function": [ + "holding hot drinks", + "displaying a fun design", + "daily beverage use" + ], + "material": [ + "ceramic", + "glossy glaze", + "smooth porcelain" + ], + "name": [ + "coffee mug", + "burger mug", + "printed ceramic mug" + ], + "shape": [ + "cylindrical body", + "C-shaped handle", + "wide open rim" + ], + "size": [ + "standard coffee mug", + "holds about 12 ounces", + "fits in one hand" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00005/metadata.json b/Objects/RoboDojo/Rigid/mug/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..5e77f57095a9f247aaf4252fb2f90cd48a1c8fe3 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00005/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.25, + "friction": 0.38, + "size": [ + 0.09913398104925741, + 0.07529970169976541, + 0.06899999999999999 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0493, + -0.0374, + -0.0343 + ], + [ + -0.0493, + -0.0374, + 0.0343 + ], + [ + -0.0493, + 0.0375, + -0.0343 + ], + [ + -0.0493, + 0.0375, + 0.0343 + ], + [ + 0.0492, + -0.0374, + -0.0343 + ], + [ + 0.0492, + -0.0374, + 0.0343 + ], + [ + 0.0492, + 0.0375, + -0.0343 + ], + [ + 0.0492, + 0.0375, + 0.0343 + ] + ], + "extents": [ + 0.0985, + 0.0748, + 0.0686 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0537, + 0.0037, + 0.0343 + ], + [ + -0.0258, + 0.0507, + 0.0343 + ], + [ + 0.0161, + -0.0597, + 0.0343 + ], + [ + -0.0633, + -0.0127, + 0.0343 + ], + [ + 0.0537, + 0.0037, + -0.0343 + ], + [ + -0.0258, + 0.0507, + -0.0343 + ], + [ + 0.0161, + -0.0597, + -0.0343 + ], + [ + -0.0633, + -0.0127, + -0.0343 + ] + ], + "extents": [ + 0.117, + 0.1104, + 0.0686 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.047, + 0.0, + 0.0, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.047, + 0.0, + 0.0, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "minifig mug built from glossy plastic", + "minifig mug built from shiny metal-like finish", + "minifig mug commonly featuring shiny metal-like finish", + "Lego minifigure head mug with metallic silver color", + "shiny metal-like finish integrated handle object used for sipping coffee or tea", + "minifig mug for sipping coffee or tea", + "Lego head cup for holding hot drinks scenarios", + "Lego head cup intended for sipping coffee or tea", + "Lego minifigure head mug with bright yellow color", + "Lego minifigure head mug in fits in one hand", + "handheld gray face panel shiny metal-like finish Lego head cup", + "displaying as a novelty item use of Lego minifigure head mug", + "gray face panel Lego head cup typically used for sipping coffee or tea", + "handheld Lego head cup for sipping coffee or tea", + "minifig mug for sipping coffee or tea tasks", + "mug-sized rounded cylindrical body object for holding hot drinks", + "Lego minifigure head mug with rounded cylindrical body geometry", + "metallic silver object used for holding hot drinks", + "minifig mug commonly found in mug-sized size", + "Lego head cup appropriate for sipping coffee or tea use", + "integrated handle minifig mug used for holding hot drinks", + "Lego head cup made of glossy plastic", + "minifig mug with fits in one hand dimensions", + "Lego minifigure head mug featuring flat base with circular foot shape", + "rounded cylindrical body Lego head cup used for holding hot drinks", + "glossy plastic Lego head cup", + "fits in one hand glossy plastic object", + "fits in one hand object used for displaying as a novelty item", + "mug-sized minifig mug perfect for displaying as a novelty item", + "gray face panel handheld shiny metal-like finish object", + "Lego minifigure head mug in rounded cylindrical body form", + "Lego minifigure head mug colored bright yellow", + "minifig mug sized handheld", + "integrated handle handheld minifig mug", + "metallic silver minifig mug used for sipping coffee or tea", + "Lego head cup intended for holding hot drinks usage", + "gray face panel object used for holding hot drinks", + "Lego head cup sized mug-sized", + "Lego head cup in integrated handle", + "metallic silver Lego minifigure head mug for displaying as a novelty item", + "handheld object used for displaying as a novelty item", + "handheld gray face panel glossy plastic flat base with circular foot object", + "gray face panel shiny metal-like finish flat base with circular foot Lego head cup", + "shiny metal-like finish Lego minifigure head mug used for holding hot drinks", + "minifig mug with rounded cylindrical body profile", + "rounded cylindrical body object made of shiny metal-like finish", + "Lego head cup with gray face panel exterior", + "Lego minifigure head mug with gray face panel exterior", + "sipping coffee or tea with Lego head cup", + "glossy plastic Lego head cup used for displaying as a novelty item", + "facial features molded into side Lego head cup used for displaying as a novelty item", + "glossy plastic integrated handle object used for sipping coffee or tea", + "shiny metal-like finish Lego head cup for sipping coffee or tea", + "minifig mug for displaying as a novelty item with glossy plastic", + "rounded cylindrical body Lego head cup for displaying as a novelty item", + "Lego minifigure head mug for holding hot drinks use", + "Lego minifigure head mug appropriate for displaying as a novelty item", + "mug-sized gray face panel object for sipping coffee or tea", + "handheld gray face panel facial features molded into side object", + "Lego head cup shaped like a facial features molded into side", + "facial features molded into side Lego head cup for sipping coffee or tea", + "mug-sized bright yellow flat base with circular foot for sipping coffee or tea", + "handheld gray face panel Lego head cup", + "minifig mug with shiny metal-like finish construction", + "minifig mug commonly used for displaying as a novelty item", + "minifig mug for sipping coffee or tea activities", + "bright yellow object used for holding hot drinks", + "Lego head cup appropriate for displaying as a novelty item", + "Lego head cup typically made of shiny metal-like finish", + "flat base with circular foot handheld Lego minifigure head mug", + "shiny metal-like finish object for displaying as a novelty item", + "bright yellow glossy plastic flat base with circular foot object", + "minifig mug commonly featuring glossy plastic", + "integrated handle-shaped Lego head cup", + "mug-sized flat base with circular foot object", + "shiny metal-like finish Lego head cup used for holding hot drinks", + "displaying as a novelty item with Lego minifigure head mug", + "Lego head cup for sipping coffee or tea activities", + "metallic silver facial features molded into side minifig mug used for displaying as a novelty item", + "bright yellow handheld shiny metal-like finish object", + "handheld Lego minifigure head mug used for sipping coffee or tea", + "minifig mug featuring glossy plastic build", + "Lego head cup built from shiny metal-like finish", + "metallic silver shiny metal-like finish facial features molded into side Lego minifigure head mug", + "glossy plastic flat base with circular foot object used for holding hot drinks", + "Lego head cup in facial features molded into side", + "minifig mug featuring shiny metal-like finish build", + "handheld bright yellow shiny metal-like finish facial features molded into side object", + "shiny metal-like finish Lego minifigure head mug suitable for holding hot drinks", + "Lego head cup used to displaying as a novelty item", + "shiny metal-like finish minifig mug for displaying as a novelty item", + "Lego head cup commonly featuring shiny metal-like finish", + "holding hot drinks with minifig mug", + "minifig mug ideal for displaying as a novelty item", + "Lego minifigure head mug typically made of shiny metal-like finish", + "shiny metal-like finish minifig mug", + "metallic silver object used for sipping coffee or tea", + "Lego head cup for sipping coffee or tea scenarios", + "minifig mug with metallic silver color", + "flat base with circular foot glossy plastic Lego head cup for holding hot drinks" + ], + "caption": { + "color": [ + "bright yellow", + "metallic silver", + "gray face panel" + ], + "function": [ + "holding hot drinks", + "sipping coffee or tea", + "displaying as a novelty item" + ], + "material": [ + "glossy plastic", + "shiny metal-like finish" + ], + "name": [ + "Lego minifigure head mug", + "Lego head cup", + "minifig mug" + ], + "shape": [ + "rounded cylindrical body", + "flat base with circular foot", + "integrated handle", + "facial features molded into side" + ], + "size": [ + "handheld", + "mug-sized", + "fits in one hand" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00006/metadata.json b/Objects/RoboDojo/Rigid/mug/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..3c897cf8cb24a4ac879d58c26b36bbc958dd7c95 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00006/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.12, + "friction": 0.32, + "size": [ + 0.10581324580151177, + 0.0794766643824957, + 0.069 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0526, + -0.0394, + -0.0343 + ], + [ + -0.0526, + -0.0394, + 0.0343 + ], + [ + -0.0526, + 0.0396, + -0.0343 + ], + [ + -0.0526, + 0.0396, + 0.0343 + ], + [ + 0.0525, + -0.0394, + -0.0343 + ], + [ + 0.0525, + -0.0394, + 0.0343 + ], + [ + 0.0525, + 0.0396, + -0.0343 + ], + [ + 0.0525, + 0.0396, + 0.0343 + ] + ], + "extents": [ + 0.1052, + 0.079, + 0.0686 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0552, + 0.006, + 0.033 + ], + [ + -0.0298, + 0.0533, + 0.0332 + ], + [ + 0.0172, + -0.0624, + 0.0342 + ], + [ + -0.0678, + -0.0151, + 0.0344 + ], + [ + 0.0546, + 0.0052, + -0.0353 + ], + [ + -0.0305, + 0.0524, + -0.035 + ], + [ + 0.0166, + -0.0632, + -0.034 + ], + [ + -0.0685, + -0.0159, + -0.0338 + ] + ], + "extents": [ + 0.1237, + 0.1165, + 0.0697 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.047, + 0.005, + 0.015, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.047, + 0.005, + 0.015, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "small teacup lavender purple flared rim for holding hot drinks", + "about 4 inches tall glossy silver-gray swirls flared rim object", + "purple cartoon teacup in slightly tapered body with footed base", + "slightly tapered body with footed base-shaped Sanrio character mug", + "glazed ceramic Sanrio character mug", + "Kuromi cup with smooth enamel finish body", + "purple cartoon teacup for displaying character art use", + "Kuromi cup sized small teacup", + "glossy silver-gray swirls fits in one hand flared rim purple cartoon teacup", + "Kuromi cup made from shiny porcelain", + "slightly tapered body with footed base purple cartoon teacup for collectible merchandise", + "purple cartoon teacup typically made of smooth enamel finish", + "slightly tapered body with footed base smooth enamel finish object for displaying character art", + "curved handle purple cartoon teacup for collectible merchandise", + "flared rim fits in one hand purple cartoon teacup", + "smooth enamel finish glossy silver-gray swirls Sanrio character mug", + "Sanrio character mug ideal for collectible merchandise", + "Kuromi cup appropriate for holding hot drinks", + "collectible merchandise use of Sanrio character mug", + "shiny porcelain flared rim for collectible merchandise", + "Kuromi cup for collectible merchandise use", + "Kuromi cup for displaying character art activities", + "Kuromi cup for holding hot drinks tasks", + "Kuromi cup for collectible merchandise", + "deep violet interior purple cartoon teacup suitable for collectible merchandise", + "small teacup Sanrio character mug perfect for holding hot drinks", + "smooth enamel finish Kuromi cup suitable for holding hot drinks", + "deep violet interior Sanrio character mug designed for collectible merchandise", + "Sanrio character mug shaped like a flared rim", + "slightly tapered body with footed base purple cartoon teacup used for collectible merchandise", + "Kuromi cup sized as about 4 inches tall", + "Kuromi cup featuring smooth enamel finish build", + "glazed ceramic Sanrio character mug used for displaying character art", + "purple cartoon teacup appropriate for displaying character art use", + "Kuromi cup with shiny porcelain construction", + "deep violet interior small teacup purple cartoon teacup for collectible merchandise", + "Sanrio character mug suitable for collectible merchandise", + "deep violet interior flared rim Kuromi cup used for holding hot drinks", + "about 4 inches tall deep violet interior purple cartoon teacup", + "deep violet interior shiny porcelain Sanrio character mug", + "purple cartoon teacup appropriate for holding hot drinks", + "deep violet interior slightly tapered body with footed base Sanrio character mug", + "about 4 inches tall smooth enamel finish Sanrio character mug", + "slightly tapered body with footed base object used for displaying character art", + "curved handle object used for collectible merchandise", + "about 4 inches tall slightly tapered body with footed base object for displaying character art", + "purple cartoon teacup for holding hot drinks tasks", + "collectible merchandise with purple cartoon teacup", + "curved handle object made of glazed ceramic", + "lavender purple flared rim Sanrio character mug", + "Sanrio character mug intended for collectible merchandise usage", + "Kuromi cup with glazed ceramic body", + "purple cartoon teacup with lavender purple color", + "purple cartoon teacup appropriate for holding hot drinks use", + "small teacup purple cartoon teacup perfect for holding hot drinks", + "curved handle about 4 inches tall Kuromi cup", + "Kuromi cup suitable for displaying character art", + "Kuromi cup in small teacup", + "slightly tapered body with footed base object made of smooth enamel finish", + "Kuromi cup optimized for displaying character art", + "about 4 inches tall deep violet interior smooth enamel finish Sanrio character mug", + "lavender purple fits in one hand smooth enamel finish object", + "small teacup purple cartoon teacup perfect for displaying character art", + "deep violet interior purple cartoon teacup suitable for holding hot drinks", + "smooth enamel finish object used for collectible merchandise", + "curved handle object used for displaying character art", + "purple cartoon teacup with curved handle geometry", + "fits in one hand slightly tapered body with footed base purple cartoon teacup for holding hot drinks", + "Kuromi cup with slightly tapered body with footed base geometry", + "Sanrio character mug designed for holding hot drinks", + "smooth enamel finish object for holding hot drinks", + "Kuromi cup with shiny porcelain body", + "purple cartoon teacup for collectible merchandise scenarios", + "glossy silver-gray swirls small teacup slightly tapered body with footed base Kuromi cup", + "Sanrio character mug commonly used for displaying character art", + "shiny porcelain glossy silver-gray swirls purple cartoon teacup", + "about 4 inches tall lavender purple curved handle for collectible merchandise", + "shiny porcelain curved handle Kuromi cup", + "Kuromi cup primarily used for collectible merchandise", + "displaying character art with Kuromi cup", + "shiny porcelain curved handle purple cartoon teacup", + "Sanrio character mug intended for displaying character art", + "fits in one hand deep violet interior purple cartoon teacup", + "flared rim glazed ceramic object for holding hot drinks", + "purple cartoon teacup featuring smooth enamel finish build", + "shiny porcelain curved handle object used for collectible merchandise", + "small teacup deep violet interior shiny porcelain Kuromi cup", + "deep violet interior small teacup curved handle purple cartoon teacup", + "Kuromi cup with slightly tapered body with footed base profile", + "purple cartoon teacup with shiny porcelain body", + "Kuromi cup in deep violet interior", + "deep violet interior Kuromi cup used for displaying character art", + "fits in one hand flared rim purple cartoon teacup", + "purple cartoon teacup made of smooth enamel finish", + "Sanrio character mug featuring glazed ceramic build", + "Kuromi cup intended for displaying character art usage", + "purple cartoon teacup with glazed ceramic body", + "glazed ceramic object used for displaying character art", + "curved handle glazed ceramic object for holding hot drinks", + "lavender purple fits in one hand Kuromi cup for holding hot drinks" + ], + "caption": { + "color": [ + "lavender purple", + "deep violet interior", + "glossy silver-gray swirls" + ], + "function": [ + "holding hot drinks", + "displaying character art", + "collectible merchandise" + ], + "material": [ + "glazed ceramic", + "shiny porcelain", + "smooth enamel finish" + ], + "name": [ + "Kuromi cup", + "Sanrio character mug", + "purple cartoon teacup" + ], + "shape": [ + "flared rim", + "curved handle", + "slightly tapered body with footed base" + ], + "size": [ + "small teacup", + "fits in one hand", + "about 4 inches tall" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00007/metadata.json b/Objects/RoboDojo/Rigid/mug/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..3adb7ec26414c892ba278af2a78135e834c46649 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00007/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.25, + "friction": 0.45, + "size": [ + 0.11571735226926558, + 0.07267921459714066, + 0.069 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0576, + -0.0361, + -0.0343 + ], + [ + -0.0576, + -0.0361, + 0.0343 + ], + [ + -0.0576, + 0.0362, + -0.0343 + ], + [ + -0.0576, + 0.0362, + 0.0343 + ], + [ + 0.0574, + -0.0361, + -0.0343 + ], + [ + 0.0574, + -0.0361, + 0.0343 + ], + [ + 0.0574, + 0.0362, + -0.0343 + ], + [ + 0.0574, + 0.0362, + 0.0343 + ] + ], + "extents": [ + 0.115, + 0.0722, + 0.0686 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0328, + 0.0614, + 0.0343 + ], + [ + -0.0692, + 0.0195, + 0.0343 + ], + [ + 0.0601, + -0.0048, + 0.0343 + ], + [ + -0.0419, + -0.0467, + 0.0343 + ], + [ + 0.0328, + 0.0614, + -0.0343 + ], + [ + -0.0692, + 0.0195, + -0.0343 + ], + [ + 0.0601, + -0.0048, + -0.0343 + ], + [ + -0.0419, + -0.0468, + -0.0343 + ] + ], + "extents": [ + 0.1293, + 0.1082, + 0.0686 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.045, + 0.0, + 0.0, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.045, + 0.0, + 0.0, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "glazed pottery object used for sipping coffee", + "brown ceramic mug made of smooth matte finish", + "ceramic coffee mug used for holding hot drinks", + "tea mug with cylindrical body profile", + "coffee mug in fits comfortably in hand", + "tea mug designed for sipping coffee", + "C-shaped handle coffee mug ideal for sipping coffee", + "deep reddish-brown brown ceramic mug used for sipping coffee", + "holds about 12 ounces coffee mug used for holding hot drinks", + "holds about 12 ounces glazed pottery brown ceramic mug", + "tea mug shaped like a C-shaped handle", + "holds about 12 ounces wide open rim object", + "wide open rim object made of ceramic", + "tea mug in rich brown", + "deep reddish-brown glazed pottery cylindrical body brown ceramic mug", + "sipping coffee with tea mug", + "deep reddish-brown C-shaped handle coffee mug", + "brown ceramic mug built from glazed pottery", + "coffee mug featuring C-shaped handle shape", + "cylindrical body object used for holding hot drinks", + "holds about 12 ounces warm terracotta wide open rim for sipping coffee", + "tea mug in cylindrical body form", + "warm terracotta tea mug for holding hot drinks", + "standard coffee mug warm terracotta coffee mug", + "deep reddish-brown cylindrical body object for sipping coffee", + "C-shaped handle holds about 12 ounces tea mug", + "smooth matte finish wide open rim tea mug", + "standard coffee mug ceramic object", + "fits comfortably in hand rich brown wide open rim for keeping beverages warm", + "brown ceramic mug intended for holding hot drinks", + "warm terracotta holds about 12 ounces smooth matte finish object", + "warm terracotta object used for keeping beverages warm", + "glazed pottery coffee mug", + "tea mug typically made of glazed pottery", + "brown ceramic mug featuring cylindrical body shape", + "wide open rim coffee mug for sipping coffee", + "sipping coffee with brown ceramic mug", + "fits comfortably in hand C-shaped handle coffee mug", + "brown ceramic mug with smooth matte finish surface", + "wide open rim brown ceramic mug for keeping beverages warm", + "tea mug appropriate for sipping coffee", + "tea mug for sipping coffee use", + "coffee mug in C-shaped handle", + "rich brown object used for sipping coffee", + "tea mug with smooth matte finish construction", + "coffee mug designed for sipping coffee", + "rich brown object used for keeping beverages warm", + "tea mug for sipping coffee activities", + "coffee mug for keeping beverages warm scenarios", + "coffee mug in cylindrical body", + "standard coffee mug rich brown brown ceramic mug", + "standard coffee mug glazed pottery tea mug for keeping beverages warm", + "brown ceramic mug made from ceramic", + "glazed pottery C-shaped handle for holding hot drinks", + "glazed pottery object for sipping coffee", + "coffee mug primarily used for sipping coffee", + "smooth matte finish cylindrical body brown ceramic mug", + "smooth matte finish cylindrical body object used for sipping coffee", + "fits comfortably in hand rich brown glazed pottery brown ceramic mug", + "ceramic object for sipping coffee", + "standard coffee mug wide open rim object", + "tea mug ideal for sipping coffee", + "C-shaped handle glazed pottery coffee mug for keeping beverages warm", + "smooth matte finish object used for keeping beverages warm", + "standard coffee mug brown ceramic mug perfect for sipping coffee", + "standard coffee mug wide open rim object for holding hot drinks", + "coffee mug for sipping coffee tasks", + "coffee mug commonly found in standard coffee mug size", + "brown ceramic mug in cylindrical body", + "tea mug with deep reddish-brown color", + "deep reddish-brown holds about 12 ounces wide open rim brown ceramic mug", + "cylindrical body-shaped brown ceramic mug", + "ceramic coffee mug", + "smooth matte finish C-shaped handle tea mug", + "coffee mug with cylindrical body geometry", + "brown ceramic mug made from glazed pottery", + "rich brown tea mug typically used for holding hot drinks", + "coffee mug commonly used for holding hot drinks", + "tea mug for keeping beverages warm use", + "glazed pottery object used for holding hot drinks", + "deep reddish-brown smooth matte finish tea mug", + "deep reddish-brown holds about 12 ounces brown ceramic mug for holding hot drinks", + "glazed pottery tea mug used for keeping beverages warm", + "wide open rim holds about 12 ounces tea mug", + "tea mug with ceramic construction", + "brown ceramic mug appropriate for keeping beverages warm", + "brown ceramic mug commonly featuring glazed pottery", + "cylindrical body ceramic object for sipping coffee", + "brown ceramic mug with warm terracotta exterior", + "tea mug made from glazed pottery", + "ceramic brown ceramic mug suitable for keeping beverages warm", + "rich brown brown ceramic mug designed for sipping coffee", + "standard coffee mug rich brown coffee mug", + "wide open rim coffee mug for keeping beverages warm", + "coffee mug made from glazed pottery", + "rich brown coffee mug used for keeping beverages warm", + "fits comfortably in hand coffee mug used for keeping beverages warm", + "cylindrical body coffee mug for sipping coffee", + "cylindrical body coffee mug ideal for keeping beverages warm", + "coffee mug shaped like a wide open rim" + ], + "caption": { + "color": [ + "rich brown", + "warm terracotta", + "deep reddish-brown" + ], + "function": [ + "holding hot drinks", + "sipping coffee", + "keeping beverages warm" + ], + "material": [ + "ceramic", + "glazed pottery", + "smooth matte finish" + ], + "name": [ + "coffee mug", + "tea mug", + "brown ceramic mug" + ], + "shape": [ + "cylindrical body", + "C-shaped handle", + "wide open rim" + ], + "size": [ + "standard coffee mug", + "fits comfortably in hand", + "holds about 12 ounces" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00008/metadata.json b/Objects/RoboDojo/Rigid/mug/00008/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..15d740374847f85187fedd270394f23572bed725 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00008/metadata.json @@ -0,0 +1,276 @@ +{ + "physics": { + "mass": 0.25, + "friction": 0.45, + "size": [ + 0.12127228249760465, + 0.09349132099134881, + 0.06900000000000003 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0603, + -0.0464, + -0.0343 + ], + [ + -0.0603, + -0.0464, + 0.0343 + ], + [ + -0.0603, + 0.0465, + -0.0343 + ], + [ + -0.0603, + 0.0465, + 0.0343 + ], + [ + 0.0602, + -0.0464, + -0.0343 + ], + [ + 0.0602, + -0.0464, + 0.0343 + ], + [ + 0.0602, + 0.0465, + -0.0343 + ], + [ + 0.0602, + 0.0465, + 0.0343 + ] + ], + "extents": [ + 0.1205, + 0.0929, + 0.0686 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0799, + -0.0102, + 0.0343 + ], + [ + 0.0076, + -0.0741, + 0.0343 + ], + [ + -0.0246, + 0.0655, + 0.0343 + ], + [ + 0.0628, + 0.0016, + 0.0343 + ], + [ + -0.0799, + -0.0102, + -0.0343 + ], + [ + 0.0076, + -0.0741, + -0.0343 + ], + [ + -0.0246, + 0.0655, + -0.0343 + ], + [ + 0.0628, + 0.0016, + -0.0343 + ] + ], + "extents": [ + 0.1427, + 0.1395, + 0.0686 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.055, + 0.0, + 0.005, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.055, + 0.0, + 0.005, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "holds about 6 ounces fluted rim polka dot teacup for adding playful decor to table setting", + "cartoon teacup for adding playful decor to table setting", + "party teacup with small teacup size dimensions", + "small teacup size bright red handle glazed ceramic short footed base object", + "cartoon teacup made from glazed ceramic", + "cartoon teacup appropriate for adding playful decor to table setting", + "fluted rim smooth shiny finish polka dot teacup for drinking tea", + "cartoon teacup designed for drinking tea", + "holds about 6 ounces cartoon teacup perfect for drinking tea", + "polka dot teacup in bulbous body", + "curved red handle object used for drinking tea", + "party teacup shaped like a fluted rim", + "party teacup made of glazed ceramic", + "glazed ceramic party teacup used for serving hot beverages", + "adding playful decor to table setting with polka dot teacup", + "polka dot teacup commonly used for drinking tea", + "glazed ceramic party teacup suitable for adding playful decor to table setting", + "bulbous body smooth shiny finish polka dot teacup for drinking tea", + "fits in one hand bright red handle short footed base for serving hot beverages", + "holds about 6 ounces fluted rim object", + "orange cartoon character polka dot teacup designed for drinking tea", + "orange cartoon character smooth shiny finish curved red handle polka dot teacup", + "party teacup shaped like a short footed base", + "smooth shiny finish curved red handle polka dot teacup", + "party teacup for adding playful decor to table setting", + "small teacup size off-white ceramic base smooth shiny finish fluted rim object", + "multicolored polka dots object used for adding playful decor to table setting", + "polka dot teacup with smooth shiny finish construction", + "off-white ceramic base fluted rim polka dot teacup", + "cartoon teacup typically made of smooth shiny finish", + "fits in one hand smooth shiny finish curved red handle for adding playful decor to table setting", + "bright red handle smooth shiny finish polka dot teacup", + "fits in one hand orange cartoon character polka dot teacup", + "cartoon teacup commonly found in fits in one hand size", + "holds about 6 ounces bulbous body polka dot teacup for adding playful decor to table setting", + "small teacup size glazed ceramic object", + "cartoon teacup shaped like a fluted rim", + "off-white ceramic base small teacup size glazed ceramic object", + "bright red handle party teacup for serving hot beverages", + "multicolored polka dots party teacup for adding playful decor to table setting", + "bright red handle short footed base object for serving hot beverages", + "cartoon teacup in fluted rim form", + "party teacup for serving hot beverages with smooth shiny finish", + "cartoon teacup with small teacup size dimensions", + "bulbous body cartoon teacup ideal for adding playful decor to table setting", + "cartoon teacup for drinking tea use", + "party teacup shaped like a bulbous body", + "cartoon teacup for drinking tea", + "fits in one hand multicolored polka dots polka dot teacup", + "party teacup featuring short footed base shape", + "fits in one hand smooth shiny finish short footed base for drinking tea", + "party teacup for serving hot beverages scenarios", + "serving hot beverages use of cartoon teacup", + "short footed base-shaped party teacup", + "party teacup with orange cartoon character color", + "multicolored polka dots fits in one hand glazed ceramic object", + "orange cartoon character party teacup suitable for adding playful decor to table setting", + "polka dot teacup used to serving hot beverages", + "cartoon teacup suitable for serving hot beverages", + "polka dot teacup intended for serving hot beverages", + "drinking tea with polka dot teacup", + "small teacup size short footed base object", + "fits in one hand smooth shiny finish curved red handle for drinking tea", + "orange cartoon character small teacup size glazed ceramic object", + "fits in one hand multicolored polka dots short footed base object", + "cartoon teacup shaped like a curved red handle", + "fits in one hand smooth shiny finish object", + "smooth shiny finish bulbous body polka dot teacup", + "fits in one hand glazed ceramic party teacup for serving hot beverages", + "smooth shiny finish party teacup for drinking tea", + "cartoon teacup primarily used for adding playful decor to table setting", + "bright red handle party teacup suitable for serving hot beverages", + "bulbous body cartoon teacup for drinking tea", + "cartoon teacup in fits in one hand", + "polka dot teacup in bright red handle", + "small teacup size bright red handle object for adding playful decor to table setting", + "polka dot teacup for serving hot beverages scenarios", + "polka dot teacup appropriate for adding playful decor to table setting use", + "fits in one hand multicolored polka dots object for serving hot beverages", + "short footed base small teacup size polka dot teacup", + "party teacup commonly used for adding playful decor to table setting", + "off-white ceramic base smooth shiny finish short footed base cartoon teacup", + "party teacup in fits in one hand", + "polka dot teacup commonly used for adding playful decor to table setting", + "adding playful decor to table setting use of cartoon teacup", + "cartoon teacup primarily used for serving hot beverages", + "bulbous body glazed ceramic object for serving hot beverages", + "party teacup appropriate for adding playful decor to table setting", + "polka dot teacup primarily used for serving hot beverages", + "curved red handle fits in one hand polka dot teacup", + "small teacup size cartoon teacup for drinking tea", + "small teacup size bulbous body object", + "small teacup size orange cartoon character object for drinking tea", + "bright red handle glazed ceramic fluted rim object", + "drinking tea use of cartoon teacup", + "small teacup size object used for adding playful decor to table setting", + "cartoon teacup for adding playful decor to table setting tasks", + "smooth shiny finish cartoon teacup used for drinking tea", + "party teacup sized small teacup size", + "party teacup for adding playful decor to table setting with smooth shiny finish" + ], + "caption": { + "color": [ + "off-white ceramic base", + "bright red handle", + "multicolored polka dots", + "orange cartoon character" + ], + "function": [ + "drinking tea", + "serving hot beverages", + "adding playful decor to table setting" + ], + "material": [ + "glazed ceramic", + "smooth shiny finish" + ], + "name": [ + "polka dot teacup", + "party teacup", + "cartoon teacup" + ], + "shape": [ + "fluted rim", + "bulbous body", + "curved red handle", + "short footed base" + ], + "size": [ + "small teacup size", + "fits in one hand", + "holds about 6 ounces" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00009/metadata.json b/Objects/RoboDojo/Rigid/mug/00009/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..dd86bcef795c31bdfaba3670921352e9d95e71c9 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00009/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.25, + "friction": 0.65, + "size": [ + 0.08212829556783854, + 0.05930523301078283, + 0.076 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0412, + -0.0297, + -0.0381 + ], + [ + -0.0412, + -0.0297, + 0.0381 + ], + [ + -0.0412, + 0.0298, + -0.0381 + ], + [ + -0.0412, + 0.0298, + 0.0381 + ], + [ + 0.0411, + -0.0297, + -0.0381 + ], + [ + 0.0411, + -0.0297, + 0.0381 + ], + [ + 0.0411, + 0.0298, + -0.0381 + ], + [ + 0.0411, + 0.0298, + 0.0381 + ] + ], + "extents": [ + 0.0823, + 0.0595, + 0.0762 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0444, + 0.0021, + -0.0381 + ], + [ + -0.0219, + 0.0407, + -0.0381 + ], + [ + 0.0444, + 0.0021, + 0.0381 + ], + [ + -0.0219, + 0.0407, + 0.0381 + ], + [ + 0.0145, + -0.0493, + -0.0381 + ], + [ + -0.0518, + -0.0107, + -0.0381 + ], + [ + 0.0145, + -0.0493, + 0.0381 + ], + [ + -0.0518, + -0.0107, + 0.0381 + ] + ], + "extents": [ + 0.0963, + 0.09, + 0.0762 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.038, + 0.0, + 0.015, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.038, + 0.0, + 0.015, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "carved wooden cup commonly used for holding coffee or tea", + "carved wooden cup used to holding coffee or tea", + "fits in one hand object used for holding coffee or tea", + "slightly tapered rim wood object for serving rustic drinks", + "wooden mug colored deep reddish-brown", + "handheld timber mug in holds about 12 ounces", + "standard mug size handheld timber mug perfect for drinking hot beverages", + "deep reddish-brown slightly tapered rim wooden mug used for drinking hot beverages", + "carved wooden cup built from wood", + "cylindrical body stained timber object for holding coffee or tea", + "polished hardwood slightly tapered rim object used for holding coffee or tea", + "wood C-shaped handle object used for holding coffee or tea", + "carved wooden cup with fits in one hand dimensions", + "C-shaped handle object made of stained timber", + "carved wooden cup optimized for holding coffee or tea", + "carved wooden cup with stained timber body", + "carved wooden cup typically made of polished hardwood", + "handheld timber mug commonly used for holding coffee or tea", + "handheld timber mug primarily used for serving rustic drinks", + "wooden mug sized as standard mug size", + "holds about 12 ounces dark grain stained timber cylindrical body object", + "fits in one hand dark grain carved wooden cup", + "handheld timber mug commonly used for serving rustic drinks", + "handheld timber mug ideal for holding coffee or tea", + "slightly tapered rim handheld timber mug used for drinking hot beverages", + "handheld timber mug sized as fits in one hand", + "stained timber C-shaped handle for drinking hot beverages", + "wooden mug for drinking hot beverages scenarios", + "carved wooden cup for serving rustic drinks use", + "holds about 12 ounces object used for holding coffee or tea", + "wood wooden mug suitable for drinking hot beverages", + "deep reddish-brown wooden mug designed for drinking hot beverages", + "fits in one hand warm wood tone cylindrical body object", + "deep reddish-brown C-shaped handle handheld timber mug", + "fits in one hand deep reddish-brown slightly tapered rim for holding coffee or tea", + "fits in one hand stained timber C-shaped handle for drinking hot beverages", + "C-shaped handle handheld timber mug used for holding coffee or tea", + "handheld timber mug made from wood", + "drinking hot beverages use of wooden mug", + "handheld timber mug appropriate for drinking hot beverages use", + "C-shaped handle object used for holding coffee or tea", + "wooden mug in slightly tapered rim", + "wooden mug commonly found in holds about 12 ounces size", + "warm wood tone handheld timber mug typically used for holding coffee or tea", + "handheld timber mug with polished hardwood construction", + "carved wooden cup with wood body", + "polished hardwood wooden mug for serving rustic drinks", + "wood object for holding coffee or tea", + "carved wooden cup with polished hardwood construction", + "handheld timber mug with polished hardwood surface", + "carved wooden cup in standard mug size", + "drinking hot beverages with handheld timber mug", + "holds about 12 ounces polished hardwood object", + "wooden mug for serving rustic drinks tasks", + "wooden mug in standard mug size", + "cylindrical body stained timber handheld timber mug for holding coffee or tea", + "wooden mug for holding coffee or tea with stained timber", + "stained timber object used for holding coffee or tea", + "warm wood tone wooden mug used for drinking hot beverages", + "slightly tapered rim object used for serving rustic drinks", + "deep reddish-brown cylindrical body wooden mug", + "standard mug size deep reddish-brown wood slightly tapered rim object", + "dark grain C-shaped handle wooden mug", + "polished hardwood deep reddish-brown wooden mug", + "dark grain object used for holding coffee or tea", + "wooden mug in deep reddish-brown", + "handheld timber mug appropriate for holding coffee or tea", + "wooden mug built from polished hardwood", + "carved wooden cup used to drinking hot beverages", + "handheld timber mug for serving rustic drinks", + "wooden mug colored dark grain", + "handheld timber mug typically made of polished hardwood", + "carved wooden cup with wood construction", + "holds about 12 ounces wood object", + "carved wooden cup ideal for serving rustic drinks", + "standard mug size deep reddish-brown wooden mug", + "carved wooden cup featuring wood build", + "warm wood tone carved wooden cup designed for holding coffee or tea", + "wooden mug intended for drinking hot beverages usage", + "fits in one hand slightly tapered rim object", + "wooden mug commonly featuring stained timber", + "standard mug size dark grain slightly tapered rim object", + "carved wooden cup commonly featuring polished hardwood", + "holds about 12 ounces polished hardwood carved wooden cup", + "fits in one hand stained timber handheld timber mug", + "carved wooden cup suitable for holding coffee or tea", + "wooden mug made from wood", + "serving rustic drinks with wooden mug", + "cylindrical body stained timber wooden mug for holding coffee or tea", + "wood carved wooden cup suitable for drinking hot beverages", + "handheld timber mug with holds about 12 ounces dimensions", + "dark grain carved wooden cup typically used for serving rustic drinks", + "warm wood tone C-shaped handle carved wooden cup", + "slightly tapered rim object used for holding coffee or tea", + "wooden mug with polished hardwood body", + "warm wood tone slightly tapered rim handheld timber mug", + "handheld timber mug for serving rustic drinks use", + "holds about 12 ounces dark grain polished hardwood cylindrical body object", + "stained timber carved wooden cup", + "holds about 12 ounces warm wood tone object for drinking hot beverages" + ], + "caption": { + "color": [ + "deep reddish-brown", + "warm wood tone", + "dark grain" + ], + "function": [ + "drinking hot beverages", + "holding coffee or tea", + "serving rustic drinks" + ], + "material": [ + "wood", + "polished hardwood", + "stained timber" + ], + "name": [ + "wooden mug", + "carved wooden cup", + "handheld timber mug" + ], + "shape": [ + "cylindrical body", + "slightly tapered rim", + "C-shaped handle" + ], + "size": [ + "standard mug size", + "fits in one hand", + "holds about 12 ounces" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00010/metadata.json b/Objects/RoboDojo/Rigid/mug/00010/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..5b548ff0eb080aabec1d7300aa561e261c7e3f64 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00010/metadata.json @@ -0,0 +1,274 @@ +{ + "physics": { + "mass": 0.22, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0514, + -0.0344, + -0.0381 + ], + [ + -0.0514, + -0.0344, + 0.0381 + ], + [ + -0.0514, + 0.0344, + -0.0381 + ], + [ + -0.0514, + 0.0344, + 0.0381 + ], + [ + 0.0513, + -0.0344, + -0.0381 + ], + [ + 0.0513, + -0.0344, + 0.0381 + ], + [ + 0.0513, + 0.0344, + -0.0381 + ], + [ + 0.0513, + 0.0344, + 0.0381 + ] + ], + "extents": [ + 0.1026, + 0.0688, + 0.0762 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0325, + -0.0458, + -0.0381 + ], + [ + 0.0535, + -0.003, + -0.0381 + ], + [ + -0.0325, + -0.0458, + 0.0381 + ], + [ + 0.0535, + -0.003, + 0.0381 + ], + [ + -0.063, + 0.0157, + -0.0381 + ], + [ + 0.0229, + 0.0584, + -0.0381 + ], + [ + -0.063, + 0.0157, + 0.0381 + ], + [ + 0.0229, + 0.0584, + 0.0381 + ] + ], + "extents": [ + 0.1165, + 0.1042, + 0.0762 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.045, + 0.0, + -0.0, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.045, + 0.0, + -0.0, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "everyday mug made from smooth reflective surface", + "coffee mug made of smooth reflective surface", + "holds about 12 ounces metallic silver interior object for keeping beverages warm", + "coffee mug commonly found in holds about 12 ounces size", + "red ceramic mug with fits comfortably in one hand dimensions", + "C-shaped handle everyday mug used for holding hot drinks", + "standard coffee mug everyday mug for keeping beverages warm", + "cylindrical body smooth reflective surface object for holding hot drinks", + "fits comfortably in one hand wide open rim object for holding hot drinks", + "metallic silver interior wide open rim red ceramic mug", + "coffee mug with ceramic with glossy glaze surface", + "everyday mug primarily used for drinking coffee or tea", + "everyday mug with smooth reflective surface surface", + "red ceramic mug intended for drinking coffee or tea usage", + "ceramic with glossy glaze coffee mug", + "everyday mug intended for holding hot drinks usage", + "everyday mug ideal for drinking coffee or tea", + "standard coffee mug metallic silver interior smooth reflective surface wide open rim object", + "coffee mug appropriate for holding hot drinks use", + "everyday mug in wide open rim form", + "metallic silver interior red ceramic mug designed for holding hot drinks", + "fits comfortably in one hand C-shaped handle red ceramic mug", + "standard coffee mug red ceramic mug used for holding hot drinks", + "cylindrical body everyday mug ideal for keeping beverages warm", + "glossy red exterior fits comfortably in one hand wide open rim red ceramic mug", + "drinking coffee or tea use of red ceramic mug", + "smooth reflective surface red ceramic mug", + "smooth reflective surface wide open rim object used for drinking coffee or tea", + "red ceramic mug primarily used for drinking coffee or tea", + "everyday mug commonly used for holding hot drinks", + "red ceramic mug with shiny gray handle color", + "smooth reflective surface glossy red exterior everyday mug", + "coffee mug with cylindrical body profile", + "cylindrical body object made of smooth reflective surface", + "holds about 12 ounces metallic silver interior smooth reflective surface coffee mug", + "cylindrical body everyday mug for drinking coffee or tea", + "glossy red exterior object used for drinking coffee or tea", + "metallic silver interior coffee mug used for holding hot drinks", + "C-shaped handle everyday mug for keeping beverages warm", + "fits comfortably in one hand C-shaped handle coffee mug for keeping beverages warm", + "wide open rim object made of smooth reflective surface", + "shiny gray handle everyday mug typically used for keeping beverages warm", + "coffee mug designed for drinking coffee or tea", + "everyday mug made of smooth reflective surface", + "coffee mug intended for holding hot drinks", + "everyday mug sized as fits comfortably in one hand", + "metallic silver interior fits comfortably in one hand wide open rim coffee mug", + "coffee mug in C-shaped handle form", + "coffee mug for drinking coffee or tea with ceramic with glossy glaze", + "holds about 12 ounces glossy red exterior smooth reflective surface cylindrical body object", + "C-shaped handle ceramic with glossy glaze object for drinking coffee or tea", + "standard coffee mug cylindrical body everyday mug for keeping beverages warm", + "everyday mug suitable for keeping beverages warm", + "red ceramic mug designed for keeping beverages warm", + "holds about 12 ounces smooth reflective surface coffee mug for holding hot drinks", + "standard coffee mug object used for holding hot drinks", + "red ceramic mug appropriate for holding hot drinks use", + "red ceramic mug for holding hot drinks use", + "coffee mug with standard coffee mug dimensions", + "red ceramic mug in fits comfortably in one hand", + "holds about 12 ounces red ceramic mug used for keeping beverages warm", + "fits comfortably in one hand metallic silver interior wide open rim for keeping beverages warm", + "coffee mug built from ceramic with glossy glaze", + "standard coffee mug wide open rim object for drinking coffee or tea", + "holds about 12 ounces everyday mug used for drinking coffee or tea", + "coffee mug commonly found in standard coffee mug size", + "shiny gray handle red ceramic mug used for keeping beverages warm", + "coffee mug for holding hot drinks with smooth reflective surface", + "smooth reflective surface everyday mug", + "C-shaped handle fits comfortably in one hand everyday mug", + "everyday mug sized standard coffee mug", + "coffee mug for drinking coffee or tea use", + "C-shaped handle smooth reflective surface red ceramic mug for keeping beverages warm", + "holds about 12 ounces glossy red exterior smooth reflective surface C-shaped handle object", + "glossy red exterior object used for keeping beverages warm", + "red ceramic mug featuring wide open rim shape", + "red ceramic mug in metallic silver interior", + "red ceramic mug appropriate for keeping beverages warm", + "coffee mug commonly used for keeping beverages warm", + "everyday mug with glossy red exterior color", + "everyday mug for drinking coffee or tea activities", + "coffee mug for holding hot drinks", + "coffee mug designed for keeping beverages warm", + "cylindrical body object used for keeping beverages warm", + "standard coffee mug coffee mug perfect for holding hot drinks", + "standard coffee mug smooth reflective surface C-shaped handle for drinking coffee or tea", + "fits comfortably in one hand shiny gray handle ceramic with glossy glaze cylindrical body object", + "holds about 12 ounces cylindrical body coffee mug", + "everyday mug built from ceramic with glossy glaze", + "red ceramic mug colored shiny gray handle", + "ceramic with glossy glaze red ceramic mug for holding hot drinks", + "shiny gray handle C-shaped handle coffee mug", + "smooth reflective surface object used for holding hot drinks", + "red ceramic mug in holds about 12 ounces", + "fits comfortably in one hand shiny gray handle wide open rim for keeping beverages warm", + "C-shaped handle-shaped red ceramic mug", + "fits comfortably in one hand shiny gray handle ceramic with glossy glaze coffee mug", + "coffee mug commonly featuring smooth reflective surface", + "everyday mug with shiny gray handle exterior", + "everyday mug intended for drinking coffee or tea" + ], + "caption": { + "color": [ + "glossy red exterior", + "metallic silver interior", + "shiny gray handle" + ], + "function": [ + "holding hot drinks", + "drinking coffee or tea", + "keeping beverages warm" + ], + "material": [ + "ceramic with glossy glaze", + "smooth reflective surface" + ], + "name": [ + "coffee mug", + "red ceramic mug", + "everyday mug" + ], + "shape": [ + "cylindrical body", + "C-shaped handle", + "wide open rim" + ], + "size": [ + "standard coffee mug", + "fits comfortably in one hand", + "holds about 12 ounces" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00011/metadata.json b/Objects/RoboDojo/Rigid/mug/00011/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..49c1cb45e648e9d1828fbf4c065c37efc045d5b4 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00011/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.11499999930150806, + 0.09159999864026906, + 0.07999999999999999 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0576, + -0.0457, + -0.0401 + ], + [ + -0.0576, + -0.0457, + 0.0399 + ], + [ + -0.0576, + 0.0459, + -0.0401 + ], + [ + -0.0576, + 0.0459, + 0.0399 + ], + [ + 0.0574, + -0.0457, + -0.0401 + ], + [ + 0.0574, + -0.0457, + 0.0399 + ], + [ + 0.0574, + 0.0459, + -0.0401 + ], + [ + 0.0574, + 0.0459, + 0.0399 + ] + ], + "extents": [ + 0.115, + 0.0916, + 0.08 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0624, + 0.0025, + 0.0399 + ], + [ + -0.0261, + 0.0642, + 0.0399 + ], + [ + 0.0085, + -0.0749, + 0.0399 + ], + [ + -0.08, + -0.0132, + 0.0399 + ], + [ + 0.0624, + 0.0025, + -0.0401 + ], + [ + -0.0261, + 0.0642, + -0.0401 + ], + [ + 0.0085, + -0.0749, + -0.0401 + ], + [ + -0.08, + -0.0132, + -0.0401 + ] + ], + "extents": [ + 0.1425, + 0.1391, + 0.08 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.055, + 0.0, + 0.015, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.055, + 0.0, + 0.015, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "glossy ceramic black eyes spooky cup", + "Halloween ghost for Halloween decoration use", + "Halloween ghost suitable for Halloween decoration", + "ghost mug featuring glossy ceramic build", + "mug-sized wavy translucent edges spooky cup for serving coffee or tea", + "fits in one hand Halloween ghost for Halloween decoration", + "spooky cup for holding hot drinks", + "gray base glossy ceramic rounded body with handle Halloween ghost", + "handheld black eyes object for serving coffee or tea", + "Halloween ghost made of glossy ceramic", + "gray base handheld Halloween ghost for holding hot drinks", + "fits in one hand glossy ceramic Halloween ghost", + "wavy translucent edges ghost mug used for Halloween decoration", + "Halloween ghost for holding hot drinks tasks", + "gray base Halloween ghost typically used for holding hot drinks", + "gray base floating ghost silhouette spooky cup used for serving coffee or tea", + "glossy ceramic object used for holding hot drinks", + "floating ghost silhouette-shaped spooky cup", + "wavy translucent edges object used for Halloween decoration", + "fits in one hand ghost mug perfect for serving coffee or tea", + "black eyes fits in one hand glossy ceramic object", + "glossy ceramic rounded body with handle spooky cup", + "floating ghost silhouette spooky cup ideal for holding hot drinks", + "mug-sized glossy ceramic object", + "spooky cup made of smooth glazed surface", + "handheld gray base wavy translucent edges for serving coffee or tea", + "spooky cup for holding hot drinks with glossy ceramic", + "handheld mint green floating ghost silhouette object", + "spooky cup with smooth glazed surface construction", + "Halloween ghost commonly found in mug-sized size", + "glossy ceramic object for serving coffee or tea", + "spooky cup with handheld dimensions", + "handheld mint green rounded body with handle object", + "Halloween ghost featuring wavy translucent edges shape", + "handheld gray base rounded body with handle object", + "ghost mug with smooth glazed surface construction", + "spooky cup appropriate for serving coffee or tea use", + "mint green ghost mug suitable for holding hot drinks", + "mint green rounded body with handle spooky cup used for Halloween decoration", + "ghost mug used to holding hot drinks", + "gray base smooth glazed surface wavy translucent edges object", + "wavy translucent edges Halloween ghost ideal for serving coffee or tea", + "black eyes object used for serving coffee or tea", + "spooky cup made from glossy ceramic", + "spooky cup used to holding hot drinks", + "spooky cup intended for holding hot drinks", + "Halloween ghost for serving coffee or tea use", + "spooky cup with wavy translucent edges geometry", + "rounded body with handle glossy ceramic Halloween ghost for serving coffee or tea", + "ghost mug with fits in one hand dimensions", + "floating ghost silhouette glossy ceramic object for holding hot drinks", + "wavy translucent edges glossy ceramic object for Halloween decoration", + "spooky cup commonly found in mug-sized size", + "Halloween ghost featuring rounded body with handle shape", + "floating ghost silhouette ghost mug for holding hot drinks", + "handheld smooth glazed surface ghost mug for holding hot drinks", + "wavy translucent edges-shaped ghost mug", + "handheld glossy ceramic spooky cup", + "black eyes handheld glossy ceramic object", + "dark forest green ghost mug suitable for holding hot drinks", + "ghost mug with floating ghost silhouette geometry", + "Halloween ghost in wavy translucent edges form", + "ghost mug made from glossy ceramic", + "fits in one hand ghost mug used for holding hot drinks", + "spooky cup sized handheld", + "rounded body with handle object used for serving coffee or tea", + "Halloween ghost with gray base exterior", + "glossy ceramic mint green Halloween ghost", + "spooky cup with gray base color", + "floating ghost silhouette ghost mug ideal for serving coffee or tea", + "handheld ghost mug used for Halloween decoration", + "handheld ghost mug perfect for Halloween decoration", + "Halloween ghost intended for serving coffee or tea usage", + "glossy ceramic ghost mug suitable for holding hot drinks", + "rounded body with handle-shaped ghost mug", + "black eyes object used for Halloween decoration", + "rounded body with handle object made of smooth glazed surface", + "smooth glazed surface rounded body with handle Halloween ghost", + "ghost mug for Halloween decoration", + "ghost mug primarily used for serving coffee or tea", + "ghost mug with smooth glazed surface body", + "black eyes smooth glazed surface ghost mug", + "fits in one hand gray base ghost mug", + "dark forest green ghost mug suitable for serving coffee or tea", + "handheld floating ghost silhouette ghost mug for holding hot drinks", + "glossy ceramic wavy translucent edges object used for Halloween decoration", + "handheld Halloween ghost for holding hot drinks", + "spooky cup intended for holding hot drinks usage", + "fits in one hand object used for holding hot drinks", + "handheld smooth glazed surface object", + "glossy ceramic wavy translucent edges object used for serving coffee or tea", + "mug-sized floating ghost silhouette spooky cup for holding hot drinks", + "spooky cup in handheld", + "floating ghost silhouette ghost mug used for Halloween decoration", + "glossy ceramic object for Halloween decoration", + "glossy ceramic floating ghost silhouette object used for Halloween decoration", + "fits in one hand smooth glazed surface rounded body with handle for Halloween decoration", + "handheld gray base smooth glazed surface ghost mug", + "fits in one hand floating ghost silhouette spooky cup for Halloween decoration", + "gray base fits in one hand glossy ceramic object" + ], + "caption": { + "color": [ + "mint green", + "dark forest green", + "gray base", + "black eyes" + ], + "function": [ + "holding hot drinks", + "serving coffee or tea", + "Halloween decoration" + ], + "material": [ + "glossy ceramic", + "smooth glazed surface" + ], + "name": [ + "ghost mug", + "spooky cup", + "Halloween ghost" + ], + "shape": [ + "floating ghost silhouette", + "wavy translucent edges", + "rounded body with handle" + ], + "size": [ + "handheld", + "mug-sized", + "fits in one hand" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00012/metadata.json b/Objects/RoboDojo/Rigid/mug/00012/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..2ebd7c0b0e8c3715f56b5d6fbe0cfa576d81caf4 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00012/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.22, + "friction": 0.45, + "size": [ + 0.11999999400319139, + 0.09449999518438096, + 0.08199999999999999 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.06, + -0.0472, + -0.041 + ], + [ + -0.06, + -0.0472, + 0.041 + ], + [ + -0.06, + 0.0473, + -0.041 + ], + [ + -0.06, + 0.0473, + 0.041 + ], + [ + 0.06, + -0.0472, + -0.041 + ], + [ + 0.06, + -0.0472, + 0.041 + ], + [ + 0.06, + 0.0473, + -0.041 + ], + [ + 0.06, + 0.0473, + 0.041 + ] + ], + "extents": [ + 0.12, + 0.0945, + 0.082 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0244, + -0.0646, + 0.0418 + ], + [ + 0.0645, + -0.0018, + 0.0405 + ], + [ + -0.0785, + 0.0121, + 0.0418 + ], + [ + 0.0104, + 0.0749, + 0.0405 + ], + [ + -0.0252, + -0.0651, + -0.0404 + ], + [ + 0.0638, + -0.0023, + -0.0416 + ], + [ + -0.0793, + 0.0115, + -0.0404 + ], + [ + 0.0096, + 0.0743, + -0.0416 + ] + ], + "extents": [ + 0.1438, + 0.14, + 0.0834 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.058, + 0.0, + 0.01, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.058, + 0.0, + 0.01, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "coffee mug for holding hot drinks activities", + "dark charcoal hand-thrown clay cylindrical body with slight taper mug", + "coffee mug in cylindrical body with slight taper", + "mug typically made of shiny stoneware", + "glossy black object used for drinking coffee or tea", + "coffee mug ideal for sipping", + "fits in one hand coffee mug perfect for holding hot drinks", + "cylindrical body with slight taper mug used for holding hot drinks", + "ceramic cup ideal for sipping", + "standard mug size light gray rim shiny stoneware flared rim object", + "glossy black ceramic cup for drinking coffee or tea", + "mug suitable for drinking coffee or tea", + "ceramic cup with hand-thrown clay construction", + "fits in one hand glossy black C-shaped handle for sipping", + "standard mug size C-shaped handle object", + "flared rim-shaped mug", + "sipping with mug", + "shiny stoneware cylindrical body with slight taper object used for holding hot drinks", + "glossy black coffee mug suitable for drinking coffee or tea", + "glazed ceramic object used for sipping", + "holds about 12 ounces dark charcoal mug", + "shiny stoneware coffee mug for holding hot drinks", + "standard mug size dark charcoal C-shaped handle for drinking coffee or tea", + "coffee mug in holds about 12 ounces", + "coffee mug built from glazed ceramic", + "fits in one hand glazed ceramic ceramic cup", + "ceramic cup sized holds about 12 ounces", + "shiny stoneware C-shaped handle coffee mug", + "holds about 12 ounces flared rim coffee mug for holding hot drinks", + "mug designed for sipping", + "glossy black cylindrical body with slight taper object for holding hot drinks", + "cylindrical body with slight taper standard mug size coffee mug", + "mug in C-shaped handle form", + "C-shaped handle-shaped ceramic cup", + "holding hot drinks with ceramic cup", + "ceramic cup featuring cylindrical body with slight taper shape", + "ceramic cup primarily used for drinking coffee or tea", + "ceramic cup with shiny stoneware construction", + "coffee mug in C-shaped handle form", + "mug with glazed ceramic body", + "mug built from hand-thrown clay", + "holds about 12 ounces light gray rim shiny stoneware ceramic cup", + "coffee mug in standard mug size", + "cylindrical body with slight taper standard mug size ceramic cup", + "glossy black cylindrical body with slight taper mug", + "mug for drinking coffee or tea scenarios", + "fits in one hand light gray rim hand-thrown clay mug", + "ceramic cup suitable for sipping", + "fits in one hand flared rim ceramic cup for holding hot drinks", + "dark charcoal ceramic cup designed for drinking coffee or tea", + "ceramic cup with shiny stoneware surface", + "fits in one hand coffee mug for drinking coffee or tea", + "holds about 12 ounces C-shaped handle object for sipping", + "coffee mug sized standard mug size", + "glazed ceramic glossy black mug", + "standard mug size dark charcoal flared rim for drinking coffee or tea", + "standard mug size glossy black flared rim object", + "mug with flared rim geometry", + "coffee mug for sipping with hand-thrown clay", + "C-shaped handle coffee mug for holding hot drinks", + "coffee mug for sipping tasks", + "mug in light gray rim", + "fits in one hand dark charcoal hand-thrown clay ceramic cup", + "cylindrical body with slight taper holds about 12 ounces coffee mug", + "dark charcoal coffee mug used for sipping", + "flared rim-shaped coffee mug", + "light gray rim shiny stoneware ceramic cup", + "coffee mug appropriate for holding hot drinks", + "ceramic cup for holding hot drinks scenarios", + "coffee mug commonly featuring glazed ceramic", + "ceramic cup used to holding hot drinks", + "shiny stoneware flared rim for drinking coffee or tea", + "mug for drinking coffee or tea with shiny stoneware", + "mug used to drinking coffee or tea", + "coffee mug made of glazed ceramic", + "ceramic cup typically made of hand-thrown clay", + "standard mug size ceramic cup for holding hot drinks", + "drinking coffee or tea with ceramic cup", + "ceramic cup with cylindrical body with slight taper geometry", + "cylindrical body with slight taper object used for drinking coffee or tea", + "coffee mug for drinking coffee or tea activities", + "coffee mug with cylindrical body with slight taper profile", + "standard mug size object used for holding hot drinks", + "standard mug size glossy black glazed ceramic flared rim object", + "light gray rim mug typically used for drinking coffee or tea", + "light gray rim fits in one hand cylindrical body with slight taper ceramic cup", + "C-shaped handle coffee mug ideal for holding hot drinks", + "ceramic cup appropriate for sipping use", + "mug suitable for holding hot drinks", + "standard mug size shiny stoneware ceramic cup for holding hot drinks", + "standard mug size flared rim object for sipping", + "standard mug size dark charcoal cylindrical body with slight taper object", + "ceramic cup for sipping with glazed ceramic", + "dark charcoal ceramic cup typically used for drinking coffee or tea", + "mug made of hand-thrown clay", + "light gray rim shiny stoneware cylindrical body with slight taper coffee mug", + "dark charcoal glazed ceramic C-shaped handle object", + "fits in one hand light gray rim glazed ceramic ceramic cup", + "flared rim fits in one hand ceramic cup", + "fits in one hand dark charcoal object for drinking coffee or tea" + ], + "caption": { + "color": [ + "glossy black", + "dark charcoal", + "light gray rim" + ], + "function": [ + "holding hot drinks", + "drinking coffee or tea", + "sipping" + ], + "material": [ + "glazed ceramic", + "shiny stoneware", + "hand-thrown clay" + ], + "name": [ + "mug", + "coffee mug", + "ceramic cup" + ], + "shape": [ + "cylindrical body with slight taper", + "flared rim", + "C-shaped handle" + ], + "size": [ + "standard mug size", + "fits in one hand", + "holds about 12 ounces" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00013/metadata.json b/Objects/RoboDojo/Rigid/mug/00013/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..f8c61791f2f9e5fe977c07822c36169fc72e7278 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00013/metadata.json @@ -0,0 +1,270 @@ +{ + "physics": { + "mass": 0.22, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.06, + -0.0472, + -0.041 + ], + [ + -0.06, + -0.0472, + 0.041 + ], + [ + -0.06, + 0.0473, + -0.041 + ], + [ + -0.06, + 0.0473, + 0.041 + ], + [ + 0.06, + -0.0472, + -0.041 + ], + [ + 0.06, + -0.0472, + 0.041 + ], + [ + 0.06, + 0.0473, + -0.041 + ], + [ + 0.06, + 0.0473, + 0.041 + ] + ], + "extents": [ + 0.12, + 0.0945, + 0.082 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0244, + -0.0646, + 0.0418 + ], + [ + 0.0645, + -0.0018, + 0.0405 + ], + [ + -0.0785, + 0.0121, + 0.0418 + ], + [ + 0.0104, + 0.0749, + 0.0405 + ], + [ + -0.0252, + -0.0651, + -0.0404 + ], + [ + 0.0638, + -0.0023, + -0.0416 + ], + [ + -0.0793, + 0.0115, + -0.0404 + ], + [ + 0.0096, + 0.0743, + -0.0416 + ] + ], + "extents": [ + 0.1438, + 0.14, + 0.0834 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.058, + 0.0, + 0.01, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.058, + 0.0, + 0.01, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "coffee mug for holding hot drinks activities", + "dark charcoal hand-thrown clay cylindrical body with slight taper mug", + "coffee mug in cylindrical body with slight taper", + "mug typically made of shiny stoneware", + "glossy black object used for drinking coffee or tea", + "coffee mug ideal for sipping", + "fits in one hand coffee mug perfect for holding hot drinks", + "cylindrical body with slight taper mug used for holding hot drinks", + "ceramic cup ideal for sipping", + "standard mug size light gray rim shiny stoneware flared rim object", + "glossy black ceramic cup for drinking coffee or tea", + "mug suitable for drinking coffee or tea", + "ceramic cup with hand-thrown clay construction", + "fits in one hand glossy black C-shaped handle for sipping", + "standard mug size C-shaped handle object", + "flared rim-shaped mug", + "sipping with mug", + "shiny stoneware cylindrical body with slight taper object used for holding hot drinks", + "glossy black coffee mug suitable for drinking coffee or tea", + "glazed ceramic object used for sipping", + "holds about 12 ounces dark charcoal mug", + "shiny stoneware coffee mug for holding hot drinks", + "standard mug size dark charcoal C-shaped handle for drinking coffee or tea", + "coffee mug in holds about 12 ounces", + "coffee mug built from glazed ceramic", + "fits in one hand glazed ceramic ceramic cup", + "ceramic cup sized holds about 12 ounces", + "shiny stoneware C-shaped handle coffee mug", + "holds about 12 ounces flared rim coffee mug for holding hot drinks", + "mug designed for sipping", + "glossy black cylindrical body with slight taper object for holding hot drinks", + "cylindrical body with slight taper standard mug size coffee mug", + "mug in C-shaped handle form", + "C-shaped handle-shaped ceramic cup", + "holding hot drinks with ceramic cup", + "ceramic cup featuring cylindrical body with slight taper shape", + "ceramic cup primarily used for drinking coffee or tea", + "ceramic cup with shiny stoneware construction", + "coffee mug in C-shaped handle form", + "mug with glazed ceramic body", + "mug built from hand-thrown clay", + "holds about 12 ounces light gray rim shiny stoneware ceramic cup", + "coffee mug in standard mug size", + "cylindrical body with slight taper standard mug size ceramic cup", + "glossy black cylindrical body with slight taper mug", + "mug for drinking coffee or tea scenarios", + "fits in one hand light gray rim hand-thrown clay mug", + "ceramic cup suitable for sipping", + "fits in one hand flared rim ceramic cup for holding hot drinks", + "dark charcoal ceramic cup designed for drinking coffee or tea", + "ceramic cup with shiny stoneware surface", + "fits in one hand coffee mug for drinking coffee or tea", + "holds about 12 ounces C-shaped handle object for sipping", + "coffee mug sized standard mug size", + "glazed ceramic glossy black mug", + "standard mug size dark charcoal flared rim for drinking coffee or tea", + "standard mug size glossy black flared rim object", + "mug with flared rim geometry", + "coffee mug for sipping with hand-thrown clay", + "C-shaped handle coffee mug for holding hot drinks", + "coffee mug for sipping tasks", + "mug in light gray rim", + "fits in one hand dark charcoal hand-thrown clay ceramic cup", + "cylindrical body with slight taper holds about 12 ounces coffee mug", + "dark charcoal coffee mug used for sipping", + "flared rim-shaped coffee mug", + "light gray rim shiny stoneware ceramic cup", + "coffee mug appropriate for holding hot drinks", + "ceramic cup for holding hot drinks scenarios", + "coffee mug commonly featuring glazed ceramic", + "ceramic cup used to holding hot drinks", + "shiny stoneware flared rim for drinking coffee or tea", + "mug for drinking coffee or tea with shiny stoneware", + "mug used to drinking coffee or tea", + "coffee mug made of glazed ceramic", + "ceramic cup typically made of hand-thrown clay", + "standard mug size ceramic cup for holding hot drinks", + "drinking coffee or tea with ceramic cup", + "ceramic cup with cylindrical body with slight taper geometry", + "cylindrical body with slight taper object used for drinking coffee or tea", + "coffee mug for drinking coffee or tea activities", + "coffee mug with cylindrical body with slight taper profile", + "standard mug size object used for holding hot drinks", + "standard mug size glossy black glazed ceramic flared rim object", + "light gray rim mug typically used for drinking coffee or tea", + "light gray rim fits in one hand cylindrical body with slight taper ceramic cup", + "C-shaped handle coffee mug ideal for holding hot drinks", + "ceramic cup appropriate for sipping use", + "mug suitable for holding hot drinks", + "standard mug size shiny stoneware ceramic cup for holding hot drinks", + "standard mug size flared rim object for sipping", + "standard mug size dark charcoal cylindrical body with slight taper object", + "ceramic cup for sipping with glazed ceramic", + "dark charcoal ceramic cup typically used for drinking coffee or tea", + "mug made of hand-thrown clay", + "light gray rim shiny stoneware cylindrical body with slight taper coffee mug", + "dark charcoal glazed ceramic C-shaped handle object", + "fits in one hand light gray rim glazed ceramic ceramic cup", + "flared rim fits in one hand ceramic cup", + "fits in one hand dark charcoal object for drinking coffee or tea" + ], + "caption": { + "color": [ + "glossy black", + "dark charcoal", + "light gray rim" + ], + "function": [ + "holding hot drinks", + "drinking coffee or tea", + "sipping" + ], + "material": [ + "glazed ceramic", + "shiny stoneware", + "hand-thrown clay" + ], + "name": [ + "mug", + "coffee mug", + "ceramic cup" + ], + "shape": [ + "cylindrical body with slight taper", + "flared rim", + "C-shaped handle" + ], + "size": [ + "standard mug size", + "fits in one hand", + "holds about 12 ounces" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00014/metadata.json b/Objects/RoboDojo/Rigid/mug/00014/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..fdf71438ac5157e3610710f520f7745ff8f6f299 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00014/metadata.json @@ -0,0 +1,275 @@ +{ + "physics": { + "mass": 0.22, + "friction": 0.38, + "size": [ + 0.1289999979940745, + 0.10399999999999998, + 0.06900000057312157 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0646, + -0.0519, + -0.0346 + ], + [ + -0.0646, + -0.0519, + 0.0344 + ], + [ + -0.0646, + 0.0521, + -0.0346 + ], + [ + -0.0646, + 0.0521, + 0.0344 + ], + [ + 0.0644, + -0.0519, + -0.0346 + ], + [ + 0.0644, + -0.0519, + 0.0344 + ], + [ + 0.0644, + 0.0521, + -0.0346 + ], + [ + 0.0644, + 0.0521, + 0.0344 + ] + ], + "extents": [ + 0.129, + 0.104, + 0.069 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0697, + -0.0023, + -0.0346 + ], + [ + -0.0262, + -0.0715, + -0.0346 + ], + [ + 0.0093, + 0.0814, + -0.0346 + ], + [ + -0.0866, + 0.0121, + -0.0345 + ], + [ + 0.0697, + -0.0023, + 0.0343 + ], + [ + -0.0262, + -0.0715, + 0.0344 + ], + [ + 0.0093, + 0.0814, + 0.0344 + ], + [ + -0.0866, + 0.0121, + 0.0345 + ] + ], + "extents": [ + 0.1563, + 0.1529, + 0.0691 + ] + } + }, + "active": { + "functional": { + "handle": { + "frame": [ + [ + 0.06, + 0.0, + 0.01, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.06, + 0.0, + 0.01, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + }, + "description": [ + "rounded pumpkin silhouette smooth reflective surface object for Halloween decoration", + "black jack-o'-lantern face jack-o'-lantern cup suitable for holding hot drinks", + "Halloween mug colored deep maroon", + "glazed ceramic jack-o'-lantern cup used for serving coffee or tea", + "Halloween mug in black jack-o'-lantern face", + "standard mug size deep maroon object for Halloween decoration", + "jack-o'-lantern cup featuring curved handle shape", + "rounded pumpkin silhouette shiny porcelain pumpkin mug for holding hot drinks", + "serving coffee or tea with jack-o'-lantern cup", + "jack-o'-lantern cup optimized for holding hot drinks", + "glazed ceramic object used for serving coffee or tea", + "fits comfortably in one hand shiny porcelain Halloween mug for serving coffee or tea", + "holding hot drinks with jack-o'-lantern cup", + "handheld black jack-o'-lantern face smooth reflective surface ribbed exterior object", + "curved handle object used for serving coffee or tea", + "Halloween mug intended for Halloween decoration usage", + "glossy pink object used for holding hot drinks", + "jack-o'-lantern cup made from glazed ceramic", + "handheld glossy pink ribbed exterior object", + "rounded pumpkin silhouette pumpkin mug ideal for holding hot drinks", + "shiny porcelain object for Halloween decoration", + "pumpkin mug in handheld", + "glossy pink handheld glazed ceramic object", + "Halloween mug with rounded pumpkin silhouette geometry", + "Halloween mug intended for holding hot drinks", + "pumpkin mug suitable for Halloween decoration", + "black jack-o'-lantern face handheld smooth reflective surface object", + "handheld glazed ceramic ribbed exterior for holding hot drinks", + "pumpkin mug in standard mug size", + "glossy pink ribbed exterior object for holding hot drinks", + "rounded pumpkin silhouette fits comfortably in one hand Halloween mug", + "fits comfortably in one hand black jack-o'-lantern face glazed ceramic pumpkin mug", + "Halloween decoration with jack-o'-lantern cup", + "jack-o'-lantern cup designed for Halloween decoration", + "pumpkin mug in rounded pumpkin silhouette", + "fits comfortably in one hand black jack-o'-lantern face object for Halloween decoration", + "black jack-o'-lantern face Halloween mug designed for holding hot drinks", + "jack-o'-lantern cup in black jack-o'-lantern face", + "Halloween mug appropriate for serving coffee or tea", + "black jack-o'-lantern face object used for Halloween decoration", + "pumpkin mug commonly used for Halloween decoration", + "smooth reflective surface jack-o'-lantern cup used for holding hot drinks", + "Halloween mug intended for serving coffee or tea usage", + "pumpkin mug with shiny porcelain construction", + "Halloween mug for holding hot drinks use", + "ribbed exterior Halloween mug ideal for serving coffee or tea", + "glossy pink Halloween mug used for holding hot drinks", + "fits comfortably in one hand deep maroon ribbed exterior for Halloween decoration", + "rounded pumpkin silhouette shiny porcelain Halloween mug for serving coffee or tea", + "curved handle Halloween mug for serving coffee or tea", + "Halloween mug for Halloween decoration tasks", + "Halloween mug in rounded pumpkin silhouette form", + "jack-o'-lantern cup in ribbed exterior form", + "deep maroon ribbed exterior jack-o'-lantern cup used for Halloween decoration", + "jack-o'-lantern cup shaped like a rounded pumpkin silhouette", + "Halloween mug featuring ribbed exterior shape", + "Halloween mug shaped like a curved handle", + "standard mug size deep maroon shiny porcelain pumpkin mug", + "serving coffee or tea with Halloween mug", + "standard mug size pumpkin mug for serving coffee or tea", + "standard mug size glossy pink ribbed exterior for Halloween decoration", + "smooth reflective surface object used for serving coffee or tea", + "Halloween mug for holding hot drinks scenarios", + "jack-o'-lantern cup in rounded pumpkin silhouette form", + "Halloween decoration use of Halloween mug", + "deep maroon pumpkin mug for Halloween decoration", + "ribbed exterior Halloween mug for Halloween decoration", + "jack-o'-lantern cup shaped like a ribbed exterior", + "glossy pink shiny porcelain Halloween mug", + "jack-o'-lantern cup for Halloween decoration activities", + "Halloween mug used to Halloween decoration", + "glazed ceramic rounded pumpkin silhouette for holding hot drinks", + "pumpkin mug sized as handheld", + "glossy pink curved handle object for Halloween decoration", + "smooth reflective surface glossy pink pumpkin mug", + "jack-o'-lantern cup for serving coffee or tea with glazed ceramic", + "smooth reflective surface object for holding hot drinks", + "pumpkin mug suitable for serving coffee or tea", + "ribbed exterior object used for Halloween decoration", + "handheld glazed ceramic curved handle for holding hot drinks", + "glossy pink pumpkin mug designed for holding hot drinks", + "smooth reflective surface rounded pumpkin silhouette for serving coffee or tea", + "shiny porcelain Halloween mug suitable for holding hot drinks", + "fits comfortably in one hand glossy pink curved handle for holding hot drinks", + "standard mug size deep maroon object for holding hot drinks", + "pumpkin mug intended for serving coffee or tea", + "pumpkin mug for Halloween decoration", + "jack-o'-lantern cup in standard mug size", + "Halloween mug for holding hot drinks with smooth reflective surface", + "pumpkin mug built from smooth reflective surface", + "jack-o'-lantern cup with ribbed exterior profile", + "glossy pink rounded pumpkin silhouette object for serving coffee or tea", + "Halloween mug with smooth reflective surface surface", + "pumpkin mug featuring smooth reflective surface build", + "Halloween mug featuring smooth reflective surface build", + "black jack-o'-lantern face curved handle Halloween mug used for serving coffee or tea", + "ribbed exterior-shaped jack-o'-lantern cup", + "standard mug size ribbed exterior pumpkin mug for serving coffee or tea", + "fits comfortably in one hand ribbed exterior jack-o'-lantern cup", + "deep maroon jack-o'-lantern cup typically used for Halloween decoration" + ], + "caption": { + "color": [ + "deep maroon", + "glossy pink", + "black jack-o'-lantern face" + ], + "function": [ + "holding hot drinks", + "serving coffee or tea", + "Halloween decoration" + ], + "material": [ + "glazed ceramic", + "shiny porcelain", + "smooth reflective surface" + ], + "name": [ + "pumpkin mug", + "Halloween mug", + "jack-o'-lantern cup" + ], + "shape": [ + "rounded pumpkin silhouette", + "ribbed exterior", + "curved handle" + ], + "size": [ + "handheld", + "standard mug size", + "fits comfortably in one hand" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/mug/00015/description.json b/Objects/RoboDojo/Rigid/mug/00015/description.json new file mode 100644 index 0000000000000000000000000000000000000000..4028ae04bc813bb4947db6544ea903e63f416b18 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00015/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "30f19dc2-9ccb-4e0c-b9bb-d05569044e8a", + "caption": { + "color": [ + "matte gray", + "metallic silver", + "white with burger print" + ], + "material": [ + "ceramic", + "glossy glaze", + "smooth porcelain" + ], + "size": [ + "standard coffee mug", + "holds about 12 ounces", + "fits in one hand" + ], + "name": [ + "coffee mug", + "burger mug", + "printed ceramic mug" + ], + "shape": [ + "cylindrical body", + "C-shaped handle", + "wide open rim" + ], + "function": [ + "holding hot drinks", + "displaying a fun design", + "daily beverage use" + ] + }, + "description": [ + "printed ceramic mug shaped like a C-shaped handle", + "standard coffee mug wide open rim burger mug for holding hot drinks", + "coffee mug with standard coffee mug dimensions", + "fits in one hand C-shaped handle coffee mug", + "ceramic printed ceramic mug for holding hot drinks", + "burger mug designed for displaying a fun design", + "fits in one hand white with burger print cylindrical body object", + "matte gray smooth porcelain wide open rim object", + "printed ceramic mug typically made of glossy glaze", + "burger mug with ceramic surface", + "printed ceramic mug made of ceramic", + "cylindrical body burger mug ideal for daily beverage use", + "white with burger print ceramic C-shaped handle object", + "standard coffee mug glossy glaze C-shaped handle for displaying a fun design", + "printed ceramic mug for holding hot drinks use", + "matte gray printed ceramic mug designed for displaying a fun design", + "cylindrical body ceramic object for daily beverage use", + "matte gray burger mug suitable for daily beverage use", + "holds about 12 ounces glossy glaze cylindrical body for displaying a fun design", + "coffee mug sized standard coffee mug", + "holds about 12 ounces printed ceramic mug perfect for displaying a fun design", + "fits in one hand white with burger print glossy glaze coffee mug", + "metallic silver holds about 12 ounces glossy glaze object", + "holds about 12 ounces wide open rim printed ceramic mug for daily beverage use", + "printed ceramic mug with glossy glaze surface", + "holds about 12 ounces cylindrical body coffee mug", + "printed ceramic mug in fits in one hand", + "fits in one hand glossy glaze coffee mug", + "burger mug with smooth porcelain surface", + "holds about 12 ounces matte gray C-shaped handle for daily beverage use", + "fits in one hand white with burger print smooth porcelain printed ceramic mug", + "coffee mug in cylindrical body", + "metallic silver coffee mug used for holding hot drinks", + "glossy glaze C-shaped handle printed ceramic mug", + "C-shaped handle burger mug for displaying a fun design", + "burger mug with glossy glaze body", + "coffee mug typically made of smooth porcelain", + "coffee mug optimized for displaying a fun design", + "printed ceramic mug sized standard coffee mug", + "printed ceramic mug for holding hot drinks tasks", + "fits in one hand ceramic burger mug for daily beverage use", + "coffee mug appropriate for daily beverage use", + "glossy glaze printed ceramic mug for daily beverage use", + "wide open rim burger mug used for daily beverage use", + "burger mug made of smooth porcelain", + "burger mug appropriate for displaying a fun design", + "coffee mug intended for holding hot drinks usage", + "matte gray coffee mug used for daily beverage use", + "coffee mug for displaying a fun design tasks", + "coffee mug intended for displaying a fun design usage", + "fits in one hand wide open rim printed ceramic mug for holding hot drinks", + "burger mug built from smooth porcelain", + "white with burger print burger mug for displaying a fun design", + "holds about 12 ounces smooth porcelain printed ceramic mug", + "displaying a fun design with printed ceramic mug", + "burger mug for daily beverage use use", + "C-shaped handle object made of smooth porcelain", + "glossy glaze printed ceramic mug for holding hot drinks", + "printed ceramic mug in wide open rim form", + "glossy glaze object used for daily beverage use", + "ceramic burger mug used for daily beverage use", + "printed ceramic mug commonly featuring glossy glaze", + "burger mug used to holding hot drinks", + "glossy glaze printed ceramic mug used for holding hot drinks", + "printed ceramic mug with smooth porcelain body", + "metallic silver glossy glaze coffee mug", + "fits in one hand wide open rim burger mug", + "metallic silver standard coffee mug burger mug for displaying a fun design", + "printed ceramic mug appropriate for displaying a fun design", + "printed ceramic mug made of smooth porcelain", + "smooth porcelain burger mug suitable for holding hot drinks", + "ceramic burger mug for holding hot drinks", + "standard coffee mug matte gray object for displaying a fun design", + "white with burger print C-shaped handle burger mug", + "fits in one hand C-shaped handle printed ceramic mug for displaying a fun design", + "smooth porcelain matte gray burger mug", + "burger mug in wide open rim", + "standard coffee mug white with burger print ceramic printed ceramic mug", + "holds about 12 ounces wide open rim object", + "matte gray wide open rim object for daily beverage use", + "smooth porcelain wide open rim printed ceramic mug", + "coffee mug in wide open rim", + "ceramic printed ceramic mug suitable for daily beverage use", + "standard coffee mug glossy glaze printed ceramic mug", + "matte gray printed ceramic mug typically used for displaying a fun design", + "printed ceramic mug built from glossy glaze", + "standard coffee mug glossy glaze object", + "standard coffee mug cylindrical body burger mug", + "daily beverage use with printed ceramic mug", + "burger mug with cylindrical body geometry", + "wide open rim printed ceramic mug used for displaying a fun design", + "cylindrical body printed ceramic mug for holding hot drinks", + "printed ceramic mug colored white with burger print", + "coffee mug built from ceramic", + "holds about 12 ounces object used for daily beverage use", + "coffee mug for displaying a fun design scenarios", + "printed ceramic mug built from smooth porcelain", + "coffee mug ideal for daily beverage use", + "glossy glaze burger mug", + "smooth porcelain cylindrical body printed ceramic mug" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00015/grasps/proposal.json b/Objects/RoboDojo/Rigid/mug/00015/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..39bef574225be0c14a85120a12c33e1dd0991f91 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00015/grasps/proposal.json @@ -0,0 +1,1205 @@ +{ + "uuid": "30f19dc2-9ccb-4e0c-b9bb-d05569044e8a", + "grasp": [ + [ + [ + -0.013824284607918335, + -0.0003623037028555331, + -0.12794634973426675, + 0.7078196929447188, + 0.01996008298672098, + 0.0072317802012294985, + 0.7060740603661405 + ], + 0.9460053443908691 + ], + [ + [ + -0.1089901308951912, + -0.02044892597593931, + -0.07558833336253976, + 0.5422275310982122, + 0.3226651858640479, + 0.3914633877390632, + 0.669800640795687 + ], + 0.9453895688056946 + ], + [ + [ + -0.014814009373450053, + -0.0006503189343456683, + -0.12553427642007683, + 0.7199064322180928, + 0.011893300190634061, + 0.002122013713876769, + 0.6939659756208445 + ], + 0.9436793327331543 + ], + [ + [ + -0.06900262268763162, + -0.001089103474510884, + -0.11714403604884957, + 0.675229104991005, + -0.1871476073955482, + 0.19069337057911284, + -0.6875154305441774 + ], + 0.9413936138153076 + ], + [ + [ + -0.10623524891715623, + 0.006626855976650441, + -0.08601253753324364, + 0.578056313478472, + -0.34484967033815705, + 0.37166872702542253, + -0.6393684076232146 + ], + 0.9387027025222778 + ], + [ + [ + 0.051978716677612294, + 0.014936790730575049, + 0.11006969684938575, + 0.1807449397540871, + -0.5951983729002712, + -0.7471545409220626, + 0.23415861211944122 + ], + 0.9386417865753174 + ], + [ + [ + -0.015176569060796273, + 0.00011185384384956759, + -0.12854887818713998, + 0.6217114727126329, + 0.007599595014601299, + -0.006467261391440604, + 0.7831827790389663 + ], + 0.9366047978401184 + ], + [ + [ + -0.019754634653591882, + 0.0006085722288153561, + -0.13185550546069955, + 0.6827265097485448, + 0.007879900108939332, + -0.0023145681683277575, + 0.7306278552279795 + ], + 0.9362272024154663 + ], + [ + [ + -0.1078399326143799, + -0.005476975418856418, + -0.07350804930349206, + 0.5829299492189041, + 0.3543664187695547, + 0.3640222625362697, + 0.6341174244018701 + ], + 0.9359720945358276 + ], + [ + [ + -0.011776983934479167, + -0.00262252295040158, + -0.13304658507724618, + 0.6297141122763097, + 0.008497817274139953, + -0.0024351734090647392, + -0.7767766692120087 + ], + 0.9355591535568237 + ], + [ + [ + -0.018631725521200668, + -0.00037272182642114735, + -0.12879483675380562, + 0.7583280796080604, + -0.0047501276988116195, + 0.009760510568136316, + -0.6517827033592141 + ], + 0.9346370697021484 + ], + [ + [ + -0.08635352360587693, + -0.008811552148541487, + -0.10687271034141396, + 0.7037774816536798, + -0.2347558848529097, + 0.1996354472939328, + -0.6401036002303715 + ], + 0.9345130920410156 + ], + [ + [ + -0.021181484633499156, + 9.08205346823166e-05, + -0.12425861781259392, + 0.7443670759791963, + 0.013488183846785221, + -0.0002426496260020672, + 0.6676343806424712 + ], + 0.9339702725410461 + ], + [ + [ + -0.013959822426923884, + -0.00178160665207175, + -0.1233114329518876, + 0.6753333966760859, + 0.007932868237176255, + 0.0009786743801468711, + 0.7374692638557419 + ], + 0.9337306618690491 + ], + [ + [ + -0.05788310798388101, + 0.00760584364063474, + -0.11853576725145196, + 0.7107293412219345, + -0.162271544679108, + 0.19170439294835162, + -0.6571005821318339 + ], + 0.933059811592102 + ], + [ + [ + 0.042721306955999364, + -0.000739093126026964, + 0.10948091471771385, + 0.19811959833694912, + 0.6890809837607551, + -0.665005101375362, + -0.20900774559537558 + ], + 0.9330151081085205 + ], + [ + [ + -0.019754646295124065, + -0.00027941564446879005, + -0.12368577247281884, + 0.7667040780101229, + -0.004470579871723916, + 0.010586775486375877, + -0.6418978040646806 + ], + 0.9306797981262207 + ], + [ + [ + -0.06346505316477395, + -0.005687583774557387, + 0.1136960881410041, + 0.15256063851153062, + 0.6637811824596045, + 0.7062919888946531, + 0.1930580736791859 + ], + 0.930517315864563 + ], + [ + [ + -0.01849363180380441, + -0.0010506048111673949, + -0.12198466336150979, + 0.6459419898344949, + 0.0029278460084231875, + -0.009359192660094107, + 0.7633235087426273 + ], + 0.9296042323112488 + ], + [ + [ + -0.06491115497928239, + -0.008258651081701792, + 0.11646122956852104, + 0.14709413674303687, + 0.6655567633502302, + 0.7033514271791526, + 0.20172823198460924 + ], + 0.9286611080169678 + ], + [ + [ + -0.020525195585006248, + 0.005956644586989606, + -0.12532129412313317, + 0.753775000117966, + 0.014471795923540013, + -0.012456604907394198, + 0.6568551204901185 + ], + 0.9278672933578491 + ], + [ + [ + -0.11781973945479966, + 0.012248239408949339, + 0.004785225784579763, + 0.511253776327397, + 0.5412017800811852, + 0.48549222902823286, + 0.4582766685978357 + ], + 0.9257302284240723 + ], + [ + [ + -0.02132586291562892, + -0.0005371690040883181, + -0.13011651014705514, + 0.6937600273904123, + 0.007749019630813991, + -0.0051364806091549475, + 0.7201462307455113 + ], + 0.9252182841300964 + ], + [ + [ + -0.0063305994918582565, + -0.003954152181973731, + 0.1237981143055358, + 0.016855913315145316, + 0.492812530401827, + -0.8696802415306474, + -0.022538091233634372 + ], + 0.9246011972427368 + ], + [ + [ + -0.010013160244935525, + -0.0019977025932129975, + 0.1300365599451461, + 0.0013788498600123171, + -0.6953745148225622, + 0.7183927356523916, + 0.019085603742696404 + ], + 0.9236167669296265 + ], + [ + [ + -0.058973921412044536, + 0.022869418304184402, + 0.10982087725977088, + 0.14641174361315612, + -0.5119582333401543, + 0.8162881915042473, + -0.22391060059342685 + ], + 0.9225378632545471 + ], + [ + [ + -0.10832657473664857, + -0.006167328987499749, + -0.06693768029828881, + 0.6158232060299104, + -0.38359817415678527, + 0.3446899535245366, + -0.5956534694248625 + ], + 0.9209539890289307 + ], + [ + [ + -0.06311026024203874, + 0.0035868593712839727, + 0.11579727107862617, + 0.18378239131186747, + -0.6145625836151669, + 0.7423244454878313, + -0.1936266538860965 + ], + 0.9200553297996521 + ], + [ + [ + -0.10351129429917909, + 0.01010349385789963, + -0.0739223611893258, + 0.6373555936817878, + 0.3900851346484638, + 0.3364818245569082, + 0.5730544622212446 + ], + 0.9193921089172363 + ], + [ + [ + -0.02462081885468341, + -0.000594098308352804, + -0.11973487859388207, + 0.5603432146212239, + -0.027437908565765837, + 0.018788036717756973, + -0.8275926852490788 + ], + 0.9185923933982849 + ], + [ + [ + -0.016837814771944057, + -0.001184711769452369, + -0.11907388543506478, + 0.692763565948518, + -0.002151990120512425, + 0.01086012491652244, + -0.721079793309736 + ], + 0.9169667363166809 + ], + [ + [ + -0.12409429060798265, + -0.0231415136496034, + 0.006206591671506414, + 0.5491152865799575, + -0.5483211217173953, + 0.4546664311391567, + -0.4371438961234292 + ], + 0.9167905449867249 + ], + [ + [ + -0.06574147375803567, + 0.004364401962378943, + 0.12089395249466087, + 0.18647782251326067, + -0.6469090373307593, + 0.7152225918177941, + -0.18759361205526248 + ], + 0.9165634512901306 + ], + [ + [ + -0.1075439433990059, + -0.007202301245411908, + -0.06439541553874825, + 0.6184853291135843, + -0.3791557054687074, + 0.34623697830365185, + -0.594841830688582 + ], + 0.913892388343811 + ], + [ + [ + -0.10376131343227006, + 0.012217842902759039, + 0.07813264155964042, + 0.3538268455585438, + 0.6578777029340531, + 0.5753223307294283, + 0.3331781912256 + ], + 0.9103580713272095 + ], + [ + [ + -0.06300817611198999, + -0.010905157845696485, + 0.11062746966461326, + 0.14217422018765358, + 0.6397309188810948, + 0.7268971904314375, + 0.2053078592856724 + ], + 0.9097750186920166 + ], + [ + [ + -0.10362107115369416, + -0.004716214794894731, + -0.07360356574674462, + 0.6132536555793607, + -0.36608618834066703, + 0.35787943145597445, + -0.6015173889136544 + ], + 0.9093393087387085 + ], + [ + [ + -0.11725958990436174, + 0.037936569120505775, + 0.0004525345863648743, + 0.4170818737215829, + -0.41081165175064116, + 0.6018293597838811, + -0.5432107501706194 + ], + 0.9091468453407288 + ], + [ + [ + -0.06778088765721894, + 0.0058454609697255735, + -0.1025187773050866, + 0.6329269908903411, + -0.18288641420730525, + 0.20541522176119664, + -0.7237130442168987 + ], + 0.9088609218597412 + ], + [ + [ + -0.020279021882825862, + -0.006545018010070598, + 0.12957279110530998, + 0.01356635983407391, + -0.7133327851294541, + -0.6993797811860255, + -0.04289770633140428 + ], + 0.9088557958602905 + ], + [ + [ + -0.01991775813084222, + 0.0023898751696142797, + -0.12262534623761986, + 0.5265981442837059, + -0.011981585738140274, + 0.012312505968451348, + -0.8499407263079786 + ], + 0.9075905680656433 + ], + [ + [ + -0.008812256106549276, + -0.00021953605580707464, + 0.13476368511299278, + 0.009685527531428822, + -0.8261305041106556, + -0.563155175297333, + -0.016456891266032964 + ], + 0.9069331288337708 + ], + [ + [ + -0.007945737284981979, + -0.003545439407458579, + 0.13344230974296714, + 0.01579143311557134, + -0.7563748408801687, + -0.6539186636709079, + -0.006173493865740356 + ], + 0.9065236449241638 + ], + [ + [ + -0.11945267575364686, + -0.022587050754806076, + 0.016592838859359273, + 0.5454981737599403, + -0.5376717431858885, + 0.46609863906492843, + -0.4428237772137352 + ], + 0.9064088463783264 + ], + [ + [ + -0.008874499421009195, + -0.0032689492928293104, + 0.13444456184486533, + 0.005133800999733926, + -0.814570787596001, + -0.5799835454610011, + -0.008195308231668624 + ], + 0.9058337211608887 + ], + [ + [ + 0.04352916223425292, + 0.010799165744105303, + -0.11609026318212365, + 0.6181201024461126, + -0.16049080802041446, + -0.19354221007969963, + 0.7447896699138806 + ], + 0.9047122001647949 + ], + [ + [ + 0.030927589214033116, + -0.004499143991848504, + -0.1204514828862748, + 0.6575117256272925, + 0.14845058093910898, + -0.17178653938311872, + -0.7184219794579179 + ], + 0.9046348333358765 + ], + [ + [ + -0.007120080241375936, + -2.0055651544643674e-05, + -0.12197830056568001, + 0.6407482670038613, + 0.006636459332559134, + -0.004167506371795526, + 0.7677110443583036 + ], + 0.904119610786438 + ], + [ + [ + 0.03008340863007926, + -0.018473864604016815, + -0.12152984266897057, + 0.7889886516410873, + -0.1794888521396085, + -0.12575356867309184, + 0.5739918984664906 + ], + 0.9037766456604004 + ], + [ + [ + 0.06102432501930617, + -0.007687176648756539, + 0.11280751699785377, + 0.21691643927802354, + -0.6805498701997806, + -0.6735810035168083, + 0.18996779791137072 + ], + 0.901920735836029 + ], + [ + [ + -0.10655990796666719, + -0.0037953779811468477, + -0.0661977705897889, + 0.6113807963361065, + -0.35982150490851816, + 0.3612459972815836, + -0.6051804160123089 + ], + 0.9014383554458618 + ], + [ + [ + 0.0366557259621086, + 0.017169090848186935, + 0.11776553565839912, + 0.1731652152966797, + -0.5142073576978405, + -0.8124336353875308, + 0.213438959872983 + ], + 0.9010778665542603 + ], + [ + [ + -0.012465196814529, + -0.0014286100177523253, + 0.12833586061576988, + 0.029400086949286367, + -0.6491094754651181, + -0.7600586159348669, + -0.010169763613205245 + ], + 0.9008945822715759 + ], + [ + [ + -0.055974701368623744, + 0.015773833658317055, + 0.11210047925094749, + 0.14069742025525137, + -0.529993318307676, + 0.8079628239418877, + -0.2156557293711096 + ], + 0.90052330493927 + ], + [ + [ + -0.008595439554565919, + -0.000886249892642772, + 0.126540330296556, + 0.02131567129611715, + -0.7270078526515958, + -0.6862703200392237, + -0.0061864507896059115 + ], + 0.9004766345024109 + ], + [ + [ + 0.03488492784518622, + -0.017587765190979515, + -0.11383457755466317, + 0.580124247792376, + 0.1366287735072553, + -0.19843620337581847, + -0.7780819420620327 + ], + 0.9003746509552002 + ], + [ + [ + -0.12275105523448564, + -0.011822680082401312, + 5.287566425884668e-05, + 0.5362445547092575, + -0.5021709577534712, + 0.4484855587934661, + -0.5090449982932193 + ], + 0.9003685116767883 + ], + [ + [ + 0.037845419770664204, + -0.023280066509028946, + -0.11172712122817849, + 0.5550085745750576, + 0.1268352994818799, + -0.20137281029800702, + -0.7970741999501598 + ], + 0.8992226719856262 + ], + [ + [ + -0.011258463033383114, + -0.00010735039366041693, + 0.1277840706167617, + 0.006485849831171409, + -0.9185029782289978, + -0.39536056895074007, + -0.0004829651903615685 + ], + 0.8990365266799927 + ], + [ + [ + -0.0685415174303589, + -0.012912384305378473, + -0.10170518880506371, + 0.7453612971053322, + -0.20984091909098784, + 0.1706317900376112, + -0.6093341592928032 + ], + 0.8981969356536865 + ], + [ + [ + -0.05818551587443925, + 0.04236606967053744, + 0.10830618912557746, + 0.2487900671636904, + 0.8602136598148116, + 0.4284153166332484, + 0.12081505875811914 + ], + 0.8961473703384399 + ], + [ + [ + -0.10030562239270784, + 0.029594196866968597, + -0.06828692083974694, + 0.6966658847615691, + 0.424871388334692, + 0.29022069450289456, + 0.4999128892779112 + ], + 0.8950778841972351 + ], + [ + [ + 0.026161188310569752, + -0.017462496716758286, + -0.11818693851848458, + 0.5779373630483805, + 0.12221974677152914, + -0.18532224187725443, + -0.785306567244523 + ], + 0.8946766257286072 + ], + [ + [ + -0.028776435130649577, + 0.0021001024160105233, + -0.1201252294125161, + 0.8055463272914041, + -0.027072373431025813, + 0.03192016411677445, + -0.5910527085691252 + ], + 0.8928820490837097 + ], + [ + [ + -0.025169892185741435, + -0.0022595674509611483, + 0.131636303907434, + 0.0042709735131245714, + -0.6697441588285797, + 0.7424557550535259, + 0.013563638455343228 + ], + 0.8927512764930725 + ], + [ + [ + -0.10151500808578111, + -0.03373424622811941, + -0.06917366659065102, + 0.49058368179520084, + 0.28692865047332744, + 0.4121550925513916, + 0.7121290475593407 + ], + 0.8924798369407654 + ], + [ + [ + -0.0064029637215671665, + -0.0048549585754480715, + 0.12704032385925437, + 0.004539430223697079, + 0.4444459717764552, + -0.8957149084319866, + -0.011915307700804045 + ], + 0.8920193314552307 + ], + [ + [ + -0.0617370660839615, + -0.022983170185467278, + -0.10726361995359276, + 0.5132987091313536, + 0.12777422010293157, + 0.2078132824965454, + 0.8228072821136094 + ], + 0.890951931476593 + ], + [ + [ + -0.06268724607806779, + -0.018517308939477478, + 0.11300633574108268, + 0.2093161637600723, + -0.7645508342957509, + 0.5908931287701948, + -0.14998025116197083 + ], + 0.8890976905822754 + ], + [ + [ + -0.015450722952747119, + -0.01141558967181114, + -0.12710246717353677, + 0.8007308833449658, + 0.011809156585470472, + 0.027764288812746618, + 0.5982639388639877 + ], + 0.8879210948944092 + ], + [ + [ + -0.015855203797483217, + -0.0021555359254088755, + -0.12019854312558984, + 0.5359040217323247, + -0.007782943213125963, + 0.01433725894694371, + -0.8441212876666182 + ], + 0.8878278732299805 + ], + [ + [ + 0.07641217303890609, + -0.025596068311711823, + -0.08841797983070229, + 0.6822394125159684, + -0.3988786366216446, + -0.28989214050697654, + 0.539821974477705 + ], + 0.8873466849327087 + ], + [ + [ + -0.0885716955600319, + -0.010953604314705408, + -0.08921103453060006, + 0.6802137293557586, + -0.33619002823152805, + 0.3018023048139653, + -0.5772355811300903 + ], + 0.8872122764587402 + ], + [ + [ + -0.11869393097739793, + -0.03632881778874067, + -0.028511266166170588, + 0.4493614656545516, + 0.3869668207926319, + 0.5861707728177874, + 0.5520278778147296 + ], + 0.8870137333869934 + ], + [ + [ + -0.05195564585309602, + 0.0038833987654689197, + 0.11817171896080161, + 0.1787450572462473, + -0.6252925326673626, + 0.7377404288329932, + -0.18110359677759574 + ], + 0.8826426863670349 + ], + [ + [ + 0.03063010243195914, + -0.027727131802817856, + -0.11953251337428902, + 0.8597321923432028, + -0.2165594214114787, + -0.10767442596647636, + 0.4498541901988526 + ], + 0.8824343681335449 + ], + [ + [ + -0.017578446255439292, + -0.0016958197357561944, + -0.11864909803291177, + 0.8241574853983035, + -0.004925156749795146, + 0.01560564136669973, + -0.5661242319937113 + ], + 0.881671667098999 + ], + [ + [ + -0.07698119985442735, + -0.010183755379399336, + 0.11692402238229896, + 0.20722281613577745, + -0.7439276788458706, + 0.6113948425403033, + -0.17270396531310492 + ], + 0.8812320232391357 + ], + [ + [ + -0.11614673393350221, + -0.006930480316510474, + -0.004575672152278474, + 0.5003062276318856, + -0.5191426019416765, + 0.4917312597923066, + -0.4882468695087034 + ], + 0.8787715435028076 + ], + [ + [ + -0.048749471032434474, + 0.018996895219901527, + 0.11614522064308311, + 0.19763606649406967, + 0.8310348636164189, + 0.5017893118676027, + 0.13611953265505106 + ], + 0.8786746859550476 + ], + [ + [ + -0.12671522604804614, + -0.003222850920861637, + -0.032485988864501464, + 0.4825015737345143, + 0.5093373687054998, + 0.49505047544498204, + 0.5125355626154853 + ], + 0.8784580230712891 + ], + [ + [ + -0.05865902634840585, + -0.02182778630056051, + 0.11302165413478996, + 0.22740510059439717, + -0.773987855159328, + 0.5757276157599411, + -0.1332945337997348 + ], + 0.878402054309845 + ], + [ + [ + 0.02128657144922637, + -0.006070053741565024, + -0.11034541850705956, + 0.7474433978938281, + -0.16070595389144837, + -0.13972241733145296, + 0.6292691073172303 + ], + 0.8779441714286804 + ], + [ + [ + -0.05323980929833032, + 0.003863203733930314, + 0.11253366345743324, + 0.18231230920265246, + -0.6199305112869421, + 0.7402613195588466, + -0.18563825536160833 + ], + 0.8763759732246399 + ], + [ + [ + 0.03694538218397521, + 0.023044788207629646, + 0.10833798075298454, + 0.24139798707534982, + 0.7892811578236635, + -0.5472828928025775, + -0.1387216673275988 + ], + 0.8746770620346069 + ], + [ + [ + -0.006666853041761888, + -0.009281288903435743, + 0.1341145458279052, + 0.00018532660718241118, + -0.788754998191508, + -0.6143346328844591, + -0.021412083520287492 + ], + 0.8736008405685425 + ], + [ + [ + -0.10204875277858354, + 0.053793744113067116, + 0.0647100480852523, + 0.24159035758137934, + -0.43302579440142364, + 0.7276527137840517, + -0.47396654800673604 + ], + 0.8735417127609253 + ], + [ + [ + 0.033156273937410344, + -0.0023259507270958777, + 0.11335435981134559, + 0.22033291924569698, + -0.6366436960346498, + -0.7166959632127524, + 0.18023624860320125 + ], + 0.8686049580574036 + ], + [ + [ + -0.13117697643619158, + 0.005490909725198472, + -0.022400899732311717, + 0.49337158133301173, + 0.5328494889651086, + 0.48505189100574253, + 0.4872171670562719 + ], + 0.8675848841667175 + ], + [ + [ + -0.08100946801286317, + 0.07045175593695971, + 0.06869125092605735, + 0.17488370999712105, + -0.3441899831778679, + 0.7911466663929678, + -0.47437948491999066 + ], + 0.8646263480186462 + ], + [ + [ + -0.01294614375373475, + -0.0014123052370232103, + -0.1259024766625962, + 0.8817492697306603, + 0.013263718687651948, + 0.0005132270884904422, + 0.47153158504386206 + ], + 0.8637672066688538 + ], + [ + [ + -0.10104987578969575, + 0.033762392516950096, + -0.0720690069140992, + 0.7155350206732028, + 0.4377164393942279, + 0.2766563667280775, + 0.46890852799139665 + ], + 0.8627902269363403 + ], + [ + [ + -0.011393153116015119, + -0.0076746494288053866, + 0.13379972899536277, + 0.030946516901426514, + -0.6023931083287319, + -0.7974922538523296, + -0.013075212244923445 + ], + 0.860181450843811 + ], + [ + [ + -0.03296221228819467, + 0.039626010622600044, + 0.1151555898247161, + 0.046078170064475205, + -0.2205507103889607, + 0.9456992970474093, + -0.23427980270281734 + ], + 0.8587974309921265 + ], + [ + [ + -0.007888582018577827, + -0.0017599436233249066, + 0.12434825027565147, + 0.005624578490391964, + -0.931946665234843, + -0.3625503246823034, + 0.0010194837992602908 + ], + 0.8585957884788513 + ], + [ + [ + -0.04911108868699647, + 0.03827803295455309, + 0.11759152734855796, + 0.07992240944291804, + -0.2872743180917356, + 0.9241792027812153, + -0.23870206488516965 + ], + 0.8579794764518738 + ], + [ + [ + -0.0018010260028777248, + -0.004712374486258304, + -0.12863087927718972, + 0.34345326728673303, + 0.019703953412191458, + -0.009687469223718104, + -0.9389130739051608 + ], + 0.857860267162323 + ], + [ + [ + -0.09732375102620698, + 0.06398279678426119, + 0.06225485826114799, + 0.23640297109600222, + -0.373800671654038, + 0.7602355731093894, + -0.4758451076842239 + ], + 0.8555140495300293 + ], + [ + [ + -0.07415303024035073, + 0.007040010228523934, + -0.12375073408504342, + 0.6651153439134838, + -0.1875105759148583, + 0.2018989658164292, + -0.6940447902067867 + ], + 0.8549058437347412 + ], + [ + [ + -0.010328740994819773, + -0.0008879203360956666, + -0.12243410473485802, + 0.8888355447149698, + 0.014283469126176078, + -0.0022038140473170653, + 0.45799836262219284 + ], + 0.8538333773612976 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00015/metadata.json b/Objects/RoboDojo/Rigid/mug/00015/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..be4ea10a4bb211814daf4d7cf8f52f70e2fa2306 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00015/metadata.json @@ -0,0 +1,189 @@ +{ + "uuid": "30f19dc2-9ccb-4e0c-b9bb-d05569044e8a", + "physics": { + "mass": 0.5, + "friction": 0.25, + "size": [ + 0.09067746668346471, + 0.06430525750383176, + 0.07600000000000001 + ] + }, + "geometry": { + "faces": 385834, + "vertices": 252477, + "aligned_bbox": { + "vertices": [ + [ + -0.0455, + -0.0322, + -0.0381 + ], + [ + -0.0455, + -0.0322, + 0.0381 + ], + [ + -0.0455, + 0.0323, + -0.0381 + ], + [ + -0.0455, + 0.0323, + 0.0381 + ], + [ + 0.0454, + -0.0322, + -0.0381 + ], + [ + 0.0454, + -0.0322, + 0.0381 + ], + [ + 0.0454, + 0.0323, + -0.0381 + ], + [ + 0.0454, + 0.0323, + 0.0381 + ] + ], + "extents": [ + 0.0909, + 0.0645, + 0.0762 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0484, + 0.0023, + -0.0381 + ], + [ + -0.0259, + 0.0437, + -0.0381 + ], + [ + 0.0484, + 0.0023, + 0.0381 + ], + [ + -0.0259, + 0.0437, + 0.0381 + ], + [ + 0.0171, + -0.0539, + -0.0381 + ], + [ + -0.0572, + -0.0125, + -0.0381 + ], + [ + 0.0171, + -0.0539, + 0.0381 + ], + [ + -0.0572, + -0.0125, + 0.0381 + ] + ], + "extents": [ + 0.1056, + 0.0975, + 0.0762 + ] + }, + "radius": 0.0673304706406486, + "bbox": [ + 0.09067746668346471, + 0.06430525750383176, + 0.07600000000000001 + ], + "center": [ + -4.662224967139235e-05, + 4.4236890706692235e-05, + 1.8577562052281333e-09 + ] + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "projection_circle": { + "center": [ + -0.0, + 0.0, + -0.0381, + 1.0, + 0.0, + 0.0, + 0.0 + ], + "radius": 0.0455 + }, + "contact_circle": { + "center": [ + -0.0136, + 0.0, + -0.0381, + 1.0, + 0.0, + 0.0, + 0.0 + ], + "radius": 0.0323 + } + } + }, + "functional": { + "handle": { + "frame": [ + [ + 0.042, + 0.0, + 0.0, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.042, + 0.0, + 0.0, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00016/description.json b/Objects/RoboDojo/Rigid/mug/00016/description.json new file mode 100644 index 0000000000000000000000000000000000000000..5f1d6c978185ab7846680c53d3e63162ba8d570b --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00016/description.json @@ -0,0 +1,136 @@ +{ + "uuid": "1e714059-d38d-42a0-9d93-ddf95cad3739", + "caption": { + "color": [ + "glossy red exterior", + "metallic silver interior", + "shiny gray handle" + ], + "material": [ + "ceramic with glossy glaze", + "smooth reflective surface" + ], + "size": [ + "standard coffee mug", + "fits comfortably in one hand", + "holds about 12 ounces" + ], + "name": [ + "coffee mug", + "red ceramic mug", + "everyday mug" + ], + "shape": [ + "cylindrical body", + "C-shaped handle", + "wide open rim" + ], + "function": [ + "holding hot drinks", + "drinking coffee or tea", + "keeping beverages warm" + ] + }, + "description": [ + "everyday mug made from smooth reflective surface", + "coffee mug made of smooth reflective surface", + "holds about 12 ounces metallic silver interior object for keeping beverages warm", + "coffee mug commonly found in holds about 12 ounces size", + "red ceramic mug with fits comfortably in one hand dimensions", + "C-shaped handle everyday mug used for holding hot drinks", + "standard coffee mug everyday mug for keeping beverages warm", + "cylindrical body smooth reflective surface object for holding hot drinks", + "fits comfortably in one hand wide open rim object for holding hot drinks", + "metallic silver interior wide open rim red ceramic mug", + "coffee mug with ceramic with glossy glaze surface", + "everyday mug primarily used for drinking coffee or tea", + "everyday mug with smooth reflective surface surface", + "red ceramic mug intended for drinking coffee or tea usage", + "ceramic with glossy glaze coffee mug", + "everyday mug intended for holding hot drinks usage", + "everyday mug ideal for drinking coffee or tea", + "standard coffee mug metallic silver interior smooth reflective surface wide open rim object", + "coffee mug appropriate for holding hot drinks use", + "everyday mug in wide open rim form", + "metallic silver interior red ceramic mug designed for holding hot drinks", + "fits comfortably in one hand C-shaped handle red ceramic mug", + "standard coffee mug red ceramic mug used for holding hot drinks", + "cylindrical body everyday mug ideal for keeping beverages warm", + "glossy red exterior fits comfortably in one hand wide open rim red ceramic mug", + "drinking coffee or tea use of red ceramic mug", + "smooth reflective surface red ceramic mug", + "smooth reflective surface wide open rim object used for drinking coffee or tea", + "red ceramic mug primarily used for drinking coffee or tea", + "everyday mug commonly used for holding hot drinks", + "red ceramic mug with shiny gray handle color", + "smooth reflective surface glossy red exterior everyday mug", + "coffee mug with cylindrical body profile", + "cylindrical body object made of smooth reflective surface", + "holds about 12 ounces metallic silver interior smooth reflective surface coffee mug", + "cylindrical body everyday mug for drinking coffee or tea", + "glossy red exterior object used for drinking coffee or tea", + "metallic silver interior coffee mug used for holding hot drinks", + "C-shaped handle everyday mug for keeping beverages warm", + "fits comfortably in one hand C-shaped handle coffee mug for keeping beverages warm", + "wide open rim object made of smooth reflective surface", + "shiny gray handle everyday mug typically used for keeping beverages warm", + "coffee mug designed for drinking coffee or tea", + "everyday mug made of smooth reflective surface", + "coffee mug intended for holding hot drinks", + "everyday mug sized as fits comfortably in one hand", + "metallic silver interior fits comfortably in one hand wide open rim coffee mug", + "coffee mug in C-shaped handle form", + "coffee mug for drinking coffee or tea with ceramic with glossy glaze", + "holds about 12 ounces glossy red exterior smooth reflective surface cylindrical body object", + "C-shaped handle ceramic with glossy glaze object for drinking coffee or tea", + "standard coffee mug cylindrical body everyday mug for keeping beverages warm", + "everyday mug suitable for keeping beverages warm", + "red ceramic mug designed for keeping beverages warm", + "holds about 12 ounces smooth reflective surface coffee mug for holding hot drinks", + "standard coffee mug object used for holding hot drinks", + "red ceramic mug appropriate for holding hot drinks use", + "red ceramic mug for holding hot drinks use", + "coffee mug with standard coffee mug dimensions", + "red ceramic mug in fits comfortably in one hand", + "holds about 12 ounces red ceramic mug used for keeping beverages warm", + "fits comfortably in one hand metallic silver interior wide open rim for keeping beverages warm", + "coffee mug built from ceramic with glossy glaze", + "standard coffee mug wide open rim object for drinking coffee or tea", + "holds about 12 ounces everyday mug used for drinking coffee or tea", + "coffee mug commonly found in standard coffee mug size", + "shiny gray handle red ceramic mug used for keeping beverages warm", + "coffee mug for holding hot drinks with smooth reflective surface", + "smooth reflective surface everyday mug", + "C-shaped handle fits comfortably in one hand everyday mug", + "everyday mug sized standard coffee mug", + "coffee mug for drinking coffee or tea use", + "C-shaped handle smooth reflective surface red ceramic mug for keeping beverages warm", + "holds about 12 ounces glossy red exterior smooth reflective surface C-shaped handle object", + "glossy red exterior object used for keeping beverages warm", + "red ceramic mug featuring wide open rim shape", + "red ceramic mug in metallic silver interior", + "red ceramic mug appropriate for keeping beverages warm", + "coffee mug commonly used for keeping beverages warm", + "everyday mug with glossy red exterior color", + "everyday mug for drinking coffee or tea activities", + "coffee mug for holding hot drinks", + "coffee mug designed for keeping beverages warm", + "cylindrical body object used for keeping beverages warm", + "standard coffee mug coffee mug perfect for holding hot drinks", + "standard coffee mug smooth reflective surface C-shaped handle for drinking coffee or tea", + "fits comfortably in one hand shiny gray handle ceramic with glossy glaze cylindrical body object", + "holds about 12 ounces cylindrical body coffee mug", + "everyday mug built from ceramic with glossy glaze", + "red ceramic mug colored shiny gray handle", + "ceramic with glossy glaze red ceramic mug for holding hot drinks", + "shiny gray handle C-shaped handle coffee mug", + "smooth reflective surface object used for holding hot drinks", + "red ceramic mug in holds about 12 ounces", + "fits comfortably in one hand shiny gray handle wide open rim for keeping beverages warm", + "C-shaped handle-shaped red ceramic mug", + "fits comfortably in one hand shiny gray handle ceramic with glossy glaze coffee mug", + "coffee mug commonly featuring smooth reflective surface", + "everyday mug with shiny gray handle exterior", + "everyday mug intended for drinking coffee or tea" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00016/grasps/proposal.json b/Objects/RoboDojo/Rigid/mug/00016/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..a6fb40afd9a073c88f4281cf5cfe9ba63d9314a6 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00016/grasps/proposal.json @@ -0,0 +1,1205 @@ +{ + "uuid": "1e714059-d38d-42a0-9d93-ddf95cad3739", + "grasp": [ + [ + [ + 0.1439681985674668, + -0.019508534382810812, + 0.00462369280793375, + 0.45751768404424953, + 0.4314502663838535, + -0.5534732448638072, + -0.5460728922442643 + ], + 0.9400510191917419 + ], + [ + [ + 0.1392553785143662, + -0.006647181968918065, + -0.003599803162080733, + 0.48276759238030836, + 0.4840865226000871, + -0.5000739393187097, + -0.5315277467814292 + ], + 0.9395984411239624 + ], + [ + [ + 0.13251905527694707, + -0.0027269290683474335, + 0.07394992685802883, + 0.35241402820350104, + -0.6092628827400063, + -0.6043316168106391, + 0.37334486652927 + ], + 0.9374403357505798 + ], + [ + [ + 0.1138325521050263, + 0.015173698503742, + 0.07970912880190319, + 0.2759402672765511, + -0.5815829468052732, + -0.6583667030174114, + 0.39009169337301164 + ], + 0.9342246055603027 + ], + [ + [ + 0.1411578842697907, + -0.01587319121860526, + 0.011742613603553238, + 0.4503783231492793, + 0.46645933850252397, + -0.5247772945785325, + -0.5515286417366441 + ], + 0.9339934587478638 + ], + [ + [ + 0.12733289983852392, + -0.0005057565092723762, + 0.06356853372343486, + 0.3468938084696443, + -0.6024012050716546, + -0.6173514704967881, + 0.36831323034761715 + ], + 0.9328327775001526 + ], + [ + [ + 0.14420278754814153, + -0.0063366790225412644, + 0.03620140380152172, + 0.48808964237433766, + -0.5105918274737434, + -0.5728717824078181, + 0.41579130299322486 + ], + 0.932708203792572 + ], + [ + [ + 0.13959627237899785, + -0.0038861793389227185, + -0.0028085817124634364, + 0.5307840462720922, + -0.474619439685765, + -0.48475044428231295, + 0.5079583550484192 + ], + 0.9296336770057678 + ], + [ + [ + 0.11939753976448064, + 0.020851432074079294, + 0.07755209631212658, + 0.2744242415241499, + -0.5401503382900301, + -0.6869962159703519, + 0.4012046198032605 + ], + 0.9257202744483948 + ], + [ + [ + 0.1399379113016892, + -0.0034281029754932913, + -0.0009962978314548114, + 0.5468750591678554, + -0.45996931675310637, + -0.469863756667818, + 0.5182508538110101 + ], + 0.9256935119628906 + ], + [ + [ + 0.08319648739679342, + 0.0031964636484477726, + 0.11769919223078197, + 0.16854976243384362, + -0.6455527768834123, + -0.7175673417272288, + 0.19987421026267754 + ], + 0.9233101606369019 + ], + [ + [ + 0.14966857817752843, + -0.011206105623176315, + -0.01267989506087595, + 0.5601047135951863, + -0.48312539650281494, + -0.430096682031448, + 0.5175803369217111 + ], + 0.9228256344795227 + ], + [ + [ + 0.13779765751941686, + 0.017049031991729517, + -0.011178776296594677, + 0.5513394814952695, + 0.537236446562175, + -0.43650089372781853, + -0.4656916859947042 + ], + 0.9222055673599243 + ], + [ + [ + 0.07853987452371602, + 0.0021939065384063926, + 0.11718668914326137, + 0.2123799804798449, + 0.6888288145540239, + -0.6749546363143699, + -0.1576256547939333 + ], + 0.9197719693183899 + ], + [ + [ + 0.11335051444156652, + 0.02486684984363057, + 0.09123449898251003, + 0.20732078852483352, + -0.6130866380106046, + -0.6449015638964591, + 0.40650318304067 + ], + 0.9186581969261169 + ], + [ + [ + 0.13718143489940648, + -0.024263621579637747, + -0.04570335396639401, + 0.6620478807133715, + -0.43200626948863075, + -0.3542529922143369, + 0.49956781749091805 + ], + 0.9150310158729553 + ], + [ + [ + 0.15200774756057744, + 0.005206144143113872, + 0.005207924497506084, + 0.4625525349240118, + -0.4868651026942775, + -0.4978454041494479, + 0.5487781680981254 + ], + 0.9109981656074524 + ], + [ + [ + -0.06697843584434504, + 0.010748619873294613, + 0.11552008367069667, + 0.1859750426146587, + 0.7497370030667904, + 0.6158604022363331, + 0.15499572482557417 + ], + 0.9089668989181519 + ], + [ + [ + 0.13288875308616643, + -0.0016628528635632192, + -0.0016278348870515207, + 0.49710144818006263, + -0.5068017801045689, + -0.48669474241011035, + 0.5090877464744973 + ], + 0.9087039828300476 + ], + [ + [ + -0.07945307704822535, + 0.019389415819415827, + 0.1128286582876057, + 0.20832370275314635, + 0.7717487041047026, + 0.578639751181939, + 0.1618060905406062 + ], + 0.903798520565033 + ], + [ + [ + -0.018598254185332005, + -0.0026572838348951134, + 0.12125034010895198, + 0.02928533935576542, + -0.7403670882276847, + -0.6715594887477272, + -0.0026070368177432326 + ], + 0.9023414254188538 + ], + [ + [ + 0.10664791998250966, + 0.0018731936190594042, + 0.07462244606502956, + 0.3113029556704978, + -0.6356348469995653, + -0.6358068179135836, + 0.3079098916326898 + ], + 0.8999977111816406 + ], + [ + [ + 0.09894809511287694, + -0.03367450394832156, + 0.09505622214563793, + 0.3264478757771027, + -0.6774366534782709, + -0.6494825499699246, + 0.11262229889921142 + ], + 0.8990982174873352 + ], + [ + [ + -0.07359913724677081, + 0.007278560389051219, + 0.11407897747047847, + 0.1726408473244851, + -0.6115927628377893, + 0.744724758396344, + -0.20380006013500154 + ], + 0.8978510499000549 + ], + [ + [ + 0.1401084252892304, + 0.03487574375070073, + 0.02459215498455471, + 0.5665668055194353, + 0.5882508830275633, + -0.4266203865543027, + -0.38853313793942 + ], + 0.8970078229904175 + ], + [ + [ + 0.12510455039127355, + 0.0071979832912180625, + 0.042463736002525745, + 0.4412919962103937, + 0.5919573475476378, + -0.5620098358023439, + -0.37281740467209074 + ], + 0.8957352638244629 + ], + [ + [ + 0.12711602833850866, + -0.012628808889320114, + -0.07021377109996373, + 0.6609409083898434, + 0.27654102284589677, + -0.4405146487638175, + -0.5409519595348966 + ], + 0.8955658078193665 + ], + [ + [ + 0.10859464493377691, + -0.026086475040545683, + -0.08023047321549946, + 0.6665337522091737, + -0.41060882839299406, + -0.2541238696866137, + 0.5679385583557375 + ], + 0.8861419558525085 + ], + [ + [ + -0.014016442871348952, + 3.0603599254047404e-05, + 0.11932507282980388, + 0.002255155346107318, + -0.6759592897756924, + 0.7368504080933018, + 0.011199505928461943 + ], + 0.883734941482544 + ], + [ + [ + -0.1138719430865478, + -0.01782713950776122, + 0.07882930464037365, + 0.3921710822595049, + -0.6495853085931586, + 0.5726016803400419, + -0.31043209365511787 + ], + 0.8820881247520447 + ], + [ + [ + -0.011971544704562073, + -0.00014807401273026513, + 0.11936155087240642, + 0.010097257103137698, + -0.7950441771823727, + -0.606461059579505, + -0.0027901507308982646 + ], + 0.8818140625953674 + ], + [ + [ + 0.12350234773738866, + -0.03854787283741496, + 0.06469141072519725, + 0.29070131003879723, + 0.44389914807730635, + -0.7320265721090656, + -0.4272977795451545 + ], + 0.881668746471405 + ], + [ + [ + 0.0755114370284844, + -0.02970444158815406, + -0.1113645943354755, + 0.6387919261723789, + 0.05595632954348128, + -0.1915806508910346, + -0.7430414648222339 + ], + 0.8814790844917297 + ], + [ + [ + 0.14188290026767736, + 0.023023341510662813, + -0.038800964738050045, + 0.63867664471734, + 0.47153475681819146, + -0.40249072591553703, + -0.4557941774057594 + ], + 0.8807497024536133 + ], + [ + [ + -0.012606334462458287, + -0.00306789837010763, + 0.12032495564707225, + 0.0006902971149252594, + -0.7569519432016425, + -0.6533800772581685, + -0.01085144300359471 + ], + 0.879836916923523 + ], + [ + [ + 0.06643192109449392, + 0.0018736635877136195, + 0.10746327913292354, + 0.19604828935438165, + -0.6501060845497559, + -0.7090063295129712, + 0.19036063611773843 + ], + 0.8781524300575256 + ], + [ + [ + 0.0842154660521317, + -0.006273705318352202, + -0.09824892007819706, + 0.653558239808897, + 0.14875043262251317, + -0.17157652003648738, + -0.7220086105751652 + ], + 0.8772863745689392 + ], + [ + [ + 0.1249411740599442, + 0.031713773224720736, + -0.027360829199472008, + 0.48500689488279747, + -0.3265036092380235, + -0.483430675979274, + 0.6515047863161968 + ], + 0.8772016167640686 + ], + [ + [ + -0.026334150575263445, + -0.003775767322411755, + 0.11832053339966243, + 0.02373142960300774, + -0.6830321430473862, + -0.7299831569976912, + -0.005338662077324152 + ], + 0.8771758675575256 + ], + [ + [ + 0.10623799648864751, + 0.020321934212217112, + -0.08223864310494954, + 0.5425207896733277, + -0.2855822435465202, + -0.36923816296473366, + 0.6984104480558646 + ], + 0.8770458102226257 + ], + [ + [ + -0.1337456441225242, + 0.005325128052601596, + -0.0018265416387408355, + 0.5228015544519792, + 0.5120582232145322, + 0.4767738074147495, + 0.4869924509314431 + ], + 0.8752073049545288 + ], + [ + [ + -0.018318028070194666, + -0.0004726635913979207, + -0.126517495746532, + 0.6709253377677807, + -0.013068520126376125, + 0.01405961357353469, + -0.7412764209045498 + ], + 0.8703143000602722 + ], + [ + [ + 0.13015686359985357, + -0.04031341456972621, + 0.02864929414280361, + 0.38306886793572137, + 0.37913923825299894, + -0.6320605752142464, + -0.5567864129944415 + ], + 0.8696646690368652 + ], + [ + [ + -0.0017447367982696936, + -0.0021116657105889115, + -0.11561616384498173, + 0.6889847752404028, + 0.031134793952478982, + -0.03665452349414411, + -0.7231784357956796 + ], + 0.8696118593215942 + ], + [ + [ + 0.12451529887302404, + -0.010784494962325314, + 0.039834813540062367, + 0.3513625638027478, + -0.6546527570947199, + -0.5828635235455207, + 0.3290049077237934 + ], + 0.8688690066337585 + ], + [ + [ + 0.10712298390253072, + 0.020961030114660044, + -0.07085262113324696, + 0.6796885629646512, + 0.36963254312963, + -0.2597139558831276, + -0.5778787948645514 + ], + 0.8675714135169983 + ], + [ + [ + -0.05646239209191317, + 0.0019113842474613393, + 0.11835833764561123, + 0.15732454936894247, + 0.7311036346162024, + 0.6389745760795184, + 0.1801331528087965 + ], + 0.8673327565193176 + ], + [ + [ + -0.020436890304250662, + 0.0005125446379967088, + -0.12644933038465075, + 0.6651770761757189, + -0.014354677263362361, + 0.013153734134643269, + -0.7464317650323454 + ], + 0.8672318458557129 + ], + [ + [ + -0.11336479696647639, + -0.0048188835305776395, + 0.0830088791895718, + 0.3814416453379067, + -0.612287536101594, + 0.602149974012206, + -0.3420842778229494 + ], + 0.8670881390571594 + ], + [ + [ + 0.03817538183911329, + 0.00437226072720625, + 0.1322134224224896, + 0.03369833214110462, + 0.6661765331351214, + 0.7450323419443344, + -0.00024200809814631558 + ], + 0.8662367463111877 + ], + [ + [ + 0.10407347616537099, + -0.010955380547573784, + -0.0828096034478336, + 0.5849237248328009, + 0.3053972404953746, + -0.39275416660647755, + -0.6405785870904394 + ], + 0.8661739230155945 + ], + [ + [ + -0.11285842570678706, + 0.0005315842474661822, + -0.08744891607276493, + 0.6276802077631634, + 0.3575223589968158, + 0.3490663332903732, + 0.5969489212344368 + ], + 0.8660179376602173 + ], + [ + [ + 0.12627794232948308, + -0.028864850561847906, + 0.043021333729109226, + 0.38650757181297307, + -0.6956671886017728, + -0.5297287570299121, + 0.2933368432530925 + ], + 0.8645131587982178 + ], + [ + [ + -0.06708830955640788, + 0.009892466206321499, + 0.10803176588304943, + 0.1834528487483118, + 0.7491688525320322, + 0.6171243043509425, + 0.15571986277072228 + ], + 0.861822247505188 + ], + [ + [ + -0.012156297915777211, + -0.0036944535484220776, + 0.1263918367672772, + 0.017489296459467327, + -0.6807398285319239, + 0.7323163590831651, + 0.00040072291786270224 + ], + 0.8612838983535767 + ], + [ + [ + 0.10960801330192571, + -0.030735849674573164, + 0.06702364361771053, + 0.25420380452867625, + 0.5109091531364546, + -0.731772550006139, + -0.37264084325533864 + ], + 0.8610551953315735 + ], + [ + [ + 0.06532957044227605, + -0.037946424718728285, + -0.10846510403863484, + 0.6023206947953, + 0.033748334499509036, + -0.183064561849683, + -0.7762462217200155 + ], + 0.8603801131248474 + ], + [ + [ + 0.09555441525562292, + 0.03414989328778722, + 0.09594504660852855, + 0.18189312034967078, + -0.49557699855613624, + -0.783181084206768, + 0.32855094066561724 + ], + 0.8601967692375183 + ], + [ + [ + 0.06008680549247747, + -0.034906874682536344, + -0.11402766280881459, + 0.6034946835286049, + 0.03826936918514696, + -0.18574453633375987, + -0.7744860163728178 + ], + 0.8590656518936157 + ], + [ + [ + 0.11410907295330053, + -0.027831346999635916, + -0.08596617602817112, + 0.6000091219172671, + 0.2389885625880342, + -0.4330296808538392, + -0.6287756484373405 + ], + 0.8590561747550964 + ], + [ + [ + -0.06392962101118083, + -0.010435843180647114, + -0.11710043125859791, + 0.7120771008623854, + -0.20125540938330405, + 0.154325635518348, + -0.6546953954651258 + ], + 0.8588472008705139 + ], + [ + [ + 0.05783614900691991, + 0.00812077401972749, + -0.112593791122356, + 0.7017877404924018, + -0.13823795173412082, + -0.15708542083193167, + 0.6809613840424279 + ], + 0.8576055765151978 + ], + [ + [ + 0.035410858809785895, + 0.0006372247782852555, + 0.11332138753422207, + 0.2099902385393176, + -0.6467235608738717, + -0.7028083697639156, + 0.20907685409582394 + ], + 0.8569148182868958 + ], + [ + [ + -0.07316346454636569, + -0.0021774969452675375, + 0.11111372834928936, + 0.1844059748103645, + -0.6936269879941863, + 0.6676989990542529, + -0.19762106325566947 + ], + 0.856312096118927 + ], + [ + [ + -0.06909348058716769, + -0.007097889940967778, + -0.11615462475530201, + 0.711766963931612, + -0.20335940432734906, + 0.19071399317627835, + -0.6447177014275002 + ], + 0.8554404377937317 + ], + [ + [ + 0.04361382511241918, + 6.477175086876927e-05, + -0.12352221333495671, + 0.7208952839849418, + 0.1234921118377823, + -0.122533862121179, + -0.6708540381303391 + ], + 0.8544732928276062 + ], + [ + [ + -0.01441628217899615, + -0.0023607074206378254, + -0.12820580476037555, + 0.6444205362166929, + -0.0007491999378876065, + -0.0009141817551971965, + 0.7646703704691068 + ], + 0.8526297211647034 + ], + [ + [ + -0.10624880704299922, + 0.0058221441770289145, + 0.08585807806738323, + 0.351252910061023, + 0.6376346101616036, + 0.5988872452053872, + 0.33373277427910103 + ], + 0.8515032529830933 + ], + [ + [ + 0.12989852216823583, + -0.04935707458459399, + 0.014823885028442802, + 0.610287621298758, + -0.5875392516533019, + -0.4451796450222042, + 0.29010641274209376 + ], + 0.8514212369918823 + ], + [ + [ + 0.11915535119159704, + 0.03053561291492917, + -0.04276985921970898, + 0.7070277260104936, + 0.393710828965672, + -0.26928132881732336, + -0.522102618034013 + ], + 0.8501251339912415 + ], + [ + [ + -0.1150270065964889, + 0.0014304528788048828, + -0.0793969469617992, + 0.5929729988249023, + -0.3519741639581898, + 0.3709472833756068, + -0.6220091024468957 + ], + 0.8500685095787048 + ], + [ + [ + -0.06774624797718043, + -0.004829122956624249, + -0.11805313699952656, + 0.6906181731125502, + 0.16996988890110828, + 0.18562713174588197, + 0.6780113153874535 + ], + 0.8490114808082581 + ], + [ + [ + -0.11174026492254252, + -0.011219499904444435, + -0.07756756120435292, + 0.641839543574089, + -0.36917326083891316, + 0.3356571180690634, + -0.5823121180910967 + ], + 0.8489141464233398 + ], + [ + [ + -0.028506758503777926, + -0.0018140271229352748, + -0.1194566103171497, + 0.7165612468630808, + 0.0023954271401574875, + 0.004582986597331473, + 0.6975050090549115 + ], + 0.8481424450874329 + ], + [ + [ + -0.08152507606164927, + -0.010472539152732113, + -0.10122852646819645, + 0.7099511643332236, + -0.22335982807685775, + 0.19073529974395387, + -0.6400779459526482 + ], + 0.8473709225654602 + ], + [ + [ + 0.11274353054149633, + 0.021232153017291804, + 0.07317806160934871, + 0.2736064774452935, + -0.48855436341432584, + -0.7547616791764402, + 0.341743964300119 + ], + 0.846125066280365 + ], + [ + [ + -0.11468617233650202, + -0.0391896099706795, + -0.06482769423238331, + 0.6858051772399011, + -0.43936207169983144, + 0.2972470573069662, + -0.4982734347172538 + ], + 0.8457065224647522 + ], + [ + [ + 0.020919647186832483, + -0.01039317556821368, + 0.1304763195563168, + 0.17033508859595076, + -0.7327788212184642, + -0.6504243277219152, + 0.10473466796711806 + ], + 0.8443993926048279 + ], + [ + [ + 0.0594969579277802, + -0.01952629284166358, + -0.10877959304563099, + 0.6361857087264334, + 0.13311075091459612, + -0.18607816303402047, + -0.7368338952878608 + ], + 0.8432480692863464 + ], + [ + [ + -0.06857796001450533, + -0.020435438763132314, + 0.11513356245048946, + 0.13159363068905439, + 0.5859255149916782, + 0.7675880297921265, + 0.22401567749523907 + ], + 0.8419690132141113 + ], + [ + [ + -0.0621272100807857, + 0.013258859243461868, + 0.11267062402256435, + 0.1517668991307372, + -0.564526087494817, + 0.783061873559129, + -0.21234690260067826 + ], + 0.8407034277915955 + ], + [ + [ + 0.13004903879745489, + -0.04534443774425052, + -0.011410162458935318, + 0.6283275164321722, + -0.5426469551386002, + -0.2675395787263767, + 0.4890412947675253 + ], + 0.8400949239730835 + ], + [ + [ + -0.015512702169058864, + -0.0024845225659813675, + 0.12013546503075069, + 0.007020459305650596, + 0.7873373126221652, + 0.6164719057370205, + 0.003613688006891393 + ], + 0.839243471622467 + ], + [ + [ + 0.05444889155014043, + 0.029214990053543825, + 0.10860280818232006, + 0.14239709698350034, + -0.633820757714186, + -0.7066397491444998, + 0.28045423653474316 + ], + 0.836912214756012 + ], + [ + [ + -0.0621981768609714, + -0.00893390298985503, + 0.11174390590675777, + 0.1380099641661542, + 0.6605120771107446, + 0.7113867618064612, + 0.19648389478077882 + ], + 0.8363634347915649 + ], + [ + [ + 0.02319963660820013, + -0.014518473569085815, + -0.1165097417782932, + 0.7548738106418038, + -0.18581749074777226, + -0.12409066914456612, + 0.6166351400711593 + ], + 0.836321234703064 + ], + [ + [ + -0.12056760105506892, + 0.041190334324011584, + 0.03895233697184032, + 0.35120238160520384, + -0.44037951135659603, + 0.6382470152323864, + -0.5247509129854929 + ], + 0.834968090057373 + ], + [ + [ + -0.1135999521912765, + 0.017330241117844362, + -0.0667491170119434, + 0.551551489412284, + -0.3115025987127287, + 0.392281958952283, + -0.6669872189201738 + ], + 0.8334895968437195 + ], + [ + [ + 0.11650030699356084, + 0.027574591998228808, + -0.09235038482657963, + 0.7154234554775365, + 0.3720793420261169, + -0.2836092214887581, + -0.5189335719304864 + ], + 0.8333073258399963 + ], + [ + [ + -0.020084168642921393, + -0.0032574504537191185, + -0.12262084209434086, + 0.79008600503814, + 0.006326714332766209, + 0.0058623804808659585, + 0.6129353227084579 + ], + 0.8316580057144165 + ], + [ + [ + -0.008536926351649706, + 0.008279386636087677, + 0.13059639311321683, + 0.020364501641235058, + -0.6779977774039636, + -0.7344882829453457, + 0.02076687564820283 + ], + 0.8294863700866699 + ], + [ + [ + 0.12878747668846136, + -0.026460762407412748, + -0.07110673808566624, + 0.6202495105607797, + -0.4439671746368133, + -0.24867740048254994, + 0.5969449245812889 + ], + 0.8293587565422058 + ], + [ + [ + -0.07283732655660624, + 0.004952463515320798, + -0.12144584828130299, + 0.727779109838515, + 0.18619807502106003, + 0.18360454180171015, + 0.6340009592823145 + ], + 0.8285678625106812 + ], + [ + [ + -0.009644704286171143, + -0.0005162590921539759, + 0.136799776320538, + 0.008562146497276777, + -0.6751096399370253, + -0.7375572705052408, + -0.012764655746192026 + ], + 0.8279343843460083 + ], + [ + [ + 0.12555279222114568, + -0.04060340606771968, + 0.022654840116581382, + 0.3446488056376906, + 0.44261146467828083, + -0.5640574595992762, + -0.6059302553745527 + ], + 0.8257161974906921 + ], + [ + [ + -0.015122330395666902, + -0.003414351299187163, + -0.12732156985513263, + 0.8037878609150706, + 0.003661411536377317, + 0.003705571558009546, + 0.5948932151660201 + ], + 0.823718249797821 + ], + [ + [ + 0.08439164248092657, + 0.0157607930789087, + -0.08929092311374241, + 0.6410143091130125, + -0.1333998023817966, + -0.20706290693389084, + 0.7269319781169017 + ], + 0.8228626847267151 + ], + [ + [ + 0.0890709125695992, + -0.034335828657975416, + -0.10732391350976521, + 0.6825033585474962, + -0.267874030570567, + -0.07206115149506742, + 0.6761951343824297 + ], + 0.8218754529953003 + ], + [ + [ + 0.13199441519363408, + 0.04686312070883252, + 0.02621537572630352, + 0.5845421769172541, + 0.6271285737895063, + -0.3820646703187306, + -0.3450315681728505 + ], + 0.8214713931083679 + ], + [ + [ + -0.0160283885171395, + -0.002870202103411773, + -0.11234047883264119, + 0.7346253281127791, + 0.008207257822161782, + 0.001958275076222149, + 0.6784205431536976 + ], + 0.8187004923820496 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00016/metadata.json b/Objects/RoboDojo/Rigid/mug/00016/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..bc8e05fe6b44ab4ab99b7eca0adf178791d86918 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00016/metadata.json @@ -0,0 +1,189 @@ +{ + "uuid": "1e714059-d38d-42a0-9d93-ddf95cad3739", + "physics": { + "mass": 0.5, + "friction": 0.25, + "size": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ] + }, + "geometry": { + "faces": 328262, + "vertices": 213536, + "aligned_bbox": { + "vertices": [ + [ + -0.0514, + -0.0344, + -0.0381 + ], + [ + -0.0514, + -0.0344, + 0.0381 + ], + [ + -0.0514, + 0.0344, + -0.0381 + ], + [ + -0.0514, + 0.0344, + 0.0381 + ], + [ + 0.0513, + -0.0344, + -0.0381 + ], + [ + 0.0513, + -0.0344, + 0.0381 + ], + [ + 0.0513, + 0.0344, + -0.0381 + ], + [ + 0.0513, + 0.0344, + 0.0381 + ] + ], + "extents": [ + 0.1026, + 0.0688, + 0.0762 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0325, + -0.0458, + -0.0381 + ], + [ + 0.0535, + -0.003, + -0.0381 + ], + [ + -0.0325, + -0.0458, + 0.0381 + ], + [ + 0.0535, + -0.003, + 0.0381 + ], + [ + -0.063, + 0.0157, + -0.0381 + ], + [ + 0.0229, + 0.0584, + -0.0381 + ], + [ + -0.063, + 0.0157, + 0.0381 + ], + [ + 0.0229, + 0.0584, + 0.0381 + ] + ], + "extents": [ + 0.1165, + 0.1042, + 0.0762 + ] + }, + "radius": 0.07239692817249718, + "bbox": [ + 0.10236728127277431, + 0.06863090091260328, + 0.076 + ], + "center": [ + -5.624543230259413e-05, + 4.22639577514885e-05, + -1.8577563862063184e-09 + ] + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "projection_circle": { + "center": [ + -0.0001, + -0.0003, + -0.0381, + 1.0, + 0.0, + 0.0, + 0.0 + ], + "radius": 0.0514 + }, + "contact_circle": { + "center": [ + -0.0177, + 0.0001, + -0.0381, + 1.0, + 0.0, + 0.0, + 0.0 + ], + "radius": 0.0339 + } + } + }, + "functional": { + "handle": { + "frame": [ + [ + 0.045, + 0.0, + -0.0, + 0.5000000000000001, + 0.5, + 0.4999999999999999, + 0.5 + ], + [ + 0.045, + 0.0, + -0.0, + 0.49999999999999994, + -0.49999999999999994, + 0.5000000000000001, + -0.49999999999999994 + ] + ] + } + } + }, + "passive": { + "functional": {}, + "support": {} + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00017/description.json b/Objects/RoboDojo/Rigid/mug/00017/description.json new file mode 100644 index 0000000000000000000000000000000000000000..2c367f91255434b2f6c1b7768a96896a651e10d8 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00017/description.json @@ -0,0 +1,136 @@ +{ + "uuid": "48281f40-6c52-4837-ba39-ec7f50d9a98f", + "caption": { + "color": [ + "mint green to lavender gradient", + "teal owl print", + "glossy finish" + ], + "material": [ + "ceramic", + "glazed porcelain" + ], + "size": [ + "standard coffee mug", + "holds about 12 ounces", + "fits in one hand" + ], + "name": [ + "coffee mug", + "owl mug", + "gradient mug" + ], + "shape": [ + "cylindrical body", + "C-shaped handle", + "wide rim" + ], + "function": [ + "holding hot drinks", + "sipping coffee or tea", + "displaying cute owl design" + ] + }, + "description": [ + "glazed porcelain object for displaying cute owl design", + "standard coffee mug teal owl print C-shaped handle for holding hot drinks", + "owl mug intended for displaying cute owl design usage", + "holds about 12 ounces glazed porcelain object", + "coffee mug used to holding hot drinks", + "coffee mug with wide rim profile", + "holds about 12 ounces glazed porcelain cylindrical body for sipping coffee or tea", + "gradient mug made of ceramic", + "teal owl print gradient mug for displaying cute owl design", + "coffee mug appropriate for holding hot drinks use", + "owl mug commonly used for displaying cute owl design", + "glazed porcelain gradient mug used for sipping coffee or tea", + "owl mug featuring wide rim shape", + "ceramic object for holding hot drinks", + "teal owl print ceramic owl mug", + "owl mug with glazed porcelain construction", + "standard coffee mug mint green to lavender gradient ceramic C-shaped handle object", + "holding hot drinks with owl mug", + "standard coffee mug mint green to lavender gradient cylindrical body object", + "wide rim glazed porcelain gradient mug for holding hot drinks", + "owl mug built from glazed porcelain", + "fits in one hand mint green to lavender gradient object for displaying cute owl design", + "gradient mug colored mint green to lavender gradient", + "holds about 12 ounces coffee mug perfect for holding hot drinks", + "owl mug in standard coffee mug", + "mint green to lavender gradient cylindrical body gradient mug used for displaying cute owl design", + "glazed porcelain mint green to lavender gradient owl mug", + "fits in one hand cylindrical body object", + "coffee mug in glossy finish", + "ceramic C-shaped handle owl mug", + "fits in one hand teal owl print object for sipping coffee or tea", + "cylindrical body glazed porcelain owl mug for displaying cute owl design", + "mint green to lavender gradient owl mug for holding hot drinks", + "owl mug ideal for holding hot drinks", + "owl mug in C-shaped handle", + "gradient mug with standard coffee mug dimensions", + "owl mug in teal owl print", + "glazed porcelain coffee mug used for holding hot drinks", + "fits in one hand coffee mug for displaying cute owl design", + "ceramic wide rim coffee mug", + "fits in one hand ceramic object", + "glazed porcelain C-shaped handle for sipping coffee or tea", + "gradient mug suitable for sipping coffee or tea", + "cylindrical body gradient mug used for displaying cute owl design", + "coffee mug with glazed porcelain body", + "gradient mug in cylindrical body", + "coffee mug made from ceramic", + "coffee mug shaped like a C-shaped handle", + "owl mug intended for holding hot drinks usage", + "gradient mug with glazed porcelain construction", + "owl mug with cylindrical body geometry", + "coffee mug with holds about 12 ounces dimensions", + "standard coffee mug owl mug perfect for holding hot drinks", + "fits in one hand object used for displaying cute owl design", + "holds about 12 ounces teal owl print ceramic coffee mug", + "coffee mug for displaying cute owl design scenarios", + "coffee mug with cylindrical body geometry", + "holds about 12 ounces mint green to lavender gradient ceramic C-shaped handle object", + "glossy finish object used for displaying cute owl design", + "ceramic C-shaped handle object used for holding hot drinks", + "glazed porcelain object for sipping coffee or tea", + "coffee mug in cylindrical body", + "teal owl print wide rim gradient mug", + "holds about 12 ounces gradient mug for displaying cute owl design", + "wide rim owl mug used for displaying cute owl design", + "mint green to lavender gradient glazed porcelain owl mug", + "coffee mug colored mint green to lavender gradient", + "fits in one hand gradient mug perfect for sipping coffee or tea", + "owl mug with ceramic body", + "teal owl print owl mug designed for displaying cute owl design", + "coffee mug suitable for displaying cute owl design", + "owl mug in C-shaped handle form", + "coffee mug optimized for holding hot drinks", + "coffee mug featuring glazed porcelain build", + "wide rim fits in one hand gradient mug", + "holds about 12 ounces teal owl print cylindrical body object", + "holds about 12 ounces ceramic gradient mug for sipping coffee or tea", + "glossy finish fits in one hand ceramic object", + "owl mug featuring ceramic build", + "mint green to lavender gradient gradient mug typically used for sipping coffee or tea", + "owl mug shaped like a C-shaped handle", + "teal owl print owl mug designed for holding hot drinks", + "gradient mug featuring wide rim shape", + "holds about 12 ounces teal owl print object for sipping coffee or tea", + "gradient mug made of glazed porcelain", + "wide rim object used for sipping coffee or tea", + "coffee mug in wide rim form", + "mint green to lavender gradient holds about 12 ounces glazed porcelain object", + "C-shaped handle glazed porcelain gradient mug for holding hot drinks", + "gradient mug with teal owl print color", + "teal owl print gradient mug designed for holding hot drinks", + "gradient mug in C-shaped handle", + "teal owl print object used for holding hot drinks", + "glossy finish cylindrical body object for holding hot drinks", + "coffee mug featuring C-shaped handle shape", + "C-shaped handle ceramic owl mug for displaying cute owl design", + "teal owl print wide rim owl mug", + "mint green to lavender gradient cylindrical body gradient mug", + "wide rim ceramic owl mug for displaying cute owl design", + "glossy finish glazed porcelain owl mug" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00017/grasps/proposal.json b/Objects/RoboDojo/Rigid/mug/00017/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..5da398bffb12132b2028346b5990823f6b641f29 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00017/grasps/proposal.json @@ -0,0 +1,1205 @@ +{ + "uuid": "48281f40-6c52-4837-ba39-ec7f50d9a98f", + "grasp": [ + [ + [ + -0.048442692160193285, + 0.03153802247511312, + 0.13579442596333693, + 0.010352382139350679, + 0.4777802104533378, + 0.8783652479146491, + 0.00966384701052044 + ], + 0.941239595413208 + ], + [ + [ + -0.07537907049018558, + 0.004416288135369267, + 0.11959453916447829, + 0.09682275578328038, + 0.279045138881633, + 0.9420818233980541, + 0.1588741717588468 + ], + 0.9390926957130432 + ], + [ + [ + -0.06214517041999515, + 0.02315072880851194, + 0.1286897162188835, + 0.0158549614947208, + 0.23134305226428012, + 0.9726612235747847, + -0.01261572507035818 + ], + 0.9364844560623169 + ], + [ + [ + -0.09388535529333766, + 0.006603925747592892, + 0.12192631757157515, + 0.1799306345203023, + 0.3558467771028521, + 0.897832596748487, + 0.1868011407955068 + ], + 0.9352881908416748 + ], + [ + [ + -0.06363728702027019, + 0.04602528529035017, + 0.12584562098878097, + 0.19909950428517445, + 0.5584723931409278, + 0.7995034485509699, + 0.09624037223509545 + ], + 0.9351176023483276 + ], + [ + [ + -0.048446667044941744, + 0.030278492511977402, + 0.1275094399442024, + 0.008537979471494263, + 0.4600778548892671, + 0.8871926359550142, + 0.03383337190154612 + ], + 0.9302202463150024 + ], + [ + [ + -0.055876505225483736, + 0.036403408067096917, + 0.13935213780301284, + 0.03708711472099761, + 0.4249117079749138, + 0.9044354567037798, + -0.008431548169722627 + ], + 0.9297783374786377 + ], + [ + [ + -0.06511936396319087, + 0.007552889900078024, + 0.12941304838555526, + 0.04045307440757443, + -0.06397383641745964, + 0.991963024972661, + -0.10139158797501645 + ], + 0.9220767617225647 + ], + [ + [ + 0.04669199824374501, + -0.03650907634032801, + 0.12083567178147506, + 0.23738378249335737, + 0.7321875859155388, + -0.6054670031583422, + -0.2023857379529944 + ], + 0.9182645082473755 + ], + [ + [ + -0.08250542789656337, + 0.022487586157192437, + 0.1298590848435707, + 0.16644278177764837, + 0.4556785912784083, + 0.8557935047793767, + 0.17964214155390962 + ], + 0.9168061017990112 + ], + [ + [ + 0.0891196870807964, + -0.003908874441142235, + 0.10455785936015319, + 0.3101316684812815, + 0.7872607327182594, + -0.4698087381832955, + -0.25163194640495457 + ], + 0.9129632711410522 + ], + [ + [ + -0.0642345404620808, + 0.008662599863280501, + 0.11391671246188353, + 0.03883131982057281, + 0.23804674423314942, + 0.9689692010218826, + 0.05407923475794016 + ], + 0.910270631313324 + ], + [ + [ + -0.0521532042320412, + 0.02811773286925718, + 0.12713346874612044, + 0.00755870685344244, + -0.1514867104686397, + -0.9843953803807424, + 0.08922094814082566 + ], + 0.9097355604171753 + ], + [ + [ + -0.07969990432221111, + -0.025438595770130905, + 0.12080281472104262, + 0.17045347785370701, + -0.5256492012314002, + 0.8001725364803722, + -0.23315754543856093 + ], + 0.9012072086334229 + ], + [ + [ + -0.063033685683791, + 0.03842507468329832, + 0.12409601604836654, + 0.022940249443906238, + 0.04079427399906807, + 0.9701739260360267, + -0.23784895502016054 + ], + 0.9009522795677185 + ], + [ + [ + -0.0414806591715258, + 0.04600402878390714, + 0.12407032644646834, + 0.12125686966278267, + 0.6550150788237662, + 0.7385938937349438, + 0.10359091760638572 + ], + 0.899819552898407 + ], + [ + [ + -0.039385319351736864, + 0.03490382598506376, + 0.13191280758279036, + 0.006681944855125698, + -0.29911831138450895, + -0.9539250398543404, + 0.022596587050416367 + ], + 0.899124801158905 + ], + [ + [ + -0.008843905422423439, + 0.051917606757749764, + 0.12210902070897292, + 0.14946175161605765, + -0.4708917666975126, + -0.845662282648396, + 0.2019342283176866 + ], + 0.8979842662811279 + ], + [ + [ + -0.06253296196419414, + -0.04558392076028422, + 0.1219789931763954, + 0.04144120379583341, + 0.07015260715472979, + 0.9676205344615729, + 0.23889692259559608 + ], + 0.8970581889152527 + ], + [ + [ + -0.08314467281061824, + -0.014106890393625055, + 0.12331395840542983, + 0.2067758843842541, + -0.2715266352692561, + 0.9310020718173206, + -0.12943014427992594 + ], + 0.8943859934806824 + ], + [ + [ + 0.01574052251916711, + -0.07773995233906345, + 0.11592381691830825, + 0.10916778857563378, + -0.47394769773326056, + -0.8391902589391895, + -0.2433427275519514 + ], + 0.8935716152191162 + ], + [ + [ + -0.03267027124721225, + 0.06309514658318921, + 0.12597842013734054, + 0.2370657042800455, + 0.7770420099869543, + 0.5755593623638524, + 0.09347185119037725 + ], + 0.8902260661125183 + ], + [ + [ + -0.01725494059692736, + -0.10586067868603305, + 0.1029069820632286, + 0.357925773774824, + -0.6737735852886219, + 0.6237937779608248, + 0.16970450439623064 + ], + 0.8895583152770996 + ], + [ + [ + 0.004964675158675356, + 0.05250120701061651, + 0.11787314212220382, + 0.17002931598450574, + -0.5951084527864418, + -0.7606032751000211, + 0.196006681098095 + ], + 0.8886820077896118 + ], + [ + [ + -0.038511450066749414, + -0.06640606953037814, + 0.1305081794251747, + 0.013387477432150722, + 0.147840868027993, + -0.9547899669170699, + -0.2575654717993752 + ], + 0.8866018056869507 + ], + [ + [ + -0.011141791836876826, + -0.07484446300400333, + 0.12754523253339003, + 0.2484958813470998, + -0.9075285890557743, + 0.33034424714180904, + -0.07425857108963976 + ], + 0.8864467740058899 + ], + [ + [ + 0.004086953923519297, + 0.041208086328376976, + 0.1382126460065193, + 0.038704811740628585, + 0.5010363033535651, + -0.8645533394989147, + 0.0034761230114980102 + ], + 0.885875940322876 + ], + [ + [ + -0.048919447362009844, + 0.03261233659254476, + 0.1332675764550514, + 0.0873519881324506, + 0.9891929550858612, + -0.1175696841657159, + -0.006655609888154605 + ], + 0.8842480778694153 + ], + [ + [ + 0.05987055540126149, + 0.016287529634107796, + 0.11222470050948333, + 0.23200677654420318, + -0.8183637769899319, + -0.4916179532191778, + 0.18645474577207127 + ], + 0.8839110136032104 + ], + [ + [ + -0.0638552351291817, + -0.04050724787844256, + 0.12716882920163344, + 0.20061943561739687, + -0.6291377829119548, + 0.7293425479484179, + -0.17887688480431804 + ], + 0.8835424184799194 + ], + [ + [ + 0.03462576061528508, + 0.024954722987283913, + 0.12537887191670608, + 0.1952676061138356, + -0.7810573464521661, + -0.576541995350267, + 0.13935318852902656 + ], + 0.8801693320274353 + ], + [ + [ + -0.075427953749482, + -0.001744538054074202, + 0.1173914471854515, + 0.23212272158631314, + -0.8873457717676868, + 0.38211860095825195, + -0.11279139262851279 + ], + 0.878150224685669 + ], + [ + [ + 0.006903036833222551, + 0.043722422586549965, + 0.13062218820946883, + 0.175047885750123, + 0.9284103392934359, + 0.3214266888265819, + 0.06401064987515036 + ], + 0.8777135610580444 + ], + [ + [ + 0.04117224305909459, + -0.03580964936150149, + 0.1256399104584999, + 0.17369741715100415, + -0.6449605203479725, + -0.7110326904374005, + 0.2197445052712221 + ], + 0.8774261474609375 + ], + [ + [ + -0.054303397088829836, + 0.00112809639217421, + 0.12046181654828261, + 0.0006677348190302049, + -0.044128979579479616, + 0.9990122922993168, + -0.005160147900083011 + ], + 0.876846969127655 + ], + [ + [ + 0.00979227885645215, + -0.06738769842518405, + 0.13129466271298598, + 0.2466823132228856, + -0.915999015372035, + 0.31572461390827455, + -0.020288133303468715 + ], + 0.8768422603607178 + ], + [ + [ + 0.0270556578044254, + 0.04899858476387426, + 0.12414985394375991, + 0.1668331535011527, + -0.5937605316451782, + -0.7588547520133554, + 0.20917599121324978 + ], + 0.8763516545295715 + ], + [ + [ + -0.05651147723156627, + 0.014095865914394106, + 0.1204727540005989, + 0.02973614058642772, + 0.990531702504297, + -0.13400144433902103, + 0.002514198086741184 + ], + 0.8752801418304443 + ], + [ + [ + 0.10499557793181721, + 0.027561625258793084, + -0.0890631353269272, + 0.6884407826144419, + 0.29504201562471344, + -0.16057131925467638, + -0.6428190641869096 + ], + 0.8722944259643555 + ], + [ + [ + 0.08966341555159871, + 0.008781244771351065, + 0.11284561699526977, + 0.25070207418261864, + 0.805122499948661, + -0.5145446331720147, + -0.1554672008843931 + ], + 0.8707447052001953 + ], + [ + [ + -0.025047101676050978, + 0.04775893853770658, + 0.11662361270087432, + 0.07943307278518853, + -0.33474255101394035, + -0.915569638567364, + 0.20825476806596546 + ], + 0.8695728182792664 + ], + [ + [ + -0.058443811386410555, + 0.004088985061068978, + 0.13900859153168868, + 0.003513165787425719, + -0.09669693840613466, + 0.994137806830625, + -0.048242935223989106 + ], + 0.8695506453514099 + ], + [ + [ + -0.003003069795255022, + 0.050707122104038445, + 0.130135456680233, + 0.21409726818416985, + 0.9156544431274569, + 0.3319350739688874, + 0.07455472625053092 + ], + 0.8672946095466614 + ], + [ + [ + -0.03168809659737762, + 0.03909510167108938, + 0.13109763955968093, + 0.028414791287303898, + 0.682243570233575, + 0.7292753347251563, + 0.043517774214164584 + ], + 0.8672183156013489 + ], + [ + [ + -0.08212473303038295, + -0.06697167290581302, + 0.12603233253853988, + 0.30055677137785736, + -0.6829989907586625, + 0.6595424622718181, + -0.09045300582066916 + ], + 0.8666301369667053 + ], + [ + [ + -0.04380505219060596, + 0.04705110357867643, + 0.12674980854886245, + 0.19946384475841786, + 0.7354183261026896, + 0.6318189993136561, + 0.1420521466673351 + ], + 0.8630051612854004 + ], + [ + [ + -0.08448569536167796, + -0.031865066124330314, + 0.12257945036786269, + 0.23278660685115504, + -0.597308891203919, + 0.73952557117065, + -0.20526668931951486 + ], + 0.8612467646598816 + ], + [ + [ + 0.1370918595794994, + 0.0012166983473868628, + 0.05266828334229659, + 0.3673777188799423, + 0.5881066834804559, + -0.6199754380467242, + -0.3671438365749333 + ], + 0.8603470325469971 + ], + [ + [ + 0.03547016471665684, + 0.039295969323982445, + 0.1253371635665245, + 0.2041607046659316, + -0.7108224871424537, + -0.6494683516630948, + 0.1767502719402412 + ], + 0.8587100505828857 + ], + [ + [ + -0.11340111553627666, + -0.06602660400999621, + 0.08382237946885299, + 0.5242819291875944, + -0.49991246237015485, + 0.6695909489749379, + -0.16390225668118613 + ], + 0.8581809401512146 + ], + [ + [ + 0.04033859387081448, + -0.011096808335016523, + 0.11371008551018905, + 0.23609678704469306, + 0.8586446455526309, + -0.43739064444943887, + -0.12520824237674905 + ], + 0.8570756316184998 + ], + [ + [ + -0.0764519876237553, + 0.024128002838958947, + 0.12454701459305953, + 0.23699479303692061, + -0.7902554033938497, + 0.5450443480244089, + -0.1491862063558759 + ], + 0.8563084006309509 + ], + [ + [ + -0.029166831299249487, + -0.06307533217800693, + 0.12036267912285994, + 0.21013336901983745, + -0.8676737281211842, + 0.42232008753136185, + -0.15694589010280344 + ], + 0.8542734980583191 + ], + [ + [ + 0.04062020346563641, + 0.012670328633655753, + 0.11799095070260238, + 0.25424661125499176, + 0.9302375625367458, + -0.25449966147647557, + -0.07243383338886662 + ], + 0.8538326621055603 + ], + [ + [ + -0.026765310801152544, + 0.05559459494220182, + 0.1287391284694023, + 0.2247188312135224, + 0.8720798387565761, + 0.4243841064048085, + 0.0942142874691783 + ], + 0.8534186482429504 + ], + [ + [ + -0.07925781667191203, + -0.0050636317787869315, + 0.12198227143185805, + 0.12928170707405995, + -0.449652358831319, + 0.8465267379769367, + -0.25395172435636987 + ], + 0.8525688052177429 + ], + [ + [ + -0.024115752093080835, + 0.07542263136969968, + 0.12145599222081374, + 0.27486017380042993, + 0.8359311029945357, + 0.47243441336619596, + 0.04976746901415294 + ], + 0.852083683013916 + ], + [ + [ + 0.03631922170561139, + -0.032646095587144645, + 0.11780619120495986, + 0.17588738911383842, + -0.6046745654000204, + -0.7491680098991484, + 0.2053767008517829 + ], + 0.8517475128173828 + ], + [ + [ + 0.02843931630295102, + 0.032234949784149376, + 0.12778685486214827, + 0.17590931985149566, + 0.977669234762389, + 0.11497212980643282, + -0.0004335392503378255 + ], + 0.8512840867042542 + ], + [ + [ + 0.0439735384289581, + 0.025847477631439415, + 0.12057199573414992, + 0.1698150105088544, + 0.6518137966950722, + -0.7134635799015011, + -0.19305791047757384 + ], + 0.8498466610908508 + ], + [ + [ + -0.07877060830551799, + -0.04610874710811213, + 0.12571592128174972, + 0.21363423957468466, + -0.31518426559549007, + 0.9205947871952298, + 0.08674403836199694 + ], + 0.8484565019607544 + ], + [ + [ + 0.13407681822818104, + -0.00565079620314673, + 0.04632697126167487, + 0.41686319968574903, + -0.6096813406159732, + -0.5740865149600942, + 0.35346627702433286 + ], + 0.84732586145401 + ], + [ + [ + 0.01097703851800744, + 0.03477877171503469, + 0.12575771903889846, + 0.11916169190347271, + -0.7840249992457627, + -0.6041765311473521, + 0.07794877132538022 + ], + 0.8470416069030762 + ], + [ + [ + -0.06276205986696895, + 0.02815299274193212, + 0.1250784794081993, + 0.20804517175263518, + -0.8205620373465395, + 0.5187938280060697, + -0.11936546149921873 + ], + 0.8451093435287476 + ], + [ + [ + 0.046106796116049925, + -0.0008716821062555949, + 0.12464850640195083, + 0.2502403384798621, + 0.8550698358460991, + -0.43555337126498095, + -0.12856364028495293 + ], + 0.8441987633705139 + ], + [ + [ + -0.06998355001169856, + 0.0012747241675676365, + 0.12783722078698348, + 0.11326861447573722, + -0.39012661578879043, + 0.8798222276804417, + -0.2467474261413017 + ], + 0.8421378135681152 + ], + [ + [ + 0.10141298860352818, + -0.00011771452732528028, + 0.10275967663424682, + 0.2972436511667941, + -0.6872893913572984, + -0.6107302499648883, + 0.2574646891256607 + ], + 0.8411572575569153 + ], + [ + [ + -0.06605267211753543, + -0.03694218604100779, + 0.1307588616599388, + 0.17381327399793914, + -0.6704761880626229, + 0.695332788596839, + -0.19173664262543844 + ], + 0.8406946659088135 + ], + [ + [ + -0.019041952341381865, + -0.07367900593412952, + 0.11372080689566802, + 0.23797482172390638, + -0.7979485264009409, + -0.5530882337013191, + -0.027194469680381694 + ], + 0.8384504914283752 + ], + [ + [ + -0.048526492565457185, + 0.05169720368253156, + 0.12327618396180343, + 0.21319532838942787, + 0.7483843073602664, + 0.6099651872181999, + 0.14970354315006992 + ], + 0.836787223815918 + ], + [ + [ + 0.14242960453074757, + 0.007826301993598189, + -0.002927610303362499, + 0.5346338021828522, + 0.47733855225467264, + -0.45144195543237053, + -0.5315211801709482 + ], + 0.8356566429138184 + ], + [ + [ + -0.03537551745731052, + -0.07544025613201694, + 0.12196574604409408, + 0.2521494023163032, + -0.8695410974822791, + 0.40548999062111174, + -0.1260826165929908 + ], + 0.8335495591163635 + ], + [ + [ + -0.050846964716498216, + -0.02842625623775557, + 0.1302533695687599, + 0.031730766820772846, + -0.9760017907503729, + -0.21512576988520923, + -0.011600259493954311 + ], + 0.8315370082855225 + ], + [ + [ + 0.13184319376986806, + 0.009087271781434264, + -0.058655397386377345, + 0.6245947735534162, + -0.33517346115739705, + -0.3664835968179515, + 0.6026855673142544 + ], + 0.8302098512649536 + ], + [ + [ + 0.12145662248175923, + 0.024234484674205033, + -0.06147588545185853, + 0.68522674388476, + 0.374507947091781, + -0.28313390116119974, + -0.5568153204101245 + ], + 0.8275888562202454 + ], + [ + [ + -0.04786568194586452, + 0.048472484366764275, + 0.12810663378136825, + 0.2369461824998855, + 0.9657695380759332, + -0.10337421370565064, + -0.02143543477674548 + ], + 0.8255000114440918 + ], + [ + [ + -0.04063362315255817, + -0.06784611029757098, + 0.12836026644604873, + 0.23386327868118797, + -0.896033153898108, + -0.3763479261275358, + -0.028192064475621614 + ], + 0.8254682421684265 + ], + [ + [ + -0.0770114815231007, + -0.058713050766120704, + 0.11384793615239333, + 0.28523332395436674, + -0.6968762969249696, + 0.6340741299362239, + -0.17594139773147668 + ], + 0.8238344788551331 + ], + [ + [ + 0.12860105872195546, + 0.00957689413594171, + -0.06541637832028199, + 0.5337444278513958, + 0.3720844446953615, + -0.23666929687795635, + -0.7215661408828888 + ], + 0.823834240436554 + ], + [ + [ + 0.016888155937607927, + -0.04136445580257014, + 0.13630936539071273, + 0.09815250976123137, + -0.6556134419234239, + -0.7445824257079411, + 0.07832056513949952 + ], + 0.8222547173500061 + ], + [ + [ + -0.023646522908989744, + 0.09262567924128934, + 0.11880110448497008, + 0.3442954109209925, + 0.7600635424681222, + 0.5487845635127881, + -0.050986118499378494 + ], + 0.8213666677474976 + ], + [ + [ + 0.023253160864527864, + 0.08641851113902493, + 0.10688220208781432, + 0.37997598672073196, + 0.8108876363490418, + 0.4221353396747326, + -0.14100087137875414 + ], + 0.8212317228317261 + ], + [ + [ + -0.08263135015923198, + 0.0023627693557934423, + 0.11128285771506499, + 0.13227098574375978, + 0.4342166652328268, + 0.8610890188795464, + 0.2290981788000896 + ], + 0.820307731628418 + ], + [ + [ + -0.08320079058367427, + -0.014317288270424161, + 0.12217030918496322, + 0.15457507331378087, + -0.5489525200863296, + 0.7822022015564604, + -0.2508333974596162 + ], + 0.8187859058380127 + ], + [ + [ + -0.0799053242798489, + -0.05172485692633227, + 0.1293741712560005, + 0.20383557119479814, + -0.9630697398462248, + -0.06109761330236818, + -0.16496914183255504 + ], + 0.8177579045295715 + ], + [ + [ + 0.12898498714011494, + 0.01255083063410684, + -0.06329704949361611, + 0.5924706565165632, + -0.3311151815450278, + -0.37630775194638044, + 0.6306613461615497 + ], + 0.8160982131958008 + ], + [ + [ + -0.07678289771038707, + 0.015197486409713473, + 0.12598345672982406, + 0.22503919479326087, + 0.9361927530009302, + 0.2586119935667485, + 0.0775907650353575 + ], + 0.8153438568115234 + ], + [ + [ + -0.06111842825967487, + -0.01935088468922213, + 0.13888789212601851, + 0.010912514508210226, + -0.9989167587284036, + -0.03554509861810735, + -0.027978065030979465 + ], + 0.8143640756607056 + ], + [ + [ + 0.10213088929694478, + -0.0012335097158505063, + -0.08470984304053117, + 0.6996971708124925, + 0.1939262855976634, + -0.22037934778236545, + -0.6513443083211112 + ], + 0.812077522277832 + ], + [ + [ + -0.08415577620226558, + -0.027854906602035316, + 0.1262139031876869, + 0.18637795630491766, + -0.6608309018644106, + 0.688501323283039, + -0.2335202440521521 + ], + 0.8107864260673523 + ], + [ + [ + 0.0675904893879253, + 0.01321622242944404, + -0.11475944274765779, + 0.7208260358003232, + 0.1160417704011503, + -0.0861380421447494, + -0.677882269520325 + ], + 0.8069926500320435 + ], + [ + [ + -0.014807309503253954, + -0.05541938377750948, + 0.13297661638158034, + 0.09625061518462133, + 0.49717632845069853, + -0.8427333589289455, + -0.18262530835895124 + ], + 0.799230694770813 + ], + [ + [ + -0.04604179844218906, + -0.04826062007082537, + 0.12506181990998458, + 0.16168152031766272, + 0.58348828256973, + 0.7767103504453964, + 0.17355558649201083 + ], + 0.7981822490692139 + ], + [ + [ + -0.06251975581008609, + -0.04380043057931498, + 0.1219785163392372, + 0.18825095260926442, + -0.718670272014629, + 0.6439995722324379, + -0.18259016930974234 + ], + 0.7958632707595825 + ], + [ + [ + -0.03672044224995788, + 0.09104652123319074, + 0.11494728422063064, + 0.36326773797120754, + 0.8155127442731277, + 0.4496867334388137, + 0.027520106222975318 + ], + 0.7954492568969727 + ], + [ + [ + -0.12097288727719005, + -0.05209662599695757, + 0.07583660131591033, + 0.5810792432226859, + -0.39962546659290504, + 0.6950348285866481, + -0.13990349029842766 + ], + 0.7954038977622986 + ], + [ + [ + 0.08078008830588643, + 0.0009138716527083477, + -0.10951993370158006, + 0.6945473781177526, + -0.12053634884225876, + -0.11658623677786994, + 0.699630314917462 + ], + 0.7931666970252991 + ], + [ + [ + 0.13337415397208516, + -0.011555187611113344, + -0.042254207075660716, + 0.5339314377472233, + 0.3223137836528423, + -0.3698560250933226, + -0.6886490872387324 + ], + 0.7928385138511658 + ], + [ + [ + -0.056690380572859606, + -0.023108184544573578, + 0.12130240595238875, + 0.05289869526802313, + 0.941062208327506, + 0.33181888061793663, + 0.038728265674548366 + ], + 0.7916029095649719 + ], + [ + [ + 0.12095537722152058, + 0.02748429940806791, + 0.06660508608716201, + 0.3926064810334538, + 0.7362705742109457, + -0.48598511651399423, + -0.2599697273308804 + ], + 0.7879106998443604 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00017/metadata.json b/Objects/RoboDojo/Rigid/mug/00017/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..09c4fd5b97c26f77c7279607c4c8332ecf1361f7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00017/metadata.json @@ -0,0 +1,146 @@ +{ + "uuid": "48281f40-6c52-4837-ba39-ec7f50d9a98f", + "physics": { + "mass": 0.5, + "friction": 0.32 + }, + "geometry": { + "faces": 355526, + "vertices": 225909, + "aligned_bbox": { + "vertices": [ + [ + -0.0526, + -0.0373, + -0.0411 + ], + [ + -0.0526, + -0.0373, + 0.0411 + ], + [ + -0.0526, + 0.0374, + -0.0411 + ], + [ + -0.0526, + 0.0374, + 0.0411 + ], + [ + 0.0525, + -0.0373, + -0.0411 + ], + [ + 0.0525, + -0.0373, + 0.0411 + ], + [ + 0.0525, + 0.0374, + -0.0411 + ], + [ + 0.0525, + 0.0374, + 0.0411 + ] + ], + "extents": [ + 0.1051, + 0.0746, + 0.0823 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0526, + -0.0373, + -0.0411 + ], + [ + -0.0526, + -0.0373, + 0.0411 + ], + [ + -0.0526, + 0.0374, + -0.0411 + ], + [ + -0.0526, + 0.0374, + 0.0411 + ], + [ + 0.0525, + -0.0373, + -0.0411 + ], + [ + 0.0525, + -0.0373, + 0.0411 + ], + [ + 0.0525, + 0.0374, + -0.0411 + ], + [ + 0.0525, + 0.0374, + 0.0411 + ] + ], + "extents": [ + 0.1051, + 0.0746, + 0.0823 + ] + }, + "radius": 0.0601 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0002, + 0.0005, + 0.0 + ], + "projection_circle": { + "center": [ + -0.0, + 0.0005, + -0.0411, + 1.0, + -0.0002, + -0.0005, + -0.0 + ], + "radius": 0.0526 + }, + "contact_circle": { + "center": [ + -0.0148, + 0.0001, + -0.0412, + 1.0, + -0.0002, + -0.0005, + -0.0 + ], + "radius": 0.037 + } + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00018/description.json b/Objects/RoboDojo/Rigid/mug/00018/description.json new file mode 100644 index 0000000000000000000000000000000000000000..7c06410c09c54c800a8da8dd30ebf5cda975c6f6 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00018/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "1cedc57a-bd9c-44d2-9314-8234ad1de8fe", + "caption": { + "color": [ + "light gray", + "dark gray", + "matte white" + ], + "material": [ + "ceramic", + "glossy porcelain", + "smooth glazed" + ], + "size": [ + "medium cup", + "holds about 12 ounces", + "fits in one hand" + ], + "name": [ + "coffee mug", + "tea cup", + "everyday mug" + ], + "shape": [ + "wide cylindrical body", + "rounded rim", + "C-shaped handle" + ], + "function": [ + "drinking hot beverages", + "holding coffee or tea", + "sipping slowly" + ] + }, + "description": [ + "everyday mug used to holding coffee or tea", + "tea cup with rounded rim profile", + "holds about 12 ounces dark gray ceramic coffee mug", + "holds about 12 ounces ceramic rounded rim for holding coffee or tea", + "holds about 12 ounces light gray smooth glazed C-shaped handle object", + "light gray smooth glazed coffee mug", + "medium cup wide cylindrical body object", + "dark gray tea cup for sipping slowly", + "rounded rim tea cup for drinking hot beverages", + "dark gray glossy porcelain rounded rim object", + "matte white fits in one hand coffee mug for drinking hot beverages", + "wide cylindrical body tea cup for drinking hot beverages", + "everyday mug designed for holding coffee or tea", + "coffee mug shaped like a wide cylindrical body", + "glossy porcelain matte white coffee mug", + "everyday mug made of smooth glazed", + "everyday mug with ceramic construction", + "C-shaped handle coffee mug ideal for sipping slowly", + "medium cup wide cylindrical body tea cup", + "tea cup with glossy porcelain surface", + "fits in one hand coffee mug used for holding coffee or tea", + "medium cup dark gray tea cup", + "holds about 12 ounces smooth glazed C-shaped handle for holding coffee or tea", + "tea cup shaped like a rounded rim", + "dark gray everyday mug suitable for holding coffee or tea", + "fits in one hand C-shaped handle everyday mug", + "rounded rim tea cup used for sipping slowly", + "tea cup in fits in one hand", + "tea cup used to holding coffee or tea", + "everyday mug for drinking hot beverages with glossy porcelain", + "rounded rim holds about 12 ounces tea cup", + "coffee mug optimized for sipping slowly", + "dark gray holds about 12 ounces C-shaped handle coffee mug", + "wide cylindrical body-shaped coffee mug", + "fits in one hand ceramic object", + "C-shaped handle glossy porcelain object for sipping slowly", + "everyday mug for drinking hot beverages use", + "everyday mug for sipping slowly tasks", + "matte white C-shaped handle tea cup used for holding coffee or tea", + "coffee mug sized medium cup", + "coffee mug optimized for holding coffee or tea", + "fits in one hand light gray wide cylindrical body object", + "coffee mug for sipping slowly use", + "coffee mug with light gray color", + "tea cup for holding coffee or tea with glossy porcelain", + "fits in one hand tea cup perfect for sipping slowly", + "coffee mug for sipping slowly with glossy porcelain", + "light gray everyday mug designed for holding coffee or tea", + "everyday mug for holding coffee or tea", + "light gray fits in one hand rounded rim coffee mug", + "wide cylindrical body glossy porcelain tea cup for holding coffee or tea", + "everyday mug used to sipping slowly", + "tea cup for sipping slowly tasks", + "light gray smooth glazed C-shaped handle tea cup", + "C-shaped handle tea cup for holding coffee or tea", + "everyday mug ideal for holding coffee or tea", + "wide cylindrical body object made of glossy porcelain", + "everyday mug shaped like a wide cylindrical body", + "light gray object used for drinking hot beverages", + "medium cup glossy porcelain tea cup", + "medium cup wide cylindrical body coffee mug for drinking hot beverages", + "medium cup wide cylindrical body object for sipping slowly", + "everyday mug suitable for sipping slowly", + "matte white smooth glazed rounded rim object", + "coffee mug appropriate for holding coffee or tea use", + "smooth glazed everyday mug", + "matte white fits in one hand coffee mug for sipping slowly", + "coffee mug for holding coffee or tea tasks", + "coffee mug built from glossy porcelain", + "coffee mug for drinking hot beverages tasks", + "tea cup with wide cylindrical body profile", + "light gray tea cup designed for holding coffee or tea", + "light gray everyday mug suitable for drinking hot beverages", + "tea cup commonly used for holding coffee or tea", + "glossy porcelain dark gray everyday mug", + "light gray wide cylindrical body everyday mug used for drinking hot beverages", + "tea cup with smooth glazed construction", + "everyday mug typically made of smooth glazed", + "dark gray medium cup coffee mug for drinking hot beverages", + "coffee mug appropriate for sipping slowly use", + "everyday mug commonly featuring glossy porcelain", + "smooth glazed wide cylindrical body for holding coffee or tea", + "tea cup for holding coffee or tea scenarios", + "everyday mug with matte white color", + "medium cup glossy porcelain everyday mug", + "fits in one hand everyday mug used for holding coffee or tea", + "fits in one hand object used for sipping slowly", + "dark gray smooth glazed wide cylindrical body everyday mug", + "coffee mug for sipping slowly tasks", + "holds about 12 ounces smooth glazed object", + "fits in one hand tea cup for holding coffee or tea", + "everyday mug for holding coffee or tea use", + "wide cylindrical body smooth glazed everyday mug for drinking hot beverages", + "coffee mug commonly found in fits in one hand size", + "tea cup for sipping slowly scenarios", + "rounded rim tea cup used for drinking hot beverages", + "matte white smooth glazed rounded rim tea cup", + "tea cup commonly featuring smooth glazed", + "wide cylindrical body everyday mug used for holding coffee or tea", + "medium cup glossy porcelain rounded rim for drinking hot beverages" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00018/grasps/proposal.json b/Objects/RoboDojo/Rigid/mug/00018/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..3af414ab076eb42bd9a91202dc9abffd2dd168c3 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00018/grasps/proposal.json @@ -0,0 +1,1205 @@ +{ + "uuid": "1cedc57a-bd9c-44d2-9314-8234ad1de8fe", + "grasp": [ + [ + [ + -0.03290720181840551, + 0.06926237634346018, + 0.13144952197876156, + 0.048178203063273826, + -0.4173017344622304, + -0.8893054151368935, + 0.1807595136434195 + ], + 0.9775307774543762 + ], + [ + [ + 0.05480630239170897, + 0.03897495782897004, + 0.11902213980760755, + 0.20711331310481812, + -0.7967249656607982, + -0.5473547698880197, + 0.15078514684271377 + ], + 0.977465033531189 + ], + [ + [ + -0.0890262619622339, + -0.01747040980532637, + 0.12470397492256345, + 0.09295847464972881, + 0.06584432958540558, + 0.9807285033972646, + 0.15872885332039116 + ], + 0.9755153656005859 + ], + [ + [ + 0.053906756543339374, + 0.04685615218207368, + 0.11284218122568311, + 0.17570667028268408, + -0.8077323651905107, + -0.5331317738577678, + 0.18018352850686845 + ], + 0.9749668836593628 + ], + [ + [ + -0.020729148670314668, + 0.07523717573806772, + 0.11800971766319455, + 0.23064206297155462, + 0.8631256473481355, + -0.4438913636877442, + -0.06912895863184237 + ], + 0.9745864868164062 + ], + [ + [ + 0.04313154061955321, + 0.05099566495940217, + 0.11888818581905546, + 0.16027861309689542, + -0.7668012393701372, + -0.5939370434052027, + 0.18320866233681035 + ], + 0.9729498028755188 + ], + [ + [ + 0.04893055846613753, + 0.03729642397686967, + 0.12060158093776883, + 0.18092561310755736, + -0.8344460355358749, + -0.50034233287776, + 0.14360809946015116 + ], + 0.9727559089660645 + ], + [ + [ + -0.09137154827195298, + -0.0062495052725063845, + 0.12192180891838254, + 0.09217732016836445, + 0.021863343742017774, + 0.995182577688468, + 0.02523832229633891 + ], + 0.9712390303611755 + ], + [ + [ + 0.061314846479118945, + 0.03707403159663209, + 0.11358223249521436, + 0.16312939374367588, + 0.526769079090635, + -0.8114053166520648, + -0.19371254559162507 + ], + 0.9709512591362 + ], + [ + [ + 0.0207190654210459, + -0.08969061234071722, + 0.12157212336864652, + 0.22854761231424972, + -0.6609339729007836, + -0.7146873558736935, + -0.012419972838550099 + ], + 0.9693498015403748 + ], + [ + [ + -0.06987512195783746, + 0.03904905385300645, + 0.12642650445308865, + 0.03772479524629472, + 0.2575044660664856, + 0.965429680292023, + -0.014622660178015376 + ], + 0.9690335988998413 + ], + [ + [ + 0.01726651107591498, + -0.07432224758937826, + 0.1188784032067317, + 0.06318013548329245, + -0.7975136828883838, + 0.590861919290392, + 0.10422278262737868 + ], + 0.9685737490653992 + ], + [ + [ + -0.09329693476039064, + -0.034068727577476414, + 0.11975427110996427, + 0.15068925960923021, + -0.07553578288518384, + 0.9697790896043705, + 0.17639617316841757 + ], + 0.9677590727806091 + ], + [ + [ + 0.037187478595198276, + -0.05476626911237708, + 0.12308322032299222, + 0.04155876435560065, + -0.873527834293388, + 0.4831411840366431, + 0.042386178261430985 + ], + 0.9677266478538513 + ], + [ + [ + 0.05340683003586638, + -0.04882049345448485, + 0.1215649112066287, + 0.17065305035360323, + 0.7861796959149072, + -0.5617208125775291, + -0.19305116123296137 + ], + 0.9676764607429504 + ], + [ + [ + -0.04723579893189561, + 0.05690121493265161, + 0.1188929392894763, + 0.029805732070499302, + 0.37755105213802814, + 0.9233700075904162, + -0.06288601154218698 + ], + 0.9672796726226807 + ], + [ + [ + 0.003584180117369771, + -0.08474093087985983, + 0.1272675408920306, + 0.07843139548040721, + -0.7519734786789763, + 0.6446790571315556, + 0.11301909954695151 + ], + 0.9671152830123901 + ], + [ + [ + 0.01448490386527884, + -0.07473253616168966, + 0.11963801970091047, + 0.09749905086532795, + -0.8443649367534345, + 0.522695725323394, + 0.06581008578006695 + ], + 0.9668649435043335 + ], + [ + [ + -0.03329864973503244, + -0.07798738190010061, + 0.12651607533302486, + 0.0939503519283989, + -0.6363242311109434, + 0.7624031471543219, + 0.07075482656880613 + ], + 0.9663905501365662 + ], + [ + [ + -0.06891394118147981, + 0.03530123672410974, + 0.12361987074222745, + 0.03298061208497772, + 0.3014525979393645, + 0.9529070223631041, + -0.0026109678647965816 + ], + 0.9662294387817383 + ], + [ + [ + 0.026434752248943927, + 0.048710400526971905, + 0.12547214468326748, + 0.12335505682825064, + 0.6011515029500821, + -0.7814973851256438, + -0.11252660795357451 + ], + 0.963986337184906 + ], + [ + [ + -0.08673560330945146, + -0.02020236448421946, + 0.11699111153688611, + 0.07507568275813677, + 0.12635452513255066, + 0.9616447663129826, + 0.23159775314060374 + ], + 0.9630482792854309 + ], + [ + [ + 0.016788301148236873, + 0.05477411142513284, + 0.13392359157409847, + 0.02532075988467138, + 0.8613165375019242, + 0.5072214184919516, + -0.01480249869353032 + ], + 0.9626664519309998 + ], + [ + [ + 0.03767831166905272, + -0.04998297774270049, + 0.11900669475403013, + 0.08159087777623862, + -0.9249351980019311, + 0.370133190463794, + 0.028969457673978787 + ], + 0.9621257781982422 + ], + [ + [ + 0.06136553277891982, + -0.038331379825620564, + 0.12262390693035306, + 0.16589699488791318, + -0.4854752115358746, + -0.8379818373943272, + 0.18595280656280827 + ], + 0.9618366956710815 + ], + [ + [ + -0.02068492854314935, + 0.07191341957971582, + 0.1280147596200961, + 0.08016411510948325, + 0.7638491929781717, + -0.6386751710786734, + 0.04692708048596919 + ], + 0.9611859321594238 + ], + [ + [ + -0.04856484467464578, + 0.0671423061840249, + 0.12018270929660978, + 0.17584804654010594, + 0.6624126970757049, + 0.7191153414445246, + 0.11471708233756844 + ], + 0.9597963094711304 + ], + [ + [ + -0.06741406852680337, + -0.05383652606084815, + 0.12063019116726102, + 0.18138824731270498, + -0.5754530514463793, + 0.7873243571450403, + -0.1267771507962874 + ], + 0.959587037563324 + ], + [ + [ + 0.015943101697386386, + -0.061891236985473545, + 0.13088330765571773, + 0.038837742524064786, + -0.8216379674423226, + 0.5677150627775565, + 0.03320071849159479 + ], + 0.959226667881012 + ], + [ + [ + -0.077331964767753, + -0.05106499948575965, + 0.12214467068519773, + 0.19932309315345897, + -0.5580901175780801, + 0.7957535805126058, + -0.1248277384990611 + ], + 0.9588803052902222 + ], + [ + [ + 0.07572586377781737, + -0.02812191815152636, + 0.11417364468183698, + 0.16789336214779993, + 0.8767906924655229, + -0.4071802869995879, + -0.19301324936767938 + ], + 0.957976758480072 + ], + [ + [ + -0.07469735751229417, + -0.04839693167284003, + 0.11765854944791974, + 0.18310141924658083, + -0.5481471383110696, + 0.7945616956758468, + -0.1862264664219214 + ], + 0.9578494429588318 + ], + [ + [ + 0.020987368278921725, + 0.05832618317529687, + 0.12786585231628597, + 0.14977552497674002, + -0.7258621230158232, + -0.6514230045818962, + 0.16229460739777737 + ], + 0.9564321041107178 + ], + [ + [ + 0.04584838738364089, + 0.04284573934003839, + 0.13126297434177578, + 0.037403283928482974, + -0.9145153702734105, + -0.3963201104046655, + 0.07206248659244337 + ], + 0.9563130736351013 + ], + [ + [ + 0.06701536019963134, + 0.0611797443680478, + 0.11592881520595731, + 0.2833347024422561, + 0.5815341414027033, + -0.7478481962990453, + -0.14920644780720244 + ], + 0.955945611000061 + ], + [ + [ + -0.027142629868565915, + 0.09466348431036005, + 0.11725042899456205, + 0.2744908282441198, + 0.8629195086568231, + -0.42320665015732595, + 0.03034531350866565 + ], + 0.9556452631950378 + ], + [ + [ + 0.04132782583755362, + 0.0794658496133996, + 0.12058708210792722, + 0.11457327833540285, + -0.6808051611830511, + -0.6699364177898492, + 0.2730613347160351 + ], + 0.9555500745773315 + ], + [ + [ + -0.0232809203706969, + 0.09229258290454874, + 0.11523451795187177, + 0.2762284073867891, + 0.8623149679431164, + -0.42438938693570005, + -0.002100302397429107 + ], + 0.9538784027099609 + ], + [ + [ + 0.02676358362358916, + 0.05758938780948648, + 0.12636883695926845, + 0.16844542830607012, + -0.711794759117788, + -0.6581390912216241, + 0.17840206047355386 + ], + 0.9537832736968994 + ], + [ + [ + -0.004129643461881995, + 0.05551393917724618, + 0.11760292341318311, + 0.033239039996426654, + 0.7939727252738826, + 0.6069058313282153, + 0.012953364083793183 + ], + 0.9536949992179871 + ], + [ + [ + 0.028409029447258594, + -0.07514597632959356, + 0.12017092247810544, + 0.1358310793802937, + 0.6742548096050482, + -0.68286872453503, + -0.24621266143467524 + ], + 0.9525721073150635 + ], + [ + [ + -0.002453234887896895, + 0.07391881785318384, + 0.12243141373005094, + 0.20822997894834974, + 0.8440995632411531, + 0.49229380073828777, + 0.042225785462382974 + ], + 0.9523871541023254 + ], + [ + [ + -0.030495927578984616, + 0.060424546068163006, + 0.12290102382507505, + 0.10302974889976335, + 0.7223904938696379, + 0.6820673878405864, + 0.0481759655092783 + ], + 0.9513678550720215 + ], + [ + [ + -0.0799991087086786, + -0.00995133974626532, + 0.12722753127422512, + 0.05090475645070969, + -0.11178877728178692, + 0.9924237274497713, + -0.0026683776415897587 + ], + 0.9511438012123108 + ], + [ + [ + -0.017875974907754777, + -0.07786368736103048, + 0.12075987597313108, + 0.19346632689850504, + -0.8113278333215149, + 0.5467385634827965, + -0.0734497817218335 + ], + 0.9510449171066284 + ], + [ + [ + 0.06861957451027739, + -0.0019585593281300946, + 0.11348441382255735, + 0.23473196617369016, + 0.9085986911284184, + -0.3229596848036814, + -0.1226636234890574 + ], + 0.9507023692131042 + ], + [ + [ + -0.012760568552865505, + 0.1003682001583291, + 0.12049228092041196, + 0.2784777068777588, + 0.7975600967260014, + -0.5336510877752757, + 0.03955471398937753 + ], + 0.950484037399292 + ], + [ + [ + 0.013290743433655381, + 0.05843040189668664, + 0.11899095912780942, + 0.16210629545867705, + -0.6327976236831077, + -0.7339102924512155, + 0.186183777671009 + ], + 0.9503617286682129 + ], + [ + [ + 0.0792755066387068, + 0.019267682274432273, + 0.11011061956491651, + 0.20254661482791014, + -0.8790898643025243, + -0.3908392156618596, + 0.18281298313617195 + ], + 0.9497857093811035 + ], + [ + [ + -0.08550986359196794, + -0.04315829434469214, + 0.11666502942648115, + 0.1926380882919907, + -0.5279746889000858, + 0.7974083624130996, + -0.21971162548605305 + ], + 0.9494231343269348 + ], + [ + [ + -0.043325469739018796, + 0.06962942174598703, + 0.11965529014673414, + 0.002973594473182958, + -0.3149764777208355, + -0.9231075139981852, + 0.22057536992732293 + ], + 0.9488089680671692 + ], + [ + [ + -0.026467858723579762, + -0.0792490557678031, + 0.12114407261219205, + 0.07097406703951277, + 0.5874068440687075, + 0.7730829927190198, + 0.22860132921248666 + ], + 0.9481197595596313 + ], + [ + [ + 0.05862337639254439, + 0.005162949962170215, + 0.12093450268116178, + 0.19520271816942988, + 0.9636051921542935, + -0.17736594691464452, + -0.04361482944624112 + ], + 0.9480593204498291 + ], + [ + [ + 0.06947782924097884, + -0.017722671563177018, + 0.11418140818681898, + 0.23947069673409152, + 0.8637974337262854, + -0.41783748984286095, + -0.14805273038816136 + ], + 0.9479179978370667 + ], + [ + [ + 0.006312898450316072, + 0.06922751507684717, + 0.1175513579448718, + 0.17152301658772764, + 0.8539753574968578, + 0.49108777825313854, + 0.011778693440124261 + ], + 0.9479174613952637 + ], + [ + [ + -0.0678853214748491, + -0.06483461865261068, + 0.12122328718509855, + 0.1648011469383316, + -0.4698172023506877, + 0.8664436710604569, + 0.03725242572587167 + ], + 0.9475125074386597 + ], + [ + [ + 0.0067505306534181835, + 0.08322577766105661, + 0.11648825695123853, + 0.19919002454628226, + 0.6491487345237955, + -0.7337315755408673, + 0.023816583334377875 + ], + 0.9454004168510437 + ], + [ + [ + -0.09652691791134965, + 0.031454334323854534, + 0.11399068822469892, + 0.23054635937368564, + -0.8269093848812522, + 0.4798998147494372, + -0.1810121906897556 + ], + 0.9452036619186401 + ], + [ + [ + 0.04704800536555159, + -0.061661245013027104, + 0.1100263385972041, + 0.17451843280362395, + 0.7286686580941006, + -0.6200475096975492, + -0.2326507877506062 + ], + 0.9438694715499878 + ], + [ + [ + -0.07988323727923524, + -0.010192030752448945, + 0.11626112600174131, + 0.06479556320993891, + -0.0798190721010397, + 0.9946694117138779, + -0.007950604882911211 + ], + 0.9437798857688904 + ], + [ + [ + 0.009375863798678994, + -0.070579865659027, + 0.11480388184395017, + 0.09157085969534419, + -0.8426037103583464, + 0.5286869470814489, + 0.0460855392797001 + ], + 0.9435667991638184 + ], + [ + [ + 0.03821135973256934, + -0.08455350407436361, + 0.1145545928677577, + 0.13016256573274892, + 0.6459022875643045, + -0.6959154697991742, + -0.2856039220586114 + ], + 0.9424294829368591 + ], + [ + [ + 0.01919662495774138, + 0.08021943858787546, + 0.1283550276359576, + 0.10825200925158396, + -0.5928504368354015, + -0.7631362425761028, + 0.2333086738719673 + ], + 0.9423476457595825 + ], + [ + [ + -0.08762376467066896, + 0.033385923420639126, + 0.10961190750208082, + 0.1517218932417186, + 0.5023038935196115, + 0.8211708181608842, + 0.22438750648637062 + ], + 0.9410538673400879 + ], + [ + [ + 0.05913592418354857, + 0.016336664845795722, + 0.12072357674446287, + 0.11380480153282622, + 0.3519109841818207, + -0.9146451625936969, + -0.1631911544913093 + ], + 0.9403021931648254 + ], + [ + [ + 0.006401329391420961, + -0.08146604307964316, + 0.11296486993637266, + 0.21870784365149962, + -0.7339486113777556, + -0.638116334237045, + 0.07933384499601456 + ], + 0.939612627029419 + ], + [ + [ + -0.09982735375243318, + 0.03860541275665292, + 0.1112238033613223, + 0.23062493860745747, + -0.7984529323018821, + 0.508847952904891, + -0.22440769464377466 + ], + 0.9394407868385315 + ], + [ + [ + 0.05087775280398238, + -0.04508200445249549, + 0.11614798148479642, + 0.17068230723278596, + -0.5562072109702976, + -0.7891978261348597, + 0.19664150041725198 + ], + 0.939139187335968 + ], + [ + [ + -0.08469588766175401, + 0.026916645755620094, + 0.10973931243028821, + 0.08341534665102662, + 0.1075055902956876, + 0.9843771378666364, + -0.11174112243822207 + ], + 0.9383150935173035 + ], + [ + [ + -0.07720372537451875, + -0.02265186392739287, + 0.1270856722196597, + 0.043867647429032396, + -0.994901998552111, + -0.07749537539594072, + -0.0473297958827188 + ], + 0.9379942417144775 + ], + [ + [ + 0.013173942544282556, + 0.08841644070074091, + 0.11298997839298429, + 0.3162023751235301, + 0.8026462335617709, + -0.49615718547164733, + -0.0979955561247294 + ], + 0.9360138773918152 + ], + [ + [ + -0.054665782398759244, + 0.07517304859087, + 0.13458679755535305, + 0.16191678244751156, + 0.9222193821071144, + -0.3460609133959264, + 0.059466049535801306 + ], + 0.9359596967697144 + ], + [ + [ + -0.08486647615510118, + 0.009286122684927078, + 0.12209561606254758, + 0.10571497992327754, + -0.08141972119108835, + 0.9811065383574818, + -0.14008972986334728 + ], + 0.9351902604103088 + ], + [ + [ + 0.08601811816614974, + -0.030544293756036667, + 0.10687662800159635, + 0.21755237048432433, + 0.828834541733028, + -0.452479119147825, + -0.24691479352614912 + ], + 0.9348286390304565 + ], + [ + [ + -0.0704102897115339, + -0.0309289579190301, + 0.1202633096775073, + 0.11065658521655813, + -0.9936971039225979, + -0.0015831895199386603, + -0.017851591385538716 + ], + 0.9338367581367493 + ], + [ + [ + -0.10107010314541948, + -0.0485985183067607, + 0.11338120838012876, + 0.13755363667115403, + 0.10317009474063368, + 0.9355679236944553, + 0.30846002778933046 + ], + 0.9327258467674255 + ], + [ + [ + -0.11726167509633195, + -0.015092855962364583, + 0.10652195801344098, + 0.29502479633749273, + -0.8999162519983935, + 0.21691469610121777, + -0.23676807966974955 + ], + 0.9325708150863647 + ], + [ + [ + -0.05618112990933549, + 0.05100734374448785, + 0.11848593642320814, + 0.20164928477526137, + 0.9603701492089853, + -0.19070595385024214, + -0.025651152488840867 + ], + 0.9314380288124084 + ], + [ + [ + 0.07718213190955031, + 0.07058553240224848, + 0.10909129818287076, + 0.36477415097928223, + 0.5561675177665738, + -0.7377833456579369, + -0.1152963391807917 + ], + 0.9297094941139221 + ], + [ + [ + -0.08070378462153566, + 0.018130213310570808, + 0.12842738767471493, + 0.07399675312819506, + -0.04120771180046902, + 0.9916747403869153, + -0.09699285691842968 + ], + 0.9291462898254395 + ], + [ + [ + 0.05451871743124831, + -0.010778763974456696, + 0.12960076471176327, + 0.015565677581241921, + -0.9976998108242986, + 0.06508498966279265, + 0.010804688019083799 + ], + 0.9286646246910095 + ], + [ + [ + 0.015905351468146922, + 0.07273631385490427, + 0.10822918405142011, + 0.15973885224002266, + -0.5782443195594337, + -0.7573985462100167, + 0.257806997929151 + ], + 0.9286001920700073 + ], + [ + [ + -0.03214191170710218, + 0.07567097089216242, + 0.13683709641304195, + 0.0971474944273125, + 0.7135285586279319, + 0.693672995766249, + -0.016035438675584206 + ], + 0.9255588054656982 + ], + [ + [ + 0.05095672895830977, + 0.025388533537836166, + 0.12707977135982693, + 0.0605777920063789, + -0.9297397169828151, + -0.3579282770730979, + 0.0616582375018177 + ], + 0.9246324896812439 + ], + [ + [ + -0.020810906685172437, + -0.08316824742629995, + 0.11279250820484342, + 0.2301682946095065, + -0.8347508572140901, + 0.48485672408740166, + -0.12299398214598313 + ], + 0.9238824844360352 + ], + [ + [ + -0.01641020682009947, + -0.08180220582559576, + 0.11145693202820005, + 0.14058788941341985, + -0.6858598833702941, + -0.7115010897415777, + -0.0599788715308502 + ], + 0.922940194606781 + ], + [ + [ + -0.05366730774122369, + -0.07227338262870779, + 0.1186463623246211, + 0.12742455656593563, + 0.6884345089622931, + 0.6799683070141324, + 0.21786236643843593 + ], + 0.9220978617668152 + ], + [ + [ + 0.06740573337000716, + -0.08296627708747854, + 0.09124443819132032, + 0.18410340079721263, + 0.6727733629044484, + -0.5816206260220134, + -0.41856825890994376 + ], + 0.9213859438896179 + ], + [ + [ + -0.006915363160176992, + -0.06788033404424658, + 0.1190479337176341, + 0.07366969597559943, + -0.8168226605920291, + 0.5721181178451187, + -0.00737402682257121 + ], + 0.9199573397636414 + ], + [ + [ + 0.02272608419579375, + 0.0583624488763524, + 0.11524345864858808, + 0.2127098433225306, + 0.9351153118330631, + 0.2767365832647513, + 0.06107978071350027 + ], + 0.9169811010360718 + ], + [ + [ + 0.04375827228349555, + -0.07058596768453589, + 0.10860713710394086, + 0.08108830242974625, + -0.21424674439260608, + -0.9333441009532161, + -0.2763906817207561 + ], + 0.9167205095291138 + ], + [ + [ + -0.07234079847413194, + -0.0579063759095954, + 0.1059091403087634, + 0.2512686407121491, + -0.9573020626665041, + -0.1289282111583508, + -0.06176040298308705 + ], + 0.9160084128379822 + ], + [ + [ + -0.08911279300528657, + 0.03234585217163095, + 0.12038196762409391, + 0.09048960604740494, + 0.007449147149788371, + 0.9679694580494931, + -0.23407535044830508 + ], + 0.9156497716903687 + ], + [ + [ + -0.1099579156406511, + -0.04983527743294707, + 0.10201020677890958, + 0.24925581121436682, + 0.76964413675972, + 0.4947234587637527, + 0.3174399827937287 + ], + 0.9153357148170471 + ], + [ + [ + 0.03547879969400275, + 0.05759585491344461, + 0.1112676425775546, + 0.24042729924586825, + 0.9498635377570218, + 0.19964987543465346, + 0.00969023508383509 + ], + 0.9151872396469116 + ], + [ + [ + -0.07825734922963273, + 0.058597637628765194, + 0.10938953747358503, + 0.20977508051357424, + -0.7229483384275148, + 0.6143990574217298, + -0.23633432632545934 + ], + 0.9142313003540039 + ], + [ + [ + -0.03653306411880147, + 0.0966416656129075, + 0.11818687756862821, + 0.2899494455947793, + 0.7592438343203582, + 0.5812525963012138, + 0.040293154988149504 + ], + 0.9134122133255005 + ], + [ + [ + -0.0700290733047117, + 0.06155918381139764, + 0.12452301522102537, + 0.18704667229247304, + -0.6859559559666862, + 0.6718549926168579, + -0.20757850985577292 + ], + 0.9132667183876038 + ], + [ + [ + 0.08035095324438918, + -0.035472826743869694, + 0.11828711767997922, + 0.13726716643360762, + -0.0002803793664484079, + -0.9688175899114375, + -0.20627681373555434 + ], + 0.9132442474365234 + ], + [ + [ + -0.013756230849056363, + 0.08998481771871576, + 0.12765813012924374, + 0.25974577200009946, + 0.8390575711251571, + 0.4778053203622007, + 0.014717408032634874 + ], + 0.9120718240737915 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00018/metadata.json b/Objects/RoboDojo/Rigid/mug/00018/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..a4015f28b0679f0e5b3a2fe66b0bc5bd3fc091e0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00018/metadata.json @@ -0,0 +1,146 @@ +{ + "uuid": "1cedc57a-bd9c-44d2-9314-8234ad1de8fe", + "physics": { + "mass": 0.5, + "friction": 0.45 + }, + "geometry": { + "faces": 345432, + "vertices": 227282, + "aligned_bbox": { + "vertices": [ + [ + -0.0587, + -0.0495, + -0.0366 + ], + [ + -0.0587, + -0.0495, + 0.0366 + ], + [ + -0.0587, + 0.0496, + -0.0366 + ], + [ + -0.0587, + 0.0496, + 0.0366 + ], + [ + 0.0586, + -0.0495, + -0.0366 + ], + [ + 0.0586, + -0.0495, + 0.0366 + ], + [ + 0.0586, + 0.0496, + -0.0366 + ], + [ + 0.0586, + 0.0496, + 0.0366 + ] + ], + "extents": [ + 0.1173, + 0.099, + 0.0732 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0587, + -0.0495, + -0.0366 + ], + [ + -0.0587, + -0.0495, + 0.0366 + ], + [ + -0.0587, + 0.0496, + -0.0366 + ], + [ + -0.0587, + 0.0496, + 0.0366 + ], + [ + 0.0586, + -0.0495, + -0.0366 + ], + [ + 0.0586, + -0.0495, + 0.0366 + ], + [ + 0.0586, + 0.0496, + -0.0366 + ], + [ + 0.0586, + 0.0496, + 0.0366 + ] + ], + "extents": [ + 0.1173, + 0.099, + 0.0732 + ] + }, + "radius": 0.0621 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0, + 0.0, + 0.0 + ], + "projection_circle": { + "center": [ + -0.0001, + -0.001, + -0.0366, + 1.0, + 0.0, + 0.0, + 0.0 + ], + "radius": 0.0587 + }, + "contact_circle": { + "center": [ + -0.0091, + 0.0001, + -0.0366, + 1.0, + 0.0, + 0.0, + 0.0 + ], + "radius": 0.0368 + } + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00019/description.json b/Objects/RoboDojo/Rigid/mug/00019/description.json new file mode 100644 index 0000000000000000000000000000000000000000..bd9564039898e9efd25d70bd12c9b421f72722a3 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00019/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "d0723e69-9917-4aef-9884-4a5515450c06", + "caption": { + "color": [ + "mustard yellow", + "olive-yellow", + "warm golden" + ], + "material": [ + "glossy ceramic", + "smooth glazed surface", + "shiny stoneware" + ], + "size": [ + "small cup", + "single-serving", + "handheld" + ], + "name": [ + "yellow tumbler", + "glazed cup", + "faceted mug" + ], + "shape": [ + "short cylinder", + "slightly flared rim", + "vertical ribbed exterior" + ], + "function": [ + "holding hot drinks", + "serving coffee or tea", + "drinking from" + ] + }, + "description": [ + "handheld mustard yellow short cylinder object", + "single-serving yellow tumbler for drinking from", + "small cup warm golden slightly flared rim for serving coffee or tea", + "glazed cup featuring glossy ceramic build", + "single-serving yellow tumbler perfect for serving coffee or tea", + "warm golden glossy ceramic vertical ribbed exterior glazed cup", + "glazed cup in mustard yellow", + "small cup slightly flared rim yellow tumbler for holding hot drinks", + "yellow tumbler in vertical ribbed exterior", + "faceted mug with mustard yellow exterior", + "short cylinder faceted mug ideal for serving coffee or tea", + "olive-yellow shiny stoneware vertical ribbed exterior faceted mug", + "yellow tumbler featuring vertical ribbed exterior shape", + "small cup warm golden shiny stoneware vertical ribbed exterior object", + "small cup yellow tumbler perfect for holding hot drinks", + "mustard yellow object used for holding hot drinks", + "short cylinder-shaped yellow tumbler", + "faceted mug for drinking from activities", + "single-serving vertical ribbed exterior yellow tumbler", + "holding hot drinks use of yellow tumbler", + "shiny stoneware object used for holding hot drinks", + "yellow tumbler for serving coffee or tea use", + "slightly flared rim object used for holding hot drinks", + "small cup glossy ceramic faceted mug", + "faceted mug optimized for serving coffee or tea", + "vertical ribbed exterior object made of shiny stoneware", + "warm golden yellow tumbler suitable for drinking from", + "glossy ceramic object for serving coffee or tea", + "handheld short cylinder object", + "slightly flared rim shiny stoneware object for serving coffee or tea", + "faceted mug built from shiny stoneware", + "serving coffee or tea use of glazed cup", + "yellow tumbler with olive-yellow exterior", + "yellow tumbler intended for serving coffee or tea", + "small cup smooth glazed surface faceted mug", + "small cup olive-yellow glazed cup", + "mustard yellow glazed cup for holding hot drinks", + "mustard yellow smooth glazed surface slightly flared rim object", + "faceted mug commonly used for serving coffee or tea", + "glazed cup used to holding hot drinks", + "slightly flared rim-shaped faceted mug", + "yellow tumbler built from glossy ceramic", + "yellow tumbler for holding hot drinks scenarios", + "shiny stoneware faceted mug suitable for drinking from", + "glossy ceramic glazed cup used for serving coffee or tea", + "olive-yellow handheld glazed cup for holding hot drinks", + "faceted mug with olive-yellow color", + "single-serving olive-yellow object for drinking from", + "yellow tumbler in slightly flared rim", + "olive-yellow single-serving glossy ceramic object", + "vertical ribbed exterior shiny stoneware object for holding hot drinks", + "glossy ceramic vertical ribbed exterior object used for holding hot drinks", + "mustard yellow handheld glossy ceramic object", + "slightly flared rim faceted mug for serving coffee or tea", + "faceted mug shaped like a short cylinder", + "single-serving shiny stoneware glazed cup", + "olive-yellow object used for serving coffee or tea", + "mustard yellow glazed cup used for drinking from", + "yellow tumbler for holding hot drinks", + "handheld mustard yellow slightly flared rim object", + "glossy ceramic mustard yellow faceted mug", + "slightly flared rim object used for drinking from", + "shiny stoneware object used for drinking from", + "drinking from use of faceted mug", + "faceted mug ideal for holding hot drinks", + "yellow tumbler intended for holding hot drinks usage", + "faceted mug for serving coffee or tea tasks", + "faceted mug in vertical ribbed exterior form", + "single-serving faceted mug for serving coffee or tea", + "shiny stoneware slightly flared rim for holding hot drinks", + "yellow tumbler sized single-serving", + "vertical ribbed exterior glazed cup used for drinking from", + "handheld slightly flared rim object for serving coffee or tea", + "mustard yellow single-serving faceted mug for holding hot drinks", + "yellow tumbler primarily used for drinking from", + "glazed cup for holding hot drinks with glossy ceramic", + "mustard yellow single-serving glazed cup for serving coffee or tea", + "smooth glazed surface short cylinder for holding hot drinks", + "short cylinder-shaped glazed cup", + "olive-yellow yellow tumbler used for drinking from", + "glossy ceramic glazed cup for drinking from", + "warm golden small cup yellow tumbler for holding hot drinks", + "small cup mustard yellow glossy ceramic slightly flared rim object", + "yellow tumbler appropriate for drinking from", + "glazed cup sized single-serving", + "faceted mug with smooth glazed surface body", + "glazed cup for serving coffee or tea activities", + "glazed cup intended for drinking from", + "yellow tumbler shaped like a slightly flared rim", + "yellow tumbler in handheld", + "single-serving object used for holding hot drinks", + "single-serving yellow tumbler perfect for holding hot drinks", + "faceted mug sized single-serving", + "glazed cup appropriate for drinking from", + "small cup object used for serving coffee or tea", + "slightly flared rim yellow tumbler for holding hot drinks", + "yellow tumbler with shiny stoneware surface", + "mustard yellow glazed cup suitable for serving coffee or tea", + "olive-yellow handheld shiny stoneware object", + "faceted mug in olive-yellow" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00019/grasps/proposal.json b/Objects/RoboDojo/Rigid/mug/00019/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..854037343fb73b473182988dbe46cdbdc5548bef --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00019/grasps/proposal.json @@ -0,0 +1,1205 @@ +{ + "uuid": "d0723e69-9917-4aef-9884-4a5515450c06", + "grasp": [ + [ + [ + 0.0026961459142236612, + 0.06665708306253215, + 0.12407710655356124, + 0.060150490152297856, + 0.572060328005687, + 0.8095735690114555, + -0.11713042309544675 + ], + 0.9634692668914795 + ], + [ + [ + 0.04988943564864682, + -0.05555698466479519, + 0.1236882458510466, + 0.20879426809003968, + -0.5979501780547104, + -0.770425684287907, + 0.07283407970582619 + ], + 0.9613133668899536 + ], + [ + [ + -0.03160184097317172, + 0.03487653094351551, + 0.12744421764040664, + 0.03304304185741042, + 0.3547525236057151, + 0.9342576715791198, + -0.014879767328400448 + ], + 0.9605517387390137 + ], + [ + [ + -0.02824188058105422, + 0.04900081637323162, + 0.12215230121041015, + 0.008118015667857218, + 0.3557266164888244, + 0.9274814325263212, + -0.11476438673191554 + ], + 0.9572234749794006 + ], + [ + [ + 0.013083045027878751, + -0.056895257951614646, + 0.12648485108042434, + 0.10230843696581106, + -0.6448558454893328, + -0.7574199673791063, + -0.002985846493651601 + ], + 0.955742597579956 + ], + [ + [ + 0.016712542280283443, + -0.055833296896812705, + 0.12617049618387893, + 0.13680642160751477, + -0.8707842696487162, + 0.47203023509132863, + -0.01436021932018839 + ], + 0.9549562931060791 + ], + [ + [ + -0.03992149454382373, + -0.06516339448272923, + 0.12511495752955154, + 0.23306251768006234, + -0.619101825478805, + 0.7498997977404951, + -0.006714602758678401 + ], + 0.9549199342727661 + ], + [ + [ + 0.018660533830252162, + -0.07621245649635533, + 0.12127899630690292, + 0.05844069828846044, + -0.7179839805492271, + 0.6746091922953448, + 0.1612021281772269 + ], + 0.9540022015571594 + ], + [ + [ + 0.011336499482121934, + -0.0742359143215392, + 0.12290671719933227, + 0.05269072824677951, + -0.7219328493732566, + 0.6748921266358967, + 0.14337805117071245 + ], + 0.9535925984382629 + ], + [ + [ + 0.015028700820830335, + -0.0563300680834029, + 0.1322373102488585, + 0.05505942450889621, + -0.7925556289414315, + 0.6043958580757395, + 0.05941112309064288 + ], + 0.9535787105560303 + ], + [ + [ + 0.03897971066805409, + -0.04863459807812908, + 0.12906693919325546, + 0.1632967571660783, + -0.9686042536066252, + 0.1874491495684041, + 0.001668927882599528 + ], + 0.9523576498031616 + ], + [ + [ + -0.06063571792868091, + 0.02185728955090305, + 0.11631165697003082, + 0.12937085361678596, + 0.25219088651490207, + 0.9565073123131848, + 0.06896883705486202 + ], + 0.9509478807449341 + ], + [ + [ + 0.0658393033144145, + -0.014805131638345511, + 0.12836111589098648, + 0.15557819904443942, + 0.9312576620788194, + -0.30251141617314237, + -0.1305428431071578 + ], + 0.9503965973854065 + ], + [ + [ + 0.05537647905918645, + 0.001700926059934109, + 0.13099820418978408, + 0.15104915378065337, + 0.9635804334435487, + -0.20748207568906712, + -0.07515377365540367 + ], + 0.9496122598648071 + ], + [ + [ + 0.004389727610823383, + -0.056485431315300254, + 0.1265874306740828, + 0.12834309834870816, + -0.8191663195333118, + 0.5589118104138414, + -0.010591422398535218 + ], + 0.9489675164222717 + ], + [ + [ + -0.04691441205171062, + 0.021692370949390142, + 0.13217566414499954, + 0.06767230681049538, + 0.21687630909660469, + 0.9737488698894146, + -0.01408061904417736 + ], + 0.9488157629966736 + ], + [ + [ + 0.03831479850384282, + -0.03663562056600788, + 0.1314191321911879, + 0.05539235283285954, + -0.2912436483425915, + -0.9535827950941614, + -0.05280792978467732 + ], + 0.9479319453239441 + ], + [ + [ + -0.023186873987588414, + 0.0453053283971574, + 0.1239982496085234, + 0.007273088591222073, + -0.298080456530638, + -0.9420121126998068, + 0.15397507312443887 + ], + 0.9477787017822266 + ], + [ + [ + -0.006791156128320227, + -0.062456315429804114, + 0.13669229550982193, + 0.03172301686890305, + -0.6306071452538011, + 0.7721166574668822, + 0.07186199146806191 + ], + 0.9475823044776917 + ], + [ + [ + -0.012394375510785113, + 0.04180353689015171, + 0.13070371254111007, + 0.004076425380804228, + 0.5546482715869611, + 0.8320693071654892, + -0.0030570663803420888 + ], + 0.9472113847732544 + ], + [ + [ + 0.06118815916749524, + 0.0022630975116815265, + 0.12215032680655197, + 0.2121653924571127, + 0.9219224577453698, + -0.3076600929402799, + -0.10193181721246057 + ], + 0.946674108505249 + ], + [ + [ + 0.04118353652926968, + -0.03433154341757038, + 0.1205010737361975, + 0.12182744259859536, + -0.9698658879347484, + 0.21042377149330854, + 0.01549419378217836 + ], + 0.946185827255249 + ], + [ + [ + -0.05520196479586078, + 0.02810811246752998, + 0.1231801013531752, + 0.11540979293687013, + -0.9166036855249285, + 0.3633289697657916, + -0.12045880252316686 + ], + 0.946017324924469 + ], + [ + [ + -0.060847195208343995, + -0.010334067093131335, + 0.12310556574488357, + 0.1500256218879791, + -0.9721879150242458, + 0.14437268526392238, + -0.10723571423560171 + ], + 0.9460119009017944 + ], + [ + [ + 0.0378163919148116, + -0.060342269064781455, + 0.13600962861204818, + 0.10155753045045063, + -0.8628083042560767, + 0.4886565010629499, + 0.08039105724192523 + ], + 0.9456272125244141 + ], + [ + [ + 0.06673262792798566, + 0.03333067330539486, + 0.12284758939171508, + 0.13795755366128046, + 0.04822656668519237, + -0.9770553626106298, + 0.1549345992584116 + ], + 0.9455037713050842 + ], + [ + [ + 0.03050930018695878, + -0.03149307710110882, + 0.13790255292082504, + 0.03580610715707671, + -0.9479944952946037, + 0.31557055779892135, + -0.020966225980444585 + ], + 0.9443655014038086 + ], + [ + [ + 0.019893871277299396, + -0.044886084319946555, + 0.13006047411585525, + 0.12913405579116513, + -0.9341222212567466, + 0.33097641855987103, + -0.03456416853573886 + ], + 0.9441099166870117 + ], + [ + [ + 0.04773786443444775, + -0.024141328455803187, + 0.14152268572474197, + 0.06636299387285245, + 0.9611827640387846, + -0.2621187457768339, + -0.054930959133929945 + ], + 0.9437919855117798 + ], + [ + [ + -0.058749230921539795, + 0.02534429165542385, + 0.11800674601221756, + 0.12427277158898131, + 0.3806936682446137, + 0.9092841484590749, + 0.11327376819505933 + ], + 0.9423547387123108 + ], + [ + [ + -0.00033406170508017634, + -0.05573219624340275, + 0.12064092113400177, + 0.06867858856522815, + 0.49076126877807114, + 0.8471627276683652, + 0.19170795859723935 + ], + 0.9419731497764587 + ], + [ + [ + 0.06674498099061536, + 0.00981299760759136, + 0.11695892615938858, + 0.23679187682867825, + 0.9330983909807937, + -0.24443969531249055, + -0.1162163291992259 + ], + 0.9406503438949585 + ], + [ + [ + 0.02343775111409711, + 0.05437284144580624, + 0.12466163440371231, + 0.08253160723638354, + 0.8267562318778955, + 0.5553129205396898, + -0.035919731899375855 + ], + 0.9405627250671387 + ], + [ + [ + -0.01868474331525279, + 0.037664810149076196, + 0.13155590994978622, + 0.014859443636807789, + -0.6080895246542474, + -0.7936351157555163, + 0.012232333395733753 + ], + 0.9404743313789368 + ], + [ + [ + 0.03501780110570477, + -0.019108278723356516, + 0.12498418493891433, + 0.06251281796663408, + 0.9604302534985707, + -0.2705959995348372, + -0.02106373163245472 + ], + 0.9387890696525574 + ], + [ + [ + 0.014809345483508577, + -0.05000002500593403, + 0.13189692302370742, + 0.0867172203885553, + -0.6377785149114031, + -0.7652203204415039, + 0.012512025770836082 + ], + 0.9387835264205933 + ], + [ + [ + -0.0612708016934724, + 0.016954638017418592, + 0.11856840057993606, + 0.12118550615071229, + 0.3485846162426315, + 0.9211470745649947, + 0.12365640071716956 + ], + 0.9371283650398254 + ], + [ + [ + 0.05957993644448804, + 0.005869641387912243, + 0.11986837788248733, + 0.0867453771003307, + -0.29496115186594035, + -0.920331283449875, + 0.24179223962969873 + ], + 0.9356799125671387 + ], + [ + [ + -0.016129203483733662, + -0.06095431190907696, + 0.1327505211415358, + 0.043608845181398376, + -0.5788616770818308, + 0.8065198570708249, + 0.11199619448182539 + ], + 0.9355381727218628 + ], + [ + [ + 0.06873220729800748, + 0.0005660099676649865, + 0.11771121128225998, + 0.24166243576555763, + 0.8968546338997943, + -0.3429433609851063, + -0.1401459380380424 + ], + 0.9352397918701172 + ], + [ + [ + 0.05327400717112111, + -0.019276715861556323, + 0.11466335757399276, + 0.18398508023923746, + 0.9039377006084881, + -0.36628557796128713, + -0.12198770038641846 + ], + 0.9342340230941772 + ], + [ + [ + 0.08891305106851148, + 0.02964370506823322, + 0.11636080845022873, + 0.26013923711484527, + 0.9312819692214864, + -0.126436668118323, + -0.22148417566813602 + ], + 0.9335026741027832 + ], + [ + [ + -0.052543072372946274, + 0.026494784234168737, + 0.1207684676232405, + 0.0993322439017922, + 0.46627368348649734, + 0.8703889142183319, + 0.12306541112433618 + ], + 0.9317132830619812 + ], + [ + [ + -0.03276442584422542, + -0.0754372533875678, + 0.10936933262968734, + 0.3024609091127313, + -0.6629856617688261, + 0.6846736593091118, + 0.013761940122015552 + ], + 0.9315691590309143 + ], + [ + [ + 0.01731420274051713, + -0.07100850907146672, + 0.11119109644318298, + 0.19774064542069159, + -0.6245018051178465, + -0.7535867250068566, + -0.05480128143209542 + ], + 0.9309598207473755 + ], + [ + [ + -0.04571703296926929, + 0.026125037996175497, + 0.13441524906779007, + 0.08969795921453386, + 0.4984190598320195, + 0.855101331352084, + 0.11106047914900868 + ], + 0.9308859705924988 + ], + [ + [ + 0.006866536691513528, + 0.05653381901800892, + 0.1302279631676741, + 0.16220925683555423, + 0.8317583015674648, + -0.5279771476712147, + -0.055735233985618124 + ], + 0.9305226802825928 + ], + [ + [ + 0.053422415286031234, + 0.03590871202767155, + 0.12229237212563232, + 0.13895790073299744, + 0.9817127647722432, + 0.11558753986466858, + -0.059751735833784785 + ], + 0.929989218711853 + ], + [ + [ + 0.05018244835707234, + 0.02660129400909206, + 0.13082485898161605, + 0.07805786686448396, + 0.16964428272294557, + -0.9822073790943678, + 0.01991108265656483 + ], + 0.9295942187309265 + ], + [ + [ + 0.012165294617143144, + 0.05470334920108578, + 0.1223130176844664, + 0.21333297113689814, + 0.8695327823721041, + -0.43723494468117274, + -0.08501403975686815 + ], + 0.9294452667236328 + ], + [ + [ + -0.010246628307077418, + -0.049990830989477424, + 0.1250758419814177, + 0.05050459972429913, + 0.6719906287685428, + 0.724231119313161, + 0.14617512124965984 + ], + 0.9282969236373901 + ], + [ + [ + 0.07300492900582838, + 0.005092656659039467, + 0.11746576680565551, + 0.24632622566338472, + 0.8991273338942745, + -0.3296632801610797, + -0.14904881652680937 + ], + 0.9281533360481262 + ], + [ + [ + 0.06220290589305447, + -0.034156760247347144, + 0.1219768474879332, + 0.20147589604536897, + 0.7732540016290081, + -0.5688164620420548, + -0.19476535828376 + ], + 0.9270383715629578 + ], + [ + [ + -0.04640265774754001, + -0.0013932630418960158, + 0.12999297185564712, + 0.03290817876378236, + 0.00581720343955707, + 0.9992912601300844, + -0.0173259730526583 + ], + 0.9268510341644287 + ], + [ + [ + -0.05658338812020732, + 0.04315309408128521, + 0.11385291321898178, + 0.2126101440570279, + 0.9405037985193722, + -0.2216330257411197, + 0.14535588572712863 + ], + 0.926667332649231 + ], + [ + [ + -0.038680194288763535, + 0.04332962068736813, + 0.12724735839987472, + 0.11227330814727275, + 0.6025398992065941, + 0.784682654033885, + 0.09280897909207433 + ], + 0.9264532327651978 + ], + [ + [ + -0.02914081734446002, + -0.06670748260795811, + 0.1276046435418196, + 0.22020779534399867, + -0.7303555769518506, + 0.6462577011054673, + -0.02098194097173472 + ], + 0.9244913458824158 + ], + [ + [ + -0.03408040699389888, + -0.05840441402971485, + 0.1280735681834288, + 0.06680214200759106, + -0.48183346083063927, + 0.8653297890258875, + 0.12074082189375779 + ], + 0.924180805683136 + ], + [ + [ + 0.019897160708632938, + -0.05990295675575474, + 0.12409451110983566, + 0.11157947533146596, + 0.6084571564682314, + -0.7589592055527672, + -0.20325066724137034 + ], + 0.923281729221344 + ], + [ + [ + -0.05411142703917934, + -0.029427370102999003, + 0.12961206837321, + 0.1548218098837129, + -0.9847280118444022, + 0.024857928838852156, + -0.07565073196701415 + ], + 0.9227988719940186 + ], + [ + [ + 0.06005932170125531, + 0.03333998280585072, + 0.1271553437295027, + 0.20611348953948375, + 0.9764978616787218, + -0.03247715874386689, + -0.05398508800276947 + ], + 0.9219231009483337 + ], + [ + [ + -0.03264329057959033, + -0.05512289893805721, + 0.12063778443957046, + 0.20715053433787636, + -0.7061226926167559, + 0.6646513723966133, + -0.1292979205806973 + ], + 0.9218036532402039 + ], + [ + [ + -0.03453753364113284, + 0.025926213665011136, + 0.13278235002184585, + 0.010033363305329822, + 0.11095525066328492, + 0.9929270858906963, + -0.04103737413188462 + ], + 0.921165943145752 + ], + [ + [ + -0.007727377459678183, + -0.05471525532185772, + 0.11962929620171264, + 0.10607213314281591, + -0.7360090894207237, + 0.6685131538114804, + -0.01137919336499825 + ], + 0.9204360246658325 + ], + [ + [ + 0.06575862097713041, + -0.0012520102783266608, + 0.11931441976452545, + 0.1223744089655607, + -0.38082102509618976, + -0.8810606044233895, + 0.2524520988387866 + ], + 0.9187184572219849 + ], + [ + [ + -0.061212966561588776, + 0.008282136125567167, + 0.12474241359854416, + 0.1114594661210183, + 0.41027117081056125, + 0.8866980175444247, + 0.18171675623490607 + ], + 0.9178896546363831 + ], + [ + [ + -0.0454326629343362, + -0.02401842367827633, + 0.12947757049227432, + 0.03230934450468041, + -0.16977263790491462, + 0.9847580543462934, + 0.019619685945167258 + ], + 0.9178245663642883 + ], + [ + [ + 0.06959402340623426, + 0.011588618112805097, + 0.11461133762026504, + 0.2735787315785613, + 0.8976394192594006, + -0.3217489381587264, + -0.12599909290643233 + ], + 0.9171540141105652 + ], + [ + [ + 0.04962099868032025, + 0.034412460355165216, + 0.12820116682673172, + 0.13398141364652197, + 0.987795876738232, + 0.07293668015915039, + -0.031440855325344075 + ], + 0.916837751865387 + ], + [ + [ + -0.05023984831598712, + -0.04565647435366848, + 0.12231841190481857, + 0.1801434115432674, + -0.9733922374889966, + -0.12008828460928028, + -0.07506468659308609 + ], + 0.9164584279060364 + ], + [ + [ + 0.061870960175719726, + 0.03556662607014439, + 0.11819525315190033, + 0.23650188479076834, + 0.9677670156942701, + -0.05512520537357912, + -0.06674633740619351 + ], + 0.9161152243614197 + ], + [ + [ + -0.0006810501155362825, + -0.10680685010730961, + 0.10540973647261337, + 0.3865657292456936, + -0.7515978809188641, + 0.5219331417986713, + 0.11512322903387812 + ], + 0.9160616993904114 + ], + [ + [ + 0.050859881221976745, + -0.010415778541860373, + 0.12191441162253097, + 0.06542911080135891, + -0.12949876241298508, + -0.9894032507185482, + 0.005505402875253793 + ], + 0.9160582423210144 + ], + [ + [ + 0.0064266879406838315, + -0.058381127240059165, + 0.11649900926972107, + 0.06284761322941818, + -0.7425558181165606, + 0.6646426965937168, + 0.053954799204923486 + ], + 0.9158353805541992 + ], + [ + [ + -0.047353485942158234, + -0.038963591726419715, + 0.12416572375918106, + 0.15783308338994792, + -0.6126108553378408, + 0.7608145822174672, + -0.144768191240761 + ], + 0.9155354499816895 + ], + [ + [ + 0.04389995488497304, + -0.04691294771611431, + 0.12266885741377548, + 0.052716795071530174, + -0.13446283957628957, + -0.9672556802739399, + -0.208703457729539 + ], + 0.9144682884216309 + ], + [ + [ + -0.026109708816084393, + -0.04847452235400417, + 0.13451513155127243, + 0.03881261331712684, + -0.8454901658576949, + -0.529126996855533, + -0.06053578845664199 + ], + 0.9133554100990295 + ], + [ + [ + -0.07139688950804186, + 0.0278831850272443, + 0.12284339471483902, + 0.1375975462314471, + -0.06011688169892157, + 0.9648269482363665, + -0.21578191713575778 + ], + 0.9122132062911987 + ], + [ + [ + 0.055636437266793716, + 0.01949932794094345, + 0.12982573612356857, + 0.11809223439137347, + -0.9213051509242811, + -0.3571326025096426, + 0.09852587112799427 + ], + 0.9110199809074402 + ], + [ + [ + 0.013145874842730035, + 0.05889157014906666, + 0.13116193814898208, + 0.11500279550398822, + 0.8351177507429028, + 0.5377926742218143, + -0.01147775996142079 + ], + 0.9103549718856812 + ], + [ + [ + 0.06726483035060453, + 0.0412593390327718, + 0.11521241320992187, + 0.2670542207109403, + 0.9579225609841123, + -0.03440152125812079, + -0.09941300565438488 + ], + 0.9099195003509521 + ], + [ + [ + 0.0422101930079131, + 0.04860861408531925, + 0.12552520139837936, + 0.19813421653459398, + 0.9746301814498188, + 0.10317603679688472, + -0.013912119759536082 + ], + 0.9096544981002808 + ], + [ + [ + 0.05467920902344273, + 0.041477428702714654, + 0.120546850103385, + 0.2510089418171453, + 0.9662858313713348, + -0.04061873339450556, + -0.04045147359826947 + ], + 0.9090521931648254 + ], + [ + [ + 0.036071331828561294, + 0.05482184696018955, + 0.12469283743525222, + 0.18719348626905022, + 0.9595016656996205, + 0.21049267855175285, + 0.002825684731356735 + ], + 0.9083559513092041 + ], + [ + [ + 0.03628521192046689, + -0.03201527711927631, + 0.1241840223851271, + 0.06581464536678751, + -0.510517993208959, + -0.8557629470767799, + 0.052053717212178725 + ], + 0.9082083106040955 + ], + [ + [ + 0.09664907830926465, + 0.023419391317370145, + 0.0963057379307814, + 0.3221725671308957, + 0.8945563281329573, + -0.13932244908120522, + -0.27670032158923197 + ], + 0.9077269434928894 + ], + [ + [ + -0.03583178517249538, + -0.035934766800997046, + 0.1334727506222792, + 0.03394280562341746, + -0.3660251768228171, + 0.9297018870907591, + 0.022975139131628634 + ], + 0.9075480103492737 + ], + [ + [ + -0.008130837574872504, + 0.04258513259709141, + 0.13128353162432388, + 0.1686703376911335, + 0.9472814498057147, + -0.2602975027911623, + -0.08033294515842725 + ], + 0.9064972996711731 + ], + [ + [ + -0.060674770146879685, + 0.02390712494969627, + 0.13017387195254043, + 0.13681157861029808, + 0.5744671735307575, + 0.7889856422084973, + 0.16962227118685225 + ], + 0.9054186940193176 + ], + [ + [ + -0.0269141684922309, + -0.06824064073145131, + 0.13307985170508102, + 0.19656237446341326, + -0.7208828918244202, + 0.6641270463230327, + -0.02502709656372933 + ], + 0.9051178693771362 + ], + [ + [ + 0.011897438794103135, + 0.04991966667592785, + 0.13745234413767532, + 0.12053218013384281, + 0.7599362480749559, + -0.6364090933294396, + -0.05433560841237675 + ], + 0.9040673971176147 + ], + [ + [ + 0.042075132608142364, + 0.03154904576957485, + 0.12952203555727676, + 0.07480797462971783, + -0.8909927196271792, + -0.4417258428654958, + 0.07358002614792869 + ], + 0.9036338329315186 + ], + [ + [ + 0.0228343304541974, + 0.08446063282907268, + 0.10280878348971084, + 0.14005511147842128, + 0.7709651021024204, + 0.557028183490501, + -0.2751671853369231 + ], + 0.9015857577323914 + ], + [ + [ + -0.033695849001678956, + 0.04627470108688137, + 0.120570602554328, + 0.020118863006834267, + -0.23036540072557712, + -0.9675226812246156, + 0.10211206988298202 + ], + 0.9012141823768616 + ], + [ + [ + -0.05609276366260959, + 0.021541086910369604, + 0.13365312917853073, + 0.1190245153902723, + 0.9906292154583898, + -0.020693832155988717, + 0.06370782940193376 + ], + 0.901012659072876 + ], + [ + [ + -0.03443794545558406, + -0.05323745128690937, + 0.1366407523932524, + 0.07069487026872286, + -0.8702148176536167, + -0.4815389553929948, + -0.07647640742604575 + ], + 0.8991360068321228 + ], + [ + [ + -0.020310076296600827, + 0.04545538681566975, + 0.11598768337393478, + 0.11067187022817873, + -0.6874828724201043, + 0.7047737882280547, + -0.13569430605547333 + ], + 0.8991281986236572 + ], + [ + [ + -0.044950226664814484, + 0.017525041429403036, + 0.13056139155054763, + 0.110051385187648, + 0.9924907789065838, + -0.042621259823340724, + 0.03215858539727908 + ], + 0.8986617922782898 + ], + [ + [ + -0.01671686244038058, + -0.043652014853355674, + 0.12736841543341354, + 0.06670877357296807, + 0.6779673756649437, + 0.7216918548046943, + 0.1227641795107175 + ], + 0.8976139426231384 + ], + [ + [ + 0.004104494239863624, + 0.03925187694847843, + 0.12660644455576614, + 0.034788577341265746, + -0.7324286404259314, + -0.6791097077897502, + 0.033882832763994626 + ], + 0.8965624570846558 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/mug/00019/metadata.json b/Objects/RoboDojo/Rigid/mug/00019/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..99977346b61e69e4d86c153921479422218ac2b0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/mug/00019/metadata.json @@ -0,0 +1,146 @@ +{ + "uuid": "d0723e69-9917-4aef-9884-4a5515450c06", + "physics": { + "mass": 0.5, + "friction": 0.3 + }, + "geometry": { + "faces": 537455, + "vertices": 334310, + "aligned_bbox": { + "vertices": [ + [ + -0.036, + -0.0359, + -0.0389 + ], + [ + -0.036, + -0.0359, + 0.0389 + ], + [ + -0.036, + 0.036, + -0.0389 + ], + [ + -0.036, + 0.036, + 0.0389 + ], + [ + 0.0359, + -0.0359, + -0.0389 + ], + [ + 0.0359, + -0.0359, + 0.0389 + ], + [ + 0.0359, + 0.036, + -0.0389 + ], + [ + 0.0359, + 0.036, + 0.0389 + ] + ], + "extents": [ + 0.0719, + 0.0718, + 0.0777 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.036, + -0.0359, + -0.0389 + ], + [ + -0.036, + -0.0359, + 0.0389 + ], + [ + -0.036, + 0.036, + -0.0389 + ], + [ + -0.036, + 0.036, + 0.0389 + ], + [ + 0.0359, + -0.0359, + -0.0389 + ], + [ + 0.0359, + -0.0359, + 0.0389 + ], + [ + 0.0359, + 0.036, + -0.0389 + ], + [ + 0.0359, + 0.036, + 0.0389 + ] + ], + "extents": [ + 0.0719, + 0.0718, + 0.0777 + ] + }, + "radius": 0.0484 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0004, + -0.0004, + 0.0 + ], + "projection_circle": { + "center": [ + -0.0001, + 0.0, + -0.0389, + 1.0, + -0.0004, + 0.0004, + -0.0 + ], + "radius": 0.0362 + }, + "contact_circle": { + "center": [ + -0.0001, + -0.0, + -0.0389, + 1.0, + -0.0004, + 0.0004, + -0.0 + ], + "radius": 0.022 + } + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/multiplication/00000/metadata.json b/Objects/RoboDojo/Rigid/multiplication/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..87953ec1d3750bb295c25fb1a4c95fb94535184b --- /dev/null +++ b/Objects/RoboDojo/Rigid/multiplication/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.25 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03, + -0.03, + -0.004 + ], + [ + -0.03, + -0.03, + 0.0041 + ], + [ + -0.03, + 0.03, + -0.004 + ], + [ + -0.03, + 0.03, + 0.0041 + ], + [ + 0.03, + -0.03, + -0.004 + ], + [ + 0.03, + -0.03, + 0.0041 + ], + [ + 0.03, + 0.03, + -0.004 + ], + [ + 0.03, + 0.03, + 0.0041 + ] + ], + "extents": [ + 0.06, + 0.06, + 0.0081 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0292, + 0.0307, + 0.0041 + ], + [ + -0.0307, + -0.0292, + 0.0041 + ], + [ + 0.0307, + 0.0292, + 0.0041 + ], + [ + 0.0292, + -0.0307, + 0.0041 + ], + [ + -0.0292, + 0.0307, + -0.004 + ], + [ + -0.0307, + -0.0292, + -0.004 + ], + [ + 0.0307, + 0.0292, + -0.004 + ], + [ + 0.0292, + -0.0307, + -0.004 + ] + ], + "extents": [ + 0.0614, + 0.0614, + 0.0081 + ] + } + }, + "active": {}, + "description": [ + "button in flat cylinder", + "circular top with slight dome button for activating a circuit", + "push button for press-to-operate control tasks", + "brushed steel push button for press-to-operate control", + "coin-sized metallic silver edge object for triggering a signal", + "coin-sized solid alloy control button for press-to-operate control", + "palmable push button used for press-to-operate control", + "solid alloy flat cylinder push button", + "circular top with slight dome palmable control button", + "control button intended for triggering a signal", + "metallic silver edge coin-sized solid alloy object", + "control button made of solid alloy", + "thin disc control button for press-to-operate control", + "button with solid alloy construction", + "palmable dark gray top machined metal circular top with slight dome object", + "button in palmable", + "push button sized palmable", + "control button appropriate for triggering a signal", + "control button commonly used for activating a circuit", + "push button with disc with beveled edge profile", + "control button featuring machined metal build", + "push button for press-to-operate control use", + "control button with light gray rim color", + "light gray rim disc with beveled edge object for activating a circuit", + "push button colored light gray rim", + "control button colored dark gray top", + "thin disc circular top with slight dome object for triggering a signal", + "flat cylinder push button used for triggering a signal", + "solid alloy disc with beveled edge for triggering a signal", + "push button optimized for press-to-operate control", + "metallic silver edge coin-sized disc with beveled edge button", + "circular top with slight dome push button used for activating a circuit", + "push button sized as thin disc", + "button intended for activating a circuit usage", + "thin disc dark gray top brushed steel push button", + "push button suitable for triggering a signal", + "palmable light gray rim circular top with slight dome object", + "solid alloy button for activating a circuit", + "dark gray top palmable disc with beveled edge control button", + "brushed steel object used for press-to-operate control", + "dark gray top object used for triggering a signal", + "light gray rim object used for press-to-operate control", + "push button commonly found in coin-sized size", + "coin-sized dark gray top object for triggering a signal", + "button made of brushed steel", + "push button with solid alloy body", + "button optimized for triggering a signal", + "coin-sized button used for press-to-operate control", + "machined metal control button suitable for activating a circuit", + "button sized thin disc", + "palmable dark gray top machined metal push button", + "coin-sized light gray rim control button", + "push button ideal for press-to-operate control", + "palmable circular top with slight dome object", + "control button for activating a circuit scenarios", + "dark gray top button designed for press-to-operate control", + "coin-sized metallic silver edge control button", + "button colored metallic silver edge", + "control button commonly featuring brushed steel", + "coin-sized solid alloy push button", + "control button for press-to-operate control", + "thin disc flat cylinder button", + "control button commonly found in coin-sized size", + "push button for triggering a signal activities", + "push button sized as palmable", + "metallic silver edge object used for triggering a signal", + "metallic silver edge flat cylinder object for triggering a signal", + "brushed steel object for press-to-operate control", + "button designed for activating a circuit", + "metallic silver edge solid alloy circular top with slight dome object", + "push button with flat cylinder profile", + "button with brushed steel construction", + "machined metal button for press-to-operate control", + "control button for triggering a signal use", + "dark gray top push button for activating a circuit", + "press-to-operate control use of control button", + "control button for triggering a signal tasks", + "button for triggering a signal scenarios", + "palmable brushed steel object", + "palmable dark gray top solid alloy disc with beveled edge object", + "control button commonly featuring machined metal", + "flat cylinder object made of machined metal", + "dark gray top disc with beveled edge object for activating a circuit", + "palmable object used for press-to-operate control", + "push button for press-to-operate control", + "flat cylinder control button used for press-to-operate control", + "circular top with slight dome brushed steel control button for triggering a signal", + "push button with machined metal surface", + "button with circular top with slight dome geometry", + "button sized as coin-sized", + "solid alloy control button", + "coin-sized dark gray top flat cylinder object", + "push button primarily used for activating a circuit", + "disc with beveled edge-shaped button", + "button intended for press-to-operate control usage", + "thin disc push button perfect for triggering a signal", + "brushed steel flat cylinder for press-to-operate control", + "button suitable for press-to-operate control", + "push button shaped like a disc with beveled edge", + "light gray rim button for activating a circuit" + ], + "caption": { + "color": [ + "dark gray top", + "light gray rim", + "metallic silver edge" + ], + "function": [ + "activating a circuit", + "triggering a signal", + "press-to-operate control" + ], + "material": [ + "machined metal", + "brushed steel", + "solid alloy" + ], + "name": [ + "button", + "push button", + "control button" + ], + "shape": [ + "flat cylinder", + "disc with beveled edge", + "circular top with slight dome" + ], + "size": [ + "coin-sized", + "thin disc", + "palmable" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/multiplication/00000/object.usdz b/Objects/RoboDojo/Rigid/multiplication/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..7421448986d8a2541db24174872b37805b925a18 Binary files /dev/null and b/Objects/RoboDojo/Rigid/multiplication/00000/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/oil_pen/00000/metadata.json b/Objects/RoboDojo/Rigid/oil_pen/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..093fe647f84d527c4418e728195d53c595191629 --- /dev/null +++ b/Objects/RoboDojo/Rigid/oil_pen/00000/metadata.json @@ -0,0 +1,259 @@ +{ + "physics": { + "mass": 0.02, + "friction": 0.3 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0177, + -0.0124, + -0.0751 + ], + [ + -0.0177, + -0.0124, + 0.0749 + ], + [ + -0.0177, + 0.0125, + -0.0751 + ], + [ + -0.0177, + 0.0125, + 0.0749 + ], + [ + 0.0175, + -0.0124, + -0.0751 + ], + [ + 0.0175, + -0.0124, + 0.0749 + ], + [ + 0.0175, + 0.0125, + -0.0751 + ], + [ + 0.0175, + 0.0125, + 0.0749 + ] + ], + "extents": [ + 0.0352, + 0.0249, + 0.15 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0176, + 0.0112, + 0.0755 + ], + [ + 0.0174, + 0.0161, + -0.0748 + ], + [ + -0.0177, + 0.0112, + 0.0755 + ], + [ + -0.0178, + 0.0161, + -0.0748 + ], + [ + 0.0176, + -0.0135, + 0.0747 + ], + [ + 0.0175, + -0.0086, + -0.0756 + ], + [ + -0.0177, + -0.0135, + 0.0747 + ], + [ + -0.0178, + -0.0086, + -0.0756 + ] + ], + "extents": [ + 0.0354, + 0.0296, + 0.1511 + ] + } + }, + "active": {}, + "passive": { + "functional": { + "check": { + "frame": [ + [ + 0.0, + 0.001, + -0.074, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + }, + "support": {} + }, + "description": [ + "eyeliner pen built from smooth glossy finish", + "slim rectangular purple eyeliner perfect for applying precise eyeliner lines", + "eyeliner pen with plastic body", + "slim rectangular tapered rectangle purple eyeliner", + "glossy black purple eyeliner used for creating sharp winged looks", + "slim rectangular tapered rectangle point liner for applying precise eyeliner lines", + "deep purple smooth glossy finish tapered rectangle object", + "hard polymer point liner used for applying precise eyeliner lines", + "about 4 inches tall smooth glossy finish object", + "defining eye shape use of purple eyeliner", + "palm-sized glossy black slightly angled cap for defining eye shape", + "smooth glossy finish tapered rectangle for applying precise eyeliner lines", + "palm-sized smooth glossy finish object", + "eyeliner pen sized as palm-sized", + "glossy black purple eyeliner used for applying precise eyeliner lines", + "glossy black point liner used for defining eye shape", + "purple eyeliner with hard polymer surface", + "silver metallic base eyeliner pen typically used for applying precise eyeliner lines", + "purple eyeliner appropriate for defining eye shape use", + "plastic tapered rectangle point liner", + "glossy black eyeliner pen for defining eye shape", + "about 4 inches tall glossy black plastic point liner", + "palm-sized plastic point liner", + "applying precise eyeliner lines use of purple eyeliner", + "eyeliner pen appropriate for creating sharp winged looks", + "smooth glossy finish eyeliner pen for defining eye shape", + "purple eyeliner with hard polymer body", + "slim rectangular flat sides object for applying precise eyeliner lines", + "silver metallic base palm-sized plastic object", + "purple eyeliner for applying precise eyeliner lines activities", + "purple eyeliner colored silver metallic base", + "hard polymer point liner for creating sharp winged looks", + "plastic eyeliner pen suitable for defining eye shape", + "eyeliner pen for applying precise eyeliner lines tasks", + "point liner with tapered rectangle geometry", + "purple eyeliner for defining eye shape with smooth glossy finish", + "eyeliner pen made of smooth glossy finish", + "slim rectangular hard polymer purple eyeliner", + "plastic object for applying precise eyeliner lines", + "point liner with glossy black exterior", + "silver metallic base flat sides point liner used for applying precise eyeliner lines", + "about 4 inches tall tapered rectangle object for creating sharp winged looks", + "tapered rectangle purple eyeliner for applying precise eyeliner lines", + "smooth glossy finish purple eyeliner", + "eyeliner pen sized about 4 inches tall", + "about 4 inches tall point liner perfect for defining eye shape", + "point liner with hard polymer construction", + "glossy black flat sides eyeliner pen", + "hard polymer flat sides for applying precise eyeliner lines", + "purple eyeliner in tapered rectangle", + "eyeliner pen featuring slightly angled cap shape", + "smooth glossy finish silver metallic base purple eyeliner", + "purple eyeliner featuring plastic build", + "eyeliner pen sized slim rectangular", + "glossy black purple eyeliner typically used for applying precise eyeliner lines", + "deep purple palm-sized plastic object", + "palm-sized hard polymer tapered rectangle for creating sharp winged looks", + "about 4 inches tall smooth glossy finish purple eyeliner for applying precise eyeliner lines", + "about 4 inches tall flat sides object", + "applying precise eyeliner lines use of point liner", + "purple eyeliner for creating sharp winged looks with smooth glossy finish", + "about 4 inches tall object used for defining eye shape", + "deep purple slightly angled cap purple eyeliner used for applying precise eyeliner lines", + "plastic deep purple purple eyeliner", + "eyeliner pen in tapered rectangle", + "smooth glossy finish flat sides eyeliner pen", + "purple eyeliner sized about 4 inches tall", + "silver metallic base purple eyeliner used for creating sharp winged looks", + "about 4 inches tall silver metallic base plastic slightly angled cap object", + "glossy black tapered rectangle object for defining eye shape", + "eyeliner pen featuring hard polymer build", + "about 4 inches tall glossy black flat sides object", + "slim rectangular point liner used for defining eye shape", + "slightly angled cap-shaped point liner", + "slightly angled cap object made of smooth glossy finish", + "glossy black slim rectangular plastic object", + "slim rectangular tapered rectangle object for applying precise eyeliner lines", + "slim rectangular deep purple object for applying precise eyeliner lines", + "palm-sized point liner perfect for applying precise eyeliner lines", + "slim rectangular purple eyeliner for creating sharp winged looks", + "applying precise eyeliner lines with point liner", + "slightly angled cap smooth glossy finish eyeliner pen for creating sharp winged looks", + "deep purple flat sides point liner", + "eyeliner pen made from plastic", + "eyeliner pen featuring flat sides shape", + "flat sides hard polymer object for defining eye shape", + "purple eyeliner made from hard polymer", + "smooth glossy finish tapered rectangle eyeliner pen", + "purple eyeliner sized as about 4 inches tall", + "silver metallic base purple eyeliner typically used for defining eye shape", + "eyeliner pen appropriate for applying precise eyeliner lines use", + "silver metallic base purple eyeliner suitable for defining eye shape", + "smooth glossy finish point liner used for applying precise eyeliner lines", + "silver metallic base flat sides object for defining eye shape", + "glossy black slightly angled cap object for applying precise eyeliner lines", + "palm-sized eyeliner pen perfect for applying precise eyeliner lines", + "slim rectangular eyeliner pen used for creating sharp winged looks", + "slim rectangular tapered rectangle point liner", + "point liner commonly found in about 4 inches tall size", + "deep purple purple eyeliner typically used for creating sharp winged looks" + ], + "caption": { + "color": [ + "deep purple", + "glossy black", + "silver metallic base" + ], + "function": [ + "applying precise eyeliner lines", + "creating sharp winged looks", + "defining eye shape" + ], + "material": [ + "plastic", + "smooth glossy finish", + "hard polymer" + ], + "name": [ + "point liner", + "eyeliner pen", + "purple eyeliner" + ], + "shape": [ + "tapered rectangle", + "flat sides", + "slightly angled cap" + ], + "size": [ + "palm-sized", + "slim rectangular", + "about 4 inches tall" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/oil_pen/00001/metadata.json b/Objects/RoboDojo/Rigid/oil_pen/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..2d05087d99dc8451fc225aa24f896d88f9a5e6b5 --- /dev/null +++ b/Objects/RoboDojo/Rigid/oil_pen/00001/metadata.json @@ -0,0 +1,258 @@ +{ + "physics": { + "mass": 0.015, + "friction": 0.3 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0165, + -0.0115, + -0.0701 + ], + [ + -0.0165, + -0.0115, + 0.0699 + ], + [ + -0.0165, + 0.0117, + -0.0701 + ], + [ + -0.0165, + 0.0117, + 0.0699 + ], + [ + 0.0164, + -0.0115, + -0.0701 + ], + [ + 0.0164, + -0.0115, + 0.0699 + ], + [ + 0.0164, + 0.0117, + -0.0701 + ], + [ + 0.0164, + 0.0117, + 0.0699 + ] + ], + "extents": [ + 0.0329, + 0.0232, + 0.14 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0164, + 0.0105, + 0.0704 + ], + [ + 0.0163, + 0.015, + -0.0698 + ], + [ + -0.0165, + 0.0104, + 0.0705 + ], + [ + -0.0166, + 0.015, + -0.0698 + ], + [ + 0.0164, + -0.0126, + 0.0697 + ], + [ + 0.0163, + -0.008, + -0.0706 + ], + [ + -0.0165, + -0.0126, + 0.0697 + ], + [ + -0.0166, + -0.008, + -0.0705 + ] + ], + "extents": [ + 0.033, + 0.0276, + 0.1411 + ] + } + }, + "active": {}, + "passive": { + "functional": { + "check": { + "frame": [ + [ + 0.0, + 0.001, + -0.067, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + }, + "support": {} + }, + "description": [ + "highlighter commonly found in palm-sized size", + "slim rectangular glossy plastic point liner highlighter", + "point liner highlighter sized as about 15 cm tall", + "silver-gray base Pentel highlighter suitable for highlighting text", + "slim rectangular smooth hard plastic point liner highlighter for highlighting text", + "Pentel highlighter commonly used for marking important passages", + "Pentel highlighter for drawing thin lines use", + "glossy plastic Pentel highlighter", + "highlighter made of glossy plastic", + "silver-gray base smooth hard plastic flat sides with slight taper object", + "silver-gray base about 15 cm tall flat sides with slight taper point liner highlighter", + "slim rectangular Pentel highlighter used for highlighting text", + "teal blue body tall rectangular prism object for drawing thin lines", + "silver-gray base point liner highlighter typically used for highlighting text", + "Pentel highlighter with rounded top edge geometry", + "highlighting text with Pentel highlighter", + "teal blue body palm-sized glossy plastic object", + "slim rectangular light blue cap smooth hard plastic tall rectangular prism object", + "silver-gray base slim rectangular rounded top edge highlighter", + "Pentel highlighter intended for highlighting text", + "highlighter primarily used for marking important passages", + "palm-sized silver-gray base object for marking important passages", + "light blue cap flat sides with slight taper Pentel highlighter used for drawing thin lines", + "Pentel highlighter with flat sides with slight taper profile", + "rounded top edge slim rectangular highlighter", + "point liner highlighter with smooth hard plastic body", + "highlighter featuring tall rectangular prism shape", + "smooth hard plastic point liner highlighter for drawing thin lines", + "about 15 cm tall flat sides with slight taper highlighter", + "Pentel highlighter made from smooth hard plastic", + "Pentel highlighter sized as slim rectangular", + "silver-gray base rounded top edge object for marking important passages", + "highlighter featuring glossy plastic build", + "glossy plastic flat sides with slight taper object used for drawing thin lines", + "slim rectangular light blue cap Pentel highlighter", + "highlighter with slim rectangular dimensions", + "point liner highlighter for highlighting text with smooth hard plastic", + "light blue cap object used for drawing thin lines", + "glossy plastic object for marking important passages", + "silver-gray base point liner highlighter for highlighting text", + "about 15 cm tall glossy plastic highlighter", + "silver-gray base slim rectangular smooth hard plastic object", + "highlighter designed for drawing thin lines", + "Pentel highlighter with rounded top edge profile", + "teal blue body point liner highlighter suitable for highlighting text", + "about 15 cm tall silver-gray base smooth hard plastic Pentel highlighter", + "teal blue body highlighter for drawing thin lines", + "silver-gray base tall rectangular prism object for marking important passages", + "teal blue body object used for drawing thin lines", + "Pentel highlighter optimized for drawing thin lines", + "highlighter in about 15 cm tall", + "teal blue body tall rectangular prism highlighter", + "about 15 cm tall tall rectangular prism point liner highlighter", + "rounded top edge highlighter ideal for highlighting text", + "point liner highlighter suitable for marking important passages", + "about 15 cm tall smooth hard plastic object", + "teal blue body flat sides with slight taper object for marking important passages", + "Pentel highlighter with about 15 cm tall dimensions", + "Pentel highlighter sized palm-sized", + "teal blue body palm-sized Pentel highlighter for drawing thin lines", + "Pentel highlighter with smooth hard plastic construction", + "palm-sized rounded top edge highlighter", + "tall rectangular prism highlighter for highlighting text", + "point liner highlighter featuring glossy plastic build", + "Pentel highlighter made of smooth hard plastic", + "about 15 cm tall rounded top edge object", + "highlighter for marking important passages", + "highlighter with silver-gray base exterior", + "silver-gray base Pentel highlighter typically used for highlighting text", + "rounded top edge object made of smooth hard plastic", + "slim rectangular silver-gray base smooth hard plastic Pentel highlighter", + "light blue cap palm-sized tall rectangular prism Pentel highlighter", + "point liner highlighter for drawing thin lines with smooth hard plastic", + "tall rectangular prism glossy plastic object for highlighting text", + "Pentel highlighter for highlighting text with glossy plastic", + "rounded top edge glossy plastic point liner highlighter for drawing thin lines", + "Pentel highlighter appropriate for marking important passages", + "silver-gray base highlighter used for marking important passages", + "Pentel highlighter intended for drawing thin lines", + "highlighter with glossy plastic construction", + "smooth hard plastic tall rectangular prism highlighter", + "point liner highlighter commonly found in palm-sized size", + "Pentel highlighter in silver-gray base", + "flat sides with slight taper highlighter ideal for marking important passages", + "Pentel highlighter commonly found in about 15 cm tall size", + "Pentel highlighter featuring flat sides with slight taper shape", + "Pentel highlighter optimized for highlighting text", + "highlighter used to highlighting text", + "palm-sized smooth hard plastic tall rectangular prism for drawing thin lines", + "Pentel highlighter suitable for drawing thin lines", + "teal blue body highlighter suitable for drawing thin lines", + "palm-sized smooth hard plastic Pentel highlighter", + "highlighter appropriate for highlighting text", + "Pentel highlighter in teal blue body", + "rounded top edge smooth hard plastic object for marking important passages", + "teal blue body object used for highlighting text", + "point liner highlighter used to drawing thin lines", + "silver-gray base highlighter typically used for drawing thin lines", + "silver-gray base smooth hard plastic flat sides with slight taper highlighter", + "about 15 cm tall silver-gray base point liner highlighter" + ], + "caption": { + "color": [ + "teal blue body", + "light blue cap", + "silver-gray base" + ], + "function": [ + "highlighting text", + "marking important passages", + "drawing thin lines" + ], + "material": [ + "glossy plastic", + "smooth hard plastic" + ], + "name": [ + "highlighter", + "point liner highlighter", + "Pentel highlighter" + ], + "shape": [ + "tall rectangular prism", + "rounded top edge", + "flat sides with slight taper" + ], + "size": [ + "palm-sized", + "about 15 cm tall", + "slim rectangular" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/paper_ball/00000/metadata.json b/Objects/RoboDojo/Rigid/paper_ball/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..4d361e201235a516f5fa11b5f04134384901e237 --- /dev/null +++ b/Objects/RoboDojo/Rigid/paper_ball/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0304, + -0.021, + -0.0213 + ], + [ + -0.0304, + -0.021, + 0.0213 + ], + [ + -0.0304, + 0.0211, + -0.0213 + ], + [ + -0.0304, + 0.0211, + 0.0213 + ], + [ + 0.0304, + -0.021, + -0.0213 + ], + [ + 0.0304, + -0.021, + 0.0213 + ], + [ + 0.0304, + 0.0211, + -0.0213 + ], + [ + 0.0304, + 0.0211, + 0.0213 + ] + ], + "extents": [ + 0.0608, + 0.0421, + 0.0427 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0349, + 0.003, + 0.0125 + ], + [ + 0.0059, + -0.0125, + 0.0359 + ], + [ + -0.0129, + 0.037, + -0.0034 + ], + [ + 0.0279, + 0.0216, + 0.02 + ], + [ + -0.0239, + -0.0202, + -0.0219 + ], + [ + 0.0169, + -0.0356, + 0.0014 + ], + [ + -0.0019, + 0.0139, + -0.0378 + ], + [ + 0.0389, + -0.0015, + -0.0145 + ] + ], + "extents": [ + 0.0737, + 0.0727, + 0.0737 + ] + } + }, + "active": {}, + "description": [ + "irregular sphere-shaped wadded paper", + "muted beige object used for disposing of unwanted notes", + "crumpled paper ball optimized for temporary placeholder", + "wadded paper for stress relief through squeezing tasks", + "small ball glossy coated paper crumpled paper ball for stress relief through squeezing", + "light brown object used for temporary placeholder", + "glossy coated paper object used for temporary placeholder", + "faceted lump object used for stress relief through squeezing", + "scrunched paper for stress relief through squeezing scenarios", + "wadded paper typically made of crumpled paper", + "wadded paper for disposing of unwanted notes activities", + "small ball tan deeply creased orb object", + "tan glossy coated paper irregular sphere object", + "tan crumpled paper ball typically used for temporary placeholder", + "faceted lump wadded paper used for disposing of unwanted notes", + "muted beige glossy coated paper irregular sphere wadded paper", + "crumpled paper ball appropriate for disposing of unwanted notes use", + "glossy coated paper faceted lump object used for temporary placeholder", + "glossy coated paper object used for disposing of unwanted notes", + "deeply creased orb wadded paper ideal for stress relief through squeezing", + "fist-sized muted beige wrinkled surface irregular sphere object", + "compact muted beige wadded paper", + "wadded paper in small ball", + "stress relief through squeezing use of wadded paper", + "tan glossy coated paper wadded paper", + "crumpled paper ball featuring glossy coated paper build", + "glossy coated paper crumpled paper ball", + "fist-sized faceted lump object for stress relief through squeezing", + "fist-sized tan wrinkled surface crumpled paper ball", + "scrunched paper sized small ball", + "scrunched paper with compact dimensions", + "fist-sized light brown scrunched paper", + "light brown object used for disposing of unwanted notes", + "crumpled paper ball for stress relief through squeezing scenarios", + "light brown faceted lump object for temporary placeholder", + "compact deeply creased orb scrunched paper for temporary placeholder", + "wadded paper primarily used for disposing of unwanted notes", + "wadded paper commonly featuring wrinkled surface", + "wadded paper in tan", + "crumpled paper ball for disposing of unwanted notes use", + "wadded paper featuring deeply creased orb shape", + "stress relief through squeezing with wadded paper", + "compact muted beige irregular sphere object", + "scrunched paper shaped like a deeply creased orb", + "crumpled paper ball sized compact", + "crumpled paper ball with glossy coated paper construction", + "muted beige deeply creased orb object for temporary placeholder", + "small ball wrinkled surface deeply creased orb for stress relief through squeezing", + "crumpled paper crumpled paper ball suitable for temporary placeholder", + "tan fist-sized glossy coated paper object", + "crumpled paper ball for temporary placeholder tasks", + "wadded paper used to stress relief through squeezing", + "crumpled paper ball primarily used for stress relief through squeezing", + "fist-sized crumpled paper wadded paper", + "crumpled paper ball with faceted lump geometry", + "scrunched paper sized as fist-sized", + "small ball glossy coated paper wadded paper for disposing of unwanted notes", + "crumpled paper scrunched paper", + "crumpled paper ball with fist-sized dimensions", + "wadded paper optimized for disposing of unwanted notes", + "crumpled paper light brown wadded paper", + "irregular sphere object made of glossy coated paper", + "scrunched paper primarily used for disposing of unwanted notes", + "wrinkled surface scrunched paper used for stress relief through squeezing", + "muted beige wadded paper designed for disposing of unwanted notes", + "tan wadded paper used for temporary placeholder", + "fist-sized tan irregular sphere for temporary placeholder", + "muted beige irregular sphere crumpled paper ball used for temporary placeholder", + "crumpled paper ball in faceted lump", + "crumpled paper ball in faceted lump form", + "crumpled paper wadded paper suitable for stress relief through squeezing", + "crumpled paper ball with tan exterior", + "wrinkled surface crumpled paper ball for disposing of unwanted notes", + "disposing of unwanted notes with crumpled paper ball", + "compact object used for temporary placeholder", + "light brown fist-sized scrunched paper for stress relief through squeezing", + "muted beige small ball glossy coated paper object", + "glossy coated paper deeply creased orb crumpled paper ball", + "wrinkled surface scrunched paper for disposing of unwanted notes", + "small ball object used for temporary placeholder", + "wadded paper with faceted lump profile", + "faceted lump-shaped crumpled paper ball", + "crumpled paper ball intended for stress relief through squeezing usage", + "scrunched paper intended for disposing of unwanted notes", + "wadded paper appropriate for stress relief through squeezing", + "crumpled paper ball used to disposing of unwanted notes", + "scrunched paper featuring crumpled paper build", + "scrunched paper optimized for temporary placeholder", + "crumpled paper crumpled paper ball for temporary placeholder", + "compact light brown faceted lump object", + "wrinkled surface deeply creased orb for disposing of unwanted notes", + "scrunched paper for disposing of unwanted notes use", + "disposing of unwanted notes use of scrunched paper", + "compact glossy coated paper irregular sphere for stress relief through squeezing", + "crumpled paper ball designed for disposing of unwanted notes", + "scrunched paper suitable for disposing of unwanted notes", + "glossy coated paper deeply creased orb object used for temporary placeholder", + "crumpled paper ball for disposing of unwanted notes activities", + "small ball deeply creased orb object", + "compact irregular sphere wadded paper for temporary placeholder" + ], + "caption": { + "color": [ + "light brown", + "tan", + "muted beige" + ], + "function": [ + "disposing of unwanted notes", + "stress relief through squeezing", + "temporary placeholder" + ], + "material": [ + "crumpled paper", + "glossy coated paper", + "wrinkled surface" + ], + "name": [ + "crumpled paper ball", + "wadded paper", + "scrunched paper" + ], + "shape": [ + "irregular sphere", + "faceted lump", + "deeply creased orb" + ], + "size": [ + "fist-sized", + "small ball", + "compact" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/paper_ball/00001/metadata.json b/Objects/RoboDojo/Rigid/paper_ball/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..5aa552bb0258f8cb3b9460133d026fe2b00cfb72 --- /dev/null +++ b/Objects/RoboDojo/Rigid/paper_ball/00001/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0172, + -0.0146, + -0.0183 + ], + [ + -0.0172, + -0.0146, + 0.0183 + ], + [ + -0.0172, + 0.0147, + -0.0183 + ], + [ + -0.0172, + 0.0147, + 0.0183 + ], + [ + 0.0171, + -0.0146, + -0.0183 + ], + [ + 0.0171, + -0.0146, + 0.0183 + ], + [ + 0.0171, + 0.0147, + -0.0183 + ], + [ + 0.0171, + 0.0147, + 0.0183 + ] + ], + "extents": [ + 0.0343, + 0.0293, + 0.0366 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0171, + -0.0059, + 0.0187 + ], + [ + -0.0198, + -0.0026, + -0.0166 + ], + [ + 0.008, + -0.0214, + 0.0154 + ], + [ + 0.0054, + -0.0181, + -0.0199 + ], + [ + -0.002, + 0.0184, + 0.0199 + ], + [ + -0.0047, + 0.0217, + -0.0155 + ], + [ + 0.0231, + 0.0029, + 0.0165 + ], + [ + 0.0205, + 0.0062, + -0.0188 + ] + ], + "extents": [ + 0.0429, + 0.0431, + 0.0398 + ] + } + }, + "active": {}, + "description": [ + "deep creases and valleys smooth fired surface crumpled paper sculpture for exploring form through compression", + "roughly 10 cm across light tan irregular crumpled ball for sculptural study of texture", + "dusty olive undertone irregular crumpled ball folded form", + "glossy ceramic folded form suitable for exploring form through compression", + "ceramic crumple designed for artistic display", + "compact irregular crumpled ball crumpled paper sculpture for sculptural study of texture", + "ceramic crumple with dusty olive undertone exterior", + "crumpled paper sculpture with asymmetrical folds geometry", + "crumpled paper sculpture sized as roughly 10 cm across", + "light tan deep creases and valleys crumpled paper sculpture used for artistic display", + "ceramic crumple commonly found in compact size", + "exploring form through compression use of ceramic crumple", + "folded form with smooth fired surface construction", + "irregular crumpled ball object made of glossy ceramic", + "artistic display use of folded form", + "compact glazed clay folded form for sculptural study of texture", + "irregular crumpled ball glossy ceramic folded form for exploring form through compression", + "roughly 10 cm across light tan irregular crumpled ball object", + "irregular crumpled ball object used for sculptural study of texture", + "glossy ceramic irregular crumpled ball for sculptural study of texture", + "muted beige ceramic crumple for artistic display", + "dusty olive undertone fist-sized glossy ceramic object", + "glazed clay irregular crumpled ball crumpled paper sculpture", + "irregular crumpled ball-shaped crumpled paper sculpture", + "folded form with smooth fired surface surface", + "light tan roughly 10 cm across smooth fired surface object", + "smooth fired surface ceramic crumple suitable for sculptural study of texture", + "light tan ceramic crumple suitable for artistic display", + "fist-sized folded form used for sculptural study of texture", + "sculptural study of texture with crumpled paper sculpture", + "ceramic crumple commonly used for artistic display", + "muted beige roughly 10 cm across ceramic crumple for artistic display", + "crumpled paper sculpture for sculptural study of texture activities", + "folded form featuring deep creases and valleys shape", + "dusty olive undertone folded form typically used for artistic display", + "muted beige object used for exploring form through compression", + "muted beige deep creases and valleys folded form used for artistic display", + "crumpled paper sculpture in irregular crumpled ball", + "fist-sized light tan asymmetrical folds object", + "smooth fired surface muted beige folded form", + "dusty olive undertone compact glossy ceramic object", + "fist-sized light tan glossy ceramic irregular crumpled ball object", + "compact dusty olive undertone irregular crumpled ball object", + "ceramic crumple for sculptural study of texture use", + "glossy ceramic deep creases and valleys folded form", + "fist-sized glossy ceramic ceramic crumple", + "ceramic crumple intended for exploring form through compression", + "asymmetrical folds crumpled paper sculpture ideal for artistic display", + "crumpled paper sculpture intended for exploring form through compression", + "smooth fired surface ceramic crumple suitable for exploring form through compression", + "compact smooth fired surface object", + "folded form used to sculptural study of texture", + "deep creases and valleys glazed clay object for exploring form through compression", + "roughly 10 cm across dusty olive undertone glossy ceramic folded form", + "compact object used for artistic display", + "glazed clay ceramic crumple", + "deep creases and valleys object used for sculptural study of texture", + "ceramic crumple with asymmetrical folds profile", + "sculptural study of texture use of folded form", + "ceramic crumple made of glazed clay", + "asymmetrical folds crumpled paper sculpture for artistic display", + "compact ceramic crumple used for sculptural study of texture", + "folded form in compact", + "fist-sized muted beige ceramic crumple", + "roughly 10 cm across light tan glazed clay irregular crumpled ball object", + "roughly 10 cm across dusty olive undertone crumpled paper sculpture", + "roughly 10 cm across deep creases and valleys folded form", + "crumpled paper sculpture commonly found in roughly 10 cm across size", + "ceramic crumple colored dusty olive undertone", + "folded form ideal for sculptural study of texture", + "light tan roughly 10 cm across deep creases and valleys folded form", + "ceramic crumple with irregular crumpled ball profile", + "folded form with dusty olive undertone exterior", + "glossy ceramic deep creases and valleys object used for artistic display", + "smooth fired surface ceramic crumple for sculptural study of texture", + "crumpled paper sculpture for exploring form through compression use", + "ceramic crumple intended for artistic display usage", + "glossy ceramic deep creases and valleys object used for sculptural study of texture", + "fist-sized irregular crumpled ball object for artistic display", + "dusty olive undertone ceramic crumple for sculptural study of texture", + "compact dusty olive undertone ceramic crumple", + "muted beige glossy ceramic deep creases and valleys folded form", + "roughly 10 cm across glossy ceramic crumpled paper sculpture for sculptural study of texture", + "glazed clay asymmetrical folds ceramic crumple", + "compact irregular crumpled ball folded form", + "fist-sized glossy ceramic irregular crumpled ball for artistic display", + "dusty olive undertone crumpled paper sculpture designed for exploring form through compression", + "roughly 10 cm across light tan deep creases and valleys for sculptural study of texture", + "folded form with light tan color", + "dusty olive undertone crumpled paper sculpture for artistic display", + "dusty olive undertone glazed clay asymmetrical folds folded form", + "folded form primarily used for artistic display", + "deep creases and valleys compact crumpled paper sculpture", + "asymmetrical folds folded form for exploring form through compression", + "folded form intended for artistic display", + "ceramic crumple suitable for artistic display", + "ceramic crumple with glossy ceramic construction", + "roughly 10 cm across object used for exploring form through compression", + "glossy ceramic crumpled paper sculpture suitable for artistic display", + "crumpled paper sculpture made of glazed clay" + ], + "caption": { + "color": [ + "light tan", + "muted beige", + "dusty olive undertone" + ], + "function": [ + "artistic display", + "sculptural study of texture", + "exploring form through compression" + ], + "material": [ + "glossy ceramic", + "glazed clay", + "smooth fired surface" + ], + "name": [ + "crumpled paper sculpture", + "ceramic crumple", + "folded form" + ], + "shape": [ + "irregular crumpled ball", + "deep creases and valleys", + "asymmetrical folds" + ], + "size": [ + "fist-sized", + "compact", + "roughly 10 cm across" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/paper_ball/00002/metadata.json b/Objects/RoboDojo/Rigid/paper_ball/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..4a60cf5265be8853048bfb8028f7c12c4c425f28 --- /dev/null +++ b/Objects/RoboDojo/Rigid/paper_ball/00002/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0229, + -0.0201, + -0.0198 + ], + [ + -0.0229, + -0.0201, + 0.0198 + ], + [ + -0.0229, + 0.0201, + -0.0198 + ], + [ + -0.0229, + 0.0201, + 0.0198 + ], + [ + 0.0228, + -0.0201, + -0.0198 + ], + [ + 0.0228, + -0.0201, + 0.0198 + ], + [ + 0.0228, + 0.0201, + -0.0198 + ], + [ + 0.0228, + 0.0201, + 0.0198 + ] + ], + "extents": [ + 0.0457, + 0.0402, + 0.0396 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0129, + -0.023, + -0.0276 + ], + [ + 0.0181, + 0.0062, + -0.0316 + ], + [ + 0.0031, + -0.0353, + 0.0068 + ], + [ + 0.0341, + -0.0062, + 0.0028 + ], + [ + -0.035, + 0.0033, + -0.0079 + ], + [ + -0.004, + 0.0324, + -0.0119 + ], + [ + -0.019, + -0.009, + 0.0265 + ], + [ + 0.012, + 0.0201, + 0.0225 + ] + ], + "extents": [ + 0.0692, + 0.0677, + 0.0581 + ] + } + }, + "active": {}, + "description": [ + "medium gray paper wad designed for practicing origami or folding", + "fist-sized dark gray shadows irregular sphere for stress relief by squeezing", + "dark gray shadows object used for practicing origami or folding", + "medium gray crumpled paper ball typically used for practicing origami or folding", + "slightly glossy paper paper wad used for disposing of unwanted paper", + "crumpled paper ball for practicing origami or folding scenarios", + "folded and creased ball object used for stress relief by squeezing", + "medium gray wadded paper suitable for stress relief by squeezing", + "paper wad used to disposing of unwanted paper", + "small ball crumpled paper wadded paper", + "paper wad with matte-finish paper body", + "compact medium gray matte-finish paper lumpy rounded mass object", + "fist-sized folded and creased ball object for disposing of unwanted paper", + "slightly glossy paper paper wad", + "lumpy rounded mass object made of slightly glossy paper", + "wadded paper featuring matte-finish paper build", + "paper wad with irregular sphere profile", + "practicing origami or folding use of paper wad", + "medium gray slightly glossy paper folded and creased ball paper wad", + "crumpled paper ball shaped like a irregular sphere", + "small ball irregular sphere object", + "dark gray shadows wadded paper suitable for stress relief by squeezing", + "paper wad made of crumpled paper", + "crumpled paper ball in fist-sized", + "dark gray shadows small ball irregular sphere wadded paper", + "crumpled paper ball for stress relief by squeezing tasks", + "light gray paper wad used for stress relief by squeezing", + "crumpled paper ball sized compact", + "small ball irregular sphere wadded paper for practicing origami or folding", + "light gray compact wadded paper for practicing origami or folding", + "paper wad ideal for stress relief by squeezing", + "small ball light gray slightly glossy paper paper wad", + "compact medium gray wadded paper", + "paper wad built from slightly glossy paper", + "dark gray shadows paper wad designed for disposing of unwanted paper", + "wadded paper with medium gray exterior", + "folded and creased ball object used for disposing of unwanted paper", + "dark gray shadows matte-finish paper folded and creased ball wadded paper", + "compact medium gray irregular sphere for stress relief by squeezing", + "medium gray irregular sphere paper wad used for practicing origami or folding", + "small ball dark gray shadows folded and creased ball for practicing origami or folding", + "compact light gray lumpy rounded mass object", + "paper wad colored medium gray", + "crumpled paper wadded paper", + "wadded paper in dark gray shadows", + "paper wad with lumpy rounded mass geometry", + "folded and creased ball slightly glossy paper object for stress relief by squeezing", + "crumpled paper ball colored dark gray shadows", + "crumpled paper ball with fist-sized dimensions", + "slightly glossy paper wadded paper for stress relief by squeezing", + "fist-sized paper wad perfect for stress relief by squeezing", + "fist-sized medium gray irregular sphere object", + "crumpled paper ball optimized for stress relief by squeezing", + "matte-finish paper folded and creased ball paper wad", + "light gray fist-sized lumpy rounded mass crumpled paper ball", + "medium gray compact folded and creased ball wadded paper", + "crumpled paper ball commonly used for stress relief by squeezing", + "fist-sized wadded paper for stress relief by squeezing", + "compact matte-finish paper paper wad", + "wadded paper commonly featuring crumpled paper", + "compact light gray slightly glossy paper wadded paper", + "small ball paper wad for practicing origami or folding", + "medium gray folded and creased ball paper wad used for disposing of unwanted paper", + "wadded paper colored medium gray", + "wadded paper with medium gray color", + "stress relief by squeezing with wadded paper", + "wadded paper primarily used for stress relief by squeezing", + "wadded paper shaped like a irregular sphere", + "crumpled paper ball in lumpy rounded mass form", + "wadded paper for disposing of unwanted paper with crumpled paper", + "light gray compact folded and creased ball wadded paper", + "small ball medium gray irregular sphere object", + "lumpy rounded mass-shaped paper wad", + "paper wad appropriate for stress relief by squeezing use", + "medium gray paper wad used for stress relief by squeezing", + "slightly glossy paper lumpy rounded mass object used for stress relief by squeezing", + "medium gray paper wad used for practicing origami or folding", + "irregular sphere paper wad for practicing origami or folding", + "crumpled paper crumpled paper ball for disposing of unwanted paper", + "dark gray shadows fist-sized crumpled paper object", + "slightly glossy paper wadded paper", + "wadded paper for stress relief by squeezing activities", + "matte-finish paper object for practicing origami or folding", + "paper wad in light gray", + "lumpy rounded mass-shaped crumpled paper ball", + "wadded paper with lumpy rounded mass profile", + "paper wad with small ball dimensions", + "crumpled paper ball primarily used for disposing of unwanted paper", + "crumpled paper ball appropriate for disposing of unwanted paper", + "wadded paper in small ball", + "paper wad with matte-finish paper construction", + "irregular sphere compact paper wad", + "crumpled paper ball typically made of matte-finish paper", + "crumpled paper ball in small ball", + "crumpled paper ball for practicing origami or folding activities", + "paper wad suitable for practicing origami or folding", + "wadded paper featuring folded and creased ball shape", + "compact lumpy rounded mass object for stress relief by squeezing", + "paper wad commonly featuring crumpled paper", + "wadded paper in compact" + ], + "caption": { + "color": [ + "light gray", + "medium gray", + "dark gray shadows" + ], + "function": [ + "disposing of unwanted paper", + "practicing origami or folding", + "stress relief by squeezing" + ], + "material": [ + "crumpled paper", + "matte-finish paper", + "slightly glossy paper" + ], + "name": [ + "crumpled paper ball", + "wadded paper", + "paper wad" + ], + "shape": [ + "irregular sphere", + "folded and creased ball", + "lumpy rounded mass" + ], + "size": [ + "fist-sized", + "small ball", + "compact" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/peeler/00000/metadata.json b/Objects/RoboDojo/Rigid/peeler/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c6e0929e4eab27f8374551f4ebe76d70d799acf3 --- /dev/null +++ b/Objects/RoboDojo/Rigid/peeler/00000/metadata.json @@ -0,0 +1,111 @@ +{ + "physics": { + "mass": 0.05, + "friction": 0.3 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0631, + -0.0288, + -0.0076 + ], + [ + -0.0631, + -0.0288, + 0.0074 + ], + [ + -0.0631, + 0.0288, + -0.0076 + ], + [ + -0.0631, + 0.0288, + 0.0074 + ], + [ + 0.0629, + -0.0288, + -0.0076 + ], + [ + 0.0629, + -0.0288, + 0.0074 + ], + [ + 0.0629, + 0.0288, + -0.0076 + ], + [ + 0.0629, + 0.0288, + 0.0074 + ] + ], + "extents": [ + 0.126, + 0.0576, + 0.015 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0632, + 0.0288, + -0.0061 + ], + [ + 0.0628, + 0.0288, + -0.0082 + ], + [ + -0.0632, + -0.0287, + -0.0061 + ], + [ + 0.0628, + -0.0288, + -0.0082 + ], + [ + -0.0629, + 0.0288, + 0.0089 + ], + [ + 0.063, + 0.0288, + 0.0068 + ], + [ + -0.0629, + -0.0287, + 0.0089 + ], + [ + 0.063, + -0.0288, + 0.0068 + ] + ], + "extents": [ + 0.1262, + 0.0576, + 0.017 + ] + } + }, + "active": {}, + "description": [ + "white vegetable peeler" + ], + "caption": "" +} diff --git a/Objects/RoboDojo/Rigid/pen_holder/00000/metadata.json b/Objects/RoboDojo/Rigid/pen_holder/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..93dc0782bbe40a3c1ea9a06e38a42871687f8acd --- /dev/null +++ b/Objects/RoboDojo/Rigid/pen_holder/00000/metadata.json @@ -0,0 +1,107 @@ +{ + "physics": { + "mass": 0.2, + "static_friction": 0.15 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0401, + -0.0357, + 0.0 + ], + [ + -0.0401, + -0.0357, + 0.12 + ], + [ + -0.0401, + 0.0336, + 0.0 + ], + [ + -0.0401, + 0.0336, + 0.12 + ], + [ + 0.0399, + -0.0357, + 0.0 + ], + [ + 0.0399, + -0.0357, + 0.12 + ], + [ + 0.0399, + 0.0336, + 0.0 + ], + [ + 0.0399, + 0.0336, + 0.12 + ] + ], + "extents": [ + 0.08, + 0.0693, + 0.12 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0401, + -0.0357, + 0.12 + ], + [ + -0.0401, + -0.0357, + 0.0 + ], + [ + 0.0399, + -0.0357, + 0.12 + ], + [ + 0.0399, + -0.0357, + 0.0 + ], + [ + -0.0401, + 0.0336, + 0.12 + ], + [ + -0.0401, + 0.0336, + 0.0 + ], + [ + 0.0399, + 0.0336, + 0.12 + ], + [ + 0.0399, + 0.0336, + 0.0 + ] + ], + "extents": [ + 0.08, + 0.0693, + 0.12 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Rigid/pen_holder/00000/object.usdz b/Objects/RoboDojo/Rigid/pen_holder/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..b91d851c11db0145e869cc115c5bfdba7bbb0d3c Binary files /dev/null and b/Objects/RoboDojo/Rigid/pen_holder/00000/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/phone/00000/metadata.json b/Objects/RoboDojo/Rigid/phone/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c0684f06c1194223cb1e3772af8d596b5570dc5e --- /dev/null +++ b/Objects/RoboDojo/Rigid/phone/00000/metadata.json @@ -0,0 +1,103 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.024, + -0.013, + 0.0 + ], + [ + -0.024, + -0.013, + 0.1147 + ], + [ + -0.024, + 0.0094, + 0.0 + ], + [ + -0.024, + 0.0094, + 0.1147 + ], + [ + 0.0242, + -0.013, + 0.0 + ], + [ + 0.0242, + -0.013, + 0.1147 + ], + [ + 0.0242, + 0.0094, + 0.0 + ], + [ + 0.0242, + 0.0094, + 0.1147 + ] + ], + "extents": [ + 0.0482, + 0.0224, + 0.1147 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0241, + 0.0091, + 0.1148 + ], + [ + 0.0242, + 0.0096, + 0.0001 + ], + [ + -0.0241, + 0.0091, + 0.1148 + ], + [ + -0.024, + 0.0096, + 0.0 + ], + [ + 0.0241, + -0.0132, + 0.1147 + ], + [ + 0.0242, + -0.0128, + -0.0 + ], + [ + -0.0241, + -0.0132, + 0.1147 + ], + [ + -0.024, + -0.0128, + -0.0001 + ] + ], + "extents": [ + 0.0483, + 0.0228, + 0.1149 + ] + } + }, + "active": {} +} diff --git a/Objects/RoboDojo/Rigid/plate/00002/metadata.json b/Objects/RoboDojo/Rigid/plate/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..598ff3497e8d11ff95f1f011eddd2917c7f02d76 --- /dev/null +++ b/Objects/RoboDojo/Rigid/plate/00002/metadata.json @@ -0,0 +1,237 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0648, + -0.0647, + -0.0178 + ], + [ + -0.0648, + -0.0647, + 0.0178 + ], + [ + -0.0648, + 0.0648, + -0.0178 + ], + [ + -0.0648, + 0.0648, + 0.0178 + ], + [ + 0.0647, + -0.0647, + -0.0178 + ], + [ + 0.0647, + -0.0647, + 0.0178 + ], + [ + 0.0647, + 0.0648, + -0.0178 + ], + [ + 0.0647, + 0.0648, + 0.0178 + ] + ], + "extents": [ + 0.1296, + 0.1295, + 0.0357 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0306, + -0.086, + 0.0178 + ], + [ + 0.0859, + 0.0307, + 0.0178 + ], + [ + -0.0861, + -0.0306, + 0.0178 + ], + [ + -0.0307, + 0.0861, + 0.0178 + ], + [ + 0.0306, + -0.086, + -0.0178 + ], + [ + 0.086, + 0.0307, + -0.0178 + ], + [ + -0.0861, + -0.0306, + -0.0178 + ], + [ + -0.0307, + 0.0861, + -0.0178 + ] + ], + "extents": [ + 0.172, + 0.172, + 0.0357 + ] + } + }, + "active": {}, + "description": [ + "wide shallow dome gray ripple bowl used for displaying fruit", + "fits in two hands object used for holding food", + "subtle silver highlights object used for displaying fruit", + "dark gray base glazed stoneware gray ripple bowl", + "serving bowl featuring smooth fired clay build", + "about 6 inches across gray ripple bowl for holding food", + "glazed stoneware flat circular base gray ripple bowl", + "serving bowl with wide shallow dome profile", + "ceramic gray ripple bowl", + "matte gray gray ripple bowl designed for serving salads or grains", + "flat circular base smooth fired clay gray ripple bowl for holding food", + "medium bowl serving bowl perfect for displaying fruit", + "concentric ridged interior gray ripple bowl used for serving salads or grains", + "ceramic bowl appropriate for holding food", + "gray ripple bowl with smooth fired clay surface", + "displaying fruit with ceramic bowl", + "ceramic bowl with about 6 inches across dimensions", + "matte gray ceramic bowl typically used for holding food", + "gray ripple bowl for serving salads or grains use", + "concentric ridged interior ceramic serving bowl for displaying fruit", + "glazed stoneware gray ripple bowl for serving salads or grains", + "dark gray base about 6 inches across glazed stoneware object", + "flat circular base serving bowl for displaying fruit", + "serving bowl with glazed stoneware surface", + "wide shallow dome gray ripple bowl for holding food", + "displaying fruit with serving bowl", + "subtle silver highlights smooth fired clay flat circular base object", + "ceramic bowl with fits in two hands dimensions", + "matte gray object used for holding food", + "ceramic bowl for displaying fruit use", + "serving bowl commonly found in about 6 inches across size", + "serving bowl shaped like a concentric ridged interior", + "serving bowl in flat circular base", + "serving bowl with concentric ridged interior profile", + "medium bowl dark gray base ceramic bowl", + "medium bowl glazed stoneware object", + "serving bowl with glazed stoneware body", + "ceramic bowl designed for serving salads or grains", + "wide shallow dome object used for serving salads or grains", + "gray ripple bowl designed for serving salads or grains", + "matte gray about 6 inches across flat circular base serving bowl", + "subtle silver highlights serving bowl designed for serving salads or grains", + "serving bowl intended for displaying fruit", + "wide shallow dome ceramic bowl for serving salads or grains", + "serving bowl for displaying fruit activities", + "ceramic bowl with matte gray exterior", + "gray ripple bowl in wide shallow dome form", + "gray ripple bowl featuring flat circular base shape", + "gray ripple bowl for serving salads or grains scenarios", + "gray ripple bowl appropriate for holding food use", + "gray ripple bowl commonly used for displaying fruit", + "serving bowl with wide shallow dome geometry", + "subtle silver highlights flat circular base serving bowl used for serving salads or grains", + "flat circular base fits in two hands ceramic bowl", + "serving bowl primarily used for serving salads or grains", + "ceramic bowl for serving salads or grains with glazed stoneware", + "serving bowl for serving salads or grains activities", + "gray ripple bowl for displaying fruit use", + "dark gray base serving bowl designed for serving salads or grains", + "smooth fired clay serving bowl suitable for displaying fruit", + "subtle silver highlights object used for serving salads or grains", + "flat circular base object made of glazed stoneware", + "fits in two hands flat circular base gray ripple bowl for serving salads or grains", + "matte gray ceramic bowl suitable for serving salads or grains", + "ceramic bowl for displaying fruit with smooth fired clay", + "glazed stoneware serving bowl suitable for serving salads or grains", + "gray ripple bowl with concentric ridged interior geometry", + "serving bowl intended for serving salads or grains", + "ceramic bowl commonly used for displaying fruit", + "wide shallow dome gray ripple bowl used for holding food", + "ceramic bowl suitable for displaying fruit", + "dark gray base flat circular base ceramic bowl", + "ceramic bowl appropriate for serving salads or grains use", + "dark gray base about 6 inches across ceramic bowl for serving salads or grains", + "about 6 inches across flat circular base object", + "ceramic ceramic bowl used for displaying fruit", + "serving bowl intended for holding food", + "wide shallow dome glazed stoneware object for serving salads or grains", + "serving bowl commonly featuring smooth fired clay", + "gray ripple bowl designed for displaying fruit", + "ceramic bowl for holding food with smooth fired clay", + "dark gray base object used for displaying fruit", + "gray ripple bowl optimized for displaying fruit", + "smooth fired clay gray ripple bowl for displaying fruit", + "subtle silver highlights fits in two hands gray ripple bowl for displaying fruit", + "displaying fruit use of ceramic bowl", + "about 6 inches across glazed stoneware object", + "gray ripple bowl with ceramic construction", + "ceramic gray ripple bowl suitable for displaying fruit", + "matte gray object used for serving salads or grains", + "subtle silver highlights medium bowl ceramic bowl for holding food", + "matte gray fits in two hands wide shallow dome gray ripple bowl", + "ceramic bowl with dark gray base exterior", + "gray ripple bowl with glazed stoneware surface", + "serving bowl featuring flat circular base shape", + "fits in two hands serving bowl perfect for serving salads or grains", + "subtle silver highlights glazed stoneware flat circular base ceramic bowl", + "serving bowl in medium bowl", + "wide shallow dome smooth fired clay object for serving salads or grains", + "glazed stoneware serving bowl for displaying fruit" + ], + "caption": { + "color": [ + "matte gray", + "subtle silver highlights", + "dark gray base" + ], + "material": [ + "ceramic", + "glazed stoneware", + "smooth fired clay" + ], + "size": [ + "medium bowl", + "fits in two hands", + "about 6 inches across" + ], + "name": [ + "serving bowl", + "ceramic bowl", + "gray ripple bowl" + ], + "shape": [ + "wide shallow dome", + "concentric ridged interior", + "flat circular base" + ], + "function": [ + "holding food", + "serving salads or grains", + "displaying fruit" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/pliers/00000/metadata.json b/Objects/RoboDojo/Rigid/pliers/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..80e633fe630523bbf25b74eebeda72888c621ac8 --- /dev/null +++ b/Objects/RoboDojo/Rigid/pliers/00000/metadata.json @@ -0,0 +1,132 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0773, + -0.0121, + -0.0305 + ], + [ + -0.0773, + -0.0121, + 0.0305 + ], + [ + -0.0773, + 0.0122, + -0.0305 + ], + [ + -0.0773, + 0.0122, + 0.0305 + ], + [ + 0.0772, + -0.0121, + -0.0305 + ], + [ + 0.0772, + -0.0121, + 0.0305 + ], + [ + 0.0772, + 0.0122, + -0.0305 + ], + [ + 0.0772, + 0.0122, + 0.0305 + ] + ], + "extents": [ + 0.1545, + 0.0243, + 0.061 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0773, + -0.0125, + -0.0305 + ], + [ + 0.0772, + -0.0114, + -0.0305 + ], + [ + -0.0773, + -0.0126, + 0.0305 + ], + [ + 0.0772, + -0.0114, + 0.0305 + ], + [ + -0.0774, + 0.0118, + -0.0305 + ], + [ + 0.0771, + 0.0129, + -0.0305 + ], + [ + -0.0774, + 0.0118, + 0.0305 + ], + [ + 0.0771, + 0.0129, + 0.0305 + ] + ], + "extents": [ + 0.1547, + 0.0255, + 0.061 + ] + } + }, + "active": { + "functional": { + "center": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + }, + "center_flip": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/plus/00000/metadata.json b/Objects/RoboDojo/Rigid/plus/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..6ca4a30c0085db44c7aa0a6d6717ca6d363ce316 --- /dev/null +++ b/Objects/RoboDojo/Rigid/plus/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.25 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.03, + -0.03, + -0.004 + ], + [ + -0.03, + -0.03, + 0.0041 + ], + [ + -0.03, + 0.03, + -0.004 + ], + [ + -0.03, + 0.03, + 0.0041 + ], + [ + 0.03, + -0.03, + -0.004 + ], + [ + 0.03, + -0.03, + 0.0041 + ], + [ + 0.03, + 0.03, + -0.004 + ], + [ + 0.03, + 0.03, + 0.0041 + ] + ], + "extents": [ + 0.06, + 0.06, + 0.0081 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.001, + 0.0424, + 0.0041 + ], + [ + -0.0424, + 0.001, + 0.0041 + ], + [ + 0.0424, + -0.001, + 0.0041 + ], + [ + -0.001, + -0.0424, + 0.0041 + ], + [ + 0.001, + 0.0424, + -0.004 + ], + [ + -0.0424, + 0.001, + -0.004 + ], + [ + 0.0424, + -0.001, + -0.004 + ], + [ + -0.001, + -0.0424, + -0.004 + ] + ], + "extents": [ + 0.0848, + 0.0848, + 0.0081 + ] + } + }, + "active": {}, + "description": [ + "dark gray highlight glossy coated surface circular top toggle switch", + "dark gray highlight coin-sized flat cylinder button", + "control dial featuring slightly raised edge shape", + "matte black object used for activating a mode", + "dark gray highlight plastic slightly raised edge button", + "button featuring glossy coated surface build", + "control dial for activating a mode tasks", + "dark gray highlight toggle switch typically used for activating a mode", + "matte black button designed for activating a mode", + "glossy coated surface button suitable for selecting options", + "toggle switch with matte black color", + "control dial optimized for selecting options", + "button commonly found in small disc size", + "small disc dark gray highlight circular top for selecting options", + "button for activating a mode tasks", + "thumb-width dark gray highlight glossy coated surface button", + "coin-sized silver reflective strip flat cylinder for selecting options", + "toggling on and off with toggle switch", + "circular top toggle switch ideal for selecting options", + "matte black small disc button for activating a mode", + "coin-sized flat cylinder object for activating a mode", + "thumb-width dark gray highlight glossy coated surface control dial", + "toggle switch made of metallic accent", + "button suitable for toggling on and off", + "small disc slightly raised edge control dial", + "control dial intended for selecting options", + "control dial sized thumb-width", + "control dial sized coin-sized", + "dark gray highlight plastic flat cylinder object", + "thumb-width plastic slightly raised edge for toggling on and off", + "silver reflective strip control dial used for toggling on and off", + "toggle switch commonly used for selecting options", + "glossy coated surface circular top object used for activating a mode", + "control dial in dark gray highlight", + "control dial used to toggling on and off", + "metallic accent toggle switch for toggling on and off", + "matte black button used for toggling on and off", + "circular top toggle switch used for toggling on and off", + "flat cylinder toggle switch for toggling on and off", + "button with small disc dimensions", + "control dial with silver reflective strip color", + "matte black thumb-width metallic accent object", + "button with circular top profile", + "toggle switch with glossy coated surface body", + "toggle switch commonly found in thumb-width size", + "flat cylinder object used for activating a mode", + "plastic button suitable for activating a mode", + "toggle switch designed for toggling on and off", + "thumb-width silver reflective strip metallic accent slightly raised edge object", + "toggle switch in small disc", + "toggle switch with dark gray highlight exterior", + "button for selecting options use", + "plastic circular top for activating a mode", + "flat cylinder object used for toggling on and off", + "plastic toggle switch used for selecting options", + "coin-sized slightly raised edge object", + "silver reflective strip control dial for activating a mode", + "small disc matte black object for selecting options", + "dark gray highlight button designed for activating a mode", + "control dial in slightly raised edge form", + "dark gray highlight coin-sized glossy coated surface object", + "plastic object for toggling on and off", + "toggle switch appropriate for toggling on and off", + "control dial with small disc dimensions", + "glossy coated surface silver reflective strip toggle switch", + "small disc dark gray highlight slightly raised edge object", + "toggle switch for activating a mode scenarios", + "button intended for selecting options usage", + "slightly raised edge plastic object for activating a mode", + "thumb-width object used for selecting options", + "dark gray highlight control dial suitable for selecting options", + "flat cylinder-shaped button", + "glossy coated surface dark gray highlight control dial", + "toggle switch with thumb-width dimensions", + "toggle switch for toggling on and off", + "matte black glossy coated surface slightly raised edge control dial", + "coin-sized slightly raised edge button", + "toggle switch with glossy coated surface construction", + "button in small disc", + "coin-sized dark gray highlight plastic toggle switch", + "metallic accent dark gray highlight button", + "control dial primarily used for selecting options", + "glossy coated surface toggle switch suitable for selecting options", + "button in thumb-width", + "control dial ideal for activating a mode", + "small disc flat cylinder toggle switch", + "toggle switch intended for toggling on and off usage", + "slightly raised edge object used for selecting options", + "button shaped like a circular top", + "slightly raised edge control dial used for selecting options", + "toggling on and off with button", + "control dial typically made of glossy coated surface", + "silver reflective strip button for toggling on and off", + "matte black plastic circular top object", + "matte black metallic accent toggle switch", + "coin-sized matte black plastic circular top object", + "coin-sized flat cylinder object for toggling on and off", + "toggle switch with coin-sized dimensions", + "toggle switch in circular top", + "button colored matte black" + ], + "caption": { + "color": [ + "matte black", + "dark gray highlight", + "silver reflective strip" + ], + "function": [ + "toggling on and off", + "selecting options", + "activating a mode" + ], + "material": [ + "plastic", + "glossy coated surface", + "metallic accent" + ], + "name": [ + "button", + "toggle switch", + "control dial" + ], + "shape": [ + "flat cylinder", + "circular top", + "slightly raised edge" + ], + "size": [ + "small disc", + "coin-sized", + "thumb-width" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/plus/00000/object.usdz b/Objects/RoboDojo/Rigid/plus/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..cc3d63fa932e01508fe44417ff40fd76134dfa0e Binary files /dev/null and b/Objects/RoboDojo/Rigid/plus/00000/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/puppet/00000/metadata.json b/Objects/RoboDojo/Rigid/puppet/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..2d3a3b9d83d89fff675bf6fe6cf8782ed09e2d36 --- /dev/null +++ b/Objects/RoboDojo/Rigid/puppet/00000/metadata.json @@ -0,0 +1,236 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0311, + -0.0328, + -0.0686 + ], + [ + -0.0311, + -0.0328, + 0.0686 + ], + [ + -0.0311, + 0.0329, + -0.0686 + ], + [ + -0.0311, + 0.0329, + 0.0686 + ], + [ + 0.031, + -0.0328, + -0.0686 + ], + [ + 0.031, + -0.0328, + 0.0686 + ], + [ + 0.031, + 0.0329, + -0.0686 + ], + [ + 0.031, + 0.0329, + 0.0686 + ] + ], + "extents": [ + 0.0621, + 0.0657, + 0.1372 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0422, + -0.0025, + 0.0673 + ], + [ + -0.0422, + 0.0125, + -0.0673 + ], + [ + -0.0003, + -0.0447, + 0.0626 + ], + [ + -0.0003, + -0.0298, + -0.072 + ], + [ + 0.0002, + 0.0391, + 0.0719 + ], + [ + 0.0002, + 0.0541, + -0.0627 + ], + [ + 0.0422, + -0.0031, + 0.0672 + ], + [ + 0.0422, + 0.0118, + -0.0674 + ] + ], + "extents": [ + 0.0844, + 0.0988, + 0.1439 + ] + } + }, + "active": {}, + "description": [ + "textured stem-like handle with bumps object made of glossy plastic", + "about palm-sized green frog shaker used for making rattling noise when shaken", + "green frog shaker for teething relief use", + "small enough to grip baby frog toy used for making rattling noise when shaken", + "frog rattle made from glossy plastic", + "grayish-white swirls green frog shaker suitable for soothing babies", + "teething relief with green frog shaker", + "glossy plastic textured stem-like handle with bumps object used for making rattling noise when shaken", + "glossy plastic textured stem-like handle with bumps frog rattle", + "baby frog toy for soothing babies activities", + "smooth molded surface frog head with bulging eyes for making rattling noise when shaken", + "baby frog toy in bright green", + "grayish-white swirls textured stem-like handle with bumps frog rattle used for making rattling noise when shaken", + "bright green object used for soothing babies", + "dark green spots green frog shaker designed for making rattling noise when shaken", + "frog rattle with rounded body profile", + "frog rattle primarily used for soothing babies", + "about palm-sized grayish-white swirls glossy plastic green frog shaker", + "frog rattle with small enough to grip dimensions", + "green frog shaker featuring glossy plastic build", + "rounded body object made of glossy plastic", + "baby frog toy sized handheld", + "bright green about palm-sized frog rattle for making rattling noise when shaken", + "grayish-white swirls smooth molded surface baby frog toy", + "small enough to grip bright green textured stem-like handle with bumps for teething relief", + "frog rattle with smooth molded surface body", + "handheld bright green object for making rattling noise when shaken", + "bright green handheld glossy plastic object", + "small enough to grip baby frog toy perfect for making rattling noise when shaken", + "glossy plastic frog head with bulging eyes object used for soothing babies", + "green frog shaker for making rattling noise when shaken use", + "smooth molded surface rounded body object used for teething relief", + "baby frog toy with handheld dimensions", + "bright green rounded body green frog shaker", + "rounded body green frog shaker used for making rattling noise when shaken", + "dark green spots glossy plastic green frog shaker", + "frog rattle optimized for making rattling noise when shaken", + "dark green spots glossy plastic frog head with bulging eyes object", + "small enough to grip smooth molded surface object", + "soothing babies use of baby frog toy", + "bright green object used for making rattling noise when shaken", + "handheld grayish-white swirls baby frog toy", + "small enough to grip smooth molded surface green frog shaker", + "rounded body baby frog toy used for teething relief", + "small enough to grip textured stem-like handle with bumps green frog shaker for teething relief", + "small enough to grip frog head with bulging eyes object", + "smooth molded surface bright green green frog shaker", + "bright green rounded body green frog shaker used for teething relief", + "bright green green frog shaker used for teething relief", + "glossy plastic frog rattle used for soothing babies", + "frog rattle commonly featuring glossy plastic", + "textured stem-like handle with bumps glossy plastic baby frog toy for teething relief", + "textured stem-like handle with bumps-shaped baby frog toy", + "baby frog toy optimized for soothing babies", + "dark green spots small enough to grip green frog shaker for teething relief", + "handheld smooth molded surface baby frog toy for soothing babies", + "green frog shaker colored bright green", + "textured stem-like handle with bumps object made of smooth molded surface", + "rounded body frog rattle for teething relief", + "grayish-white swirls frog head with bulging eyes object for teething relief", + "bright green about palm-sized glossy plastic object", + "dark green spots about palm-sized glossy plastic object", + "smooth molded surface baby frog toy for making rattling noise when shaken", + "frog rattle intended for soothing babies", + "frog rattle for making rattling noise when shaken scenarios", + "rounded body handheld baby frog toy", + "glossy plastic green frog shaker used for making rattling noise when shaken", + "baby frog toy typically made of glossy plastic", + "frog head with bulging eyes green frog shaker ideal for making rattling noise when shaken", + "grayish-white swirls about palm-sized baby frog toy for soothing babies", + "green frog shaker for teething relief", + "small enough to grip object used for teething relief", + "baby frog toy colored bright green", + "frog rattle for teething relief tasks", + "frog rattle in rounded body", + "green frog shaker used to soothing babies", + "textured stem-like handle with bumps smooth molded surface object for making rattling noise when shaken", + "baby frog toy commonly found in small enough to grip size", + "about palm-sized green frog shaker perfect for teething relief", + "green frog shaker colored dark green spots", + "baby frog toy intended for making rattling noise when shaken usage", + "bright green baby frog toy designed for soothing babies", + "frog rattle with smooth molded surface construction", + "grayish-white swirls small enough to grip frog rattle for teething relief", + "glossy plastic baby frog toy", + "frog rattle with glossy plastic surface", + "textured stem-like handle with bumps smooth molded surface object for soothing babies", + "handheld glossy plastic green frog shaker", + "grayish-white swirls frog head with bulging eyes baby frog toy", + "baby frog toy for making rattling noise when shaken tasks", + "bright green object used for teething relief", + "small enough to grip object used for soothing babies", + "frog rattle built from glossy plastic", + "green frog shaker with smooth molded surface construction", + "baby frog toy intended for making rattling noise when shaken", + "textured stem-like handle with bumps small enough to grip green frog shaker", + "baby frog toy suitable for teething relief", + "dark green spots baby frog toy suitable for making rattling noise when shaken", + "frog rattle intended for teething relief", + "frog rattle sized handheld" + ], + "caption": { + "color": [ + "bright green", + "dark green spots", + "grayish-white swirls" + ], + "material": [ + "glossy plastic", + "smooth molded surface" + ], + "size": [ + "handheld", + "small enough to grip", + "about palm-sized" + ], + "name": [ + "frog rattle", + "baby frog toy", + "green frog shaker" + ], + "shape": [ + "frog head with bulging eyes", + "rounded body", + "textured stem-like handle with bumps" + ], + "function": [ + "making rattling noise when shaken", + "soothing babies", + "teething relief" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/remote/00001/metadata.json b/Objects/RoboDojo/Rigid/remote/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed75ccb3e8221983459f23c68d15e81679c79d76 --- /dev/null +++ b/Objects/RoboDojo/Rigid/remote/00001/metadata.json @@ -0,0 +1,111 @@ +{ + "physics": { + "mass": 0.06, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0231, + -0.0097, + -0.0724 + ], + [ + -0.0231, + -0.0097, + 0.0723 + ], + [ + -0.0231, + 0.0098, + -0.0724 + ], + [ + -0.0231, + 0.0098, + 0.0723 + ], + [ + 0.0229, + -0.0097, + -0.0724 + ], + [ + 0.0229, + -0.0097, + 0.0723 + ], + [ + 0.0229, + 0.0098, + -0.0724 + ], + [ + 0.0229, + 0.0098, + 0.0723 + ] + ], + "extents": [ + 0.046, + 0.0195, + 0.1447 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0231, + -0.0097, + 0.0723 + ], + [ + -0.0231, + -0.0097, + -0.0724 + ], + [ + 0.0229, + -0.0097, + 0.0723 + ], + [ + 0.0229, + -0.0097, + -0.0724 + ], + [ + -0.0231, + 0.0098, + 0.0723 + ], + [ + -0.0231, + 0.0098, + -0.0724 + ], + [ + 0.0229, + 0.0098, + 0.0723 + ], + [ + 0.0229, + 0.0098, + -0.0724 + ] + ], + "extents": [ + 0.046, + 0.0195, + 0.1447 + ] + } + }, + "active": {}, + "description": [ + "white AC remote" + ], + "caption": "" +} diff --git a/Objects/RoboDojo/Rigid/sachet/00000/metadata.json b/Objects/RoboDojo/Rigid/sachet/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..08ee1e234ccaa1ffd9591050ffa8084066861284 --- /dev/null +++ b/Objects/RoboDojo/Rigid/sachet/00000/metadata.json @@ -0,0 +1,111 @@ +{ + "physics": { + "mass": 0.08, + "friction": 0.45 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0399, + -0.0275, + -0.045 + ], + [ + -0.0399, + -0.0275, + 0.045 + ], + [ + -0.0399, + 0.0276, + -0.045 + ], + [ + -0.0399, + 0.0276, + 0.045 + ], + [ + 0.0398, + -0.0275, + -0.045 + ], + [ + 0.0398, + -0.0275, + 0.045 + ], + [ + 0.0398, + 0.0276, + -0.045 + ], + [ + 0.0398, + 0.0276, + 0.045 + ] + ], + "extents": [ + 0.0796, + 0.0552, + 0.09 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0397, + 0.0089, + 0.046 + ], + [ + -0.0417, + -0.0033, + -0.045 + ], + [ + 0.0079, + -0.0312, + 0.0504 + ], + [ + 0.0059, + -0.0435, + -0.0407 + ], + [ + -0.0005, + 0.0546, + 0.039 + ], + [ + -0.0025, + 0.0423, + -0.0521 + ], + [ + 0.047, + 0.0144, + 0.0433 + ], + [ + 0.045, + 0.0022, + -0.0477 + ] + ], + "extents": [ + 0.0888, + 0.0981, + 0.1024 + ] + } + }, + "active": {}, + "description": [ + "drawstring pouch" + ], + "caption": "" +} diff --git a/Objects/RoboDojo/Rigid/shoe/00000/metadata.json b/Objects/RoboDojo/Rigid/shoe/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c47df00f8d8b6e574d61d2b52cf01b90e955ce4e --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.45, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0921, + -0.0351, + -0.0461 + ], + [ + -0.0921, + -0.0351, + 0.0459 + ], + [ + -0.0921, + 0.0349, + -0.0461 + ], + [ + -0.0921, + 0.0349, + 0.0459 + ], + [ + 0.0919, + -0.0351, + -0.0461 + ], + [ + 0.0919, + -0.0351, + 0.0459 + ], + [ + 0.0919, + 0.0349, + -0.0461 + ], + [ + 0.0919, + 0.0349, + 0.0459 + ] + ], + "extents": [ + 0.184, + 0.07, + 0.092 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0904, + 0.0396, + -0.0433 + ], + [ + -0.0927, + 0.0324, + -0.0514 + ], + [ + 0.0864, + 0.0405, + 0.048 + ], + [ + -0.0968, + 0.0333, + 0.0399 + ], + [ + 0.0931, + -0.0298, + -0.0425 + ], + [ + -0.09, + -0.037, + -0.0506 + ], + [ + 0.0891, + -0.0289, + 0.0488 + ], + [ + -0.0941, + -0.0361, + 0.0407 + ] + ], + "extents": [ + 0.1899, + 0.0775, + 0.1002 + ] + } + }, + "active": {}, + "description": [ + "Nike Dunk Low typically made of smooth synthetic leather", + "smooth synthetic leather flat rubber sole with slight heel lift object used for casual streetwear", + "standard skate silhouette black upper object for casual streetwear", + "Dunk sneaker built from rubber sole", + "youth or women's low-top rounded toe object", + "compact profile rounded toe Dunk sneaker for skateboarding", + "perforated mesh toe object used for everyday walking", + "skater shoe featuring smooth synthetic leather build", + "Nike Dunk Low built from rubber sole", + "Dunk sneaker primarily used for casual streetwear", + "compact profile Dunk sneaker perfect for skateboarding", + "Nike Dunk Low made from rubber sole", + "Nike Dunk Low typically made of perforated mesh toe", + "youth or women's low-top flat rubber sole with slight heel lift skater shoe for everyday walking", + "youth or women's low-top flat rubber sole with slight heel lift object", + "rounded toe-shaped Nike Dunk Low", + "white toe box skater shoe used for skateboarding", + "skater shoe shaped like a flat rubber sole with slight heel lift", + "Dunk sneaker commonly used for casual streetwear", + "Dunk sneaker for skateboarding scenarios", + "Nike Dunk Low with standard skate silhouette dimensions", + "gray swoosh and midsole Nike Dunk Low designed for skateboarding", + "gray swoosh and midsole rubber sole flat rubber sole with slight heel lift object", + "low-cut ankle object made of smooth synthetic leather", + "low-cut ankle object used for skateboarding", + "smooth synthetic leather object for skateboarding", + "rubber sole black upper skater shoe", + "Nike Dunk Low for casual streetwear tasks", + "Nike Dunk Low ideal for skateboarding", + "skater shoe appropriate for casual streetwear use", + "youth or women's low-top rubber sole Nike Dunk Low", + "skater shoe made of perforated mesh toe", + "gray swoosh and midsole Nike Dunk Low used for skateboarding", + "rubber sole object for everyday walking", + "skater shoe with rubber sole surface", + "gray swoosh and midsole object used for everyday walking", + "white toe box youth or women's low-top rounded toe skater shoe", + "Dunk sneaker with low-cut ankle profile", + "standard skate silhouette white toe box rubber sole low-cut ankle object", + "flat rubber sole with slight heel lift Nike Dunk Low for everyday walking", + "white toe box Dunk sneaker used for everyday walking", + "Nike Dunk Low commonly used for casual streetwear", + "skater shoe shaped like a low-cut ankle", + "compact profile rounded toe object", + "skateboarding use of Nike Dunk Low", + "Dunk sneaker featuring low-cut ankle shape", + "black upper rounded toe object for everyday walking", + "Dunk sneaker in black upper", + "youth or women's low-top skater shoe perfect for casual streetwear", + "perforated mesh toe Dunk sneaker", + "youth or women's low-top low-cut ankle object", + "flat rubber sole with slight heel lift Nike Dunk Low used for skateboarding", + "smooth synthetic leather object for everyday walking", + "youth or women's low-top low-cut ankle skater shoe for everyday walking", + "flat rubber sole with slight heel lift skater shoe ideal for casual streetwear", + "perforated mesh toe Dunk sneaker for skateboarding", + "compact profile gray swoosh and midsole flat rubber sole with slight heel lift object", + "gray swoosh and midsole Dunk sneaker typically used for everyday walking", + "Dunk sneaker intended for skateboarding", + "black upper rounded toe Dunk sneaker", + "skater shoe with flat rubber sole with slight heel lift geometry", + "Dunk sneaker made from perforated mesh toe", + "youth or women's low-top object used for skateboarding", + "youth or women's low-top black upper flat rubber sole with slight heel lift object", + "standard skate silhouette rubber sole flat rubber sole with slight heel lift for casual streetwear", + "Nike Dunk Low appropriate for skateboarding", + "Dunk sneaker in youth or women's low-top", + "black upper standard skate silhouette skater shoe for everyday walking", + "Dunk sneaker primarily used for everyday walking", + "Dunk sneaker with gray swoosh and midsole exterior", + "standard skate silhouette perforated mesh toe rounded toe for casual streetwear", + "rubber sole flat rubber sole with slight heel lift for skateboarding", + "Nike Dunk Low for skateboarding tasks", + "Dunk sneaker colored black upper", + "flat rubber sole with slight heel lift skater shoe used for skateboarding", + "rounded toe skater shoe ideal for everyday walking", + "youth or women's low-top black upper object for everyday walking", + "gray swoosh and midsole flat rubber sole with slight heel lift object for skateboarding", + "Dunk sneaker appropriate for skateboarding use", + "compact profile gray swoosh and midsole object for casual streetwear", + "smooth synthetic leather skater shoe for everyday walking", + "Dunk sneaker featuring flat rubber sole with slight heel lift shape", + "compact profile rubber sole Dunk sneaker", + "low-cut ankle perforated mesh toe Nike Dunk Low for everyday walking", + "Dunk sneaker featuring smooth synthetic leather build", + "gray swoosh and midsole low-cut ankle Dunk sneaker", + "compact profile gray swoosh and midsole rounded toe for everyday walking", + "Nike Dunk Low suitable for casual streetwear", + "perforated mesh toe low-cut ankle skater shoe", + "youth or women's low-top white toe box low-cut ankle object", + "Nike Dunk Low commonly featuring rubber sole", + "flat rubber sole with slight heel lift rubber sole object for everyday walking", + "Nike Dunk Low in youth or women's low-top", + "standard skate silhouette rubber sole Nike Dunk Low", + "smooth synthetic leather black upper Nike Dunk Low", + "rubber sole skater shoe suitable for skateboarding", + "skater shoe sized as standard skate silhouette", + "Nike Dunk Low intended for casual streetwear usage", + "skater shoe with smooth synthetic leather surface", + "skater shoe with gray swoosh and midsole color" + ], + "caption": { + "color": [ + "black upper", + "white toe box", + "gray swoosh and midsole" + ], + "function": [ + "skateboarding", + "casual streetwear", + "everyday walking" + ], + "material": [ + "smooth synthetic leather", + "perforated mesh toe", + "rubber sole" + ], + "name": [ + "Nike Dunk Low", + "Dunk sneaker", + "skater shoe" + ], + "shape": [ + "low-cut ankle", + "rounded toe", + "flat rubber sole with slight heel lift" + ], + "size": [ + "youth or women's low-top", + "standard skate silhouette", + "compact profile" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00001/metadata.json b/Objects/RoboDojo/Rigid/shoe/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..21bb5f4d125127719a5609f4d2fae78d5cb84f69 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00001/metadata.json @@ -0,0 +1,242 @@ +{ + "physics": { + "mass": 0.45, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0921, + -0.0349, + -0.0461 + ], + [ + -0.0921, + -0.0349, + 0.0459 + ], + [ + -0.0921, + 0.0351, + -0.0461 + ], + [ + -0.0921, + 0.0351, + 0.0459 + ], + [ + 0.0919, + -0.0349, + -0.0461 + ], + [ + 0.0919, + -0.0349, + 0.0459 + ], + [ + 0.0919, + 0.0351, + -0.0461 + ], + [ + 0.0919, + 0.0351, + 0.0459 + ] + ], + "extents": [ + 0.184, + 0.07, + 0.092 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0931, + 0.0298, + -0.0425 + ], + [ + -0.09, + 0.037, + -0.0506 + ], + [ + 0.0891, + 0.0289, + 0.0488 + ], + [ + -0.0941, + 0.0361, + 0.0407 + ], + [ + 0.0904, + -0.0396, + -0.0433 + ], + [ + -0.0927, + -0.0324, + -0.0514 + ], + [ + 0.0864, + -0.0405, + 0.048 + ], + [ + -0.0968, + -0.0333, + 0.0399 + ] + ], + "extents": [ + 0.1899, + 0.0775, + 0.1002 + ] + } + }, + "active": {}, + "description": [ + "skater shoe with textile lining surface", + "standard sneaker fit textile lining flat sole with slight heel rise for skateboarding", + "low-profile silhouette leather-like upper Nike Dunk Low for street fashion", + "Nike Dunk Low with textile lining surface", + "leather-like upper flat sole with slight heel rise for street fashion", + "standard sneaker fit gray midsole rubber sole skater shoe", + "low-profile silhouette Dunk ideal for street fashion", + "black upper flat sole with slight heel rise object for skateboarding", + "gray midsole skater shoe typically used for street fashion", + "standard sneaker fit rubber sole skater shoe for street fashion", + "black upper low-top textile lining object", + "leather-like upper object used for casual wear", + "white toe box adult size Dunk for casual wear", + "adult size rounded toe object", + "Nike Dunk Low used to skateboarding", + "skater shoe for street fashion use", + "Nike Dunk Low for casual wear scenarios", + "flat sole with slight heel rise-shaped skater shoe", + "Dunk for street fashion with textile lining", + "skater shoe sized as standard sneaker fit", + "Nike Dunk Low commonly used for casual wear", + "low-top black upper leather-like upper flat sole with slight heel rise object", + "adult size textile lining Nike Dunk Low", + "leather-like upper low-profile silhouette Dunk", + "skateboarding use of Dunk", + "skater shoe in low-profile silhouette form", + "Nike Dunk Low commonly featuring textile lining", + "textile lining Dunk for skateboarding", + "gray midsole low-top flat sole with slight heel rise Dunk", + "standard sneaker fit Dunk perfect for casual wear", + "standard sneaker fit gray midsole flat sole with slight heel rise object", + "Nike Dunk Low for street fashion scenarios", + "skater shoe made of textile lining", + "low-top Nike Dunk Low perfect for skateboarding", + "standard sneaker fit black outsole Dunk", + "skater shoe colored black outsole", + "textile lining Dunk for street fashion", + "textile lining Nike Dunk Low suitable for casual wear", + "skater shoe colored black upper", + "casual wear use of Dunk", + "Dunk optimized for skateboarding", + "low-top flat sole with slight heel rise Dunk", + "skater shoe suitable for casual wear", + "low-top black outsole low-profile silhouette for casual wear", + "skater shoe in rounded toe", + "rubber sole rounded toe object used for skateboarding", + "rounded toe skater shoe ideal for skateboarding", + "rounded toe object used for street fashion", + "Nike Dunk Low optimized for casual wear", + "Nike Dunk Low in standard sneaker fit", + "Nike Dunk Low built from leather-like upper", + "Dunk for street fashion with leather-like upper", + "skater shoe for casual wear", + "standard sneaker fit leather-like upper low-profile silhouette for street fashion", + "rounded toe Dunk for street fashion", + "flat sole with slight heel rise leather-like upper Nike Dunk Low for casual wear", + "gray midsole flat sole with slight heel rise object for skateboarding", + "skater shoe with flat sole with slight heel rise geometry", + "Dunk with flat sole with slight heel rise profile", + "Dunk made of leather-like upper", + "Dunk designed for casual wear", + "low-profile silhouette skater shoe ideal for skateboarding", + "black outsole leather-like upper skater shoe", + "Nike Dunk Low primarily used for skateboarding", + "skater shoe appropriate for skateboarding", + "Nike Dunk Low for casual wear", + "skater shoe primarily used for skateboarding", + "leather-like upper Nike Dunk Low suitable for casual wear", + "Nike Dunk Low sized adult size", + "rubber sole Nike Dunk Low for casual wear", + "Dunk typically made of leather-like upper", + "adult size object used for street fashion", + "skater shoe ideal for skateboarding", + "rubber sole black outsole Nike Dunk Low", + "Dunk featuring rubber sole build", + "textile lining object for casual wear", + "Dunk made from leather-like upper", + "Dunk for skateboarding use", + "black upper flat sole with slight heel rise Nike Dunk Low", + "rubber sole flat sole with slight heel rise for casual wear", + "standard sneaker fit white toe box low-profile silhouette for skateboarding", + "white toe box leather-like upper low-profile silhouette object", + "Nike Dunk Low in flat sole with slight heel rise form", + "rubber sole flat sole with slight heel rise skater shoe", + "skater shoe intended for street fashion", + "white toe box flat sole with slight heel rise Dunk", + "skater shoe designed for street fashion", + "gray midsole Nike Dunk Low for street fashion", + "gray midsole object used for casual wear", + "textile lining object for street fashion", + "low-profile silhouette adult size Nike Dunk Low", + "adult size skater shoe used for skateboarding", + "skater shoe in low-profile silhouette", + "Dunk used to skateboarding", + "standard sneaker fit black outsole object for street fashion", + "adult size textile lining skater shoe for street fashion", + "low-top textile lining skater shoe", + "standard sneaker fit textile lining Nike Dunk Low", + "Nike Dunk Low for street fashion with leather-like upper", + "rounded toe object made of rubber sole" + ], + "caption": { + "color": [ + "black upper", + "white toe box", + "gray midsole", + "black outsole" + ], + "function": [ + "casual wear", + "skateboarding", + "street fashion" + ], + "material": [ + "leather-like upper", + "rubber sole", + "textile lining" + ], + "name": [ + "Nike Dunk Low", + "Dunk", + "skater shoe" + ], + "shape": [ + "low-profile silhouette", + "rounded toe", + "flat sole with slight heel rise" + ], + "size": [ + "low-top", + "standard sneaker fit", + "adult size" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00002/metadata.json b/Objects/RoboDojo/Rigid/shoe/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..91a370646aba27c47491c4ec2895475adbface5e --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00002/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.35, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0876, + -0.0349, + -0.0362 + ], + [ + -0.0876, + -0.0349, + 0.0358 + ], + [ + -0.0876, + 0.0351, + -0.0362 + ], + [ + -0.0876, + 0.0351, + 0.0358 + ], + [ + 0.0874, + -0.0349, + -0.0362 + ], + [ + 0.0874, + -0.0349, + 0.0358 + ], + [ + 0.0874, + 0.0351, + -0.0362 + ], + [ + 0.0874, + 0.0351, + 0.0358 + ] + ], + "extents": [ + 0.175, + 0.07, + 0.072 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0844, + -0.0381, + -0.0399 + ], + [ + 0.0895, + -0.0253, + -0.0331 + ], + [ + -0.0872, + -0.0372, + 0.0315 + ], + [ + 0.0866, + -0.0243, + 0.0382 + ], + [ + -0.0894, + 0.0303, + -0.0409 + ], + [ + 0.0845, + 0.0431, + -0.0341 + ], + [ + -0.0922, + 0.0312, + 0.0304 + ], + [ + 0.0816, + 0.044, + 0.0372 + ] + ], + "extents": [ + 0.1817, + 0.0821, + 0.0792 + ] + } + }, + "active": {}, + "description": [ + "Adidas Samba ideal for indoor sports", + "standard adult sneaker light gray panels object for casual walking", + "leather upper classic indoor soccer shoe used for casual walking", + "low-profile silhouette cotton laces object for casual walking", + "light gray panels low-top fit rubber sole object", + "standard adult sneaker rounded toe box object for casual walking", + "cotton laces classic indoor soccer shoe used for streetwear styling", + "retro trainer commonly used for streetwear styling", + "leather upper object for indoor sports", + "classic indoor soccer shoe for streetwear styling tasks", + "low-top fit flat gum sole retro trainer for indoor sports", + "Adidas Samba typically made of rubber sole", + "retro trainer intended for indoor sports usage", + "low-top fit leather upper retro trainer for indoor sports", + "retro trainer appropriate for streetwear styling use", + "retro trainer featuring rounded toe box shape", + "Adidas Samba intended for casual walking usage", + "Adidas Samba in white upper", + "gum brown sole object used for indoor sports", + "leather upper rounded toe box classic indoor soccer shoe", + "cotton laces low-profile silhouette retro trainer", + "retro trainer with rubber sole construction", + "Adidas Samba made from leather upper", + "retro trainer for streetwear styling tasks", + "Adidas Samba with light gray panels color", + "rubber sole retro trainer", + "white upper Adidas Samba used for casual walking", + "classic indoor soccer shoe with low-top fit dimensions", + "standard adult sneaker rubber sole classic indoor soccer shoe for indoor sports", + "Adidas Samba typically made of leather upper", + "low-top fit Adidas Samba perfect for streetwear styling", + "rounded toe box object used for indoor sports", + "retro trainer built from leather upper", + "classic indoor soccer shoe optimized for streetwear styling", + "low-top fit rubber sole Adidas Samba for casual walking", + "low-top fit Adidas Samba used for casual walking", + "gum brown sole low-top fit retro trainer for streetwear styling", + "light gray panels retro trainer designed for casual walking", + "low-top fit cotton laces flat gum sole for casual walking", + "retro trainer suitable for indoor sports", + "standard adult sneaker rounded toe box retro trainer", + "retro trainer shaped like a flat gum sole", + "low-top fit leather upper classic indoor soccer shoe", + "light gray panels Adidas Samba designed for casual walking", + "retro trainer for casual walking with leather upper", + "low-top fit classic indoor soccer shoe used for streetwear styling", + "low-top fit black three stripes rubber sole classic indoor soccer shoe", + "retro trainer commonly featuring cotton laces", + "Adidas Samba for indoor sports activities", + "leather upper low-profile silhouette object used for streetwear styling", + "classic indoor soccer shoe in standard adult sneaker", + "retro trainer intended for casual walking", + "rounded toe box object used for casual walking", + "retro trainer designed for streetwear styling", + "light gray panels low-top fit rounded toe box Adidas Samba", + "retro trainer appropriate for casual walking", + "white upper rounded toe box object for casual walking", + "retro trainer intended for streetwear styling", + "cotton laces retro trainer used for streetwear styling", + "standard adult sneaker low-profile silhouette classic indoor soccer shoe", + "Adidas Samba in low-profile silhouette form", + "rubber sole classic indoor soccer shoe suitable for casual walking", + "cotton laces object used for streetwear styling", + "Adidas Samba with flat gum sole geometry", + "Adidas Samba commonly used for streetwear styling", + "gum brown sole object used for casual walking", + "Adidas Samba commonly found in low-top fit size", + "Adidas Samba with low-top fit dimensions", + "standard adult sneaker retro trainer for streetwear styling", + "standard adult sneaker Adidas Samba for indoor sports", + "flat gum sole object used for indoor sports", + "retro trainer built from rubber sole", + "retro trainer with low-profile silhouette geometry", + "retro trainer with gum brown sole color", + "classic indoor soccer shoe optimized for casual walking", + "light gray panels rubber sole retro trainer", + "leather upper object used for streetwear styling", + "classic indoor soccer shoe in flat gum sole form", + "indoor sports use of retro trainer", + "rounded toe box-shaped retro trainer", + "retro trainer in standard adult sneaker", + "Adidas Samba made from rubber sole", + "rounded toe box retro trainer ideal for casual walking", + "black three stripes classic indoor soccer shoe designed for streetwear styling", + "Adidas Samba in flat gum sole form", + "retro trainer intended for indoor sports", + "classic indoor soccer shoe with standard adult sneaker dimensions", + "low-top fit white upper rounded toe box for indoor sports", + "low-profile silhouette retro trainer for streetwear styling", + "flat gum sole classic indoor soccer shoe for casual walking", + "standard adult sneaker leather upper low-profile silhouette for casual walking", + "Adidas Samba primarily used for indoor sports", + "low-profile silhouette-shaped classic indoor soccer shoe", + "gum brown sole rubber sole rounded toe box Adidas Samba", + "rounded toe box retro trainer ideal for indoor sports", + "white upper rounded toe box object for streetwear styling", + "gum brown sole standard adult sneaker low-profile silhouette retro trainer", + "standard adult sneaker leather upper Adidas Samba for indoor sports", + "rounded toe box retro trainer used for indoor sports", + "retro trainer with rubber sole surface" + ], + "caption": { + "color": [ + "white upper", + "black three stripes", + "gum brown sole", + "light gray panels" + ], + "function": [ + "indoor sports", + "casual walking", + "streetwear styling" + ], + "material": [ + "leather upper", + "rubber sole", + "cotton laces" + ], + "name": [ + "Adidas Samba", + "classic indoor soccer shoe", + "retro trainer" + ], + "shape": [ + "low-profile silhouette", + "rounded toe box", + "flat gum sole" + ], + "size": [ + "standard adult sneaker", + "low-top fit" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00003/metadata.json b/Objects/RoboDojo/Rigid/shoe/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..d1347184e2383f44c5345cd81fd3e9c01b6d93c9 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00003/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.01, + "friction": 0.65 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0876, + -0.0351, + -0.0362 + ], + [ + -0.0876, + -0.0351, + 0.0358 + ], + [ + -0.0876, + 0.0349, + -0.0362 + ], + [ + -0.0876, + 0.0349, + 0.0358 + ], + [ + 0.0874, + -0.0351, + -0.0362 + ], + [ + 0.0874, + -0.0351, + 0.0358 + ], + [ + 0.0874, + 0.0349, + -0.0362 + ], + [ + 0.0874, + 0.0349, + 0.0358 + ] + ], + "extents": [ + 0.175, + 0.07, + 0.072 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0872, + 0.0372, + 0.0315 + ], + [ + 0.0866, + 0.0243, + 0.0382 + ], + [ + -0.0844, + 0.0381, + -0.0399 + ], + [ + 0.0895, + 0.0253, + -0.0331 + ], + [ + -0.0922, + -0.0312, + 0.0304 + ], + [ + 0.0816, + -0.044, + 0.0372 + ], + [ + -0.0894, + -0.0303, + -0.0409 + ], + [ + 0.0845, + -0.0431, + -0.0341 + ] + ], + "extents": [ + 0.1817, + 0.0821, + 0.0792 + ] + } + }, + "active": {}, + "description": [ + "white upper Samba classic for indoor soccer", + "rounded toe box Samba classic for casual streetwear", + "low-top silhouette object used for indoor soccer", + "gum brown sole cotton laces low-top silhouette object", + "adult foot fit rounded toe box classic indoor soccer shoe for court sports", + "Adidas Samba with low-top silhouette geometry", + "standard sneaker size black three stripes flat gum sole with tread object", + "Adidas Samba sized as standard sneaker size", + "classic indoor soccer shoe featuring flat gum sole with tread shape", + "gold logo classic indoor soccer shoe suitable for court sports", + "Samba classic with flat gum sole with tread profile", + "Samba classic ideal for casual streetwear", + "adult foot fit leather upper rounded toe box for casual streetwear", + "adult foot fit black three stripes Adidas Samba", + "classic indoor soccer shoe in flat gum sole with tread", + "classic indoor soccer shoe with flat gum sole with tread geometry", + "black three stripes classic indoor soccer shoe designed for court sports", + "cotton laces gold logo classic indoor soccer shoe", + "Adidas Samba with low-top silhouette profile", + "rubber sole Samba classic", + "adult foot fit gum brown sole leather upper classic indoor soccer shoe", + "rounded toe box rubber sole Adidas Samba for casual streetwear", + "classic indoor soccer shoe commonly found in adult foot fit size", + "adult foot fit cotton laces classic indoor soccer shoe for indoor soccer", + "gum brown sole object used for casual streetwear", + "classic indoor soccer shoe suitable for court sports", + "classic indoor soccer shoe sized adult foot fit", + "Adidas Samba for indoor soccer activities", + "gold logo classic indoor soccer shoe designed for court sports", + "Samba classic with low-top silhouette geometry", + "rubber sole object for casual streetwear", + "rounded toe box classic indoor soccer shoe ideal for court sports", + "black three stripes flat gum sole with tread classic indoor soccer shoe used for indoor soccer", + "gold logo object used for court sports", + "Adidas Samba intended for indoor soccer", + "black three stripes cotton laces classic indoor soccer shoe", + "Samba classic colored gold logo", + "standard sneaker size cotton laces Samba classic", + "classic indoor soccer shoe for indoor soccer", + "Adidas Samba in gold logo", + "standard sneaker size gold logo rounded toe box object", + "Samba classic designed for casual streetwear", + "gum brown sole rubber sole low-top silhouette Samba classic", + "classic indoor soccer shoe sized as standard sneaker size", + "low-top silhouette Adidas Samba for indoor soccer", + "Adidas Samba ideal for indoor soccer", + "Samba classic in rounded toe box", + "Adidas Samba intended for indoor soccer usage", + "standard sneaker size low-top silhouette object for court sports", + "flat gum sole with tread cotton laces object for court sports", + "Samba classic for casual streetwear use", + "classic indoor soccer shoe for indoor soccer use", + "Samba classic for indoor soccer tasks", + "gold logo rubber sole low-top silhouette classic indoor soccer shoe", + "leather upper object for court sports", + "classic indoor soccer shoe colored gold logo", + "Adidas Samba with rounded toe box geometry", + "standard sneaker size rubber sole object", + "Adidas Samba suitable for indoor soccer", + "standard sneaker size cotton laces object", + "court sports use of Adidas Samba", + "Adidas Samba for indoor soccer use", + "flat gum sole with tread Adidas Samba ideal for indoor soccer", + "Samba classic designed for indoor soccer", + "cotton laces flat gum sole with tread object used for indoor soccer", + "standard sneaker size rounded toe box classic indoor soccer shoe for casual streetwear", + "gum brown sole flat gum sole with tread classic indoor soccer shoe used for court sports", + "Samba classic optimized for indoor soccer", + "cotton laces Adidas Samba suitable for indoor soccer", + "white upper cotton laces low-top silhouette object", + "white upper cotton laces Samba classic", + "Samba classic sized as adult foot fit", + "cotton laces classic indoor soccer shoe for indoor soccer", + "leather upper low-top silhouette object used for court sports", + "Samba classic for casual streetwear", + "gum brown sole flat gum sole with tread Samba classic used for casual streetwear", + "Samba classic sized as standard sneaker size", + "rounded toe box object used for court sports", + "classic indoor soccer shoe commonly found in standard sneaker size size", + "leather upper Samba classic for casual streetwear", + "Samba classic in flat gum sole with tread", + "cotton laces Samba classic used for court sports", + "flat gum sole with tread object used for court sports", + "Adidas Samba shaped like a low-top silhouette", + "classic indoor soccer shoe for court sports", + "classic indoor soccer shoe optimized for indoor soccer", + "classic indoor soccer shoe featuring leather upper build", + "Samba classic appropriate for casual streetwear", + "standard sneaker size rounded toe box object for court sports", + "classic indoor soccer shoe colored black three stripes", + "classic indoor soccer shoe used to indoor soccer", + "gold logo Samba classic typically used for court sports", + "white upper classic indoor soccer shoe for indoor soccer", + "black three stripes object used for court sports", + "Samba classic in flat gum sole with tread form", + "Samba classic featuring rounded toe box shape", + "Adidas Samba with rounded toe box profile", + "rubber sole low-top silhouette Samba classic", + "adult foot fit white upper leather upper Adidas Samba", + "leather upper rounded toe box object used for indoor soccer" + ], + "caption": { + "color": [ + "white upper", + "black three stripes", + "gum brown sole", + "gold logo" + ], + "function": [ + "indoor soccer", + "court sports", + "casual streetwear" + ], + "material": [ + "leather upper", + "rubber sole", + "cotton laces" + ], + "name": [ + "Adidas Samba", + "classic indoor soccer shoe", + "Samba classic" + ], + "shape": [ + "low-top silhouette", + "rounded toe box", + "flat gum sole with tread" + ], + "size": [ + "standard sneaker size", + "adult foot fit" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00004/metadata.json b/Objects/RoboDojo/Rigid/shoe/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c9a3c93c601a028bf1e2aa15d315cbf9af46cc3c --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00004/metadata.json @@ -0,0 +1,243 @@ +{ + "physics": { + "mass": 0.2, + "friction": 0.65 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0836, + -0.0348, + -0.0386 + ], + [ + -0.0836, + -0.0348, + 0.0384 + ], + [ + -0.0836, + 0.0352, + -0.0386 + ], + [ + -0.0836, + 0.0352, + 0.0384 + ], + [ + 0.0834, + -0.0348, + -0.0386 + ], + [ + 0.0834, + -0.0348, + 0.0384 + ], + [ + 0.0834, + 0.0352, + -0.0386 + ], + [ + 0.0834, + 0.0352, + 0.0384 + ] + ], + "extents": [ + 0.167, + 0.07, + 0.077 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0806, + -0.0384, + -0.0388 + ], + [ + 0.0854, + -0.0249, + -0.0382 + ], + [ + -0.0809, + -0.0384, + 0.038 + ], + [ + 0.0851, + -0.0248, + 0.0387 + ], + [ + -0.0862, + 0.0304, + -0.0388 + ], + [ + 0.0798, + 0.0439, + -0.0382 + ], + [ + -0.0865, + 0.0304, + 0.038 + ], + [ + 0.0795, + 0.0439, + 0.0386 + ] + ], + "extents": [ + 0.1719, + 0.0823, + 0.0775 + ] + } + }, + "active": {}, + "description": [ + "nylon laces bulky retro runner NB 993", + "NB 993 with nylon laces body", + "curved heel counter-shaped New Balance 993", + "retro running shoe appropriate for light jogging", + "layered midsole with visible ridges synthetic mesh upper New Balance 993 for streetwear styling", + "men's standard fit synthetic mesh upper NB 993 for streetwear styling", + "New Balance 993 built from rubber outsole", + "curved heel counter-shaped retro running shoe", + "men's standard fit bulky retro runner object for light jogging", + "NB 993 used to casual walking", + "deep forest green object used for streetwear styling", + "mid-volume silhouette curved heel counter object", + "retro running shoe primarily used for light jogging", + "curved heel counter New Balance 993 for casual walking", + "men's standard fit deep forest green layered midsole with visible ridges object", + "mid-volume silhouette white laces synthetic mesh upper bulky retro runner object", + "NB 993 shaped like a curved heel counter", + "New Balance 993 in curved heel counter", + "NB 993 with men's standard fit dimensions", + "men's standard fit deep forest green foam midsole bulky retro runner object", + "retro running shoe made of nylon laces", + "silver 'N' logo New Balance 993 suitable for casual walking", + "silver 'N' logo curved heel counter retro running shoe", + "New Balance 993 in deep forest green", + "New Balance 993 for light jogging activities", + "retro running shoe commonly found in chunky profile size", + "NB 993 optimized for light jogging", + "men's standard fit white laces layered midsole with visible ridges object", + "foam midsole white laces New Balance 993", + "chunky profile white laces bulky retro runner for light jogging", + "silver 'N' logo retro running shoe typically used for light jogging", + "men's standard fit retro running shoe for streetwear styling", + "curved heel counter men's standard fit retro running shoe", + "New Balance 993 with mid-volume silhouette dimensions", + "retro running shoe for casual walking use", + "men's standard fit white laces foam midsole New Balance 993", + "retro running shoe featuring foam midsole build", + "silver 'N' logo bulky retro runner retro running shoe", + "bulky retro runner object used for light jogging", + "NB 993 commonly found in mid-volume silhouette size", + "curved heel counter synthetic mesh upper New Balance 993 for light jogging", + "charcoal grey midsole NB 993 designed for streetwear styling", + "NB 993 intended for streetwear styling usage", + "white laces men's standard fit NB 993 for streetwear styling", + "NB 993 with synthetic mesh upper surface", + "mid-volume silhouette synthetic mesh upper object", + "New Balance 993 with charcoal grey midsole color", + "light jogging with NB 993", + "New Balance 993 commonly featuring nylon laces", + "retro running shoe in layered midsole with visible ridges form", + "NB 993 with rubber outsole body", + "NB 993 built from rubber outsole", + "charcoal grey midsole curved heel counter object for light jogging", + "mid-volume silhouette charcoal grey midsole retro running shoe", + "nylon laces retro running shoe used for light jogging", + "men's standard fit retro running shoe for light jogging", + "chunky profile silver 'N' logo rubber outsole NB 993", + "charcoal grey midsole retro running shoe for light jogging", + "New Balance 993 with foam midsole body", + "NB 993 primarily used for casual walking", + "rubber outsole object used for streetwear styling", + "New Balance 993 in curved heel counter form", + "nylon laces curved heel counter NB 993", + "men's standard fit object used for streetwear styling", + "men's standard fit object used for light jogging", + "rubber outsole curved heel counter for streetwear styling", + "mid-volume silhouette curved heel counter object for light jogging", + "synthetic mesh upper retro running shoe suitable for streetwear styling", + "nylon laces retro running shoe", + "chunky profile foam midsole object", + "men's standard fit synthetic mesh upper New Balance 993", + "retro running shoe with white laces exterior", + "foam midsole deep forest green New Balance 993", + "New Balance 993 with curved heel counter geometry", + "retro running shoe appropriate for light jogging use", + "New Balance 993 appropriate for streetwear styling", + "men's standard fit white laces synthetic mesh upper New Balance 993", + "New Balance 993 with layered midsole with visible ridges profile", + "mid-volume silhouette deep forest green nylon laces NB 993", + "retro running shoe appropriate for casual walking", + "mid-volume silhouette curved heel counter NB 993", + "nylon laces bulky retro runner object used for casual walking", + "mid-volume silhouette layered midsole with visible ridges object", + "bulky retro runner-shaped New Balance 993", + "New Balance 993 made of nylon laces", + "charcoal grey midsole men's standard fit curved heel counter retro running shoe", + "white laces men's standard fit bulky retro runner retro running shoe", + "NB 993 commonly featuring synthetic mesh upper", + "retro running shoe made from rubber outsole", + "mid-volume silhouette white laces object for casual walking", + "mid-volume silhouette bulky retro runner object", + "mid-volume silhouette bulky retro runner object for streetwear styling", + "white laces chunky profile NB 993 for light jogging", + "charcoal grey midsole chunky profile foam midsole object", + "mid-volume silhouette synthetic mesh upper curved heel counter for casual walking", + "New Balance 993 featuring foam midsole build", + "charcoal grey midsole retro running shoe used for light jogging", + "NB 993 made of nylon laces", + "New Balance 993 with curved heel counter profile", + "curved heel counter rubber outsole retro running shoe for casual walking" + ], + "caption": { + "color": [ + "deep forest green", + "charcoal grey midsole", + "white laces", + "silver 'N' logo" + ], + "function": [ + "casual walking", + "light jogging", + "streetwear styling" + ], + "material": [ + "synthetic mesh upper", + "rubber outsole", + "foam midsole", + "nylon laces" + ], + "name": [ + "New Balance 993", + "retro running shoe", + "NB 993" + ], + "shape": [ + "bulky retro runner", + "curved heel counter", + "layered midsole with visible ridges" + ], + "size": [ + "men's standard fit", + "mid-volume silhouette", + "chunky profile" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00005/metadata.json b/Objects/RoboDojo/Rigid/shoe/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..80698e1b652fc7041be3dc901426cabb946e6de3 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00005/metadata.json @@ -0,0 +1,244 @@ +{ + "physics": { + "mass": 0.2, + "friction": 0.65 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0836, + -0.0352, + -0.0386 + ], + [ + -0.0836, + -0.0352, + 0.0384 + ], + [ + -0.0836, + 0.0348, + -0.0386 + ], + [ + -0.0836, + 0.0348, + 0.0384 + ], + [ + 0.0834, + -0.0352, + -0.0386 + ], + [ + 0.0834, + -0.0352, + 0.0384 + ], + [ + 0.0834, + 0.0348, + -0.0386 + ], + [ + 0.0834, + 0.0348, + 0.0384 + ] + ], + "extents": [ + 0.167, + 0.07, + 0.077 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0862, + -0.0304, + -0.0388 + ], + [ + 0.0798, + -0.0439, + -0.0382 + ], + [ + -0.0865, + -0.0304, + 0.038 + ], + [ + 0.0795, + -0.0439, + 0.0386 + ], + [ + -0.0806, + 0.0384, + -0.0388 + ], + [ + 0.0854, + 0.0249, + -0.0382 + ], + [ + -0.0809, + 0.0384, + 0.038 + ], + [ + 0.0851, + 0.0248, + 0.0387 + ] + ], + "extents": [ + 0.1719, + 0.0823, + 0.0775 + ] + } + }, + "active": {}, + "description": [ + "bulky heel mesh upper NB 990 for light jogging", + "NB 990 featuring curved last shape", + "synthetic overlays bulky heel for walking", + "mesh upper white laces retro runner", + "black outsole synthetic overlays curved last retro runner", + "men's standard fit foam midsole New Balance 990v3", + "silver N logo layered midsole NB 990", + "New Balance 990v3 in black outsole", + "mid-volume silhouette layered midsole object for light jogging", + "retro runner in layered midsole form", + "men's standard fit bulky heel object for casual wear", + "NB 990 with bulky heel geometry", + "New Balance 990v3 intended for walking usage", + "New Balance 990v3 intended for light jogging usage", + "men's standard fit layered midsole object", + "retro runner commonly found in men's standard fit size", + "chunky profile curved last retro runner for walking", + "silver N logo synthetic overlays New Balance 990v3", + "NB 990 with black outsole exterior", + "rubber sole retro runner suitable for walking", + "silver N logo bulky heel retro runner", + "chunky profile black outsole rounded toe box for casual wear", + "mid-volume silhouette white laces object for walking", + "deep teal retro runner for casual wear", + "New Balance 990v3 with mesh upper construction", + "curved last foam midsole object for casual wear", + "rubber sole New Balance 990v3 for casual wear", + "rubber sole NB 990 suitable for walking", + "New Balance 990v3 in silver N logo", + "retro runner appropriate for light jogging use", + "men's standard fit white laces rounded toe box for walking", + "men's standard fit object used for walking", + "retro runner in rounded toe box", + "men's standard fit object used for casual wear", + "rounded toe box object made of rubber sole", + "men's standard fit white laces layered midsole object", + "NB 990 with synthetic overlays construction", + "mid-volume silhouette mesh upper New Balance 990v3", + "chunky profile foam midsole layered midsole for walking", + "NB 990 appropriate for walking", + "NB 990 shaped like a rounded toe box", + "retro runner for light jogging with mesh upper", + "silver N logo layered midsole New Balance 990v3", + "white laces retro runner used for casual wear", + "retro runner in white laces", + "retro runner sized mid-volume silhouette", + "NB 990 commonly found in mid-volume silhouette size", + "NB 990 with curved last profile", + "layered midsole New Balance 990v3 ideal for walking", + "men's standard fit white laces New Balance 990v3", + "bulky heel object made of rubber sole", + "New Balance 990v3 with bulky heel geometry", + "retro runner with layered midsole profile", + "deep teal rounded toe box NB 990", + "New Balance 990v3 appropriate for light jogging use", + "mid-volume silhouette silver N logo retro runner", + "rubber sole object for casual wear", + "silver N logo retro runner used for casual wear", + "New Balance 990v3 with silver N logo exterior", + "NB 990 with synthetic overlays surface", + "men's standard fit white laces synthetic overlays retro runner", + "retro runner featuring rounded toe box shape", + "silver N logo object used for light jogging", + "black outsole mid-volume silhouette layered midsole retro runner", + "chunky profile synthetic overlays object", + "New Balance 990v3 commonly featuring foam midsole", + "white laces object used for walking", + "New Balance 990v3 for walking with synthetic overlays", + "layered midsole NB 990 ideal for casual wear", + "NB 990 with deep teal exterior", + "curved last-shaped retro runner", + "chunky profile foam midsole object", + "curved last object used for walking", + "black outsole NB 990 suitable for walking", + "mid-volume silhouette synthetic overlays rounded toe box for light jogging", + "NB 990 in deep teal", + "white laces synthetic overlays bulky heel retro runner", + "black outsole object used for light jogging", + "chunky profile black outsole object for light jogging", + "white laces mid-volume silhouette synthetic overlays object", + "mid-volume silhouette black outsole foam midsole NB 990", + "New Balance 990v3 for light jogging tasks", + "black outsole chunky profile foam midsole object", + "rounded toe box retro runner ideal for casual wear", + "NB 990 with rounded toe box geometry", + "New Balance 990v3 in deep teal", + "New Balance 990v3 sized as chunky profile", + "New Balance 990v3 sized chunky profile", + "silver N logo layered midsole retro runner", + "white laces object used for casual wear", + "deep teal layered midsole NB 990", + "white laces New Balance 990v3 designed for light jogging", + "retro runner appropriate for walking", + "mid-volume silhouette layered midsole New Balance 990v3", + "layered midsole New Balance 990v3 for light jogging", + "foam midsole layered midsole object used for walking", + "men's standard fit retro runner for walking", + "silver N logo New Balance 990v3 used for walking", + "New Balance 990v3 optimized for walking", + "mid-volume silhouette deep teal object for walking" + ], + "caption": { + "color": [ + "deep teal", + "white laces", + "silver N logo", + "black outsole" + ], + "function": [ + "walking", + "casual wear", + "light jogging" + ], + "material": [ + "mesh upper", + "synthetic overlays", + "rubber sole", + "foam midsole" + ], + "name": [ + "New Balance 990v3", + "NB 990", + "retro runner" + ], + "shape": [ + "bulky heel", + "rounded toe box", + "layered midsole", + "curved last" + ], + "size": [ + "men's standard fit", + "mid-volume silhouette", + "chunky profile" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00006/metadata.json b/Objects/RoboDojo/Rigid/shoe/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..1d1c3dec20a7484e3f9e8e71430bab84277dcfc8 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00006/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.32, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0876, + -0.0349, + -0.0371 + ], + [ + -0.0876, + -0.0349, + 0.0369 + ], + [ + -0.0876, + 0.0351, + -0.0371 + ], + [ + -0.0876, + 0.0351, + 0.0369 + ], + [ + 0.0874, + -0.0349, + -0.0371 + ], + [ + 0.0874, + -0.0349, + 0.0369 + ], + [ + 0.0874, + 0.0351, + -0.0371 + ], + [ + 0.0874, + 0.0351, + 0.0369 + ] + ], + "extents": [ + 0.175, + 0.07, + 0.074 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.086, + -0.0371, + -0.0384 + ], + [ + 0.0889, + -0.0297, + -0.0357 + ], + [ + -0.0871, + -0.0372, + 0.0352 + ], + [ + 0.0878, + -0.0298, + 0.0378 + ], + [ + -0.0889, + 0.0325, + -0.0383 + ], + [ + 0.086, + 0.0399, + -0.0356 + ], + [ + -0.09, + 0.0324, + 0.0353 + ], + [ + 0.0849, + 0.0397, + 0.0379 + ] + ], + "extents": [ + 0.1789, + 0.0771, + 0.0763 + ] + } + }, + "active": {}, + "description": [ + "rounded toe box object made of rubber outsole", + "matte crimson upper modern trainer suitable for running", + "black sole curved heel counter object for casual sportswear", + "Nike running shoe featuring thick layered sole shape", + "Nike running shoe sized as standard adult sneaker", + "foam midsole thick layered sole for daily walking", + "medium build black sole foam midsole thick layered sole object", + "Nike running shoe ideal for casual sportswear", + "rubber outsole red athletic sneaker used for casual sportswear", + "Nike running shoe with deep red color", + "matte crimson upper foam midsole rounded toe box object", + "Nike running shoe ideal for daily walking", + "Nike running shoe in rounded toe box form", + "rubber outsole modern trainer used for daily walking", + "red athletic sneaker with standard adult sneaker dimensions", + "foam midsole curved heel counter red athletic sneaker", + "Nike running shoe featuring rubber outsole build", + "red athletic sneaker featuring foam midsole build", + "Nike running shoe with deep red exterior", + "curved heel counter Nike running shoe used for running", + "curved heel counter object made of foam midsole", + "matte crimson upper red athletic sneaker suitable for casual sportswear", + "red athletic sneaker typically made of rubber outsole", + "black sole object used for casual sportswear", + "modern trainer suitable for casual sportswear", + "modern trainer with matte crimson upper color", + "chunky silhouette deep red object for running", + "chunky silhouette matte crimson upper object for running", + "rubber outsole curved heel counter for daily walking", + "red athletic sneaker with foam midsole surface", + "modern trainer made from rubber outsole", + "modern trainer appropriate for running use", + "Nike running shoe used to daily walking", + "standard adult sneaker foam midsole modern trainer for running", + "Nike running shoe commonly featuring foam midsole", + "medium build red athletic sneaker used for daily walking", + "matte crimson upper textured synthetic upper rounded toe box red athletic sneaker", + "modern trainer in black sole", + "red athletic sneaker commonly found in chunky silhouette size", + "rubber outsole object for daily walking", + "Nike running shoe appropriate for daily walking", + "chunky silhouette black sole rounded toe box object", + "chunky silhouette curved heel counter Nike running shoe for casual sportswear", + "Nike running shoe with foam midsole surface", + "black sole chunky silhouette rubber outsole object", + "modern trainer in thick layered sole form", + "modern trainer with curved heel counter geometry", + "matte crimson upper object used for casual sportswear", + "deep red thick layered sole modern trainer", + "red athletic sneaker colored deep red", + "textured synthetic upper object for daily walking", + "modern trainer made of foam midsole", + "medium build textured synthetic upper curved heel counter for running", + "deep red curved heel counter object for casual sportswear", + "Nike running shoe designed for casual sportswear", + "Nike running shoe in chunky silhouette", + "red athletic sneaker shaped like a curved heel counter", + "modern trainer for casual sportswear tasks", + "rubber outsole thick layered sole object used for casual sportswear", + "medium build curved heel counter modern trainer", + "rounded toe box rubber outsole modern trainer for casual sportswear", + "Nike running shoe suitable for daily walking", + "standard adult sneaker thick layered sole object", + "Nike running shoe designed for daily walking", + "Nike running shoe with rounded toe box profile", + "deep red Nike running shoe designed for running", + "Nike running shoe made from rubber outsole", + "modern trainer typically made of foam midsole", + "standard adult sneaker deep red textured synthetic upper modern trainer", + "Nike running shoe for running use", + "modern trainer intended for running usage", + "Nike running shoe commonly found in medium build size", + "red athletic sneaker primarily used for daily walking", + "modern trainer suitable for running", + "textured synthetic upper black sole Nike running shoe", + "foam midsole Nike running shoe suitable for running", + "red athletic sneaker colored matte crimson upper", + "matte crimson upper rubber outsole curved heel counter modern trainer", + "black sole curved heel counter modern trainer used for casual sportswear", + "Nike running shoe shaped like a rounded toe box", + "chunky silhouette curved heel counter Nike running shoe", + "deep red object used for running", + "deep red object used for casual sportswear", + "chunky silhouette foam midsole curved heel counter for running", + "black sole Nike running shoe designed for running", + "matte crimson upper rounded toe box Nike running shoe", + "black sole rounded toe box object for casual sportswear", + "red athletic sneaker appropriate for daily walking use", + "standard adult sneaker object used for running", + "thick layered sole object made of foam midsole", + "red athletic sneaker in matte crimson upper", + "red athletic sneaker sized chunky silhouette", + "rounded toe box textured synthetic upper object for daily walking", + "black sole textured synthetic upper red athletic sneaker", + "Nike running shoe used to running", + "red athletic sneaker sized as chunky silhouette", + "Nike running shoe in deep red", + "modern trainer featuring thick layered sole shape", + "curved heel counter rubber outsole object for daily walking", + "Nike running shoe typically made of foam midsole" + ], + "caption": { + "color": [ + "deep red", + "black sole", + "matte crimson upper" + ], + "function": [ + "running", + "daily walking", + "casual sportswear" + ], + "material": [ + "textured synthetic upper", + "rubber outsole", + "foam midsole" + ], + "name": [ + "Nike running shoe", + "red athletic sneaker", + "modern trainer" + ], + "shape": [ + "rounded toe box", + "thick layered sole", + "curved heel counter" + ], + "size": [ + "standard adult sneaker", + "medium build", + "chunky silhouette" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00007/metadata.json b/Objects/RoboDojo/Rigid/shoe/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..61c65158bba96dff042d91bae4b5109757b47cc4 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00007/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.32, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0876, + -0.0351, + -0.0371 + ], + [ + -0.0876, + -0.0351, + 0.0369 + ], + [ + -0.0876, + 0.0349, + -0.0371 + ], + [ + -0.0876, + 0.0349, + 0.0369 + ], + [ + 0.0874, + -0.0351, + -0.0371 + ], + [ + 0.0874, + -0.0351, + 0.0369 + ], + [ + 0.0874, + 0.0349, + -0.0371 + ], + [ + 0.0874, + 0.0349, + 0.0369 + ] + ], + "extents": [ + 0.175, + 0.07, + 0.074 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0889, + -0.0325, + -0.0383 + ], + [ + 0.086, + -0.0399, + -0.0356 + ], + [ + -0.09, + -0.0324, + 0.0353 + ], + [ + 0.0849, + -0.0397, + 0.0379 + ], + [ + -0.086, + 0.0371, + -0.0384 + ], + [ + 0.0889, + 0.0297, + -0.0357 + ], + [ + -0.0871, + 0.0372, + 0.0352 + ], + [ + 0.0878, + 0.0298, + 0.0378 + ] + ], + "extents": [ + 0.1789, + 0.0771, + 0.0763 + ] + } + }, + "active": {}, + "description": [ + "training shoe with textured synthetic upper surface", + "curved toe box standard adult sneaker Nike running shoe", + "Nike running shoe for running scenarios", + "black outsole low-top silhouette object for gym workouts", + "deep maroon sole red athletic sneaker used for gym workouts", + "training shoe with textured synthetic upper construction", + "foam midsole object used for daily walking", + "training shoe featuring curved toe box shape", + "standard adult sneaker deep maroon sole red athletic sneaker", + "Nike running shoe sized as running shoe proportions", + "curved toe box object used for running", + "Nike running shoe intended for gym workouts usage", + "Nike running shoe commonly featuring textured synthetic upper", + "standard adult sneaker textured synthetic upper object", + "training shoe shaped like a curved toe box", + "red athletic sneaker in vibrant red", + "Nike running shoe commonly featuring rubber outsole", + "Nike running shoe with vibrant red exterior", + "medium build deep maroon sole object for daily walking", + "standard adult sneaker red athletic sneaker used for running", + "deep maroon sole foam midsole Nike running shoe", + "standard adult sneaker rubber outsole object", + "training shoe with black outsole color", + "training shoe colored vibrant red", + "training shoe in standard adult sneaker", + "deep maroon sole red athletic sneaker designed for daily walking", + "red athletic sneaker commonly featuring textured synthetic upper", + "red athletic sneaker shaped like a low-top silhouette", + "standard adult sneaker black outsole textured synthetic upper training shoe", + "medium build black outsole rubber outsole red athletic sneaker", + "vibrant red foam midsole low-top silhouette Nike running shoe", + "Nike running shoe used to gym workouts", + "training shoe ideal for running", + "standard adult sneaker vibrant red low-top silhouette for gym workouts", + "red athletic sneaker made from rubber outsole", + "Nike running shoe commonly found in standard adult sneaker size", + "medium build deep maroon sole low-top silhouette object", + "chunky layered sole object made of foam midsole", + "rubber outsole object used for daily walking", + "vibrant red Nike running shoe designed for gym workouts", + "rubber outsole curved toe box object used for daily walking", + "textured synthetic upper red athletic sneaker for running", + "Nike running shoe commonly used for running", + "vibrant red low-top silhouette Nike running shoe used for daily walking", + "red athletic sneaker intended for daily walking", + "running shoe proportions deep maroon sole low-top silhouette for gym workouts", + "black outsole Nike running shoe designed for daily walking", + "standard adult sneaker vibrant red foam midsole chunky layered sole object", + "black outsole medium build foam midsole object", + "training shoe optimized for daily walking", + "deep maroon sole running shoe proportions low-top silhouette training shoe", + "red athletic sneaker for daily walking with rubber outsole", + "medium build rubber outsole training shoe", + "chunky layered sole medium build training shoe", + "red athletic sneaker featuring rubber outsole build", + "vibrant red low-top silhouette object for daily walking", + "Nike running shoe for running activities", + "red athletic sneaker with running shoe proportions dimensions", + "training shoe for daily walking use", + "vibrant red red athletic sneaker for running", + "textured synthetic upper Nike running shoe", + "running use of Nike running shoe", + "medium build rubber outsole curved toe box for gym workouts", + "training shoe for running", + "training shoe sized running shoe proportions", + "textured synthetic upper red athletic sneaker", + "Nike running shoe typically made of textured synthetic upper", + "medium build vibrant red object for daily walking", + "Nike running shoe ideal for daily walking", + "medium build red athletic sneaker perfect for running", + "red athletic sneaker designed for gym workouts", + "medium build rubber outsole low-top silhouette for gym workouts", + "Nike running shoe for running use", + "running shoe proportions vibrant red curved toe box object", + "vibrant red object used for gym workouts", + "vibrant red textured synthetic upper curved toe box object", + "running shoe proportions textured synthetic upper low-top silhouette for running", + "Nike running shoe intended for running usage", + "red athletic sneaker for gym workouts scenarios", + "Nike running shoe with curved toe box profile", + "training shoe with rubber outsole body", + "red athletic sneaker with chunky layered sole geometry", + "foam midsole low-top silhouette training shoe", + "training shoe in chunky layered sole", + "foam midsole red athletic sneaker for running", + "Nike running shoe in curved toe box", + "deep maroon sole Nike running shoe typically used for daily walking", + "medium build low-top silhouette object for running", + "textured synthetic upper object used for running", + "red athletic sneaker in curved toe box form", + "curved toe box-shaped Nike running shoe", + "Nike running shoe commonly used for gym workouts", + "red athletic sneaker for daily walking activities", + "black outsole training shoe designed for daily walking", + "vibrant red running shoe proportions rubber outsole object", + "vibrant red standard adult sneaker curved toe box training shoe", + "medium build black outsole curved toe box object", + "Nike running shoe sized medium build", + "rubber outsole object for running", + "standard adult sneaker low-top silhouette object" + ], + "caption": { + "color": [ + "vibrant red", + "deep maroon sole", + "black outsole" + ], + "function": [ + "running", + "gym workouts", + "daily walking" + ], + "material": [ + "textured synthetic upper", + "rubber outsole", + "foam midsole" + ], + "name": [ + "Nike running shoe", + "red athletic sneaker", + "training shoe" + ], + "shape": [ + "curved toe box", + "chunky layered sole", + "low-top silhouette" + ], + "size": [ + "standard adult sneaker", + "medium build", + "running shoe proportions" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00008/metadata.json b/Objects/RoboDojo/Rigid/shoe/00008/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..595974b8446185d79ab5455604a16ea56d05da4b --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00008/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.65, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0946, + -0.0349, + -0.0361 + ], + [ + -0.0946, + -0.0349, + 0.0359 + ], + [ + -0.0946, + 0.0351, + -0.0361 + ], + [ + -0.0946, + 0.0351, + 0.0359 + ], + [ + 0.0944, + -0.0349, + -0.0361 + ], + [ + 0.0944, + -0.0349, + 0.0359 + ], + [ + 0.0944, + 0.0351, + -0.0361 + ], + [ + 0.0944, + 0.0351, + 0.0359 + ] + ], + "extents": [ + 0.189, + 0.07, + 0.072 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0908, + -0.0416, + -0.0334 + ], + [ + 0.0969, + -0.0212, + -0.0373 + ], + [ + -0.0893, + -0.0417, + 0.0381 + ], + [ + 0.0984, + -0.0214, + 0.0342 + ], + [ + -0.0982, + 0.0271, + -0.0331 + ], + [ + 0.0895, + 0.0474, + -0.037 + ], + [ + -0.0967, + 0.0269, + 0.0384 + ], + [ + 0.091, + 0.0473, + 0.0345 + ] + ], + "extents": [ + 0.1966, + 0.0892, + 0.0758 + ] + } + }, + "active": {}, + "description": [ + "smart casual shoe primarily used for supporting foot during daily activity", + "men's dress shoe low heel Derby shoe", + "brown lace-up shoe used to walking on hard surfaces", + "Derby shoe sized men's dress shoe", + "rounded toe object used for supporting foot during daily activity", + "slightly tapered silhouette smart casual shoe used for walking on hard surfaces", + "rubber sole object used for formal or smart-casual wear", + "standard fit dark brown leather object for walking on hard surfaces", + "smart casual shoe built from smooth leather upper", + "tan stitching brown lace-up shoe designed for formal or smart-casual wear", + "tan stitching object used for supporting foot during daily activity", + "smart casual shoe commonly found in men's dress shoe size", + "dark brown leather Derby shoe for supporting foot during daily activity", + "dark brown leather men's dress shoe waxed cotton laces object", + "Derby shoe for supporting foot during daily activity tasks", + "standard fit slightly tapered silhouette Derby shoe", + "low heel smart casual shoe ideal for walking on hard surfaces", + "Derby shoe sized as standard fit", + "tan stitching smart casual shoe designed for supporting foot during daily activity", + "smart casual shoe sized standard fit", + "rounded toe smart casual shoe used for supporting foot during daily activity", + "Derby shoe appropriate for supporting foot during daily activity use", + "slightly tapered silhouette Derby shoe for formal or smart-casual wear", + "smart casual shoe for supporting foot during daily activity use", + "tan stitching smart casual shoe designed for formal or smart-casual wear", + "smart casual shoe optimized for walking on hard surfaces", + "dark brown leather smart casual shoe used for formal or smart-casual wear", + "Derby shoe typically made of smooth leather upper", + "dark brown leather smart casual shoe typically used for formal or smart-casual wear", + "light brown laces brown lace-up shoe designed for formal or smart-casual wear", + "waxed cotton laces smart casual shoe suitable for formal or smart-casual wear", + "men's dress shoe tan stitching object for supporting foot during daily activity", + "smart casual shoe with low heel profile", + "brown lace-up shoe in men's dress shoe", + "brown lace-up shoe commonly used for walking on hard surfaces", + "standard fit Derby shoe used for formal or smart-casual wear", + "rounded toe-shaped smart casual shoe", + "waxed cotton laces brown lace-up shoe for walking on hard surfaces", + "rounded toe-shaped brown lace-up shoe", + "standard fit low heel smart casual shoe", + "rounded toe rubber sole brown lace-up shoe for supporting foot during daily activity", + "Derby shoe commonly found in men's dress shoe size", + "rounded toe smooth leather upper object for supporting foot during daily activity", + "smart casual shoe primarily used for formal or smart-casual wear", + "rubber sole tan stitching brown lace-up shoe", + "Derby shoe made of rubber sole", + "brown lace-up shoe featuring low heel shape", + "light brown laces smart casual shoe for supporting foot during daily activity", + "brown lace-up shoe in tan stitching", + "smooth leather upper Derby shoe suitable for supporting foot during daily activity", + "men's dress shoe light brown laces object for formal or smart-casual wear", + "low heel object used for formal or smart-casual wear", + "smooth leather upper object used for walking on hard surfaces", + "Derby shoe optimized for supporting foot during daily activity", + "Derby shoe for supporting foot during daily activity activities", + "brown lace-up shoe made from smooth leather upper", + "Derby shoe with tan stitching exterior", + "brown lace-up shoe typically made of waxed cotton laces", + "light brown laces rounded toe brown lace-up shoe used for supporting foot during daily activity", + "brown lace-up shoe in low heel form", + "brown lace-up shoe in low heel", + "Derby shoe for formal or smart-casual wear with smooth leather upper", + "medium width brown lace-up shoe used for supporting foot during daily activity", + "rounded toe rubber sole smart casual shoe for supporting foot during daily activity", + "men's dress shoe light brown laces smooth leather upper low heel object", + "light brown laces rounded toe smart casual shoe used for walking on hard surfaces", + "medium width rubber sole low heel for walking on hard surfaces", + "medium width smart casual shoe used for formal or smart-casual wear", + "tan stitching men's dress shoe rounded toe smart casual shoe", + "slightly tapered silhouette object made of rubber sole", + "medium width waxed cotton laces smart casual shoe", + "tan stitching object used for walking on hard surfaces", + "standard fit tan stitching Derby shoe", + "brown lace-up shoe in standard fit", + "Derby shoe for formal or smart-casual wear activities", + "Derby shoe with medium width dimensions", + "smart casual shoe typically made of rubber sole", + "smooth leather upper object used for formal or smart-casual wear", + "brown lace-up shoe primarily used for formal or smart-casual wear", + "smart casual shoe with dark brown leather exterior", + "men's dress shoe dark brown leather low heel for formal or smart-casual wear", + "Derby shoe with rounded toe geometry", + "rounded toe object used for walking on hard surfaces", + "waxed cotton laces tan stitching brown lace-up shoe", + "brown lace-up shoe typically made of rubber sole", + "men's dress shoe smooth leather upper smart casual shoe for walking on hard surfaces", + "waxed cotton laces slightly tapered silhouette for formal or smart-casual wear", + "brown lace-up shoe colored light brown laces", + "medium width waxed cotton laces brown lace-up shoe for walking on hard surfaces", + "Derby shoe suitable for supporting foot during daily activity", + "smart casual shoe with slightly tapered silhouette geometry", + "brown lace-up shoe suitable for formal or smart-casual wear", + "brown lace-up shoe sized standard fit", + "brown lace-up shoe optimized for supporting foot during daily activity", + "smart casual shoe with waxed cotton laces body", + "men's dress shoe rubber sole slightly tapered silhouette for supporting foot during daily activity", + "men's dress shoe smart casual shoe used for walking on hard surfaces", + "smart casual shoe with medium width dimensions", + "tan stitching low heel object for walking on hard surfaces", + "smart casual shoe with tan stitching color" + ], + "caption": { + "color": [ + "dark brown leather", + "tan stitching", + "light brown laces" + ], + "function": [ + "walking on hard surfaces", + "formal or smart-casual wear", + "supporting foot during daily activity" + ], + "material": [ + "smooth leather upper", + "rubber sole", + "waxed cotton laces" + ], + "name": [ + "Derby shoe", + "brown lace-up shoe", + "smart casual shoe" + ], + "shape": [ + "rounded toe", + "low heel", + "slightly tapered silhouette" + ], + "size": [ + "men's dress shoe", + "medium width", + "standard fit" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00009/metadata.json b/Objects/RoboDojo/Rigid/shoe/00009/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..6dbe01bac433f372e32abd63f8425c34dcf84a96 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00009/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.5, + "friction": 0.65 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0926, + -0.0343, + -0.0353 + ], + [ + -0.0926, + -0.0343, + 0.035 + ], + [ + -0.0926, + 0.0341, + -0.0353 + ], + [ + -0.0926, + 0.0341, + 0.035 + ], + [ + 0.0924, + -0.0343, + -0.0353 + ], + [ + 0.0924, + -0.0343, + 0.035 + ], + [ + 0.0924, + 0.0341, + -0.0353 + ], + [ + 0.0924, + 0.0341, + 0.035 + ] + ], + "extents": [ + 0.185, + 0.0685, + 0.0703 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0961, + -0.0265, + -0.0323 + ], + [ + 0.0876, + -0.0464, + -0.0362 + ], + [ + -0.0947, + -0.0263, + 0.0375 + ], + [ + 0.0891, + -0.0462, + 0.0337 + ], + [ + -0.0888, + 0.0407, + -0.0327 + ], + [ + 0.0949, + 0.0207, + -0.0365 + ], + [ + -0.0874, + 0.0408, + 0.0372 + ], + [ + 0.0963, + 0.0209, + 0.0334 + ] + ], + "extents": [ + 0.1925, + 0.0872, + 0.074 + ] + } + }, + "active": {}, + "description": [ + "casual dress shoe with dark brown leather color", + "derby shoe for dressing up smart-casual outfits activities", + "casual dress shoe with low heel profile", + "derby shoe appropriate for dressing up smart-casual outfits use", + "brown lace-up sized as medium width", + "brown lace-up for walking comfortably activities", + "derby shoe commonly found in men's standard fit size", + "casual dress shoe appropriate for everyday wear use", + "derby shoe featuring smooth leather upper build", + "derby shoe sized as men's standard fit", + "rounded toe object used for walking comfortably", + "structured vamp with open lacing cotton laces derby shoe for walking comfortably", + "smooth leather upper low heel derby shoe", + "brown lace-up for dressing up smart-casual outfits use", + "classic dress shoe size brown lace-up used for walking comfortably", + "derby shoe shaped like a rounded toe", + "dark brown leather casual dress shoe designed for everyday wear", + "tan stitching cotton laces low heel object", + "derby shoe for everyday wear tasks", + "classic dress shoe size rubber sole brown lace-up for walking comfortably", + "derby shoe in low heel", + "rounded toe derby shoe for walking comfortably", + "derby shoe made of rubber sole", + "casual dress shoe designed for dressing up smart-casual outfits", + "classic dress shoe size rounded toe object for walking comfortably", + "derby shoe built from cotton laces", + "casual dress shoe featuring cotton laces build", + "derby shoe for everyday wear scenarios", + "medium width dark brown leather object for dressing up smart-casual outfits", + "structured vamp with open lacing-shaped derby shoe", + "medium width casual dress shoe perfect for walking comfortably", + "brown lace-up in rounded toe form", + "brown lace-up with cotton laces construction", + "low heel rubber sole object for dressing up smart-casual outfits", + "derby shoe designed for walking comfortably", + "medium width smooth leather upper brown lace-up for walking comfortably", + "derby shoe made from cotton laces", + "structured vamp with open lacing cotton laces brown lace-up for dressing up smart-casual outfits", + "derby shoe sized medium width", + "derby shoe commonly found in medium width size", + "men's standard fit smooth leather upper object", + "medium width black sole structured vamp with open lacing object", + "derby shoe with low heel geometry", + "derby shoe featuring structured vamp with open lacing shape", + "low heel-shaped brown lace-up", + "cotton laces object used for walking comfortably", + "casual dress shoe with smooth leather upper surface", + "classic dress shoe size rubber sole object", + "medium width low heel object", + "derby shoe commonly found in classic dress shoe size size", + "brown lace-up appropriate for dressing up smart-casual outfits", + "derby shoe used to walking comfortably", + "cotton laces brown lace-up for everyday wear", + "classic dress shoe size structured vamp with open lacing derby shoe", + "brown lace-up in low heel", + "cotton laces casual dress shoe used for walking comfortably", + "casual dress shoe in classic dress shoe size", + "casual dress shoe for dressing up smart-casual outfits activities", + "brown lace-up for dressing up smart-casual outfits tasks", + "casual dress shoe appropriate for dressing up smart-casual outfits", + "tan stitching object used for everyday wear", + "structured vamp with open lacing smooth leather upper object for everyday wear", + "medium width tan stitching low heel for walking comfortably", + "derby shoe built from rubber sole", + "cotton laces rounded toe derby shoe", + "derby shoe commonly used for everyday wear", + "brown lace-up commonly found in medium width size", + "derby shoe appropriate for walking comfortably", + "tan stitching rounded toe object for dressing up smart-casual outfits", + "derby shoe featuring cotton laces build", + "tan stitching medium width smooth leather upper object", + "rounded toe casual dress shoe ideal for everyday wear", + "brown lace-up in rounded toe", + "rubber sole structured vamp with open lacing brown lace-up", + "brown lace-up intended for everyday wear", + "rounded toe derby shoe ideal for walking comfortably", + "men's standard fit dark brown leather rounded toe for dressing up smart-casual outfits", + "derby shoe appropriate for everyday wear", + "medium width dark brown leather rounded toe object", + "rounded toe-shaped derby shoe", + "men's standard fit rubber sole low heel for walking comfortably", + "brown lace-up appropriate for walking comfortably", + "brown lace-up sized as men's standard fit", + "casual dress shoe sized as medium width", + "brown lace-up made of cotton laces", + "dark brown leather cotton laces low heel object", + "classic dress shoe size rubber sole casual dress shoe", + "derby shoe for everyday wear with smooth leather upper", + "derby shoe in black sole", + "brown lace-up used to dressing up smart-casual outfits", + "brown lace-up sized medium width", + "classic dress shoe size cotton laces brown lace-up", + "classic dress shoe size black sole rounded toe for walking comfortably", + "casual dress shoe with classic dress shoe size dimensions", + "brown lace-up shaped like a rounded toe", + "casual dress shoe used to dressing up smart-casual outfits", + "brown lace-up colored dark brown leather", + "derby shoe in medium width", + "structured vamp with open lacing-shaped casual dress shoe", + "rubber sole brown lace-up" + ], + "caption": { + "color": [ + "dark brown leather", + "tan stitching", + "black sole" + ], + "function": [ + "walking comfortably", + "dressing up smart-casual outfits", + "everyday wear" + ], + "material": [ + "smooth leather upper", + "rubber sole", + "cotton laces" + ], + "name": [ + "derby shoe", + "brown lace-up", + "casual dress shoe" + ], + "shape": [ + "rounded toe", + "low heel", + "structured vamp with open lacing" + ], + "size": [ + "men's standard fit", + "medium width", + "classic dress shoe size" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00010/metadata.json b/Objects/RoboDojo/Rigid/shoe/00010/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..7b85a6a7551d82019fe75354facf26c623affe01 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00010/metadata.json @@ -0,0 +1,244 @@ +{ + "physics": { + "mass": 0.45, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0757, + -0.0281, + -0.0373 + ], + [ + -0.0757, + -0.0281, + 0.0371 + ], + [ + -0.0757, + 0.0279, + -0.0373 + ], + [ + -0.0757, + 0.0279, + 0.0371 + ], + [ + 0.0755, + -0.0281, + -0.0373 + ], + [ + 0.0755, + -0.0281, + 0.0371 + ], + [ + 0.0755, + 0.0279, + -0.0373 + ], + [ + 0.0755, + 0.0279, + 0.0371 + ] + ], + "extents": [ + 0.1512, + 0.056, + 0.0744 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0751, + -0.0286, + -0.0388 + ], + [ + 0.0761, + -0.0268, + -0.0356 + ], + [ + -0.0767, + -0.0289, + 0.0348 + ], + [ + 0.0745, + -0.0271, + 0.038 + ], + [ + -0.0758, + 0.0274, + -0.0386 + ], + [ + 0.0754, + 0.0291, + -0.0354 + ], + [ + -0.0773, + 0.0271, + 0.035 + ], + [ + 0.0739, + 0.0289, + 0.0382 + ] + ], + "extents": [ + 0.1534, + 0.058, + 0.0769 + ] + } + }, + "active": {}, + "description": [ + "Nike Air Force 1 with low-top sneaker dimensions", + "pink Nike sneaker featuring flat sole with concentric tread shape", + "pink Nike sneaker appropriate for streetwear fashion use", + "flat sole with concentric tread object made of smooth synthetic leather", + "casual walking use of Nike Air Force 1", + "low-top sneaker Nike Air Force 1 perfect for everyday wear", + "pink Nike sneaker sized as low-top sneaker", + "white midsole AF1 for casual walking", + "pink Nike sneaker with perforated toe box mesh body", + "Nike Air Force 1 made of foam midsole", + "white midsole object used for everyday wear", + "smooth synthetic leather object for everyday wear", + "white midsole pink Nike sneaker typically used for streetwear fashion", + "youth or women's fit bright magenta swoosh classic low-profile silhouette object", + "standard width pink Nike sneaker used for streetwear fashion", + "standard width flat sole with concentric tread object", + "dark burgundy variant pink Nike sneaker suitable for streetwear fashion", + "AF1 with black outsole color", + "AF1 sized as low-top sneaker", + "flat sole with concentric tread object used for everyday wear", + "classic low-profile silhouette low-top sneaker AF1", + "Nike Air Force 1 shaped like a classic low-profile silhouette", + "youth or women's fit pink Nike sneaker perfect for casual walking", + "Nike Air Force 1 sized as youth or women's fit", + "AF1 for everyday wear tasks", + "low-top sneaker bright magenta swoosh flat sole with concentric tread for streetwear fashion", + "Nike Air Force 1 commonly found in low-top sneaker size", + "standard width AF1 for everyday wear", + "bright magenta swoosh youth or women's fit perforated toe box mesh object", + "dark burgundy variant pink Nike sneaker used for everyday wear", + "light pink upper flat sole with concentric tread Nike Air Force 1 used for streetwear fashion", + "rounded toe Nike Air Force 1 used for casual walking", + "white midsole foam midsole flat sole with concentric tread object", + "Nike Air Force 1 ideal for streetwear fashion", + "light pink upper pink Nike sneaker suitable for casual walking", + "pink Nike sneaker sized youth or women's fit", + "black outsole youth or women's fit flat sole with concentric tread Nike Air Force 1", + "bright magenta swoosh object used for streetwear fashion", + "standard width rounded toe Nike Air Force 1", + "dark burgundy variant Nike Air Force 1 used for casual walking", + "Nike Air Force 1 for streetwear fashion tasks", + "flat sole with concentric tread low-top sneaker Nike Air Force 1", + "Nike Air Force 1 with classic low-profile silhouette geometry", + "rubber sole Nike Air Force 1 suitable for everyday wear", + "black outsole low-top sneaker Nike Air Force 1 for casual walking", + "smooth synthetic leather Nike Air Force 1", + "AF1 designed for everyday wear", + "youth or women's fit black outsole flat sole with concentric tread for everyday wear", + "Nike Air Force 1 featuring smooth synthetic leather build", + "standard width rubber sole Nike Air Force 1 for everyday wear", + "low-top sneaker Nike Air Force 1 for casual walking", + "standard width classic low-profile silhouette AF1", + "rounded toe rubber sole object for everyday wear", + "black outsole Nike Air Force 1 typically used for everyday wear", + "AF1 suitable for casual walking", + "pink Nike sneaker for casual walking tasks", + "classic low-profile silhouette rubber sole object for streetwear fashion", + "youth or women's fit white midsole classic low-profile silhouette for streetwear fashion", + "dark burgundy variant rounded toe object for everyday wear", + "pink Nike sneaker appropriate for everyday wear use", + "dark burgundy variant Nike Air Force 1 designed for streetwear fashion", + "dark burgundy variant flat sole with concentric tread Nike Air Force 1 used for streetwear fashion", + "pink Nike sneaker in youth or women's fit", + "AF1 ideal for casual walking", + "Nike Air Force 1 for streetwear fashion", + "Nike Air Force 1 featuring rounded toe shape", + "bright magenta swoosh rounded toe AF1", + "black outsole low-top sneaker smooth synthetic leather object", + "smooth synthetic leather object for streetwear fashion", + "foam midsole Nike Air Force 1 for streetwear fashion", + "youth or women's fit bright magenta swoosh foam midsole rounded toe object", + "pink Nike sneaker with flat sole with concentric tread profile", + "pink Nike sneaker commonly featuring smooth synthetic leather", + "bright magenta swoosh youth or women's fit AF1 for casual walking", + "Nike Air Force 1 made of rubber sole", + "classic low-profile silhouette pink Nike sneaker ideal for streetwear fashion", + "bright magenta swoosh object used for casual walking", + "Nike Air Force 1 ideal for casual walking", + "AF1 commonly used for everyday wear", + "white midsole foam midsole AF1", + "AF1 optimized for everyday wear", + "AF1 for streetwear fashion tasks", + "rounded toe low-top sneaker AF1", + "black outsole flat sole with concentric tread pink Nike sneaker used for everyday wear", + "pink Nike sneaker intended for casual walking", + "youth or women's fit rounded toe AF1 for streetwear fashion", + "standard width flat sole with concentric tread AF1 for casual walking", + "flat sole with concentric tread pink Nike sneaker for casual walking", + "Nike Air Force 1 with white midsole color", + "Nike Air Force 1 colored bright magenta swoosh", + "black outsole Nike Air Force 1 used for streetwear fashion", + "standard width flat sole with concentric tread AF1 for streetwear fashion", + "light pink upper rounded toe Nike Air Force 1", + "rounded toe-shaped pink Nike sneaker", + "pink Nike sneaker appropriate for casual walking", + "AF1 with flat sole with concentric tread geometry", + "classic low-profile silhouette pink Nike sneaker for everyday wear", + "pink Nike sneaker in light pink upper", + "standard width rounded toe AF1", + "Nike Air Force 1 optimized for streetwear fashion" + ], + "caption": { + "color": [ + "light pink upper", + "bright magenta swoosh", + "white midsole", + "black outsole", + "dark burgundy variant" + ], + "function": [ + "casual walking", + "streetwear fashion", + "everyday wear" + ], + "material": [ + "smooth synthetic leather", + "perforated toe box mesh", + "rubber sole", + "foam midsole" + ], + "name": [ + "Nike Air Force 1", + "AF1", + "pink Nike sneaker" + ], + "shape": [ + "classic low-profile silhouette", + "rounded toe", + "flat sole with concentric tread" + ], + "size": [ + "low-top sneaker", + "youth or women's fit", + "standard width" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00011/metadata.json b/Objects/RoboDojo/Rigid/shoe/00011/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..59d664e89f0775da165cfe749d6acb4801e765b5 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00011/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.45, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0757, + -0.0279, + -0.0373 + ], + [ + -0.0757, + -0.0279, + 0.0371 + ], + [ + -0.0757, + 0.0281, + -0.0373 + ], + [ + -0.0757, + 0.0281, + 0.0371 + ], + [ + 0.0755, + -0.0279, + -0.0373 + ], + [ + 0.0755, + -0.0279, + 0.0371 + ], + [ + 0.0755, + 0.0281, + -0.0373 + ], + [ + 0.0755, + 0.0281, + 0.0371 + ] + ], + "extents": [ + 0.1512, + 0.056, + 0.0744 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0758, + -0.0274, + -0.0386 + ], + [ + 0.0754, + -0.0291, + -0.0354 + ], + [ + -0.0773, + -0.0271, + 0.035 + ], + [ + 0.0739, + -0.0289, + 0.0382 + ], + [ + -0.0751, + 0.0286, + -0.0388 + ], + [ + 0.0761, + 0.0268, + -0.0356 + ], + [ + -0.0767, + 0.0289, + 0.0348 + ], + [ + 0.0745, + 0.0271, + 0.038 + ] + ], + "extents": [ + 0.1534, + 0.058, + 0.0769 + ] + } + }, + "active": {}, + "description": [ + "classic low-top sneaker for everyday wear activities", + "AF1 with rubber outsole construction", + "rubber outsole boxy silhouette object used for casual walking", + "standard athletic sizing rounded toe cap Nike Air Force 1 for streetwear styling", + "youth or women's fit rounded toe cap AF1", + "dusty rose upper with bright magenta swoosh and grey sole youth or women's fit flat sole with circular tread pattern AF1", + "youth or women's fit rounded toe cap object for streetwear styling", + "deep burgundy upper with black sole low-top sneaker AF1 for streetwear styling", + "classic low-top sneaker with boxy silhouette profile", + "Nike Air Force 1 primarily used for everyday wear", + "AF1 in deep burgundy upper with black sole", + "AF1 appropriate for casual walking", + "low-top sneaker rubber outsole object", + "classic low-top sneaker appropriate for casual walking use", + "classic low-top sneaker with light pink and grey with hot pink accent color", + "youth or women's fit textured perforated toe box object", + "youth or women's fit deep burgundy upper with black sole Nike Air Force 1", + "dusty rose upper with bright magenta swoosh and grey sole low-top sneaker textured perforated toe box object", + "dusty rose upper with bright magenta swoosh and grey sole AF1 suitable for streetwear styling", + "rubber outsole classic low-top sneaker used for everyday wear", + "classic low-top sneaker in low-top sneaker", + "classic low-top sneaker in flat sole with circular tread pattern form", + "classic low-top sneaker used to streetwear styling", + "youth or women's fit rubber outsole Nike Air Force 1 for streetwear styling", + "AF1 built from rubber outsole", + "rubber outsole AF1 for everyday wear", + "AF1 typically made of textured perforated toe box", + "textured perforated toe box rounded toe cap for everyday wear", + "textured perforated toe box rounded toe cap Nike Air Force 1", + "youth or women's fit object used for everyday wear", + "Nike Air Force 1 with smooth leather upper construction", + "Nike Air Force 1 with smooth leather upper body", + "dusty rose upper with bright magenta swoosh and grey sole Nike Air Force 1 typically used for streetwear styling", + "classic low-top sneaker with smooth leather upper body", + "rounded toe cap-shaped Nike Air Force 1", + "AF1 colored light pink and grey with hot pink accent", + "Nike Air Force 1 for casual walking activities", + "light pink and grey with hot pink accent AF1 used for streetwear styling", + "low-top sneaker flat sole with circular tread pattern AF1 for everyday wear", + "light pink and grey with hot pink accent rounded toe cap AF1", + "boxy silhouette classic low-top sneaker for streetwear styling", + "AF1 for streetwear styling", + "Nike Air Force 1 with rounded toe cap profile", + "rubber outsole AF1 used for everyday wear", + "smooth leather upper flat sole with circular tread pattern for everyday wear", + "deep burgundy upper with black sole textured perforated toe box boxy silhouette object", + "Nike Air Force 1 with rounded toe cap geometry", + "Nike Air Force 1 ideal for everyday wear", + "Nike Air Force 1 with textured perforated toe box construction", + "classic low-top sneaker intended for casual walking", + "classic low-top sneaker designed for streetwear styling", + "deep burgundy upper with black sole rounded toe cap AF1 used for everyday wear", + "boxy silhouette smooth leather upper Nike Air Force 1 for everyday wear", + "youth or women's fit dusty rose upper with bright magenta swoosh and grey sole rubber outsole Nike Air Force 1", + "low-top sneaker dusty rose upper with bright magenta swoosh and grey sole classic low-top sneaker", + "low-top sneaker light pink and grey with hot pink accent Nike Air Force 1", + "classic low-top sneaker for everyday wear use", + "textured perforated toe box object for casual walking", + "flat sole with circular tread pattern object used for streetwear styling", + "dusty rose upper with bright magenta swoosh and grey sole textured perforated toe box classic low-top sneaker", + "flat sole with circular tread pattern AF1 ideal for casual walking", + "low-top sneaker classic low-top sneaker perfect for everyday wear", + "classic low-top sneaker made of textured perforated toe box", + "rounded toe cap object used for casual walking", + "classic low-top sneaker intended for streetwear styling usage", + "standard athletic sizing classic low-top sneaker perfect for streetwear styling", + "AF1 designed for casual walking", + "light pink and grey with hot pink accent Nike Air Force 1 used for casual walking", + "classic low-top sneaker sized as standard athletic sizing", + "standard athletic sizing deep burgundy upper with black sole flat sole with circular tread pattern for everyday wear", + "rubber outsole Nike Air Force 1 suitable for streetwear styling", + "AF1 with smooth leather upper surface", + "Nike Air Force 1 featuring boxy silhouette shape", + "low-top sneaker deep burgundy upper with black sole flat sole with circular tread pattern object", + "low-top sneaker boxy silhouette classic low-top sneaker for everyday wear", + "youth or women's fit dusty rose upper with bright magenta swoosh and grey sole rounded toe cap for casual walking", + "deep burgundy upper with black sole classic low-top sneaker used for streetwear styling", + "standard athletic sizing Nike Air Force 1 for streetwear styling", + "light pink and grey with hot pink accent flat sole with circular tread pattern Nike Air Force 1 used for everyday wear", + "youth or women's fit object used for streetwear styling", + "classic low-top sneaker suitable for everyday wear", + "classic low-top sneaker in rounded toe cap", + "Nike Air Force 1 with flat sole with circular tread pattern geometry", + "light pink and grey with hot pink accent object used for streetwear styling", + "AF1 shaped like a flat sole with circular tread pattern", + "classic low-top sneaker typically made of rubber outsole", + "rounded toe cap object used for streetwear styling", + "deep burgundy upper with black sole object used for streetwear styling", + "streetwear styling use of AF1", + "classic low-top sneaker ideal for everyday wear", + "rubber outsole Nike Air Force 1 for streetwear styling", + "standard athletic sizing rounded toe cap Nike Air Force 1", + "classic low-top sneaker appropriate for everyday wear", + "Nike Air Force 1 in boxy silhouette form", + "rounded toe cap rubber outsole classic low-top sneaker for everyday wear", + "rubber outsole Nike Air Force 1 suitable for everyday wear", + "smooth leather upper Nike Air Force 1 for streetwear styling", + "deep burgundy upper with black sole flat sole with circular tread pattern classic low-top sneaker used for streetwear styling", + "AF1 in boxy silhouette", + "low-top sneaker rounded toe cap Nike Air Force 1" + ], + "caption": { + "color": [ + "deep burgundy upper with black sole", + "dusty rose upper with bright magenta swoosh and grey sole", + "light pink and grey with hot pink accent" + ], + "function": [ + "casual walking", + "streetwear styling", + "everyday wear" + ], + "material": [ + "smooth leather upper", + "rubber outsole", + "textured perforated toe box" + ], + "name": [ + "Nike Air Force 1", + "AF1", + "classic low-top sneaker" + ], + "shape": [ + "boxy silhouette", + "flat sole with circular tread pattern", + "rounded toe cap" + ], + "size": [ + "low-top sneaker", + "youth or women's fit", + "standard athletic sizing" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00012/metadata.json b/Objects/RoboDojo/Rigid/shoe/00012/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..565aa61ae424858ea62b4b396d0ff5d0b072e063 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00012/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.65, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0896, + -0.0349, + -0.0352 + ], + [ + -0.0896, + -0.0349, + 0.0348 + ], + [ + -0.0896, + 0.0351, + -0.0352 + ], + [ + -0.0896, + 0.0351, + 0.0348 + ], + [ + 0.0894, + -0.0349, + -0.0352 + ], + [ + 0.0894, + -0.0349, + 0.0348 + ], + [ + 0.0894, + 0.0351, + -0.0352 + ], + [ + 0.0894, + 0.0351, + 0.0348 + ] + ], + "extents": [ + 0.179, + 0.07, + 0.07 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0919, + -0.0241, + -0.0305 + ], + [ + -0.0857, + -0.0389, + -0.0401 + ], + [ + 0.0862, + 0.0441, + -0.0291 + ], + [ + -0.0915, + 0.0293, + -0.0387 + ], + [ + 0.0884, + -0.0258, + 0.0375 + ], + [ + -0.0892, + -0.0406, + 0.028 + ], + [ + 0.0827, + 0.0424, + 0.0389 + ], + [ + -0.095, + 0.0276, + 0.0294 + ] + ], + "extents": [ + 0.1869, + 0.0847, + 0.079 + ] + } + }, + "active": {}, + "description": [ + "black black dress shoe for wearing for school or office", + "black dress shoe made of rubber sole", + "black dress shoe in structured upper with eyelets", + "rounded toe synthetic lining school shoe for wearing for school or office", + "rounded toe rubber sole black dress shoe for walking on hard surfaces", + "gold accent stitching school shoe for wearing for school or office", + "standard men's dress shoe tan lining rubber sole school shoe", + "school shoe made of smooth leather", + "rubber sole formal lace-up used for walking on hard surfaces", + "gold accent stitching standard men's dress shoe low heel school shoe", + "school shoe with smooth leather body", + "rubber sole gold accent stitching black dress shoe", + "black dress shoe with black color", + "formal lace-up in black", + "formal lace-up built from rubber sole", + "rubber sole black dress shoe", + "school shoe for walking on hard surfaces use", + "black dress shoe appropriate for supporting foot during daily activity use", + "formal lace-up commonly featuring synthetic lining", + "full-size fit tan lining structured upper with eyelets for supporting foot during daily activity", + "standard men's dress shoe rubber sole structured upper with eyelets for supporting foot during daily activity", + "black dress shoe intended for supporting foot during daily activity usage", + "school shoe made of rubber sole", + "school shoe for wearing for school or office tasks", + "wearing for school or office use of formal lace-up", + "black dress shoe made of smooth leather", + "medium width rubber sole object", + "school shoe commonly featuring synthetic lining", + "medium width rubber sole black dress shoe for supporting foot during daily activity", + "black dress shoe primarily used for walking on hard surfaces", + "black dress shoe with synthetic lining construction", + "full-size fit synthetic lining structured upper with eyelets for walking on hard surfaces", + "black rounded toe object for supporting foot during daily activity", + "formal lace-up with rubber sole construction", + "standard men's dress shoe low heel black dress shoe for wearing for school or office", + "black school shoe designed for walking on hard surfaces", + "full-size fit formal lace-up perfect for walking on hard surfaces", + "school shoe sized medium width", + "black dress shoe for walking on hard surfaces scenarios", + "school shoe for wearing for school or office", + "rubber sole school shoe suitable for supporting foot during daily activity", + "synthetic lining low heel for wearing for school or office", + "medium width tan lining synthetic lining black dress shoe", + "standard men's dress shoe gold accent stitching synthetic lining school shoe", + "full-size fit object used for supporting foot during daily activity", + "structured upper with eyelets formal lace-up used for wearing for school or office", + "formal lace-up suitable for supporting foot during daily activity", + "school shoe appropriate for wearing for school or office use", + "tan lining object used for walking on hard surfaces", + "black dress shoe for walking on hard surfaces tasks", + "black school shoe for wearing for school or office", + "low heel medium width formal lace-up", + "standard men's dress shoe low heel school shoe", + "standard men's dress shoe object used for wearing for school or office", + "medium width tan lining object for walking on hard surfaces", + "medium width gold accent stitching rounded toe for wearing for school or office", + "rounded toe rubber sole formal lace-up for walking on hard surfaces", + "gold accent stitching standard men's dress shoe smooth leather object", + "low heel object used for wearing for school or office", + "standard men's dress shoe tan lining smooth leather formal lace-up", + "gold accent stitching rounded toe object for walking on hard surfaces", + "school shoe suitable for wearing for school or office", + "smooth leather low heel for supporting foot during daily activity", + "school shoe with black color", + "black low heel school shoe used for walking on hard surfaces", + "school shoe appropriate for wearing for school or office", + "formal lace-up in structured upper with eyelets form", + "formal lace-up in low heel", + "black dress shoe in standard men's dress shoe", + "black dress shoe in low heel form", + "black dress shoe intended for walking on hard surfaces usage", + "rounded toe formal lace-up for walking on hard surfaces", + "black dress shoe designed for wearing for school or office", + "rubber sole low heel school shoe", + "formal lace-up featuring low heel shape", + "synthetic lining formal lace-up", + "school shoe with gold accent stitching exterior", + "school shoe primarily used for walking on hard surfaces", + "formal lace-up ideal for supporting foot during daily activity", + "full-size fit gold accent stitching formal lace-up", + "school shoe with gold accent stitching color", + "smooth leather low heel object used for walking on hard surfaces", + "low heel object made of smooth leather", + "formal lace-up with tan lining exterior", + "formal lace-up optimized for wearing for school or office", + "medium width tan lining structured upper with eyelets for wearing for school or office", + "black dress shoe featuring rubber sole build", + "rounded toe black dress shoe ideal for walking on hard surfaces", + "black medium width school shoe for wearing for school or office", + "full-size fit low heel object", + "rounded toe object used for supporting foot during daily activity", + "low heel-shaped school shoe", + "formal lace-up for wearing for school or office with rubber sole", + "structured upper with eyelets formal lace-up used for walking on hard surfaces", + "rounded toe object used for wearing for school or office", + "full-size fit formal lace-up for supporting foot during daily activity", + "school shoe used to supporting foot during daily activity", + "school shoe intended for wearing for school or office", + "black dress shoe for supporting foot during daily activity with rubber sole", + "black object used for wearing for school or office" + ], + "caption": { + "color": [ + "black", + "tan lining", + "gold accent stitching" + ], + "function": [ + "walking on hard surfaces", + "wearing for school or office", + "supporting foot during daily activity" + ], + "material": [ + "smooth leather", + "rubber sole", + "synthetic lining" + ], + "name": [ + "black dress shoe", + "school shoe", + "formal lace-up" + ], + "shape": [ + "rounded toe", + "low heel", + "structured upper with eyelets" + ], + "size": [ + "standard men's dress shoe", + "medium width", + "full-size fit" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00013/metadata.json b/Objects/RoboDojo/Rigid/shoe/00013/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..185f9a5696b20f096f60713fc82d60fab32e8896 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00013/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.65, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0896, + -0.0351, + -0.0352 + ], + [ + -0.0896, + -0.0351, + 0.0348 + ], + [ + -0.0896, + 0.0349, + -0.0352 + ], + [ + -0.0896, + 0.0349, + 0.0348 + ], + [ + 0.0894, + -0.0351, + -0.0352 + ], + [ + 0.0894, + -0.0351, + 0.0348 + ], + [ + 0.0894, + 0.0349, + -0.0352 + ], + [ + 0.0894, + 0.0349, + 0.0348 + ] + ], + "extents": [ + 0.179, + 0.07, + 0.07 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0884, + 0.0258, + 0.0375 + ], + [ + -0.0892, + 0.0406, + 0.028 + ], + [ + 0.0827, + -0.0424, + 0.0389 + ], + [ + -0.095, + -0.0276, + 0.0294 + ], + [ + 0.0919, + 0.0241, + -0.0305 + ], + [ + -0.0857, + 0.0389, + -0.0401 + ], + [ + 0.0862, + -0.0441, + -0.0291 + ], + [ + -0.0915, + -0.0293, + -0.0387 + ] + ], + "extents": [ + 0.1869, + 0.0847, + 0.079 + ] + } + }, + "active": {}, + "description": [ + "safety oxford appropriate for slip-resistant walking use", + "gold stitching accent safety oxford suitable for standing all day", + "chunky profile rounded toe object for light industrial work", + "chunky profile black lace-up boot perfect for slip-resistant walking", + "men's standard fit matte black thick lugged sole for slip-resistant walking", + "black lace-up boot suitable for slip-resistant walking", + "work shoe for light industrial work use", + "standing all day with black lace-up boot", + "rounded toe object used for light industrial work", + "matte black men's standard fit thick lugged sole work shoe", + "rubber sole object used for standing all day", + "work shoe intended for light industrial work usage", + "safety oxford with tan lining exterior", + "thick lugged sole rubber sole safety oxford for standing all day", + "gold stitching accent object used for slip-resistant walking", + "rounded toe rubber sole safety oxford for slip-resistant walking", + "work shoe ideal for standing all day", + "black lace-up boot commonly featuring textile lining", + "medium width matte black black lace-up boot", + "tan lining low-cut ankle safety oxford", + "matte black black lace-up boot suitable for light industrial work", + "gold stitching accent low-cut ankle object for slip-resistant walking", + "tan lining safety oxford designed for standing all day", + "tan lining men's standard fit safety oxford for standing all day", + "safety oxford appropriate for light industrial work use", + "slip-resistant walking use of safety oxford", + "black lace-up boot appropriate for light industrial work use", + "rubber sole thick lugged sole object used for light industrial work", + "thick lugged sole safety oxford for light industrial work", + "textile lining safety oxford", + "synthetic leather upper low-cut ankle for standing all day", + "black lace-up boot with rounded toe profile", + "safety oxford with rounded toe geometry", + "work shoe sized as medium width", + "black lace-up boot with tan lining exterior", + "black lace-up boot with synthetic leather upper construction", + "textile lining matte black black lace-up boot", + "work shoe commonly used for standing all day", + "chunky profile tan lining textile lining work shoe", + "black lace-up boot for slip-resistant walking with synthetic leather upper", + "chunky profile synthetic leather upper work shoe", + "safety oxford used to standing all day", + "safety oxford primarily used for standing all day", + "gold stitching accent textile lining black lace-up boot", + "rubber sole thick lugged sole object used for slip-resistant walking", + "rubber sole matte black work shoe", + "black lace-up boot made of rubber sole", + "work shoe made of textile lining", + "black lace-up boot suitable for light industrial work", + "synthetic leather upper rounded toe object used for light industrial work", + "rounded toe synthetic leather upper work shoe for light industrial work", + "black lace-up boot with chunky profile dimensions", + "safety oxford for slip-resistant walking activities", + "matte black rubber sole work shoe", + "black lace-up boot designed for slip-resistant walking", + "thick lugged sole work shoe used for light industrial work", + "black lace-up boot intended for slip-resistant walking usage", + "tan lining black lace-up boot designed for light industrial work", + "chunky profile rounded toe object", + "work shoe ideal for light industrial work", + "work shoe sized as men's standard fit", + "gold stitching accent men's standard fit textile lining object", + "low-cut ankle men's standard fit work shoe", + "matte black medium width rubber sole object", + "thick lugged sole safety oxford ideal for standing all day", + "thick lugged sole work shoe for slip-resistant walking", + "low-cut ankle object used for slip-resistant walking", + "safety oxford for standing all day", + "medium width rubber sole rounded toe for light industrial work", + "low-cut ankle black lace-up boot for standing all day", + "low-cut ankle black lace-up boot used for standing all day", + "light industrial work use of black lace-up boot", + "textile lining low-cut ankle black lace-up boot", + "tan lining safety oxford suitable for slip-resistant walking", + "gold stitching accent object used for standing all day", + "black lace-up boot built from rubber sole", + "thick lugged sole chunky profile safety oxford", + "medium width rounded toe object", + "work shoe commonly used for slip-resistant walking", + "low-cut ankle synthetic leather upper object for standing all day", + "chunky profile matte black object for slip-resistant walking", + "black lace-up boot for light industrial work scenarios", + "medium width tan lining black lace-up boot", + "work shoe with thick lugged sole profile", + "safety oxford with textile lining body", + "chunky profile safety oxford perfect for light industrial work", + "matte black black lace-up boot for standing all day", + "matte black safety oxford for standing all day", + "safety oxford featuring synthetic leather upper build", + "matte black rounded toe black lace-up boot used for light industrial work", + "safety oxford in tan lining", + "safety oxford for slip-resistant walking scenarios", + "matte black textile lining rounded toe object", + "black lace-up boot commonly featuring synthetic leather upper", + "medium width matte black rounded toe object", + "rubber sole low-cut ankle for light industrial work", + "chunky profile matte black object for light industrial work", + "medium width thick lugged sole black lace-up boot", + "black lace-up boot commonly used for light industrial work", + "medium width object used for slip-resistant walking" + ], + "caption": { + "color": [ + "matte black", + "tan lining", + "gold stitching accent" + ], + "function": [ + "standing all day", + "light industrial work", + "slip-resistant walking" + ], + "material": [ + "synthetic leather upper", + "rubber sole", + "textile lining" + ], + "name": [ + "work shoe", + "safety oxford", + "black lace-up boot" + ], + "shape": [ + "rounded toe", + "thick lugged sole", + "low-cut ankle" + ], + "size": [ + "men's standard fit", + "medium width", + "chunky profile" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00014/metadata.json b/Objects/RoboDojo/Rigid/shoe/00014/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..e1dd839b8c647b935380dad17f2f6cf7ac4aec22 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00014/metadata.json @@ -0,0 +1,242 @@ +{ + "physics": { + "mass": 0.32, + "friction": 0.65 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0922, + -0.035, + -0.0381 + ], + [ + -0.0922, + -0.035, + 0.0379 + ], + [ + -0.0922, + 0.035, + -0.0381 + ], + [ + -0.0922, + 0.035, + 0.0379 + ], + [ + 0.0918, + -0.035, + -0.0381 + ], + [ + 0.0918, + -0.035, + 0.0379 + ], + [ + 0.0918, + 0.035, + -0.0381 + ], + [ + 0.0918, + 0.035, + 0.0379 + ] + ], + "extents": [ + 0.184, + 0.07, + 0.076 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0886, + 0.0433, + -0.0383 + ], + [ + -0.0948, + 0.0306, + -0.0377 + ], + [ + 0.0889, + 0.0434, + 0.0376 + ], + [ + -0.0946, + 0.0308, + 0.0382 + ], + [ + 0.0934, + -0.0255, + -0.0382 + ], + [ + -0.0901, + -0.0382, + -0.0376 + ], + [ + 0.0936, + -0.0254, + 0.0378 + ], + [ + -0.0899, + -0.038, + 0.0383 + ] + ], + "extents": [ + 0.1885, + 0.0816, + 0.0766 + ] + } + }, + "active": {}, + "description": [ + "nylon laces blue retro sneaker suitable for casual walking", + "synthetic leather upper blue retro sneaker for vintage streetwear styling", + "blue retro sneaker primarily used for vintage streetwear styling", + "classic runner in silver swoosh", + "synthetic leather upper rounded toe box Nike Cortez", + "classic runner typically made of nylon laces", + "blue retro sneaker for casual walking use", + "blue retro sneaker featuring synthetic leather upper build", + "silver swoosh rubber sole flat sole with waffle pattern Nike Cortez", + "silver swoosh classic runner designed for vintage streetwear styling", + "deep blue upper men's standard fit rubber sole object", + "rubber sole flat sole with waffle pattern object used for light athletic activity", + "classic runner featuring flat sole with waffle pattern shape", + "classic runner sized as low-top profile", + "blue retro sneaker in silver swoosh", + "mid-volume silhouette flat sole with waffle pattern Nike Cortez for vintage streetwear styling", + "mid-volume silhouette sleek low-cut ankle object", + "Nike Cortez in flat sole with waffle pattern form", + "mid-volume silhouette rounded toe box Nike Cortez for light athletic activity", + "Nike Cortez for vintage streetwear styling activities", + "rubber sole classic runner", + "deep blue upper Nike Cortez used for vintage streetwear styling", + "white laces object used for casual walking", + "classic runner shaped like a flat sole with waffle pattern", + "Nike Cortez featuring synthetic leather upper build", + "flat sole with waffle pattern men's standard fit Nike Cortez", + "low-top profile gum brown sole rubber sole rounded toe box object", + "men's standard fit object used for vintage streetwear styling", + "Nike Cortez appropriate for vintage streetwear styling", + "mid-volume silhouette flat sole with waffle pattern object", + "white laces nylon laces rounded toe box object", + "casual walking use of Nike Cortez", + "blue retro sneaker with flat sole with waffle pattern profile", + "classic runner featuring nylon laces build", + "flat sole with waffle pattern object used for vintage streetwear styling", + "blue retro sneaker in sleek low-cut ankle form", + "low-top profile rubber sole rounded toe box for vintage streetwear styling", + "men's standard fit deep blue upper synthetic leather upper Nike Cortez", + "flat sole with waffle pattern-shaped blue retro sneaker", + "low-top profile synthetic leather upper classic runner", + "low-top profile sleek low-cut ankle object for light athletic activity", + "silver swoosh object used for casual walking", + "low-top profile silver swoosh classic runner", + "classic runner with mid-volume silhouette dimensions", + "blue retro sneaker in flat sole with waffle pattern", + "mid-volume silhouette gum brown sole blue retro sneaker", + "blue retro sneaker commonly found in men's standard fit size", + "synthetic leather upper classic runner used for vintage streetwear styling", + "white laces blue retro sneaker used for vintage streetwear styling", + "sleek low-cut ankle rubber sole object for vintage streetwear styling", + "mid-volume silhouette Nike Cortez for casual walking", + "gum brown sole flat sole with waffle pattern classic runner", + "gum brown sole classic runner designed for casual walking", + "classic runner with nylon laces body", + "vintage streetwear styling with blue retro sneaker", + "deep blue upper rounded toe box object for vintage streetwear styling", + "deep blue upper flat sole with waffle pattern Nike Cortez used for light athletic activity", + "blue retro sneaker in gum brown sole", + "nylon laces rounded toe box for light athletic activity", + "blue retro sneaker appropriate for light athletic activity", + "rounded toe box classic runner used for vintage streetwear styling", + "Nike Cortez with nylon laces construction", + "classic runner in low-top profile", + "white laces blue retro sneaker suitable for light athletic activity", + "synthetic leather upper gum brown sole Nike Cortez", + "blue retro sneaker ideal for casual walking", + "Nike Cortez in mid-volume silhouette", + "classic runner for light athletic activity activities", + "blue retro sneaker for light athletic activity scenarios", + "classic runner commonly found in men's standard fit size", + "Nike Cortez for light athletic activity with nylon laces", + "low-top profile deep blue upper synthetic leather upper classic runner", + "silver swoosh Nike Cortez for light athletic activity", + "low-top profile gum brown sole blue retro sneaker", + "blue retro sneaker sized as mid-volume silhouette", + "white laces object used for vintage streetwear styling", + "rounded toe box blue retro sneaker ideal for light athletic activity", + "classic runner built from nylon laces", + "classic runner primarily used for casual walking", + "nylon laces sleek low-cut ankle object used for casual walking", + "white laces blue retro sneaker suitable for vintage streetwear styling", + "Nike Cortez ideal for casual walking", + "blue retro sneaker intended for casual walking", + "low-top profile deep blue upper flat sole with waffle pattern object", + "rubber sole rounded toe box for vintage streetwear styling", + "classic runner for vintage streetwear styling tasks", + "gum brown sole object used for casual walking", + "classic runner for casual walking tasks", + "rubber sole rounded toe box for light athletic activity", + "silver swoosh blue retro sneaker used for casual walking", + "classic runner with rubber sole construction", + "low-top profile flat sole with waffle pattern object", + "nylon laces flat sole with waffle pattern object used for vintage streetwear styling", + "mid-volume silhouette deep blue upper Nike Cortez", + "mid-volume silhouette flat sole with waffle pattern object for casual walking", + "classic runner with rubber sole body", + "men's standard fit white laces object for light athletic activity", + "blue retro sneaker for vintage streetwear styling activities", + "blue retro sneaker for vintage streetwear styling scenarios", + "mid-volume silhouette flat sole with waffle pattern object for light athletic activity" + ], + "caption": { + "color": [ + "deep blue upper", + "white laces", + "silver swoosh", + "gum brown sole" + ], + "function": [ + "casual walking", + "vintage streetwear styling", + "light athletic activity" + ], + "material": [ + "synthetic leather upper", + "rubber sole", + "nylon laces" + ], + "name": [ + "Nike Cortez", + "classic runner", + "blue retro sneaker" + ], + "shape": [ + "rounded toe box", + "flat sole with waffle pattern", + "sleek low-cut ankle" + ], + "size": [ + "men's standard fit", + "mid-volume silhouette", + "low-top profile" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00015/metadata.json b/Objects/RoboDojo/Rigid/shoe/00015/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..4501279e924ff2a61adcc83518abab019f710abd --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00015/metadata.json @@ -0,0 +1,243 @@ +{ + "physics": { + "mass": 0.35, + "friction": 0.65 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0922, + -0.035, + -0.0381 + ], + [ + -0.0922, + -0.035, + 0.0379 + ], + [ + -0.0922, + 0.035, + -0.0381 + ], + [ + -0.0922, + 0.035, + 0.0379 + ], + [ + 0.0918, + -0.035, + -0.0381 + ], + [ + 0.0918, + -0.035, + 0.0379 + ], + [ + 0.0918, + 0.035, + -0.0381 + ], + [ + 0.0918, + 0.035, + 0.0379 + ] + ], + "extents": [ + 0.184, + 0.07, + 0.076 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0934, + 0.0255, + -0.0382 + ], + [ + -0.0901, + 0.0382, + -0.0376 + ], + [ + 0.0936, + 0.0254, + 0.0378 + ], + [ + -0.0899, + 0.038, + 0.0383 + ], + [ + 0.0886, + -0.0433, + -0.0383 + ], + [ + -0.0948, + -0.0306, + -0.0377 + ], + [ + 0.0889, + -0.0434, + 0.0376 + ], + [ + -0.0946, + -0.0308, + 0.0382 + ] + ], + "extents": [ + 0.1885, + 0.0816, + 0.0766 + ] + } + }, + "active": {}, + "description": [ + "mid-size sneaker low-top silhouette object", + "mid-size sneaker synthetic leather upper object", + "synthetic leather upper Nike Cortez for casual walking", + "classic runner in white laces", + "blue retro sneaker intended for vintage streetwear styling", + "rounded toe box nylon laces blue retro sneaker for light jogging", + "classic runner appropriate for casual walking", + "blue retro sneaker intended for light jogging usage", + "men's standard fit white swoosh nylon laces low-top silhouette object", + "Nike Cortez in flat profile with slight heel lift form", + "athletic shoe scale rubber sole Nike Cortez for casual walking", + "white swoosh object used for light jogging", + "rounded toe box mid-size sneaker Nike Cortez", + "athletic shoe scale white swoosh nylon laces flat profile with slight heel lift object", + "men's standard fit blue retro sneaker used for light jogging", + "Nike Cortez in low-top silhouette form", + "athletic shoe scale white laces rounded toe box for casual walking", + "athletic shoe scale grey midsole flat profile with slight heel lift for vintage streetwear styling", + "athletic shoe scale object used for casual walking", + "Nike Cortez for casual walking tasks", + "men's standard fit low-top silhouette classic runner", + "grey midsole low-top silhouette Nike Cortez used for casual walking", + "low-top silhouette blue retro sneaker ideal for vintage streetwear styling", + "rounded toe box synthetic leather upper Nike Cortez for casual walking", + "athletic shoe scale rubber sole object", + "mid-size sneaker synthetic leather upper classic runner for vintage streetwear styling", + "grey midsole rounded toe box blue retro sneaker used for light jogging", + "classic runner for casual walking activities", + "classic runner primarily used for light jogging", + "light jogging use of Nike Cortez", + "flat profile with slight heel lift object made of nylon laces", + "synthetic leather upper Nike Cortez", + "grey midsole nylon laces low-top silhouette object", + "mid-size sneaker white swoosh classic runner", + "men's standard fit low-top silhouette object", + "Nike Cortez made of nylon laces", + "royal blue upper Nike Cortez used for vintage streetwear styling", + "blue retro sneaker commonly used for casual walking", + "light jogging use of blue retro sneaker", + "Nike Cortez for light jogging with rubber sole", + "classic runner colored grey midsole", + "white laces low-top silhouette object for casual walking", + "classic runner commonly found in athletic shoe scale size", + "Nike Cortez designed for vintage streetwear styling", + "grey midsole classic runner typically used for light jogging", + "athletic shoe scale Nike Cortez used for vintage streetwear styling", + "low-top silhouette rubber sole classic runner for vintage streetwear styling", + "brown gum sole classic runner suitable for light jogging", + "men's standard fit flat profile with slight heel lift blue retro sneaker for casual walking", + "Nike Cortez ideal for light jogging", + "mid-size sneaker brown gum sole object for vintage streetwear styling", + "blue retro sneaker for light jogging", + "blue retro sneaker made of synthetic leather upper", + "low-top silhouette synthetic leather upper object for light jogging", + "classic runner with white swoosh color", + "white laces classic runner suitable for vintage streetwear styling", + "classic runner for light jogging with synthetic leather upper", + "white swoosh flat profile with slight heel lift Nike Cortez used for casual walking", + "athletic shoe scale brown gum sole flat profile with slight heel lift object", + "classic runner made from nylon laces", + "athletic shoe scale brown gum sole rubber sole blue retro sneaker", + "royal blue upper classic runner used for casual walking", + "white swoosh synthetic leather upper rounded toe box object", + "rubber sole object used for casual walking", + "blue retro sneaker suitable for vintage streetwear styling", + "casual walking use of Nike Cortez", + "grey midsole object used for vintage streetwear styling", + "blue retro sneaker for light jogging activities", + "blue retro sneaker made of nylon laces", + "classic runner intended for casual walking", + "men's standard fit object used for light jogging", + "grey midsole classic runner for vintage streetwear styling", + "mid-size sneaker white laces rounded toe box object", + "nylon laces object used for casual walking", + "blue retro sneaker for casual walking use", + "Nike Cortez appropriate for vintage streetwear styling use", + "synthetic leather upper flat profile with slight heel lift classic runner", + "classic runner with rounded toe box geometry", + "men's standard fit Nike Cortez for casual walking", + "athletic shoe scale rounded toe box object", + "white laces rubber sole flat profile with slight heel lift object", + "flat profile with slight heel lift-shaped classic runner", + "athletic shoe scale low-top silhouette object", + "Nike Cortez for casual walking", + "brown gum sole Nike Cortez typically used for casual walking", + "nylon laces blue retro sneaker suitable for casual walking", + "Nike Cortez commonly featuring rubber sole", + "white laces men's standard fit classic runner for vintage streetwear styling", + "rubber sole Nike Cortez", + "classic runner shaped like a low-top silhouette", + "classic runner for vintage streetwear styling tasks", + "blue retro sneaker with grey midsole exterior", + "rounded toe box-shaped blue retro sneaker", + "athletic shoe scale classic runner used for vintage streetwear styling", + "brown gum sole nylon laces classic runner", + "mid-size sneaker rounded toe box object for light jogging", + "blue retro sneaker for light jogging tasks", + "rounded toe box nylon laces object for casual walking", + "classic runner for vintage streetwear styling", + "low-top silhouette object used for vintage streetwear styling" + ], + "caption": { + "color": [ + "royal blue upper", + "white swoosh", + "white laces", + "brown gum sole", + "grey midsole" + ], + "function": [ + "casual walking", + "light jogging", + "vintage streetwear styling" + ], + "material": [ + "synthetic leather upper", + "rubber sole", + "nylon laces" + ], + "name": [ + "Nike Cortez", + "classic runner", + "blue retro sneaker" + ], + "shape": [ + "low-top silhouette", + "rounded toe box", + "flat profile with slight heel lift" + ], + "size": [ + "men's standard fit", + "mid-size sneaker", + "athletic shoe scale" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00016/metadata.json b/Objects/RoboDojo/Rigid/shoe/00016/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..d683909b679f283af4c481d50c466c5ac35d5898 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00016/metadata.json @@ -0,0 +1,244 @@ +{ + "physics": { + "mass": 0.32, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0836, + -0.0348, + -0.0386 + ], + [ + -0.0836, + -0.0348, + 0.0384 + ], + [ + -0.0836, + 0.0352, + -0.0386 + ], + [ + -0.0836, + 0.0352, + 0.0384 + ], + [ + 0.0834, + -0.0348, + -0.0386 + ], + [ + 0.0834, + -0.0348, + 0.0384 + ], + [ + 0.0834, + 0.0352, + -0.0386 + ], + [ + 0.0834, + 0.0352, + 0.0384 + ] + ], + "extents": [ + 0.167, + 0.07, + 0.077 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0796, + 0.0445, + -0.0385 + ], + [ + -0.0868, + 0.0294, + -0.0386 + ], + [ + 0.0795, + 0.0445, + 0.0385 + ], + [ + -0.0868, + 0.0294, + 0.0384 + ], + [ + 0.0858, + -0.0244, + -0.0385 + ], + [ + -0.0805, + -0.0395, + -0.0386 + ], + [ + 0.0858, + -0.0244, + 0.0385 + ], + [ + -0.0806, + -0.0395, + 0.0384 + ] + ], + "extents": [ + 0.1726, + 0.084, + 0.0771 + ] + } + }, + "active": {}, + "description": [ + "Yonex Power Cushion optimized for lateral quick cuts", + "bright yellow upper curved heel counter yellow court shoe used for court agility and stability", + "yellow court shoe commonly featuring synthetic mesh upper", + "reinforced toe box Yonex badminton shoe for playing badminton", + "yellow court shoe commonly used for lateral quick cuts", + "Yonex Power Cushion sized as men's medium fit", + "court-ready length low-top athletic profile yellow court shoe for court agility and stability", + "Yonex badminton shoe suitable for playing badminton", + "red logo detail flex grooves on sole object for lateral quick cuts", + "standard athletic shoe size Yonex Power Cushion perfect for playing badminton", + "Yonex Power Cushion with textile lining body", + "textile lining object for lateral quick cuts", + "bright yellow upper object used for lateral quick cuts", + "black sole and toe cap men's medium fit reinforced toe box Yonex Power Cushion", + "Yonex Power Cushion in reinforced toe box form", + "men's medium fit curved heel counter yellow court shoe for lateral quick cuts", + "court-ready length black sole and toe cap Yonex badminton shoe", + "red logo detail textile lining flex grooves on sole object", + "Yonex Power Cushion in low-top athletic profile", + "yellow court shoe in reinforced toe box form", + "black sole and toe cap standard athletic shoe size low-top athletic profile Yonex badminton shoe", + "Yonex badminton shoe in curved heel counter", + "rubber outsole Yonex Power Cushion for court agility and stability", + "court agility and stability with yellow court shoe", + "men's medium fit textile lining object", + "Yonex Power Cushion for playing badminton tasks", + "standard athletic shoe size Yonex badminton shoe for court agility and stability", + "yellow court shoe primarily used for playing badminton", + "court-ready length red logo detail flex grooves on sole for lateral quick cuts", + "rubber outsole reinforced toe box for lateral quick cuts", + "flex grooves on sole rubber outsole object for playing badminton", + "lateral quick cuts use of Yonex Power Cushion", + "Yonex badminton shoe for lateral quick cuts with textile lining", + "yellow court shoe ideal for court agility and stability", + "yellow court shoe with black sole and toe cap color", + "red logo detail object used for playing badminton", + "Yonex Power Cushion made from foam midsole", + "yellow court shoe suitable for court agility and stability", + "gray accents curved heel counter object for playing badminton", + "Yonex Power Cushion for playing badminton scenarios", + "yellow court shoe for court agility and stability scenarios", + "foam midsole reinforced toe box yellow court shoe", + "yellow court shoe for court agility and stability activities", + "court-ready length object used for lateral quick cuts", + "Yonex Power Cushion suitable for playing badminton", + "black sole and toe cap synthetic mesh upper Yonex badminton shoe", + "gray accents men's medium fit Yonex badminton shoe for lateral quick cuts", + "Yonex Power Cushion commonly found in men's medium fit size", + "gray accents flex grooves on sole Yonex badminton shoe", + "yellow court shoe used to court agility and stability", + "yellow court shoe shaped like a low-top athletic profile", + "Yonex Power Cushion with reinforced toe box profile", + "Yonex badminton shoe used to court agility and stability", + "yellow court shoe for playing badminton activities", + "flex grooves on sole men's medium fit Yonex Power Cushion", + "Yonex Power Cushion typically made of foam midsole", + "yellow court shoe used to lateral quick cuts", + "yellow court shoe designed for playing badminton", + "yellow court shoe ideal for playing badminton", + "gray accents reinforced toe box yellow court shoe used for lateral quick cuts", + "yellow court shoe featuring curved heel counter shape", + "Yonex badminton shoe intended for lateral quick cuts usage", + "men's medium fit reinforced toe box Yonex badminton shoe for playing badminton", + "Yonex Power Cushion with foam midsole surface", + "black sole and toe cap men's medium fit Yonex Power Cushion for playing badminton", + "yellow court shoe appropriate for lateral quick cuts", + "court-ready length rubber outsole Yonex Power Cushion", + "standard athletic shoe size red logo detail Yonex badminton shoe", + "yellow court shoe sized standard athletic shoe size", + "Yonex badminton shoe with low-top athletic profile geometry", + "Yonex Power Cushion with synthetic mesh upper body", + "standard athletic shoe size red logo detail flex grooves on sole object", + "red logo detail yellow court shoe used for court agility and stability", + "textile lining black sole and toe cap yellow court shoe", + "Yonex Power Cushion with low-top athletic profile geometry", + "standard athletic shoe size foam midsole Yonex Power Cushion for lateral quick cuts", + "Yonex Power Cushion typically made of synthetic mesh upper", + "Yonex badminton shoe with foam midsole construction", + "black sole and toe cap curved heel counter object for lateral quick cuts", + "bright yellow upper standard athletic shoe size yellow court shoe for lateral quick cuts", + "synthetic mesh upper yellow court shoe", + "reinforced toe box men's medium fit Yonex badminton shoe", + "court-ready length low-top athletic profile Yonex Power Cushion for court agility and stability", + "yellow court shoe for playing badminton scenarios", + "Yonex Power Cushion with red logo detail exterior", + "yellow court shoe for court agility and stability use", + "men's medium fit Yonex badminton shoe used for playing badminton", + "Yonex Power Cushion featuring reinforced toe box shape", + "court-ready length curved heel counter object for playing badminton", + "Yonex Power Cushion suitable for court agility and stability", + "Yonex badminton shoe with synthetic mesh upper construction", + "men's medium fit red logo detail curved heel counter for court agility and stability", + "textile lining reinforced toe box yellow court shoe", + "Yonex badminton shoe colored bright yellow upper", + "red logo detail yellow court shoe suitable for playing badminton", + "Yonex Power Cushion commonly used for lateral quick cuts", + "foam midsole yellow court shoe for court agility and stability", + "standard athletic shoe size rubber outsole Yonex badminton shoe for lateral quick cuts", + "bright yellow upper Yonex badminton shoe typically used for lateral quick cuts", + "low-top athletic profile-shaped Yonex Power Cushion" + ], + "caption": { + "color": [ + "bright yellow upper", + "black sole and toe cap", + "gray accents", + "red logo detail" + ], + "function": [ + "playing badminton", + "lateral quick cuts", + "court agility and stability" + ], + "material": [ + "synthetic mesh upper", + "rubber outsole", + "foam midsole", + "textile lining" + ], + "name": [ + "Yonex badminton shoe", + "yellow court shoe", + "Yonex Power Cushion" + ], + "shape": [ + "low-top athletic profile", + "curved heel counter", + "reinforced toe box", + "flex grooves on sole" + ], + "size": [ + "standard athletic shoe size", + "men's medium fit", + "court-ready length" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/shoe/00017/metadata.json b/Objects/RoboDojo/Rigid/shoe/00017/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..86963ab483b996e179df97a1670ca153b790e337 --- /dev/null +++ b/Objects/RoboDojo/Rigid/shoe/00017/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.32, + "friction": 0.75 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0836, + -0.0352, + -0.0386 + ], + [ + -0.0836, + -0.0352, + 0.0384 + ], + [ + -0.0836, + 0.0348, + -0.0386 + ], + [ + -0.0836, + 0.0348, + 0.0384 + ], + [ + 0.0834, + -0.0352, + -0.0386 + ], + [ + 0.0834, + -0.0352, + 0.0384 + ], + [ + 0.0834, + 0.0348, + -0.0386 + ], + [ + 0.0834, + 0.0348, + 0.0384 + ] + ], + "extents": [ + 0.167, + 0.07, + 0.077 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0858, + 0.0244, + -0.0385 + ], + [ + -0.0805, + 0.0395, + -0.0386 + ], + [ + 0.0858, + 0.0244, + 0.0385 + ], + [ + -0.0806, + 0.0395, + 0.0384 + ], + [ + 0.0796, + -0.0445, + -0.0385 + ], + [ + -0.0868, + -0.0294, + -0.0386 + ], + [ + 0.0795, + -0.0445, + 0.0385 + ], + [ + -0.0868, + -0.0294, + 0.0384 + ] + ], + "extents": [ + 0.1726, + 0.084, + 0.0771 + ] + } + }, + "active": {}, + "description": [ + "Yonex badminton shoe for quick pivoting on indoor courts activities", + "rubber outsole yellow court shoe used for playing badminton", + "curved heel synthetic mesh upper Yonex badminton shoe for quick pivoting on indoor courts", + "yellow court shoe in reinforced toe box", + "Yonex badminton shoe for playing badminton", + "Yonex badminton shoe shaped like a flexible forefoot", + "gray accents foam midsole sports sneaker", + "standard athletic shoe object used for lateral movement support", + "yellow court shoe featuring curved heel shape", + "adult men's size range low-top profile object", + "synthetic mesh upper low-top profile object used for lateral movement support", + "black sole and toe cap sports sneaker designed for lateral movement support", + "yellow court shoe made from synthetic mesh upper", + "sports sneaker with black sole and toe cap exterior", + "adult men's size range yellow court shoe for quick pivoting on indoor courts", + "standard athletic shoe black sole and toe cap Yonex badminton shoe", + "adult men's size range black sole and toe cap reinforced toe box for lateral movement support", + "adult men's size range Yonex badminton shoe perfect for playing badminton", + "sports sneaker sized adult men's size range", + "curved heel foam midsole sports sneaker for quick pivoting on indoor courts", + "adult men's size range reinforced toe box object for playing badminton", + "adult men's size range sports sneaker used for quick pivoting on indoor courts", + "yellow court shoe for quick pivoting on indoor courts", + "standard athletic shoe Yonex badminton shoe perfect for playing badminton", + "yellow court shoe for quick pivoting on indoor courts activities", + "black sole and toe cap standard athletic shoe sports sneaker for playing badminton", + "bright yellow upper object used for lateral movement support", + "Yonex badminton shoe in adult men's size range", + "rubber outsole Yonex badminton shoe suitable for lateral movement support", + "sports sneaker made of foam midsole", + "foam midsole object used for lateral movement support", + "gray accents object used for playing badminton", + "sports sneaker for quick pivoting on indoor courts use", + "sports sneaker featuring low-top profile shape", + "yellow court shoe with bright yellow upper exterior", + "yellow court shoe commonly found in adult men's size range size", + "low-top profile object used for quick pivoting on indoor courts", + "curved heel object made of foam midsole", + "black sole and toe cap synthetic mesh upper curved heel object", + "adult men's size range low-top profile Yonex badminton shoe for quick pivoting on indoor courts", + "standard athletic shoe Yonex badminton shoe used for playing badminton", + "reinforced toe box sports sneaker used for lateral movement support", + "yellow court shoe commonly used for playing badminton", + "reinforced toe box sports sneaker ideal for playing badminton", + "adult men's size range low-top profile sports sneaker for lateral movement support", + "synthetic mesh upper Yonex badminton shoe for playing badminton", + "low-top profile sports sneaker for lateral movement support", + "foam midsole low-top profile object used for lateral movement support", + "Yonex badminton shoe for lateral movement support use", + "rubber outsole Yonex badminton shoe for lateral movement support", + "synthetic mesh upper black sole and toe cap sports sneaker", + "standard athletic shoe flexible forefoot object for quick pivoting on indoor courts", + "rubber outsole yellow court shoe suitable for quick pivoting on indoor courts", + "black sole and toe cap standard athletic shoe synthetic mesh upper object", + "Yonex badminton shoe for quick pivoting on indoor courts scenarios", + "Yonex badminton shoe optimized for quick pivoting on indoor courts", + "adult men's size range gray accents synthetic mesh upper sports sneaker", + "sports sneaker optimized for lateral movement support", + "yellow court shoe with low-top profile geometry", + "Yonex badminton shoe with foam midsole surface", + "gray accents synthetic mesh upper reinforced toe box sports sneaker", + "standard athletic shoe bright yellow upper foam midsole yellow court shoe", + "black sole and toe cap standard athletic shoe flexible forefoot yellow court shoe", + "synthetic mesh upper reinforced toe box object used for lateral movement support", + "foam midsole low-top profile object used for playing badminton", + "bright yellow upper sports sneaker typically used for playing badminton", + "synthetic mesh upper reinforced toe box for lateral movement support", + "yellow court shoe with adult men's size range dimensions", + "reinforced toe box object made of foam midsole", + "yellow court shoe ideal for lateral movement support", + "sports sneaker for quick pivoting on indoor courts activities", + "Yonex badminton shoe with bright yellow upper exterior", + "bright yellow upper synthetic mesh upper flexible forefoot object", + "bright yellow upper foam midsole curved heel yellow court shoe", + "synthetic mesh upper object for lateral movement support", + "Yonex badminton shoe colored black sole and toe cap", + "black sole and toe cap adult men's size range synthetic mesh upper object", + "curved heel yellow court shoe for lateral movement support", + "gray accents adult men's size range flexible forefoot sports sneaker", + "adult men's size range object used for quick pivoting on indoor courts", + "adult men's size range rubber outsole object", + "Yonex badminton shoe suitable for quick pivoting on indoor courts", + "Yonex badminton shoe with bright yellow upper color", + "black sole and toe cap adult men's size range sports sneaker for quick pivoting on indoor courts", + "sports sneaker sized as adult men's size range", + "yellow court shoe suitable for playing badminton", + "yellow court shoe for playing badminton activities", + "reinforced toe box object made of synthetic mesh upper", + "adult men's size range black sole and toe cap object for playing badminton", + "gray accents object used for lateral movement support", + "Yonex badminton shoe built from synthetic mesh upper", + "sports sneaker with adult men's size range dimensions", + "adult men's size range foam midsole sports sneaker for lateral movement support", + "black sole and toe cap object used for playing badminton", + "sports sneaker in adult men's size range", + "bright yellow upper low-top profile Yonex badminton shoe", + "sports sneaker colored gray accents", + "synthetic mesh upper yellow court shoe used for lateral movement support", + "standard athletic shoe bright yellow upper curved heel for quick pivoting on indoor courts", + "curved heel-shaped Yonex badminton shoe" + ], + "caption": { + "color": [ + "bright yellow upper", + "black sole and toe cap", + "gray accents" + ], + "function": [ + "playing badminton", + "lateral movement support", + "quick pivoting on indoor courts" + ], + "material": [ + "synthetic mesh upper", + "rubber outsole", + "foam midsole" + ], + "name": [ + "Yonex badminton shoe", + "yellow court shoe", + "sports sneaker" + ], + "shape": [ + "low-top profile", + "curved heel", + "reinforced toe box", + "flexible forefoot" + ], + "size": [ + "standard athletic shoe", + "adult men's size range" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/small_cube/00000/metadata.json b/Objects/RoboDojo/Rigid/small_cube/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed0b0934c4d8c0f38432efbc5c34550047a986c0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/small_cube/00000/metadata.json @@ -0,0 +1,248 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.3, + "size": [ + 0.035, + 0.035, + 0.035 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ], + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + } + }, + "active": { + "functional": {} + }, + "description": [ + "deep purple glossy plastic perfect cube object", + "desktop-sized sharp right angles purple cube for 3D modeling reference", + "roughly fist-sized purple cube perfect for visual demonstration", + "3D cube appropriate for visual demonstration use", + "3D cube built from matte-to-shiny finish", + "shiny magenta gradient matte-to-shiny finish six flat faces 3D cube", + "purple cube primarily used for lighting study", + "six flat faces purple cube used for lighting study", + "smooth reflective surface six flat faces object used for lighting study", + "3D cube ideal for visual demonstration", + "violet purple cube designed for lighting study", + "deep purple desktop-sized purple cube for lighting study", + "3D cube intended for lighting study usage", + "violet geometric block designed for lighting study", + "violet 3D cube designed for visual demonstration", + "purple cube made of glossy plastic", + "desktop-sized glossy plastic 3D cube", + "matte-to-shiny finish 3D cube for 3D modeling reference", + "sharp right angles-shaped 3D cube", + "roughly fist-sized deep purple object for visual demonstration", + "geometric block commonly featuring smooth reflective surface", + "desktop-sized 3D cube for visual demonstration", + "purple cube with violet exterior", + "geometric block made from matte-to-shiny finish", + "smooth reflective surface geometric block used for 3D modeling reference", + "glossy plastic 3D cube for visual demonstration", + "purple cube sized desktop-sized", + "smooth reflective surface sharp right angles geometric block", + "3D cube for lighting study with glossy plastic", + "perfect cube object used for 3D modeling reference", + "smooth reflective surface object used for lighting study", + "medium cube six flat faces purple cube for visual demonstration", + "purple cube for visual demonstration activities", + "purple cube with medium cube dimensions", + "smooth reflective surface object for 3D modeling reference", + "purple cube primarily used for 3D modeling reference", + "purple cube for 3D modeling reference use", + "3D cube for visual demonstration activities", + "sharp right angles smooth reflective surface geometric block for visual demonstration", + "medium cube deep purple perfect cube object", + "roughly fist-sized violet object for 3D modeling reference", + "desktop-sized object used for lighting study", + "geometric block for visual demonstration use", + "perfect cube-shaped 3D cube", + "geometric block with matte-to-shiny finish construction", + "geometric block commonly found in roughly fist-sized size", + "matte-to-shiny finish 3D cube suitable for lighting study", + "roughly fist-sized smooth reflective surface perfect cube for 3D modeling reference", + "roughly fist-sized matte-to-shiny finish geometric block for lighting study", + "3D cube commonly featuring smooth reflective surface", + "violet six flat faces 3D cube", + "purple cube with deep purple color", + "purple cube with sharp right angles geometry", + "violet object used for visual demonstration", + "desktop-sized violet perfect cube object", + "lighting study use of purple cube", + "desktop-sized six flat faces object", + "geometric block in sharp right angles", + "3D cube for visual demonstration scenarios", + "smooth reflective surface 3D cube suitable for lighting study", + "geometric block in deep purple", + "3D cube colored shiny magenta gradient", + "geometric block intended for lighting study", + "geometric block made of smooth reflective surface", + "deep purple smooth reflective surface perfect cube geometric block", + "purple cube with desktop-sized dimensions", + "deep purple purple cube used for visual demonstration", + "purple cube for visual demonstration", + "glossy plastic geometric block for visual demonstration", + "3D cube in medium cube", + "smooth reflective surface geometric block for visual demonstration", + "violet matte-to-shiny finish perfect cube 3D cube", + "3D cube in six flat faces form", + "geometric block with six flat faces geometry", + "six flat faces 3D cube used for visual demonstration", + "geometric block with matte-to-shiny finish surface", + "smooth reflective surface shiny magenta gradient purple cube", + "3D cube colored violet", + "geometric block in perfect cube form", + "geometric block designed for lighting study", + "geometric block in six flat faces", + "matte-to-shiny finish perfect cube object used for visual demonstration", + "geometric block shaped like a sharp right angles", + "3D cube with desktop-sized dimensions", + "purple cube sized medium cube", + "desktop-sized object used for 3D modeling reference", + "visual demonstration use of geometric block", + "deep purple roughly fist-sized purple cube for lighting study", + "shiny magenta gradient object used for visual demonstration", + "purple cube appropriate for visual demonstration", + "glossy plastic 3D cube suitable for visual demonstration", + "deep purple perfect cube object for lighting study", + "roughly fist-sized purple cube used for visual demonstration", + "3D cube featuring perfect cube shape", + "shiny magenta gradient roughly fist-sized sharp right angles purple cube", + "smooth reflective surface sharp right angles for visual demonstration", + "glossy plastic perfect cube for visual demonstration", + "violet perfect cube 3D cube", + "desktop-sized deep purple perfect cube object", + "smooth reflective surface purple cube for lighting study" + ], + "caption": { + "color": [ + "violet", + "deep purple", + "shiny magenta gradient" + ], + "function": [ + "visual demonstration", + "3D modeling reference", + "lighting study" + ], + "material": [ + "glossy plastic", + "smooth reflective surface", + "matte-to-shiny finish" + ], + "name": [ + "purple cube", + "3D cube", + "geometric block" + ], + "shape": [ + "perfect cube", + "six flat faces", + "sharp right angles" + ], + "size": [ + "medium cube", + "desktop-sized", + "roughly fist-sized" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/small_cube/00000/object.usdz b/Objects/RoboDojo/Rigid/small_cube/00000/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..3ad1f0b9a373eaaca70b7728181245d1d4975aed Binary files /dev/null and b/Objects/RoboDojo/Rigid/small_cube/00000/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/small_cube/00001/metadata.json b/Objects/RoboDojo/Rigid/small_cube/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed0b0934c4d8c0f38432efbc5c34550047a986c0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/small_cube/00001/metadata.json @@ -0,0 +1,248 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.3, + "size": [ + 0.035, + 0.035, + 0.035 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ], + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + } + }, + "active": { + "functional": {} + }, + "description": [ + "deep purple glossy plastic perfect cube object", + "desktop-sized sharp right angles purple cube for 3D modeling reference", + "roughly fist-sized purple cube perfect for visual demonstration", + "3D cube appropriate for visual demonstration use", + "3D cube built from matte-to-shiny finish", + "shiny magenta gradient matte-to-shiny finish six flat faces 3D cube", + "purple cube primarily used for lighting study", + "six flat faces purple cube used for lighting study", + "smooth reflective surface six flat faces object used for lighting study", + "3D cube ideal for visual demonstration", + "violet purple cube designed for lighting study", + "deep purple desktop-sized purple cube for lighting study", + "3D cube intended for lighting study usage", + "violet geometric block designed for lighting study", + "violet 3D cube designed for visual demonstration", + "purple cube made of glossy plastic", + "desktop-sized glossy plastic 3D cube", + "matte-to-shiny finish 3D cube for 3D modeling reference", + "sharp right angles-shaped 3D cube", + "roughly fist-sized deep purple object for visual demonstration", + "geometric block commonly featuring smooth reflective surface", + "desktop-sized 3D cube for visual demonstration", + "purple cube with violet exterior", + "geometric block made from matte-to-shiny finish", + "smooth reflective surface geometric block used for 3D modeling reference", + "glossy plastic 3D cube for visual demonstration", + "purple cube sized desktop-sized", + "smooth reflective surface sharp right angles geometric block", + "3D cube for lighting study with glossy plastic", + "perfect cube object used for 3D modeling reference", + "smooth reflective surface object used for lighting study", + "medium cube six flat faces purple cube for visual demonstration", + "purple cube for visual demonstration activities", + "purple cube with medium cube dimensions", + "smooth reflective surface object for 3D modeling reference", + "purple cube primarily used for 3D modeling reference", + "purple cube for 3D modeling reference use", + "3D cube for visual demonstration activities", + "sharp right angles smooth reflective surface geometric block for visual demonstration", + "medium cube deep purple perfect cube object", + "roughly fist-sized violet object for 3D modeling reference", + "desktop-sized object used for lighting study", + "geometric block for visual demonstration use", + "perfect cube-shaped 3D cube", + "geometric block with matte-to-shiny finish construction", + "geometric block commonly found in roughly fist-sized size", + "matte-to-shiny finish 3D cube suitable for lighting study", + "roughly fist-sized smooth reflective surface perfect cube for 3D modeling reference", + "roughly fist-sized matte-to-shiny finish geometric block for lighting study", + "3D cube commonly featuring smooth reflective surface", + "violet six flat faces 3D cube", + "purple cube with deep purple color", + "purple cube with sharp right angles geometry", + "violet object used for visual demonstration", + "desktop-sized violet perfect cube object", + "lighting study use of purple cube", + "desktop-sized six flat faces object", + "geometric block in sharp right angles", + "3D cube for visual demonstration scenarios", + "smooth reflective surface 3D cube suitable for lighting study", + "geometric block in deep purple", + "3D cube colored shiny magenta gradient", + "geometric block intended for lighting study", + "geometric block made of smooth reflective surface", + "deep purple smooth reflective surface perfect cube geometric block", + "purple cube with desktop-sized dimensions", + "deep purple purple cube used for visual demonstration", + "purple cube for visual demonstration", + "glossy plastic geometric block for visual demonstration", + "3D cube in medium cube", + "smooth reflective surface geometric block for visual demonstration", + "violet matte-to-shiny finish perfect cube 3D cube", + "3D cube in six flat faces form", + "geometric block with six flat faces geometry", + "six flat faces 3D cube used for visual demonstration", + "geometric block with matte-to-shiny finish surface", + "smooth reflective surface shiny magenta gradient purple cube", + "3D cube colored violet", + "geometric block in perfect cube form", + "geometric block designed for lighting study", + "geometric block in six flat faces", + "matte-to-shiny finish perfect cube object used for visual demonstration", + "geometric block shaped like a sharp right angles", + "3D cube with desktop-sized dimensions", + "purple cube sized medium cube", + "desktop-sized object used for 3D modeling reference", + "visual demonstration use of geometric block", + "deep purple roughly fist-sized purple cube for lighting study", + "shiny magenta gradient object used for visual demonstration", + "purple cube appropriate for visual demonstration", + "glossy plastic 3D cube suitable for visual demonstration", + "deep purple perfect cube object for lighting study", + "roughly fist-sized purple cube used for visual demonstration", + "3D cube featuring perfect cube shape", + "shiny magenta gradient roughly fist-sized sharp right angles purple cube", + "smooth reflective surface sharp right angles for visual demonstration", + "glossy plastic perfect cube for visual demonstration", + "violet perfect cube 3D cube", + "desktop-sized deep purple perfect cube object", + "smooth reflective surface purple cube for lighting study" + ], + "caption": { + "color": [ + "violet", + "deep purple", + "shiny magenta gradient" + ], + "function": [ + "visual demonstration", + "3D modeling reference", + "lighting study" + ], + "material": [ + "glossy plastic", + "smooth reflective surface", + "matte-to-shiny finish" + ], + "name": [ + "purple cube", + "3D cube", + "geometric block" + ], + "shape": [ + "perfect cube", + "six flat faces", + "sharp right angles" + ], + "size": [ + "medium cube", + "desktop-sized", + "roughly fist-sized" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/small_cube/00001/object.usdz b/Objects/RoboDojo/Rigid/small_cube/00001/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..c3f33aa176f49a092f7a16dabae9d50fb74e26f4 Binary files /dev/null and b/Objects/RoboDojo/Rigid/small_cube/00001/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/small_cube/00002/metadata.json b/Objects/RoboDojo/Rigid/small_cube/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed0b0934c4d8c0f38432efbc5c34550047a986c0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/small_cube/00002/metadata.json @@ -0,0 +1,248 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.3, + "size": [ + 0.035, + 0.035, + 0.035 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ], + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + } + }, + "active": { + "functional": {} + }, + "description": [ + "deep purple glossy plastic perfect cube object", + "desktop-sized sharp right angles purple cube for 3D modeling reference", + "roughly fist-sized purple cube perfect for visual demonstration", + "3D cube appropriate for visual demonstration use", + "3D cube built from matte-to-shiny finish", + "shiny magenta gradient matte-to-shiny finish six flat faces 3D cube", + "purple cube primarily used for lighting study", + "six flat faces purple cube used for lighting study", + "smooth reflective surface six flat faces object used for lighting study", + "3D cube ideal for visual demonstration", + "violet purple cube designed for lighting study", + "deep purple desktop-sized purple cube for lighting study", + "3D cube intended for lighting study usage", + "violet geometric block designed for lighting study", + "violet 3D cube designed for visual demonstration", + "purple cube made of glossy plastic", + "desktop-sized glossy plastic 3D cube", + "matte-to-shiny finish 3D cube for 3D modeling reference", + "sharp right angles-shaped 3D cube", + "roughly fist-sized deep purple object for visual demonstration", + "geometric block commonly featuring smooth reflective surface", + "desktop-sized 3D cube for visual demonstration", + "purple cube with violet exterior", + "geometric block made from matte-to-shiny finish", + "smooth reflective surface geometric block used for 3D modeling reference", + "glossy plastic 3D cube for visual demonstration", + "purple cube sized desktop-sized", + "smooth reflective surface sharp right angles geometric block", + "3D cube for lighting study with glossy plastic", + "perfect cube object used for 3D modeling reference", + "smooth reflective surface object used for lighting study", + "medium cube six flat faces purple cube for visual demonstration", + "purple cube for visual demonstration activities", + "purple cube with medium cube dimensions", + "smooth reflective surface object for 3D modeling reference", + "purple cube primarily used for 3D modeling reference", + "purple cube for 3D modeling reference use", + "3D cube for visual demonstration activities", + "sharp right angles smooth reflective surface geometric block for visual demonstration", + "medium cube deep purple perfect cube object", + "roughly fist-sized violet object for 3D modeling reference", + "desktop-sized object used for lighting study", + "geometric block for visual demonstration use", + "perfect cube-shaped 3D cube", + "geometric block with matte-to-shiny finish construction", + "geometric block commonly found in roughly fist-sized size", + "matte-to-shiny finish 3D cube suitable for lighting study", + "roughly fist-sized smooth reflective surface perfect cube for 3D modeling reference", + "roughly fist-sized matte-to-shiny finish geometric block for lighting study", + "3D cube commonly featuring smooth reflective surface", + "violet six flat faces 3D cube", + "purple cube with deep purple color", + "purple cube with sharp right angles geometry", + "violet object used for visual demonstration", + "desktop-sized violet perfect cube object", + "lighting study use of purple cube", + "desktop-sized six flat faces object", + "geometric block in sharp right angles", + "3D cube for visual demonstration scenarios", + "smooth reflective surface 3D cube suitable for lighting study", + "geometric block in deep purple", + "3D cube colored shiny magenta gradient", + "geometric block intended for lighting study", + "geometric block made of smooth reflective surface", + "deep purple smooth reflective surface perfect cube geometric block", + "purple cube with desktop-sized dimensions", + "deep purple purple cube used for visual demonstration", + "purple cube for visual demonstration", + "glossy plastic geometric block for visual demonstration", + "3D cube in medium cube", + "smooth reflective surface geometric block for visual demonstration", + "violet matte-to-shiny finish perfect cube 3D cube", + "3D cube in six flat faces form", + "geometric block with six flat faces geometry", + "six flat faces 3D cube used for visual demonstration", + "geometric block with matte-to-shiny finish surface", + "smooth reflective surface shiny magenta gradient purple cube", + "3D cube colored violet", + "geometric block in perfect cube form", + "geometric block designed for lighting study", + "geometric block in six flat faces", + "matte-to-shiny finish perfect cube object used for visual demonstration", + "geometric block shaped like a sharp right angles", + "3D cube with desktop-sized dimensions", + "purple cube sized medium cube", + "desktop-sized object used for 3D modeling reference", + "visual demonstration use of geometric block", + "deep purple roughly fist-sized purple cube for lighting study", + "shiny magenta gradient object used for visual demonstration", + "purple cube appropriate for visual demonstration", + "glossy plastic 3D cube suitable for visual demonstration", + "deep purple perfect cube object for lighting study", + "roughly fist-sized purple cube used for visual demonstration", + "3D cube featuring perfect cube shape", + "shiny magenta gradient roughly fist-sized sharp right angles purple cube", + "smooth reflective surface sharp right angles for visual demonstration", + "glossy plastic perfect cube for visual demonstration", + "violet perfect cube 3D cube", + "desktop-sized deep purple perfect cube object", + "smooth reflective surface purple cube for lighting study" + ], + "caption": { + "color": [ + "violet", + "deep purple", + "shiny magenta gradient" + ], + "function": [ + "visual demonstration", + "3D modeling reference", + "lighting study" + ], + "material": [ + "glossy plastic", + "smooth reflective surface", + "matte-to-shiny finish" + ], + "name": [ + "purple cube", + "3D cube", + "geometric block" + ], + "shape": [ + "perfect cube", + "six flat faces", + "sharp right angles" + ], + "size": [ + "medium cube", + "desktop-sized", + "roughly fist-sized" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/small_cube/00002/object.usdz b/Objects/RoboDojo/Rigid/small_cube/00002/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..89bf0a78268d682266b1343cda2a3cc8dbf1c3e9 Binary files /dev/null and b/Objects/RoboDojo/Rigid/small_cube/00002/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/small_cube/00003/metadata.json b/Objects/RoboDojo/Rigid/small_cube/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed0b0934c4d8c0f38432efbc5c34550047a986c0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/small_cube/00003/metadata.json @@ -0,0 +1,248 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.3, + "size": [ + 0.035, + 0.035, + 0.035 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ], + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + } + }, + "active": { + "functional": {} + }, + "description": [ + "deep purple glossy plastic perfect cube object", + "desktop-sized sharp right angles purple cube for 3D modeling reference", + "roughly fist-sized purple cube perfect for visual demonstration", + "3D cube appropriate for visual demonstration use", + "3D cube built from matte-to-shiny finish", + "shiny magenta gradient matte-to-shiny finish six flat faces 3D cube", + "purple cube primarily used for lighting study", + "six flat faces purple cube used for lighting study", + "smooth reflective surface six flat faces object used for lighting study", + "3D cube ideal for visual demonstration", + "violet purple cube designed for lighting study", + "deep purple desktop-sized purple cube for lighting study", + "3D cube intended for lighting study usage", + "violet geometric block designed for lighting study", + "violet 3D cube designed for visual demonstration", + "purple cube made of glossy plastic", + "desktop-sized glossy plastic 3D cube", + "matte-to-shiny finish 3D cube for 3D modeling reference", + "sharp right angles-shaped 3D cube", + "roughly fist-sized deep purple object for visual demonstration", + "geometric block commonly featuring smooth reflective surface", + "desktop-sized 3D cube for visual demonstration", + "purple cube with violet exterior", + "geometric block made from matte-to-shiny finish", + "smooth reflective surface geometric block used for 3D modeling reference", + "glossy plastic 3D cube for visual demonstration", + "purple cube sized desktop-sized", + "smooth reflective surface sharp right angles geometric block", + "3D cube for lighting study with glossy plastic", + "perfect cube object used for 3D modeling reference", + "smooth reflective surface object used for lighting study", + "medium cube six flat faces purple cube for visual demonstration", + "purple cube for visual demonstration activities", + "purple cube with medium cube dimensions", + "smooth reflective surface object for 3D modeling reference", + "purple cube primarily used for 3D modeling reference", + "purple cube for 3D modeling reference use", + "3D cube for visual demonstration activities", + "sharp right angles smooth reflective surface geometric block for visual demonstration", + "medium cube deep purple perfect cube object", + "roughly fist-sized violet object for 3D modeling reference", + "desktop-sized object used for lighting study", + "geometric block for visual demonstration use", + "perfect cube-shaped 3D cube", + "geometric block with matte-to-shiny finish construction", + "geometric block commonly found in roughly fist-sized size", + "matte-to-shiny finish 3D cube suitable for lighting study", + "roughly fist-sized smooth reflective surface perfect cube for 3D modeling reference", + "roughly fist-sized matte-to-shiny finish geometric block for lighting study", + "3D cube commonly featuring smooth reflective surface", + "violet six flat faces 3D cube", + "purple cube with deep purple color", + "purple cube with sharp right angles geometry", + "violet object used for visual demonstration", + "desktop-sized violet perfect cube object", + "lighting study use of purple cube", + "desktop-sized six flat faces object", + "geometric block in sharp right angles", + "3D cube for visual demonstration scenarios", + "smooth reflective surface 3D cube suitable for lighting study", + "geometric block in deep purple", + "3D cube colored shiny magenta gradient", + "geometric block intended for lighting study", + "geometric block made of smooth reflective surface", + "deep purple smooth reflective surface perfect cube geometric block", + "purple cube with desktop-sized dimensions", + "deep purple purple cube used for visual demonstration", + "purple cube for visual demonstration", + "glossy plastic geometric block for visual demonstration", + "3D cube in medium cube", + "smooth reflective surface geometric block for visual demonstration", + "violet matte-to-shiny finish perfect cube 3D cube", + "3D cube in six flat faces form", + "geometric block with six flat faces geometry", + "six flat faces 3D cube used for visual demonstration", + "geometric block with matte-to-shiny finish surface", + "smooth reflective surface shiny magenta gradient purple cube", + "3D cube colored violet", + "geometric block in perfect cube form", + "geometric block designed for lighting study", + "geometric block in six flat faces", + "matte-to-shiny finish perfect cube object used for visual demonstration", + "geometric block shaped like a sharp right angles", + "3D cube with desktop-sized dimensions", + "purple cube sized medium cube", + "desktop-sized object used for 3D modeling reference", + "visual demonstration use of geometric block", + "deep purple roughly fist-sized purple cube for lighting study", + "shiny magenta gradient object used for visual demonstration", + "purple cube appropriate for visual demonstration", + "glossy plastic 3D cube suitable for visual demonstration", + "deep purple perfect cube object for lighting study", + "roughly fist-sized purple cube used for visual demonstration", + "3D cube featuring perfect cube shape", + "shiny magenta gradient roughly fist-sized sharp right angles purple cube", + "smooth reflective surface sharp right angles for visual demonstration", + "glossy plastic perfect cube for visual demonstration", + "violet perfect cube 3D cube", + "desktop-sized deep purple perfect cube object", + "smooth reflective surface purple cube for lighting study" + ], + "caption": { + "color": [ + "violet", + "deep purple", + "shiny magenta gradient" + ], + "function": [ + "visual demonstration", + "3D modeling reference", + "lighting study" + ], + "material": [ + "glossy plastic", + "smooth reflective surface", + "matte-to-shiny finish" + ], + "name": [ + "purple cube", + "3D cube", + "geometric block" + ], + "shape": [ + "perfect cube", + "six flat faces", + "sharp right angles" + ], + "size": [ + "medium cube", + "desktop-sized", + "roughly fist-sized" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/small_cube/00003/object.usdz b/Objects/RoboDojo/Rigid/small_cube/00003/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..4a1b983cf7311fff4946cfbf2d47f10921e5165b Binary files /dev/null and b/Objects/RoboDojo/Rigid/small_cube/00003/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/small_cube/00004/metadata.json b/Objects/RoboDojo/Rigid/small_cube/00004/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed0b0934c4d8c0f38432efbc5c34550047a986c0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/small_cube/00004/metadata.json @@ -0,0 +1,248 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.3, + "size": [ + 0.035, + 0.035, + 0.035 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ], + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + } + }, + "active": { + "functional": {} + }, + "description": [ + "deep purple glossy plastic perfect cube object", + "desktop-sized sharp right angles purple cube for 3D modeling reference", + "roughly fist-sized purple cube perfect for visual demonstration", + "3D cube appropriate for visual demonstration use", + "3D cube built from matte-to-shiny finish", + "shiny magenta gradient matte-to-shiny finish six flat faces 3D cube", + "purple cube primarily used for lighting study", + "six flat faces purple cube used for lighting study", + "smooth reflective surface six flat faces object used for lighting study", + "3D cube ideal for visual demonstration", + "violet purple cube designed for lighting study", + "deep purple desktop-sized purple cube for lighting study", + "3D cube intended for lighting study usage", + "violet geometric block designed for lighting study", + "violet 3D cube designed for visual demonstration", + "purple cube made of glossy plastic", + "desktop-sized glossy plastic 3D cube", + "matte-to-shiny finish 3D cube for 3D modeling reference", + "sharp right angles-shaped 3D cube", + "roughly fist-sized deep purple object for visual demonstration", + "geometric block commonly featuring smooth reflective surface", + "desktop-sized 3D cube for visual demonstration", + "purple cube with violet exterior", + "geometric block made from matte-to-shiny finish", + "smooth reflective surface geometric block used for 3D modeling reference", + "glossy plastic 3D cube for visual demonstration", + "purple cube sized desktop-sized", + "smooth reflective surface sharp right angles geometric block", + "3D cube for lighting study with glossy plastic", + "perfect cube object used for 3D modeling reference", + "smooth reflective surface object used for lighting study", + "medium cube six flat faces purple cube for visual demonstration", + "purple cube for visual demonstration activities", + "purple cube with medium cube dimensions", + "smooth reflective surface object for 3D modeling reference", + "purple cube primarily used for 3D modeling reference", + "purple cube for 3D modeling reference use", + "3D cube for visual demonstration activities", + "sharp right angles smooth reflective surface geometric block for visual demonstration", + "medium cube deep purple perfect cube object", + "roughly fist-sized violet object for 3D modeling reference", + "desktop-sized object used for lighting study", + "geometric block for visual demonstration use", + "perfect cube-shaped 3D cube", + "geometric block with matte-to-shiny finish construction", + "geometric block commonly found in roughly fist-sized size", + "matte-to-shiny finish 3D cube suitable for lighting study", + "roughly fist-sized smooth reflective surface perfect cube for 3D modeling reference", + "roughly fist-sized matte-to-shiny finish geometric block for lighting study", + "3D cube commonly featuring smooth reflective surface", + "violet six flat faces 3D cube", + "purple cube with deep purple color", + "purple cube with sharp right angles geometry", + "violet object used for visual demonstration", + "desktop-sized violet perfect cube object", + "lighting study use of purple cube", + "desktop-sized six flat faces object", + "geometric block in sharp right angles", + "3D cube for visual demonstration scenarios", + "smooth reflective surface 3D cube suitable for lighting study", + "geometric block in deep purple", + "3D cube colored shiny magenta gradient", + "geometric block intended for lighting study", + "geometric block made of smooth reflective surface", + "deep purple smooth reflective surface perfect cube geometric block", + "purple cube with desktop-sized dimensions", + "deep purple purple cube used for visual demonstration", + "purple cube for visual demonstration", + "glossy plastic geometric block for visual demonstration", + "3D cube in medium cube", + "smooth reflective surface geometric block for visual demonstration", + "violet matte-to-shiny finish perfect cube 3D cube", + "3D cube in six flat faces form", + "geometric block with six flat faces geometry", + "six flat faces 3D cube used for visual demonstration", + "geometric block with matte-to-shiny finish surface", + "smooth reflective surface shiny magenta gradient purple cube", + "3D cube colored violet", + "geometric block in perfect cube form", + "geometric block designed for lighting study", + "geometric block in six flat faces", + "matte-to-shiny finish perfect cube object used for visual demonstration", + "geometric block shaped like a sharp right angles", + "3D cube with desktop-sized dimensions", + "purple cube sized medium cube", + "desktop-sized object used for 3D modeling reference", + "visual demonstration use of geometric block", + "deep purple roughly fist-sized purple cube for lighting study", + "shiny magenta gradient object used for visual demonstration", + "purple cube appropriate for visual demonstration", + "glossy plastic 3D cube suitable for visual demonstration", + "deep purple perfect cube object for lighting study", + "roughly fist-sized purple cube used for visual demonstration", + "3D cube featuring perfect cube shape", + "shiny magenta gradient roughly fist-sized sharp right angles purple cube", + "smooth reflective surface sharp right angles for visual demonstration", + "glossy plastic perfect cube for visual demonstration", + "violet perfect cube 3D cube", + "desktop-sized deep purple perfect cube object", + "smooth reflective surface purple cube for lighting study" + ], + "caption": { + "color": [ + "violet", + "deep purple", + "shiny magenta gradient" + ], + "function": [ + "visual demonstration", + "3D modeling reference", + "lighting study" + ], + "material": [ + "glossy plastic", + "smooth reflective surface", + "matte-to-shiny finish" + ], + "name": [ + "purple cube", + "3D cube", + "geometric block" + ], + "shape": [ + "perfect cube", + "six flat faces", + "sharp right angles" + ], + "size": [ + "medium cube", + "desktop-sized", + "roughly fist-sized" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/small_cube/00004/object.usdz b/Objects/RoboDojo/Rigid/small_cube/00004/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..58a442fb7b6727d30fde262180d1a5d02c751d67 Binary files /dev/null and b/Objects/RoboDojo/Rigid/small_cube/00004/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/small_cube/00005/metadata.json b/Objects/RoboDojo/Rigid/small_cube/00005/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed0b0934c4d8c0f38432efbc5c34550047a986c0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/small_cube/00005/metadata.json @@ -0,0 +1,248 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.3, + "size": [ + 0.035, + 0.035, + 0.035 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ], + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + } + }, + "active": { + "functional": {} + }, + "description": [ + "deep purple glossy plastic perfect cube object", + "desktop-sized sharp right angles purple cube for 3D modeling reference", + "roughly fist-sized purple cube perfect for visual demonstration", + "3D cube appropriate for visual demonstration use", + "3D cube built from matte-to-shiny finish", + "shiny magenta gradient matte-to-shiny finish six flat faces 3D cube", + "purple cube primarily used for lighting study", + "six flat faces purple cube used for lighting study", + "smooth reflective surface six flat faces object used for lighting study", + "3D cube ideal for visual demonstration", + "violet purple cube designed for lighting study", + "deep purple desktop-sized purple cube for lighting study", + "3D cube intended for lighting study usage", + "violet geometric block designed for lighting study", + "violet 3D cube designed for visual demonstration", + "purple cube made of glossy plastic", + "desktop-sized glossy plastic 3D cube", + "matte-to-shiny finish 3D cube for 3D modeling reference", + "sharp right angles-shaped 3D cube", + "roughly fist-sized deep purple object for visual demonstration", + "geometric block commonly featuring smooth reflective surface", + "desktop-sized 3D cube for visual demonstration", + "purple cube with violet exterior", + "geometric block made from matte-to-shiny finish", + "smooth reflective surface geometric block used for 3D modeling reference", + "glossy plastic 3D cube for visual demonstration", + "purple cube sized desktop-sized", + "smooth reflective surface sharp right angles geometric block", + "3D cube for lighting study with glossy plastic", + "perfect cube object used for 3D modeling reference", + "smooth reflective surface object used for lighting study", + "medium cube six flat faces purple cube for visual demonstration", + "purple cube for visual demonstration activities", + "purple cube with medium cube dimensions", + "smooth reflective surface object for 3D modeling reference", + "purple cube primarily used for 3D modeling reference", + "purple cube for 3D modeling reference use", + "3D cube for visual demonstration activities", + "sharp right angles smooth reflective surface geometric block for visual demonstration", + "medium cube deep purple perfect cube object", + "roughly fist-sized violet object for 3D modeling reference", + "desktop-sized object used for lighting study", + "geometric block for visual demonstration use", + "perfect cube-shaped 3D cube", + "geometric block with matte-to-shiny finish construction", + "geometric block commonly found in roughly fist-sized size", + "matte-to-shiny finish 3D cube suitable for lighting study", + "roughly fist-sized smooth reflective surface perfect cube for 3D modeling reference", + "roughly fist-sized matte-to-shiny finish geometric block for lighting study", + "3D cube commonly featuring smooth reflective surface", + "violet six flat faces 3D cube", + "purple cube with deep purple color", + "purple cube with sharp right angles geometry", + "violet object used for visual demonstration", + "desktop-sized violet perfect cube object", + "lighting study use of purple cube", + "desktop-sized six flat faces object", + "geometric block in sharp right angles", + "3D cube for visual demonstration scenarios", + "smooth reflective surface 3D cube suitable for lighting study", + "geometric block in deep purple", + "3D cube colored shiny magenta gradient", + "geometric block intended for lighting study", + "geometric block made of smooth reflective surface", + "deep purple smooth reflective surface perfect cube geometric block", + "purple cube with desktop-sized dimensions", + "deep purple purple cube used for visual demonstration", + "purple cube for visual demonstration", + "glossy plastic geometric block for visual demonstration", + "3D cube in medium cube", + "smooth reflective surface geometric block for visual demonstration", + "violet matte-to-shiny finish perfect cube 3D cube", + "3D cube in six flat faces form", + "geometric block with six flat faces geometry", + "six flat faces 3D cube used for visual demonstration", + "geometric block with matte-to-shiny finish surface", + "smooth reflective surface shiny magenta gradient purple cube", + "3D cube colored violet", + "geometric block in perfect cube form", + "geometric block designed for lighting study", + "geometric block in six flat faces", + "matte-to-shiny finish perfect cube object used for visual demonstration", + "geometric block shaped like a sharp right angles", + "3D cube with desktop-sized dimensions", + "purple cube sized medium cube", + "desktop-sized object used for 3D modeling reference", + "visual demonstration use of geometric block", + "deep purple roughly fist-sized purple cube for lighting study", + "shiny magenta gradient object used for visual demonstration", + "purple cube appropriate for visual demonstration", + "glossy plastic 3D cube suitable for visual demonstration", + "deep purple perfect cube object for lighting study", + "roughly fist-sized purple cube used for visual demonstration", + "3D cube featuring perfect cube shape", + "shiny magenta gradient roughly fist-sized sharp right angles purple cube", + "smooth reflective surface sharp right angles for visual demonstration", + "glossy plastic perfect cube for visual demonstration", + "violet perfect cube 3D cube", + "desktop-sized deep purple perfect cube object", + "smooth reflective surface purple cube for lighting study" + ], + "caption": { + "color": [ + "violet", + "deep purple", + "shiny magenta gradient" + ], + "function": [ + "visual demonstration", + "3D modeling reference", + "lighting study" + ], + "material": [ + "glossy plastic", + "smooth reflective surface", + "matte-to-shiny finish" + ], + "name": [ + "purple cube", + "3D cube", + "geometric block" + ], + "shape": [ + "perfect cube", + "six flat faces", + "sharp right angles" + ], + "size": [ + "medium cube", + "desktop-sized", + "roughly fist-sized" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/small_cube/00005/object.usdz b/Objects/RoboDojo/Rigid/small_cube/00005/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..26f9c7d1c896197af02b2c180f09d9b773b4ae4f Binary files /dev/null and b/Objects/RoboDojo/Rigid/small_cube/00005/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/small_cube/00006/metadata.json b/Objects/RoboDojo/Rigid/small_cube/00006/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed0b0934c4d8c0f38432efbc5c34550047a986c0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/small_cube/00006/metadata.json @@ -0,0 +1,248 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.3, + "size": [ + 0.035, + 0.035, + 0.035 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ], + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + } + }, + "active": { + "functional": {} + }, + "description": [ + "deep purple glossy plastic perfect cube object", + "desktop-sized sharp right angles purple cube for 3D modeling reference", + "roughly fist-sized purple cube perfect for visual demonstration", + "3D cube appropriate for visual demonstration use", + "3D cube built from matte-to-shiny finish", + "shiny magenta gradient matte-to-shiny finish six flat faces 3D cube", + "purple cube primarily used for lighting study", + "six flat faces purple cube used for lighting study", + "smooth reflective surface six flat faces object used for lighting study", + "3D cube ideal for visual demonstration", + "violet purple cube designed for lighting study", + "deep purple desktop-sized purple cube for lighting study", + "3D cube intended for lighting study usage", + "violet geometric block designed for lighting study", + "violet 3D cube designed for visual demonstration", + "purple cube made of glossy plastic", + "desktop-sized glossy plastic 3D cube", + "matte-to-shiny finish 3D cube for 3D modeling reference", + "sharp right angles-shaped 3D cube", + "roughly fist-sized deep purple object for visual demonstration", + "geometric block commonly featuring smooth reflective surface", + "desktop-sized 3D cube for visual demonstration", + "purple cube with violet exterior", + "geometric block made from matte-to-shiny finish", + "smooth reflective surface geometric block used for 3D modeling reference", + "glossy plastic 3D cube for visual demonstration", + "purple cube sized desktop-sized", + "smooth reflective surface sharp right angles geometric block", + "3D cube for lighting study with glossy plastic", + "perfect cube object used for 3D modeling reference", + "smooth reflective surface object used for lighting study", + "medium cube six flat faces purple cube for visual demonstration", + "purple cube for visual demonstration activities", + "purple cube with medium cube dimensions", + "smooth reflective surface object for 3D modeling reference", + "purple cube primarily used for 3D modeling reference", + "purple cube for 3D modeling reference use", + "3D cube for visual demonstration activities", + "sharp right angles smooth reflective surface geometric block for visual demonstration", + "medium cube deep purple perfect cube object", + "roughly fist-sized violet object for 3D modeling reference", + "desktop-sized object used for lighting study", + "geometric block for visual demonstration use", + "perfect cube-shaped 3D cube", + "geometric block with matte-to-shiny finish construction", + "geometric block commonly found in roughly fist-sized size", + "matte-to-shiny finish 3D cube suitable for lighting study", + "roughly fist-sized smooth reflective surface perfect cube for 3D modeling reference", + "roughly fist-sized matte-to-shiny finish geometric block for lighting study", + "3D cube commonly featuring smooth reflective surface", + "violet six flat faces 3D cube", + "purple cube with deep purple color", + "purple cube with sharp right angles geometry", + "violet object used for visual demonstration", + "desktop-sized violet perfect cube object", + "lighting study use of purple cube", + "desktop-sized six flat faces object", + "geometric block in sharp right angles", + "3D cube for visual demonstration scenarios", + "smooth reflective surface 3D cube suitable for lighting study", + "geometric block in deep purple", + "3D cube colored shiny magenta gradient", + "geometric block intended for lighting study", + "geometric block made of smooth reflective surface", + "deep purple smooth reflective surface perfect cube geometric block", + "purple cube with desktop-sized dimensions", + "deep purple purple cube used for visual demonstration", + "purple cube for visual demonstration", + "glossy plastic geometric block for visual demonstration", + "3D cube in medium cube", + "smooth reflective surface geometric block for visual demonstration", + "violet matte-to-shiny finish perfect cube 3D cube", + "3D cube in six flat faces form", + "geometric block with six flat faces geometry", + "six flat faces 3D cube used for visual demonstration", + "geometric block with matte-to-shiny finish surface", + "smooth reflective surface shiny magenta gradient purple cube", + "3D cube colored violet", + "geometric block in perfect cube form", + "geometric block designed for lighting study", + "geometric block in six flat faces", + "matte-to-shiny finish perfect cube object used for visual demonstration", + "geometric block shaped like a sharp right angles", + "3D cube with desktop-sized dimensions", + "purple cube sized medium cube", + "desktop-sized object used for 3D modeling reference", + "visual demonstration use of geometric block", + "deep purple roughly fist-sized purple cube for lighting study", + "shiny magenta gradient object used for visual demonstration", + "purple cube appropriate for visual demonstration", + "glossy plastic 3D cube suitable for visual demonstration", + "deep purple perfect cube object for lighting study", + "roughly fist-sized purple cube used for visual demonstration", + "3D cube featuring perfect cube shape", + "shiny magenta gradient roughly fist-sized sharp right angles purple cube", + "smooth reflective surface sharp right angles for visual demonstration", + "glossy plastic perfect cube for visual demonstration", + "violet perfect cube 3D cube", + "desktop-sized deep purple perfect cube object", + "smooth reflective surface purple cube for lighting study" + ], + "caption": { + "color": [ + "violet", + "deep purple", + "shiny magenta gradient" + ], + "function": [ + "visual demonstration", + "3D modeling reference", + "lighting study" + ], + "material": [ + "glossy plastic", + "smooth reflective surface", + "matte-to-shiny finish" + ], + "name": [ + "purple cube", + "3D cube", + "geometric block" + ], + "shape": [ + "perfect cube", + "six flat faces", + "sharp right angles" + ], + "size": [ + "medium cube", + "desktop-sized", + "roughly fist-sized" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/small_cube/00006/object.usdz b/Objects/RoboDojo/Rigid/small_cube/00006/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..3b165b74ed354e8f5ba9e91b0b4cbaae73d55e05 Binary files /dev/null and b/Objects/RoboDojo/Rigid/small_cube/00006/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/small_cube/00007/metadata.json b/Objects/RoboDojo/Rigid/small_cube/00007/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed0b0934c4d8c0f38432efbc5c34550047a986c0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/small_cube/00007/metadata.json @@ -0,0 +1,248 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.3, + "size": [ + 0.035, + 0.035, + 0.035 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ], + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + } + }, + "active": { + "functional": {} + }, + "description": [ + "deep purple glossy plastic perfect cube object", + "desktop-sized sharp right angles purple cube for 3D modeling reference", + "roughly fist-sized purple cube perfect for visual demonstration", + "3D cube appropriate for visual demonstration use", + "3D cube built from matte-to-shiny finish", + "shiny magenta gradient matte-to-shiny finish six flat faces 3D cube", + "purple cube primarily used for lighting study", + "six flat faces purple cube used for lighting study", + "smooth reflective surface six flat faces object used for lighting study", + "3D cube ideal for visual demonstration", + "violet purple cube designed for lighting study", + "deep purple desktop-sized purple cube for lighting study", + "3D cube intended for lighting study usage", + "violet geometric block designed for lighting study", + "violet 3D cube designed for visual demonstration", + "purple cube made of glossy plastic", + "desktop-sized glossy plastic 3D cube", + "matte-to-shiny finish 3D cube for 3D modeling reference", + "sharp right angles-shaped 3D cube", + "roughly fist-sized deep purple object for visual demonstration", + "geometric block commonly featuring smooth reflective surface", + "desktop-sized 3D cube for visual demonstration", + "purple cube with violet exterior", + "geometric block made from matte-to-shiny finish", + "smooth reflective surface geometric block used for 3D modeling reference", + "glossy plastic 3D cube for visual demonstration", + "purple cube sized desktop-sized", + "smooth reflective surface sharp right angles geometric block", + "3D cube for lighting study with glossy plastic", + "perfect cube object used for 3D modeling reference", + "smooth reflective surface object used for lighting study", + "medium cube six flat faces purple cube for visual demonstration", + "purple cube for visual demonstration activities", + "purple cube with medium cube dimensions", + "smooth reflective surface object for 3D modeling reference", + "purple cube primarily used for 3D modeling reference", + "purple cube for 3D modeling reference use", + "3D cube for visual demonstration activities", + "sharp right angles smooth reflective surface geometric block for visual demonstration", + "medium cube deep purple perfect cube object", + "roughly fist-sized violet object for 3D modeling reference", + "desktop-sized object used for lighting study", + "geometric block for visual demonstration use", + "perfect cube-shaped 3D cube", + "geometric block with matte-to-shiny finish construction", + "geometric block commonly found in roughly fist-sized size", + "matte-to-shiny finish 3D cube suitable for lighting study", + "roughly fist-sized smooth reflective surface perfect cube for 3D modeling reference", + "roughly fist-sized matte-to-shiny finish geometric block for lighting study", + "3D cube commonly featuring smooth reflective surface", + "violet six flat faces 3D cube", + "purple cube with deep purple color", + "purple cube with sharp right angles geometry", + "violet object used for visual demonstration", + "desktop-sized violet perfect cube object", + "lighting study use of purple cube", + "desktop-sized six flat faces object", + "geometric block in sharp right angles", + "3D cube for visual demonstration scenarios", + "smooth reflective surface 3D cube suitable for lighting study", + "geometric block in deep purple", + "3D cube colored shiny magenta gradient", + "geometric block intended for lighting study", + "geometric block made of smooth reflective surface", + "deep purple smooth reflective surface perfect cube geometric block", + "purple cube with desktop-sized dimensions", + "deep purple purple cube used for visual demonstration", + "purple cube for visual demonstration", + "glossy plastic geometric block for visual demonstration", + "3D cube in medium cube", + "smooth reflective surface geometric block for visual demonstration", + "violet matte-to-shiny finish perfect cube 3D cube", + "3D cube in six flat faces form", + "geometric block with six flat faces geometry", + "six flat faces 3D cube used for visual demonstration", + "geometric block with matte-to-shiny finish surface", + "smooth reflective surface shiny magenta gradient purple cube", + "3D cube colored violet", + "geometric block in perfect cube form", + "geometric block designed for lighting study", + "geometric block in six flat faces", + "matte-to-shiny finish perfect cube object used for visual demonstration", + "geometric block shaped like a sharp right angles", + "3D cube with desktop-sized dimensions", + "purple cube sized medium cube", + "desktop-sized object used for 3D modeling reference", + "visual demonstration use of geometric block", + "deep purple roughly fist-sized purple cube for lighting study", + "shiny magenta gradient object used for visual demonstration", + "purple cube appropriate for visual demonstration", + "glossy plastic 3D cube suitable for visual demonstration", + "deep purple perfect cube object for lighting study", + "roughly fist-sized purple cube used for visual demonstration", + "3D cube featuring perfect cube shape", + "shiny magenta gradient roughly fist-sized sharp right angles purple cube", + "smooth reflective surface sharp right angles for visual demonstration", + "glossy plastic perfect cube for visual demonstration", + "violet perfect cube 3D cube", + "desktop-sized deep purple perfect cube object", + "smooth reflective surface purple cube for lighting study" + ], + "caption": { + "color": [ + "violet", + "deep purple", + "shiny magenta gradient" + ], + "function": [ + "visual demonstration", + "3D modeling reference", + "lighting study" + ], + "material": [ + "glossy plastic", + "smooth reflective surface", + "matte-to-shiny finish" + ], + "name": [ + "purple cube", + "3D cube", + "geometric block" + ], + "shape": [ + "perfect cube", + "six flat faces", + "sharp right angles" + ], + "size": [ + "medium cube", + "desktop-sized", + "roughly fist-sized" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/small_cube/00007/object.usdz b/Objects/RoboDojo/Rigid/small_cube/00007/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..95e5048a37d5f40272ef2e0166fb2aca771d6b7b Binary files /dev/null and b/Objects/RoboDojo/Rigid/small_cube/00007/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/small_cube/00008/metadata.json b/Objects/RoboDojo/Rigid/small_cube/00008/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed0b0934c4d8c0f38432efbc5c34550047a986c0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/small_cube/00008/metadata.json @@ -0,0 +1,248 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.3, + "size": [ + 0.035, + 0.035, + 0.035 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ], + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + } + }, + "active": { + "functional": {} + }, + "description": [ + "deep purple glossy plastic perfect cube object", + "desktop-sized sharp right angles purple cube for 3D modeling reference", + "roughly fist-sized purple cube perfect for visual demonstration", + "3D cube appropriate for visual demonstration use", + "3D cube built from matte-to-shiny finish", + "shiny magenta gradient matte-to-shiny finish six flat faces 3D cube", + "purple cube primarily used for lighting study", + "six flat faces purple cube used for lighting study", + "smooth reflective surface six flat faces object used for lighting study", + "3D cube ideal for visual demonstration", + "violet purple cube designed for lighting study", + "deep purple desktop-sized purple cube for lighting study", + "3D cube intended for lighting study usage", + "violet geometric block designed for lighting study", + "violet 3D cube designed for visual demonstration", + "purple cube made of glossy plastic", + "desktop-sized glossy plastic 3D cube", + "matte-to-shiny finish 3D cube for 3D modeling reference", + "sharp right angles-shaped 3D cube", + "roughly fist-sized deep purple object for visual demonstration", + "geometric block commonly featuring smooth reflective surface", + "desktop-sized 3D cube for visual demonstration", + "purple cube with violet exterior", + "geometric block made from matte-to-shiny finish", + "smooth reflective surface geometric block used for 3D modeling reference", + "glossy plastic 3D cube for visual demonstration", + "purple cube sized desktop-sized", + "smooth reflective surface sharp right angles geometric block", + "3D cube for lighting study with glossy plastic", + "perfect cube object used for 3D modeling reference", + "smooth reflective surface object used for lighting study", + "medium cube six flat faces purple cube for visual demonstration", + "purple cube for visual demonstration activities", + "purple cube with medium cube dimensions", + "smooth reflective surface object for 3D modeling reference", + "purple cube primarily used for 3D modeling reference", + "purple cube for 3D modeling reference use", + "3D cube for visual demonstration activities", + "sharp right angles smooth reflective surface geometric block for visual demonstration", + "medium cube deep purple perfect cube object", + "roughly fist-sized violet object for 3D modeling reference", + "desktop-sized object used for lighting study", + "geometric block for visual demonstration use", + "perfect cube-shaped 3D cube", + "geometric block with matte-to-shiny finish construction", + "geometric block commonly found in roughly fist-sized size", + "matte-to-shiny finish 3D cube suitable for lighting study", + "roughly fist-sized smooth reflective surface perfect cube for 3D modeling reference", + "roughly fist-sized matte-to-shiny finish geometric block for lighting study", + "3D cube commonly featuring smooth reflective surface", + "violet six flat faces 3D cube", + "purple cube with deep purple color", + "purple cube with sharp right angles geometry", + "violet object used for visual demonstration", + "desktop-sized violet perfect cube object", + "lighting study use of purple cube", + "desktop-sized six flat faces object", + "geometric block in sharp right angles", + "3D cube for visual demonstration scenarios", + "smooth reflective surface 3D cube suitable for lighting study", + "geometric block in deep purple", + "3D cube colored shiny magenta gradient", + "geometric block intended for lighting study", + "geometric block made of smooth reflective surface", + "deep purple smooth reflective surface perfect cube geometric block", + "purple cube with desktop-sized dimensions", + "deep purple purple cube used for visual demonstration", + "purple cube for visual demonstration", + "glossy plastic geometric block for visual demonstration", + "3D cube in medium cube", + "smooth reflective surface geometric block for visual demonstration", + "violet matte-to-shiny finish perfect cube 3D cube", + "3D cube in six flat faces form", + "geometric block with six flat faces geometry", + "six flat faces 3D cube used for visual demonstration", + "geometric block with matte-to-shiny finish surface", + "smooth reflective surface shiny magenta gradient purple cube", + "3D cube colored violet", + "geometric block in perfect cube form", + "geometric block designed for lighting study", + "geometric block in six flat faces", + "matte-to-shiny finish perfect cube object used for visual demonstration", + "geometric block shaped like a sharp right angles", + "3D cube with desktop-sized dimensions", + "purple cube sized medium cube", + "desktop-sized object used for 3D modeling reference", + "visual demonstration use of geometric block", + "deep purple roughly fist-sized purple cube for lighting study", + "shiny magenta gradient object used for visual demonstration", + "purple cube appropriate for visual demonstration", + "glossy plastic 3D cube suitable for visual demonstration", + "deep purple perfect cube object for lighting study", + "roughly fist-sized purple cube used for visual demonstration", + "3D cube featuring perfect cube shape", + "shiny magenta gradient roughly fist-sized sharp right angles purple cube", + "smooth reflective surface sharp right angles for visual demonstration", + "glossy plastic perfect cube for visual demonstration", + "violet perfect cube 3D cube", + "desktop-sized deep purple perfect cube object", + "smooth reflective surface purple cube for lighting study" + ], + "caption": { + "color": [ + "violet", + "deep purple", + "shiny magenta gradient" + ], + "function": [ + "visual demonstration", + "3D modeling reference", + "lighting study" + ], + "material": [ + "glossy plastic", + "smooth reflective surface", + "matte-to-shiny finish" + ], + "name": [ + "purple cube", + "3D cube", + "geometric block" + ], + "shape": [ + "perfect cube", + "six flat faces", + "sharp right angles" + ], + "size": [ + "medium cube", + "desktop-sized", + "roughly fist-sized" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/small_cube/00008/object.usdz b/Objects/RoboDojo/Rigid/small_cube/00008/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..75ce26c3b6475451a2e2952697be0d78f8102773 Binary files /dev/null and b/Objects/RoboDojo/Rigid/small_cube/00008/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/small_cube/00009/metadata.json b/Objects/RoboDojo/Rigid/small_cube/00009/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..ed0b0934c4d8c0f38432efbc5c34550047a986c0 --- /dev/null +++ b/Objects/RoboDojo/Rigid/small_cube/00009/metadata.json @@ -0,0 +1,248 @@ +{ + "physics": { + "mass": 0.03, + "friction": 0.3, + "size": [ + 0.035, + 0.035, + 0.035 + ] + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0096, + 0.0096, + -0.0096 + ], + [ + -0.0096, + 0.0096, + 0.0096 + ], + [ + 0.0096, + 0.0096, + -0.0096 + ], + [ + 0.0096, + 0.0096, + 0.0096 + ], + [ + -0.0096, + -0.0096, + -0.0096 + ], + [ + -0.0096, + -0.0096, + 0.0096 + ], + [ + 0.0096, + -0.0096, + -0.0096 + ], + [ + 0.0096, + -0.0096, + 0.0096 + ] + ], + "extents": [ + 0.0192, + 0.0192, + 0.0192 + ] + } + }, + "active": { + "functional": {} + }, + "description": [ + "deep purple glossy plastic perfect cube object", + "desktop-sized sharp right angles purple cube for 3D modeling reference", + "roughly fist-sized purple cube perfect for visual demonstration", + "3D cube appropriate for visual demonstration use", + "3D cube built from matte-to-shiny finish", + "shiny magenta gradient matte-to-shiny finish six flat faces 3D cube", + "purple cube primarily used for lighting study", + "six flat faces purple cube used for lighting study", + "smooth reflective surface six flat faces object used for lighting study", + "3D cube ideal for visual demonstration", + "violet purple cube designed for lighting study", + "deep purple desktop-sized purple cube for lighting study", + "3D cube intended for lighting study usage", + "violet geometric block designed for lighting study", + "violet 3D cube designed for visual demonstration", + "purple cube made of glossy plastic", + "desktop-sized glossy plastic 3D cube", + "matte-to-shiny finish 3D cube for 3D modeling reference", + "sharp right angles-shaped 3D cube", + "roughly fist-sized deep purple object for visual demonstration", + "geometric block commonly featuring smooth reflective surface", + "desktop-sized 3D cube for visual demonstration", + "purple cube with violet exterior", + "geometric block made from matte-to-shiny finish", + "smooth reflective surface geometric block used for 3D modeling reference", + "glossy plastic 3D cube for visual demonstration", + "purple cube sized desktop-sized", + "smooth reflective surface sharp right angles geometric block", + "3D cube for lighting study with glossy plastic", + "perfect cube object used for 3D modeling reference", + "smooth reflective surface object used for lighting study", + "medium cube six flat faces purple cube for visual demonstration", + "purple cube for visual demonstration activities", + "purple cube with medium cube dimensions", + "smooth reflective surface object for 3D modeling reference", + "purple cube primarily used for 3D modeling reference", + "purple cube for 3D modeling reference use", + "3D cube for visual demonstration activities", + "sharp right angles smooth reflective surface geometric block for visual demonstration", + "medium cube deep purple perfect cube object", + "roughly fist-sized violet object for 3D modeling reference", + "desktop-sized object used for lighting study", + "geometric block for visual demonstration use", + "perfect cube-shaped 3D cube", + "geometric block with matte-to-shiny finish construction", + "geometric block commonly found in roughly fist-sized size", + "matte-to-shiny finish 3D cube suitable for lighting study", + "roughly fist-sized smooth reflective surface perfect cube for 3D modeling reference", + "roughly fist-sized matte-to-shiny finish geometric block for lighting study", + "3D cube commonly featuring smooth reflective surface", + "violet six flat faces 3D cube", + "purple cube with deep purple color", + "purple cube with sharp right angles geometry", + "violet object used for visual demonstration", + "desktop-sized violet perfect cube object", + "lighting study use of purple cube", + "desktop-sized six flat faces object", + "geometric block in sharp right angles", + "3D cube for visual demonstration scenarios", + "smooth reflective surface 3D cube suitable for lighting study", + "geometric block in deep purple", + "3D cube colored shiny magenta gradient", + "geometric block intended for lighting study", + "geometric block made of smooth reflective surface", + "deep purple smooth reflective surface perfect cube geometric block", + "purple cube with desktop-sized dimensions", + "deep purple purple cube used for visual demonstration", + "purple cube for visual demonstration", + "glossy plastic geometric block for visual demonstration", + "3D cube in medium cube", + "smooth reflective surface geometric block for visual demonstration", + "violet matte-to-shiny finish perfect cube 3D cube", + "3D cube in six flat faces form", + "geometric block with six flat faces geometry", + "six flat faces 3D cube used for visual demonstration", + "geometric block with matte-to-shiny finish surface", + "smooth reflective surface shiny magenta gradient purple cube", + "3D cube colored violet", + "geometric block in perfect cube form", + "geometric block designed for lighting study", + "geometric block in six flat faces", + "matte-to-shiny finish perfect cube object used for visual demonstration", + "geometric block shaped like a sharp right angles", + "3D cube with desktop-sized dimensions", + "purple cube sized medium cube", + "desktop-sized object used for 3D modeling reference", + "visual demonstration use of geometric block", + "deep purple roughly fist-sized purple cube for lighting study", + "shiny magenta gradient object used for visual demonstration", + "purple cube appropriate for visual demonstration", + "glossy plastic 3D cube suitable for visual demonstration", + "deep purple perfect cube object for lighting study", + "roughly fist-sized purple cube used for visual demonstration", + "3D cube featuring perfect cube shape", + "shiny magenta gradient roughly fist-sized sharp right angles purple cube", + "smooth reflective surface sharp right angles for visual demonstration", + "glossy plastic perfect cube for visual demonstration", + "violet perfect cube 3D cube", + "desktop-sized deep purple perfect cube object", + "smooth reflective surface purple cube for lighting study" + ], + "caption": { + "color": [ + "violet", + "deep purple", + "shiny magenta gradient" + ], + "function": [ + "visual demonstration", + "3D modeling reference", + "lighting study" + ], + "material": [ + "glossy plastic", + "smooth reflective surface", + "matte-to-shiny finish" + ], + "name": [ + "purple cube", + "3D cube", + "geometric block" + ], + "shape": [ + "perfect cube", + "six flat faces", + "sharp right angles" + ], + "size": [ + "medium cube", + "desktop-sized", + "roughly fist-sized" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/small_cube/00009/object.usdz b/Objects/RoboDojo/Rigid/small_cube/00009/object.usdz new file mode 100644 index 0000000000000000000000000000000000000000..fa097034306accb2e34d6ff6b3bf3dfef1acfdfc Binary files /dev/null and b/Objects/RoboDojo/Rigid/small_cube/00009/object.usdz differ diff --git a/Objects/RoboDojo/Rigid/socket/00000/metadata.json b/Objects/RoboDojo/Rigid/socket/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..66859748ef2672bf8291526e3297db8d7c62f087 --- /dev/null +++ b/Objects/RoboDojo/Rigid/socket/00000/metadata.json @@ -0,0 +1,197 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0786, + -0.0182, + 0.0008 + ], + [ + -0.0786, + -0.0182, + 0.0216 + ], + [ + -0.0786, + 0.0182, + 0.0008 + ], + [ + -0.0786, + 0.0182, + 0.0216 + ], + [ + 0.0786, + -0.0182, + 0.0008 + ], + [ + 0.0786, + -0.0182, + 0.0216 + ], + [ + 0.0786, + 0.0182, + 0.0008 + ], + [ + 0.0786, + 0.0182, + 0.0216 + ] + ], + "extents": [ + 0.1572, + 0.0363, + 0.0208 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0786, + 0.0181, + 0.0216 + ], + [ + -0.0786, + 0.0181, + 0.0216 + ], + [ + 0.0786, + -0.0182, + 0.0215 + ], + [ + -0.0786, + -0.0182, + 0.0215 + ], + [ + 0.0786, + 0.0182, + 0.0008 + ], + [ + -0.0786, + 0.0182, + 0.0008 + ], + [ + 0.0786, + -0.0181, + 0.0008 + ], + [ + -0.0786, + -0.0181, + 0.0008 + ] + ], + "extents": [ + 0.1572, + 0.0363, + 0.0208 + ] + } + }, + "physics": { + "size": [ + 0.1586687078252984, + 0.03667060473130968, + 0.021 + ], + "mass": 0.0, + "friction": 0.0 + }, + "active": { + "functional": {} + }, + "passive": { + "functional": {}, + "support": { + "socket/1": { + "center": [ + [ + 0.008, + 0.007, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.008, + 0.007, + 0.02, + 6.123233995736766e-17, + 0.0, + 0.0, + 1.0 + ] + ], + "radius": [ + 0.0001, + 0.0001 + ] + }, + "socket/0": { + "center": [ + [ + 0.044, + 0.005, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.044, + 0.005, + 0.02, + 0.0, + 0.0, + 0.0, + 1.0 + ] + ], + "radius": [ + 0.0001, + 0.0001 + ] + }, + "socket/2": { + "center": [ + [ + -0.03, + 0.007, + 0.02, + 1.0, + 0.0, + 0.0, + 0.0 + ], + [ + -0.03, + 0.007, + 0.02, + 6.123233995736766e-17, + 0.0, + 0.0, + 1.0 + ] + ], + "radius": [ + 0.0001, + 0.0001 + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/stackingblocks/00000/metadata.json b/Objects/RoboDojo/Rigid/stackingblocks/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..1f3fbb28264691f503ffd0015486f3dbe4b2da7b --- /dev/null +++ b/Objects/RoboDojo/Rigid/stackingblocks/00000/metadata.json @@ -0,0 +1,118 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0294, + -0.025, + 0.0 + ], + [ + -0.0294, + -0.025, + 0.0129 + ], + [ + -0.0294, + 0.0309, + 0.0 + ], + [ + -0.0294, + 0.0309, + 0.0129 + ], + [ + 0.0294, + -0.025, + 0.0 + ], + [ + 0.0294, + -0.025, + 0.0129 + ], + [ + 0.0294, + 0.0309, + 0.0 + ], + [ + 0.0294, + 0.0309, + 0.0129 + ] + ], + "extents": [ + 0.0587, + 0.0559, + 0.0129 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0203, + 0.0375, + 0.0131 + ], + [ + -0.0384, + -0.0184, + 0.013 + ], + [ + 0.0329, + 0.0202, + 0.0129 + ], + [ + 0.0148, + -0.0357, + 0.0129 + ], + [ + -0.0203, + 0.0375, + 0.0001 + ], + [ + -0.0384, + -0.0184, + 0.0 + ], + [ + 0.0329, + 0.0202, + -0.0001 + ], + [ + 0.0147, + -0.0357, + -0.0001 + ] + ], + "extents": [ + 0.0713, + 0.0732, + 0.0132 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "size": [ + 0.05900969857471439, + 0.05616719713533209, + 0.013 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/stackingblocks/00001/metadata.json b/Objects/RoboDojo/Rigid/stackingblocks/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..120589b95e29088a27587c964e98bc1d5f2282b3 --- /dev/null +++ b/Objects/RoboDojo/Rigid/stackingblocks/00001/metadata.json @@ -0,0 +1,118 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0288, + -0.0288, + -0.0065 + ], + [ + -0.0288, + -0.0288, + 0.0065 + ], + [ + -0.0288, + 0.0288, + -0.0065 + ], + [ + -0.0288, + 0.0288, + 0.0065 + ], + [ + 0.0288, + -0.0288, + -0.0065 + ], + [ + 0.0288, + -0.0288, + 0.0065 + ], + [ + 0.0288, + 0.0288, + -0.0065 + ], + [ + 0.0288, + 0.0288, + 0.0065 + ] + ], + "extents": [ + 0.0576, + 0.0576, + 0.0129 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0288, + -0.0288, + 0.0065 + ], + [ + 0.0288, + -0.0288, + 0.0065 + ], + [ + -0.0288, + 0.0288, + 0.0065 + ], + [ + 0.0288, + 0.0288, + 0.0065 + ], + [ + -0.0288, + -0.0288, + -0.0065 + ], + [ + 0.0288, + -0.0288, + -0.0065 + ], + [ + -0.0288, + 0.0288, + -0.0065 + ], + [ + 0.0288, + 0.0288, + -0.0065 + ] + ], + "extents": [ + 0.0576, + 0.0576, + 0.0129 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "size": [ + 0.05781016987895422, + 0.05781016987895422, + 0.012999999999999998 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/stackingblocks/00002/metadata.json b/Objects/RoboDojo/Rigid/stackingblocks/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..16ff2065b6dc6728a91bbf8c6de6cadbb84ff001 --- /dev/null +++ b/Objects/RoboDojo/Rigid/stackingblocks/00002/metadata.json @@ -0,0 +1,118 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0144, + -0.0288, + -0.0065 + ], + [ + -0.0144, + -0.0288, + 0.0065 + ], + [ + -0.0144, + 0.0288, + -0.0065 + ], + [ + -0.0144, + 0.0288, + 0.0065 + ], + [ + 0.0144, + -0.0288, + -0.0065 + ], + [ + 0.0144, + -0.0288, + 0.0065 + ], + [ + 0.0144, + 0.0288, + -0.0065 + ], + [ + 0.0144, + 0.0288, + 0.0065 + ] + ], + "extents": [ + 0.0288, + 0.0576, + 0.0129 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0144, + -0.0288, + 0.0065 + ], + [ + 0.0144, + 0.0288, + 0.0065 + ], + [ + -0.0144, + -0.0288, + 0.0065 + ], + [ + -0.0144, + 0.0288, + 0.0065 + ], + [ + 0.0144, + -0.0288, + -0.0065 + ], + [ + 0.0144, + 0.0288, + -0.0065 + ], + [ + -0.0144, + -0.0288, + -0.0065 + ], + [ + -0.0144, + 0.0288, + -0.0065 + ] + ], + "extents": [ + 0.0288, + 0.0576, + 0.0129 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "size": [ + 0.028894999524025185, + 0.05781016987895422, + 0.013000000000000001 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/stackingblocks/00003/metadata.json b/Objects/RoboDojo/Rigid/stackingblocks/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..477d011de75170ebd297f7b1212fd5f0bf2d4b3d --- /dev/null +++ b/Objects/RoboDojo/Rigid/stackingblocks/00003/metadata.json @@ -0,0 +1,118 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0277, + -0.0277, + -0.0065 + ], + [ + -0.0277, + -0.0277, + 0.0065 + ], + [ + -0.0277, + 0.0277, + -0.0065 + ], + [ + -0.0277, + 0.0277, + 0.0065 + ], + [ + 0.0277, + -0.0277, + -0.0065 + ], + [ + 0.0277, + -0.0277, + 0.0065 + ], + [ + 0.0277, + 0.0277, + -0.0065 + ], + [ + 0.0277, + 0.0277, + 0.0065 + ] + ], + "extents": [ + 0.0554, + 0.0553, + 0.0129 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0263, + -0.0289, + 0.0065 + ], + [ + 0.029, + -0.0263, + 0.0065 + ], + [ + -0.029, + 0.0263, + 0.0065 + ], + [ + 0.0263, + 0.0289, + 0.0065 + ], + [ + -0.0263, + -0.0289, + -0.0065 + ], + [ + 0.029, + -0.0263, + -0.0065 + ], + [ + -0.029, + 0.0263, + -0.0065 + ], + [ + 0.0263, + 0.0289, + -0.0065 + ] + ], + "extents": [ + 0.0579, + 0.0579, + 0.0129 + ] + } + }, + "active": { + "functional": {} + }, + "physics": { + "size": [ + 0.055659423575064274, + 0.05559406189111385, + 0.013000000000000001 + ], + "mass": 0.0, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} diff --git a/Objects/RoboDojo/Rigid/tape_measure/00000/metadata.json b/Objects/RoboDojo/Rigid/tape_measure/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..da93b4480b7c89ec8553280d173b2883a2485112 --- /dev/null +++ b/Objects/RoboDojo/Rigid/tape_measure/00000/metadata.json @@ -0,0 +1,119 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0308, + -0.0153, + -0.0305 + ], + [ + -0.0308, + -0.0153, + 0.0305 + ], + [ + -0.0308, + 0.0154, + -0.0305 + ], + [ + -0.0308, + 0.0154, + 0.0305 + ], + [ + 0.0307, + -0.0153, + -0.0305 + ], + [ + 0.0307, + -0.0153, + 0.0305 + ], + [ + 0.0307, + 0.0154, + -0.0305 + ], + [ + 0.0307, + 0.0154, + 0.0305 + ] + ], + "extents": [ + 0.0615, + 0.0307, + 0.061 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.0282, + 0.0153, + -0.031 + ], + [ + -0.0353, + 0.0153, + -0.0202 + ], + [ + 0.0376, + 0.0154, + 0.0246 + ], + [ + -0.0258, + 0.0154, + 0.0354 + ], + [ + 0.0282, + -0.0153, + -0.0309 + ], + [ + -0.0353, + -0.0153, + -0.0202 + ], + [ + 0.0376, + -0.0153, + 0.0246 + ], + [ + -0.0258, + -0.0153, + 0.0354 + ] + ], + "extents": [ + 0.0729, + 0.0308, + 0.0664 + ] + } + }, + "active": { + "functional": { + "center": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/triangular_prism/00000/metadata.json b/Objects/RoboDojo/Rigid/triangular_prism/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..c6ef011a53f4287ba1c94c5a6b5bb986f0b7a2db --- /dev/null +++ b/Objects/RoboDojo/Rigid/triangular_prism/00000/metadata.json @@ -0,0 +1,241 @@ +{ + "physics": { + "mass": 0.06, + "friction": 0.25 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.275, + -0.0135, + -0.01 + ], + [ + -0.275, + -0.0135, + 0.01 + ], + [ + -0.275, + 0.0135, + -0.01 + ], + [ + -0.275, + 0.0135, + 0.01 + ], + [ + 0.275, + -0.0135, + -0.01 + ], + [ + 0.275, + -0.0135, + 0.01 + ], + [ + 0.275, + 0.0135, + -0.01 + ], + [ + 0.275, + 0.0135, + 0.01 + ] + ], + "extents": [ + 0.55, + 0.027, + 0.02 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + 0.275, + 0.0046, + -0.0216 + ], + [ + -0.275, + 0.0046, + -0.0216 + ], + [ + 0.275, + 0.0181, + -0.0021 + ], + [ + -0.275, + 0.0181, + -0.0021 + ], + [ + 0.275, + -0.0141, + -0.0087 + ], + [ + -0.275, + -0.0141, + -0.0086 + ], + [ + 0.275, + -0.0006, + 0.0109 + ], + [ + -0.275, + -0.0006, + 0.0109 + ] + ], + "extents": [ + 0.55, + 0.0322, + 0.0325 + ] + } + }, + "active": {}, + "description": [ + "triangular cross-section bright red stripe down center ceramic long triangular prism object", + "wedge-shaped spacer made of smooth glazed surface", + "tapered ends wedge-shaped spacer used for holding consistent grout lines", + "matte black body tile spacer used for ensuring uniform tile layout", + "handheld length smooth glazed surface object", + "light gray ends tapered ends wedge-shaped spacer", + "wedge-shaped spacer typically made of smooth glazed surface", + "handheld length hard non-metallic object", + "light gray ends flat top with central groove tile spacer used for holding consistent grout lines", + "light gray ends triangular cross-section smooth glazed surface object", + "wedge-shaped spacer made from hard non-metallic", + "triangular tile marker with tapered ends profile", + "wedge-shaped spacer intended for spacing tiles evenly during installation", + "spacing tiles evenly during installation use of wedge-shaped spacer", + "handheld length tile spacer used for holding consistent grout lines", + "light gray ends ceramic tapered ends tile spacer", + "triangular tile marker with light gray ends color", + "tile spacer commonly found in handheld length size", + "tile spacer for ensuring uniform tile layout activities", + "ceramic wedge-shaped spacer suitable for ensuring uniform tile layout", + "tile spacer featuring tapered ends shape", + "tile spacer ideal for holding consistent grout lines", + "wedge-shaped spacer made from ceramic", + "about finger-width thick object used for ensuring uniform tile layout", + "wedge-shaped spacer built from smooth glazed surface", + "about finger-width thick ceramic object", + "matte black body ceramic flat top with central groove tile spacer", + "bright red stripe down center triangular cross-section ceramic object", + "long triangular prism object made of ceramic", + "matte black body object used for spacing tiles evenly during installation", + "tile spacer designed for spacing tiles evenly during installation", + "holding consistent grout lines use of tile spacer", + "long triangular prism smooth glazed surface object for holding consistent grout lines", + "about finger-width thick matte black body long triangular prism object", + "triangular tile marker featuring tapered ends shape", + "tapered ends object used for holding consistent grout lines", + "triangular tile marker for spacing tiles evenly during installation use", + "wedge-shaped spacer with light gray ends exterior", + "triangular tile marker commonly used for ensuring uniform tile layout", + "about finger-width thick smooth glazed surface triangular tile marker", + "handheld length light gray ends smooth glazed surface flat top with central groove object", + "about finger-width thick wedge-shaped spacer used for holding consistent grout lines", + "handheld length wedge-shaped spacer for holding consistent grout lines", + "tile spacer with ceramic body", + "tile spacer for holding consistent grout lines activities", + "triangular cross-section light gray ends smooth glazed surface flat top with central groove object", + "light gray ends flat top with central groove object for ensuring uniform tile layout", + "handheld length ceramic triangular tile marker for ensuring uniform tile layout", + "long triangular prism tile spacer used for spacing tiles evenly during installation", + "wedge-shaped spacer commonly featuring smooth glazed surface", + "handheld length smooth glazed surface triangular tile marker", + "tapered ends about finger-width thick tile spacer", + "tile spacer intended for ensuring uniform tile layout", + "flat top with central groove smooth glazed surface wedge-shaped spacer for holding consistent grout lines", + "handheld length bright red stripe down center long triangular prism for ensuring uniform tile layout", + "about finger-width thick ceramic flat top with central groove for spacing tiles evenly during installation", + "triangular tile marker colored light gray ends", + "light gray ends hard non-metallic long triangular prism wedge-shaped spacer", + "matte black body triangular cross-section hard non-metallic object", + "triangular cross-section hard non-metallic triangular tile marker", + "tile spacer made of ceramic", + "bright red stripe down center triangular cross-section tile spacer for holding consistent grout lines", + "tile spacer featuring long triangular prism shape", + "triangular tile marker featuring long triangular prism shape", + "handheld length matte black body hard non-metallic triangular tile marker", + "triangular tile marker with smooth glazed surface body", + "wedge-shaped spacer ideal for holding consistent grout lines", + "triangular tile marker colored bright red stripe down center", + "triangular tile marker appropriate for holding consistent grout lines", + "light gray ends tile spacer typically used for ensuring uniform tile layout", + "tapered ends tile spacer for spacing tiles evenly during installation", + "tile spacer suitable for holding consistent grout lines", + "triangular tile marker with matte black body exterior", + "light gray ends tile spacer designed for holding consistent grout lines", + "about finger-width thick triangular tile marker used for spacing tiles evenly during installation", + "triangular tile marker with about finger-width thick dimensions", + "triangular tile marker shaped like a tapered ends", + "light gray ends wedge-shaped spacer suitable for holding consistent grout lines", + "matte black body smooth glazed surface triangular tile marker", + "flat top with central groove about finger-width thick triangular tile marker", + "about finger-width thick bright red stripe down center wedge-shaped spacer", + "bright red stripe down center handheld length long triangular prism wedge-shaped spacer", + "triangular tile marker made from ceramic", + "tapered ends object made of hard non-metallic", + "tapered ends hard non-metallic object for spacing tiles evenly during installation", + "matte black body wedge-shaped spacer suitable for ensuring uniform tile layout", + "about finger-width thick matte black body tapered ends for ensuring uniform tile layout", + "matte black body triangular cross-section long triangular prism wedge-shaped spacer", + "light gray ends ceramic long triangular prism object", + "triangular cross-section matte black body object for holding consistent grout lines", + "light gray ends smooth glazed surface flat top with central groove wedge-shaped spacer", + "ceramic long triangular prism object used for ensuring uniform tile layout", + "tile spacer commonly featuring smooth glazed surface", + "hard non-metallic flat top with central groove object used for spacing tiles evenly during installation", + "triangular tile marker for spacing tiles evenly during installation activities", + "wedge-shaped spacer sized about finger-width thick", + "tapered ends hard non-metallic object for ensuring uniform tile layout", + "handheld length hard non-metallic tapered ends for spacing tiles evenly during installation", + "triangular tile marker ideal for holding consistent grout lines", + "handheld length long triangular prism object" + ], + "caption": { + "color": [ + "matte black body", + "light gray ends", + "bright red stripe down center" + ], + "function": [ + "spacing tiles evenly during installation", + "holding consistent grout lines", + "ensuring uniform tile layout" + ], + "material": [ + "ceramic", + "smooth glazed surface", + "hard non-metallic" + ], + "name": [ + "triangular tile marker", + "tile spacer", + "wedge-shaped spacer" + ], + "shape": [ + "long triangular prism", + "tapered ends", + "flat top with central groove" + ], + "size": [ + "handheld length", + "triangular cross-section", + "about finger-width thick" + ] + } +} diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/UMI.json b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8e0d80170d0e5cf2961ae53255bc3f403292731b --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/UMI.json @@ -0,0 +1,59 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0208, + -0.0174, + -0.0306, + 0.5396, + -0.7819, + -0.2767, + -0.1446 + ], + [ + 0.0008, + -0.0, + 0.0339, + 0.7085, + -0.7057, + 0.0015, + -0.0021 + ], + [ + 0.002, + 0.0003, + 0.0239, + 0.7045, + -0.6908, + 0.1133, + -0.1163 + ], + [ + 0.0413, + -0.0091, + 0.0365, + 0.7322, + -0.6789, + 0.0529, + -0.0134 + ], + [ + -0.0019, + -0.0062, + 0.0195, + 0.625, + -0.6375, + 0.312, + -0.325 + ], + [ + 0.001, + -0.0011, + 0.0134, + 0.6842, + -0.6832, + -0.1808, + 0.1802 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/XOne.json b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..be89cc46324b285fbbe56ea2a635c84249b949e7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + 0.0009, + 0.0, + 0.034, + 0.7072, + -0.707, + 0.0001, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/aloha.json b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..bd2d2901f16f422e6d570e5ae1b250b53c2a1c7f --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0001, + 0.0008, + 0.0351, + 0.6863, + -0.7273, + 0.0069, + 0.0045 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/panda.json b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..a8bb4816adb84cb497d88e3200dc2b77c415d903 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/panda.json @@ -0,0 +1,68 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.001, + -0.0066, + 0.041, + 0.7392, + -0.6728, + -0.0193, + 0.0216 + ], + [ + -0.0196, + -0.0098, + 0.0211, + 0.642, + -0.7593, + -0.0643, + -0.0848 + ], + [ + 0.0042, + -0.0069, + 0.0351, + 0.692, + -0.701, + -0.1273, + 0.1162 + ], + [ + -0.0028, + -0.0052, + 0.0358, + 0.6736, + -0.7373, + 0.0408, + -0.03 + ], + [ + 0.0026, + -0.0085, + 0.0373, + 0.7234, + -0.6731, + -0.0965, + 0.1197 + ], + [ + -0.0059, + 0.0125, + 0.0355, + 0.7209, + -0.6588, + 0.1428, + -0.1609 + ], + [ + 0.0021, + -0.0059, + 0.0384, + 0.6509, + -0.7168, + -0.1599, + 0.1923 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..fd9b51d08562cc523fe8ea81a7773ff119918d07 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/piper_v1.json @@ -0,0 +1,23 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0014, + 0.007, + 0.0251, + 0.7213, + -0.6762, + -0.0691, + 0.1333 + ], + [ + -0.0095, + -0.0256, + 0.0363, + 0.5419, + -0.6323, + -0.3163, + 0.4544 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/proposal.json b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0ecd11c36faddb10e50299302f1deaebe95e2ced --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00000/grasps/proposal.json @@ -0,0 +1,101 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.035, + -0.092, + 0.034, + 0.696364240320019, + -0.6963642403200189, + 0.12278780396897282, + -0.12278780396897285 + ], + 0.0 + ], + [ + [ + 0.035, + -0.092, + 0.035, + 0.696364240320019, + -0.6963642403200189, + -0.12278780396897282, + 0.12278780396897285 + ], + 0.0 + ], + [ + [ + -0.018, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + 0.061628416716219346, + -0.06162841671621935 + ], + 0.0 + ], + [ + [ + 0.02, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + -0.061628416716219346, + 0.06162841671621935 + ], + 0.0 + ], + [ + [ + -0.05, + -0.08, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193, + -0.18301270189221933 + ], + 0.0 + ], + [ + [ + 0.05, + -0.085, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + -0.1830127018922193, + 0.18301270189221933 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00000/metadata.json b/Objects/RoboDojo/Rigid/wine_bottle/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..530f493cf2e946c167bb921ada5924ba0d094620 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00000/metadata.json @@ -0,0 +1,155 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "geometry": { + "faces": 2600, + "vertices": 1253, + "aligned_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "radius": 0.1128 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0021, + -0.0029, + 0.0001 + ], + "projection_circle": { + "center": [ + -0.0006, + -0.0006, + -0.06, + 1.0, + -0.0021, + 0.0029, + -0.0001 + ], + "radius": 0.0414 + }, + "contact_circle": { + "center": [ + 0.0002, + -0.0002, + -0.06, + 1.0, + -0.0021, + 0.0029, + -0.0001 + ], + "radius": 0.038 + } + } + } + }, + "physics": { + "size": [ + 0.0823, + 0.0821, + 0.218 + ], + "mass": 0.15, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/UMI.json b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8e0d80170d0e5cf2961ae53255bc3f403292731b --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/UMI.json @@ -0,0 +1,59 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0208, + -0.0174, + -0.0306, + 0.5396, + -0.7819, + -0.2767, + -0.1446 + ], + [ + 0.0008, + -0.0, + 0.0339, + 0.7085, + -0.7057, + 0.0015, + -0.0021 + ], + [ + 0.002, + 0.0003, + 0.0239, + 0.7045, + -0.6908, + 0.1133, + -0.1163 + ], + [ + 0.0413, + -0.0091, + 0.0365, + 0.7322, + -0.6789, + 0.0529, + -0.0134 + ], + [ + -0.0019, + -0.0062, + 0.0195, + 0.625, + -0.6375, + 0.312, + -0.325 + ], + [ + 0.001, + -0.0011, + 0.0134, + 0.6842, + -0.6832, + -0.1808, + 0.1802 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/XOne.json b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..be89cc46324b285fbbe56ea2a635c84249b949e7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + 0.0009, + 0.0, + 0.034, + 0.7072, + -0.707, + 0.0001, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/aloha.json b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..bd2d2901f16f422e6d570e5ae1b250b53c2a1c7f --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0001, + 0.0008, + 0.0351, + 0.6863, + -0.7273, + 0.0069, + 0.0045 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/panda.json b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..a8bb4816adb84cb497d88e3200dc2b77c415d903 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/panda.json @@ -0,0 +1,68 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.001, + -0.0066, + 0.041, + 0.7392, + -0.6728, + -0.0193, + 0.0216 + ], + [ + -0.0196, + -0.0098, + 0.0211, + 0.642, + -0.7593, + -0.0643, + -0.0848 + ], + [ + 0.0042, + -0.0069, + 0.0351, + 0.692, + -0.701, + -0.1273, + 0.1162 + ], + [ + -0.0028, + -0.0052, + 0.0358, + 0.6736, + -0.7373, + 0.0408, + -0.03 + ], + [ + 0.0026, + -0.0085, + 0.0373, + 0.7234, + -0.6731, + -0.0965, + 0.1197 + ], + [ + -0.0059, + 0.0125, + 0.0355, + 0.7209, + -0.6588, + 0.1428, + -0.1609 + ], + [ + 0.0021, + -0.0059, + 0.0384, + 0.6509, + -0.7168, + -0.1599, + 0.1923 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..fd9b51d08562cc523fe8ea81a7773ff119918d07 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/piper_v1.json @@ -0,0 +1,23 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0014, + 0.007, + 0.0251, + 0.7213, + -0.6762, + -0.0691, + 0.1333 + ], + [ + -0.0095, + -0.0256, + 0.0363, + 0.5419, + -0.6323, + -0.3163, + 0.4544 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/proposal.json b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0ecd11c36faddb10e50299302f1deaebe95e2ced --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00001/grasps/proposal.json @@ -0,0 +1,101 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.035, + -0.092, + 0.034, + 0.696364240320019, + -0.6963642403200189, + 0.12278780396897282, + -0.12278780396897285 + ], + 0.0 + ], + [ + [ + 0.035, + -0.092, + 0.035, + 0.696364240320019, + -0.6963642403200189, + -0.12278780396897282, + 0.12278780396897285 + ], + 0.0 + ], + [ + [ + -0.018, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + 0.061628416716219346, + -0.06162841671621935 + ], + 0.0 + ], + [ + [ + 0.02, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + -0.061628416716219346, + 0.06162841671621935 + ], + 0.0 + ], + [ + [ + -0.05, + -0.08, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193, + -0.18301270189221933 + ], + 0.0 + ], + [ + [ + 0.05, + -0.085, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + -0.1830127018922193, + 0.18301270189221933 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00001/metadata.json b/Objects/RoboDojo/Rigid/wine_bottle/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..530f493cf2e946c167bb921ada5924ba0d094620 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00001/metadata.json @@ -0,0 +1,155 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "geometry": { + "faces": 2600, + "vertices": 1253, + "aligned_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "radius": 0.1128 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0021, + -0.0029, + 0.0001 + ], + "projection_circle": { + "center": [ + -0.0006, + -0.0006, + -0.06, + 1.0, + -0.0021, + 0.0029, + -0.0001 + ], + "radius": 0.0414 + }, + "contact_circle": { + "center": [ + 0.0002, + -0.0002, + -0.06, + 1.0, + -0.0021, + 0.0029, + -0.0001 + ], + "radius": 0.038 + } + } + } + }, + "physics": { + "size": [ + 0.0823, + 0.0821, + 0.218 + ], + "mass": 0.15, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/UMI.json b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8e0d80170d0e5cf2961ae53255bc3f403292731b --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/UMI.json @@ -0,0 +1,59 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0208, + -0.0174, + -0.0306, + 0.5396, + -0.7819, + -0.2767, + -0.1446 + ], + [ + 0.0008, + -0.0, + 0.0339, + 0.7085, + -0.7057, + 0.0015, + -0.0021 + ], + [ + 0.002, + 0.0003, + 0.0239, + 0.7045, + -0.6908, + 0.1133, + -0.1163 + ], + [ + 0.0413, + -0.0091, + 0.0365, + 0.7322, + -0.6789, + 0.0529, + -0.0134 + ], + [ + -0.0019, + -0.0062, + 0.0195, + 0.625, + -0.6375, + 0.312, + -0.325 + ], + [ + 0.001, + -0.0011, + 0.0134, + 0.6842, + -0.6832, + -0.1808, + 0.1802 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/XOne.json b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..be89cc46324b285fbbe56ea2a635c84249b949e7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + 0.0009, + 0.0, + 0.034, + 0.7072, + -0.707, + 0.0001, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/aloha.json b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..bd2d2901f16f422e6d570e5ae1b250b53c2a1c7f --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0001, + 0.0008, + 0.0351, + 0.6863, + -0.7273, + 0.0069, + 0.0045 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/panda.json b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..a8bb4816adb84cb497d88e3200dc2b77c415d903 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/panda.json @@ -0,0 +1,68 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.001, + -0.0066, + 0.041, + 0.7392, + -0.6728, + -0.0193, + 0.0216 + ], + [ + -0.0196, + -0.0098, + 0.0211, + 0.642, + -0.7593, + -0.0643, + -0.0848 + ], + [ + 0.0042, + -0.0069, + 0.0351, + 0.692, + -0.701, + -0.1273, + 0.1162 + ], + [ + -0.0028, + -0.0052, + 0.0358, + 0.6736, + -0.7373, + 0.0408, + -0.03 + ], + [ + 0.0026, + -0.0085, + 0.0373, + 0.7234, + -0.6731, + -0.0965, + 0.1197 + ], + [ + -0.0059, + 0.0125, + 0.0355, + 0.7209, + -0.6588, + 0.1428, + -0.1609 + ], + [ + 0.0021, + -0.0059, + 0.0384, + 0.6509, + -0.7168, + -0.1599, + 0.1923 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..fd9b51d08562cc523fe8ea81a7773ff119918d07 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/piper_v1.json @@ -0,0 +1,23 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0014, + 0.007, + 0.0251, + 0.7213, + -0.6762, + -0.0691, + 0.1333 + ], + [ + -0.0095, + -0.0256, + 0.0363, + 0.5419, + -0.6323, + -0.3163, + 0.4544 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/proposal.json b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0ecd11c36faddb10e50299302f1deaebe95e2ced --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00002/grasps/proposal.json @@ -0,0 +1,101 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.035, + -0.092, + 0.034, + 0.696364240320019, + -0.6963642403200189, + 0.12278780396897282, + -0.12278780396897285 + ], + 0.0 + ], + [ + [ + 0.035, + -0.092, + 0.035, + 0.696364240320019, + -0.6963642403200189, + -0.12278780396897282, + 0.12278780396897285 + ], + 0.0 + ], + [ + [ + -0.018, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + 0.061628416716219346, + -0.06162841671621935 + ], + 0.0 + ], + [ + [ + 0.02, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + -0.061628416716219346, + 0.06162841671621935 + ], + 0.0 + ], + [ + [ + -0.05, + -0.08, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193, + -0.18301270189221933 + ], + 0.0 + ], + [ + [ + 0.05, + -0.085, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + -0.1830127018922193, + 0.18301270189221933 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bottle/00002/metadata.json b/Objects/RoboDojo/Rigid/wine_bottle/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..530f493cf2e946c167bb921ada5924ba0d094620 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bottle/00002/metadata.json @@ -0,0 +1,155 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "geometry": { + "faces": 2600, + "vertices": 1253, + "aligned_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "radius": 0.1128 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0021, + -0.0029, + 0.0001 + ], + "projection_circle": { + "center": [ + -0.0006, + -0.0006, + -0.06, + 1.0, + -0.0021, + 0.0029, + -0.0001 + ], + "radius": 0.0414 + }, + "contact_circle": { + "center": [ + 0.0002, + -0.0002, + -0.06, + 1.0, + -0.0021, + 0.0029, + -0.0001 + ], + "radius": 0.038 + } + } + } + }, + "physics": { + "size": [ + 0.0823, + 0.0821, + 0.218 + ], + "mass": 0.15, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00000/description.json b/Objects/RoboDojo/Rigid/wine_bowl/00000/description.json new file mode 100644 index 0000000000000000000000000000000000000000..36e487f4adfd9e27c2f358a935afa499717f8432 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00000/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "121f2900-c430-4813-80af-4cc22233b4fe", + "caption": { + "color": [ + "matte black", + "deep black", + "non-reflective black" + ], + "material": [ + "ceramic", + "smooth ceramic", + "glossy-finished ceramic" + ], + "size": [ + "small bowl", + "hand-sized", + "about 6 inches across" + ], + "name": [ + "black bowl", + "ceramic bowl", + "serving bowl" + ], + "shape": [ + "wide shallow bowl", + "rounded rim", + "concave interior" + ], + "function": [ + "holding food", + "serving snacks", + "displaying small items" + ] + }, + "description": [ + "ceramic bowl in small bowl", + "glossy-finished ceramic black bowl for serving snacks", + "ceramic wide shallow bowl serving bowl", + "ceramic bowl in wide shallow bowl form", + "deep black object used for serving snacks", + "about 6 inches across ceramic object", + "black bowl intended for serving snacks", + "small bowl serving bowl for serving snacks", + "deep black serving bowl typically used for displaying small items", + "serving bowl used to serving snacks", + "matte black serving bowl suitable for displaying small items", + "black bowl appropriate for serving snacks use", + "black bowl with matte black color", + "deep black small bowl concave interior black bowl", + "ceramic bowl intended for holding food", + "serving bowl used to displaying small items", + "ceramic bowl colored matte black", + "ceramic bowl with smooth ceramic body", + "matte black wide shallow bowl serving bowl", + "hand-sized deep black concave interior for holding food", + "matte black hand-sized rounded rim ceramic bowl", + "glossy-finished ceramic ceramic bowl for holding food", + "glossy-finished ceramic black bowl for holding food", + "ceramic bowl appropriate for serving snacks use", + "concave interior ceramic bowl for holding food", + "about 6 inches across non-reflective black object for holding food", + "ceramic non-reflective black ceramic bowl", + "matte black serving bowl designed for serving snacks", + "wide shallow bowl black bowl ideal for displaying small items", + "serving bowl made of smooth ceramic", + "black bowl featuring rounded rim shape", + "black bowl with glossy-finished ceramic body", + "glossy-finished ceramic ceramic bowl suitable for holding food", + "about 6 inches across wide shallow bowl serving bowl for holding food", + "non-reflective black wide shallow bowl ceramic bowl used for holding food", + "small bowl rounded rim object", + "holding food use of serving bowl", + "black bowl suitable for holding food", + "serving bowl designed for serving snacks", + "concave interior ceramic serving bowl for holding food", + "rounded rim hand-sized serving bowl", + "deep black rounded rim object for holding food", + "black bowl with rounded rim geometry", + "ceramic matte black black bowl", + "hand-sized ceramic black bowl", + "black bowl with matte black exterior", + "ceramic bowl optimized for serving snacks", + "hand-sized object used for displaying small items", + "concave interior hand-sized black bowl", + "smooth ceramic black bowl suitable for serving snacks", + "ceramic bowl intended for serving snacks usage", + "rounded rim black bowl for holding food", + "smooth ceramic serving bowl", + "black bowl shaped like a concave interior", + "small bowl object used for serving snacks", + "serving bowl commonly used for displaying small items", + "concave interior object used for holding food", + "black bowl intended for holding food", + "serving bowl for holding food", + "glossy-finished ceramic wide shallow bowl black bowl", + "serving bowl used to holding food", + "deep black concave interior serving bowl used for holding food", + "black bowl in wide shallow bowl", + "deep black rounded rim serving bowl", + "matte black smooth ceramic wide shallow bowl ceramic bowl", + "non-reflective black black bowl used for serving snacks", + "about 6 inches across ceramic bowl perfect for serving snacks", + "concave interior small bowl serving bowl", + "ceramic bowl in about 6 inches across", + "black bowl colored matte black", + "non-reflective black rounded rim serving bowl", + "non-reflective black concave interior serving bowl", + "deep black glossy-finished ceramic concave interior black bowl", + "concave interior about 6 inches across black bowl", + "small bowl deep black concave interior for holding food", + "about 6 inches across smooth ceramic black bowl", + "black bowl for serving snacks use", + "glossy-finished ceramic serving bowl", + "deep black black bowl used for serving snacks", + "wide shallow bowl smooth ceramic serving bowl for displaying small items", + "serving bowl for serving snacks with smooth ceramic", + "serving bowl with concave interior geometry", + "black bowl featuring wide shallow bowl shape", + "ceramic bowl intended for serving snacks", + "hand-sized rounded rim object for displaying small items", + "about 6 inches across black bowl used for serving snacks", + "wide shallow bowl black bowl for displaying small items", + "ceramic object for serving snacks", + "ceramic bowl with ceramic construction", + "about 6 inches across non-reflective black smooth ceramic black bowl", + "serving bowl in rounded rim", + "black bowl in hand-sized", + "holding food with black bowl", + "serving bowl for displaying small items tasks", + "ceramic bowl for holding food tasks", + "matte black object used for holding food", + "deep black hand-sized serving bowl for holding food", + "serving bowl with about 6 inches across dimensions", + "serving bowl with hand-sized dimensions", + "hand-sized glossy-finished ceramic black bowl for holding food" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/UMI.json b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..67218528af2c59ef3d1e8b3ab527dc62ab939102 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/UMI.json @@ -0,0 +1,374 @@ +{ + "uuid": "121f2900-c430-4813-80af-4cc22233b4fe", + "grasp": [ + [ + 0.0272, + 0.0383, + 0.0046, + 0.2335, + 0.8048, + 0.4954, + -0.2287 + ], + [ + 0.0143, + 0.0416, + 0.0045, + 0.3233, + 0.6795, + 0.6251, + -0.2076 + ], + [ + 0.0265, + -0.0351, + 0.0019, + 0.2727, + -0.7474, + 0.5164, + 0.317 + ], + [ + 0.0455, + -0.0061, + 0.0091, + 0.2581, + -0.0476, + -0.9621, + -0.0738 + ], + [ + 0.0265, + -0.0387, + 0.0032, + 0.046, + -0.8305, + 0.4518, + 0.3226 + ], + [ + -0.0043, + 0.0448, + 0.0071, + 0.3893, + 0.5629, + 0.7001, + -0.2034 + ], + [ + 0.0364, + 0.0239, + 0.0084, + 0.2784, + 0.8658, + 0.3765, + -0.1765 + ], + [ + -0.0147, + 0.0465, + -0.0011, + 0.398, + 0.4802, + 0.7126, + -0.3213 + ], + [ + 0.0245, + -0.0328, + 0.0051, + 0.0765, + -0.844, + 0.4398, + 0.2972 + ], + [ + 0.0045, + -0.0648, + 0.003, + 0.1406, + -0.7159, + 0.6738, + 0.117 + ], + [ + 0.0495, + 0.0029, + 0.0131, + 0.2442, + 0.1137, + -0.9569, + 0.1085 + ], + [ + -0.0001, + -0.0487, + 0.0071, + 0.2283, + -0.6645, + 0.6828, + 0.2003 + ], + [ + -0.0342, + 0.0338, + 0.0072, + 0.2503, + 0.3879, + 0.8455, + -0.2684 + ], + [ + 0.0717, + 0.0022, + -0.0291, + 0.3936, + -0.0152, + -0.9181, + -0.0449 + ], + [ + 0.0663, + 0.0139, + -0.0146, + -0.002, + 0.9603, + 0.0506, + -0.2742 + ], + [ + 0.0443, + 0.0121, + 0.0054, + 0.2971, + 0.1072, + -0.9475, + -0.0498 + ], + [ + 0.0336, + -0.0319, + 0.005, + 0.2997, + -0.7456, + 0.4462, + 0.3939 + ], + [ + -0.0054, + -0.0261, + 0.0158, + -0.0665, + 0.8647, + 0.4928, + -0.0706 + ], + [ + 0.034, + -0.0316, + 0.0079, + 0.1639, + -0.4211, + -0.8455, + -0.2846 + ], + [ + 0.0507, + -0.02, + 0.0075, + 0.136, + -0.9388, + 0.1883, + 0.2544 + ], + [ + -0.0021, + -0.0382, + 0.0009, + 0.2818, + -0.612, + 0.6256, + 0.3933 + ], + [ + 0.0189, + -0.0423, + -0.0009, + 0.3555, + -0.7037, + 0.5841, + 0.193 + ], + [ + 0.015, + 0.0464, + 0.0101, + 0.1352, + 0.7816, + 0.5606, + -0.2377 + ], + [ + 0.0203, + 0.0343, + -0.0022, + 0.2717, + 0.7501, + 0.5292, + -0.2889 + ], + [ + 0.0512, + 0.0115, + 0.0123, + 0.2673, + 0.9144, + 0.2428, + -0.1828 + ], + [ + 0.0118, + 0.0379, + 0.0017, + 0.4749, + 0.6, + 0.4621, + -0.4483 + ], + [ + 0.0368, + 0.0321, + 0.0133, + 0.2366, + 0.3698, + -0.8937, + 0.0923 + ], + [ + 0.0006, + 0.0452, + 0.0028, + 0.2502, + 0.6325, + 0.7245, + -0.1116 + ], + [ + -0.0303, + -0.0334, + 0.0045, + 0.167, + -0.8807, + -0.3608, + -0.2577 + ], + [ + -0.0087, + -0.0452, + 0.0045, + 0.1229, + -0.6191, + 0.7086, + 0.3155 + ], + [ + 0.0446, + -0.0189, + 0.0126, + 0.194, + -0.1453, + -0.9702, + 0.0022 + ], + [ + -0.0441, + -0.001, + 0.0019, + 0.2896, + 0.0646, + 0.9513, + -0.0831 + ], + [ + 0.0128, + -0.0348, + 0.0009, + 0.2985, + -0.6976, + 0.4038, + 0.5111 + ], + [ + 0.0451, + -0.0208, + 0.008, + 0.2417, + -0.233, + -0.9229, + -0.1884 + ], + [ + -0.0235, + -0.0415, + 0.0049, + 0.1553, + -0.4967, + 0.7887, + 0.3274 + ], + [ + -0.0432, + 0.0025, + 0.0036, + 0.3243, + 0.0556, + 0.9391, + 0.0993 + ], + [ + 0.0355, + -0.0264, + -0.0023, + 0.1656, + -0.8401, + 0.3744, + 0.356 + ], + [ + 0.049, + -0.0155, + 0.006, + 0.2594, + -0.1358, + -0.9534, + -0.0727 + ], + [ + 0.0411, + 0.0338, + 0.0061, + 0.1415, + -0.9062, + -0.2525, + 0.3083 + ], + [ + -0.0424, + -0.0129, + 0.0031, + 0.1435, + 0.9288, + 0.0689, + 0.3347 + ], + [ + -0.0202, + -0.034, + 0.006, + 0.4297, + -0.3903, + 0.6936, + 0.4267 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/XOne.json b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..bf679870bc90353ea5fac74ae52904b1e98f9376 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/XOne.json @@ -0,0 +1,41 @@ +{ + "uuid": "121f2900-c430-4813-80af-4cc22233b4fe", + "grasp": [ + [ + -0.0025, + -0.039, + 0.0006, + 0.2936, + -0.6154, + 0.6042, + 0.4124 + ], + [ + 0.0467, + -0.0194, + 0.0119, + 0.1838, + -0.1441, + -0.9723, + 0.0031 + ], + [ + 0.0339, + -0.025, + 0.0001, + 0.1689, + -0.8413, + 0.3628, + 0.3635 + ], + [ + -0.0387, + -0.0307, + -0.0182, + 0.6642, + -0.4751, + 0.5572, + 0.1502 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/aloha.json b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..e59c7012eab03174dcedb8ef619657efad3b2286 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/aloha.json @@ -0,0 +1,113 @@ +{ + "uuid": "121f2900-c430-4813-80af-4cc22233b4fe", + "grasp": [ + [ + 0.0155, + 0.0488, + -0.0017, + 0.2968, + 0.6762, + 0.6496, + -0.1807 + ], + [ + 0.0104, + 0.0393, + 0.0018, + 0.263, + 0.6711, + 0.5058, + -0.4739 + ], + [ + -0.0038, + -0.0405, + -0.003, + 0.3086, + -0.705, + 0.5285, + 0.3585 + ], + [ + -0.0338, + -0.0303, + 0.0068, + 0.2399, + -0.3447, + 0.8663, + 0.2704 + ], + [ + -0.005, + 0.0404, + 0.0143, + 0.3343, + 0.6949, + -0.6296, + 0.095 + ], + [ + 0.0118, + 0.0362, + -0.0064, + 0.4523, + 0.523, + 0.551, + -0.4672 + ], + [ + 0.0348, + -0.0256, + 0.0023, + 0.2628, + -0.3774, + -0.8213, + -0.3376 + ], + [ + 0.0475, + 0.0033, + 0.0072, + 0.0515, + 0.813, + 0.0649, + -0.5763 + ], + [ + -0.0422, + -0.0011, + 0.0038, + 0.318, + 0.0606, + 0.9425, + -0.0825 + ], + [ + 0.0105, + -0.0344, + -0.0057, + 0.2941, + -0.6356, + 0.4602, + 0.5456 + ], + [ + -0.0289, + -0.0321, + 0.007, + 0.1935, + -0.4435, + 0.8506, + 0.2057 + ], + [ + -0.006, + 0.0421, + 0.0047, + 0.3102, + 0.5578, + 0.7635, + -0.0982 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/panda.json b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..90d57f42d54e96c02c8c5a5833d7610bcfcde722 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/panda.json @@ -0,0 +1,518 @@ +{ + "uuid": "121f2900-c430-4813-80af-4cc22233b4fe", + "grasp": [ + [ + 0.0141, + 0.0401, + 0.0062, + 0.3299, + 0.6764, + 0.6225, + -0.2148 + ], + [ + 0.0259, + -0.0339, + 0.0037, + 0.2781, + -0.7447, + 0.5125, + 0.3247 + ], + [ + 0.0035, + 0.0452, + 0.0075, + 0.2893, + 0.5943, + -0.7442, + 0.0959 + ], + [ + 0.0102, + 0.0452, + 0.0068, + 0.3029, + 0.5295, + -0.791, + 0.0473 + ], + [ + 0.0367, + -0.0306, + 0.0049, + 0.1065, + -0.861, + 0.381, + 0.3196 + ], + [ + 0.0476, + -0.0061, + 0.0081, + 0.2479, + -0.0474, + -0.9648, + -0.074 + ], + [ + 0.0257, + -0.0372, + 0.0046, + 0.0505, + -0.8278, + 0.4503, + 0.3309 + ], + [ + 0.0405, + -0.0222, + 0.0018, + 0.1266, + -0.8728, + 0.3101, + 0.355 + ], + [ + 0.025, + -0.0433, + 0.0086, + 0.1919, + -0.518, + -0.8017, + -0.2283 + ], + [ + 0.019, + -0.0351, + 0.0033, + 0.3127, + -0.6856, + 0.5565, + 0.35 + ], + [ + 0.0456, + 0.0196, + 0.0095, + 0.0928, + -0.9214, + -0.1474, + 0.3473 + ], + [ + 0.0292, + -0.0338, + 0.0023, + 0.2619, + -0.4465, + -0.8396, + -0.1644 + ], + [ + 0.0421, + 0.028, + 0.0037, + 0.2613, + 0.8531, + 0.4128, + -0.183 + ], + [ + 0.0261, + -0.0366, + 0.0005, + 0.1022, + -0.817, + 0.4531, + 0.3417 + ], + [ + 0.0312, + -0.0388, + 0.0007, + 0.3492, + -0.7554, + 0.5207, + 0.1907 + ], + [ + -0.0044, + -0.0478, + 0.0066, + 0.224, + -0.6431, + 0.6948, + 0.2313 + ], + [ + -0.0328, + 0.0327, + 0.0087, + 0.259, + 0.384, + 0.8434, + -0.2724 + ], + [ + 0.018, + 0.0439, + 0.0098, + 0.1461, + 0.7931, + 0.5363, + -0.2491 + ], + [ + 0.0437, + -0.0159, + 0.0038, + 0.1449, + 0.8652, + -0.0352, + -0.4788 + ], + [ + 0.1058, + 0.0016, + -0.0003, + -0.0684, + 0.0049, + -0.9976, + -0.0112 + ], + [ + 0.0493, + 0.0151, + 0.0076, + 0.26, + 0.1375, + -0.9536, + -0.0645 + ], + [ + 0.0106, + 0.0477, + 0.0087, + 0.1919, + 0.5942, + -0.7628, + 0.1681 + ], + [ + 0.0429, + -0.0468, + -0.0091, + 0.0057, + -0.9377, + 0.2501, + 0.2412 + ], + [ + 0.0346, + -0.039, + 0.0071, + 0.1889, + -0.4619, + -0.8431, + -0.2004 + ], + [ + 0.0468, + -0.0125, + 0.0089, + 0.2321, + -0.9277, + 0.1919, + 0.2206 + ], + [ + -0.0421, + 0.0088, + 0.0057, + 0.3078, + 0.0953, + 0.946, + 0.0343 + ], + [ + 0.0473, + 0.0168, + 0.006, + 0.1568, + -0.9271, + -0.0953, + 0.3269 + ], + [ + -0.0059, + 0.0436, + 0.0086, + 0.2136, + 0.6087, + 0.7483, + -0.1544 + ], + [ + 0.0355, + -0.033, + 0.0069, + 0.1545, + -0.4232, + -0.8475, + -0.2807 + ], + [ + -0.0103, + -0.044, + 0.0071, + 0.2862, + -0.5731, + 0.7602, + 0.1082 + ], + [ + -0.0431, + -0.0145, + 0.0061, + 0.3438, + -0.0593, + 0.9191, + -0.183 + ], + [ + 0.0489, + -0.0195, + 0.0088, + 0.1378, + -0.9364, + 0.1857, + 0.2641 + ], + [ + 0.0226, + 0.0391, + -0.0005, + 0.0661, + 0.8329, + 0.4249, + -0.3484 + ], + [ + 0.0182, + -0.0409, + 0.0007, + 0.3615, + -0.7025, + 0.5795, + 0.2002 + ], + [ + 0.0525, + 0.0018, + 0.0074, + 0.2445, + 0.1211, + -0.9482, + 0.1626 + ], + [ + 0.0198, + 0.0329, + -0.0005, + 0.2772, + 0.7463, + 0.5273, + -0.2968 + ], + [ + 0.0494, + 0.0107, + 0.0135, + 0.27, + 0.9121, + 0.2411, + -0.1925 + ], + [ + -0.0116, + -0.0458, + 0.0042, + 0.2094, + -0.7444, + -0.6167, + -0.1471 + ], + [ + 0.0476, + 0.0138, + 0.0179, + 0.2251, + 0.1395, + -0.957, + -0.1187 + ], + [ + 0.0127, + 0.0397, + 0.0025, + 0.4719, + 0.5884, + 0.4879, + -0.4394 + ], + [ + -0.0211, + 0.0392, + 0.0049, + 0.1972, + 0.524, + 0.8042, + -0.1997 + ], + [ + 0.0355, + -0.0275, + 0.0008, + 0.2825, + -0.3464, + -0.8117, + -0.3759 + ], + [ + 0.0474, + 0.0025, + 0.0076, + 0.0953, + 0.8166, + 0.0539, + -0.5667 + ], + [ + -0.0202, + -0.0442, + 0.0091, + 0.246, + -0.7983, + -0.5278, + -0.1538 + ], + [ + 0.034, + 0.0337, + 0.0154, + 0.2518, + 0.3183, + -0.9137, + -0.019 + ], + [ + -0.0316, + -0.0348, + 0.0033, + 0.1626, + -0.883, + -0.3634, + -0.2488 + ], + [ + 0.0467, + -0.0194, + 0.0119, + 0.1838, + -0.1443, + -0.9723, + 0.0031 + ], + [ + -0.0423, + -0.001, + 0.0033, + 0.2995, + 0.0625, + 0.9484, + -0.0837 + ], + [ + 0.0133, + -0.034, + -0.0008, + 0.3135, + -0.6381, + 0.4554, + 0.5359 + ], + [ + 0.047, + -0.0215, + 0.0069, + 0.2317, + -0.234, + -0.9256, + -0.1866 + ], + [ + -0.0225, + -0.0401, + 0.0064, + 0.1637, + -0.4942, + 0.7863, + 0.3327 + ], + [ + 0.0344, + -0.0254, + -0.0006, + 0.1695, + -0.8368, + 0.3715, + 0.3647 + ], + [ + 0.0402, + 0.018, + 0.0021, + 0.1501, + 0.7265, + 0.209, + -0.6372 + ], + [ + 0.0509, + -0.0159, + 0.005, + 0.2493, + -0.1356, + -0.9562, + -0.072 + ], + [ + 0.0336, + -0.0279, + 0.0002, + 0.2579, + -0.3628, + -0.8619, + -0.2428 + ], + [ + -0.0443, + -0.0135, + 0.0018, + 0.145, + 0.9321, + 0.0683, + 0.3249 + ], + [ + -0.0242, + -0.0306, + 0.0022, + 0.4888, + -0.405, + 0.7016, + 0.3239 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..2e64c378f94d0c25e85f852aedacbc4d7d980ce8 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/piper_v1.json @@ -0,0 +1,401 @@ +{ + "uuid": "121f2900-c430-4813-80af-4cc22233b4fe", + "grasp": [ + [ + 0.0141, + 0.0401, + 0.0062, + 0.3299, + 0.6765, + 0.6224, + -0.2148 + ], + [ + 0.0258, + -0.0339, + 0.0037, + 0.2781, + -0.7446, + 0.5126, + 0.3247 + ], + [ + 0.0035, + 0.0452, + 0.0075, + 0.2893, + 0.5942, + -0.7443, + 0.0959 + ], + [ + 0.0102, + 0.0452, + 0.0068, + 0.3029, + 0.5294, + -0.7911, + 0.0473 + ], + [ + 0.0476, + -0.0061, + 0.0081, + 0.2479, + -0.0475, + -0.9648, + -0.074 + ], + [ + 0.0257, + -0.0372, + 0.0046, + 0.0505, + -0.8277, + 0.4504, + 0.3309 + ], + [ + 0.0525, + 0.0012, + 0.0108, + 0.1513, + -0.9443, + 0.0544, + 0.2872 + ], + [ + 0.0405, + -0.0222, + 0.0018, + 0.1266, + -0.8728, + 0.3102, + 0.355 + ], + [ + 0.0128, + 0.0462, + 0.0079, + 0.4799, + 0.4993, + 0.4566, + -0.5585 + ], + [ + -0.0048, + -0.0731, + 0.0084, + 0.1734, + -0.6056, + -0.7754, + 0.0447 + ], + [ + 0.0338, + -0.0321, + 0.0106, + 0.2644, + -0.3142, + -0.9113, + -0.0309 + ], + [ + 0.0033, + 0.0475, + 0.005, + 0.0841, + 0.6954, + -0.6505, + 0.2935 + ], + [ + 0.0443, + -0.0041, + 0.0057, + 0.2672, + -0.0213, + -0.9595, + -0.0864 + ], + [ + 0.017, + -0.0465, + 0.011, + 0.2261, + -0.5517, + -0.7947, + -0.1139 + ], + [ + -0.0044, + -0.0478, + 0.0066, + 0.224, + -0.643, + 0.6949, + 0.2313 + ], + [ + 0.0106, + 0.0477, + 0.0087, + 0.1919, + 0.5941, + -0.7629, + 0.1681 + ], + [ + 0.0468, + -0.0125, + 0.0089, + 0.2321, + -0.9277, + 0.192, + 0.2206 + ], + [ + -0.042, + 0.0089, + 0.0057, + 0.3078, + 0.0954, + 0.946, + 0.0343 + ], + [ + 0.0473, + 0.0168, + 0.006, + 0.1567, + -0.9271, + -0.0952, + 0.3269 + ], + [ + 0.0416, + 0.0288, + 0.0108, + 0.0733, + 0.9163, + 0.3057, + -0.2482 + ], + [ + -0.0103, + -0.044, + 0.0071, + 0.2862, + -0.573, + 0.7603, + 0.1083 + ], + [ + 0.0507, + 0.0097, + 0.0109, + 0.223, + 0.0614, + -0.9615, + -0.1485 + ], + [ + 0.0377, + 0.0298, + 0.0093, + 0.1235, + -0.9056, + -0.258, + 0.3132 + ], + [ + -0.0031, + -0.0428, + -0.0066, + 0.2667, + -0.6277, + 0.6281, + 0.3746 + ], + [ + 0.0226, + 0.0391, + -0.0005, + 0.0662, + 0.8329, + 0.4248, + -0.3484 + ], + [ + -0.0338, + -0.0303, + 0.007, + 0.2477, + -0.3419, + 0.8642, + 0.2738 + ], + [ + 0.0198, + 0.0329, + -0.0005, + 0.2773, + 0.7464, + 0.5272, + -0.2968 + ], + [ + 0.0494, + 0.0107, + 0.0135, + 0.27, + 0.9121, + 0.241, + -0.1925 + ], + [ + 0.0463, + 0.0163, + 0.0155, + 0.1428, + 0.1797, + -0.9732, + 0.0126 + ], + [ + -0.0116, + -0.0458, + 0.0042, + 0.2094, + -0.7445, + -0.6166, + -0.1471 + ], + [ + -0.0288, + 0.0363, + 0.0086, + 0.2179, + 0.4423, + 0.8625, + -0.1141 + ], + [ + 0.0125, + 0.0382, + 0.0006, + 0.4537, + 0.6083, + 0.4979, + -0.4198 + ], + [ + 0.0382, + 0.0337, + 0.0123, + 0.2275, + 0.3716, + -0.8958, + 0.0878 + ], + [ + 0.0421, + 0.0289, + 0.0145, + 0.1842, + 0.3274, + -0.9165, + 0.1375 + ], + [ + -0.0202, + -0.0442, + 0.0091, + 0.246, + -0.7984, + -0.5277, + -0.1538 + ], + [ + 0.0009, + 0.0433, + 0.004, + 0.2579, + 0.6305, + 0.7225, + -0.1182 + ], + [ + 0.0414, + 0.0272, + 0.0112, + 0.186, + -0.9151, + -0.1718, + 0.3137 + ], + [ + -0.0435, + -0.0119, + 0.0084, + 0.2853, + -0.0557, + 0.9568, + 0.0101 + ], + [ + 0.0251, + 0.0434, + 0.0131, + 0.2182, + 0.4726, + -0.8487, + 0.0934 + ], + [ + 0.0158, + -0.036, + -0.0023, + 0.2871, + -0.5633, + 0.4939, + 0.597 + ], + [ + 0.0383, + 0.0178, + 0.0009, + 0.1861, + 0.7528, + 0.2127, + -0.5945 + ], + [ + -0.0287, + -0.0318, + 0.0073, + 0.1945, + -0.4434, + 0.8505, + 0.2055 + ], + [ + 0.0397, + 0.0324, + 0.0073, + 0.1387, + -0.9027, + -0.255, + 0.3175 + ], + [ + -0.0209, + -0.031, + -0.0001, + 0.4406, + -0.4111, + 0.6853, + 0.4089 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/proposal.json b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..3a55b3e6b23ea4c4521ff1aa32eb58c3cb4be178 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00000/grasps/proposal.json @@ -0,0 +1,1205 @@ +{ + "uuid": "121f2900-c430-4813-80af-4cc22233b4fe", + "grasp": [ + [ + [ + 0.0414, + 0.101, + 0.0865, + 0.2388, + 0.8017, + 0.494, + -0.2372 + ], + 0.9835 + ], + [ + [ + 0.0016, + 0.1143, + 0.078, + 0.3299, + 0.6764, + 0.6225, + -0.2148 + ], + 0.9801 + ], + [ + [ + 0.0465, + -0.1116, + 0.0697, + 0.2781, + -0.7447, + 0.5125, + 0.3247 + ], + 0.9794 + ], + [ + [ + 0.0364, + 0.0958, + 0.0922, + 0.2893, + 0.5943, + -0.7442, + 0.0959 + ], + 0.9781 + ], + [ + [ + 0.0548, + 0.0863, + 0.0913, + 0.3029, + 0.5295, + -0.791, + 0.0473 + ], + 0.978 + ], + [ + [ + 0.0855, + -0.075, + 0.0853, + 0.1065, + -0.861, + 0.381, + 0.3196 + ], + 0.9779 + ], + [ + [ + 0.0966, + -0.0234, + 0.0982, + 0.2479, + -0.0474, + -0.9648, + -0.074 + ], + 0.977 + ], + [ + [ + 0.0779, + -0.0769, + 0.0853, + 0.0505, + -0.8278, + 0.4503, + 0.3309 + ], + 0.9765 + ], + [ + [ + -0.1096, + -0.0669, + 0.0567, + 0.4783, + -0.1812, + 0.8442, + 0.1605 + ], + 0.9759 + ], + [ + [ + 0.1072, + -0.0318, + 0.0929, + 0.1514, + -0.9443, + 0.0543, + 0.2872 + ], + 0.9743 + ], + [ + [ + 0.0968, + -0.0681, + 0.0763, + 0.1266, + -0.8728, + 0.3101, + 0.355 + ], + 0.9731 + ], + [ + [ + -0.0372, + 0.12, + 0.0711, + 0.3966, + 0.5598, + 0.6967, + -0.2094 + ], + 0.972 + ], + [ + [ + 0.0438, + 0.114, + 0.0617, + 0.2104, + 0.6813, + 0.5662, + -0.4136 + ], + 0.9709 + ], + [ + [ + 0.0324, + -0.102, + 0.0941, + 0.1919, + -0.518, + -0.8017, + -0.2283 + ], + 0.9706 + ], + [ + [ + 0.0327, + -0.1202, + 0.0615, + 0.3127, + -0.6856, + 0.5565, + 0.35 + ], + 0.9703 + ], + [ + [ + 0.115, + 0.0125, + 0.0866, + 0.0928, + -0.9214, + -0.1474, + 0.3473 + ], + 0.9696 + ], + [ + [ + 0.0597, + -0.0868, + 0.0864, + 0.2619, + -0.4465, + -0.8396, + -0.1644 + ], + 0.969 + ], + [ + [ + 0.0819, + -0.0552, + 0.0998, + 0.2645, + -0.3141, + -0.9113, + -0.0309 + ], + 0.9687 + ], + [ + [ + 0.0291, + 0.0987, + 0.0838, + 0.1952, + 0.7734, + 0.5599, + -0.2242 + ], + 0.9686 + ], + [ + [ + -0.0278, + 0.0994, + 0.0896, + 0.0841, + 0.6955, + -0.6504, + 0.2935 + ], + 0.9684 + ], + [ + [ + 0.1014, + -0.0014, + 0.1031, + 0.2467, + 0.0079, + -0.9688, + 0.0208 + ], + 0.9681 + ], + [ + [ + 0.0521, + 0.0901, + 0.0865, + 0.2613, + 0.8531, + 0.4128, + -0.183 + ], + 0.9675 + ], + [ + [ + 0.0972, + -0.0225, + 0.0933, + 0.2672, + -0.0212, + -0.9595, + -0.0864 + ], + 0.9672 + ], + [ + [ + -0.0383, + 0.1262, + 0.0622, + 0.3873, + 0.4773, + 0.7232, + -0.3148 + ], + 0.9672 + ], + [ + [ + 0.0745, + -0.0862, + 0.078, + 0.1022, + -0.817, + 0.4531, + 0.3417 + ], + 0.967 + ], + [ + [ + 0.0413, + -0.0913, + 0.1017, + 0.2261, + -0.5516, + -0.7948, + -0.1139 + ], + 0.9664 + ], + [ + [ + 0.0233, + -0.1143, + 0.0718, + 0.3492, + -0.7554, + 0.5207, + 0.1907 + ], + 0.9663 + ], + [ + [ + -0.0058, + -0.1112, + 0.089, + 0.224, + -0.6431, + 0.6948, + 0.2313 + ], + 0.9661 + ], + [ + [ + 0.0957, + 0.0303, + 0.1023, + 0.2344, + 0.1158, + -0.9593, + 0.1066 + ], + 0.9656 + ], + [ + [ + -0.0049, + -0.1087, + 0.0921, + 0.2353, + -0.6632, + 0.6796, + 0.2072 + ], + 0.9651 + ], + [ + [ + 0.1122, + 0.0103, + 0.0931, + 0.0704, + 0.9515, + 0.0193, + -0.2989 + ], + 0.9647 + ], + [ + [ + -0.0565, + 0.1012, + 0.0833, + 0.259, + 0.384, + 0.8434, + -0.2724 + ], + 0.9645 + ], + [ + [ + 0.0428, + 0.0956, + 0.0967, + 0.1457, + 0.7935, + 0.5361, + -0.2483 + ], + 0.9639 + ], + [ + [ + 0.1015, + 0.0026, + 0.0922, + 0.2912, + 0.0246, + -0.956, + 0.026 + ], + 0.9637 + ], + [ + [ + 0.1309, + 0.0067, + 0.0558, + 0.1449, + 0.8652, + -0.0352, + -0.4788 + ], + 0.9637 + ], + [ + [ + 0.1041, + 0.0089, + 0.0906, + 0.2866, + 0.1076, + -0.9506, + -0.0518 + ], + 0.962 + ], + [ + [ + 0.1027, + 0.0098, + 0.0967, + 0.26, + 0.1375, + -0.9536, + -0.0645 + ], + 0.9615 + ], + [ + [ + 0.0669, + -0.115, + 0.0582, + 0.3044, + -0.7421, + 0.442, + 0.4015 + ], + 0.9611 + ], + [ + [ + 0.0203, + 0.0981, + 0.0992, + 0.1919, + 0.5942, + -0.7628, + 0.1681 + ], + 0.9607 + ], + [ + [ + 0.1074, + -0.0613, + 0.0672, + 0.1738, + -0.8742, + 0.2141, + 0.3996 + ], + 0.9605 + ], + [ + [ + 0.0485, + -0.0923, + 0.0953, + 0.1889, + -0.4619, + -0.8431, + -0.2004 + ], + 0.9603 + ], + [ + [ + 0.0801, + -0.0661, + 0.0916, + 0.2321, + -0.9277, + 0.1919, + 0.2206 + ], + 0.9599 + ], + [ + [ + -0.1033, + 0.0082, + 0.0897, + 0.3078, + 0.0953, + 0.946, + 0.0343 + ], + 0.9594 + ], + [ + [ + 0.1134, + -0.007, + 0.0827, + 0.1568, + -0.9271, + -0.0953, + 0.3269 + ], + 0.9586 + ], + [ + [ + 0.0842, + 0.0586, + 0.1009, + 0.0733, + 0.9163, + 0.3058, + -0.2482 + ], + 0.9586 + ], + [ + [ + -0.0196, + 0.0947, + 0.0982, + 0.2136, + 0.6087, + 0.7483, + -0.1544 + ], + 0.9585 + ], + [ + [ + 0.038, + -0.0961, + 0.0895, + 0.1545, + -0.4232, + -0.8475, + -0.2807 + ], + 0.9583 + ], + [ + [ + -0.0427, + -0.0952, + 0.0916, + 0.2862, + -0.5731, + 0.7602, + 0.1082 + ], + 0.9578 + ], + [ + [ + 0.0972, + -0.0171, + 0.1, + 0.223, + 0.0615, + -0.9615, + -0.1485 + ], + 0.9558 + ], + [ + [ + 0.1033, + 0.0234, + 0.0897, + 0.1235, + -0.9055, + -0.2581, + 0.3132 + ], + 0.9558 + ], + [ + [ + -0.1111, + 0.0162, + 0.0785, + 0.3438, + -0.0593, + 0.9191, + -0.183 + ], + 0.9557 + ], + [ + [ + 0.095, + -0.0565, + 0.0943, + 0.1378, + -0.9364, + 0.1857, + 0.2641 + ], + 0.9556 + ], + [ + [ + 0.0113, + -0.1253, + 0.0564, + 0.2885, + -0.6087, + 0.6218, + 0.3996 + ], + 0.9555 + ], + [ + [ + 0.0771, + 0.0813, + 0.0773, + 0.0661, + 0.8329, + 0.4249, + -0.3484 + ], + 0.9554 + ], + [ + [ + -0.0588, + -0.0971, + 0.0826, + 0.2477, + -0.342, + 0.8641, + 0.2738 + ], + 0.9551 + ], + [ + [ + 0.0039, + -0.1178, + 0.0692, + 0.3615, + -0.7025, + 0.5795, + 0.2002 + ], + 0.954 + ], + [ + [ + 0.101, + 0.0523, + 0.0808, + 0.1073, + -0.8405, + -0.3771, + 0.374 + ], + 0.9539 + ], + [ + [ + 0.0379, + 0.0961, + 0.0987, + 0.1411, + 0.7784, + 0.5601, + -0.2458 + ], + 0.9537 + ], + [ + [ + 0.0966, + 0.04, + 0.0935, + 0.2445, + 0.1211, + -0.9482, + 0.1626 + ], + 0.9531 + ], + [ + [ + 0.0355, + 0.1085, + 0.0692, + 0.2772, + 0.7463, + 0.5273, + -0.2968 + ], + 0.9524 + ], + [ + [ + 0.0724, + 0.0716, + 0.0946, + 0.27, + 0.9121, + 0.2411, + -0.1925 + ], + 0.9521 + ], + [ + [ + 0.0912, + 0.0612, + 0.0822, + 0.3479, + 0.3819, + -0.8554, + -0.0368 + ], + 0.9516 + ], + [ + [ + 0.0747, + 0.0242, + 0.1152, + 0.1428, + 0.1798, + -0.9732, + 0.0126 + ], + 0.9499 + ], + [ + [ + 0.0229, + 0.099, + 0.0927, + 0.2862, + 0.6726, + -0.6794, + 0.0643 + ], + 0.9496 + ], + [ + [ + -0.0075, + -0.0971, + 0.0946, + 0.2094, + -0.7444, + -0.6167, + -0.1471 + ], + 0.9494 + ], + [ + [ + 0.0959, + -0.0033, + 0.1084, + 0.2251, + 0.1395, + -0.957, + -0.1187 + ], + 0.9491 + ], + [ + [ + -0.0574, + 0.0768, + 0.1, + 0.2179, + 0.4422, + 0.8626, + -0.1141 + ], + 0.948 + ], + [ + [ + 0.0183, + 0.1388, + 0.029, + 0.4648, + 0.5976, + 0.4863, + -0.4363 + ], + 0.948 + ], + [ + [ + 0.0457, + 0.0815, + 0.106, + 0.137, + 0.8532, + 0.4716, + -0.1756 + ], + 0.9478 + ], + [ + [ + -0.0323, + 0.0941, + 0.0925, + 0.1972, + 0.524, + 0.8042, + -0.1997 + ], + 0.9477 + ], + [ + [ + 0.0738, + 0.0676, + 0.1039, + 0.2275, + 0.3717, + -0.8958, + 0.0878 + ], + 0.9467 + ], + [ + [ + 0.0561, + -0.1113, + 0.0588, + 0.2825, + -0.3464, + -0.8117, + -0.3759 + ], + 0.9465 + ], + [ + [ + 0.0678, + 0.0677, + 0.1075, + 0.1842, + 0.3275, + -0.9165, + 0.1375 + ], + 0.9465 + ], + [ + [ + 0.1426, + 0.025, + 0.0429, + 0.0953, + 0.8166, + 0.0539, + -0.5667 + ], + 0.9464 + ], + [ + [ + -0.0187, + -0.1019, + 0.0956, + 0.246, + -0.7983, + -0.5278, + -0.1538 + ], + 0.946 + ], + [ + [ + -0.0224, + 0.0949, + 0.0913, + 0.2579, + 0.6304, + 0.7226, + -0.1182 + ], + 0.9456 + ], + [ + [ + 0.0831, + 0.0468, + 0.1061, + 0.2518, + 0.3183, + -0.9137, + -0.019 + ], + 0.945 + ], + [ + [ + -0.065, + -0.0835, + 0.0889, + 0.1626, + -0.883, + -0.3634, + -0.2488 + ], + 0.945 + ], + [ + [ + 0.0138, + -0.1075, + 0.0848, + 0.1304, + -0.6166, + 0.7064, + 0.3221 + ], + 0.9447 + ], + [ + [ + 0.1078, + 0.003, + 0.0875, + 0.186, + -0.9151, + -0.1719, + 0.3137 + ], + 0.9442 + ], + [ + [ + 0.084, + -0.0243, + 0.1089, + 0.1838, + -0.1443, + -0.9723, + 0.0031 + ], + 0.9441 + ], + [ + [ + -0.0042, + 0.0995, + 0.1015, + 0.2103, + 0.6798, + 0.6843, + -0.1591 + ], + 0.9437 + ], + [ + [ + -0.1002, + -0.0172, + 0.0954, + 0.2853, + -0.0558, + 0.9568, + 0.0101 + ], + 0.9432 + ], + [ + [ + 0.0544, + 0.0813, + 0.1054, + 0.2182, + 0.4727, + -0.8487, + 0.0934 + ], + 0.9423 + ], + [ + [ + -0.1003, + 0.0194, + 0.0872, + 0.2995, + 0.0625, + 0.9484, + -0.0837 + ], + 0.9421 + ], + [ + [ + 0.0544, + -0.1239, + 0.031, + 0.3078, + -0.6422, + 0.4607, + 0.5297 + ], + 0.9419 + ], + [ + [ + 0.0825, + -0.0687, + 0.0925, + 0.2317, + -0.234, + -0.9256, + -0.1866 + ], + 0.9416 + ], + [ + [ + -0.0151, + -0.1113, + 0.0818, + 0.1637, + -0.4942, + 0.7863, + 0.3327 + ], + 0.9414 + ], + [ + [ + -0.1077, + -0.0132, + 0.0838, + 0.3342, + 0.0554, + 0.9357, + 0.0988 + ], + 0.9412 + ], + [ + [ + 0.0848, + -0.0831, + 0.0698, + 0.1695, + -0.8368, + 0.3715, + 0.3647 + ], + 0.9406 + ], + [ + [ + 0.0496, + 0.0888, + 0.1019, + 0.1204, + 0.8128, + 0.5161, + -0.2419 + ], + 0.9405 + ], + [ + [ + 0.1231, + 0.0741, + 0.0266, + 0.1846, + 0.7322, + 0.2193, + -0.6178 + ], + 0.9405 + ], + [ + [ + 0.0773, + 0.0709, + 0.0882, + 0.207, + 0.9192, + 0.2549, + -0.2173 + ], + 0.9405 + ], + [ + [ + -0.0441, + -0.0861, + 0.0946, + 0.1945, + -0.4435, + 0.8504, + 0.2055 + ], + 0.9403 + ], + [ + [ + 0.0985, + -0.0373, + 0.095, + 0.2493, + -0.1356, + -0.9562, + -0.072 + ], + 0.9399 + ], + [ + [ + -0.0434, + 0.0936, + 0.0868, + 0.3044, + 0.5531, + 0.7693, + -0.0982 + ], + 0.9395 + ], + [ + [ + 0.1067, + 0.0232, + 0.0863, + 0.1388, + -0.9027, + -0.2551, + 0.3175 + ], + 0.9388 + ], + [ + [ + 0.0615, + -0.0909, + 0.0781, + 0.2579, + -0.3628, + -0.8619, + -0.2428 + ], + 0.9386 + ], + [ + [ + -0.1093, + 0.01, + 0.0795, + 0.145, + 0.9321, + 0.0683, + 0.3249 + ], + 0.9381 + ], + [ + [ + -0.0527, + -0.1245, + 0.0362, + 0.4454, + -0.3673, + 0.7082, + 0.4064 + ], + 0.9369 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00000/metadata.json b/Objects/RoboDojo/Rigid/wine_bowl/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..d35955e0a7bf90dafe0dfdaa6d21dd9f2e0d2760 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00000/metadata.json @@ -0,0 +1,146 @@ +{ + "uuid": "121f2900-c430-4813-80af-4cc22233b4fe", + "physics": { + "mass": 0.25, + "friction": 0.3 + }, + "geometry": { + "faces": 84076, + "vertices": 42040, + "aligned_bbox": { + "vertices": [ + [ + -0.055, + -0.055, + -0.0201 + ], + [ + -0.055, + -0.055, + 0.0199 + ], + [ + -0.055, + 0.055, + -0.0201 + ], + [ + -0.055, + 0.055, + 0.0199 + ], + [ + 0.055, + -0.055, + -0.0201 + ], + [ + 0.055, + -0.055, + 0.0199 + ], + [ + 0.055, + 0.055, + -0.0201 + ], + [ + 0.055, + 0.055, + 0.0199 + ] + ], + "extents": [ + 0.11, + 0.11, + 0.04 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.055, + -0.055, + -0.0201 + ], + [ + -0.055, + -0.055, + 0.0199 + ], + [ + -0.055, + 0.055, + -0.0201 + ], + [ + -0.055, + 0.055, + 0.0199 + ], + [ + 0.055, + -0.055, + -0.0201 + ], + [ + 0.055, + -0.055, + 0.0199 + ], + [ + 0.055, + 0.055, + -0.0201 + ], + [ + 0.055, + 0.055, + 0.0199 + ] + ], + "extents": [ + 0.11, + 0.11, + 0.04 + ] + }, + "radius": 0.055 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + -0.0, + 0.0002, + -0.0012 + ], + "projection_circle": { + "center": [ + 0.0001, + 0.0, + -0.0201, + 1.0, + 0.0, + -0.0002, + 0.0012 + ], + "radius": 0.0551 + }, + "contact_circle": { + "center": [ + 0.0, + -0.0, + -0.0201, + 1.0, + 0.0, + -0.0002, + 0.0012 + ], + "radius": 0.0251 + } + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00001/description.json b/Objects/RoboDojo/Rigid/wine_bowl/00001/description.json new file mode 100644 index 0000000000000000000000000000000000000000..4a4c097f0cdd014af07213bb1fd0ca4cd0a3b67f --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00001/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "42b4ec81-6333-4cd2-a39e-8a8e29087a78", + "caption": { + "color": [ + "matte charcoal gray", + "dark gray interior", + "light gray highlights" + ], + "material": [ + "ceramic", + "glossy glazed finish", + "smooth non-porous surface" + ], + "size": [ + "small bowl", + "single-serving", + "fits in one hand" + ], + "name": [ + "gray ceramic bowl", + "modern serving bowl", + "minimalist bowl" + ], + "shape": [ + "wide shallow dome", + "flared rim", + "slightly raised base ring" + ], + "function": [ + "holding food", + "serving snacks", + "presenting small portions" + ] + }, + "description": [ + "small bowl slightly raised base ring object", + "glossy glazed finish object for holding food", + "light gray highlights modern serving bowl suitable for holding food", + "modern serving bowl commonly used for serving snacks", + "gray ceramic bowl shaped like a wide shallow dome", + "matte charcoal gray object used for serving snacks", + "gray ceramic bowl for holding food activities", + "minimalist bowl made from glossy glazed finish", + "single-serving wide shallow dome gray ceramic bowl for serving snacks", + "minimalist bowl in single-serving", + "minimalist bowl intended for serving snacks", + "glossy glazed finish object used for serving snacks", + "modern serving bowl in dark gray interior", + "modern serving bowl with smooth non-porous surface construction", + "wide shallow dome glossy glazed finish object for holding food", + "single-serving matte charcoal gray ceramic wide shallow dome object", + "smooth non-porous surface dark gray interior modern serving bowl", + "small bowl slightly raised base ring gray ceramic bowl", + "minimalist bowl for holding food with ceramic", + "modern serving bowl with dark gray interior color", + "slightly raised base ring glossy glazed finish object for presenting small portions", + "modern serving bowl commonly featuring ceramic", + "modern serving bowl made from ceramic", + "modern serving bowl commonly featuring smooth non-porous surface", + "light gray highlights ceramic slightly raised base ring object", + "minimalist bowl in dark gray interior", + "minimalist bowl optimized for holding food", + "modern serving bowl optimized for presenting small portions", + "wide shallow dome gray ceramic bowl ideal for serving snacks", + "slightly raised base ring gray ceramic bowl for serving snacks", + "modern serving bowl primarily used for serving snacks", + "light gray highlights gray ceramic bowl used for presenting small portions", + "slightly raised base ring fits in one hand gray ceramic bowl", + "gray ceramic bowl for serving snacks with ceramic", + "minimalist bowl with matte charcoal gray exterior", + "minimalist bowl used to serving snacks", + "gray ceramic bowl intended for holding food usage", + "minimalist bowl made of smooth non-porous surface", + "gray ceramic bowl commonly found in fits in one hand size", + "minimalist bowl with glossy glazed finish construction", + "ceramic slightly raised base ring object used for holding food", + "minimalist bowl optimized for serving snacks", + "ceramic wide shallow dome for holding food", + "slightly raised base ring modern serving bowl ideal for presenting small portions", + "single-serving ceramic gray ceramic bowl for holding food", + "light gray highlights object used for serving snacks", + "minimalist bowl for holding food", + "single-serving wide shallow dome object for holding food", + "wide shallow dome gray ceramic bowl for presenting small portions", + "minimalist bowl in flared rim", + "wide shallow dome-shaped gray ceramic bowl", + "light gray highlights modern serving bowl typically used for holding food", + "light gray highlights small bowl wide shallow dome gray ceramic bowl", + "minimalist bowl made from smooth non-porous surface", + "slightly raised base ring-shaped gray ceramic bowl", + "single-serving ceramic flared rim for serving snacks", + "gray ceramic bowl in flared rim", + "serving snacks with minimalist bowl", + "gray ceramic bowl sized fits in one hand", + "gray ceramic bowl optimized for holding food", + "matte charcoal gray flared rim minimalist bowl", + "fits in one hand ceramic minimalist bowl", + "glossy glazed finish slightly raised base ring gray ceramic bowl", + "ceramic modern serving bowl for serving snacks", + "fits in one hand slightly raised base ring minimalist bowl", + "ceramic gray ceramic bowl suitable for holding food", + "smooth non-porous surface flared rim object used for serving snacks", + "modern serving bowl for serving snacks activities", + "gray ceramic bowl for serving snacks scenarios", + "minimalist bowl in small bowl", + "wide shallow dome object used for serving snacks", + "gray ceramic bowl in wide shallow dome", + "minimalist bowl in slightly raised base ring", + "single-serving light gray highlights smooth non-porous surface wide shallow dome object", + "serving snacks with modern serving bowl", + "single-serving matte charcoal gray flared rim for presenting small portions", + "minimalist bowl with flared rim profile", + "slightly raised base ring minimalist bowl for serving snacks", + "minimalist bowl with light gray highlights color", + "minimalist bowl for serving snacks use", + "fits in one hand object used for holding food", + "gray ceramic bowl with light gray highlights exterior", + "dark gray interior ceramic wide shallow dome gray ceramic bowl", + "wide shallow dome object used for holding food", + "fits in one hand flared rim object", + "modern serving bowl in slightly raised base ring", + "fits in one hand light gray highlights glossy glazed finish minimalist bowl", + "gray ceramic bowl for presenting small portions tasks", + "wide shallow dome minimalist bowl for serving snacks", + "minimalist bowl sized small bowl", + "single-serving gray ceramic bowl perfect for presenting small portions", + "light gray highlights small bowl smooth non-porous surface object", + "single-serving matte charcoal gray wide shallow dome object", + "modern serving bowl for serving snacks with smooth non-porous surface", + "flared rim minimalist bowl for holding food", + "modern serving bowl featuring smooth non-porous surface build", + "matte charcoal gray flared rim object for serving snacks", + "minimalist bowl for presenting small portions activities", + "glossy glazed finish dark gray interior minimalist bowl", + "gray ceramic bowl commonly found in single-serving size" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/UMI.json b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..71f5ebf47d5f567638cfb16e9250d0cc9a1f4c72 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/UMI.json @@ -0,0 +1,338 @@ +{ + "uuid": "42b4ec81-6333-4cd2-a39e-8a8e29087a78", + "grasp": [ + [ + 0.0517, + 0.0249, + -0.0164, + 0.7998, + 0.5185, + 0.2311, + 0.1951 + ], + [ + 0.0185, + 0.0485, + 0.006, + 0.3394, + 0.4622, + -0.819, + 0.0206 + ], + [ + 0.0383, + 0.0293, + 0.0067, + 0.2548, + 0.2611, + -0.9297, + -0.0508 + ], + [ + 0.0154, + 0.0458, + 0.0148, + 0.2596, + 0.5044, + -0.8233, + 0.0168 + ], + [ + -0.0377, + -0.0296, + 0.0095, + 0.2835, + -0.2482, + 0.9227, + -0.0817 + ], + [ + 0.0565, + 0.0012, + 0.0107, + 0.1683, + -0.9672, + 0.0476, + 0.1843 + ], + [ + 0.06, + 0.0208, + 0.0068, + 0.1676, + 0.1144, + -0.9734, + 0.1063 + ], + [ + 0.0468, + 0.0262, + 0.0138, + 0.2822, + 0.8598, + 0.3502, + -0.2418 + ], + [ + 0.0228, + -0.0433, + 0.0087, + 0.1591, + -0.5457, + -0.8106, + -0.1408 + ], + [ + -0.0177, + 0.0505, + 0.0153, + 0.178, + 0.5754, + 0.788, + -0.1279 + ], + [ + 0.0501, + -0.0046, + 0.0153, + 0.1655, + -0.9602, + 0.0704, + 0.2139 + ], + [ + 0.0129, + 0.0518, + 0.014, + 0.0197, + -0.6435, + 0.7026, + -0.3033 + ], + [ + 0.0572, + -0.0313, + 0.0319, + 0.0228, + 0.017, + -0.9662, + 0.2563 + ], + [ + 0.0514, + 0.013, + 0.0124, + 0.1843, + 0.2063, + -0.935, + 0.222 + ], + [ + 0.0459, + -0.003, + 0.0031, + 0.2715, + -0.0439, + -0.9603, + -0.0471 + ], + [ + 0.0246, + 0.0469, + 0.0088, + 0.2558, + 0.3946, + -0.8768, + -0.1002 + ], + [ + -0.0075, + -0.0338, + 0.0263, + 0.4434, + 0.0041, + 0.788, + 0.4271 + ], + [ + 0.0138, + -0.0479, + 0.0081, + 0.2085, + -0.5745, + -0.789, + -0.0622 + ], + [ + 0.0399, + 0.0348, + 0.0039, + 0.3873, + 0.7875, + 0.4131, + -0.2434 + ], + [ + 0.0508, + 0.0211, + 0.007, + 0.1301, + 0.9333, + 0.2314, + -0.2417 + ], + [ + 0.0397, + -0.0297, + 0.0059, + 0.2398, + -0.3051, + -0.9197, + -0.0602 + ], + [ + 0.0058, + 0.0412, + 0.0027, + 0.2149, + 0.591, + -0.7561, + 0.1815 + ], + [ + -0.0453, + -0.0142, + 0.0069, + 0.1112, + 0.9569, + 0.0125, + 0.268 + ], + [ + 0.0458, + -0.0121, + 0.0062, + 0.2233, + -0.1751, + -0.9503, + -0.1281 + ], + [ + -0.0493, + -0.0015, + 0.0059, + 0.2317, + 0.0639, + 0.962, + -0.1292 + ], + [ + -0.039, + -0.0303, + 0.0129, + 0.2299, + -0.2606, + 0.9318, + -0.105 + ], + [ + 0.0249, + -0.0378, + 0.0045, + 0.1712, + -0.5316, + -0.8074, + -0.1899 + ], + [ + 0.052, + 0.0063, + 0.0045, + 0.0571, + 0.8982, + 0.0918, + -0.4262 + ], + [ + -0.0304, + 0.0382, + 0.0095, + 0.2482, + 0.3985, + 0.8342, + -0.2894 + ], + [ + -0.0451, + 0.0071, + 0.0101, + 0.2625, + 0.0, + 0.9369, + 0.2307 + ], + [ + 0.0322, + 0.0351, + 0.0068, + 0.3044, + 0.8348, + 0.4519, + -0.0791 + ], + [ + 0.0106, + -0.0451, + 0.0004, + 0.3604, + -0.6583, + 0.6281, + 0.2056 + ], + [ + 0.0018, + 0.0552, + 0.0136, + 0.1204, + 0.7006, + 0.6784, + -0.1855 + ], + [ + 0.0531, + 0.0124, + 0.0043, + 0.1948, + -0.9332, + -0.0451, + 0.2987 + ], + [ + 0.0354, + 0.0276, + 0.0027, + 0.1479, + 0.8874, + 0.3398, + -0.2743 + ], + [ + 0.046, + 0.0258, + 0.0174, + 0.2337, + 0.1642, + -0.9433, + -0.1691 + ], + [ + 0.0534, + 0.0057, + 0.0055, + 0.2114, + -0.9502, + 0.0038, + 0.2288 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/XOne.json b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..7c1a41908198acd926c9cf331fd330f54495bf11 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/XOne.json @@ -0,0 +1,50 @@ +{ + "uuid": "42b4ec81-6333-4cd2-a39e-8a8e29087a78", + "grasp": [ + [ + -0.0518, + 0.0467, + -0.022, + -0.1726, + 0.4069, + 0.888, + 0.1265 + ], + [ + 0.0457, + 0.0312, + 0.0144, + 0.1395, + -0.938, + -0.2244, + 0.2245 + ], + [ + 0.0246, + -0.0416, + -0.001, + 0.3297, + -0.4559, + -0.8209, + -0.0973 + ], + [ + 0.0501, + 0.006, + 0.0072, + 0.0555, + 0.8897, + 0.0635, + -0.4486 + ], + [ + -0.0478, + 0.0258, + 0.0108, + 0.1556, + 0.3109, + 0.9162, + -0.1991 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/aloha.json b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..d9b1302c1b96eddb722f54d4ed067476ff3788ce --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/aloha.json @@ -0,0 +1,50 @@ +{ + "uuid": "42b4ec81-6333-4cd2-a39e-8a8e29087a78", + "grasp": [ + [ + 0.0265, + 0.0326, + 0.0094, + 0.1344, + 0.7708, + 0.6029, + -0.1558 + ], + [ + -0.0355, + -0.0086, + -0.0096, + 0.0681, + 0.506, + -0.8597, + 0.0159 + ], + [ + 0.0938, + -0.015, + -0.0396, + -0.0959, + -0.9468, + 0.1656, + -0.2587 + ], + [ + 0.0011, + 0.0081, + -0.0233, + 0.2127, + -0.8395, + 0.1739, + 0.4687 + ], + [ + 0.0507, + 0.006, + 0.0065, + 0.0577, + 0.8916, + 0.09, + -0.4401 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/panda.json b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..31bb13c295b6674fad3126b70ef867582fdda054 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/panda.json @@ -0,0 +1,554 @@ +{ + "uuid": "42b4ec81-6333-4cd2-a39e-8a8e29087a78", + "grasp": [ + [ + 0.025, + 0.0409, + 0.0012, + 0.2174, + 0.804, + 0.5008, + -0.2354 + ], + [ + 0.0309, + 0.0442, + 0.011, + 0.1129, + 0.8396, + 0.4351, + -0.305 + ], + [ + 0.0382, + 0.0294, + 0.0066, + 0.222, + 0.3217, + -0.9127, + 0.1186 + ], + [ + 0.0353, + -0.0367, + 0.0074, + 0.1649, + -0.8169, + 0.4533, + 0.3162 + ], + [ + 0.0121, + 0.0501, + 0.0086, + 0.1115, + 0.5882, + -0.7635, + 0.2423 + ], + [ + 0.0399, + 0.0306, + 0.0059, + 0.245, + 0.2615, + -0.932, + -0.0542 + ], + [ + 0.0249, + 0.049, + 0.0122, + 0.261, + 0.7827, + 0.5646, + -0.0239 + ], + [ + 0.0162, + 0.0477, + 0.014, + 0.2512, + 0.5054, + -0.8254, + 0.0109 + ], + [ + -0.0363, + -0.0284, + 0.0107, + 0.2929, + -0.2502, + 0.9194, + -0.079 + ], + [ + 0.0421, + -0.0298, + 0.003, + 0.2298, + -0.8525, + 0.3853, + 0.2682 + ], + [ + 0.0522, + 0.0047, + 0.0096, + 0.1912, + 0.9518, + 0.1518, + -0.1855 + ], + [ + 0.0207, + -0.0456, + 0.002, + 0.2503, + -0.7786, + 0.5452, + 0.1844 + ], + [ + 0.0544, + 0.0011, + 0.0116, + 0.1686, + -0.9653, + 0.0446, + 0.1942 + ], + [ + -0.023, + 0.0477, + 0.0101, + 0.2001, + 0.545, + 0.814, + -0.0192 + ], + [ + -0.0116, + 0.0509, + 0.0117, + 0.1072, + 0.5989, + 0.7615, + -0.2235 + ], + [ + 0.0323, + 0.0377, + 0.0004, + 0.2512, + 0.819, + 0.4628, + -0.2278 + ], + [ + 0.0237, + -0.0453, + 0.008, + 0.1501, + -0.5463, + -0.8128, + -0.1355 + ], + [ + -0.0191, + 0.0494, + 0.0135, + 0.113, + 0.5281, + 0.8333, + -0.118 + ], + [ + 0.0564, + -0.0041, + 0.0102, + 0.1679, + -0.9436, + 0.0593, + 0.2791 + ], + [ + 0.0407, + -0.0304, + 0.0067, + 0.1865, + -0.41, + -0.8749, + -0.1782 + ], + [ + -0.0454, + 0.0214, + 0.0063, + 0.2494, + 0.1562, + 0.955, + -0.0373 + ], + [ + -0.0504, + 0.0097, + 0.0054, + 0.2113, + 0.1088, + 0.9697, + -0.0568 + ], + [ + -0.0254, + 0.0483, + 0.0142, + 0.0758, + 0.5511, + 0.8007, + -0.2223 + ], + [ + 0.0131, + 0.0539, + 0.0133, + 0.0264, + -0.6474, + 0.7017, + -0.2962 + ], + [ + 0.0145, + -0.0504, + 0.0092, + 0.1383, + -0.78, + 0.5917, + 0.1494 + ], + [ + 0.0199, + 0.0473, + 0.0107, + 0.0895, + 0.8425, + 0.4925, + -0.1989 + ], + [ + -0.0394, + 0.0248, + 0.012, + 0.2609, + 0.2984, + 0.9059, + -0.149 + ], + [ + 0.0487, + 0.02, + 0.0015, + 0.1933, + 0.9036, + 0.2485, + -0.2905 + ], + [ + 0.0479, + -0.003, + 0.0021, + 0.2614, + -0.0434, + -0.9631, + -0.0474 + ], + [ + 0.0314, + 0.0448, + 0.0103, + 0.1052, + -0.8546, + -0.3803, + 0.3376 + ], + [ + -0.049, + -0.0055, + 0.0077, + 0.143, + -0.9623, + -0.0746, + -0.2191 + ], + [ + -0.0037, + 0.0546, + 0.0158, + 0.172, + 0.6355, + 0.7471, + -0.0921 + ], + [ + -0.0399, + 0.0005, + 0.0084, + 0.459, + 0.0282, + 0.886, + -0.0597 + ], + [ + 0.0145, + -0.0499, + 0.0073, + 0.1999, + -0.5744, + -0.7918, + -0.0568 + ], + [ + 0.0457, + 0.0313, + 0.0144, + 0.1395, + -0.938, + -0.2241, + 0.2245 + ], + [ + 0.0192, + -0.0489, + 0.011, + 0.1473, + -0.5647, + -0.8081, + -0.0793 + ], + [ + -0.0111, + 0.0537, + 0.016, + 0.1851, + 0.602, + 0.7723, + -0.0836 + ], + [ + 0.0491, + 0.0202, + 0.0083, + 0.1326, + 0.9305, + 0.2312, + -0.2515 + ], + [ + 0.0523, + 0.0167, + 0.0077, + 0.1329, + -0.9419, + -0.1272, + 0.2811 + ], + [ + -0.0016, + 0.0541, + 0.0116, + 0.0695, + -0.7338, + -0.601, + 0.309 + ], + [ + 0.0061, + 0.0432, + 0.0016, + 0.2075, + 0.5936, + -0.7577, + 0.1748 + ], + [ + -0.0473, + -0.0145, + 0.0059, + 0.112, + 0.9596, + 0.0123, + 0.2579 + ], + [ + 0.0534, + -0.0124, + 0.0021, + 0.0608, + 0.9587, + -0.0311, + -0.2761 + ], + [ + 0.0477, + -0.0127, + 0.0053, + 0.2132, + -0.1754, + -0.9527, + -0.1269 + ], + [ + -0.0474, + -0.0015, + 0.007, + 0.2416, + 0.0614, + 0.9597, + -0.1298 + ], + [ + -0.0375, + -0.029, + 0.0138, + 0.2393, + -0.2629, + 0.9291, + -0.1021 + ], + [ + -0.0275, + 0.0444, + 0.0072, + 0.2195, + 0.4247, + 0.8782, + -0.018 + ], + [ + 0.0366, + 0.0274, + 0.0014, + 0.2339, + 0.3523, + -0.897, + 0.1284 + ], + [ + 0.05, + 0.023, + 0.0119, + 0.1655, + 0.9332, + 0.2587, + -0.1868 + ], + [ + 0.0259, + -0.0396, + 0.0035, + 0.1623, + -0.5328, + -0.8097, + -0.1849 + ], + [ + 0.0246, + -0.0416, + -0.001, + 0.3298, + -0.4561, + -0.8208, + -0.0972 + ], + [ + 0.0507, + 0.006, + 0.0063, + 0.058, + 0.8935, + 0.0924, + -0.4355 + ], + [ + 0.0229, + 0.0484, + 0.0124, + 0.1502, + 0.5218, + -0.8227, + 0.1682 + ], + [ + -0.0291, + 0.0372, + 0.011, + 0.2568, + 0.3944, + 0.8321, + -0.2935 + ], + [ + 0.0114, + -0.0501, + 0.0067, + 0.1475, + -0.6133, + -0.7625, + -0.144 + ], + [ + 0.0102, + -0.0437, + 0.0021, + 0.3669, + -0.6569, + 0.6235, + 0.2123 + ], + [ + 0.0513, + 0.0118, + 0.0056, + 0.1942, + -0.93, + -0.0483, + 0.3082 + ], + [ + 0.0067, + -0.0536, + 0.0108, + 0.1016, + -0.744, + 0.645, + 0.142 + ], + [ + -0.0478, + 0.0258, + 0.0108, + 0.1556, + 0.3111, + 0.9162, + -0.199 + ], + [ + 0.0479, + 0.0268, + 0.0168, + 0.2238, + 0.1634, + -0.9454, + -0.1715 + ], + [ + 0.0515, + 0.0053, + 0.0065, + 0.2113, + -0.9479, + 0.0005, + 0.2384 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..6f5f3e4a50040f9576e1da77c458fa8da98f7247 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/piper_v1.json @@ -0,0 +1,491 @@ +{ + "uuid": "42b4ec81-6333-4cd2-a39e-8a8e29087a78", + "grasp": [ + [ + 0.025, + 0.0409, + 0.0012, + 0.2175, + 0.8041, + 0.5007, + -0.2354 + ], + [ + 0.0309, + 0.0442, + 0.011, + 0.1129, + 0.8397, + 0.435, + -0.305 + ], + [ + -0.0182, + 0.0488, + 0.0108, + 0.2028, + 0.5248, + 0.8236, + -0.0723 + ], + [ + 0.0382, + 0.0294, + 0.0066, + 0.222, + 0.3216, + -0.9128, + 0.1186 + ], + [ + 0.0083, + 0.048, + 0.0086, + 0.1406, + 0.6199, + -0.7453, + 0.2014 + ], + [ + 0.0096, + 0.0544, + 0.0111, + 0.256, + 0.5576, + -0.7871, + -0.0633 + ], + [ + 0.0298, + 0.0345, + 0.0009, + 0.6382, + 0.3463, + -0.6732, + 0.1397 + ], + [ + 0.0393, + 0.0331, + 0.0018, + 0.1919, + 0.864, + 0.3964, + -0.244 + ], + [ + 0.0522, + 0.0047, + 0.0096, + 0.1912, + 0.9518, + 0.1517, + -0.1855 + ], + [ + 0.0505, + 0.0123, + 0.013, + 0.093, + -0.9761, + -0.0753, + 0.1815 + ], + [ + -0.015, + 0.0457, + 0.0082, + 0.1601, + 0.5603, + 0.8003, + -0.1416 + ], + [ + 0.0207, + -0.0456, + 0.002, + 0.2503, + -0.7785, + 0.5452, + 0.1844 + ], + [ + 0.0516, + -0.0068, + 0.008, + 0.2586, + 0.0192, + -0.9571, + 0.1291 + ], + [ + -0.023, + 0.0477, + 0.0101, + 0.2001, + 0.5451, + 0.8139, + -0.0192 + ], + [ + -0.0116, + 0.0509, + 0.0117, + 0.1072, + 0.599, + 0.7614, + -0.2235 + ], + [ + 0.0323, + 0.0377, + 0.0004, + 0.2513, + 0.8191, + 0.4627, + -0.2278 + ], + [ + 0.0237, + -0.0452, + 0.008, + 0.1501, + -0.5464, + -0.8127, + -0.1355 + ], + [ + -0.0191, + 0.0493, + 0.0135, + 0.113, + 0.5282, + 0.8333, + -0.118 + ], + [ + -0.0454, + 0.0214, + 0.0063, + 0.2495, + 0.1563, + 0.955, + -0.0373 + ], + [ + -0.0254, + 0.0483, + 0.0142, + 0.0758, + 0.5511, + 0.8007, + -0.2223 + ], + [ + 0.0145, + -0.0504, + 0.0092, + 0.1383, + -0.7799, + 0.5918, + 0.1495 + ], + [ + 0.0199, + 0.0473, + 0.0107, + 0.0895, + 0.8426, + 0.4924, + -0.1989 + ], + [ + 0.0054, + 0.054, + 0.0132, + 0.0677, + -0.7418, + -0.5736, + 0.3408 + ], + [ + 0.0479, + -0.003, + 0.0021, + 0.2614, + -0.0435, + -0.9631, + -0.0474 + ], + [ + 0.0314, + 0.0448, + 0.0103, + 0.1052, + -0.8546, + -0.3802, + 0.3376 + ], + [ + -0.0037, + 0.0546, + 0.0158, + 0.172, + 0.6356, + 0.747, + -0.0921 + ], + [ + -0.0465, + 0.0004, + -0.0019, + 0.3765, + 0.0159, + 0.9242, + -0.0625 + ], + [ + -0.0035, + 0.0502, + 0.0144, + 0.0739, + 0.7263, + -0.6726, + 0.121 + ], + [ + 0.0192, + -0.0489, + 0.011, + 0.1473, + -0.5648, + -0.8081, + -0.0793 + ], + [ + -0.0111, + 0.0537, + 0.016, + 0.1851, + 0.602, + 0.7722, + -0.0836 + ], + [ + 0.0239, + 0.0451, + 0.0128, + 0.1741, + 0.4905, + -0.845, + 0.1229 + ], + [ + 0.0491, + 0.0202, + 0.0083, + 0.1327, + 0.9305, + 0.2311, + -0.2515 + ], + [ + 0.0093, + -0.0497, + 0.0086, + 0.2184, + -0.7123, + 0.6608, + 0.0912 + ], + [ + -0.0016, + 0.0541, + 0.0116, + 0.0694, + -0.7339, + -0.6009, + 0.309 + ], + [ + 0.0061, + 0.0432, + 0.0016, + 0.2074, + 0.5935, + -0.7577, + 0.1748 + ], + [ + -0.0473, + -0.0145, + 0.0059, + 0.112, + 0.9596, + 0.0122, + 0.2579 + ], + [ + 0.0477, + -0.0127, + 0.0053, + 0.2132, + -0.1755, + -0.9527, + -0.1269 + ], + [ + 0.012, + -0.0499, + 0.0038, + 0.2797, + -0.5928, + -0.7395, + -0.1534 + ], + [ + -0.0473, + -0.0015, + 0.007, + 0.2416, + 0.0615, + 0.9597, + -0.1297 + ], + [ + 0.0279, + 0.0432, + 0.0132, + 0.152, + 0.4601, + -0.8681, + 0.1077 + ], + [ + 0.0494, + 0.0174, + 0.0135, + 0.1756, + 0.0995, + -0.9715, + -0.1244 + ], + [ + -0.0275, + 0.0444, + 0.0072, + 0.2195, + 0.4248, + 0.8781, + -0.0179 + ], + [ + 0.0366, + 0.0274, + 0.0014, + 0.2339, + 0.3522, + -0.8971, + 0.1284 + ], + [ + 0.05, + 0.023, + 0.0119, + 0.1655, + 0.9332, + 0.2586, + -0.1868 + ], + [ + 0.0259, + -0.0396, + 0.0035, + 0.1624, + -0.5329, + -0.8096, + -0.1849 + ], + [ + 0.0229, + 0.0484, + 0.0124, + 0.1501, + 0.5217, + -0.8228, + 0.1682 + ], + [ + 0.0114, + -0.0501, + 0.0067, + 0.1475, + -0.6134, + -0.7624, + -0.1439 + ], + [ + -0.0514, + 0.0019, + 0.0126, + 0.0703, + -0.9814, + -0.0264, + -0.1767 + ], + [ + 0.0019, + 0.0532, + 0.0147, + 0.1276, + 0.6979, + 0.6779, + -0.1926 + ], + [ + 0.0513, + 0.0118, + 0.0056, + 0.1942, + -0.93, + -0.0482, + 0.3082 + ], + [ + 0.038, + 0.0301, + -0.0023, + 0.1665, + 0.8592, + 0.3463, + -0.3378 + ], + [ + 0.0229, + -0.0439, + 0.0117, + 0.2579, + -0.4627, + -0.8461, + 0.0593 + ], + [ + -0.0478, + 0.0258, + 0.0108, + 0.1556, + 0.3112, + 0.9161, + -0.199 + ], + [ + 0.0479, + 0.0268, + 0.0168, + 0.2238, + 0.1633, + -0.9454, + -0.1715 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/proposal.json b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..8a0515ccdee83125d4863cd3b75bb3d8759cb3cd --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00001/grasps/proposal.json @@ -0,0 +1,1205 @@ +{ + "uuid": "42b4ec81-6333-4cd2-a39e-8a8e29087a78", + "grasp": [ + [ + [ + 0.01288953302456967, + 0.10636429866507587, + 0.08600653408110018, + 0.2431933262860433, + 0.7274590181378389, + 0.6103450761982299, + -0.1978364752527676 + ], + 0.9822458028793335 + ], + [ + [ + 0.0438278621996843, + 0.09052253147318896, + 0.09274245498716707, + 0.1806931217078363, + 0.8385608097710412, + 0.48404311285441526, + -0.17282369334619782 + ], + 0.9821416139602661 + ], + [ + [ + 0.051233541872640766, + 0.08615719159796771, + 0.09617507157862062, + 0.21044777299950065, + 0.8733900484826279, + 0.4139831935516206, + -0.14669517206733534 + ], + 0.9805939793586731 + ], + [ + [ + 0.04141549458756081, + 0.10063935449078616, + 0.08222772626221056, + 0.21742553008852195, + 0.8040353434704364, + 0.5008134021930798, + -0.23545539174097296 + ], + 0.9788084030151367 + ], + [ + [ + 0.07315677842154138, + 0.09058604022219714, + 0.09146676657736177, + 0.11289860376603982, + 0.8396089384076435, + 0.435065665988142, + -0.30500590501162916 + ], + 0.9769223928451538 + ], + [ + [ + -0.0445633933876551, + 0.0826990567679697, + 0.10332482008278246, + 0.20274647783406527, + 0.524702245177582, + 0.8236170592684713, + -0.07236269282883956 + ], + 0.9761385917663574 + ], + [ + [ + -0.009990155975977261, + 0.10325032850459155, + 0.09014551041662569, + 0.2528550700443265, + 0.6554201899829065, + 0.6949680606786908, + -0.15332345793175214 + ], + 0.9760273694992065 + ], + [ + [ + 0.07171710273279779, + 0.06605166574671802, + 0.09563315359890337, + 0.22201714888884266, + 0.3217585857631125, + -0.9127470188634669, + 0.11862831720480917 + ], + 0.975871741771698 + ], + [ + [ + -0.017206422332385857, + 0.10766352345898685, + 0.08676545767128344, + 0.20079218835673196, + 0.5616874810701308, + 0.755799565692359, + -0.27010495590278966 + ], + 0.9756794571876526 + ], + [ + [ + 0.004194280319204251, + 0.09642306348040637, + 0.09826013891041155, + 0.14058236080449027, + 0.6199584442234685, + -0.7452056908561911, + 0.20138670656773539 + ], + 0.975590705871582 + ], + [ + [ + 0.07275139233126275, + -0.09339580307051602, + 0.08343150911867495, + 0.16489001124794633, + -0.8169297284060101, + 0.45326103284863395, + 0.3162143879366096 + ], + 0.9753884673118591 + ], + [ + [ + 0.07337099751486413, + 0.08405328174784717, + 0.08448014853536959, + 0.3310547848289535, + 0.46312297058329044, + -0.8220065502095129, + 0.015002498879169107 + ], + 0.9751151204109192 + ], + [ + [ + 0.05793370744242302, + 0.07336579641058978, + 0.09892762897550936, + 0.25599906320673194, + 0.5577453079107811, + -0.7870069088669389, + -0.06328330377350284 + ], + 0.9737504720687866 + ], + [ + [ + 0.04557574978127114, + 0.08707487961009082, + 0.10165971962749834, + 0.15569395187925672, + 0.8491458234327991, + 0.47803011316289823, + -0.16185788459114459 + ], + 0.9735148549079895 + ], + [ + [ + -0.01507302960352071, + 0.09640714158967074, + 0.10184875575840349, + 0.1334964579318395, + 0.5804637224807351, + 0.7771516679220141, + -0.2031645826651208 + ], + 0.9731695652008057 + ], + [ + [ + -0.03330643037305244, + 0.09601238002732333, + 0.09703464506208773, + 0.13181203653390344, + 0.7507042782849871, + -0.6013110984491897, + 0.23977830692377142 + ], + 0.9730802774429321 + ], + [ + [ + 0.00037353155232004286, + 0.10120948036864337, + 0.09609722046196337, + 0.11154607035597512, + 0.5881745560149167, + -0.7634918377831696, + 0.2422568461019698 + ], + 0.972405731678009 + ], + [ + [ + 0.10973606696381204, + -0.020980546197742853, + 0.08547989724218721, + 0.12734521322233727, + -0.948388025051776, + 0.023977652503653357, + 0.2894277505495346 + ], + 0.9722703695297241 + ], + [ + [ + 0.08942277422203652, + 0.03334686537936267, + 0.0950161933714139, + 0.24503212656393739, + 0.2615281720849607, + -0.9319993003465843, + -0.054217859704447396 + ], + 0.9721940159797668 + ], + [ + [ + -0.0013156540397930199, + 0.09339623531058368, + 0.10023165939390535, + 0.26100599770262506, + 0.7826630961644295, + 0.564571590737297, + -0.023942973873858665 + ], + 0.9721203446388245 + ], + [ + [ + 0.057354737725397266, + 0.07542167981818255, + 0.10306986121475573, + 0.2512013938240255, + 0.505400675195163, + -0.8254387193090134, + 0.010905866248777565 + ], + 0.9713835716247559 + ], + [ + [ + -0.09522805670247443, + -0.02851532208070222, + 0.09388500152170534, + 0.2929066108570886, + -0.2502353390684603, + 0.9194242850839799, + -0.07903781623577114 + ], + 0.9709818363189697 + ], + [ + [ + 0.06680651446833245, + 0.08668917795374927, + 0.08416760412990923, + 0.19181647859194045, + 0.8639790474918078, + 0.3964994212490498, + -0.24399764954791045 + ], + 0.970538318157196 + ], + [ + [ + 0.07064179768814675, + -0.09083826462075177, + 0.07957752494156237, + 0.22978421548306782, + -0.8525307089805926, + 0.38528477402144934, + 0.2682279766674614 + ], + 0.9704317450523376 + ], + [ + [ + 0.08228997578873269, + 0.04760539537027415, + 0.09707833526670809, + 0.19119413912633476, + 0.9518224238345635, + 0.15182852184618412, + -0.18554507431737205 + ], + 0.9702661633491516 + ], + [ + [ + 0.08810697188629739, + -0.0034271652743971684, + 0.10652070192634935, + 0.0929890868578692, + -0.9760857662198971, + -0.07539907187420872, + 0.18145133416088208 + ], + 0.9702437520027161 + ], + [ + [ + -0.024964948463896592, + 0.0870775767202669, + 0.10087542681038256, + 0.1600989290924457, + 0.5601609682915584, + 0.800324827708147, + -0.14166224853517215 + ], + 0.9696686267852783 + ], + [ + [ + 0.02214396810187928, + -0.10582263389870587, + 0.08425489513218279, + 0.2502859920578265, + -0.7785691690784938, + 0.5451572215116013, + 0.18436533018386234 + ], + 0.96966153383255 + ], + [ + [ + 0.02590159764542214, + 0.09023280074551639, + 0.09787335691988344, + 0.22563395199762398, + 0.599555548455168, + -0.7611548998399212, + 0.10131970426445254 + ], + 0.9695916175842285 + ], + [ + [ + 0.09114180197968118, + -0.03384528676316205, + 0.10009675173103685, + 0.16857422135474293, + -0.9653414601389008, + 0.04463058991310426, + 0.19418215076454792 + ], + 0.9691295623779297 + ], + [ + [ + 0.10156358471169107, + 0.01937872735515174, + 0.09299564806759233, + 0.2585765908810837, + 0.01928218368767123, + -0.9571390527249742, + 0.1290394427657314 + ], + 0.9691122174263 + ], + [ + [ + -0.05412075603351959, + 0.07318131258442935, + 0.10388997642338152, + 0.20010278324744946, + 0.5450045390037033, + 0.8139781355166423, + -0.019196965979968703 + ], + 0.96904057264328 + ], + [ + [ + -0.0009515387690797921, + 0.09874564042046603, + 0.10120232103407259, + 0.10718394285871753, + 0.5988910618902212, + 0.7614916234650968, + -0.22354329731341457 + ], + 0.9690125584602356 + ], + [ + [ + 0.04663040926708809, + 0.1011495702500635, + 0.07894619254410143, + 0.25124268997048504, + 0.8190393886536795, + 0.46277057693231427, + -0.22780470516636528 + ], + 0.968947172164917 + ], + [ + [ + 0.03346226802124611, + -0.08444871375605527, + 0.10161541847526903, + 0.15006461709034413, + -0.5463334092144535, + -0.8127924116919876, + -0.13553195995617942 + ], + 0.9685313701629639 + ], + [ + [ + -0.025587384868124802, + 0.08158011367276248, + 0.11008198259413118, + 0.1129928741229179, + 0.5281014623658133, + 0.8333174345915836, + -0.11799791968604458 + ], + 0.9683704972267151 + ], + [ + [ + -0.04439669782266983, + 0.09418486436560687, + 0.09204247294008608, + 0.3029424516287913, + 0.5773323951203578, + 0.7555898211365353, + -0.06322340342458399 + ], + 0.9680001735687256 + ], + [ + [ + 0.10808025738253228, + -0.03976835677668515, + 0.09054696260034914, + 0.16794082692717757, + -0.9436141466777718, + 0.05927307996856129, + 0.27906078698311687 + ], + 0.9678768515586853 + ], + [ + [ + 0.059045728948255695, + -0.07780093321844998, + 0.09508260784685488, + 0.1864847517993079, + -0.4099636728192887, + -0.8748761901778456, + -0.1781709184316225 + ], + 0.9677715301513672 + ], + [ + [ + -0.09282999793038733, + 0.03664532309129771, + 0.09534939823686953, + 0.24944788427097525, + 0.156203949057897, + 0.9549785709153924, + -0.037309629103584756 + ], + 0.9675509929656982 + ], + [ + [ + -0.09092123368726142, + 0.025640275382547942, + 0.0976642116719472, + 0.2113517966261844, + 0.10880612624548036, + 0.9696712345349782, + -0.05682729863145348 + ], + 0.9670183658599854 + ], + [ + [ + -0.012839033547500451, + 0.09309337665989932, + 0.1049741104060399, + 0.0758044745158196, + 0.5510470284133566, + 0.8007352818147762, + -0.2223147826330979 + ], + 0.9669671058654785 + ], + [ + [ + -0.02977256411657699, + 0.09283223380997714, + 0.09726369081079836, + 0.026410210321569323, + -0.6474153164782657, + 0.7017109094522069, + -0.2962392754782427 + ], + 0.9667327404022217 + ], + [ + [ + 0.021550903749009292, + -0.09048197040602628, + 0.10271448342144365, + 0.13829960714286338, + -0.7800169663631782, + 0.5917038409301432, + 0.14944335207104378 + ], + 0.9664448499679565 + ], + [ + [ + 0.04510391196264855, + 0.08266798784688052, + 0.10297398714363451, + 0.08945942454783667, + 0.8425109962088242, + 0.4925466390525327, + -0.1989221983209473 + ], + 0.9662922024726868 + ], + [ + [ + -0.07851166585431464, + 0.06821375718071994, + 0.09556098727524157, + 0.26085993527828066, + 0.29840718746327616, + 0.9059297971411243, + -0.14898472166202195 + ], + 0.9661368727684021 + ], + [ + [ + 0.09119291296257608, + 0.019822431781440344, + 0.10790690479814882, + 0.20779365676702888, + 0.06896257441844868, + -0.9732150986019578, + 0.07013081626608568 + ], + 0.9655148386955261 + ], + [ + [ + 0.06487957080855004, + 0.08366321405127582, + 0.09056843517362947, + 0.0677304598265305, + -0.741692651294897, + -0.5737000751189958, + 0.34084134085420364 + ], + 0.9649798274040222 + ], + [ + [ + 0.07731352439179055, + 0.06318202247574863, + 0.09748384056627626, + 0.17483815864835797, + 0.20956600675288967, + -0.9367156736141591, + 0.21926571528552427 + ], + 0.9648684859275818 + ], + [ + [ + 0.09247681936277978, + 0.07036280264809665, + 0.07861648200094576, + 0.19325299715700436, + 0.9036000468678095, + 0.24851089549306066, + -0.2905212026884868 + ], + 0.9645774364471436 + ], + [ + [ + 0.09882824560656182, + -0.014642237632424268, + 0.08967422394096727, + 0.2613985918696808, + -0.04342477655198318, + -0.9630892956203161, + -0.047371654093165474 + ], + 0.9642991423606873 + ], + [ + [ + 0.0984373881484472, + 0.05265117441967067, + 0.08674262909233446, + 0.10524850057657764, + -0.8545878363086119, + -0.3803029332893504, + 0.3375974853153721 + ], + 0.9641934037208557 + ], + [ + [ + -0.08986414531216987, + -0.03691331291839543, + 0.095755156856178, + 0.14295010852762607, + -0.962291540013042, + -0.0746490401362197, + -0.21906113141771413 + ], + 0.9638388156890869 + ], + [ + [ + -0.017967841867069085, + 0.09093351294949588, + 0.11003896294176455, + 0.17199759267461404, + 0.6354651251695658, + 0.7470708077093512, + -0.0921200905115864 + ], + 0.9636978507041931 + ], + [ + [ + -0.1224863783453501, + 0.013927966409473982, + 0.0667060583645093, + 0.4590103088136542, + 0.02818099674607613, + 0.8859754409337809, + -0.059689914452808975 + ], + 0.9635899066925049 + ], + [ + [ + 0.07849179646029107, + 0.04967522999003467, + 0.09551921932041521, + 0.24670078007966362, + 0.39438239866194164, + -0.8789692040193627, + -0.10494945030492739 + ], + 0.9635493755340576 + ], + [ + [ + -0.01128054438130029, + 0.077758844995051, + 0.11233596948921556, + 0.07391032512457227, + 0.7264000893611742, + -0.6724812401652781, + 0.12103369630738227 + ], + 0.9632853865623474 + ], + [ + [ + 0.040145420190235294, + -0.08246655384346906, + 0.10050083396971102, + 0.19993107260049503, + -0.5743425844969553, + -0.7917935122629651, + -0.05675557928918307 + ], + 0.9630239605903625 + ], + [ + [ + 0.09500964423670404, + 0.014824100823252764, + 0.10217168627321596, + 0.1394947591847519, + -0.938022472932989, + -0.22415130369916636, + 0.22452448748996653 + ], + 0.9622641801834106 + ], + [ + [ + 0.03432492977037064, + -0.07891660550877515, + 0.10733721105396624, + 0.14729872433624938, + -0.5647242062656539, + -0.8081477050033345, + -0.07929024886065171 + ], + 0.9621102809906006 + ], + [ + [ + -0.02998412521527179, + 0.08962867041781482, + 0.10960016099750872, + 0.18510293808060874, + 0.6019455602447761, + 0.7722725891791317, + -0.08362710576176319 + ], + 0.9618767499923706 + ], + [ + [ + 0.046352014597793735, + 0.11760665854170856, + 0.06335015295088167, + 0.39163888581200557, + 0.7842458691607264, + 0.4100167065582968, + -0.25192002732485486 + ], + 0.9609850645065308 + ], + [ + [ + 0.04166904902114502, + 0.08372881641343173, + 0.10550778059303637, + 0.1741331577602243, + 0.49055352169798494, + -0.8449473862427302, + 0.12287717525942426 + ], + 0.9606815576553345 + ], + [ + [ + 0.09061310878052346, + 0.05721608927205142, + 0.09378068594276781, + 0.13262618075046254, + 0.9304511480194304, + 0.2311650582424638, + -0.2514630652335012 + ], + 0.9605588912963867 + ], + [ + [ + -0.006891775689730724, + -0.09368042269989911, + 0.09920526741087313, + 0.21841992395022744, + -0.7123444936409338, + 0.6607204580830048, + 0.09114019679374392 + ], + 0.9603232741355896 + ], + [ + [ + 0.08110386570944421, + -0.055989798105210695, + 0.095491644721626, + 0.22994277459237641, + -0.3048138220378282, + -0.9224387348286922, + -0.057633625559152975 + ], + 0.960076093673706 + ], + [ + [ + 0.10979928514017694, + -0.0015482991634688118, + 0.08999082891285295, + 0.13291919000923408, + -0.9418878372688845, + -0.12717825366727148, + 0.281079139614408 + ], + 0.9600329995155334 + ], + [ + [ + 0.053147089388509906, + 0.08161764224722919, + 0.09311832932770128, + 0.06945277863515517, + -0.7338282491850757, + -0.6009810536524184, + 0.3090213348438126 + ], + 0.9600285887718201 + ], + [ + [ + 0.017048560735126655, + 0.09528743108466205, + 0.0886288031750905, + 0.20746795902239332, + 0.5936026400857467, + -0.7576632907475825, + 0.1747549413202907 + ], + 0.9600090384483337 + ], + [ + [ + -0.09805944869265922, + 0.006804224622546997, + 0.09179445801317568, + 0.11199811646212435, + 0.959589276029853, + 0.012287318598675323, + 0.2578640437112049 + ], + 0.9598504304885864 + ], + [ + [ + 0.10774712702288262, + -0.0022892902538931706, + 0.08784953204929705, + 0.06075936527689272, + 0.9587115884251632, + -0.03107446170984446, + -0.276070222189741 + ], + 0.9598420858383179 + ], + [ + [ + 0.08462344547762506, + -0.044972803390473756, + 0.0947238400393712, + 0.2131830974443773, + -0.1753984944255212, + -0.952720365164166, + -0.12693400221666626 + ], + 0.9595531225204468 + ], + [ + [ + 0.03567855497851006, + -0.10686242947623197, + 0.08506392387688036, + 0.279711651856453, + -0.592686397508239, + -0.7395565316684337, + -0.15342868861785958 + ], + 0.9594760537147522 + ], + [ + [ + -0.09302542665944465, + 0.026943098806887236, + 0.09368070660173769, + 0.2416089066376339, + 0.061388148831092434, + 0.9596977263025515, + -0.12975710210301342 + ], + 0.9592446684837341 + ], + [ + [ + 0.04468697374715439, + 0.07654773076727923, + 0.10815435348093386, + 0.15203376535914903, + 0.4601890995011615, + -0.8680466507123951, + 0.10773457698446912 + ], + 0.9587454795837402 + ], + [ + [ + 0.08670463105692498, + -0.0036597763587540725, + 0.1060982018524396, + 0.1755664059359942, + 0.09963755810698849, + -0.9714741028858349, + -0.12444621948197968 + ], + 0.958624005317688 + ], + [ + [ + -0.0882904858325518, + -0.02252621570870343, + 0.10202494708835955, + 0.23934002847253588, + -0.26286854490865547, + 0.929078401287216, + -0.10212640760333373 + ], + 0.9585137963294983 + ], + [ + [ + -0.06524247983441718, + 0.06662470480158862, + 0.09932320265114183, + 0.21948422190229602, + 0.42465883323885684, + 0.8781622056734577, + -0.017963635903790347 + ], + 0.957912027835846 + ], + [ + [ + 0.07019089600100152, + 0.06770035257294711, + 0.08886146990597124, + 0.23389603053950853, + 0.3522831705809642, + -0.897047673630359, + 0.1284316388498029 + ], + 0.957812488079071 + ], + [ + [ + 0.07687885006918542, + 0.064318005048781, + 0.10122389046490068, + 0.16548106375415028, + 0.9331552789705378, + 0.25869787614370554, + -0.18684927547878916 + ], + 0.9574882388114929 + ], + [ + [ + 0.018658968340893905, + -0.10071659455344144, + 0.0964209630900609, + 0.28652759392705635, + -0.8150426124459973, + 0.4971473074298387, + 0.0803245450085943 + ], + 0.9574859142303467 + ], + [ + [ + 0.03260002722992531, + -0.08779091755196515, + 0.09319293944179888, + 0.16234157334546162, + -0.5327628894455311, + -0.8097038037816785, + -0.18490177753296477 + ], + 0.9574309587478638 + ], + [ + [ + 0.07080361684813134, + -0.08855686703965131, + 0.07693440912306185, + 0.3297769415380083, + -0.45611126459056606, + -0.8208278541544427, + -0.09721788409363823 + ], + 0.9571954011917114 + ], + [ + [ + 0.1290391950870954, + 0.024790819787531462, + 0.06894785610973711, + 0.05800656751785677, + 0.8935299537250706, + 0.09243939263135104, + -0.43553922740760836 + ], + 0.9568846821784973 + ], + [ + [ + 0.030147473048707168, + 0.09265260031178531, + 0.1040077179485547, + 0.15016280010169272, + 0.5218313629217737, + -0.8227063156749872, + 0.1682185491713422 + ], + 0.9568358063697815 + ], + [ + [ + -0.04908237168536552, + 0.1077089198465639, + 0.08196340946495409, + 0.2567799576516024, + 0.3943662349650803, + 0.832110210586798, + -0.2934824074882573 + ], + 0.9565022587776184 + ], + [ + [ + -0.09522020379052527, + -0.03702469164773885, + 0.08733682034551973, + 0.2725341130439869, + 0.0012756704780024076, + 0.9340424752639641, + 0.23084233644400334 + ], + 0.9564363956451416 + ], + [ + [ + 0.02033299086644284, + 0.10222853352978763, + 0.08339620081722612, + 0.3102946777636693, + 0.8095275927352001, + 0.48850217702821264, + -0.09873151771642696 + ], + 0.9562853574752808 + ], + [ + [ + 0.01634482732071511, + -0.09092061588808957, + 0.10005704758703585, + 0.14746897875755974, + -0.6133337614638801, + -0.7624651390701203, + -0.14394967542704767 + ], + 0.9553558230400085 + ], + [ + [ + -0.08637275109038718, + -0.013155949248821172, + 0.10720076112091417, + 0.07031303468398323, + -0.9813816979481546, + -0.02655407403373017, + -0.17675101481501476 + ], + 0.9549853205680847 + ], + [ + [ + 0.11339489808334939, + 0.026093015500455466, + 0.08088645039141054, + 0.14090571629654783, + -0.8823373188203566, + -0.27303542728947927, + 0.3564801402276328 + ], + 0.954933762550354 + ], + [ + [ + -0.008055514469454367, + -0.11989110330388013, + 0.0674656078034627, + 0.366932189974534, + -0.6569492501839266, + 0.6234534106387796, + 0.21233062757441026 + ], + 0.9547949433326721 + ], + [ + [ + 0.011657818872769992, + 0.09798846771672305, + 0.10578465161859865, + 0.1275797938308708, + 0.6978306668448869, + 0.6779826366182482, + -0.1926014046186088 + ], + 0.9544140100479126 + ], + [ + [ + 0.11169620296015374, + -0.0220171808664507, + 0.08051389155924196, + 0.19423441342555986, + -0.9300406841015083, + -0.048283658431777676, + 0.30816555110146604 + ], + 0.9543870687484741 + ], + [ + [ + 0.08548555215849511, + 0.0831943341131502, + 0.07072864918053026, + 0.1664688760339696, + 0.859151782173937, + 0.3464365129482805, + -0.33782846386231447 + ], + 0.9542838335037231 + ], + [ + [ + 0.07302769711269967, + -0.05800063157722417, + 0.09938418565332766, + 0.2578760134033174, + -0.46262417636662834, + -0.8461447571688392, + 0.05931174477282325 + ], + 0.9542262554168701 + ], + [ + [ + 0.01482437243713967, + -0.08774446318194333, + 0.10655274687349672, + 0.10165441849559143, + -0.7440023751398062, + 0.644958859084943, + 0.14196800722169406 + ], + 0.953875720500946 + ], + [ + [ + -0.06423931131110557, + 0.07288807263329562, + 0.09977592973053331, + 0.1555995395822587, + 0.31113790800709734, + 0.9161711924230401, + -0.19902846946329392 + ], + 0.9534861445426941 + ], + [ + [ + 0.0967407493854963, + 0.0011596632489183209, + 0.10254631636679049, + 0.22374704015711674, + 0.16337015533875704, + -0.9454291134666544, + -0.17149707220584312 + ], + 0.9532812237739563 + ], + [ + [ + 0.09758237442030541, + -0.03558747837588254, + 0.08780196754276628, + 0.21127457141588085, + -0.9478954961556462, + 0.00045617968405609055, + 0.2384470082449631 + ], + 0.9522873759269714 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00001/metadata.json b/Objects/RoboDojo/Rigid/wine_bowl/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..dad0dd99bdce6733045f50b8c5239b225e79e926 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00001/metadata.json @@ -0,0 +1,146 @@ +{ + "uuid": "42b4ec81-6333-4cd2-a39e-8a8e29087a78", + "physics": { + "mass": 0.22, + "friction": 0.25 + }, + "geometry": { + "faces": 283025, + "vertices": 159918, + "aligned_bbox": { + "vertices": [ + [ + -0.0551, + -0.0549, + -0.02 + ], + [ + -0.0551, + -0.0549, + 0.02 + ], + [ + -0.0551, + 0.0551, + -0.02 + ], + [ + -0.0551, + 0.0551, + 0.02 + ], + [ + 0.0549, + -0.0549, + -0.02 + ], + [ + 0.0549, + -0.0549, + 0.02 + ], + [ + 0.0549, + 0.0551, + -0.02 + ], + [ + 0.0549, + 0.0551, + 0.02 + ] + ], + "extents": [ + 0.11, + 0.11, + 0.04 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0551, + -0.0549, + -0.02 + ], + [ + -0.0551, + -0.0549, + 0.02 + ], + [ + -0.0551, + 0.0551, + -0.02 + ], + [ + -0.0551, + 0.0551, + 0.02 + ], + [ + 0.0549, + -0.0549, + -0.02 + ], + [ + 0.0549, + -0.0549, + 0.02 + ], + [ + 0.0549, + 0.0551, + -0.02 + ], + [ + 0.0549, + 0.0551, + 0.02 + ] + ], + "extents": [ + 0.11, + 0.11, + 0.04 + ] + }, + "radius": 0.055 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + -0.0042, + 0.0003, + 0.0009 + ], + "projection_circle": { + "center": [ + -0.0, + 0.0004, + -0.0202, + 1.0, + 0.0042, + -0.0003, + -0.0009 + ], + "radius": 0.0551 + }, + "contact_circle": { + "center": [ + 0.0, + 0.0001, + -0.0202, + 1.0, + 0.0042, + -0.0003, + -0.0009 + ], + "radius": 0.0254 + } + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00002/description.json b/Objects/RoboDojo/Rigid/wine_bowl/00002/description.json new file mode 100644 index 0000000000000000000000000000000000000000..8af3cb9afc3f72c1e5e21a6decd48c0de7ab2f3f --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00002/description.json @@ -0,0 +1,137 @@ +{ + "uuid": "054c88f9-68c5-4d12-8d56-d3bcaac25a57", + "caption": { + "color": [ + "matte black", + "deep black", + "non-reflective black" + ], + "material": [ + "ceramic", + "smooth ceramic", + "glossy-finished ceramic" + ], + "size": [ + "small bowl", + "hand-sized", + "single-serving" + ], + "name": [ + "black bowl", + "ceramic bowl", + "simple bowl" + ], + "shape": [ + "shallow round bowl", + "wide rim", + "gentle curve inward" + ], + "function": [ + "holding food", + "serving snacks", + "holding small items" + ] + }, + "description": [ + "ceramic bowl for serving snacks with ceramic", + "small bowl ceramic object", + "single-serving glossy-finished ceramic simple bowl", + "black bowl in single-serving", + "matte black wide rim black bowl", + "deep black object used for serving snacks", + "single-serving non-reflective black glossy-finished ceramic ceramic bowl", + "simple bowl primarily used for holding food", + "smooth ceramic simple bowl used for holding small items", + "single-serving matte black simple bowl", + "black bowl for holding small items use", + "ceramic bowl made of smooth ceramic", + "wide rim black bowl ideal for holding small items", + "ceramic bowl intended for serving snacks", + "simple bowl commonly found in hand-sized size", + "simple bowl with matte black color", + "smooth ceramic object used for serving snacks", + "hand-sized wide rim ceramic bowl for serving snacks", + "simple bowl for holding small items tasks", + "glossy-finished ceramic object for serving snacks", + "simple bowl featuring smooth ceramic build", + "glossy-finished ceramic matte black ceramic bowl", + "simple bowl with smooth ceramic body", + "simple bowl ideal for serving snacks", + "black bowl suitable for serving snacks", + "deep black shallow round bowl ceramic bowl used for holding food", + "simple bowl intended for serving snacks usage", + "single-serving smooth ceramic simple bowl", + "shallow round bowl-shaped black bowl", + "ceramic object used for holding food", + "black bowl ideal for serving snacks", + "simple bowl used to holding small items", + "black bowl appropriate for holding small items", + "wide rim ceramic bowl ideal for serving snacks", + "deep black smooth ceramic shallow round bowl object", + "ceramic bowl for holding small items with smooth ceramic", + "ceramic non-reflective black ceramic bowl", + "black bowl for holding food use", + "non-reflective black black bowl for holding food", + "ceramic bowl suitable for holding small items", + "ceramic bowl in gentle curve inward", + "small bowl smooth ceramic shallow round bowl for holding small items", + "black bowl intended for holding small items", + "deep black gentle curve inward simple bowl used for serving snacks", + "simple bowl with ceramic body", + "small bowl glossy-finished ceramic object", + "shallow round bowl-shaped simple bowl", + "smooth ceramic black bowl used for serving snacks", + "holding food use of ceramic bowl", + "small bowl black bowl used for holding small items", + "single-serving matte black wide rim object", + "ceramic bowl with non-reflective black exterior", + "black bowl designed for serving snacks", + "simple bowl suitable for holding small items", + "deep black object used for holding food", + "non-reflective black object used for holding small items", + "serving snacks with simple bowl", + "hand-sized deep black black bowl", + "matte black ceramic bowl typically used for holding food", + "serving snacks use of simple bowl", + "ceramic bowl with gentle curve inward geometry", + "black bowl in shallow round bowl", + "small bowl non-reflective black gentle curve inward for holding small items", + "glossy-finished ceramic deep black ceramic bowl", + "non-reflective black simple bowl used for holding small items", + "small bowl ceramic gentle curve inward for serving snacks", + "shallow round bowl object made of glossy-finished ceramic", + "wide rim black bowl ideal for serving snacks", + "small bowl matte black smooth ceramic black bowl", + "glossy-finished ceramic black bowl used for serving snacks", + "black bowl typically made of glossy-finished ceramic", + "smooth ceramic gentle curve inward object used for holding food", + "simple bowl shaped like a gentle curve inward", + "small bowl shallow round bowl object for serving snacks", + "black bowl for serving snacks with smooth ceramic", + "hand-sized simple bowl used for serving snacks", + "simple bowl shaped like a wide rim", + "ceramic bowl featuring wide rim shape", + "ceramic bowl with glossy-finished ceramic body", + "simple bowl made from ceramic", + "smooth ceramic object for holding small items", + "black bowl ideal for holding small items", + "simple bowl made from glossy-finished ceramic", + "glossy-finished ceramic shallow round bowl object used for serving snacks", + "ceramic bowl in hand-sized", + "gentle curve inward ceramic bowl for serving snacks", + "black bowl intended for serving snacks", + "black bowl sized as single-serving", + "deep black shallow round bowl ceramic bowl used for serving snacks", + "glossy-finished ceramic shallow round bowl simple bowl", + "matte black wide rim ceramic bowl", + "ceramic bowl made from glossy-finished ceramic", + "matte black hand-sized black bowl for holding small items", + "wide rim ceramic bowl used for holding food", + "black bowl suitable for holding food", + "matte black ceramic bowl suitable for holding food", + "ceramic bowl with ceramic surface", + "ceramic black bowl", + "black bowl with glossy-finished ceramic construction", + "small bowl gentle curve inward object" + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/UMI.json b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..c756b3599029ffb7a2f9141ae2b78404d55f1179 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/UMI.json @@ -0,0 +1,311 @@ +{ + "uuid": "054c88f9-68c5-4d12-8d56-d3bcaac25a57", + "grasp": [ + [ + 0.0317, + 0.0675, + 0.0202, + 0.2489, + 0.7744, + 0.5612, + -0.153 + ], + [ + -0.0035, + -0.0738, + 0.0251, + 0.1679, + -0.6754, + 0.6809, + 0.228 + ], + [ + 0.0191, + -0.0747, + 0.0211, + 0.2104, + -0.7444, + 0.5834, + 0.2475 + ], + [ + 0.0498, + 0.0588, + 0.0223, + 0.1943, + 0.8503, + 0.4137, + -0.2609 + ], + [ + 0.0539, + 0.0528, + 0.0181, + 0.155, + 0.8823, + 0.3884, + -0.2159 + ], + [ + 0.041, + 0.0751, + 0.0216, + 0.0618, + -0.8002, + -0.3332, + 0.4948 + ], + [ + 0.0131, + 0.073, + 0.0227, + 0.2391, + 0.6972, + 0.6632, + -0.1299 + ], + [ + 0.0629, + -0.0467, + 0.0185, + 0.189, + -0.844, + 0.3757, + 0.3328 + ], + [ + -0.072, + -0.0142, + 0.0221, + 0.2847, + -0.1346, + 0.9383, + 0.1431 + ], + [ + -0.0123, + 0.0772, + 0.0183, + 0.1523, + 0.7454, + -0.6127, + 0.214 + ], + [ + -0.0161, + -0.0829, + 0.0157, + 0.1786, + -0.7881, + -0.5689, + -0.1529 + ], + [ + 0.0689, + 0.0318, + 0.0139, + 0.1, + 0.9286, + 0.2545, + -0.2507 + ], + [ + 0.0729, + 0.0187, + 0.0204, + 0.2819, + 0.1356, + -0.9495, + -0.0239 + ], + [ + 0.0374, + 0.0682, + 0.0454, + -0.0, + 0.7439, + 0.6187, + -0.2527 + ], + [ + 0.0628, + 0.0489, + 0.0183, + 0.1931, + 0.3186, + -0.9275, + 0.0313 + ], + [ + -0.0651, + -0.0338, + 0.0182, + 0.3037, + -0.2487, + 0.9174, + 0.0657 + ], + [ + 0.0223, + 0.0666, + 0.02, + 0.2702, + 0.484, + -0.8313, + 0.0418 + ], + [ + 0.0701, + -0.0378, + 0.015, + 0.1661, + -0.8991, + 0.3054, + 0.2659 + ], + [ + 0.0662, + -0.0474, + 0.0207, + 0.3416, + -0.7961, + 0.4253, + 0.262 + ], + [ + 0.0223, + -0.073, + 0.0191, + 0.2426, + -0.5528, + -0.7929, + -0.0827 + ], + [ + -0.0604, + -0.0491, + 0.0247, + 0.2451, + -0.3404, + 0.9025, + 0.0979 + ], + [ + -0.0093, + 0.0774, + 0.0187, + 0.3108, + 0.6405, + -0.702, + 0.0198 + ], + [ + -0.0338, + -0.0695, + 0.0241, + 0.2526, + -0.5086, + 0.822, + 0.0433 + ], + [ + 0.0749, + 0.0086, + 0.0197, + 0.2358, + 0.9203, + 0.1583, + -0.2692 + ], + [ + -0.048, + 0.0561, + 0.0211, + 0.1493, + 0.8486, + -0.4544, + 0.2258 + ], + [ + -0.0702, + 0.0273, + 0.0213, + 0.1603, + 0.933, + -0.2197, + 0.2356 + ], + [ + 0.0677, + 0.0371, + 0.0214, + 0.1221, + 0.9262, + 0.2683, + -0.2351 + ], + [ + -0.0606, + 0.0484, + 0.0271, + 0.2386, + 0.4196, + 0.8193, + -0.3095 + ], + [ + -0.0271, + -0.0717, + 0.0205, + 0.3065, + -0.5051, + 0.8065, + 0.023 + ], + [ + -0.0562, + 0.0555, + 0.0239, + 0.129, + 0.472, + 0.8156, + -0.3088 + ], + [ + 0.0737, + -0.0223, + 0.0217, + 0.1818, + -0.2047, + -0.9321, + -0.237 + ], + [ + 0.0659, + 0.0377, + 0.0167, + 0.2492, + 0.2216, + -0.9413, + -0.0526 + ], + [ + 0.064, + 0.0438, + 0.0273, + 0.23, + 0.8744, + 0.3166, + -0.2868 + ], + [ + 0.0706, + 0.03, + 0.025, + 0.1908, + 0.2559, + -0.9294, + 0.1854 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/XOne.json b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..f3109b34c2e8bddfc259cc7ae2affba6df411d4d --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/XOne.json @@ -0,0 +1,104 @@ +{ + "uuid": "054c88f9-68c5-4d12-8d56-d3bcaac25a57", + "grasp": [ + [ + 0.0177, + 0.0751, + 0.0263, + 0.0663, + 0.4652, + -0.8822, + 0.0297 + ], + [ + -0.0811, + 0.001, + 0.0129, + 0.2343, + -0.0715, + 0.9645, + -0.0981 + ], + [ + 0.0726, + 0.0338, + 0.0115, + 0.0936, + 0.9348, + 0.2536, + -0.2305 + ], + [ + -0.0519, + 0.0617, + 0.0227, + 0.4938, + 0.3594, + 0.769, + -0.1888 + ], + [ + 0.049, + 0.0622, + 0.0123, + 0.1334, + 0.8638, + 0.4404, + -0.2051 + ], + [ + 0.069, + 0.0475, + 0.0182, + 0.1283, + 0.9073, + 0.328, + -0.2296 + ], + [ + -0.0719, + 0.0414, + 0.0202, + 0.2991, + 0.2012, + 0.926, + 0.1121 + ], + [ + 0.0645, + -0.0461, + 0.0228, + 0.3453, + -0.7944, + 0.4174, + 0.2748 + ], + [ + 0.0437, + -0.0605, + 0.0178, + 0.1958, + -0.4444, + -0.8422, + -0.2342 + ], + [ + 0.0332, + -0.0682, + 0.0172, + 0.2845, + -0.7541, + 0.5643, + 0.1788 + ], + [ + -0.014, + -0.078, + 0.0127, + 0.1284, + -0.682, + 0.6932, + 0.1949 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/aloha.json b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..024a620021766b4b2b675c23f3cf4c63b37c7689 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/aloha.json @@ -0,0 +1,194 @@ +{ + "uuid": "054c88f9-68c5-4d12-8d56-d3bcaac25a57", + "grasp": [ + [ + 0.02, + -0.0836, + 0.018, + 0.1884, + -0.6025, + -0.7608, + -0.1507 + ], + [ + 0.0039, + -0.0766, + 0.0215, + 0.2133, + -0.6231, + -0.7442, + -0.1115 + ], + [ + 0.0757, + -0.0062, + 0.0212, + 0.2193, + 0.0144, + -0.9697, + 0.1066 + ], + [ + 0.0149, + 0.0731, + 0.0188, + 0.2274, + 0.5462, + -0.8053, + 0.039 + ], + [ + 0.0752, + 0.0145, + 0.0208, + 0.2201, + 0.1098, + -0.9676, + -0.0564 + ], + [ + 0.0629, + -0.0466, + 0.019, + 0.1915, + -0.8468, + 0.3701, + 0.3307 + ], + [ + -0.0724, + -0.0031, + 0.0195, + 0.3425, + 0.1517, + 0.9271, + -0.0125 + ], + [ + 0.0673, + 0.0309, + 0.0151, + 0.1045, + 0.9258, + 0.2547, + -0.2592 + ], + [ + -0.0486, + 0.0515, + 0.0183, + 0.4065, + 0.1754, + 0.8576, + -0.2618 + ], + [ + 0.0398, + 0.0733, + 0.0121, + 0.2765, + 0.7482, + 0.5867, + -0.1396 + ], + [ + 0.0655, + -0.0468, + 0.0219, + 0.3484, + -0.7993, + 0.4148, + 0.2603 + ], + [ + -0.0723, + 0.028, + 0.0202, + 0.1568, + 0.9351, + -0.2249, + 0.2248 + ], + [ + 0.0611, + 0.0455, + 0.0232, + 0.1953, + 0.2784, + -0.9402, + -0.0198 + ], + [ + 0.0511, + 0.0566, + 0.0188, + 0.2768, + 0.3487, + -0.8941, + -0.0478 + ], + [ + -0.0464, + 0.0636, + 0.0244, + 0.292, + 0.7929, + -0.5213, + 0.1195 + ], + [ + -0.0708, + 0.0303, + 0.0193, + 0.1433, + 0.932, + -0.254, + 0.2152 + ], + [ + 0.0736, + 0.0408, + 0.018, + 0.1105, + 0.9305, + 0.2877, + -0.198 + ], + [ + 0.0314, + 0.0698, + 0.0205, + 0.2812, + 0.4515, + -0.8464, + -0.0261 + ], + [ + -0.0557, + 0.0547, + 0.0244, + 0.1377, + 0.4619, + 0.8169, + -0.3169 + ], + [ + 0.0336, + -0.0686, + 0.0168, + 0.2803, + -0.7524, + 0.5693, + 0.1769 + ], + [ + 0.0719, + 0.0305, + 0.0243, + 0.1814, + 0.2604, + -0.931, + 0.1803 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/panda.json b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..f9d2dd95d7a114d9d2f53cfc247df7ce317cf42f --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/panda.json @@ -0,0 +1,716 @@ +{ + "uuid": "054c88f9-68c5-4d12-8d56-d3bcaac25a57", + "grasp": [ + [ + 0.0423, + -0.0617, + 0.0223, + 0.1769, + -0.8372, + 0.4675, + 0.2221 + ], + [ + 0.0311, + 0.0657, + 0.0215, + 0.2549, + 0.7721, + 0.5595, + -0.1611 + ], + [ + 0.0186, + -0.0731, + 0.0226, + 0.2164, + -0.7425, + 0.5802, + 0.2552 + ], + [ + 0.028, + 0.0682, + 0.0199, + 0.263, + 0.7683, + 0.5629, + -0.154 + ], + [ + 0.038, + 0.0662, + 0.0216, + 0.1514, + 0.4791, + -0.8564, + 0.1187 + ], + [ + 0.0398, + -0.0663, + 0.0221, + 0.2188, + -0.7977, + 0.5225, + 0.2067 + ], + [ + 0.0487, + 0.0574, + 0.0239, + 0.1987, + 0.847, + 0.4127, + -0.2698 + ], + [ + 0.0332, + 0.0673, + 0.0228, + 0.2309, + 0.7893, + 0.5333, + -0.1981 + ], + [ + 0.0178, + -0.0739, + 0.024, + 0.229, + -0.5768, + -0.7614, + -0.1875 + ], + [ + 0.0039, + -0.076, + 0.022, + 0.2183, + -0.6287, + -0.7371, + -0.1172 + ], + [ + 0.0767, + -0.0143, + 0.0217, + 0.2232, + -0.0466, + -0.9725, + 0.0472 + ], + [ + 0.0548, + 0.0511, + 0.0199, + 0.2035, + 0.8717, + 0.3924, + -0.2115 + ], + [ + 0.0755, + -0.006, + 0.0214, + 0.2285, + 0.0083, + -0.9674, + 0.109 + ], + [ + 0.0753, + 0.0145, + 0.0208, + 0.2239, + 0.1049, + -0.9673, + -0.0562 + ], + [ + -0.0396, + 0.0621, + 0.0225, + 0.2939, + 0.4237, + 0.8563, + -0.0306 + ], + [ + 0.0567, + 0.0471, + 0.0223, + 0.1292, + 0.8917, + 0.3593, + -0.2431 + ], + [ + 0.0172, + 0.0765, + 0.0253, + 0.0382, + -0.81, + -0.4933, + 0.3148 + ], + [ + 0.0527, + 0.0514, + 0.0194, + 0.1592, + 0.8795, + 0.3879, + -0.2251 + ], + [ + -0.0115, + 0.0732, + 0.0225, + 0.2829, + 0.5736, + 0.7647, + -0.0788 + ], + [ + -0.039, + 0.0611, + 0.0235, + 0.2459, + 0.467, + 0.8399, + -0.1265 + ], + [ + 0.0618, + -0.0457, + 0.0202, + 0.1929, + -0.841, + 0.3726, + 0.3416 + ], + [ + -0.003, + 0.0765, + 0.0218, + 0.2342, + 0.6441, + -0.7203, + 0.107 + ], + [ + 0.0467, + 0.0602, + 0.0167, + 0.2069, + 0.8365, + 0.4727, + -0.1846 + ], + [ + -0.0475, + -0.0011, + 0.0258, + 0.0501, + -0.2076, + 0.9522, + 0.2183 + ], + [ + -0.07, + 0.0011, + 0.02, + 0.3339, + 0.0456, + 0.9381, + -0.0797 + ], + [ + -0.003, + 0.0722, + 0.0211, + 0.1234, + 0.6846, + -0.6733, + 0.2505 + ], + [ + -0.031, + -0.0898, + 0.0099, + 0.1192, + -0.7384, + -0.6634, + -0.023 + ], + [ + -0.0541, + -0.0527, + 0.0236, + 0.2432, + -0.367, + 0.8974, + 0.0279 + ], + [ + 0.0711, + 0.0327, + 0.0211, + 0.2544, + 0.8649, + 0.2917, + -0.3196 + ], + [ + 0.0805, + 0.0046, + 0.0187, + 0.2757, + 0.0276, + -0.9593, + -0.055 + ], + [ + 0.0673, + 0.0308, + 0.0152, + 0.1028, + 0.9256, + 0.2546, + -0.2604 + ], + [ + 0.0558, + -0.0514, + 0.0206, + 0.2009, + -0.3951, + -0.8702, + -0.2153 + ], + [ + 0.0748, + 0.0194, + 0.0193, + 0.272, + 0.1363, + -0.9522, + -0.026 + ], + [ + 0.037, + -0.069, + 0.0236, + 0.2628, + -0.4976, + -0.826, + -0.0316 + ], + [ + 0.0161, + 0.077, + 0.0188, + 0.2872, + 0.5398, + -0.7913, + 0.0058 + ], + [ + 0.0676, + 0.0312, + 0.025, + 0.1719, + 0.2883, + -0.9283, + 0.1603 + ], + [ + -0.0502, + -0.0576, + 0.022, + 0.2693, + -0.3688, + 0.8895, + -0.0129 + ], + [ + -0.055, + -0.054, + 0.0202, + 0.1038, + -0.8917, + -0.3672, + -0.2434 + ], + [ + -0.0614, + 0.0399, + 0.0206, + 0.259, + 0.3368, + 0.8881, + -0.1753 + ], + [ + -0.0449, + 0.0559, + 0.0222, + 0.3373, + 0.3837, + 0.8493, + -0.1331 + ], + [ + 0.0585, + 0.0459, + 0.0205, + 0.2201, + 0.3054, + -0.9264, + 0.01 + ], + [ + 0.0441, + 0.0556, + 0.0177, + 0.15, + 0.8537, + 0.4359, + -0.2423 + ], + [ + -0.0045, + -0.0747, + 0.028, + 0.2116, + -0.6725, + 0.7, + 0.1139 + ], + [ + 0.0232, + 0.0685, + 0.019, + 0.2617, + 0.4852, + -0.8335, + 0.0361 + ], + [ + 0.0359, + 0.0635, + 0.0196, + 0.3124, + 0.7523, + 0.5501, + -0.184 + ], + [ + 0.0504, + -0.0623, + 0.0216, + 0.2913, + -0.3906, + -0.8729, + 0.0239 + ], + [ + -0.064, + 0.0366, + 0.0264, + 0.3497, + 0.2033, + 0.909, + 0.1007 + ], + [ + 0.0685, + -0.0369, + 0.0164, + 0.1692, + -0.8967, + 0.3025, + 0.2752 + ], + [ + 0.065, + -0.0464, + 0.0224, + 0.346, + -0.7939, + 0.4207, + 0.2701 + ], + [ + 0.0231, + -0.075, + 0.0181, + 0.234, + -0.5528, + -0.796, + -0.0775 + ], + [ + -0.0591, + -0.0478, + 0.026, + 0.2545, + -0.3405, + 0.8994, + 0.1016 + ], + [ + -0.0093, + 0.0795, + 0.0178, + 0.3037, + 0.6413, + -0.7045, + 0.0125 + ], + [ + -0.0331, + -0.0677, + 0.0253, + 0.261, + -0.5092, + 0.8187, + 0.0487 + ], + [ + -0.0127, + -0.0783, + 0.0223, + 0.3337, + -0.6944, + -0.6269, + -0.1162 + ], + [ + 0.0786, + 0.0099, + 0.0171, + 0.2363, + 0.9201, + 0.1693, + -0.2627 + ], + [ + -0.0513, + -0.0558, + 0.0191, + 0.0738, + -0.8706, + -0.4121, + -0.2584 + ], + [ + -0.0492, + 0.0577, + 0.02, + 0.1452, + 0.8514, + -0.4551, + 0.2166 + ], + [ + -0.0721, + 0.028, + 0.0203, + 0.1587, + 0.9356, + -0.2204, + 0.2256 + ], + [ + 0.0604, + -0.0484, + 0.0177, + 0.1894, + -0.3895, + -0.8752, + -0.2154 + ], + [ + 0.0515, + 0.057, + 0.0186, + 0.2809, + 0.3458, + -0.894, + -0.0469 + ], + [ + -0.0469, + 0.0641, + 0.024, + 0.2896, + 0.792, + -0.5249, + 0.1153 + ], + [ + 0.0736, + 0.0247, + 0.0228, + 0.1543, + -0.9357, + -0.0911, + 0.3038 + ], + [ + 0.0442, + -0.0612, + 0.0174, + 0.1906, + -0.4465, + -0.8434, + -0.2301 + ], + [ + -0.0735, + 0.0216, + 0.0219, + 0.2399, + 0.1264, + 0.9625, + -0.0059 + ], + [ + -0.0706, + 0.0301, + 0.0194, + 0.1448, + 0.9328, + -0.2503, + 0.2152 + ], + [ + 0.0662, + 0.036, + 0.0227, + 0.125, + 0.9233, + 0.2682, + -0.2448 + ], + [ + 0.0714, + -0.0336, + 0.0211, + 0.2742, + -0.1617, + -0.9411, + 0.1138 + ], + [ + -0.0421, + -0.0651, + 0.0189, + 0.2432, + -0.8152, + -0.5074, + -0.1373 + ], + [ + 0.0314, + 0.0697, + 0.0206, + 0.286, + 0.4518, + -0.8447, + -0.0242 + ], + [ + -0.0265, + -0.0699, + 0.0218, + 0.3147, + -0.5059, + 0.8027, + 0.0283 + ], + [ + -0.07, + 0.0138, + 0.0149, + 0.2651, + 0.0874, + 0.9589, + 0.0503 + ], + [ + -0.0549, + 0.0541, + 0.0251, + 0.1374, + 0.4678, + 0.8149, + -0.3135 + ], + [ + 0.0757, + -0.023, + 0.0209, + 0.1717, + -0.2062, + -0.9341, + -0.2355 + ], + [ + 0.0332, + -0.0682, + 0.0172, + 0.2844, + -0.7539, + 0.5645, + 0.1789 + ], + [ + 0.0676, + 0.0389, + 0.0159, + 0.2394, + 0.222, + -0.9436, + -0.0556 + ], + [ + 0.0325, + -0.0694, + 0.0168, + 0.2246, + -0.5015, + -0.8326, + -0.0701 + ], + [ + 0.0724, + 0.0311, + 0.024, + 0.1814, + 0.2588, + -0.9311, + 0.1821 + ], + [ + 0.073, + -0.0317, + 0.0239, + 0.2174, + -0.8833, + 0.2613, + 0.3228 + ], + [ + -0.0136, + -0.0696, + 0.018, + 0.1636, + -0.6762, + 0.6823, + 0.2248 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..7a0edbbfcdc7a28c4319901dde8adf3687eb5bdd --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/piper_v1.json @@ -0,0 +1,248 @@ +{ + "uuid": "054c88f9-68c5-4d12-8d56-d3bcaac25a57", + "grasp": [ + [ + 0.0186, + -0.0731, + 0.0226, + 0.2164, + -0.7425, + 0.5803, + 0.2553 + ], + [ + 0.0039, + -0.076, + 0.022, + 0.2183, + -0.6288, + -0.737, + -0.1172 + ], + [ + 0.0587, + -0.0324, + 0.0477, + 0.1053, + -0.0988, + -0.9889, + 0.0364 + ], + [ + 0.0548, + 0.0511, + 0.0199, + 0.2035, + 0.8718, + 0.3923, + -0.2115 + ], + [ + -0.0115, + 0.0732, + 0.0225, + 0.2829, + 0.5737, + 0.7646, + -0.0788 + ], + [ + 0.0139, + 0.0788, + 0.0193, + 0.2168, + 0.7046, + 0.6677, + -0.1037 + ], + [ + -0.003, + 0.0765, + 0.0218, + 0.2342, + 0.644, + -0.7204, + 0.107 + ], + [ + 0.0467, + 0.0602, + 0.0167, + 0.2069, + 0.8365, + 0.4726, + -0.1846 + ], + [ + -0.0209, + -0.0701, + 0.0184, + 0.1595, + -0.7562, + -0.6139, + -0.1607 + ], + [ + -0.0312, + -0.0696, + 0.022, + 0.2476, + -0.5174, + 0.8159, + 0.0723 + ], + [ + 0.0673, + 0.0308, + 0.0152, + 0.1028, + 0.9257, + 0.2545, + -0.2604 + ], + [ + 0.0558, + -0.0514, + 0.0206, + 0.2009, + -0.3952, + -0.8701, + -0.2153 + ], + [ + 0.0748, + 0.0194, + 0.0193, + 0.272, + 0.1362, + -0.9523, + -0.026 + ], + [ + 0.037, + -0.069, + 0.0236, + 0.2628, + -0.4977, + -0.826, + -0.0316 + ], + [ + -0.055, + -0.054, + 0.0202, + 0.1038, + -0.8918, + -0.3671, + -0.2434 + ], + [ + -0.0614, + 0.0399, + 0.0206, + 0.259, + 0.3369, + 0.8881, + -0.1753 + ], + [ + 0.0504, + -0.0623, + 0.0216, + 0.2913, + -0.3907, + -0.8729, + 0.0239 + ], + [ + -0.0331, + -0.0677, + 0.0253, + 0.261, + -0.5091, + 0.8187, + 0.0487 + ], + [ + -0.0492, + 0.0577, + 0.02, + 0.1452, + 0.8513, + -0.4552, + 0.2166 + ], + [ + 0.0604, + -0.0484, + 0.0177, + 0.1894, + -0.3896, + -0.8752, + -0.2154 + ], + [ + 0.0515, + 0.057, + 0.0186, + 0.2809, + 0.3457, + -0.8941, + -0.0469 + ], + [ + -0.0469, + 0.0641, + 0.024, + 0.2896, + 0.792, + -0.525, + 0.1153 + ], + [ + 0.0442, + -0.0612, + 0.0174, + 0.1906, + -0.4466, + -0.8434, + -0.2301 + ], + [ + -0.0735, + 0.0216, + 0.0219, + 0.2399, + 0.1265, + 0.9625, + -0.0059 + ], + [ + -0.0549, + 0.0541, + 0.0251, + 0.1374, + 0.4679, + 0.8148, + -0.3135 + ], + [ + 0.0757, + -0.023, + 0.0209, + 0.1717, + -0.2063, + -0.9341, + -0.2355 + ], + [ + 0.0724, + 0.0311, + 0.024, + 0.1814, + 0.2587, + -0.9311, + 0.1821 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/proposal.json b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..349e37c7b00575f1da87efed01e5a20a15ef02b3 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00002/grasps/proposal.json @@ -0,0 +1,1205 @@ +{ + "uuid": "054c88f9-68c5-4d12-8d56-d3bcaac25a57", + "grasp": [ + [ + [ + 0.0664, + 0.1174, + 0.1044, + 0.1409, + 0.8085, + 0.4977, + -0.2807 + ], + 0.985 + ], + [ + [ + 0.0638, + -0.1141, + 0.1095, + 0.1769, + -0.8372, + 0.4675, + 0.2221 + ], + 0.9807 + ], + [ + [ + 0.0273, + 0.1254, + 0.1066, + 0.2549, + 0.7721, + 0.5595, + -0.1611 + ], + 0.9803 + ], + [ + [ + 0.0047, + -0.1297, + 0.1126, + 0.175, + -0.6738, + 0.6783, + 0.2352 + ], + 0.9779 + ], + [ + [ + 0.0319, + -0.1373, + 0.1033, + 0.2164, + -0.7425, + 0.5802, + 0.2552 + ], + 0.9775 + ], + [ + [ + 0.0218, + 0.1283, + 0.1046, + 0.263, + 0.7683, + 0.5629, + -0.154 + ], + 0.9774 + ], + [ + [ + 0.0531, + 0.1024, + 0.1179, + 0.1514, + 0.4791, + -0.8564, + 0.1187 + ], + 0.9769 + ], + [ + [ + 0.0503, + -0.1251, + 0.1073, + 0.2188, + -0.7977, + 0.5225, + 0.2067 + ], + 0.9768 + ], + [ + [ + 0.0792, + 0.1156, + 0.1045, + 0.1987, + 0.847, + 0.4127, + -0.2698 + ], + 0.9765 + ], + [ + [ + 0.0401, + 0.1272, + 0.1075, + 0.2309, + 0.7893, + 0.5333, + -0.1981 + ], + 0.9758 + ], + [ + [ + 0.0316, + -0.1311, + 0.1098, + 0.229, + -0.5768, + -0.7614, + -0.1875 + ], + 0.9753 + ], + [ + [ + 0.022, + -0.1225, + 0.1132, + 0.2183, + -0.6287, + -0.7371, + -0.1172 + ], + 0.9745 + ], + [ + [ + 0.1223, + -0.0069, + 0.1149, + 0.2232, + -0.0466, + -0.9725, + 0.0472 + ], + 0.9745 + ], + [ + [ + 0.0765, + 0.1053, + 0.106, + 0.2035, + 0.8717, + 0.3924, + -0.2115 + ], + 0.9737 + ], + [ + [ + 0.1213, + 0.0163, + 0.1121, + 0.2285, + 0.0083, + -0.9674, + 0.109 + ], + 0.9732 + ], + [ + [ + 0.0485, + 0.1049, + 0.1119, + 0.2283, + 0.5492, + -0.803, + 0.038 + ], + 0.9732 + ], + [ + [ + 0.1216, + 0.0081, + 0.1137, + 0.2239, + 0.1049, + -0.9673, + -0.0562 + ], + 0.9732 + ], + [ + [ + -0.0892, + 0.0934, + 0.1083, + 0.2939, + 0.4237, + 0.8563, + -0.0306 + ], + 0.9732 + ], + [ + [ + 0.0115, + 0.1218, + 0.1126, + 0.1726, + 0.6129, + -0.7514, + 0.1732 + ], + 0.9727 + ], + [ + [ + 0.0921, + 0.0892, + 0.1105, + 0.1292, + 0.8917, + 0.3593, + -0.2431 + ], + 0.972 + ], + [ + [ + 0.0742, + 0.1024, + 0.1084, + 0.0382, + -0.81, + -0.4933, + 0.3148 + ], + 0.9719 + ], + [ + [ + 0.081, + 0.0987, + 0.1076, + 0.1592, + 0.8795, + 0.3879, + -0.2251 + ], + 0.9709 + ], + [ + [ + -0.0471, + 0.1195, + 0.1086, + 0.2829, + 0.5736, + 0.7647, + -0.0788 + ], + 0.9708 + ], + [ + [ + 0.1248, + 0.0947, + 0.0809, + 0.0614, + -0.7891, + -0.3512, + 0.5002 + ], + 0.9704 + ], + [ + [ + -0.0697, + 0.1071, + 0.1116, + 0.2459, + 0.467, + 0.8399, + -0.1265 + ], + 0.9701 + ], + [ + [ + -0.001, + 0.1256, + 0.1115, + 0.2462, + 0.695, + 0.6615, + -0.1372 + ], + 0.9701 + ], + [ + [ + 0.1066, + -0.1059, + 0.0922, + 0.1929, + -0.841, + 0.3726, + 0.3416 + ], + 0.9698 + ], + [ + [ + 0.0178, + 0.1239, + 0.112, + 0.2342, + 0.6441, + -0.7203, + 0.107 + ], + 0.9695 + ], + [ + [ + 0.0585, + 0.1143, + 0.1047, + 0.2069, + 0.8365, + 0.4727, + -0.1846 + ], + 0.9692 + ], + [ + [ + -0.1235, + -0.0501, + 0.1051, + 0.2946, + -0.1343, + 0.935, + 0.1446 + ], + 0.9692 + ], + [ + [ + -0.0341, + 0.111, + 0.1193, + 0.1409, + 0.7694, + -0.6006, + 0.1659 + ], + 0.9691 + ], + [ + [ + -0.1344, + 0.0198, + 0.0995, + 0.3339, + 0.0456, + 0.9381, + -0.0797 + ], + 0.969 + ], + [ + [ + -0.0214, + 0.1249, + 0.1089, + 0.1234, + 0.6846, + -0.6733, + 0.2505 + ], + 0.969 + ], + [ + [ + -0.0258, + -0.1157, + 0.1117, + 0.1595, + -0.7561, + -0.614, + -0.1607 + ], + 0.9689 + ], + [ + [ + -0.0654, + -0.1085, + 0.1122, + 0.2476, + -0.5175, + 0.8159, + 0.0723 + ], + 0.9686 + ], + [ + [ + -0.0974, + -0.0765, + 0.1151, + 0.2432, + -0.367, + 0.8974, + 0.0279 + ], + 0.9686 + ], + [ + [ + 0.1132, + 0.0979, + 0.0904, + 0.2544, + 0.8649, + 0.2917, + -0.3196 + ], + 0.9684 + ], + [ + [ + 0.1358, + -0.0048, + 0.1063, + 0.2757, + 0.0276, + -0.9593, + -0.055 + ], + 0.9684 + ], + [ + [ + 0.1083, + -0.0491, + 0.1145, + 0.1976, + -0.1903, + -0.9589, + -0.072 + ], + 0.9683 + ], + [ + [ + 0.1103, + -0.084, + 0.0995, + 0.044, + 0.8237, + -0.4254, + -0.3724 + ], + 0.9681 + ], + [ + [ + 0.0479, + -0.1145, + 0.1226, + 0.1267, + -0.8039, + 0.5505, + 0.1862 + ], + 0.9678 + ], + [ + [ + 0.112, + 0.0644, + 0.1029, + 0.1028, + 0.9256, + 0.2546, + -0.2604 + ], + 0.9677 + ], + [ + [ + 0.0745, + -0.1069, + 0.1066, + 0.2009, + -0.3951, + -0.8702, + -0.2153 + ], + 0.9673 + ], + [ + [ + 0.1294, + 0.022, + 0.1078, + 0.272, + 0.1363, + -0.9523, + -0.026 + ], + 0.9672 + ], + [ + [ + 0.0789, + -0.1016, + 0.113, + 0.2628, + -0.4976, + -0.8261, + -0.0316 + ], + 0.9671 + ], + [ + [ + 0.0627, + 0.1102, + 0.1056, + 0.2872, + 0.5398, + -0.7913, + 0.0058 + ], + 0.9653 + ], + [ + [ + -0.0237, + 0.1256, + 0.1153, + 0.2265, + 0.6266, + 0.7283, + -0.1602 + ], + 0.9652 + ], + [ + [ + 0.0912, + 0.0725, + 0.1175, + 0.1719, + 0.2883, + -0.9283, + 0.1603 + ], + 0.9647 + ], + [ + [ + -0.101, + -0.0759, + 0.1109, + 0.2693, + -0.3688, + 0.8895, + -0.0129 + ], + 0.9645 + ], + [ + [ + -0.0922, + -0.0918, + 0.1096, + 0.1038, + -0.8917, + -0.3672, + -0.2434 + ], + 0.9642 + ], + [ + [ + -0.097, + 0.0904, + 0.1043, + 0.259, + 0.3368, + 0.8881, + -0.1753 + ], + 0.964 + ], + [ + [ + -0.0925, + 0.1048, + 0.1015, + 0.3386, + 0.3833, + 0.8488, + -0.1342 + ], + 0.964 + ], + [ + [ + 0.1003, + 0.0618, + 0.1144, + 0.2201, + 0.3054, + -0.9264, + 0.01 + ], + 0.9639 + ], + [ + [ + 0.0735, + 0.1042, + 0.1048, + 0.15, + 0.8537, + 0.4359, + -0.2423 + ], + 0.9625 + ], + [ + [ + 0.0166, + 0.1176, + 0.1171, + 0.2094, + 0.6224, + -0.7456, + 0.1132 + ], + 0.962 + ], + [ + [ + -0.1197, + -0.062, + 0.1023, + 0.3132, + -0.2492, + 0.9139, + 0.0683 + ], + 0.9616 + ], + [ + [ + 0.1114, + 0.0691, + 0.1003, + 0.1785, + 0.9286, + 0.2216, + -0.2382 + ], + 0.9616 + ], + [ + [ + -0.0194, + -0.1209, + 0.12, + 0.2116, + -0.6725, + 0.7, + 0.1139 + ], + 0.9616 + ], + [ + [ + 0.0649, + 0.1012, + 0.1085, + 0.2617, + 0.4852, + -0.8335, + 0.0361 + ], + 0.9603 + ], + [ + [ + 0.0289, + 0.1334, + 0.0963, + 0.3124, + 0.7523, + 0.5501, + -0.184 + ], + 0.9597 + ], + [ + [ + 0.1035, + 0.0873, + 0.108, + 0.1402, + 0.8967, + 0.3257, + -0.2648 + ], + 0.9597 + ], + [ + [ + 0.1052, + -0.0816, + 0.1078, + 0.2913, + -0.3906, + -0.8729, + 0.0239 + ], + 0.9596 + ], + [ + [ + -0.1344, + 0.0323, + 0.1029, + 0.3497, + 0.2033, + 0.909, + 0.1007 + ], + 0.9594 + ], + [ + [ + -0.102, + -0.0909, + 0.1105, + 0.2824, + -0.3509, + 0.8874, + 0.0979 + ], + 0.959 + ], + [ + [ + 0.1092, + -0.0858, + 0.0987, + 0.1692, + -0.8967, + 0.3025, + 0.2752 + ], + 0.9587 + ], + [ + [ + 0.0793, + -0.1272, + 0.0863, + 0.346, + -0.7939, + 0.4207, + 0.2701 + ], + 0.9583 + ], + [ + [ + 0.0529, + -0.1147, + 0.1095, + 0.234, + -0.5528, + -0.796, + -0.0775 + ], + 0.9583 + ], + [ + [ + -0.0995, + -0.0848, + 0.1144, + 0.2545, + -0.3405, + 0.8994, + 0.1016 + ], + 0.9582 + ], + [ + [ + 0.0335, + 0.1218, + 0.1026, + 0.3037, + 0.6413, + -0.7045, + 0.0125 + ], + 0.9581 + ], + [ + [ + -0.0724, + -0.1036, + 0.1146, + 0.261, + -0.5092, + 0.8187, + 0.0487 + ], + 0.9576 + ], + [ + [ + 0.014, + -0.1416, + 0.1003, + 0.3337, + -0.6944, + -0.6269, + -0.1162 + ], + 0.9573 + ], + [ + [ + 0.1205, + 0.0644, + 0.0951, + 0.2363, + 0.9201, + 0.1693, + -0.2627 + ], + 0.9569 + ], + [ + [ + -0.0918, + -0.0913, + 0.1081, + 0.0738, + -0.8706, + -0.4121, + -0.2584 + ], + 0.9569 + ], + [ + [ + -0.0738, + 0.1039, + 0.1099, + 0.1452, + 0.8514, + -0.4551, + 0.2166 + ], + 0.9567 + ], + [ + [ + -0.1087, + 0.0692, + 0.1085, + 0.1587, + 0.9356, + -0.2204, + 0.2256 + ], + 0.9565 + ], + [ + [ + 0.1011, + 0.0531, + 0.119, + 0.1973, + 0.276, + -0.9405, + -0.0201 + ], + 0.9563 + ], + [ + [ + 0.0774, + -0.103, + 0.1046, + 0.1894, + -0.3895, + -0.8752, + -0.2154 + ], + 0.9562 + ], + [ + [ + 0.1071, + 0.0685, + 0.1057, + 0.2809, + 0.3458, + -0.894, + -0.0469 + ], + 0.9562 + ], + [ + [ + -0.0343, + 0.1244, + 0.1078, + 0.2896, + 0.792, + -0.5249, + 0.1153 + ], + 0.9558 + ], + [ + [ + 0.1356, + 0.0004, + 0.1027, + 0.1543, + -0.9358, + -0.0911, + 0.3038 + ], + 0.9555 + ], + [ + [ + 0.0563, + -0.1193, + 0.1028, + 0.1906, + -0.4465, + -0.8434, + -0.2301 + ], + 0.9554 + ], + [ + [ + -0.1214, + 0.0291, + 0.1139, + 0.2399, + 0.1264, + 0.9625, + -0.0059 + ], + 0.9548 + ], + [ + [ + -0.1048, + 0.0694, + 0.1094, + 0.1448, + 0.9328, + -0.2503, + 0.2152 + ], + 0.9544 + ], + [ + [ + 0.1062, + 0.0737, + 0.111, + 0.125, + 0.9233, + 0.2682, + -0.2448 + ], + 0.9544 + ], + [ + [ + 0.1289, + -0.0205, + 0.1068, + 0.2742, + -0.1617, + -0.9411, + 0.1138 + ], + 0.9541 + ], + [ + [ + -0.0397, + -0.1208, + 0.1067, + 0.2432, + -0.8152, + -0.5074, + -0.1373 + ], + 0.9536 + ], + [ + [ + -0.0742, + 0.122, + 0.0995, + 0.247, + 0.4153, + 0.8173, + -0.3138 + ], + 0.9534 + ], + [ + [ + 0.0839, + 0.0923, + 0.1075, + 0.286, + 0.4518, + -0.8447, + -0.0242 + ], + 0.9533 + ], + [ + [ + -0.0761, + -0.1077, + 0.105, + 0.3147, + -0.5059, + 0.8027, + 0.0283 + ], + 0.9532 + ], + [ + [ + -0.1238, + 0.0086, + 0.1038, + 0.2651, + 0.0874, + 0.9589, + 0.0503 + ], + 0.9531 + ], + [ + [ + -0.0477, + 0.1206, + 0.1047, + 0.1374, + 0.4678, + 0.8149, + -0.3135 + ], + 0.9531 + ], + [ + [ + 0.099, + -0.0761, + 0.1072, + 0.1717, + -0.2062, + -0.9341, + -0.2355 + ], + 0.953 + ], + [ + [ + -0.1307, + -0.0583, + 0.095, + 0.3707, + -0.1796, + 0.8997, + 0.1443 + ], + 0.9525 + ], + [ + [ + 0.0279, + -0.1338, + 0.0977, + 0.2844, + -0.7539, + 0.5645, + 0.1789 + ], + 0.9521 + ], + [ + [ + 0.1172, + 0.039, + 0.1073, + 0.2394, + 0.222, + -0.9436, + -0.0556 + ], + 0.952 + ], + [ + [ + 0.0641, + -0.105, + 0.1093, + 0.2246, + -0.5015, + -0.8326, + -0.0701 + ], + 0.9518 + ], + [ + [ + 0.101, + 0.1045, + 0.1034, + 0.2333, + 0.8709, + 0.3153, + -0.296 + ], + 0.9516 + ], + [ + [ + 0.0977, + 0.0761, + 0.1143, + 0.1814, + 0.2588, + -0.9311, + 0.1821 + ], + 0.9513 + ], + [ + [ + 0.1205, + -0.0892, + 0.0964, + 0.2174, + -0.8833, + 0.2613, + 0.3228 + ], + 0.951 + ], + [ + [ + -0.0052, + -0.1245, + 0.1059, + 0.1636, + -0.6762, + 0.6823, + 0.2248 + ], + 0.9506 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wine_bowl/00002/metadata.json b/Objects/RoboDojo/Rigid/wine_bowl/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..e28b87506997a55dcc87ee299f1834bb96c200ec --- /dev/null +++ b/Objects/RoboDojo/Rigid/wine_bowl/00002/metadata.json @@ -0,0 +1,146 @@ +{ + "uuid": "054c88f9-68c5-4d12-8d56-d3bcaac25a57", + "physics": { + "mass": 0.25, + "friction": 0.3 + }, + "geometry": { + "faces": 82676, + "vertices": 41340, + "aligned_bbox": { + "vertices": [ + [ + -0.055, + -0.055, + -0.02 + ], + [ + -0.055, + -0.055, + 0.02 + ], + [ + -0.055, + 0.055, + -0.02 + ], + [ + -0.055, + 0.055, + 0.02 + ], + [ + 0.055, + -0.055, + -0.02 + ], + [ + 0.055, + -0.055, + 0.02 + ], + [ + 0.055, + 0.055, + -0.02 + ], + [ + 0.055, + 0.055, + 0.02 + ] + ], + "extents": [ + 0.11, + 0.11, + 0.04 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.055, + -0.055, + -0.02 + ], + [ + -0.055, + -0.055, + 0.02 + ], + [ + -0.055, + 0.055, + -0.02 + ], + [ + -0.055, + 0.055, + 0.02 + ], + [ + 0.055, + -0.055, + -0.02 + ], + [ + 0.055, + -0.055, + 0.02 + ], + [ + 0.055, + 0.055, + -0.02 + ], + [ + 0.055, + 0.055, + 0.02 + ] + ], + "extents": [ + 0.11, + 0.11, + 0.04 + ] + }, + "radius": 0.0553 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0006, + -0.0008, + -0.0 + ], + "projection_circle": { + "center": [ + -0.0001, + -0.0001, + -0.02, + 1.0, + -0.0006, + 0.0008, + 0.0 + ], + "radius": 0.0554 + }, + "contact_circle": { + "center": [ + -0.0, + 0.0, + -0.02, + 1.0, + -0.0006, + 0.0008, + 0.0 + ], + "radius": 0.0241 + } + } + } + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wrench/00000/metadata.json b/Objects/RoboDojo/Rigid/wrench/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..1ea0cf9b68a2f6648ccdd4cbd09880b01a4342af --- /dev/null +++ b/Objects/RoboDojo/Rigid/wrench/00000/metadata.json @@ -0,0 +1,123 @@ +{ + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0835, + -0.0081, + -0.0206 + ], + [ + -0.0835, + -0.0081, + 0.0206 + ], + [ + -0.0835, + 0.0083, + -0.0206 + ], + [ + -0.0835, + 0.0083, + 0.0206 + ], + [ + 0.0833, + -0.0081, + -0.0206 + ], + [ + 0.0833, + -0.0081, + 0.0206 + ], + [ + 0.0833, + 0.0083, + -0.0206 + ], + [ + 0.0833, + 0.0083, + 0.0206 + ] + ], + "extents": [ + 0.1668, + 0.0164, + 0.0411 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0858, + -0.0094, + -0.0159 + ], + [ + 0.0791, + -0.006, + -0.0392 + ], + [ + -0.0803, + -0.0086, + 0.0238 + ], + [ + 0.0846, + -0.0052, + 0.0005 + ], + [ + -0.0862, + 0.0079, + -0.0162 + ], + [ + 0.0787, + 0.0112, + -0.0395 + ], + [ + -0.0806, + 0.0087, + 0.0235 + ], + [ + 0.0842, + 0.0121, + 0.0002 + ] + ], + "extents": [ + 0.1709, + 0.0214, + 0.0632 + ] + } + }, + "physics": { + "mass": 0.35, + "friction": 0.45 + }, + "active": { + "functional": { + "center": { + "frame": [ + [ + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0 + ] + ] + } + } + } +} diff --git a/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/UMI.json b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8e0d80170d0e5cf2961ae53255bc3f403292731b --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/UMI.json @@ -0,0 +1,59 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0208, + -0.0174, + -0.0306, + 0.5396, + -0.7819, + -0.2767, + -0.1446 + ], + [ + 0.0008, + -0.0, + 0.0339, + 0.7085, + -0.7057, + 0.0015, + -0.0021 + ], + [ + 0.002, + 0.0003, + 0.0239, + 0.7045, + -0.6908, + 0.1133, + -0.1163 + ], + [ + 0.0413, + -0.0091, + 0.0365, + 0.7322, + -0.6789, + 0.0529, + -0.0134 + ], + [ + -0.0019, + -0.0062, + 0.0195, + 0.625, + -0.6375, + 0.312, + -0.325 + ], + [ + 0.001, + -0.0011, + 0.0134, + 0.6842, + -0.6832, + -0.1808, + 0.1802 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/XOne.json b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..be89cc46324b285fbbe56ea2a635c84249b949e7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + 0.0009, + 0.0, + 0.034, + 0.7072, + -0.707, + 0.0001, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/aloha.json b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..bd2d2901f16f422e6d570e5ae1b250b53c2a1c7f --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0001, + 0.0008, + 0.0351, + 0.6863, + -0.7273, + 0.0069, + 0.0045 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/panda.json b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..a8bb4816adb84cb497d88e3200dc2b77c415d903 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/panda.json @@ -0,0 +1,68 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.001, + -0.0066, + 0.041, + 0.7392, + -0.6728, + -0.0193, + 0.0216 + ], + [ + -0.0196, + -0.0098, + 0.0211, + 0.642, + -0.7593, + -0.0643, + -0.0848 + ], + [ + 0.0042, + -0.0069, + 0.0351, + 0.692, + -0.701, + -0.1273, + 0.1162 + ], + [ + -0.0028, + -0.0052, + 0.0358, + 0.6736, + -0.7373, + 0.0408, + -0.03 + ], + [ + 0.0026, + -0.0085, + 0.0373, + 0.7234, + -0.6731, + -0.0965, + 0.1197 + ], + [ + -0.0059, + 0.0125, + 0.0355, + 0.7209, + -0.6588, + 0.1428, + -0.1609 + ], + [ + 0.0021, + -0.0059, + 0.0384, + 0.6509, + -0.7168, + -0.1599, + 0.1923 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..fd9b51d08562cc523fe8ea81a7773ff119918d07 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/piper_v1.json @@ -0,0 +1,23 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0014, + 0.007, + 0.0251, + 0.7213, + -0.6762, + -0.0691, + 0.1333 + ], + [ + -0.0095, + -0.0256, + 0.0363, + 0.5419, + -0.6323, + -0.3163, + 0.4544 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/proposal.json b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0ecd11c36faddb10e50299302f1deaebe95e2ced --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00000/grasps/proposal.json @@ -0,0 +1,101 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.035, + -0.092, + 0.034, + 0.696364240320019, + -0.6963642403200189, + 0.12278780396897282, + -0.12278780396897285 + ], + 0.0 + ], + [ + [ + 0.035, + -0.092, + 0.035, + 0.696364240320019, + -0.6963642403200189, + -0.12278780396897282, + 0.12278780396897285 + ], + 0.0 + ], + [ + [ + -0.018, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + 0.061628416716219346, + -0.06162841671621935 + ], + 0.0 + ], + [ + [ + 0.02, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + -0.061628416716219346, + 0.06162841671621935 + ], + 0.0 + ], + [ + [ + -0.05, + -0.08, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193, + -0.18301270189221933 + ], + 0.0 + ], + [ + [ + 0.05, + -0.085, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + -0.1830127018922193, + 0.18301270189221933 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00000/metadata.json b/Objects/RoboDojo/Rigid/wuliangye/00000/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..657c5079f37ea8947074fa1a0c004d5ddc6e0f40 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00000/metadata.json @@ -0,0 +1,155 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "geometry": { + "faces": 2600, + "vertices": 1253, + "aligned_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "radius": 0.1128 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0026, + -0.0026, + -0.0001 + ], + "projection_circle": { + "center": [ + -0.0005, + -0.0007, + -0.06, + 1.0, + -0.0026, + 0.0026, + 0.0001 + ], + "radius": 0.0414 + }, + "contact_circle": { + "center": [ + 0.0002, + -0.0002, + -0.06, + 1.0, + -0.0026, + 0.0026, + 0.0001 + ], + "radius": 0.038 + } + } + } + }, + "physics": { + "size": [ + 0.0823, + 0.0821, + 0.218 + ], + "mass": 0.15, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/UMI.json b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8e0d80170d0e5cf2961ae53255bc3f403292731b --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/UMI.json @@ -0,0 +1,59 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0208, + -0.0174, + -0.0306, + 0.5396, + -0.7819, + -0.2767, + -0.1446 + ], + [ + 0.0008, + -0.0, + 0.0339, + 0.7085, + -0.7057, + 0.0015, + -0.0021 + ], + [ + 0.002, + 0.0003, + 0.0239, + 0.7045, + -0.6908, + 0.1133, + -0.1163 + ], + [ + 0.0413, + -0.0091, + 0.0365, + 0.7322, + -0.6789, + 0.0529, + -0.0134 + ], + [ + -0.0019, + -0.0062, + 0.0195, + 0.625, + -0.6375, + 0.312, + -0.325 + ], + [ + 0.001, + -0.0011, + 0.0134, + 0.6842, + -0.6832, + -0.1808, + 0.1802 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/XOne.json b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..be89cc46324b285fbbe56ea2a635c84249b949e7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + 0.0009, + 0.0, + 0.034, + 0.7072, + -0.707, + 0.0001, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/aloha.json b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..bd2d2901f16f422e6d570e5ae1b250b53c2a1c7f --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0001, + 0.0008, + 0.0351, + 0.6863, + -0.7273, + 0.0069, + 0.0045 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/panda.json b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..a8bb4816adb84cb497d88e3200dc2b77c415d903 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/panda.json @@ -0,0 +1,68 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.001, + -0.0066, + 0.041, + 0.7392, + -0.6728, + -0.0193, + 0.0216 + ], + [ + -0.0196, + -0.0098, + 0.0211, + 0.642, + -0.7593, + -0.0643, + -0.0848 + ], + [ + 0.0042, + -0.0069, + 0.0351, + 0.692, + -0.701, + -0.1273, + 0.1162 + ], + [ + -0.0028, + -0.0052, + 0.0358, + 0.6736, + -0.7373, + 0.0408, + -0.03 + ], + [ + 0.0026, + -0.0085, + 0.0373, + 0.7234, + -0.6731, + -0.0965, + 0.1197 + ], + [ + -0.0059, + 0.0125, + 0.0355, + 0.7209, + -0.6588, + 0.1428, + -0.1609 + ], + [ + 0.0021, + -0.0059, + 0.0384, + 0.6509, + -0.7168, + -0.1599, + 0.1923 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..fd9b51d08562cc523fe8ea81a7773ff119918d07 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/piper_v1.json @@ -0,0 +1,23 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0014, + 0.007, + 0.0251, + 0.7213, + -0.6762, + -0.0691, + 0.1333 + ], + [ + -0.0095, + -0.0256, + 0.0363, + 0.5419, + -0.6323, + -0.3163, + 0.4544 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/proposal.json b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0ecd11c36faddb10e50299302f1deaebe95e2ced --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00001/grasps/proposal.json @@ -0,0 +1,101 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.035, + -0.092, + 0.034, + 0.696364240320019, + -0.6963642403200189, + 0.12278780396897282, + -0.12278780396897285 + ], + 0.0 + ], + [ + [ + 0.035, + -0.092, + 0.035, + 0.696364240320019, + -0.6963642403200189, + -0.12278780396897282, + 0.12278780396897285 + ], + 0.0 + ], + [ + [ + -0.018, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + 0.061628416716219346, + -0.06162841671621935 + ], + 0.0 + ], + [ + [ + 0.02, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + -0.061628416716219346, + 0.06162841671621935 + ], + 0.0 + ], + [ + [ + -0.05, + -0.08, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193, + -0.18301270189221933 + ], + 0.0 + ], + [ + [ + 0.05, + -0.085, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + -0.1830127018922193, + 0.18301270189221933 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00001/metadata.json b/Objects/RoboDojo/Rigid/wuliangye/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..657c5079f37ea8947074fa1a0c004d5ddc6e0f40 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00001/metadata.json @@ -0,0 +1,155 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "geometry": { + "faces": 2600, + "vertices": 1253, + "aligned_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "radius": 0.1128 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0026, + -0.0026, + -0.0001 + ], + "projection_circle": { + "center": [ + -0.0005, + -0.0007, + -0.06, + 1.0, + -0.0026, + 0.0026, + 0.0001 + ], + "radius": 0.0414 + }, + "contact_circle": { + "center": [ + 0.0002, + -0.0002, + -0.06, + 1.0, + -0.0026, + 0.0026, + 0.0001 + ], + "radius": 0.038 + } + } + } + }, + "physics": { + "size": [ + 0.0823, + 0.0821, + 0.218 + ], + "mass": 0.15, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/UMI.json b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8e0d80170d0e5cf2961ae53255bc3f403292731b --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/UMI.json @@ -0,0 +1,59 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0208, + -0.0174, + -0.0306, + 0.5396, + -0.7819, + -0.2767, + -0.1446 + ], + [ + 0.0008, + -0.0, + 0.0339, + 0.7085, + -0.7057, + 0.0015, + -0.0021 + ], + [ + 0.002, + 0.0003, + 0.0239, + 0.7045, + -0.6908, + 0.1133, + -0.1163 + ], + [ + 0.0413, + -0.0091, + 0.0365, + 0.7322, + -0.6789, + 0.0529, + -0.0134 + ], + [ + -0.0019, + -0.0062, + 0.0195, + 0.625, + -0.6375, + 0.312, + -0.325 + ], + [ + 0.001, + -0.0011, + 0.0134, + 0.6842, + -0.6832, + -0.1808, + 0.1802 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/XOne.json b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..be89cc46324b285fbbe56ea2a635c84249b949e7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + 0.0009, + 0.0, + 0.034, + 0.7072, + -0.707, + 0.0001, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/aloha.json b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..bd2d2901f16f422e6d570e5ae1b250b53c2a1c7f --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0001, + 0.0008, + 0.0351, + 0.6863, + -0.7273, + 0.0069, + 0.0045 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/panda.json b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..a8bb4816adb84cb497d88e3200dc2b77c415d903 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/panda.json @@ -0,0 +1,68 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.001, + -0.0066, + 0.041, + 0.7392, + -0.6728, + -0.0193, + 0.0216 + ], + [ + -0.0196, + -0.0098, + 0.0211, + 0.642, + -0.7593, + -0.0643, + -0.0848 + ], + [ + 0.0042, + -0.0069, + 0.0351, + 0.692, + -0.701, + -0.1273, + 0.1162 + ], + [ + -0.0028, + -0.0052, + 0.0358, + 0.6736, + -0.7373, + 0.0408, + -0.03 + ], + [ + 0.0026, + -0.0085, + 0.0373, + 0.7234, + -0.6731, + -0.0965, + 0.1197 + ], + [ + -0.0059, + 0.0125, + 0.0355, + 0.7209, + -0.6588, + 0.1428, + -0.1609 + ], + [ + 0.0021, + -0.0059, + 0.0384, + 0.6509, + -0.7168, + -0.1599, + 0.1923 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..fd9b51d08562cc523fe8ea81a7773ff119918d07 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/piper_v1.json @@ -0,0 +1,23 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0014, + 0.007, + 0.0251, + 0.7213, + -0.6762, + -0.0691, + 0.1333 + ], + [ + -0.0095, + -0.0256, + 0.0363, + 0.5419, + -0.6323, + -0.3163, + 0.4544 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/proposal.json b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0ecd11c36faddb10e50299302f1deaebe95e2ced --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00002/grasps/proposal.json @@ -0,0 +1,101 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.035, + -0.092, + 0.034, + 0.696364240320019, + -0.6963642403200189, + 0.12278780396897282, + -0.12278780396897285 + ], + 0.0 + ], + [ + [ + 0.035, + -0.092, + 0.035, + 0.696364240320019, + -0.6963642403200189, + -0.12278780396897282, + 0.12278780396897285 + ], + 0.0 + ], + [ + [ + -0.018, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + 0.061628416716219346, + -0.06162841671621935 + ], + 0.0 + ], + [ + [ + 0.02, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + -0.061628416716219346, + 0.06162841671621935 + ], + 0.0 + ], + [ + [ + -0.05, + -0.08, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193, + -0.18301270189221933 + ], + 0.0 + ], + [ + [ + 0.05, + -0.085, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + -0.1830127018922193, + 0.18301270189221933 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00002/metadata.json b/Objects/RoboDojo/Rigid/wuliangye/00002/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..657c5079f37ea8947074fa1a0c004d5ddc6e0f40 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00002/metadata.json @@ -0,0 +1,155 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "geometry": { + "faces": 2600, + "vertices": 1253, + "aligned_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "radius": 0.1128 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0026, + -0.0026, + -0.0001 + ], + "projection_circle": { + "center": [ + -0.0005, + -0.0007, + -0.06, + 1.0, + -0.0026, + 0.0026, + 0.0001 + ], + "radius": 0.0414 + }, + "contact_circle": { + "center": [ + 0.0002, + -0.0002, + -0.06, + 1.0, + -0.0026, + 0.0026, + 0.0001 + ], + "radius": 0.038 + } + } + } + }, + "physics": { + "size": [ + 0.0823, + 0.0821, + 0.218 + ], + "mass": 0.15, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/UMI.json b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/UMI.json new file mode 100644 index 0000000000000000000000000000000000000000..8e0d80170d0e5cf2961ae53255bc3f403292731b --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/UMI.json @@ -0,0 +1,59 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0208, + -0.0174, + -0.0306, + 0.5396, + -0.7819, + -0.2767, + -0.1446 + ], + [ + 0.0008, + -0.0, + 0.0339, + 0.7085, + -0.7057, + 0.0015, + -0.0021 + ], + [ + 0.002, + 0.0003, + 0.0239, + 0.7045, + -0.6908, + 0.1133, + -0.1163 + ], + [ + 0.0413, + -0.0091, + 0.0365, + 0.7322, + -0.6789, + 0.0529, + -0.0134 + ], + [ + -0.0019, + -0.0062, + 0.0195, + 0.625, + -0.6375, + 0.312, + -0.325 + ], + [ + 0.001, + -0.0011, + 0.0134, + 0.6842, + -0.6832, + -0.1808, + 0.1802 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/XOne.json b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/XOne.json new file mode 100644 index 0000000000000000000000000000000000000000..be89cc46324b285fbbe56ea2a635c84249b949e7 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/XOne.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + 0.0009, + 0.0, + 0.034, + 0.7072, + -0.707, + 0.0001, + -0.0003 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/aloha.json b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/aloha.json new file mode 100644 index 0000000000000000000000000000000000000000..bd2d2901f16f422e6d570e5ae1b250b53c2a1c7f --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/aloha.json @@ -0,0 +1,14 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0001, + 0.0008, + 0.0351, + 0.6863, + -0.7273, + 0.0069, + 0.0045 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/panda.json b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/panda.json new file mode 100644 index 0000000000000000000000000000000000000000..a8bb4816adb84cb497d88e3200dc2b77c415d903 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/panda.json @@ -0,0 +1,68 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.001, + -0.0066, + 0.041, + 0.7392, + -0.6728, + -0.0193, + 0.0216 + ], + [ + -0.0196, + -0.0098, + 0.0211, + 0.642, + -0.7593, + -0.0643, + -0.0848 + ], + [ + 0.0042, + -0.0069, + 0.0351, + 0.692, + -0.701, + -0.1273, + 0.1162 + ], + [ + -0.0028, + -0.0052, + 0.0358, + 0.6736, + -0.7373, + 0.0408, + -0.03 + ], + [ + 0.0026, + -0.0085, + 0.0373, + 0.7234, + -0.6731, + -0.0965, + 0.1197 + ], + [ + -0.0059, + 0.0125, + 0.0355, + 0.7209, + -0.6588, + 0.1428, + -0.1609 + ], + [ + 0.0021, + -0.0059, + 0.0384, + 0.6509, + -0.7168, + -0.1599, + 0.1923 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/piper_v1.json b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/piper_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..fd9b51d08562cc523fe8ea81a7773ff119918d07 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/piper_v1.json @@ -0,0 +1,23 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + -0.0014, + 0.007, + 0.0251, + 0.7213, + -0.6762, + -0.0691, + 0.1333 + ], + [ + -0.0095, + -0.0256, + 0.0363, + 0.5419, + -0.6323, + -0.3163, + 0.4544 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/proposal.json b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/proposal.json new file mode 100644 index 0000000000000000000000000000000000000000..0ecd11c36faddb10e50299302f1deaebe95e2ced --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00003/grasps/proposal.json @@ -0,0 +1,101 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "grasp": [ + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.0, + -0.102, + 0.034, + 0.7071067811865476, + -0.7071067811865475, + -0.0, + 0.0 + ], + 0.0 + ], + [ + [ + -0.035, + -0.092, + 0.034, + 0.696364240320019, + -0.6963642403200189, + 0.12278780396897282, + -0.12278780396897285 + ], + 0.0 + ], + [ + [ + 0.035, + -0.092, + 0.035, + 0.696364240320019, + -0.6963642403200189, + -0.12278780396897282, + 0.12278780396897285 + ], + 0.0 + ], + [ + [ + -0.018, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + 0.061628416716219346, + -0.06162841671621935 + ], + 0.0 + ], + [ + [ + 0.02, + -0.1, + 0.034, + 0.7044160264027587, + -0.7044160264027586, + -0.061628416716219346, + 0.06162841671621935 + ], + 0.0 + ], + [ + [ + -0.05, + -0.08, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + 0.1830127018922193, + -0.18301270189221933 + ], + 0.0 + ], + [ + [ + 0.05, + -0.085, + 0.034, + 0.6830127018922194, + -0.6830127018922193, + -0.1830127018922193, + 0.18301270189221933 + ], + 0.0 + ] + ] +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/wuliangye/00003/metadata.json b/Objects/RoboDojo/Rigid/wuliangye/00003/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..657c5079f37ea8947074fa1a0c004d5ddc6e0f40 --- /dev/null +++ b/Objects/RoboDojo/Rigid/wuliangye/00003/metadata.json @@ -0,0 +1,155 @@ +{ + "uuid": "0d8ce33f-cadc-44ed-99d1-3632b082e741", + "geometry": { + "faces": 2600, + "vertices": 1253, + "aligned_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0412, + -0.0411, + -0.0597 + ], + [ + -0.0412, + -0.0411, + 0.1584 + ], + [ + -0.0412, + 0.0411, + -0.0597 + ], + [ + -0.0412, + 0.0411, + 0.1584 + ], + [ + 0.0412, + -0.0411, + -0.0597 + ], + [ + 0.0412, + -0.0411, + 0.1584 + ], + [ + 0.0412, + 0.0411, + -0.0597 + ], + [ + 0.0412, + 0.0411, + 0.1584 + ] + ], + "extents": [ + 0.0824, + 0.0821, + 0.2181 + ] + }, + "radius": 0.1128 + }, + "active": { + "place": { + "up": { + "orientation": [ + 1.0, + 0.0026, + -0.0026, + -0.0001 + ], + "projection_circle": { + "center": [ + -0.0005, + -0.0007, + -0.06, + 1.0, + -0.0026, + 0.0026, + 0.0001 + ], + "radius": 0.0414 + }, + "contact_circle": { + "center": [ + 0.0002, + -0.0002, + -0.06, + 1.0, + -0.0026, + 0.0026, + 0.0001 + ], + "radius": 0.038 + } + } + } + }, + "physics": { + "size": [ + 0.0823, + 0.0821, + 0.218 + ], + "mass": 0.15, + "friction": 0.0 + }, + "passive": { + "functional": {}, + "support": {} + } +} \ No newline at end of file diff --git a/Objects/RoboDojo/Rigid/yogurt/00001/metadata.json b/Objects/RoboDojo/Rigid/yogurt/00001/metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..a250417447ee7e1ebb10bea865ac8ff6e61e68c6 --- /dev/null +++ b/Objects/RoboDojo/Rigid/yogurt/00001/metadata.json @@ -0,0 +1,111 @@ +{ + "physics": { + "mass": 0.12, + "friction": 0.3 + }, + "geometry": { + "aligned_bbox": { + "vertices": [ + [ + -0.0362, + -0.0384, + -0.0324 + ], + [ + -0.0362, + -0.0384, + 0.0324 + ], + [ + -0.0362, + 0.0386, + -0.0324 + ], + [ + -0.0362, + 0.0386, + 0.0324 + ], + [ + 0.0361, + -0.0384, + -0.0324 + ], + [ + 0.0361, + -0.0384, + 0.0324 + ], + [ + 0.0361, + 0.0386, + -0.0324 + ], + [ + 0.0361, + 0.0386, + 0.0324 + ] + ], + "extents": [ + 0.0723, + 0.077, + 0.0647 + ] + }, + "oriented_bbox": { + "vertices": [ + [ + -0.0511, + -0.0011, + -0.0324 + ], + [ + -0.0029, + 0.053, + -0.0325 + ], + [ + 0.0029, + -0.0493, + -0.0323 + ], + [ + 0.0511, + 0.0048, + -0.0324 + ], + [ + -0.0512, + -0.001, + 0.0323 + ], + [ + -0.003, + 0.0532, + 0.0322 + ], + [ + 0.0029, + -0.0491, + 0.0325 + ], + [ + 0.0511, + 0.005, + 0.0323 + ] + ], + "extents": [ + 0.1023, + 0.1025, + 0.065 + ] + } + }, + "active": {}, + "description": [ + "yogurt cup" + ], + "caption": "" +} diff --git a/texture/material_0009/Carpet_Diamond_Olive.mdl b/texture/material_0009/Carpet_Diamond_Olive.mdl new file mode 100644 index 0000000000000000000000000000000000000000..cb2279eec11866090086b2772616fd6bbbc840e3 --- /dev/null +++ b/texture/material_0009/Carpet_Diamond_Olive.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Carpet_Diamond_Olive(*) + = OmniPBR( + diffuse_color_constant: color(1.0, 1.0, 1.0), + diffuse_texture: texture_2d("./Carpet_Diamond_Olive_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_Diamond_Olive_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_Diamond_Olive_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/texture/material_0017/Brick_Pavers.mdl b/texture/material_0017/Brick_Pavers.mdl new file mode 100644 index 0000000000000000000000000000000000000000..30fa6c68a4e8e7ac1e657288ed3680d6ccc65f7b --- /dev/null +++ b/texture/material_0017/Brick_Pavers.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 Brick_Pavers(*) +[[ + ::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("./Brick_Pavers_BaseColor.png" /* tag 2739, version 3703676365 */, ::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("./Brick_Pavers_ORM.png" /* tag 2741, version 397003005 */, ::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("./Brick_Pavers_N.png" /* tag 2743, version 2285331857 */, ::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: 1.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/texture/material_0018/Brick_Wall_Brown.mdl b/texture/material_0018/Brick_Wall_Brown.mdl new file mode 100644 index 0000000000000000000000000000000000000000..f6ddd7aaa29049447db737c92ee4a0a3869c60b8 --- /dev/null +++ b/texture/material_0018/Brick_Wall_Brown.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 Brick_Wall_Brown(*) +[[ + ::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("./Brick_Wall_Brown_BaseColor.png" /* tag 2739, version 3703676365 */, ::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("./Brick_Wall_Brown_ORM.png" /* tag 2741, version 397003005 */, ::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("./Brick_Wall_Brown_N.png" /* tag 2743, version 2285331857 */, ::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: 1.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/texture/material_0034/Bronze.mdl b/texture/material_0034/Bronze.mdl new file mode 100644 index 0000000000000000000000000000000000000000..c354a34f677c119e3e31f36e545e99cf1222aa1f --- /dev/null +++ b/texture/material_0034/Bronze.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 Bronze(*) +[[ + ::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("./Bronze_BaseColor.png" /* tag 2791, version 303717019 */, ::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.5f, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("./Bronze_ORM.png" /* tag 2793, version 2682007639 */, ::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("./Bronze_N.png" /* tag 2795, version 2348578768 */, ::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: 1.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/texture/material_0039/CorrugatedMetal.mdl b/texture/material_0039/CorrugatedMetal.mdl new file mode 100644 index 0000000000000000000000000000000000000000..f83ce5466890902dec09795374cf1cdfef044981 --- /dev/null +++ b/texture/material_0039/CorrugatedMetal.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +import ::OmniPBR::OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material CorrugatedMetal(*) + = ::OmniPBR::OmniPBR( + diffuse_color_constant: color(0.200000003f, 0.200000003f, 0.200000003f), + diffuse_texture: texture_2d("./CorrugatedMetal_BaseColor.png" /* tag 2156, version 3084118474 */, ::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.5f, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("./CorrugatedMetal_ORM.png" /* tag 2158, version 356350774 */, ::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("./CorrugatedMetal_N.png" /* tag 2160, version 818451772 */, ::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: 1.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/texture/material_0042/Metal_Door.mdl b/texture/material_0042/Metal_Door.mdl new file mode 100644 index 0000000000000000000000000000000000000000..8f487cfc2c58a478eac4590d8afc78609a1caa85 --- /dev/null +++ b/texture/material_0042/Metal_Door.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Metal_Door(*) + = OmniPBR( + diffuse_color_constant: color(0.439, 0.5, 0.561), + diffuse_texture: texture_2d(), //"./Metal_Door/Metal_Door_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.5, + reflection_roughness_texture_influence: 0.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 1.0, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: false, + ORM_texture: texture_2d(), //"./Metal_Door/Metal_Door_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: 0.7f, + normalmap_texture: texture_2d("./Metal_Door_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/texture/material_0048/Steel_Cast.mdl b/texture/material_0048/Steel_Cast.mdl new file mode 100644 index 0000000000000000000000000000000000000000..7e23b1426cca1a5477fb155bea641dafc1a40546 --- /dev/null +++ b/texture/material_0048/Steel_Cast.mdl @@ -0,0 +1,47 @@ +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 Steel_Cast(*) + = ::OmniPBR::OmniPBR( + diffuse_color_constant: color(0.200000003f, 0.200000003f, 0.200000003f), + diffuse_texture: texture_2d("./Steel_Cast_BaseColor.png" /* tag 3107, version 2706352012 */, ::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: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("./Steel_Cast_ORM.png" /* tag 3109, version 880241343 */, ::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("./Steel_Cast_N.png" /* tag 3111, version 1659240673 */, ::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: 1.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/texture/material_0061/Grass_Winter.mdl b/texture/material_0061/Grass_Winter.mdl new file mode 100644 index 0000000000000000000000000000000000000000..009d1b8b5117571f1f0b3ca8ecc66d5132ddef52 --- /dev/null +++ b/texture/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/texture/material_0066/Water.mdl b/texture/material_0066/Water.mdl new file mode 100644 index 0000000000000000000000000000000000000000..5916449e0bc92a49112523a2f7d112df4170cd41 --- /dev/null +++ b/texture/material_0066/Water.mdl @@ -0,0 +1,19 @@ +mdl 1.5; + +using ..::Templates::GlassWithVolume import GlassWithVolume; +import ::tex::gamma_mode; +import ::state::normal; + +export material Water(*) + = GlassWithVolume( + thin_walled: false, + transmission_color: color(0.612f, 0.714f, 0.747f), + roughness_texture: texture_2d(), + ior: 1.333f, + transmission_color_texture: texture_2d(), + roughness_texture_influence: 0.f, + roughness: 0.f, + reflection_color_texture: texture_2d(), + reflection_color: color(1.f, 1.f, 1.f), + depth: 0.0001f, + normal_map_texture: texture_2d("./Water_Normal.png", ::tex::gamma_linear)); \ No newline at end of file diff --git a/texture/material_0070/Veneer_OU_Walnut.mdl b/texture/material_0070/Veneer_OU_Walnut.mdl new file mode 100644 index 0000000000000000000000000000000000000000..0157698887f7d53a0d74bd6973a85742d06cde2b --- /dev/null +++ b/texture/material_0070/Veneer_OU_Walnut.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Veneer_OU_Walnut(*) + = OmniPBR( + diffuse_color_constant: color(1.0, 1.0, 1.0), + diffuse_texture: texture_2d("./Veneer_OU_Walnut_BaseColor.png", ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(0.768f, 0.491f, 0.321f), //0.941f, 0.447f, 0.161f + reflection_roughness_constant: 0.55, + reflection_roughness_texture_influence: 0.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: false, + ORM_texture: texture_2d(), + 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: 0.9f, + normalmap_texture: texture_2d("./Veneer_OU_Walnut_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 1.f, + 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/texture/material_0078/Fieldstone.mdl b/texture/material_0078/Fieldstone.mdl new file mode 100644 index 0000000000000000000000000000000000000000..6500d1aed6c8cc30c72520dc88ac356a739b4a11 --- /dev/null +++ b/texture/material_0078/Fieldstone.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 Fieldstone(*) +[[ + ::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("./Fieldstone_BaseColor.png" /* tag 2828, version 6332211 */, ::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: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("./Fieldstone_ORM.png" /* tag 2830, version 596885211 */, ::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("./Fieldstone_N.png" /* tag 2832, version 3494456508 */, ::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: 1.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/texture/material_0096/Terracotta.mdl b/texture/material_0096/Terracotta.mdl new file mode 100644 index 0000000000000000000000000000000000000000..b95f66a552b6e3defbf38384b6347a650cf23983 --- /dev/null +++ b/texture/material_0096/Terracotta.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 Terracotta(*) +[[ + ::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("./Terracotta_BaseColor.png" /* tag 2819, version 3314107828 */, ::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: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("./Terracotta_ORM.png" /* tag 2821, version 1819114335 */, ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(0.f, 0.f, 0.f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.f, + bump_factor: 1.f, + normalmap_texture: texture_2d("./Terracotta_N.png" /* tag 2823, version 1467847953 */, ::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/texture/material_0097/Terrazzo.mdl b/texture/material_0097/Terrazzo.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a05ee0dba596e7b1ff48363e2dad2bd7362c45a7 --- /dev/null +++ b/texture/material_0097/Terrazzo.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 Terrazzo(*) +[[ + ::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("./Terrazzo_BaseColor.png" /* tag 2812, version 3722729693 */, ::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: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("./Terrazzo_ORM.png" /* tag 2814, version 2737548837 */, ::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("./Terrazzo_N.png" /* tag 2816, version 2084641571 */, ::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: 1.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/texture/material_0110/Plaster.mdl b/texture/material_0110/Plaster.mdl new file mode 100644 index 0000000000000000000000000000000000000000..48c361416b91fe3a23a1c7bcc7a4654ddc707cf8 --- /dev/null +++ b/texture/material_0110/Plaster.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 Plaster(*) +[[ + ::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("./Plaster_BaseColor.png" /* tag 2739, version 3703676365 */, ::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("./Plaster_ORM.png" /* tag 2741, version 3733936840 */, ::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("./Plaster_N.png" /* tag 2743, version 630160703 */, ::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: 1.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/texture/material_0112/Ash_Planks.mdl b/texture/material_0112/Ash_Planks.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a12e66c4b13ebd0e9570e27449e2703889ade8db --- /dev/null +++ b/texture/material_0112/Ash_Planks.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Ash_Planks(*) + = OmniPBR( + diffuse_color_constant: color(0.500000, 0.500000, 0.500000), + diffuse_texture: texture_2d("./Ash_Planks_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.000000, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.000000, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("./Ash_Planks_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.000000, 1.000000, 1.000000), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.000000, + bump_factor: 1.f, + normalmap_texture: texture_2d("./Ash_Planks_Normal.png", ::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: 1.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/texture/material_0124/Oak_Planks.mdl b/texture/material_0124/Oak_Planks.mdl new file mode 100644 index 0000000000000000000000000000000000000000..36509ca1b27e8d5944fccdacf7ea33bcf267a8e1 --- /dev/null +++ b/texture/material_0124/Oak_Planks.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 Oak_Planks(*) +[[ + ::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("./Oak_Planks_BaseColor.png" /* tag 2827, version 331885705 */, ::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("./Oak_Planks_ORM.png" /* tag 2831, version 3383167362 */, ::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("./Oak_Planks_N.png" /* tag 2829, version 1811450819 */, ::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: 1.f, + detail_texture_translate: 0.f, + detail_texture_rotate: 0.f, + detail_texture_scale: 1.f); diff --git a/texture/material_0128/Timber_Cladding.mdl b/texture/material_0128/Timber_Cladding.mdl new file mode 100644 index 0000000000000000000000000000000000000000..5ac515056225369e2bc51505545976b7690b4b7c --- /dev/null +++ b/texture/material_0128/Timber_Cladding.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 Timber_Cladding(*) +[[ + ::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("./Timber_Cladding_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: 1.f, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.f, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("./Timber_Cladding_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(0.f, 0.f, 0.f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.f, + bump_factor: 1.f, + normalmap_texture: texture_2d("./Timber_Cladding_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/texture/material_0160/Carpet_Pattern_01.mdl b/texture/material_0160/Carpet_Pattern_01.mdl new file mode 100644 index 0000000000000000000000000000000000000000..273b29ee97d82450d76ec4b9817c4c02314c1495 --- /dev/null +++ b/texture/material_0160/Carpet_Pattern_01.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 Carpet_Pattern_01(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.5f), + 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(0.0500000007f), + 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("./ov_carpet_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.0941176489f, 0.0941176489f, 0.0941176489f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_carpet_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_carpet_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_carpet_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.949999988f, 0.850000024f), + normal_image: texture_2d("./ov_carpet_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0192/Leather_Grain_05.mdl b/texture/material_0192/Leather_Grain_05.mdl new file mode 100644 index 0000000000000000000000000000000000000000..eb5e7e07dcc41e046273bc794292da28bddc2f07 --- /dev/null +++ b/texture/material_0192/Leather_Grain_05.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 Leather_Grain_05(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(2.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(0.075000003f), + 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(0.5f), + 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("./ov_leather_I_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.343234301f, 0.266462207f, 0.133668795f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_leather_I_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_leather_I_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_leather_I_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.850000024f, 0.649999976f), + normal_image: texture_2d("./ov_leather_I_01_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 1.25f, + enable_layer_1: true, + 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_3, + layer_1_blend_splatmap: texture_2d("./leather_blend_mask_04.png", ::tex::gamma_linear, ""), + 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: 1.f, + layer_1_blend_factor_override: 0.f, + uv_set_layer_1: Templates::OmniUber_Automotive::uv_set_1, + layer_1_base_color_image: texture_2d("./ov_leather_I_01_basecolor.png", ::tex::gamma_default, ""), + layer_1_diffuse_reflection_color: color(0.44884491f, 0.348991692f, 0.179241687f), + 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("./ov_leather_I_01_orm.png", ::tex::gamma_default, ""), + 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("./ov_leather_I_01_orm.png", ::tex::gamma_default, ""), + layer_1_cavity_channel: Templates::OmniUber_Automotive::r, + layer_1_roughness_image: texture_2d("./ov_leather_I_01_orm.png", ::tex::gamma_default, ""), + layer_1_roughness_channel: Templates::OmniUber_Automotive::g, + layer_1_roughness_u: 1.f, + layer_1_roughness_range_position: float2(0.850000024f, 0.649999976f), + layer_1_normal_image: texture_2d("./ov_leather_I_01_normal.png", ::tex::gamma_linear, ""), + 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + 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: false, + 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/texture/material_0196/Suede_01.mdl b/texture/material_0196/Suede_01.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a532aa24483d0c0636aea60e1546204eed2c058e --- /dev/null +++ b/texture/material_0196/Suede_01.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 Suede_01(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.5f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(0.0500000007f), + 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("./ov_suede_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.194719493f, 0.091547206f, 0.0436994284f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.769999981f, 0.730000019f), + normal_image: texture_2d("./ov_suede_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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0197/Suede_02.mdl b/texture/material_0197/Suede_02.mdl new file mode 100644 index 0000000000000000000000000000000000000000..fd14d26792b0b34ecbd13fa06b83af50763d26b8 --- /dev/null +++ b/texture/material_0197/Suede_02.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 Suede_02(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.5f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(0.0500000007f), + 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("./ov_suede_02_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.227722764f, 0.187201664f, 0.140541777f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.949999988f, 0.850000024f), + normal_image: texture_2d("./ov_suede_02_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0199/Suede_04.mdl b/texture/material_0199/Suede_04.mdl new file mode 100644 index 0000000000000000000000000000000000000000..830b43ec132a0223dd72c43fdc9740d3897bedbe --- /dev/null +++ b/texture/material_0199/Suede_04.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 Suede_04(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.5f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(0.0500000007f), + 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("./ov_suede_02_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.227722764f, 0.187201664f, 0.140541777f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.949999988f, 0.850000024f), + normal_image: texture_2d("./ov_suede_02_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 1.f, + enable_layer_1: true, + 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("./leather_blend_mask_04.png", ::tex::gamma_linear, ""), + 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("./leather_blend_mask_02.png", ::tex::gamma_default, ""), + layer_1_blend_detail_image_channel: Templates::OmniUber_Automotive::r, + layer_1_blend_threshold: 0.599999964f, + layer_1_blend_factor_override: 0.f, + uv_set_layer_1: Templates::OmniUber_Automotive::uv_set_1, + layer_1_base_color_image: texture_2d("./ov_suede_02_basecolor.png", ::tex::gamma_default, ""), + layer_1_diffuse_reflection_color: color(0.498349845f, 0.418277651f, 0.253286719f), + layer_1_base_color_offset: 0.0899999961f, + layer_1_base_color_scale: 0.319999993f, + layer_1_base_color_desaturation: 0.f, + layer_1_metalness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + 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("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + layer_1_cavity_channel: Templates::OmniUber_Automotive::r, + layer_1_roughness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + layer_1_roughness_channel: Templates::OmniUber_Automotive::g, + layer_1_roughness_u: 1.f, + layer_1_roughness_range_position: float2(0.75f, 0.5f), + layer_1_normal_image: texture_2d("./ov_suede_02_normal.png", ::tex::gamma_linear, ""), + 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0200/Suede_05.mdl b/texture/material_0200/Suede_05.mdl new file mode 100644 index 0000000000000000000000000000000000000000..28bd6ea1bf712abcacd0e439a2df2fe8bf517f98 --- /dev/null +++ b/texture/material_0200/Suede_05.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 Suede_05(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.5f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(0.0500000007f), + 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("./ov_suede_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.0330032706f, 0.0312173814f, 0.0303891506f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.769999981f, 0.730000019f), + normal_image: texture_2d("./ov_suede_01_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 1.f, + enable_layer_1: true, + 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("./leather_blend_mask_02.png", ::tex::gamma_linear, ""), + 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: 1.f, + layer_1_blend_factor_override: 0.f, + uv_set_layer_1: Templates::OmniUber_Automotive::uv_set_1, + layer_1_base_color_image: texture_2d("./ov_suede_01_basecolor.png", ::tex::gamma_default, ""), + layer_1_diffuse_reflection_color: color(0.0429043174f, 0.0292560104f, 0.0178413987f), + 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("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + 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("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + layer_1_cavity_channel: Templates::OmniUber_Automotive::r, + layer_1_roughness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + layer_1_roughness_channel: Templates::OmniUber_Automotive::g, + layer_1_roughness_u: 1.f, + layer_1_roughness_range_position: float2(0.75f, 0.649999976f), + layer_1_normal_image: texture_2d("./ov_suede_01_normal.png", ::tex::gamma_linear, ""), + layer_1_normal_flip_green: true, + layer_1_normal_scale: 2.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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0201/Suede_06.mdl b/texture/material_0201/Suede_06.mdl new file mode 100644 index 0000000000000000000000000000000000000000..815e94a6710e585e1b15107b75dc43b7d6a7a014 --- /dev/null +++ b/texture/material_0201/Suede_06.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 Suede_06(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.5f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(0.0500000007f), + 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("./ov_suede_02_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.0363036394f, 0.0297323614f, 0.0221655872f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.949999988f, 0.850000024f), + normal_image: texture_2d("./ov_suede_02_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 1.f, + enable_layer_1: true, + 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("./leather_blend_mask_04.png", ::tex::gamma_linear, ""), + 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("./leather_blend_mask_02.png", ::tex::gamma_default, ""), + layer_1_blend_detail_image_channel: Templates::OmniUber_Automotive::r, + layer_1_blend_threshold: 0.599999964f, + layer_1_blend_factor_override: 0.f, + uv_set_layer_1: Templates::OmniUber_Automotive::uv_set_1, + layer_1_base_color_image: texture_2d("./ov_suede_02_basecolor.png", ::tex::gamma_default, ""), + layer_1_diffuse_reflection_color: color(0.075907588f, 0.0682130978f, 0.0523586981f), + layer_1_base_color_offset: 0.0899999961f, + layer_1_base_color_scale: 0.319999993f, + layer_1_base_color_desaturation: 0.f, + layer_1_metalness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + 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("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + layer_1_cavity_channel: Templates::OmniUber_Automotive::r, + layer_1_roughness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + layer_1_roughness_channel: Templates::OmniUber_Automotive::g, + layer_1_roughness_u: 1.f, + layer_1_roughness_range_position: float2(0.850000024f, 0.75f), + layer_1_normal_image: texture_2d("./ov_suede_02_normal.png", ::tex::gamma_linear, ""), + 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0202/Suede_07.mdl b/texture/material_0202/Suede_07.mdl new file mode 100644 index 0000000000000000000000000000000000000000..eceb2cee6ffab8815512e68ae68905d90a8684ea --- /dev/null +++ b/texture/material_0202/Suede_07.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 Suede_07(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.5f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(0.0500000007f), + 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("./ov_suede_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.745874584f, 0.699148536f, 0.674487233f), + base_color_scale: 1.f, + base_color_offset: 0.459999979f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.769999981f, 0.730000019f), + normal_image: texture_2d("./ov_suede_01_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 1.f, + enable_layer_1: true, + 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("./leather_blend_mask_02.png", ::tex::gamma_linear, ""), + 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: 1.f, + layer_1_blend_factor_override: 0.f, + uv_set_layer_1: Templates::OmniUber_Automotive::uv_set_1, + layer_1_base_color_image: texture_2d("./ov_suede_01_basecolor.png", ::tex::gamma_default, ""), + layer_1_diffuse_reflection_color: color(1.f, 0.905252814f, 0.825082541f), + layer_1_base_color_offset: 0.189999998f, + layer_1_base_color_scale: 1.f, + layer_1_base_color_desaturation: 0.f, + layer_1_metalness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + 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("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + layer_1_cavity_channel: Templates::OmniUber_Automotive::r, + layer_1_roughness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + layer_1_roughness_channel: Templates::OmniUber_Automotive::g, + layer_1_roughness_u: 1.f, + layer_1_roughness_range_position: float2(0.75f, 0.649999976f), + layer_1_normal_image: texture_2d("./ov_suede_01_normal.png", ::tex::gamma_linear, ""), + layer_1_normal_flip_green: true, + layer_1_normal_scale: 2.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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0203/Suede_08.mdl b/texture/material_0203/Suede_08.mdl new file mode 100644 index 0000000000000000000000000000000000000000..59c545c76402c9a48f468a1d976f3b4900982e0a --- /dev/null +++ b/texture/material_0203/Suede_08.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 Suede_08(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.5f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(0.0500000007f), + 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("./ov_suede_02_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.178119794f, 0.417350799f, 0.782178223f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.949999988f, 0.850000024f), + normal_image: texture_2d("./ov_suede_02_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 1.f, + enable_layer_1: true, + 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("./leather_blend_mask_04.png", ::tex::gamma_linear, ""), + 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("./leather_blend_mask_02.png", ::tex::gamma_default, ""), + layer_1_blend_detail_image_channel: Templates::OmniUber_Automotive::r, + layer_1_blend_threshold: 0.599999964f, + layer_1_blend_factor_override: 0.f, + uv_set_layer_1: Templates::OmniUber_Automotive::uv_set_1, + layer_1_base_color_image: texture_2d("./ov_suede_02_basecolor.png", ::tex::gamma_default, ""), + layer_1_diffuse_reflection_color: color(0.164983824f, 0.31729731f, 0.617161751f), + layer_1_base_color_offset: 0.0899999961f, + layer_1_base_color_scale: 1.09000003f, + layer_1_base_color_desaturation: 0.f, + layer_1_metalness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + 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("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + layer_1_cavity_channel: Templates::OmniUber_Automotive::r, + layer_1_roughness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + layer_1_roughness_channel: Templates::OmniUber_Automotive::g, + layer_1_roughness_u: 1.f, + layer_1_roughness_range_position: float2(0.850000024f, 0.75f), + layer_1_normal_image: texture_2d("./ov_suede_02_normal.png", ::tex::gamma_linear, ""), + 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0204/Suede_09.mdl b/texture/material_0204/Suede_09.mdl new file mode 100644 index 0000000000000000000000000000000000000000..59d9d2aa898d5682aee2959545eb7bafff3a2f0e --- /dev/null +++ b/texture/material_0204/Suede_09.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 Suede_09(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.5f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(0.0500000007f), + 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("./ov_suede_02_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.188118815f, 0.0285592917f, 0.0285592917f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.949999988f, 0.850000024f), + normal_image: texture_2d("./ov_suede_02_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 1.f, + enable_layer_1: true, + 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("./leather_blend_mask_04.png", ::tex::gamma_linear, ""), + 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("./leather_blend_mask_02.png", ::tex::gamma_default, ""), + layer_1_blend_detail_image_channel: Templates::OmniUber_Automotive::r, + layer_1_blend_threshold: 0.599999964f, + layer_1_blend_factor_override: 0.f, + uv_set_layer_1: Templates::OmniUber_Automotive::uv_set_1, + layer_1_base_color_image: texture_2d("./ov_suede_02_basecolor.png", ::tex::gamma_default, ""), + layer_1_diffuse_reflection_color: color(0.148514867f, 0.0313694738f, 0.0313694738f), + layer_1_base_color_offset: 0.0899999961f, + layer_1_base_color_scale: 1.09000003f, + layer_1_base_color_desaturation: 0.f, + layer_1_metalness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + 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("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + layer_1_cavity_channel: Templates::OmniUber_Automotive::r, + layer_1_roughness_image: texture_2d("./ov_suede_02_orm.png", ::tex::gamma_default, ""), + layer_1_roughness_channel: Templates::OmniUber_Automotive::g, + layer_1_roughness_u: 1.f, + layer_1_roughness_range_position: float2(0.850000024f, 0.75f), + layer_1_normal_image: texture_2d("./ov_suede_02_normal.png", ::tex::gamma_linear, ""), + 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0205/Suede_10.mdl b/texture/material_0205/Suede_10.mdl new file mode 100644 index 0000000000000000000000000000000000000000..656ed8474fcc703505b118fa92276b29bed507be --- /dev/null +++ b/texture/material_0205/Suede_10.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 Suede_10(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.5f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(0.0500000007f), + 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("./ov_suede_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.312298089f, 0.44884491f, 0.0548094474f), + base_color_scale: 1.f, + base_color_offset: 0.459999979f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.769999981f, 0.730000019f), + normal_image: texture_2d("./ov_suede_01_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 1.f, + enable_layer_1: true, + 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("./leather_blend_mask_02.png", ::tex::gamma_linear, ""), + 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: 1.f, + layer_1_blend_factor_override: 0.f, + uv_set_layer_1: Templates::OmniUber_Automotive::uv_set_1, + layer_1_base_color_image: texture_2d("./ov_suede_01_basecolor.png", ::tex::gamma_default, ""), + layer_1_diffuse_reflection_color: color(0.463262737f, 0.679867983f, 0.118920818f), + layer_1_base_color_offset: 0.189999998f, + layer_1_base_color_scale: 1.f, + layer_1_base_color_desaturation: 0.f, + layer_1_metalness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + 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("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + layer_1_cavity_channel: Templates::OmniUber_Automotive::r, + layer_1_roughness_image: texture_2d("./ov_suede_01_orm.png", ::tex::gamma_default, ""), + layer_1_roughness_channel: Templates::OmniUber_Automotive::g, + layer_1_roughness_u: 1.f, + layer_1_roughness_range_position: float2(0.75f, 0.649999976f), + layer_1_normal_image: texture_2d("./ov_suede_01_normal.png", ::tex::gamma_linear, ""), + layer_1_normal_flip_green: true, + layer_1_normal_scale: 2.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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0206/Metal_Black_Paint.mdl b/texture/material_0206/Metal_Black_Paint.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a8561080d9d3eae08a4e14515443445e4a5fdf8f --- /dev/null +++ b/texture/material_0206/Metal_Black_Paint.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 Metal_Black_Paint(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + 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("./ov_metal_a_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.06930691f, 0.0693062171f, 0.0693062171f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.349999994f, 0.25f), + normal_image: texture_2d("./ov_metal_a_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.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: false, + 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/texture/material_0209/Metal_Ceramic_Brakes_Dark.mdl b/texture/material_0209/Metal_Ceramic_Brakes_Dark.mdl new file mode 100644 index 0000000000000000000000000000000000000000..fe0efc55ee241ca1cf455d64efb5dc9441f17a7e --- /dev/null +++ b/texture/material_0209/Metal_Ceramic_Brakes_Dark.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 Metal_Ceramic_Brakes_Dark(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::texture_coord_0, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(2.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("./ov_plastic_grain_b_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.485148489f, 0.485143632f, 0.485143632f), + 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: 0.50999999f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_plastic_grain_b_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_plastic_grain_b_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.850000024f, 0.5f), + normal_image: texture_2d("./ov_plastic_grain_b_01_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 1.f, + enable_layer_1: true, + 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_2, + layer_1_blend_splatmap: texture_2d("./perlin1.png", ::tex::gamma_linear, ""), + 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_2, + layer_1_blend_detail_image: texture_2d("./ov_plastic_grain_c_01_roughness.png", ::tex::gamma_default, ""), + layer_1_blend_detail_image_channel: Templates::OmniUber_Automotive::r, + layer_1_blend_threshold: 0.159999996f, + layer_1_blend_factor_override: 0.f, + uv_set_layer_1: Templates::OmniUber_Automotive::uv_set_1, + layer_1_base_color_image: texture_2d("./ov_metal_a_01_basecolor.png", ::tex::gamma_default, ""), + layer_1_diffuse_reflection_color: color(0.0396039486f, 0.0396035537f, 0.0396035537f), + 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("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + layer_1_metalness_channel: Templates::OmniUber_Automotive::b, + layer_1_metalness: 0.f, + layer_1_specular_reflection_weight: 1.f, + layer_1_cavity_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + layer_1_cavity_channel: Templates::OmniUber_Automotive::r, + layer_1_roughness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + layer_1_roughness_channel: Templates::OmniUber_Automotive::g, + layer_1_roughness_u: 1.f, + layer_1_roughness_range_position: float2(0.949999988f, 0.699999988f), + layer_1_normal_image: texture_2d("./ov_metal_a_01_normal.png", ::tex::gamma_linear, ""), + 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + 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("./ov_ceramic_break_disk_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 2.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: false, + 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/texture/material_0211/Metal_Dark_Dirty.mdl b/texture/material_0211/Metal_Dark_Dirty.mdl new file mode 100644 index 0000000000000000000000000000000000000000..bafd8d6e3bfe5ca942b0dd981e0e38399f59c799 --- /dev/null +++ b/texture/material_0211/Metal_Dark_Dirty.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 Metal_Dark_Dirty(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + uvs_mode_02: Templates::OmniUber_Automotive::triplanar, + uv_scale_02: float2(3.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("./ov_plastic_grain_b_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.511551142f, 0.508555591f, 0.504797995f), + 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_plastic_grain_b_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_plastic_grain_b_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(1.f, 0.75f), + normal_image: texture_2d("./ov_plastic_grain_b_01_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 1.f, + enable_layer_1: true, + 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_2, + layer_1_blend_splatmap: texture_2d("./perlin1.png", ::tex::gamma_linear, ""), + 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_2, + layer_1_blend_detail_image: texture_2d("./ov_plastic_grain_c_01_roughness.png", ::tex::gamma_default, ""), + layer_1_blend_detail_image_channel: Templates::OmniUber_Automotive::r, + layer_1_blend_threshold: 0.429999977f, + layer_1_blend_factor_override: 0.f, + uv_set_layer_1: Templates::OmniUber_Automotive::uv_set_1, + layer_1_base_color_image: texture_2d("./ov_metal_a_01_basecolor.png", ::tex::gamma_default, ""), + layer_1_diffuse_reflection_color: color(0.0924092531f, 0.0823846087f, 0.071060583f), + 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("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + layer_1_metalness_channel: Templates::OmniUber_Automotive::b, + layer_1_metalness: 0.f, + layer_1_specular_reflection_weight: 1.f, + layer_1_cavity_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + layer_1_cavity_channel: Templates::OmniUber_Automotive::r, + layer_1_roughness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + layer_1_roughness_channel: Templates::OmniUber_Automotive::g, + layer_1_roughness_u: 1.f, + layer_1_roughness_range_position: float2(0.949999988f, 0.699999988f), + layer_1_normal_image: texture_2d("./ov_metal_a_01_normal.png", ::tex::gamma_linear, ""), + layer_1_normal_flip_green: true, + layer_1_normal_scale: 2.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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.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: false, + 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/texture/material_0212/Metal_Grain_01.mdl b/texture/material_0212/Metal_Grain_01.mdl new file mode 100644 index 0000000000000000000000000000000000000000..02ec60589710b782f1a2f823698a4fa7f7cfec9d --- /dev/null +++ b/texture/material_0212/Metal_Grain_01.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 Metal_Grain_01(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + 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("./ov_metal_a_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.894389451f, 0.89438051f, 0.89438051f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + 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_metal_a_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.349999994f, 0.25f), + normal_image: texture_2d("./ov_metal_a_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.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: false, + 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/texture/material_0213/Metal_Grain_02.mdl b/texture/material_0213/Metal_Grain_02.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a019ef2e9b0e0534f5d52630370306b3def00289 --- /dev/null +++ b/texture/material_0213/Metal_Grain_02.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 Metal_Grain_02(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + 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("./ov_plastic_grain_b_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.894389451f, 0.89438051f, 0.89438051f), + base_color_scale: 1.f, + base_color_offset: 0.289999992f, + 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_plastic_grain_b_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_plastic_grain_b_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.5f, 0.349999994f), + normal_image: texture_2d("./ov_plastic_grain_b_01_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 0.5f, + 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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.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: false, + 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/texture/material_0214/Metal_Green.mdl b/texture/material_0214/Metal_Green.mdl new file mode 100644 index 0000000000000000000000000000000000000000..f63aeccda08ca293e1608161fc7785fc46bb6c87 --- /dev/null +++ b/texture/material_0214/Metal_Green.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 Metal_Green(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + 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("./ov_metal_a_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.53490901f, 0.834983468f, 0.0578701235f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.5f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.349999994f, 0.25f), + normal_image: texture_2d("./ov_metal_a_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.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: false, + 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/texture/material_0215/Metal_Polished_01.mdl b/texture/material_0215/Metal_Polished_01.mdl new file mode 100644 index 0000000000000000000000000000000000000000..c1a2d7e361adc5d6caa85b7c32907b6a9259509d --- /dev/null +++ b/texture/material_0215/Metal_Polished_01.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 Metal_Polished_01(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.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("./ov_metal_machine_polished_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.894389451f, 0.89438051f, 0.89438051f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_metal_machine_polished_01_orm.png", ::tex::gamma_linear, ""), + 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_metal_machine_polished_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_metal_machine_polished_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.449999988f, 0.349999994f), + normal_image: texture_2d("./ov_metal_machine_polished_01_normal.png", ::tex::gamma_linear, ""), + normal_flip_green: true, + normal_scale: 3.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(0.949999988f, 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.0599999987f, + anisotropic_roughness_v: 0.0599999987f, + anisotropic_direction_image: texture_2d("./ov_metal_machine_polished_01_anisotropy_level.png", ::tex::gamma_default, ""), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.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: false, + 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/texture/material_0220/Metal_Red_Paint.mdl b/texture/material_0220/Metal_Red_Paint.mdl new file mode 100644 index 0000000000000000000000000000000000000000..f188a7692f1dc714e285f12df3945375ce1989b8 --- /dev/null +++ b/texture/material_0220/Metal_Red_Paint.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 Metal_Red_Paint(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + 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("./ov_metal_a_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.478547871f, 0.0363254137f, 0.0363254137f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.349999994f, 0.25f), + normal_image: texture_2d("./ov_metal_a_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.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: false, + 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/texture/material_0221/Metal_Silver_Paint.mdl b/texture/material_0221/Metal_Silver_Paint.mdl new file mode 100644 index 0000000000000000000000000000000000000000..2be209827e860ae1594150dea8b3711baa066607 --- /dev/null +++ b/texture/material_0221/Metal_Silver_Paint.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 Metal_Silver_Paint(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + 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("./ov_metal_a_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.316828549f, 0.316830218f, 0.316831708f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.5f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.349999994f, 0.25f), + normal_image: texture_2d("./ov_metal_a_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.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: false, + 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/texture/material_0222/Metal_White_Paint.mdl b/texture/material_0222/Metal_White_Paint.mdl new file mode 100644 index 0000000000000000000000000000000000000000..239d8211cda63eec63afbd686c0c805f44595b71 --- /dev/null +++ b/texture/material_0222/Metal_White_Paint.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 Metal_White_Paint(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + 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("./ov_metal_a_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.960386455f, 0.960389495f, 0.960396051f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.349999994f, 0.25f), + normal_image: texture_2d("./ov_metal_a_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.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: false, + 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/texture/material_0223/Metal_Yellow_Paint.mdl b/texture/material_0223/Metal_Yellow_Paint.mdl new file mode 100644 index 0000000000000000000000000000000000000000..5ad1acdc789965a39b243ff367584a5ec6cc2628 --- /dev/null +++ b/texture/material_0223/Metal_Yellow_Paint.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 Metal_Yellow_Paint(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + 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("./ov_metal_a_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.834983468f, 0.281083554f, 0.f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_metal_a_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.349999994f, 0.25f), + normal_image: texture_2d("./ov_metal_a_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.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: false, + 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/texture/material_0224/Clay_Dark.mdl b/texture/material_0224/Clay_Dark.mdl new file mode 100644 index 0000000000000000000000000000000000000000..e16a357824f3c9106d6706db143cd2cf574da496 --- /dev/null +++ b/texture/material_0224/Clay_Dark.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 Clay_Dark(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + 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("./ov_clay_smooth_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.999996662f, 1.f, 0.999989986f), + base_color_scale: 0.899999976f, + base_color_offset: -0.149999991f, + base_color_desaturation: 0.879999995f, + metalness_image: texture_2d("./ov_clay_smooth_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_clay_smooth_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_clay_smooth_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(1.f, 0.850000024f), + normal_image: texture_2d("./ov_clay_smooth_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.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: false, + 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/texture/material_0233/Plastic_Grain_01.mdl b/texture/material_0233/Plastic_Grain_01.mdl new file mode 100644 index 0000000000000000000000000000000000000000..1ea8e640ad66c26921953f7272053b7ff7413078 --- /dev/null +++ b/texture/material_0233/Plastic_Grain_01.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 Plastic_Grain_01(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::triplanar, + uv_scale_01: float2(1.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(0.0500000007f), + 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("./ov_plastic_grain_a_01_basecolor.png", ::tex::gamma_default, ""), + diffuse_reflection_color: color(0.10231024f, 0.102309212f, 0.102309212f), + base_color_scale: 1.f, + base_color_offset: 0.170000002f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_plastic_grain_a_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_plastic_grain_a_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_plastic_grain_a_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.100000001f, 0.00999999978f), + normal_image: texture_2d("./ov_plastic_grain_a_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(0.949999988f, 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.170000002f, + anisotropic_roughness_v: 0.170000002f, + anisotropic_direction_image: texture_2d("./ov_plastic_grain_a_01_anisotropylevel.png", ::tex::gamma_default, ""), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0271/Tire_Supercar_01.mdl b/texture/material_0271/Tire_Supercar_01.mdl new file mode 100644 index 0000000000000000000000000000000000000000..633440b77abc1c43b071795303a517991813336d --- /dev/null +++ b/texture/material_0271/Tire_Supercar_01.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 Tire_Supercar_01(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::texture_coord_0, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + 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("./ov_tire_rubber_trim_sedan_01_basecolor.png", ::tex::gamma_srgb, ""), + diffuse_reflection_color: color(0.999996424f, 1.f, 0.999989986f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_tire_rubber_trim_sedan_01_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_tire_rubber_trim_sedan_01_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_tire_rubber_trim_sedan_01_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.75f, 0.550000012f), + normal_image: texture_2d("./ov_tire_rubber_trim_sedan_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0274/Tire_Supercar_04.mdl b/texture/material_0274/Tire_Supercar_04.mdl new file mode 100644 index 0000000000000000000000000000000000000000..928e878f845b519de4fa42a2133a11b377a0faf3 --- /dev/null +++ b/texture/material_0274/Tire_Supercar_04.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 Tire_Supercar_04(*) + = Templates::OmniUber_Automotive::OmniUber_Automotive( + uvs_mode_01: Templates::OmniUber_Automotive::texture_coord_0, + uv_scale_01: float2(1.f), + uv_offset_01: float2(0.f), + uv_offset_time_01: float2(0.f), + uv_rotation_01: 0.f, + triplanar_blend_range_01: 0.5f, + 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("./ov_tire_rubber_trim_sports_03_basecolor.png", ::tex::gamma_srgb, ""), + diffuse_reflection_color: color(0.999996841f, 1.f, 0.999989986f), + base_color_scale: 1.f, + base_color_offset: 0.f, + base_color_desaturation: 0.f, + metalness_image: texture_2d("./ov_tire_rubber_trim_sports_03_orm.png", ::tex::gamma_linear, ""), + metalness_channel: Templates::OmniUber_Automotive::b, + metalness: 0.f, + specular_reflection_weight: 1.f, + specular_reflection_color: color(1.f, 1.f, 1.f), + cavity_image: texture_2d("./ov_tire_rubber_trim_sports_03_orm.png", ::tex::gamma_linear, ""), + cavity_channel: Templates::OmniUber_Automotive::r, + roughness_image: texture_2d("./ov_tire_rubber_trim_sports_03_orm.png", ::tex::gamma_default, ""), + roughness_channel: Templates::OmniUber_Automotive::g, + roughness_u: 1.f, + roughness_range_position: float2(0.75f, 0.550000012f), + normal_image: texture_2d("./ov_tire_rubber_trim_sports_03_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(0.949999988f, 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: false, + uv_set_anisotropy: Templates::OmniUber_Automotive::uv_set_1, + anisotropic_roughness_u: 1.f, + anisotropic_roughness_v: 0.25f, + anisotropic_direction_image: texture_2d(), + anisotropic_direction_channel: Templates::OmniUber_Automotive::r, + anisotropic_direction: 0.f, + enable_detail_normal: true, + uv_set_detail_normal: Templates::OmniUber_Automotive::uv_set_2, + uv_set_detail_weight: Templates::OmniUber_Automotive::uv_set_1, + detail_normal_image: texture_2d("./ov_clouds_01_normal.png", ::tex::gamma_linear, ""), + detail_normal_flip_green: true, + detail_normal_scale: 0.5f, + 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: false, + 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/texture/material_0289/Carpet_Woven.mdl b/texture/material_0289/Carpet_Woven.mdl new file mode 100644 index 0000000000000000000000000000000000000000..38fdf4c3d700d55fd224113d0c268f2bc0cf9548 --- /dev/null +++ b/texture/material_0289/Carpet_Woven.mdl @@ -0,0 +1,404 @@ +/****************************************************************************** + * 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"; + +annotation preview_scale( float f); + + +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); +} + + +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; + + 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)); +} + +export material Carpet_Woven( + color color_diffuse = color(0.71f) [[ + ::anno::description("Sets the color of the fabric."), + ::anno::display_name("Color"), + ::anno::in_group("Appearance") + ]], + float color_variation = 0.175f [[ + ::anno::description("Increasing this value adds brightness variation to the material."), + ::anno::display_name("Color Variation"), + ::anno::hard_range(0.0, 1.0), + ::anno::in_group("Appearance") + ]], + float roughness = 0.60f [[ + ::anno::description("Increasing this value makes the material appear rougher."), + ::anno::display_name("Roughness"), + ::anno::hard_range(0.0, 1.0), + ::anno::in_group("Appearance") + ]], + float reflectivity = 1.f [[ + ::anno::description("Adjusts how much light is reflected from the material."), + ::anno::display_name("Reflectivity"), + ::anno::hard_range(0.0, 1.0), + ::anno::in_group("Appearance") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::display_name("Translate"), + ::anno::description("Translates the material."), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::display_name("Rotate"), + ::anno::description("Rotates the material."), + ::anno::soft_range(0.0, 360.0), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::display_name("Scale"), + ::anno::description("Scales the material."), + ::nvidia::core_definitions::dimension(float2(1.0, 1.0)), + ::preview_scale(2.0f), + ::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 radius_mm = 0.f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius (mm)"), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = true [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Woven Carpet - White"), + ::anno::description("A roughly woven carpet."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Carpet_Woven.Carpet_Woven.png"), + ::anno::key_words(string[]("fabric", "woven", "carpet", "rough", "design", "interior", "floor", "white")) +]] + = + let { + bool tmp0 = false; + material_surface tmp1( + ::df::custom_curve_layer(0.0399999991f, 1.f, 5.f, ::math::pow(histogram_scan_big(float3(::base::file_texture(texture_2d("./carpet_rough_woven_multi_R_rough_G_ao_B_vari.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, ::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(0.406000018f, 1.f, reflectivity), ::math::lerp(0.721000016f, 0.431000024f, reflectivity)), 2.20000005f), ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(::base::file_texture(texture_2d("./carpet_rough_woven_multi_R_rough_G_ao_B_vari.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, ::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], 1.f, ::math::lerp(0.602000058f, 0.867000043f, roughness)) * histogram_range(float3(::base::file_texture(texture_2d("./carpet_rough_woven_multi_R_rough_G_ao_B_vari.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, ::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], 1.f, ::math::lerp(0.602000058f, 0.867000043f, roughness)), histogram_range(float3(::base::file_texture(texture_2d("./carpet_rough_woven_multi_R_rough_G_ao_B_vari.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, ::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], 1.f, ::math::lerp(0.602000058f, 0.867000043f, roughness)) * histogram_range(float3(::base::file_texture(texture_2d("./carpet_rough_woven_multi_R_rough_G_ao_B_vari.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, ::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], 1.f, ::math::lerp(0.602000058f, 0.867000043f, roughness)), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(::nvidia::core_definitions::blend_colors(::nvidia::core_definitions::blend_colors(::base::file_texture(texture_2d("./carpet_rough_woven_diff.jpg", ::tex::gamma_srgb), 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, ::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, color_diffuse, ::base::color_layer_multiply, 1.f, true).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./carpet_rough_woven_multi_R_rough_G_ao_B_vari.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, ::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], 2.20000005f)), ::base::color_layer_overlay, color_variation * 0.699999988f, true).tint, 0.f), bsdf(), ::base::tangent_space_normal_texture(texture_2d("./carpet_rough_woven_norm.jpg", ::tex::gamma_linear), 1.f, false, false, 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, 1.f, 0.f)), ::base::tangent_space_normal_texture(texture_2d("./carpet_rough_woven_norm.jpg", ::tex::gamma_linear), 1.f, false, false, 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, 1.f, 0.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, + enable_round_corners ? ::state::rounded_corner_normal(radius_mm * 0.00100000005f, 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 Carpet_Woven_Orange(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Woven Carpet - Orange"), + ::anno::description("A roughly woven carpet."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Carpet_Woven.Carpet_Woven_Orange.png"), + ::anno::key_words(string[]("fabric", "woven", "carpet", "rough", "design", "interior", "floor", "orange", "saturated", "warm")) +]]= Carpet_Woven( + // Appearance + color_diffuse: color(0.673049f, 0.259027f, 0.031551f), + color_variation: 0.175f, + roughness: 0.60f, + reflectivity: 1.0f, + // Transform + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + // Round Corners + enable_round_corners: false, + radius_mm: 1.5f, + across_materials: false, + // Advanced + uv_space_index: 0 +); + +// 3 +export material Carpet_Woven_Cherry_Red(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Woven Carpet - Cherry Red"), + ::anno::description("A roughly woven carpet."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Carpet_Woven.Carpet_Woven_Cherry_Red.png"), + ::anno::key_words(string[]("fabric", "woven", "carpet", "rough", "design", "interior", "floor", "red", "cherry", "saturated", "warm")) +]]= Carpet_Woven( + // Appearance + color_diffuse: color(0.659224f, 0.054592, 0.030257f), + color_variation: 0.175f, + roughness: 0.60f, + reflectivity: 1.0f, + // Transform + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + // Round Corners + enable_round_corners: false, + radius_mm: 1.5f, + across_materials: false, + // Advanced + uv_space_index: 0 +); + +// 4 +export material Carpet_Woven_Bordeaux(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Woven Carpet - Bordeaux"), + ::anno::description("A roughly woven carpet."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Carpet_Woven.Carpet_Woven_Bordeaux.png"), + ::anno::key_words(string[]("fabric", "woven", "carpet", "rough", "design", "interior", "floor", "red", "bordeaux", "saturated", "warm")) +]]= Carpet_Woven( + // Appearance + color_diffuse: color(0.363604f, 0.016068f, 0.086901f), + color_variation: 0.175f, + roughness: 0.60f, + reflectivity: 1.0f, + // Transform + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + // Round Corners + enable_round_corners: false, + radius_mm: 1.5f, + across_materials: false, + // Advanced + uv_space_index: 0 +); + +// 5 +export material Carpet_Woven_Green(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Woven Carpet - Green"), + ::anno::description("A roughly woven carpet."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Carpet_Woven.Carpet_Woven_Green.png"), + ::anno::key_words(string[]("fabric", "woven", "carpet", "rough", "design", "interior", "floor", "green", "light")) +]]= Carpet_Woven( + // Appearance + color_diffuse: color(0.259027f, 0.529523f, 0.034230f), + color_variation: 0.175f, + roughness: 0.60f, + reflectivity: 1.0f, + // Transform + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + // Round Corners + enable_round_corners: false, + radius_mm: 1.5f, + across_materials: false, + // Advanced + uv_space_index: 0 +); + + +// 6 +export material Carpet_Woven_Dark_Blue_Gray(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Woven Carpet - Dark Blue Gray"), + ::anno::description("A roughly woven carpet."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Carpet_Woven.Carpet_Woven_Dark_Blue_Gray.png"), + ::anno::key_words(string[]("fabric", "woven", "carpet", "rough", "design", "interior", "floor", "blue", "dark", "cool")) +]]= Carpet_Woven( + // Appearance + color_diffuse: color(0.025371f, 0.058187f, 0.130352f), + color_variation: 0.175f, + roughness: 0.60f, + reflectivity: 1.0f, + // Transform + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + // Round Corners + enable_round_corners: false, + radius_mm: 1.5f, + across_materials: false, + // Advanced + uv_space_index: 0 +); + + +// 7 +export material Carpet_Woven_Sky_Blue(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Woven Carpet - Sky Blue"), + ::anno::description("A roughly woven carpet."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Carpet_Woven.Carpet_Woven_Sky_Blue.png"), + ::anno::key_words(string[]("fabric", "woven", "carpet", "rough", "design", "interior", "floor", "blue", "sky", "cool")) +]]= Carpet_Woven( + // Appearance + color_diffuse: color(0.069727f, 0.344026f, 0.632043f), + color_variation: 0.175f, + roughness: 0.60f, + reflectivity: 1.0f, + // Transform + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + // Round Corners + enable_round_corners: false, + radius_mm: 1.5f, + across_materials: false, + // Advanced + uv_space_index: 0 +); diff --git a/texture/material_0293/Ceramic_Tiles_Glazed_Diamond_Offset.mdl b/texture/material_0293/Ceramic_Tiles_Glazed_Diamond_Offset.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a6bccd94f451aca7fefdef6f8eb3082338c7a432 --- /dev/null +++ b/texture/material_0293/Ceramic_Tiles_Glazed_Diamond_Offset.mdl @@ -0,0 +1,2547 @@ +/****************************************************************************** + * 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 + //I = int2((I.x), (I.y)); // 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_Generator( + + // Ceramic textures + // *** MAPS *** + // *** Special multimaps for tiles *** // + uniform texture_2d tex_lin_tiles_id_offset_color_tex // R - Random ID per tile + = texture_2d() [[ // G - Offset (for the tiling algorithm to work) + ::anno::description("Tiles texture that contains the tile ids," // B - Height texture for each tile for compositing the grout + " the offsets and the rotation for the tiles."), + ::anno::display_name("Tiles ID Offset Rotation Texture"), + ::anno::in_group("Textures"), + ::anno::ui_order(0) + ]], + 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) + ]], + color tiles_color_diamond = color(0.246201f, 0.434154f, 0.479320f) + [[ + ::anno::description("Color for the diamond."), + ::anno::display_name("Diamond Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(10) + ]], + float tiles_diamond_texture_amount = 0.0f + [[ + ::anno::description("The amount of dark texture to be applied to the diamond."), + ::anno::display_name("Diamond Texture Amount"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance"), + ::anno::ui_order(11) + ]], + 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(12) + ]], + 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(13) + ]], + + 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(14) + ]], + 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(15) + ]], + + 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(16) + ]], + 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(17) + ]], + 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(18) + ]], + 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(19) + ]], + + 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(20) + ]], + 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(21) + ]], + 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("Appearance"), + ::anno::ui_order(22) + ]], + 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(23) + ]], + 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(24) + ]], + 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(25) + ]], + 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(26) + ]], + 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(27) + ]], + + // 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(28) + ]], + 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(29) + ]], + 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(30) + ]], + 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), + ::anno::ui_order(31) + ]], + 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), + ::anno::ui_order(32) + ]], + + 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), + ::anno::ui_order(33) + ]], + 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), + ::anno::ui_order(34) + ]], + 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), + ::anno::ui_order(35) + ]], + 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 Master material. This material should be hidden as it has all of its " + "parameters exposed. This material is only useful for hardcore-fans of fine grained tweaking and not necessary " + "if the user uses the tiles materials that are derived from it."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Ceramic Tiles - Penny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Glazed_Diamond.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "round")), + ::anno::hidden(), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] +{ + texture_scale *= float2(0.666666666666f, 0.6666666666666f); + 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 + + ); + + // Optimization for the texture tex_lin_tiles_id_offset_color_tex: + // We just need a fraction of the texture since it is repeating and + // can make it consume 4 times less memory + float2 tile_id_uv = float2(base_uv.position.x, base_uv.position.y)*2.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; + int offset_x, offset_y; + + // the rand tiles texture must be sampled exactly, so texel lookup is the function we will be using here + int2 texel_coord = int2(int(::math::frac(tile_id_uv.x) * ::tex::width(tex_lin_tiles_id_offset_color_tex)), + int(::math::frac(tile_id_uv.y) * ::tex::height(tex_lin_tiles_id_offset_color_tex))); + float3 tiles_ids = ::tex::texel_float3(tex_lin_tiles_id_offset_color_tex, texel_coord); + + int rand_id = int(tiles_ids.x * 254.f); // Random tile ID's are stored in R-channel., 255 produces visual errors sometimes. 254 seems to work + // We are assuming 8bit values and generate integers from 0-255 + float offset_id = tiles_ids.y; // 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(tile_id_uv.x) - offset_x), int(::math::floor(tile_id_uv.y) - offset_y)); + + rand_val_1 = lowbias32(tiles_random_seed + rand_id + 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) + ); + + + float3 R_frough_G_thickness_B_drops = nonrepeat_lookup( + texture: tex_tiles_multi_R_rough_G_thickness_B_drops, + uvw: base_uv, + average_color: float3(0.499f, 0.365f, 0.015f), + texture_scale: texture_scale * .3f, + 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 + + // Diamond Tiles Color + ::base::color_layer layer_1 = ::base::color_layer( + layer_color: tiles_color_diamond, + weight: tiles_ids.z, + mode: ::base::color_layer_blend + ); + ::base::color_layer layer_2 = ::base::color_layer( + layer_color: tiles_color_2, + weight: R_noise1_G_noise2_B_craquelure.x * (1.0f - tiles_ids.z), + mode: ::base::color_layer_blend + ); + // Color 3 + ::base::color_layer layer_3 = ::base::color_layer( + layer_color: tiles_color_3, + weight: R_noise1_G_noise2_B_craquelure.y * (1.0f - tiles_ids.z), + mode: ::base::color_layer_blend + ); + // Color 4 + ::base::color_layer layer_4 = ::base::color_layer( + layer_color: color(0.0f), + weight: R_noise1_G_noise2_B_craquelure.y * (tiles_ids.z) * tiles_diamond_texture_amount, + mode: ::base::color_layer_overlay + ); + // Varying brightness + ::base::color_layer layer_5 = ::base::color_layer( + layer_color: color(rnd6), + weight: tiles_random_brightness, + mode: ::base::color_layer_overlay + ); + // Varying glazing thickness + ::base::color_layer layer_6 = ::base::color_layer( + layer_color: ceramic_color, + weight: R_frough_G_thickness_B_drops.y * glazing_varying_thickness_weight * .15f, + mode: ::base::color_layer_blend + ); + // Edge Fade + ::base::color_layer layer_7 = ::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_8 = ::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, layer_7, layer_8 + ); + + 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_frough_G_thickness_B_drops.x, tiles_roughness_range, tiles_roughness); + glazing_roughness += R_frough_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_frough_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_Diamond_Offset( + + // 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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::anno::ui_order(3) + ]], + color tiles_color_diamond = color(0.586f, 0.759f, 0.774f) + [[ + ::anno::description("Color for the diamond."), + ::anno::display_name("Diamond Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(4) + ]], + float tiles_diamond_texture_amount = 0.2f + [[ + ::anno::description("The amount of dark texture to be applied to the diamond."), + ::anno::display_name("Diamond Texture Amound"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance"), + ::anno::ui_order(5) + ]], + float tiles_random_brightness = 0.015f + [[ + ::anno::description("Randomly modifies the brightness of the tiles."), + ::anno::display_name("Tiles Random Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::ui_order(6) + ]], + float tiles_roughness = 0.039f + [[ + ::anno::description("The basic roughness of the tiles."), + ::anno::display_name("Tiles Roughness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance"), + ::anno::ui_order(7) + ]], + 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::hard_range(0.f, 1.f), + ::anno::in_group("Appearance"), + ::anno::ui_order(8) + ]], + float tiles_random_slope_orientation = 0.04f + [[ + ::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("Appearance"), + ::anno::ui_order(9) + ]], + 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("Appearance"), + ::anno::ui_order(10) + ]], + 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("Appearance"), + ::anno::ui_order(11) + ]], + 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("Appearance"), + ::anno::ui_order(12) + ]], + float glazing_craquelure_weight = 0.05f + [[ + ::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("Appearance"), + ::anno::ui_order(13) + ]], + float drops_amount = 0.05f + [[ + ::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(14) + ]], + float grout_brightness = 0.7f + [[ + ::anno::description("Adjusts the brightness of the grout."), + ::anno::display_name("Grout Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(15) + ]], + float grout_height = 0.05f + [[ + ::anno::description("The height of the grout."), + ::anno::display_name("Grout Height"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(16) + ]], + 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("Appearance"), + ::anno::ui_order(17) + ]], + 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("Appearance", "Dirt"), + ::anno::ui_order(18) + ]], + float dirt_weight = 0.0f + [[ + ::anno::description("The weight of the dirt layer."), + ::anno::display_name("Dirt Weight"), + ::anno::in_group("Appearance", "Dirt"), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(19) + ]], + + 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(20) + ]], + + 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(21) + ]], + 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(22) + ]], + 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(23) + ]], + + + float tiles_rotate = 0.0f // global rotation of texture in the tiles + [[ + ::anno::description("Globally rotates the texture lookup for the tiles textures."), + ::anno::display_name("Tiles Texture Rotate"), + ::anno::in_group("Advanced", "Tiles"), + ::anno::ui_order(24) + ]], + float tiles_random_rotation = 1.0f // random rotation amount in degrees + [[ + ::anno::description("Randomly rotates the textures for the tiles."), + ::anno::display_name("Tiles Random Rotation"), + ::anno::soft_range(0.f, 360.f), + ::anno::in_group("Advanced", "Tiles"), + ::anno::ui_order(25) + ]], + 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(26) + ]], + 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(27) + ]], + + 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(28) + ]], + 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(29) + ]], + 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(30) + ]], + + 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(31) + ]], + 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(32) + ]], + 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(33) + ]], + 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(34) + ]], + 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(35) + ]] + +) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Dark Blue"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Glazed_Diamond_Offset.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "blue", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = +let { + texture_2d tex_lin_tiles_id_offset_color_tex = texture_2d("./diamond_alternated_R_id_G_offs_B_color.png", ::tex::gamma_linear); + texture_2d tex_lin_tiles_norm = texture_2d("./diamond_alternated_norm.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao = texture_2d("./diamond_alternated_multi_R_height_G_edgefade_B_ao.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_noise1_G_noise2_B_craquelure = texture_2d("./diamond_multi_R_noise1_G_noise2_B_craquelure.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_rough_G_thickness_B_drops = texture_2d("./diamond_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_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_color_diamond: tiles_color_diamond, + tiles_diamond_texture_amount: tiles_diamond_texture_amount, + 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_Offset_Diamond_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 Offset Diamond Tiles - Dark Blue Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Dark_Blue_New_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "matte", "blue", "dark", "cool", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.774f, 0.73f, 0.592f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.2f, + 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_Offset_Diamond_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 Offset Diamond Tiles - Dark Blue Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Dark_Blue_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "blue", "dark", "cool", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 1, + 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_color_diamond: color(0.774f, 0.73f, 0.592f), + tiles_diamond_texture_amount: 0.2f, + 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.07f, + glazing_edgefade_randomness: 0.77f, + glazing_craquelure_weight: 0.7f, + 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_Offset_Diamond_Antique_White(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Antique White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Antique_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "round", "old", "antique", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + 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_Offset_Diamond_White_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - White Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_White_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 0, + tiles_color_1: color(0.651406f, 0.651406f, 0.651406f), + tiles_color_2: color(0.651406f, 0.651406f, 0.597202f), + tiles_color_3: color(0.623960f, 0.623960f, 0.623960f), + tiles_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.02f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.07f, + tiles_random_slope_orientation: 0.71f, + glazing_orange_peel_bump: 0.2f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.20f, + drops_amount: 0.23f, + grout_brightness: 0.11f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Offset_Diamond_Antique_White_Dirty(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Antique White Dirty"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Antique_White_Dirty.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "round", "worn", "old", "antique", "matte", "dirty", "white", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + 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_Offset_Diamond_Black(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Black"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Black.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.73f, 0.68f, 0.567f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + 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_Offset_Diamond_Black_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Black Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Black_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.73f, 0.68f, 0.567f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.38f, + tiles_random_slope_orientation: 0.20f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.15f, + 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_Offset_Diamond_Graphite(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Graphite"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Graphite.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "gray", "graphite", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.723f, 0.715f, 0.673f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.1f, + 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.14f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Offset_Diamond_Graphite_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Graphite Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Graphite_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "gray", "graphite", "neutral", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.78f, + 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.09f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Offset_Diamond_Graphite_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Graphite Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Graphite_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "matte", "gray", "graphite", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.723f, 0.715f, 0.673f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.1f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.1f, + 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.14f, + 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: 1.0f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Offset_Diamond_Green(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "green", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 0, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_color_diamond: color(0.73f, 0.673f, 0.243f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.12f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + 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.85f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Offset_Diamond_Green_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Green Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Green_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "round", "matte", "green", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 0, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_color_diamond: color(0.701f, 0.73f, 0.612f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.12f, + tiles_roughness: 0.37f, + tiles_roughness_range: 0.11f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + 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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Offset_Diamond_Green_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Dark Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "matte", "green", "dark", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 1, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_color_diamond: color(0.73f, 0.673f, 0.243f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.79f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + 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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Offset_Diamond_Vintage_Green_Bathroom(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Vintage Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Vintage_Green_Bathroom.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "round", "antique", "old", "matte", "green", "multicolor", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 9, + tiles_color_1: color(0.012286f, 0.361307f, 0.130136f), + tiles_color_2: color(0.488f, 0.431f, 0.0478f), + tiles_color_3: color(0.003347f, 0.034340f, 0.003035f), + tiles_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.63f, + tiles_roughness: 0.1f, + tiles_roughness_range: 0.21f, + tiles_random_slope_orientation: 0.3f, + glazing_orange_peel_bump: 0.09f, + glazing_edgefade_weight: 0.29f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.6f, + 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_Offset_Diamond_Mint(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Mint Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Mint.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "mint", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 0, + tiles_color_1: color(0.208637f, 0.309469f, 0.130136f), + tiles_color_2: color(0.205079f, 0.304987f, 0.130136f), + tiles_color_3: color(0.201556f, 0.300544f, 0.124772f), + tiles_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.04f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.05f, + 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: 360.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Offset_Diamond_Mint_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Mint Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Mint_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "mint", "green", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 0, + tiles_color_1: color(0.208637f, 0.309469f, 0.130136f), + tiles_color_2: color(0.205079f, 0.304987f, 0.130136f), + tiles_color_3: color(0.201556f, 0.300544f, 0.124772f), + tiles_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.48f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.05f, + 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: 360.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Offset_Diamond_Lime_Green(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Lime Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Lime_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "lime", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.0415f, 0.0892f, 0.0265f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.03f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.12f, + glazing_edgefade_randomness: 0.37f, + glazing_craquelure_weight: 0.32f, + drops_amount: 0.22f, + 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: 360.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Offset_Diamond_Lime_Green_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Lime Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Lime_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "lime", "green", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 0, + tiles_color_1: color(0.309469f, 0.361307f, 0.015996f), + tiles_color_2: color(0.304987f, 0.356400f, 0.016807f), + tiles_color_3: color(0.300544f, 0.351533f, 0.017642f), + tiles_color_diamond: color(0.0415f, 0.0892f, 0.0265f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.56f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.12f, + glazing_edgefade_randomness: 0.37f, + glazing_craquelure_weight: 0.32f, + drops_amount: 0.22f, + 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: 360.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Offset_Diamond_Yellow(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Yellow"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Yellow.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "yellow", "warm", "saturated", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.0824f, 0.0781f, 0.0697f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.02f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.11f, + glazing_edgefade_randomness: 0.48f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.20f, + 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: 360.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Offset_Diamond_Yellow_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Yellow Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Yellow_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "yellow", "warm", "saturated", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 0, + tiles_color_1: color(0.590619f, 0.361307f, 0.023153f), + tiles_color_2: color(0.584078f, 0.356400f, 0.023153f), + tiles_color_3: color(0.577580f, 0.351533f, 0.024158f), + tiles_color_diamond: color(0.0824f, 0.0781f, 0.0697f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.49f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.11f, + glazing_edgefade_randomness: 0.48f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.20f, + 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: 360.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.85f, + uv_space_index: 0 +); + + + + +export material Ceramic_Tiles_Offset_Diamond_Petrol(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Petrol"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Petrol.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "petrol", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 13, + 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_color_diamond: color(0.272f, 0.415f, 0.415f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.03f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.1f, + glazing_edgefade_randomness: 0.46f, + 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: 360.00f, + 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: 0.85f, + uv_space_index: 0 +); + + + +export material Ceramic_Tiles_Offset_Diamond_Petrol_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Petrol Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Petrol_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "petrol", "cool", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 14, + 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_color_diamond: color(0.272f, 0.415f, 0.415f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.6f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.1f, + glazing_edgefade_randomness: 0.46f, + 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: 360.00f, + 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: 0.85f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Offset_Diamond_Sky(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Sky"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Sky.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "blue", "sky", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + tiles_random_seed: 0, + tiles_color_1: color(0.130136f, 0.644480f, 0.693872f), + tiles_color_2: color(0.135633f, 0.491021f, 0.644480f), + tiles_color_3: color(0.023153f, 0.135633f, 0.212231f), + tiles_color_diamond: color(0.774f, 0.759f, 0.708f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.03f, + tiles_roughness: 0.05f, + tiles_roughness_range: 0.02f, + tiles_random_slope_orientation: 0.23f, + glazing_orange_peel_bump: 0.15f, + glazing_edgefade_weight: 0.19f, + glazing_edgefade_randomness: 0.34f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.40f, + grout_brightness: 0.71f, + 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.00f, + 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_Offset_Diamond_Red(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Red"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Red.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "red", "warm", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.10f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.09f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Offset_Diamond_Red_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Offset Diamond Tiles - Red Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Diamond_Offset.Ceramic_Tiles_Offset_Diamond_Red_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "diamond", "new", "shiny", "red", "warm", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Diamond_Offset( + 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_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.6f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.19f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + + + + + \ No newline at end of file diff --git a/texture/material_0294/Ceramic_Tiles_Glazed_Mosaic_Shifted.mdl b/texture/material_0294/Ceramic_Tiles_Glazed_Mosaic_Shifted.mdl new file mode 100644 index 0000000000000000000000000000000000000000..3bd7c5b2fd7501f2d1bc0f2583b7c451b14bb728 --- /dev/null +++ b/texture/material_0294/Ceramic_Tiles_Glazed_Mosaic_Shifted.mdl @@ -0,0 +1,2638 @@ +/****************************************************************************** + * 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 *** + // *** Special multimaps for tiles *** // + uniform texture_2d tex_lin_tiles_id_offset_color_tex // R - Random ID per tile + = texture_2d() [[ // G - Offset (for the tiling algorithm to work) + ::anno::description("Tiles texture that contains the tile ids," // B - Height texture for each tile for compositing the grout + " the offsets and the rotation for the tiles."), + ::anno::display_name("Tiles ID Offset Rotation Texture"), + ::anno::in_group("Textures"), + ::anno::ui_order(0) + ]], + 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_Mosaic_Shifted.Ceramic_Tiles_Glazed_Mosaic_Shifted.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset")), + ::anno::hidden(), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] +{ + texture_scale *= 1.0f/3.0f; + 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); + +// --------------------------- 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; + int offset_x, offset_y; + + // the rand tiles texture must be sampled exactly, so texel lookup is the function we will be using here + int2 texel_coord = int2(int(::math::frac(tile_id_uv.x) * ::tex::width(tex_lin_tiles_id_offset_color_tex)), + int(::math::frac(tile_id_uv.y) * ::tex::height(tex_lin_tiles_id_offset_color_tex))); + float3 tiles_ids = ::tex::texel_float3(tex_lin_tiles_id_offset_color_tex, texel_coord); + + int rand_id = int(tiles_ids.x * 254.f); // Random tile ID's are stored in R-channel., 255 produces visual errors sometimes. 254 seems to work + // We are assuming 8bit values and generate integers from 0-255 + float offset_id = tiles_ids.y; // 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(tile_id_uv.x) - offset_x), int(::math::floor(tile_id_uv.y) - offset_y)); + + rand_val_1 = lowbias32(tiles_random_seed + rand_id + 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*2.f, + patch_size: 2.0f, + 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_Mosaic_Shifted( + +// Main Tweaks + uniform bool sharp_corners = false + [[ + ::anno::description("Uses sharp tile corners."), + ::anno::display_name("Enable Sharp Corners"), + ::anno::in_group("Appearance"), + ::anno::ui_order(0) + ]], + 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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance", "Dirt"), + ::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("Appearance", "Dirt"), + ::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 Shifted Mosaic Tiles - Dark Blue"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Glazed_Mosaic_Shifted.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = +let { + texture_2d tex_lin_tiles_id_offset_color_tex = texture_2d("./mosaic_shifted_R_id_G_offs_B_rotation.png", ::tex::gamma_linear); + texture_2d tex_lin_tiles_norm = sharp_corners ? texture_2d("./mosaic_shifted_sharp_norm.jpg", ::tex::gamma_linear) : + texture_2d("./mosaic_shifted_round_norm.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao = sharp_corners ? texture_2d("./mosaic_shifted_sharp_multi_R_height_G_edgefade_B_ao.jpg", ::tex::gamma_linear) : + texture_2d("./mosaic_shifted_round_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_Mosaic_Shifted_Dark_Blue_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Dark Blue Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Dark_Blue_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "matte", "blue", "dark", "cool", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_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 Shifted Mosaic Tiles - Dark Blue Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Dark_Blue_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "blue", "dark", "cool", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + tiles_random_seed: 1, + 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.04f, + 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: 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: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_Mosaic_Shifted_Dark_Green_New(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Dark Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Dark_Green_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "green", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Dark_Green_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Dark Green Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Dark_Green_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "matte", "green", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_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 Shifted Mosaic Tiles - Dark Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Dark_Green_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "matte", "green", "dark", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + tiles_random_seed: 2, + 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.04f, + 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: 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: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_Mosaic_Shifted_White(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_White_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - White Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_White_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_White_Worn_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - White Worn"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_White_Worn_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "worn", "aged", "old", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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: 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: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_Mosaic_Shifted_Antique_White(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Antique White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Antique_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "old", "antique", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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_Mosaic_Shifted_Antique_White_Dirty(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Antique White Dirty"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Antique_White_Dirty.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "worn", "old", "antique", "matte", "dirty", "white", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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_Mosaic_Shifted_Black(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Black"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Black.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Black_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Black Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Black_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Black_Matte_Rough(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Black Matte Rough"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Black_Matte_Rough.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "rough", "bumped", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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_Mosaic_Shifted_Dark_Gray(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Dark Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Dark_Gray.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "gray", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Dark_Gray_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Dark Gray Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Dark_Gray_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "matte", "gray", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Gray(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Gray.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "gray", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Gray_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Gray Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Gray_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "matte", "gray", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Gray_Matte_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Gray Matte Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Gray_Matte_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "matte", "gray", "neutral", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + tiles_random_seed: 3, + 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.04f, + 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: 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: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_Mosaic_Shifted_Mint(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Mint Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Mint.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "mint", "green")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Mint_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Mint Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Mint_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "mint", "green", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + tiles_random_seed: 4, + 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.04f, + 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: 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: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_Mosaic_Shifted_Lime_Green(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Lime Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Lime_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "lime", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Lime_Green_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Lime Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Lime_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "lime", "green", "random", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Yellow(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Yellow"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Yellow.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "yellow", "warm", "saturated", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Yellow_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Yellow Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Yellow_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "yellow", "warm", "saturated", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + tiles_random_seed: 6, + 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.04f, + 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: 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: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_Mosaic_Shifted_Petrol(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Petrol"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Petrol.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "petrol", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Petrol_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Petrol Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Petrol_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "petrol", "cool", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + tiles_random_seed: 7, + 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.04f, + 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: 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: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_Mosaic_Shifted_Red(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Red"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Red.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "red", "warm", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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_Mosaic_Shifted_Red_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Red Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Red_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "red", "warm", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + tiles_random_seed: 9, + 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.04f, + 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: 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: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_Mosaic_Shifted_Brown(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Shifted Mosaic Tiles - Brown"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Mosaic_Shifted.Ceramic_Tiles_Mosaic_Shifted_Brown.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "mosaic", "offset", "new", "shiny", "brown")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Mosaic_Shifted( + 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.04f, + 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: 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: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/texture/material_0295/Ceramic_Tiles_Glazed_Paseo.mdl b/texture/material_0295/Ceramic_Tiles_Glazed_Paseo.mdl new file mode 100644 index 0000000000000000000000000000000000000000..3cf4834372077b1cc1b9321ebcc3b79831f0f65a --- /dev/null +++ b/texture/material_0295/Ceramic_Tiles_Glazed_Paseo.mdl @@ -0,0 +1,2588 @@ +/****************************************************************************** + * 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 *** + // *** Special multimaps for tiles *** // + uniform texture_2d tex_lin_tiles_id_offset_color_tex // R - Random ID per tile + = texture_2d() [[ // G - Offset (for the tiling algorithm to work) + ::anno::description("Tiles texture that contains the tile ids," // B - Height texture for each tile for compositing the grout + " the offsets and the rotation for the tiles."), + ::anno::display_name("Tiles ID Offset Rotation Texture"), + ::anno::in_group("Textures"), + ::anno::ui_order(0) + ]], + 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_Paseo.Ceramic_Tiles_Glazed_Square_Brick.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset")), + ::anno::hidden(), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] +{ + texture_scale *= 4.0f/7.0f; + 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 + + ); + + ::base::texture_coordinate_info normal_uv = ::base::texture_coordinate_info( + position: base_uv.position * float3(2.0f, 4.0f, 1.0f), + 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)*float2(2.0f, 4.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; + int offset_x, offset_y; + + // the rand tiles texture must be sampled exactly, so texel lookup is the function we will be using here + int2 texel_coord = int2(int(::math::frac(tile_id_uv.x) * ::tex::width(tex_lin_tiles_id_offset_color_tex)), + int(::math::frac(tile_id_uv.y) * ::tex::height(tex_lin_tiles_id_offset_color_tex))); + float3 tiles_ids = ::tex::texel_float3(tex_lin_tiles_id_offset_color_tex, texel_coord); + + int rand_id = int(tiles_ids.x * 254.f); // Random tile ID's are stored in R-channel., 255 produces visual errors sometimes. 254 seems to work + // We are assuming 8bit values and generate integers from 0-255 + float offset_id = tiles_ids.y; // 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(tile_id_uv.x) - offset_x), int(::math::floor(tile_id_uv.y) - offset_y)); + + rand_val_1 = lowbias32(tiles_random_seed + rand_id + 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 * 0.6, + 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: normal_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_Paseo( + +// 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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance", "Dirt"), + ::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("Appearance", "Dirt"), + ::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 Paseo Tiles - Dark Blue"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Glazed_Paseo.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "blue", "dark", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = +let { + texture_2d tex_lin_tiles_id_offset_color_tex = texture_2d("./paseo_R_id_G_offs_B_rotation.png", ::tex::gamma_linear); + texture_2d tex_lin_tiles_norm = texture_2d("./paseo_norm.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao = texture_2d("./paseo_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_Paseo_Dark_Blue_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Dark Blue Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Dark_Blue_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "matte", "blue", "dark", "cool", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_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 Paseo Tiles - Dark Blue Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Dark_Blue_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "blue", "dark", "cool", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + tiles_random_seed: 1, + 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.04f, + 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.5f, + 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: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_Paseo_Dark_Green_New(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Dark Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Dark_Green_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "green", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Dark_Green_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Dark Green Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Dark_Green_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "matte", "green", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_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 Paseo Tiles - Dark Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Dark_Green_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "matte", "green", "dark", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + tiles_random_seed: 2, + 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.04f, + 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.5f, + 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: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_Paseo_White(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_White_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - White Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_White_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_White_Worn_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - White Worn"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_White_Worn_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "worn", "aged", "old", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.5f, + 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: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_Paseo_White_Worn_Matte_Dirty(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - White Worn Dirty"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_White_Worn_Matte_Dirty.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "worn", "aged", "old", "dirty", "matte", "white", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + tiles_random_seed: 19, + 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.5f, + grout_scale: 1.00f, + tiles_bump_strength: 1.00f, + dirt_color: color(0.0582f, 0.037f, 0.0265f), + dirt_weight: 0.8f, + 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_Paseo_Black(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Black"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Black.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Black_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Black Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Black_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Black_Matte_Rough(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Black Matte Rough"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Black_Matte_Rough.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "rough", "bumped", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.50f, + 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_Paseo_Dark_Gray(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Dark Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Dark_Gray.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "gray", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Dark_Gray_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Dark Gray Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Dark_Gray_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "matte", "gray", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Gray(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Gray.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "gray", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Gray_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Gray Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Gray_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "matte", "gray", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Gray_Matte_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Gray Matte Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Gray_Matte_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "matte", "gray", "neutral", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + tiles_random_seed: 3, + 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.04f, + 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.5f, + 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: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_Paseo_Mint(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Mint Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Mint.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "mint", "green")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Mint_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Mint Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Mint_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "mint", "green", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + tiles_random_seed: 4, + 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.04f, + 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.5f, + 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: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_Paseo_Lime_Green(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Lime Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Lime_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "lime", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Lime_Green_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Lime Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Lime_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "lime", "green", "random", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Yellow(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Yellow"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Yellow.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "yellow", "warm", "saturated", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Yellow_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Yellow Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Yellow_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "yellow", "warm", "saturated", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + tiles_random_seed: 6, + 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.04f, + 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.5f, + 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: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_Paseo_Petrol(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Petrol"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Petrol.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "petrol", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Petrol_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Petrol Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Petrol_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "petrol", "cool", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + tiles_random_seed: 7, + 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.04f, + 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.5f, + 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: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_Paseo_Red(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Red"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Red.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "red", "warm", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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_Paseo_Red_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Red Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Red_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "red", "warm", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + tiles_random_seed: 9, + 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.04f, + 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.5f, + 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: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_Paseo_Brown(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Paseo Tiles - Brown"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Paseo.Ceramic_Tiles_Paseo_Brown.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "paseo", "offset", "new", "shiny", "brown")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Paseo( + 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.04f, + 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.5f, + 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: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/texture/material_0296/Ceramic_Tiles_Glazed_Penny.mdl b/texture/material_0296/Ceramic_Tiles_Glazed_Penny.mdl new file mode 100644 index 0000000000000000000000000000000000000000..c70d9ac4adfb3d718c1cb7ffe5bdd60a841df6bb --- /dev/null +++ b/texture/material_0296/Ceramic_Tiles_Glazed_Penny.mdl @@ -0,0 +1,2398 @@ +/****************************************************************************** + * 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_Penny_Generator( + + // Ceramic textures + // *** MAPS *** + // *** Special multimaps for tiles *** // + uniform texture_2d tex_lin_tiles_id_offset_color_tex // R - Random ID per tile + = texture_2d() [[ // G - Offset (for the tiling algorithm to work) + ::anno::description("Tiles texture that contains the tile ids," // B - Height texture for each tile for compositing the grout + " the offsets and the rotation for the tiles."), + ::anno::display_name("Tiles ID Offset Rotation Texture"), + ::anno::in_group("Textures"), + ::anno::ui_order(0) + ]], + 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::enable_if("glazing_edgefade_weight > 0.0f"), + ::anno::in_group("Appearance"), + ::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(1, 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("UV Space Index"), + ::anno::in_group("Advanced"), + ::anno::ui_order(10) + ]] +) +[[ + ::anno::description("Glazed Ceramic Tiles Master material. This material should be hidden as it has all of its " + "parameters exposed. This material is only useful for hardcore-fans of fine grained tweaking and not necessary " + "if the user uses the tiles materials that are derived from it."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Ceramic Tiles - Penny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Glazed_Penny.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round")), + ::anno::hidden(), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] +{ + texture_scale *= float2(0.5f, 0.42f); + 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 + + ); +// --------------------------- 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; + int offset_x, offset_y; + + // the rand tiles texture must be sampled exactly, so texel lookup is the function we will be using here + int2 texel_coord = int2(int(::math::frac(base_uv.position.x) * ::tex::width(tex_lin_tiles_id_offset_color_tex)), + int(::math::frac(base_uv.position.y) * ::tex::height(tex_lin_tiles_id_offset_color_tex))); + float3 tiles_ids = ::tex::texel_float3(tex_lin_tiles_id_offset_color_tex, texel_coord); + + int rand_id = int(tiles_ids.x * 254.f); // Random tile ID's are stored in R-channel., 255 produces visual errors sometimes. 254 seems to work + // We are assuming 8bit values and generate integers from 0-255 + float offset_id = tiles_ids.y; // 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(base_uv.position.x) - offset_x), int(::math::floor(base_uv.position.y) - offset_y)); + + rand_val_1 = lowbias32(tiles_random_seed + rand_id + 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_Penny( + +// 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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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::hard_range(0.f, 1.f), + ::anno::in_group("Appearance"), + ::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::hard_range(0.f, 1.f), + ::anno::in_group("Appearance"), + ::anno::ui_order(6) + ]], + float tiles_random_slope_orientation = 0.1f + [[ + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::anno::ui_order(10) + ]], + float glazing_craquelure_weight = 0.7f + [[ + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance", "Dirt"), + ::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("Appearance", "Dirt"), + ::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 Penny Tiles - Dark Blue"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Dark_Blue_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "blue", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = +let { + texture_2d tex_lin_tiles_id_offset_color_tex = texture_2d("./penny_R_id_G_offs_B_rotation.png", ::tex::gamma_linear); + texture_2d tex_lin_tiles_norm = texture_2d("./penny_norm.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao = texture_2d("./penny_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_Penny_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_Penny_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 Penny Tiles - Dark Blue Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Dark_Blue_New_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "matte", "blue", "dark", "cool", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + 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.38f, + 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_Penny_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 Penny Tiles - Dark Blue Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Dark_Blue_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "blue", "dark", "cool", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + 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.07f, + glazing_edgefade_randomness: 0.77f, + glazing_craquelure_weight: 0.7f, + 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_Penny_Antique_White(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Antique White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Antique_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "old", "antique", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 0, + tiles_color_1: color(0.603827f, 0.533276f, 0.473531f), + tiles_color_2: color(0.274677f, 0.246201f, 0.223228f), + tiles_color_3: color(0.617207f, 0.617207f, 0.496933f), + tiles_random_brightness: 0.02f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.15f, + glazing_edgefade_weight: 0.17f, + glazing_edgefade_randomness: 0.50f, + glazing_craquelure_weight: 0.66f, + drops_amount: 0.40f, + 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_Penny_White_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - White Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_White_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 0, + tiles_color_1: color(0.651406f, 0.651406f, 0.651406f), + tiles_color_2: color(0.651406f, 0.651406f, 0.597202f), + tiles_color_3: color(0.623960f, 0.623960f, 0.623960f), + tiles_random_brightness: 0.02f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.07f, + tiles_random_slope_orientation: 0.71f, + glazing_orange_peel_bump: 0.2f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.20f, + drops_amount: 0.23f, + grout_brightness: 0.11f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Penny_Black(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Black"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Black.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + 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.2f, + 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_Penny_Black_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Black Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Black_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + 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.38f, + tiles_random_slope_orientation: 0.20f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.15f, + 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_Penny_Graphite(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Graphite"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Graphite.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "gray", "graphite", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + 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.1f, + 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.14f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Penny_Graphite_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Graphite Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Graphite_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "gray", "graphite", "neutral", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + 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.78f, + 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.14f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Penny_Graphite_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Graphite Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Graphite_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "matte", "gray", "graphite", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + 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.1f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.22f, + 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.14f, + 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: 1.0f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Penny_Green(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "green", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 0, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_random_brightness: 0.12f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + 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.85f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Penny_Green_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Green Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Green_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "matte", "green", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 0, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_random_brightness: 0.12f, + tiles_roughness: 0.37f, + tiles_roughness_range: 0.36f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + 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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Penny_Green_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Dark Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "matte", "green", "dark", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 0, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_random_brightness: 0.79f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + 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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Penny_Vintage_Green_Bathroom(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Vintage Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Vintage_Green_Bathroom.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "antique", "old", "matte", "green", "multicolor", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 9, + tiles_color_1: color(0.012286f, 0.361307f, 0.130136f), + tiles_color_2: color(0.381326f, 0.122139f, 0.046665f), + tiles_color_3: color(0.003347f, 0.034340f, 0.003035f), + tiles_random_brightness: 0.63f, + tiles_roughness: 0.1f, + tiles_roughness_range: 0.21f, + tiles_random_slope_orientation: 0.3f, + glazing_orange_peel_bump: 0.09f, + glazing_edgefade_weight: 0.29f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.6f, + 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_Penny_Mint(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Mint Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Mint.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "mint", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 0, + tiles_color_1: color(0.208637f, 0.309469f, 0.130136f), + tiles_color_2: color(0.205079f, 0.304987f, 0.130136f), + tiles_color_3: color(0.201556f, 0.300544f, 0.124772f), + tiles_random_brightness: 0.04f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.05f, + 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: 360.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Penny_Mint_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Mint Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Mint_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "mint", "green", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 0, + tiles_color_1: color(0.208637f, 0.309469f, 0.130136f), + tiles_color_2: color(0.205079f, 0.304987f, 0.130136f), + tiles_color_3: color(0.201556f, 0.300544f, 0.124772f), + tiles_random_brightness: 0.48f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.05f, + 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: 360.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Penny_Lime_Green(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Lime Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Lime_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "lime", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + 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.03f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.12f, + glazing_edgefade_randomness: 0.37f, + glazing_craquelure_weight: 0.32f, + drops_amount: 0.22f, + 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: 360.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Penny_Lime_Green_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Lime Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Lime_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "lime", "green", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 0, + tiles_color_1: color(0.309469f, 0.361307f, 0.015996f), + tiles_color_2: color(0.304987f, 0.356400f, 0.016807f), + tiles_color_3: color(0.300544f, 0.351533f, 0.017642f), + tiles_random_brightness: 0.56f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.12f, + glazing_edgefade_randomness: 0.37f, + glazing_craquelure_weight: 0.32f, + drops_amount: 0.22f, + 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: 360.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Penny_Yellow(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Yellow"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Yellow.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "yellow", "warm", "saturated", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + 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.02f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.11f, + glazing_edgefade_randomness: 0.48f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.20f, + 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: 360.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Penny_Yellow_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Yellow Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Yellow_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "yellow", "warm", "saturated", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 0, + tiles_color_1: color(0.590619f, 0.361307f, 0.023153f), + tiles_color_2: color(0.584078f, 0.356400f, 0.023153f), + tiles_color_3: color(0.577580f, 0.351533f, 0.024158f), + tiles_random_brightness: 0.49f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.11f, + glazing_edgefade_randomness: 0.48f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.20f, + 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: 360.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.85f, + uv_space_index: 0 +); + + + + +export material Ceramic_Tiles_Penny_Petrol(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Petrol"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Petrol.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "petrol", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 13, + 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.03f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.1f, + glazing_edgefade_randomness: 0.46f, + 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: 360.00f, + 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: 0.85f, + uv_space_index: 0 +); + + + +export material Ceramic_Tiles_Penny_Petrol_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Petrol Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Petrol_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "petrol", "cool", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 14, + 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.6f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.1f, + glazing_edgefade_randomness: 0.46f, + 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: 360.00f, + 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: 0.85f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Penny_Sky(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Sky"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Sky.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "blue", "sky", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + tiles_random_seed: 0, + tiles_color_1: color(0.130136f, 0.644480f, 0.693872f), + tiles_color_2: color(0.135633f, 0.491021f, 0.644480f), + tiles_color_3: color(0.023153f, 0.135633f, 0.212231f), + tiles_random_brightness: 0.03f, + tiles_roughness: 0.05f, + tiles_roughness_range: 0.02f, + tiles_random_slope_orientation: 0.23f, + glazing_orange_peel_bump: 0.15f, + glazing_edgefade_weight: 0.19f, + glazing_edgefade_randomness: 0.34f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.40f, + grout_brightness: 0.71f, + 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.00f, + 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_Penny_Red(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Red"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Red.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "red", "warm", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + 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.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.19f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Penny_Red_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Penny Tiles - Red Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Red_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "red", "warm", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Penny( + 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.6f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.19f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + + + + + \ No newline at end of file diff --git a/texture/material_0297/Ceramic_Tiles_Glazed_Pinwheel.mdl b/texture/material_0297/Ceramic_Tiles_Glazed_Pinwheel.mdl new file mode 100644 index 0000000000000000000000000000000000000000..bf23c01c95e40725c04bcb913020694e07325cf1 --- /dev/null +++ b/texture/material_0297/Ceramic_Tiles_Glazed_Pinwheel.mdl @@ -0,0 +1,2593 @@ +/****************************************************************************** + * 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 + //I = int2((I.x), (I.y)); // 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_Generator( + + // Ceramic textures + // *** MAPS *** + // *** Special multimaps for tiles *** // + uniform texture_2d tex_lin_tiles_id_offset_color_tex // R - Random ID per tile + = texture_2d() [[ // G - Offset (for the tiling algorithm to work) + ::anno::description("Tiles texture that contains the tile ids," // B - Height texture for each tile for compositing the grout + " the offsets and the rotation for the tiles."), + ::anno::display_name("Tiles ID Offset Rotation Texture"), + ::anno::in_group("Textures"), + ::anno::ui_order(0) + ]], + 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) + ]], + color tiles_color_diamond = color(0.246201f, 0.434154f, 0.479320f) + [[ + ::anno::description("Color for the diamond."), + ::anno::display_name("Diamond Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(10) + ]], + float tiles_diamond_texture_amount = 0.0f + [[ + ::anno::description("The amount of dark texture to be applied to the diamond."), + ::anno::display_name("Diamond Texture Amount"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance"), + ::anno::ui_order(11) + ]], + 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(12) + ]], + 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(13) + ]], + + 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(14) + ]], + 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(15) + ]], + + 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(16) + ]], + 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(17) + ]], + 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(18) + ]], + 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(19) + ]], + + 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(20) + ]], + 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(21) + ]], + 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("Appearance"), + ::anno::ui_order(22) + ]], + 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(23) + ]], + 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(24) + ]], + 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(25) + ]], + 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(26) + ]], + 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(27) + ]], + + // 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(28) + ]], + 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(29) + ]], + 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(30) + ]], + 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), + ::anno::ui_order(31) + ]], + 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), + ::anno::ui_order(32) + ]], + + 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), + ::anno::ui_order(33) + ]], + 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), + ::anno::ui_order(34) + ]], + 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), + ::anno::ui_order(35) + ]], + 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"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Glazed_Pinwheel.png"), + ::anno::key_words(string[]("generator", "tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture")), + ::anno::hidden(), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] +{ + texture_scale *= 0.5; + 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 + + ); + +// --------------------------- 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; + int offset_x, offset_y; + + // the rand tiles texture must be sampled exactly, so texel lookup is the function we will be using here + int2 texel_coord = int2(int(::math::frac(base_uv.position.x) * ::tex::width(tex_lin_tiles_id_offset_color_tex)), + int(::math::frac(base_uv.position.y) * ::tex::height(tex_lin_tiles_id_offset_color_tex))); + float3 tiles_ids = ::tex::texel_float3(tex_lin_tiles_id_offset_color_tex, texel_coord); + + int rand_id = int(tiles_ids.x * 254.f); // Random tile ID's are stored in R-channel., 255 produces visual errors sometimes. 254 seems to work + // We are assuming 8bit values and generate integers from 0-255 + float offset_id = tiles_ids.y; // 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(base_uv.position.x) - offset_x), int(::math::floor(base_uv.position.y) - offset_y)); + + rand_val_1 = lowbias32(tiles_random_seed + rand_id + 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) + ); + + + float3 R_frough_G_thickness_B_drops = nonrepeat_lookup( + texture: tex_tiles_multi_R_rough_G_thickness_B_drops, + uvw: base_uv, + average_color: float3(0.499f, 0.365f, 0.015f), + texture_scale: texture_scale * .3f, + 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 + + // Diamond Tiles Color + ::base::color_layer layer_1 = ::base::color_layer( + layer_color: tiles_color_diamond, + weight: tiles_ids.z, + mode: ::base::color_layer_blend + ); + ::base::color_layer layer_2 = ::base::color_layer( + layer_color: tiles_color_2, + weight: R_noise1_G_noise2_B_craquelure.x * (1.0f - tiles_ids.z), + mode: ::base::color_layer_blend + ); + // Color 3 + ::base::color_layer layer_3 = ::base::color_layer( + layer_color: tiles_color_3, + weight: R_noise1_G_noise2_B_craquelure.y * (1.0f - tiles_ids.z), + mode: ::base::color_layer_blend + ); + // Color 4 + ::base::color_layer layer_4 = ::base::color_layer( + layer_color: color(0.0f), + weight: R_noise1_G_noise2_B_craquelure.y * (tiles_ids.z) * tiles_diamond_texture_amount, + mode: ::base::color_layer_overlay + ); + // Varying brightness + ::base::color_layer layer_5 = ::base::color_layer( + layer_color: color(rnd6), + weight: tiles_random_brightness, + mode: ::base::color_layer_overlay + ); + // Varying glazing thickness + ::base::color_layer layer_6 = ::base::color_layer( + layer_color: ceramic_color, + weight: R_frough_G_thickness_B_drops.y * glazing_varying_thickness_weight * .15f, + mode: ::base::color_layer_blend + ); + // Edge Fade + ::base::color_layer layer_7 = ::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_8 = ::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, layer_7, layer_8 + ); + + 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_frough_G_thickness_B_drops.x, tiles_roughness_range, tiles_roughness); + glazing_roughness += R_frough_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_frough_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_Pinwheel( + + // 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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::anno::ui_order(3) + ]], + color tiles_color_diamond = color(0.586f, 0.759f, 0.774f) + [[ + ::anno::description("Color for the diamond."), + ::anno::display_name("Diamond Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(4) + ]], + float tiles_diamond_texture_amount = 0.2f + [[ + ::anno::description("The amount of dark texture to be applied to the diamond."), + ::anno::display_name("Diamond Texture Amound"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance"), + ::anno::ui_order(5) + ]], + float tiles_random_brightness = 0.015f + [[ + ::anno::description("Randomly modifies the brightness of the tiles."), + ::anno::display_name("Tiles Random Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::ui_order(6) + ]], + float tiles_roughness = 0.039f + [[ + ::anno::description("The basic roughness of the tiles."), + ::anno::display_name("Tiles Roughness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance"), + ::anno::ui_order(7) + ]], + 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::hard_range(0.f, 1.f), + ::anno::in_group("Appearance"), + ::anno::ui_order(8) + ]], + float tiles_random_slope_orientation = 0.04f + [[ + ::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("Appearance"), + ::anno::ui_order(9) + ]], + 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("Appearance"), + ::anno::ui_order(10) + ]], + 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("Appearance"), + ::anno::ui_order(11) + ]], + 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("Appearance"), + ::anno::ui_order(12) + ]], + float glazing_craquelure_weight = 0.05f + [[ + ::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("Appearance"), + ::anno::ui_order(13) + ]], + float drops_amount = 0.05f + [[ + ::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(14) + ]], + float grout_brightness = 0.7f + [[ + ::anno::description("Adjusts the brightness of the grout."), + ::anno::display_name("Grout Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(15) + ]], + float grout_height = 0.05f + [[ + ::anno::description("The height of the grout."), + ::anno::display_name("Grout Height"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(16) + ]], + 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("Appearance"), + ::anno::ui_order(17) + ]], + 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("Appearance", "Dirt"), + ::anno::ui_order(18) + ]], + float dirt_weight = 0.0f + [[ + ::anno::description("The weight of the dirt layer."), + ::anno::display_name("Dirt Weight"), + ::anno::in_group("Appearance", "Dirt"), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(19) + ]], + + 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(20) + ]], + + 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(21) + ]], + 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(22) + ]], + 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(23) + ]], + + + float tiles_rotate = 0.0f // global rotation of texture in the tiles + [[ + ::anno::description("Globally rotates the texture lookup for the tiles textures."), + ::anno::display_name("Tiles Texture Rotate"), + ::anno::in_group("Advanced", "Tiles"), + ::anno::ui_order(24) + ]], + float tiles_random_rotation = 1.0f // random rotation amount in degrees + [[ + ::anno::description("Randomly rotates the textures for the tiles."), + ::anno::display_name("Tiles Random Rotation"), + ::anno::soft_range(0.f, 360.f), + ::anno::in_group("Advanced", "Tiles"), + ::anno::ui_order(25) + ]], + 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(26) + ]], + 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(27) + ]], + + 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(28) + ]], + 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(29) + ]], + 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(30) + ]], + + 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(31) + ]], + 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(32) + ]], + 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(33) + ]], + 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(34) + ]], + 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(35) + ]] + +) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Dark Blue"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Glazed_Pinwheel.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "blue", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = +let { + texture_2d tex_lin_tiles_id_offset_color_tex = texture_2d("./pinwheel_R_id_G_offs_B_color.png", ::tex::gamma_linear); + texture_2d tex_lin_tiles_norm = texture_2d("./pinwheel_norm.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao = texture_2d("./pinwheel_multi_R_height_G_edgefade_B_ao.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_noise1_G_noise2_B_craquelure = texture_2d("./diamond_multi_R_noise1_G_noise2_B_craquelure.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_rough_G_thickness_B_drops = texture_2d("./diamond_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_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_color_diamond: tiles_color_diamond, + tiles_diamond_texture_amount: tiles_diamond_texture_amount, + 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_Pinwheel_Dark_Blue_New_Matte(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Dark Blue Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Dark_Blue_New_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "matte", "blue", "dark", "cool", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.774f, 0.73f, 0.592f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.2f, + 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.40f, + 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_Pinwheel_Dark_Blue_Varied_New(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Dark Blue Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Dark_Blue_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "blue", "dark", "cool", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 1, + 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_color_diamond: color(0.774f, 0.73f, 0.592f), + tiles_diamond_texture_amount: 0.2f, + 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.07f, + glazing_edgefade_randomness: 0.77f, + glazing_craquelure_weight: 0.7f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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_Pinwheel_Antique_White(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Antique White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Antique_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "old", "antique", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + 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.40f, + 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_Pinwheel_White_Matte(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - White Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_White_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 0, + tiles_color_1: color(0.651406f, 0.651406f, 0.651406f), + tiles_color_2: color(0.651406f, 0.651406f, 0.597202f), + tiles_color_3: color(0.623960f, 0.623960f, 0.623960f), + tiles_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.02f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.07f, + tiles_random_slope_orientation: 0.71f, + glazing_orange_peel_bump: 0.2f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.20f, + drops_amount: 0.23f, + grout_brightness: 0.11f, + grout_height: 0.40f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Pinwheel_Antique_White_Dirty(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Antique White Dirty"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Antique_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "worn", "old", "antique", "matte", "dirty", "white", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + 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.40f, + 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_Pinwheel_Black(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Black"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Black.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.73f, 0.68f, 0.567f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + 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.40f, + 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_Pinwheel_Black_Matte(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Black Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Black_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.73f, 0.68f, 0.567f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.38f, + tiles_random_slope_orientation: 0.20f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.15f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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_Pinwheel_Black_Matte_Rough(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Black Matte Rough"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Black_Matte_Rough.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "rough", "bumped", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.73f, 0.68f, 0.567f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.35f, + tiles_roughness_range: 0.13f, + tiles_random_slope_orientation: 0.20f, + glazing_orange_peel_bump: 0.50f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.15f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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: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_Pinwheel_Graphite(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Graphite"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Graphite.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "gray", "graphite", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.723f, 0.715f, 0.673f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.1f, + 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.14f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Pinwheel_Graphite_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Graphite Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Graphite_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "gray", "graphite", "neutral", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.78f, + 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.09f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Pinwheel_Graphite_Matte(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Graphite Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Graphite_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "matte", "gray", "graphite", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.723f, 0.715f, 0.673f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.1f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.1f, + 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.14f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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: 1.0f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Pinwheel_Green(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "green", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 0, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_color_diamond: color(0.73f, 0.673f, 0.243f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.12f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + grout_height: 0.40f, + 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.85f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Pinwheel_Green_Matte(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Green Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Green_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "matte", "green", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 0, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_color_diamond: color(0.701f, 0.73f, 0.612f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.12f, + tiles_roughness: 0.37f, + tiles_roughness_range: 0.11f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + grout_height: 0.40f, + 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.45f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Pinwheel_Green_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Dark Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "matte", "green", "dark", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 1, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_color_diamond: color(0.73f, 0.673f, 0.243f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.79f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + grout_height: 0.40f, + 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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Pinwheel_Vintage_Green_Bathroom(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Vintage Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Vintage_Green_Bathroom.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "antique", "old", "matte", "green", "multicolor", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 9, + tiles_color_1: color(0.012286f, 0.361307f, 0.130136f), + tiles_color_2: color(0.488f, 0.431f, 0.0478f), + tiles_color_3: color(0.003347f, 0.034340f, 0.003035f), + tiles_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.63f, + tiles_roughness: 0.1f, + tiles_roughness_range: 0.21f, + tiles_random_slope_orientation: 0.3f, + glazing_orange_peel_bump: 0.09f, + glazing_edgefade_weight: 0.29f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.6f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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_Pinwheel_Mint(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Mint Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Mint.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "mint", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 0, + tiles_color_1: color(0.208637f, 0.309469f, 0.130136f), + tiles_color_2: color(0.205079f, 0.304987f, 0.130136f), + tiles_color_3: color(0.201556f, 0.300544f, 0.124772f), + tiles_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.04f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.05f, + 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.40f, + 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.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Pinwheel_Mint_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Mint Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Mint_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "mint", "green", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 0, + tiles_color_1: color(0.208637f, 0.309469f, 0.130136f), + tiles_color_2: color(0.205079f, 0.304987f, 0.130136f), + tiles_color_3: color(0.201556f, 0.300544f, 0.124772f), + tiles_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.48f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.05f, + 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.40f, + 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.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Pinwheel_Lime_Green(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Lime Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Lime_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "lime", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.0415f, 0.0892f, 0.0265f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.03f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.12f, + glazing_edgefade_randomness: 0.37f, + glazing_craquelure_weight: 0.32f, + drops_amount: 0.22f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Pinwheel_Lime_Green_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Lime Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Lime_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "lime", "green", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 0, + tiles_color_1: color(0.309469f, 0.361307f, 0.015996f), + tiles_color_2: color(0.304987f, 0.356400f, 0.016807f), + tiles_color_3: color(0.300544f, 0.351533f, 0.017642f), + tiles_color_diamond: color(0.0415f, 0.0892f, 0.0265f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.56f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.12f, + glazing_edgefade_randomness: 0.37f, + glazing_craquelure_weight: 0.32f, + drops_amount: 0.22f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Pinwheel_Yellow(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Yellow"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Yellow.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "yellow", "warm", "saturated", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.0824f, 0.0781f, 0.0697f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.02f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.11f, + glazing_edgefade_randomness: 0.48f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.20f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Pinwheel_Yellow_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Yellow Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Yellow_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "yellow", "warm", "saturated", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 0, + tiles_color_1: color(0.590619f, 0.361307f, 0.023153f), + tiles_color_2: color(0.584078f, 0.356400f, 0.023153f), + tiles_color_3: color(0.577580f, 0.351533f, 0.024158f), + tiles_color_diamond: color(0.0824f, 0.0781f, 0.0697f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.49f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.11f, + glazing_edgefade_randomness: 0.48f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.20f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.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.85f, + uv_space_index: 0 +); + + + + +export material Ceramic_Tiles_Pinwheel_Petrol(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Petrol"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Petrol.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "petrol", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 13, + 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_color_diamond: color(0.272f, 0.415f, 0.415f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.03f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.1f, + glazing_edgefade_randomness: 0.46f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + + + +export material Ceramic_Tiles_Pinwheel_Petrol_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Petrol Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Petrol_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "petrol", "cool", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 14, + 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_color_diamond: color(0.272f, 0.415f, 0.415f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.6f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.1f, + glazing_edgefade_randomness: 0.46f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Pinwheel_Sky(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Sky"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Sky.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "blue", "sky", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + tiles_random_seed: 0, + tiles_color_1: color(0.130136f, 0.644480f, 0.693872f), + tiles_color_2: color(0.135633f, 0.491021f, 0.644480f), + tiles_color_3: color(0.023153f, 0.135633f, 0.212231f), + tiles_color_diamond: color(0.774f, 0.759f, 0.708f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.03f, + tiles_roughness: 0.05f, + tiles_roughness_range: 0.02f, + tiles_random_slope_orientation: 0.23f, + glazing_orange_peel_bump: 0.15f, + glazing_edgefade_weight: 0.19f, + glazing_edgefade_randomness: 0.34f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.40f, + grout_brightness: 0.71f, + grout_height: 0.40f, + 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.00f, + 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_Pinwheel_Red(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Red"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Red.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "red", "warm", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.10f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.09f, + grout_brightness: 0.09f, + grout_height: 0.40f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Pinwheel_Red_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Pinwheel Tiles - Red Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Pinwheel.Ceramic_Tiles_Pinwheel_Red_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "pinwheel", "new", "shiny", "red", "warm", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Pinwheel( + 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_color_diamond: color(0.036889f, 0.035601f, 0.023153f), + tiles_diamond_texture_amount: 0.2f, + tiles_random_brightness: 0.6f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.19f, + grout_brightness: 0.09f, + grout_height: 0.40f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + + + + + \ No newline at end of file diff --git a/texture/material_0298/Ceramic_Tiles_Glazed_Square.mdl b/texture/material_0298/Ceramic_Tiles_Glazed_Square.mdl new file mode 100644 index 0000000000000000000000000000000000000000..35925282dfb03eaa8ddc353b14c949d80f073de9 --- /dev/null +++ b/texture/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/texture/material_0299/Ceramic_Tiles_Glazed_Square_Brick.mdl b/texture/material_0299/Ceramic_Tiles_Glazed_Square_Brick.mdl new file mode 100644 index 0000000000000000000000000000000000000000..1fc9e445eda44306388306b02874337a04445fa4 --- /dev/null +++ b/texture/material_0299/Ceramic_Tiles_Glazed_Square_Brick.mdl @@ -0,0 +1,2532 @@ +/****************************************************************************** + * 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 *** + // *** Special multimaps for tiles *** // + uniform texture_2d tex_lin_tiles_id_offset_color_tex // R - Random ID per tile + = texture_2d() [[ // G - Offset (for the tiling algorithm to work) + ::anno::description("Tiles texture that contains the tile ids," // B - Height texture for each tile for compositing the grout + " the offsets and the rotation for the tiles."), + ::anno::display_name("Tiles ID Offset Rotation Texture"), + ::anno::in_group("Textures"), + ::anno::ui_order(0) + ]], + 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_Brick.Ceramic_Tiles_Glazed_Square_Brick.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset")), + ::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)*3.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; + int offset_x, offset_y; + + // the rand tiles texture must be sampled exactly, so texel lookup is the function we will be using here + int2 texel_coord = int2(int(::math::frac(tile_id_uv.x) * ::tex::width(tex_lin_tiles_id_offset_color_tex)), + int(::math::frac(tile_id_uv.y) * ::tex::height(tex_lin_tiles_id_offset_color_tex))); + float3 tiles_ids = ::tex::texel_float3(tex_lin_tiles_id_offset_color_tex, texel_coord); + + int rand_id = int(tiles_ids.x * 254.f); // Random tile ID's are stored in R-channel., 255 produces visual errors sometimes. 254 seems to work + // We are assuming 8bit values and generate integers from 0-255 + float offset_id = tiles_ids.y; // 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(tile_id_uv.x) - offset_x), int(::math::floor(tile_id_uv.y) - offset_y)); + + rand_val_1 = lowbias32(tiles_random_seed + rand_id + 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*.6f, + 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_Brick( + +// 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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance", "Dirt"), + ::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("Appearance", "Dirt"), + ::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 Brick Tiles - Dark Blue"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Glazed_Square_Brick.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = +let { + texture_2d tex_lin_tiles_id_offset_color_tex = texture_2d("./squarebricktiles_R_id_G_offs_B_rotation.png", ::tex::gamma_linear); + texture_2d tex_lin_tiles_norm = texture_2d("./squarebricktiles_norm.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao = texture_2d("./squarebricktiles_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_Brick_Dark_Blue_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Dark Blue Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Dark_Blue_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "matte", "blue", "dark", "cool", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_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 Brick Tiles - Dark Blue Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Dark_Blue_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "blue", "dark", "cool", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + tiles_random_seed: 1, + 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.04f, + 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: 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: 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_Brick_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 Brick Tiles - Dark Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Dark_Green_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "green", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_Dark_Green_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Dark Green Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Dark_Green_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "matte", "green", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_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 Brick Tiles - Dark Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Dark_Green_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "matte", "green", "dark", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + tiles_random_seed: 2, + 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.04f, + 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: 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: 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_Brick_White(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_White_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - White Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_White_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_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 Brick Tiles - White Worn"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_White_Worn_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "worn", "aged", "old", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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: 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: 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_Brick_Black(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Black"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Black.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_Black_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Black Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Black_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_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 Brick Tiles - Black Matte Rough"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Black_Matte_Rough.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "rough", "bumped", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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_Brick_Dark_Gray(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Dark Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Dark_Gray.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "gray", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: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_Brick_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 Brick Tiles - Dark Gray Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Dark_Gray_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "matte", "gray", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: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_Brick_Gray(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Gray.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "gray", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: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_Brick_Gray_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Gray Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Gray_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "matte", "gray", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: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_Brick_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 Brick Tiles - Gray Matte Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Gray_Matte_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "matte", "gray", "neutral", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + tiles_random_seed: 3, + 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.04f, + 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: 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: 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_Brick_Mint(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Mint Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Mint.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "mint", "green")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_Mint_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Mint Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Mint_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "mint", "green", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + tiles_random_seed: 4, + 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.04f, + 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: 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: 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_Brick_Lime_Green(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Lime Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Lime_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "lime", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_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 Brick Tiles - Lime Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Lime_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "lime", "green", "random", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_Yellow(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Yellow"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Yellow.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "yellow", "warm", "saturated", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_Yellow_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Yellow Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Yellow_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "yellow", "warm", "saturated", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + tiles_random_seed: 6, + 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.04f, + 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: 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: 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_Brick_Petrol(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Petrol"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Petrol.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "petrol", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_Petrol_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Petrol Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Petrol_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "petrol", "cool", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + tiles_random_seed: 7, + 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.04f, + 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: 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: 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_Brick_Red(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Red"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Red.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "red", "warm", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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_Brick_Red_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Red Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Red_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "red", "warm", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + tiles_random_seed: 9, + 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.04f, + 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: 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: 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_Brick_Brown(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Square Brick Tiles - Brown"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Square_Brick.Ceramic_Tiles_Square_Brick_Brown.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "square", "offset", "new", "shiny", "brown")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Square_Brick( + 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.04f, + 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: 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: 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/texture/material_0300/Ceramic_Tiles_Glazed_Subway.mdl b/texture/material_0300/Ceramic_Tiles_Glazed_Subway.mdl new file mode 100644 index 0000000000000000000000000000000000000000..2c184a62394d07463821586af1f1d63579bcac86 --- /dev/null +++ b/texture/material_0300/Ceramic_Tiles_Glazed_Subway.mdl @@ -0,0 +1,2485 @@ +/****************************************************************************** + * 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 *** + // *** Special multimaps for tiles *** // + uniform texture_2d tex_lin_tiles_id_offset_color_tex // R - Random ID per tile + = texture_2d() [[ // G - Offset (for the tiling algorithm to work) + ::anno::description("Tiles texture that contains the tile ids," // B - Height texture for each tile for compositing the grout + " the offsets and the rotation for the tiles."), + ::anno::display_name("Tiles ID Offset Rotation Texture"), + ::anno::in_group("Textures"), + ::anno::ui_order(0) + ]], + 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_Subway.Ceramic_Tiles_Glazed_Square_Brick.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "square", "offset")), + ::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)*6.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; + int offset_x, offset_y; + + // the rand tiles texture must be sampled exactly, so texel lookup is the function we will be using here + int2 texel_coord = int2(int(::math::frac(tile_id_uv.x) * ::tex::width(tex_lin_tiles_id_offset_color_tex)), + int(::math::frac(tile_id_uv.y) * ::tex::height(tex_lin_tiles_id_offset_color_tex))); + float3 tiles_ids = ::tex::texel_float3(tex_lin_tiles_id_offset_color_tex, texel_coord); + + int rand_id = int(tiles_ids.x * 254.f); // Random tile ID's are stored in R-channel., 255 produces visual errors sometimes. 254 seems to work + // We are assuming 8bit values and generate integers from 0-255 + float offset_id = tiles_ids.y; // 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(tile_id_uv.x) - offset_x), int(::math::floor(tile_id_uv.y) - offset_y)); + + rand_val_1 = lowbias32(tiles_random_seed + rand_id + 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*0.25f, + 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(R_noise1_G_noise2_B_craquelure.z), + //layer_color: color(::math::pow(R_noise1_G_noise2_B_craquelure.z, glazing_craquelure_pow)), + 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_Subway( + +// 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("Appearance"), + ::anno::ui_order(0) + ]], + color tiles_color_1 = color(0.603827f, 0.533276f, 0.473531f) + [[ + ::anno::description("Mixing color 1 for the ceramic tiles."), + ::anno::display_name("Tiles Color 1"), + ::anno::in_group("Appearance"), + ::anno::ui_order(1) + ]], + color tiles_color_2 = color(0.496933f, 0.445201f, 0.401978f) + [[ + ::anno::description("Mixing color 2 for the ceramic tiles."), + ::anno::display_name("Tiles Color 2"), + ::anno::in_group("Appearance"), + ::anno::ui_order(2) + ]], + color tiles_color_3 = color(0.571125f, 0.539479f, 0.462077f) + [[ + ::anno::description("Mixing color 3 for the tiles."), + ::anno::display_name("Tiles Color 3"), + ::anno::in_group("Appearance"), + ::anno::ui_order(3) + ]], + float tiles_random_brightness = 0.02f + [[ + ::anno::description("Randomly modifies the brightness of the tiles."), + ::anno::display_name("Tiles Random Brightness"), + ::anno::in_group("Appearance"), + ::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("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(5) + ]], + float tiles_roughness_range = 0.008f + [[ + ::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(6) + ]], + float tiles_random_slope_orientation = 0.1f + [[ + ::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("Appearance"), + ::anno::ui_order(7) + ]], + uniform float glazing_orange_peel_bump = 0.4f + [[ + ::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("Appearance"), + ::anno::ui_order(8) + ]], + float glazing_edgefade_weight = 0.17f + [[ + ::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("Appearance"), + ::anno::ui_order(9) + ]], + float glazing_edgefade_randomness = 0.5f + [[ + ::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("Appearance"), + ::anno::ui_order(10) + ]], + float glazing_craquelure_weight = 0.5f + [[ + ::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("Appearance"), + ::anno::ui_order(11) + ]], + float drops_amount = 0.2f + [[ + ::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(12) + ]], + float grout_brightness = 0.7f + [[ + ::anno::description("Adjusts the brightness of the grout."), + ::anno::display_name("Grout Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(13) + ]], + float grout_height = 0.01f + [[ + ::anno::description("The height of the grout."), + ::anno::display_name("Grout Height"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(14) + ]], + uniform float grout_scale = 0.5f + [[ + ::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("Appearance"), + ::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("Appearance", "Dirt"), + ::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("Appearance", "Dirt"), + ::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 = 0.360f // 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.3f + [[ + ::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.03f + [[ + ::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("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Antique White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Glazed_Subway.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "architecture", "diamond", "old", "antique", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = +let { + texture_2d tex_lin_tiles_id_offset_color_tex = texture_2d("./subway_R_id_G_offs_B_rotation.png", ::tex::gamma_linear); + texture_2d tex_lin_tiles_norm = texture_2d("./subway_norm.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao = texture_2d("./subway_multi_R_height_G_edgefade_B_ao.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_noise1_G_noise2_B_craquelure = texture_2d("./tiles2_multi_R_noise1_G_noise2_B_craquelure.png", ::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_Subway_Antique_White_Dirty(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Antique White Dirty"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Antique_White_Dirty.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "architecture", "diamond", "old", "antique", "dirty", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + tiles_random_seed: 12, + 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.35f, + tiles_roughness_range: 0.8f, + tiles_random_slope_orientation: 0.1f, + glazing_orange_peel_bump: 1.00f, + glazing_edgefade_weight: 0.17f, + glazing_edgefade_randomness: 0.50f, + glazing_craquelure_weight: 0.66f, + drops_amount: 0.20f, + grout_brightness: 0.50f, + 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.8f, + 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: 0.75f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Subway_Dark_Green_New(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Dark Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Dark_Green_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "green", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Subway_Dark_Green_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Dark Green Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Dark_Green_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "green", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Subway_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 Subway Tiles - Dark Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Dark_Green_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "green", "dark", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + tiles_random_seed: 2, + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Subway_White(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Subway_White_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - White Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_White_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + + + +export material Ceramic_Tiles_Subway_White_Worn_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - White Worn"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_White_Worn_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "square", "offset", "worn", "aged", "old", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 + ); + +export material Ceramic_Tiles_Subway_Black(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Black"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Black.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 + ); + + +export material Ceramic_Tiles_Subway_Black_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Black Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Black_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Subway_Black_Matte_Rough(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Black Matte Rough"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Black_Matte_Rough.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "rough", "bumped", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.3f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Subway_Dark_Gray(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Dark Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Dark_Gray.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "gray", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Subway_Dark_Gray_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Dark Gray Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Dark_Gray_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "gray", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Subway_Gray(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Gray.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "gray", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Subway_Gray_Matte(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Gray Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Gray_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "gray", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Subway_Gray_Matte_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Gray Matte Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Gray_Matte_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "gray", "neutral", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + tiles_random_seed: 3, + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Subway_Mint(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Mint Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Mint.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "mint", "green")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Subway_Mint_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Mint Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Mint_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "mint", "green", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + tiles_random_seed: 4, + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Subway_Lime_Green(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Lime Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Lime_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "lime", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Subway_Lime_Green_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Lime Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Lime_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "lime", "green", "random", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Subway_Yellow(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Yellow"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Yellow.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "yellow", "warm", "saturated", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.1f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Subway_Yellow_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Yellow Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Yellow_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "yellow", "warm", "saturated", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + tiles_random_seed: 6, + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.1f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Subway_Petrol(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Petrol"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Petrol.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "petrol", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Subway_Petrol_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Petrol Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Petrol_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "petrol", "cool", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + tiles_random_seed: 7, + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Subway_Red(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Red"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Red.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "red", "warm", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Subway_Red_Varied(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Red Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Red_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "red", "warm", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + tiles_random_seed: 9, + 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.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 + ); + + +export material Ceramic_Tiles_Subway_Cappucino(*) +[[ + ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Subway Tiles - Cappucino"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Cappucino.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "brown")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Subway( + tiles_random_seed: 0, + tiles_color_1: color(0.465f, 0.344f, 0.272f), + tiles_color_2: color(0.437f, 0.334f, 0.267f), + tiles_color_3: color(0.494f, 0.384f, 0.298f), + tiles_random_brightness: 0.02f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.04f, + 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.01f, + grout_scale: 0.30f, + 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: 0.50f, + 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.02f, + grout_bump_strength: 1.0f, + ao_amount: 0.3f, + uv_space_index: 0 + ); \ No newline at end of file diff --git a/texture/material_0301/Ceramic_Tiles_Glazed_Versailles.mdl b/texture/material_0301/Ceramic_Tiles_Glazed_Versailles.mdl new file mode 100644 index 0000000000000000000000000000000000000000..78ac92bed33b918928ebcc3c6a24b3ad2c45f74c --- /dev/null +++ b/texture/material_0301/Ceramic_Tiles_Glazed_Versailles.mdl @@ -0,0 +1,2595 @@ +/****************************************************************************** + * 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 + //I = int2((I.x), (I.y)); // 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_Generator( + + // Ceramic textures + // *** MAPS *** + // *** Special multimaps for tiles *** // + uniform texture_2d tex_lin_tiles_id_offset_color_tex // R - Random ID per tile + = texture_2d() [[ // G - Offset (for the tiling algorithm to work) + ::anno::description("Tiles texture that contains the tile ids," // B - Height texture for each tile for compositing the grout + " the offsets and the rotation for the tiles."), + ::anno::display_name("Tiles ID Offset Rotation Texture"), + ::anno::in_group("Textures"), + ::anno::ui_order(0) + ]], + 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) + ]], + color tiles_color_little_tile = color(0.246201f, 0.434154f, 0.479320f) + [[ + ::anno::description("Color for the diamond."), + ::anno::display_name("Diamond Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(10) + ]], + float tiles_little_tile_texture_amount = 0.0f + [[ + ::anno::description("The amount of dark texture to be applied to the diamond."), + ::anno::display_name("Diamond Texture Amount"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance"), + ::anno::ui_order(11) + ]], + 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(12) + ]], + 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(13) + ]], + + 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(14) + ]], + 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(15) + ]], + + 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(16) + ]], + 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(17) + ]], + 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(18) + ]], + 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(19) + ]], + + 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(20) + ]], + 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(21) + ]], + 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("Appearance"), + ::anno::ui_order(22) + ]], + 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(23) + ]], + 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(24) + ]], + 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(25) + ]], + 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(26) + ]], + 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(27) + ]], + + // 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(28) + ]], + 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(29) + ]], + 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(30) + ]], + 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), + ::anno::ui_order(31) + ]], + 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), + ::anno::ui_order(32) + ]], + + 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), + ::anno::ui_order(33) + ]], + 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), + ::anno::ui_order(34) + ]], + 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), + ::anno::ui_order(35) + ]], + 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"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Glazed_Versailles.png"), + ::anno::key_words(string[]("generator", "tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture")), + ::anno::hidden(), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] +{ + texture_scale *= 0.5; + 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) * 2.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; + int offset_x, offset_y; + + // the rand tiles texture must be sampled exactly, so texel lookup is the function we will be using here + int2 texel_coord = int2(int(::math::frac(tile_id_uv.x) * ::tex::width(tex_lin_tiles_id_offset_color_tex)), + int(::math::frac(tile_id_uv.y) * ::tex::height(tex_lin_tiles_id_offset_color_tex))); + float3 tiles_ids = ::tex::texel_float3(tex_lin_tiles_id_offset_color_tex, texel_coord); + + int rand_id = int(tiles_ids.x * 254.f); // Random tile ID's are stored in R-channel., 255 produces visual errors sometimes. 254 seems to work + // We are assuming 8bit values and generate integers from 0-255 + float offset_id = tiles_ids.y; // 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(tile_id_uv.x) - offset_x), int(::math::floor(tile_id_uv.y) - offset_y)); + + rand_val_1 = lowbias32(tiles_random_seed + rand_id + 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) + ); + + + float3 R_frough_G_thickness_B_drops = nonrepeat_lookup( + texture: tex_tiles_multi_R_rough_G_thickness_B_drops, + uvw: base_uv, + average_color: float3(0.499f, 0.365f, 0.015f), + texture_scale: texture_scale * .3f, + 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 + + // Diamond Tiles Color + ::base::color_layer layer_1 = ::base::color_layer( + layer_color: tiles_color_little_tile, + weight: tiles_ids.z, + mode: ::base::color_layer_blend + ); + ::base::color_layer layer_2 = ::base::color_layer( + layer_color: tiles_color_2, + weight: R_noise1_G_noise2_B_craquelure.x * (1.0f - tiles_ids.z), + mode: ::base::color_layer_blend + ); + // Color 3 + ::base::color_layer layer_3 = ::base::color_layer( + layer_color: tiles_color_3, + weight: R_noise1_G_noise2_B_craquelure.y * (1.0f - tiles_ids.z), + mode: ::base::color_layer_blend + ); + // Color 4 + ::base::color_layer layer_4 = ::base::color_layer( + layer_color: color(0.0f), + weight: R_noise1_G_noise2_B_craquelure.y * (tiles_ids.z) * tiles_little_tile_texture_amount, + mode: ::base::color_layer_overlay + ); + // Varying brightness + ::base::color_layer layer_5 = ::base::color_layer( + layer_color: color(rnd6), + weight: tiles_random_brightness, + mode: ::base::color_layer_overlay + ); + // Varying glazing thickness + ::base::color_layer layer_6 = ::base::color_layer( + layer_color: ceramic_color, + weight: R_frough_G_thickness_B_drops.y * glazing_varying_thickness_weight * .15f, + mode: ::base::color_layer_blend + ); + // Edge Fade + ::base::color_layer layer_7 = ::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_8 = ::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, layer_7, layer_8 + ); + + 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_frough_G_thickness_B_drops.x, tiles_roughness_range, tiles_roughness); + glazing_roughness += R_frough_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_frough_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_Versailles( + + // 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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::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("Appearance"), + ::anno::ui_order(3) + ]], + color tiles_color_little_tile = color(0.586f, 0.759f, 0.774f) + [[ + ::anno::description("Color for the diamond."), + ::anno::display_name("Diamond Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(4) + ]], + float tiles_little_tile_texture_amount = 0.2f + [[ + ::anno::description("The amount of dark texture to be applied to the diamond."), + ::anno::display_name("Diamond Texture Amound"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance"), + ::anno::ui_order(5) + ]], + float tiles_random_brightness = 0.015f + [[ + ::anno::description("Randomly modifies the brightness of the tiles."), + ::anno::display_name("Tiles random brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::ui_order(6) + ]], + float tiles_roughness = 0.039f + [[ + ::anno::description("The basic roughness of the tiles."), + ::anno::display_name("Tiles Roughness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance"), + ::anno::ui_order(7) + ]], + 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::hard_range(0.f, 1.f), + ::anno::in_group("Appearance"), + ::anno::ui_order(8) + ]], + float tiles_random_slope_orientation = 0.04f + [[ + ::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("Appearance"), + ::anno::ui_order(9) + ]], + 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("Appearance"), + ::anno::ui_order(10) + ]], + 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("Appearance"), + ::anno::ui_order(11) + ]], + 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("Appearance"), + ::anno::ui_order(12) + ]], + float glazing_craquelure_weight = 0.05f + [[ + ::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("Appearance"), + ::anno::ui_order(13) + ]], + float drops_amount = 0.05f + [[ + ::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(14) + ]], + float grout_brightness = 0.7f + [[ + ::anno::description("Adjusts the brightness of the grout."), + ::anno::display_name("Grout Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(15) + ]], + float grout_height = 0.05f + [[ + ::anno::description("The height of the grout."), + ::anno::display_name("Grout Height"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(16) + ]], + 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("Appearance"), + ::anno::ui_order(17) + ]], + 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("Appearance", "Dirt"), + ::anno::ui_order(18) + ]], + float dirt_weight = 0.0f + [[ + ::anno::description("The weight of the dirt layer."), + ::anno::display_name("Dirt Weight"), + ::anno::in_group("Appearance", "Dirt"), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(19) + ]], + + 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(20) + ]], + + 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(21) + ]], + 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(22) + ]], + 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(23) + ]], + + + float tiles_rotate = 0.0f // global rotation of texture in the tiles + [[ + ::anno::description("Globally rotates the texture lookup for the tiles textures."), + ::anno::display_name("Tiles Texture Rotate"), + ::anno::in_group("Advanced", "Tiles"), + ::anno::ui_order(24) + ]], + float tiles_random_rotation = 1.0f // random rotation amount in degrees + [[ + ::anno::description("Randomly rotates the textures for the tiles."), + ::anno::display_name("Tiles Random Rotation"), + ::anno::soft_range(0.f, 360.f), + ::anno::in_group("Advanced", "Tiles"), + ::anno::ui_order(25) + ]], + 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(26) + ]], + 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(27) + ]], + + 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(28) + ]], + 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(29) + ]], + 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(30) + ]], + + 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(31) + ]], + 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(32) + ]], + 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(33) + ]], + 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(34) + ]], + 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(35) + ]] + +) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Dark Blue"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Glazed_Versailles.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "blue", "dark", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = +let { + texture_2d tex_lin_tiles_id_offset_color_tex = texture_2d("./versailles2_R_id_G_offs_B_color.png", ::tex::gamma_linear); + texture_2d tex_lin_tiles_norm = texture_2d("./versailles2_norm.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao = texture_2d("./versailles2_multi_R_height_G_edgefade_B_ao.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_noise1_G_noise2_B_craquelure = texture_2d("./diamond_multi_R_noise1_G_noise2_B_craquelure.jpg", ::tex::gamma_linear); + texture_2d tex_tiles_multi_R_rough_G_thickness_B_drops = texture_2d("./diamond_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_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_color_little_tile: tiles_color_little_tile, + tiles_little_tile_texture_amount: tiles_little_tile_texture_amount, + 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_Versailles_Dark_Blue_New_Matte(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Dark Blue Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Dark_Blue_New_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "matte", "blue", "dark", "cool", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.774f, 0.73f, 0.592f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.2f, + 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.40f, + 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_Versailles_Dark_Blue_Varied_New(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Dark Blue Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Dark_Blue_Varied_New.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "blue", "dark", "cool", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 1, + 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_color_little_tile: color(0.774f, 0.73f, 0.592f), + tiles_little_tile_texture_amount:0.2f, + 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.07f, + glazing_edgefade_randomness: 0.77f, + glazing_craquelure_weight: 0.7f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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_Versailles_Antique_White(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Antique White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Antique_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "old", "antique", "shiny", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.036889f, 0.035601f, 0.023153f), + tiles_little_tile_texture_amount:0.2f, + 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.40f, + 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_Versailles_White_Matte(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - White Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_White_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "matte", "white", "light", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 0, + tiles_color_1: color(0.651406f, 0.651406f, 0.651406f), + tiles_color_2: color(0.651406f, 0.651406f, 0.597202f), + tiles_color_3: color(0.623960f, 0.623960f, 0.623960f), + tiles_color_little_tile: color(0.036889f, 0.035601f, 0.023153f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.02f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.07f, + tiles_random_slope_orientation: 0.71f, + glazing_orange_peel_bump: 0.2f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.20f, + drops_amount: 0.23f, + grout_brightness: 0.11f, + grout_height: 0.40f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Versailles_Antique_White_Dirty(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Antique White Dirty"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Antique_White.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "worn", "old", "antique", "matte", "dirty", "white", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.036889f, 0.035601f, 0.023153f), + tiles_little_tile_texture_amount:0.2f, + 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.40f, + 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_Versailles_Black(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Black"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Black.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.73f, 0.68f, 0.567f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + 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.40f, + 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_Versailles_Black_Matte(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Black Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Black_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.73f, 0.68f, 0.567f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.38f, + tiles_random_slope_orientation: 0.20f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.15f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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_Versailles_Black_Matte_Rough(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Black Matte Rough"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Black_Matte_Rough.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "rough", "bumped", "matte", "black", "dark", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.73f, 0.68f, 0.567f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.35f, + tiles_roughness_range: 0.13f, + tiles_random_slope_orientation: 0.20f, + glazing_orange_peel_bump: 0.50f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.15f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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: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_Versailles_Graphite(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Graphite"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Graphite.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "gray", "graphite", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.723f, 0.715f, 0.673f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.1f, + 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.14f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Versailles_Graphite_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Graphite Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Graphite_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "gray", "graphite", "neutral", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.036889f, 0.035601f, 0.023153f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.78f, + 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.09f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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: 1.0f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Versailles_Graphite_Matte(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Graphite Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Graphite_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "matte", "gray", "graphite", "neutral")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.723f, 0.715f, 0.673f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.1f, + tiles_roughness: 0.32f, + tiles_roughness_range: 0.1f, + 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.14f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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: 1.0f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Versailles_Green(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "green", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 0, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_color_little_tile: color(0.73f, 0.673f, 0.243f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.12f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + grout_height: 0.40f, + 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.85f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Versailles_Green_Matte(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Green Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Green_Matte.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "matte", "green", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 0, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_color_little_tile: color(0.701f, 0.73f, 0.612f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.12f, + tiles_roughness: 0.37f, + tiles_roughness_range: 0.11f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + grout_height: 0.40f, + 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.45f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Versailles_Green_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Dark Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "matte", "green", "dark", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 1, + tiles_color_1: color(0.099899f, 0.246201f, 0.008568f), + tiles_color_2: color(0.155926f, 0.242281f, 0.049707f), + tiles_color_3: color(0.012286f, 0.084376f, 0.033105f), + tiles_color_little_tile: color(0.73f, 0.673f, 0.243f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.79f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.11f, + glazing_edgefade_weight: 0.07f, + glazing_edgefade_randomness: 0.71f, + glazing_craquelure_weight: 1.00f, + drops_amount: 0.00f, + grout_brightness: 0.48f, + grout_height: 0.40f, + 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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Versailles_Vintage_Green_Bathroom(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Vintage Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Vintage_Green_Bathroom.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "antique", "old", "matte", "green", "multicolor", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 9, + tiles_color_1: color(0.012286f, 0.361307f, 0.130136f), + tiles_color_2: color(0.488f, 0.431f, 0.0478f), + tiles_color_3: color(0.003347f, 0.034340f, 0.003035f), + tiles_color_little_tile: color(0.036889f, 0.035601f, 0.023153f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.63f, + tiles_roughness: 0.1f, + tiles_roughness_range: 0.21f, + tiles_random_slope_orientation: 0.3f, + glazing_orange_peel_bump: 0.09f, + glazing_edgefade_weight: 0.29f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.6f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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_Versailles_Mint(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Mint Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Mint.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "mint", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 0, + tiles_color_1: color(0.208637f, 0.309469f, 0.130136f), + tiles_color_2: color(0.205079f, 0.304987f, 0.130136f), + tiles_color_3: color(0.201556f, 0.300544f, 0.124772f), + tiles_color_little_tile: color(0.036889f, 0.035601f, 0.023153f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.04f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.05f, + 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.40f, + 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.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Versailles_Mint_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Mint Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Mint_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "mint", "green", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 0, + tiles_color_1: color(0.208637f, 0.309469f, 0.130136f), + tiles_color_2: color(0.205079f, 0.304987f, 0.130136f), + tiles_color_3: color(0.201556f, 0.300544f, 0.124772f), + tiles_color_little_tile: color(0.036889f, 0.035601f, 0.023153f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.48f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.05f, + 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.40f, + 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.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Versailles_Lime_Green(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Lime Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Lime_Green.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "lime", "green", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.0415f, 0.0892f, 0.0265f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.03f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.12f, + glazing_edgefade_randomness: 0.37f, + glazing_craquelure_weight: 0.32f, + drops_amount: 0.22f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Versailles_Lime_Green_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Lime Green Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Lime_Green_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "lime", "green", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 0, + tiles_color_1: color(0.309469f, 0.361307f, 0.015996f), + tiles_color_2: color(0.304987f, 0.356400f, 0.016807f), + tiles_color_3: color(0.300544f, 0.351533f, 0.017642f), + tiles_color_little_tile: color(0.0415f, 0.0892f, 0.0265f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.56f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.12f, + glazing_edgefade_randomness: 0.37f, + glazing_craquelure_weight: 0.32f, + drops_amount: 0.22f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Versailles_Yellow(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Yellow"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Yellow.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "yellow", "warm", "saturated", "light")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.0824f, 0.0781f, 0.0697f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.02f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.11f, + glazing_edgefade_randomness: 0.48f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.20f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.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.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Versailles_Yellow_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Yellow Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Yellow_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "yellow", "warm", "saturated", "light", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 0, + tiles_color_1: color(0.590619f, 0.361307f, 0.023153f), + tiles_color_2: color(0.584078f, 0.356400f, 0.023153f), + tiles_color_3: color(0.577580f, 0.351533f, 0.024158f), + tiles_color_little_tile: color(0.0824f, 0.0781f, 0.0697f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.49f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.11f, + glazing_edgefade_randomness: 0.48f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.20f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.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.85f, + uv_space_index: 0 +); + + + + +export material Ceramic_Tiles_Versailles_Petrol(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Petrol"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Petrol.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "petrol", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 13, + 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_color_little_tile: color(0.272f, 0.415f, 0.415f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.03f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.1f, + glazing_edgefade_randomness: 0.46f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + + + +export material Ceramic_Tiles_Versailles_Petrol_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Petrol Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Petrol_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "petrol", "cool", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 14, + 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_color_little_tile: color(0.272f, 0.415f, 0.415f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.6f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.008f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.04f, + glazing_edgefade_weight: 0.1f, + glazing_edgefade_randomness: 0.46f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.00f, + grout_brightness: 0.70f, + grout_height: 0.40f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + +export material Ceramic_Tiles_Versailles_Sky(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Sky"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Sky.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "blue", "sky", "cool")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + tiles_random_seed: 0, + tiles_color_1: color(0.130136f, 0.644480f, 0.693872f), + tiles_color_2: color(0.135633f, 0.491021f, 0.644480f), + tiles_color_3: color(0.023153f, 0.135633f, 0.212231f), + tiles_color_little_tile: color(0.774f, 0.759f, 0.708f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.03f, + tiles_roughness: 0.05f, + tiles_roughness_range: 0.02f, + tiles_random_slope_orientation: 0.23f, + glazing_orange_peel_bump: 0.15f, + glazing_edgefade_weight: 0.19f, + glazing_edgefade_randomness: 0.34f, + glazing_craquelure_weight: 0.42f, + drops_amount: 0.40f, + grout_brightness: 0.71f, + grout_height: 0.40f, + 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.00f, + 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_Versailles_Red(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Red"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Red.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "red", "warm", "saturated")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.036889f, 0.035601f, 0.023153f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.015f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.10f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.09f, + grout_brightness: 0.09f, + grout_height: 0.40f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + + +export material Ceramic_Tiles_Versailles_Red_Varied(*) +[[ + ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."), + ::anno::in_group("Tiles"), + ::anno::display_name("Glazed Versailles Tiles - Red Varied"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Versailles.Ceramic_Tiles_Versailles_Red_Varied.png"), + ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "versailles", "new", "shiny", "red", "warm", "saturated", "random")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Ceramic_Tiles_Glazed_Versailles( + 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_color_little_tile: color(0.036889f, 0.035601f, 0.023153f), + tiles_little_tile_texture_amount:0.2f, + tiles_random_brightness: 0.6f, + tiles_roughness: 0.039f, + tiles_roughness_range: 0.003f, + tiles_random_slope_orientation: 0.2f, + glazing_orange_peel_bump: 0.03f, + glazing_edgefade_weight: 0.00f, + glazing_edgefade_randomness: 0.00f, + glazing_craquelure_weight: 0.00f, + drops_amount: 0.19f, + grout_brightness: 0.09f, + grout_height: 0.40f, + 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.00f, + 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: 0.85f, + uv_space_index: 0 +); + + + + + \ No newline at end of file diff --git a/texture/material_0302/Grog_Fired_Clay.mdl b/texture/material_0302/Grog_Fired_Clay.mdl new file mode 100644 index 0000000000000000000000000000000000000000..fa5d961870063b7a5e6fbc3bf96c02bebdc71c2b --- /dev/null +++ b/texture/material_0302/Grog_Fired_Clay.mdl @@ -0,0 +1,446 @@ +/****************************************************************************** + * 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.4; + +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 fired clay material with an adjustable dirt layer."; + +float remap(float input, float low, float high) +{ + //return low + input * (high - low); + return ::math::lerp(low, high, input); +} + + + +float remap(float input, float low_1, float high_1, float low_2, float high_2) +{ + return low_2 + ((input - low_1) * (high_2 - low_2))/(high_1 - low_1); +} + + +::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)); +} + + + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + +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; +} + +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); +} + +float3 normalmap_normal( + uniform texture_2d texture, + float factor = 1.0, + ::base::texture_coordinate_info uvw = ::base::texture_coordinate_info() +) +{ + float3 lookup = (::tex::lookup_float3(texture, float2(uvw.position.x, uvw.position.y)) - 0.5) * (factor * 2.0); + return ::math::normalize(uvw.tangent_u * lookup.x + uvw.tangent_v * lookup.y + ::state::normal()); +} + +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); +} + +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); +} + + + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +export material Grog_Fired_Clay( + uniform bool infinite_tiling = true [[ + ::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") + ]], + float patch_size = 0.8f [[ + ::anno::description("Determines the size of the sampled area in the texture. Larger values sample smaller areas, resulting in a more fragmented look of the source texture. Tweak the value so that the appearance of the infinite tiling looks good to you."), + ::anno::display_name("Patch Size"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + float diffuse_brightness = 0.5f [[ + ::anno::description("Adjusts the lightness of the material."), + ::anno::display_name("Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness = 0.5f [[ + ::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) + ]], + float dirt = 0.f [[ + ::anno::description("Adds dirt aggregations in the dimples of the wall."), + ::anno::display_name("Dirt"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + 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, 1.f) + ]], + uniform float2 texture_translate = float2(0.381000012f, 0.73300004f) [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Translate"), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Rotate"), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Scale"), + ::nvidia::core_definitions::dimension(float2(0.17f, 0.17f)), + ::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 radius_mm = 0.f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius (mm)"), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = true [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Use selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Fired Clay - New"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Grog_Fired_Clay.Grog_Fired_Clay.png"), + ::anno::key_words(string[]("clay", "infinite tiling", "new", "natural", "design", "rough", "bumped", "brown")) +]] + = + let { +material_surface mat_bsdf( + ::df::weighted_layer(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.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, ::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], 1.f, ::math::lerp(1.f, 0.583000004f, dirt)), ::df::custom_curve_layer(0.0199999996f, 1.f, 5.f, 1.f, ::df::microfacet_ggx_smith_bsdf(::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.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, ::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.605000019f, 0.781000018f, ::math::lerp(0.0500000007f, 0.649999976f, roughness), ::math::lerp(0.400000006f, 0.899999976f, roughness)), 0.f, 1.f) * ::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.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, ::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.605000019f, 0.781000018f, ::math::lerp(0.0500000007f, 0.649999976f, roughness), ::math::lerp(0.400000006f, 0.899999976f, roughness)), 0.f, 1.f), ::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.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, ::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.605000019f, 0.781000018f, ::math::lerp(0.0500000007f, 0.649999976f, roughness), ::math::lerp(0.400000006f, 0.899999976f, roughness)), 0.f, 1.f) * ::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.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, ::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.605000019f, 0.781000018f, ::math::lerp(0.0500000007f, 0.649999976f, roughness), ::math::lerp(0.400000006f, 0.899999976f, roughness)), 0.f, 1.f), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(::nvidia::core_definitions::blend_colors(color(0.050875999f, 0.0226240009f, 0.00489600003f), ::nvidia::core_definitions::blend_colors(infinite_tiling ? endless_texture(texture_2d("./fired_clay_fired_clay_diff.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.68599999f, 0.549000025f, 0.458999991f), ::math::lerp(30.f, 0.100000001f, patch_size), true) : ::base::file_texture(texture_2d("./fired_clay_fired_clay_diff.jpg", ::tex::gamma_srgb), 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, ::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, color(0.f, 0.f, 0.f), ::base::color_layer_multiply, ::math::lerp(0.349999994f, 0.f, diffuse_brightness)).tint, ::base::color_layer_blend, remap(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./fired_clay_multi_R_rough_G_ao_B_dirt.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, ::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], 0.235000014f, ::math::lerp(0.400000006f, 0.75f, dirt)), 0.258000016f, 1.f)).tint, ::math::lerp(0.f, 0.564999998f, roughness), ""), bsdf(), infinite_tiling ? endless_normal(texture_2d("./fired_clay_fired_clay_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.5f, 0.5f, 1.f), ::math::lerp(30.f, 0.100000001f, patch_size)) : normalmap_normal(texture_2d("./fired_clay_fired_clay_norm.jpg", ::tex::gamma_linear), bump_strength, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index))), infinite_tiling ? endless_normal(texture_2d("./fired_clay_fired_clay_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.5f, 0.5f, 1.f), ::math::lerp(30.f, 0.100000001f, patch_size)) : normalmap_normal(texture_2d("./fired_clay_fired_clay_norm.jpg", ::tex::gamma_linear), bump_strength, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index))), ::df::diffuse_reflection_bsdf(color(0.0331050009f, 0.0240330007f, 0.0201050006f), 0.654000044f, ""), ::state::normal()), + 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_geometry geom( + float3(0.f), + 1.f, + enable_round_corners ? ::state::rounded_corner_normal(radius_mm * 0.001f, across_materials, 1.f) : ::state::normal()); + + + } in + material( + thin_walled: false, + surface: mat_bsdf, + ior: tmp3, + geometry: geom); + + +export material Grog_Fired_Clay_Glaced(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Fired Clay - Glaced"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Grog_Fired_Clay.Grog_Fired_Clay_Glaced.png"), + ::anno::key_words(string[]("clay", "glazed", "infinite tiling", "natural", "design", "brown")) +]] = Grog_Fired_Clay( + infinite_tiling: true, + patch_size: 0.8f, + diffuse_brightness: 0.7f, + roughness: 0.0f, + dirt: 0.0f, + bump_strength: 0.25f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Grog_Fired_Clay_Dirt(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Fired Clay - Dirt"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Grog_Fired_Clay.Grog_Fired_Clay_Dirt.png"), + ::anno::key_words(string[]("clay", "infinite tiling", "aged", "old", "dirty", "dirt", "natural", "design", "rough", "bumped", "brown")) +]] = Grog_Fired_Clay( + infinite_tiling: true, + patch_size: 0.8f, + diffuse_brightness: 0.5f, + roughness: 0.4f, + dirt: 1.0f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Grog_Fired_Clay_Dried_Dirt(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Fired Clay - Dried Dirt"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Grog_Fired_Clay.Grog_Fired_Clay_Dried_Dirt.png"), + ::anno::key_words(string[]("clay", "infinite tiling", "aged", "old", "dirty", "dirt", "dry", "natural", "design", "rough", "bumped", "brown")) +]] = Grog_Fired_Clay( + infinite_tiling: true, + patch_size: 0.8f, + diffuse_brightness: 0.2f, + roughness: 0.85f, + dirt: 1.0f, + bump_strength: 1.0f, + 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/texture/material_0306/Concrete_Floor_Damage.mdl b/texture/material_0306/Concrete_Floor_Damage.mdl new file mode 100644 index 0000000000000000000000000000000000000000..adb4d2a7d3f262d0be307a573b58c1ef236e7aec --- /dev/null +++ b/texture/material_0306/Concrete_Floor_Damage.mdl @@ -0,0 +1,533 @@ +/****************************************************************************** + * 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 stone concrete material"; + +int lowbias32(int x) +{ + x ^= x >>> 16; + x *= 0x7feb352d; + x ^= x >>> 15; + x *= 0x846ca68b; + x ^= x >>> 16; + return x; +} + +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); +} + +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; +} + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + ::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; + + + 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)); +} + +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 + + 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) + + (W[1] = F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0,1)))) - m) + + (W[2] = F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1,0)))) - m); + else + O = (W[0] = -F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1)))) - m) + + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1, 0)))) - m) + + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0, 1)))) - m); + O = m + O/::math::length(W); + O = ::math::clamp( (O), 0.0, 1.0); + + return float3(O); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::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 srgb2rgb = false, + //bool rgb2srgb = false +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); + //return ::state::normal(); +} +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, .5), + 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 + )); +} +::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)); +} +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); +} + + +export material Concrete_Floor_Damage( + 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") + ]], + color stone_color = color(1.f, 0.928306997f, 0.848088026f) [[ + ::anno::description("."), + ::anno::display_name("Color"), + ::anno::in_group("Appearance") + ]], + float reflection_roughness = 1.f [[ + ::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) + ]], + float reflection_weight = 0.9f [[ + ::anno::description("Amount of reflection, higher numbers provide more reflection."), + ::anno::display_name("Reflection Weight"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform 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, 1.f) + ]], + 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"), + ::nvidia::core_definitions::dimension(float2(1.f, 1.f)), + ::anno::in_group("Transform") + ]], + 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") + ]], + 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) + ]], + uniform bool roundcorners_across_materials = true [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]]) + [[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Dry Concrete"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "weathered", "wall", "exterior", "rough", "urban", "city", "dry", "damage", "concrete")), + ::anno::thumbnail("./.thumbs/Concrete_Floor_Damage.Concrete_Floor_Damage.png"), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = + let { + bool tmp0 = false; + material_surface tmp1(::df::custom_curve_layer(0.0399999991f, 1.f, 5.f, ::math::pow(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 11.f, float3(0.572548985f, 0.858824015f, 0.f), 11.f, true) : ::base::file_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.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, ::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], 0.229999989f, ::math::lerp(0.790000021f, 0.620000005f, reflection_weight)), 2.20000005f), ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 11.f, float3(0.572548985f, 0.858824015f, 0.f), 11.f, true) : ::base::file_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.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, ::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], 1.f, reflection_roughness) * histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 11.f, float3(0.572548985f, 0.858824015f, 0.f), 11.f, true) : ::base::file_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.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, ::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], 1.f, reflection_roughness), histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 11.f, float3(0.572548985f, 0.858824015f, 0.f), 11.f, true) : ::base::file_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.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, ::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], 1.f, reflection_roughness) * histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 11.f, float3(0.572548985f, 0.858824015f, 0.f), 11.f, true) : ::base::file_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.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, ::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], 1.f, reflection_roughness), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(infinite_tiling ? endless_texture(texture_2d("./concrete_floor_damage_diff.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 11.f, float3(0.498039007f, 0.466666996f, 0.431373f), 11.f, true) : ::base::file_texture(texture_2d("./concrete_floor_damage_diff.jpg", ::tex::gamma_srgb), 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, ::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, stone_color, ::base::color_layer_overlay, 1.f).tint, color(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 11.f, float3(0.572548985f, 0.858824015f, 0.f), 11.f, true) : ::base::file_texture(texture_2d("./concrete_floor_damage_multi_R_rough_G_ao.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, ::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]), ::base::color_layer_overlay, -0.199999988f).tint, 0.f), bsdf(), infinite_tiling ? endless_normal(texture_2d("./concrete_floor_damage_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 11.f, float3(0.501960993f, 0.498039007f, 0.882353008f), 11.f) : ::base::tangent_space_normal_texture(texture_2d("./concrete_floor_damage_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.f)), infinite_tiling ? endless_normal(texture_2d("./concrete_floor_damage_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 11.f, float3(0.501960993f, 0.498039007f, 0.882353008f), 11.f) : ::base::tangent_space_normal_texture(texture_2d("./concrete_floor_damage_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.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_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, + geometry: tmp5); + +export material Defined_Reflections_Damaged_Concrete(*) +[[ + ::anno::display_name("Defined Reflections Damaged Concrete"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "weathered", "wall", "exterior", "rough", "urban", "city", "dry", "damage", "concrete")), + ::anno::thumbnail("./.thumbs/Concrete_Floor_Damage.Defined_Reflections_Damaged_Concrete.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Concrete_Floor_Damage +( + infinite_tiling: true, + stone_color: color(0.957370f, 0.932277f, 0.851252f), + reflection_roughness: 0.f, + reflection_weight: 1.f, + bump_strength: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: true, + uv_space_index: 0 +); + +export material Shiny_Damaged_Concrete(*) +[[ + ::anno::display_name("Shiny Damaged Concrete"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "weathered", "wall", "exterior", "rough", "urban", "city", "shiny", "damage", "concrete")), + ::anno::thumbnail("./.thumbs/Concrete_Floor_Damage.Shiny_Damaged_Concrete.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Concrete_Floor_Damage +( + infinite_tiling: true, + stone_color: color(0.957370f, 0.932277f, 0.851252f), + reflection_roughness: 0.2f, + reflection_weight: 0.f, + bump_strength: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: true, + uv_space_index: 0 +); + +export material Soft_Reflections_Damaged_Concrete(*) +[[ + ::anno::display_name("Soft Reflections Damaged Concrete"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "weathered", "wall", "exterior", "rough", "urban", "city", "soft", "damage", "concrete")), + ::anno::thumbnail("./.thumbs/Concrete_Floor_Damage.Soft_Reflections_Damaged_Concrete.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Concrete_Floor_Damage +( + infinite_tiling: true, + stone_color: color(0.957370f, 0.932277f, 0.851252f), + reflection_roughness: 0.65f, + reflection_weight: 0.75f, + bump_strength: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: true, + uv_space_index: 0 +); + +export material Matt_Damaged_Concrete(*) +[[ + ::anno::display_name("Matt Damaged Concrete"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "weathered", "wall", "exterior", "rough", "urban", "city", "soft", "damage", "concrete")), + ::anno::thumbnail("./.thumbs/Concrete_Floor_Damage.Matt_Damaged_Concrete.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Concrete_Floor_Damage +( + infinite_tiling: true, + stone_color: color(0.957370f, 0.932277f, 0.851252f), + reflection_roughness: 1.f, + reflection_weight: 0.f, + bump_strength: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: true, + uv_space_index: 0 +); + +export material Dark_Damaged_Concrete(*) +[[ + ::anno::display_name("Dark Damaged Concrete"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "weathered", "wall", "exterior", "rough", "urban", "city", "dark", "damage", "concrete")), + ::anno::thumbnail("./.thumbs/Concrete_Floor_Damage.Dark_Damaged_Concrete.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Concrete_Floor_Damage +( + infinite_tiling: true, + stone_color: color(0.157281f, 0.157281f, 0.157281f), + reflection_roughness: .6f, + reflection_weight: 0.f, + bump_strength: 0.35f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: true, + uv_space_index: 0 +); + +export material Dark_Rough_Concrete(*) +[[ + ::anno::display_name("Dark Rough Concrete"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "weathered", "wall", "exterior", "rough", "urban", "city", "dark", "damage", "concrete")), + ::anno::thumbnail("./.thumbs/Concrete_Floor_Damage.Dark_Rough_Concrete.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Concrete_Floor_Damage +( + infinite_tiling: true, + stone_color: color(0.157281f, 0.157281f, 0.157281f), + reflection_roughness: 1.f, + reflection_weight: 1.f, + bump_strength: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: true, + uv_space_index: 0 +); \ No newline at end of file diff --git a/texture/material_0307/Concrete_Formed.mdl b/texture/material_0307/Concrete_Formed.mdl new file mode 100644 index 0000000000000000000000000000000000000000..d06f254da3610daa3a986187e92bc75460e13adb --- /dev/null +++ b/texture/material_0307/Concrete_Formed.mdl @@ -0,0 +1,255 @@ +/****************************************************************************** + * 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::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"; + + +float remap_xy_to_0_1(float input, float x, float y) +{ + return (input - x)/(y - x); +} + +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 histogram_scan_small(float input, float width, float position) +{ + return ::math::clamp( + remap_xy_to_0_1(input, + ::math::lerp(0.0, 1.0 - width, position), + ::math::lerp(width, 1.0 , position)), + 0.0, + 1.0); +} + +::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 Concrete_Formed( + float diffuse_brightness = 0.82f [[ + ::anno::description("Adjusts the lightness of the material."), + ::anno::display_name("Diffuse Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness = 0.06f [[ + ::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) + ]], + uniform 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, 1.f) + ]], + 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") + ]], + 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.4f, 1.4f)) + ]], + uniform bool 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("Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float radius = 1.5f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Radius"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = true [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::description("A formed concrete material with wooden texture imprint."), + ::anno::in_group("Concrete"), + ::anno::display_name("Formed Concrete Shiny"), + ::anno::key_words(string[]("concrete", "architecture", "hard", "solid", "artificial", "interior", "exterior", "construction", "wood", "pattern", "neutral", "gray")), + ::anno::thumbnail("./.thumbs/Concrete_Formed.Concrete_Formed.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] + = + let { + bool tmp0 = false; + material_surface tmp1(df::custom_curve_layer(0.0399999991f, 1.f, 5.f, math::pow(histogram_scan_small(float3(base::file_texture(texture_2d("./conrete_formed_ORM.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, 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.660000026f, 0.649999976f), 2.20000005f), df::microfacet_ggx_smith_bsdf(histogram_range(float3(base::file_texture(texture_2d("./conrete_formed_ORM.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, 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(0.660000026f, 1.f, roughness), math::lerp(0.5f, 0.800000012f, roughness)) * histogram_range(float3(base::file_texture(texture_2d("./conrete_formed_ORM.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, 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(0.660000026f, 1.f, roughness), math::lerp(0.5f, 0.800000012f, roughness)), histogram_range(float3(base::file_texture(texture_2d("./conrete_formed_ORM.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, 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(0.660000026f, 1.f, roughness), math::lerp(0.5f, 0.800000012f, roughness)) * histogram_range(float3(base::file_texture(texture_2d("./conrete_formed_ORM.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, 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(0.660000026f, 1.f, roughness), math::lerp(0.5f, 0.800000012f, roughness)), color(1.f, 1.f, 1.f), state::texture_tangent_u(0), df::scatter_reflect), df::weighted_layer(1.f, df::diffuse_reflection_bsdf(base::file_texture(texture_2d("./conrete_formed_diff.jpg", ::tex::gamma_srgb), color(0.f, 0.f, 0.f), color(math::lerp(0.641000032f, 1.f, diffuse_brightness)), base::mono_alpha, 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.f), bsdf(), base::tangent_space_normal_texture(texture_2d("./conrete_formed_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.f)), base::tangent_space_normal_texture(texture_2d("./conrete_formed_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.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, round_corners ? state::rounded_corner_normal(radius * 0.00100000005f, 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); + +export material Concrete_Formed_Rough(*) +[[ + ::anno::description("A formed concrete material with wooden texture imprint."), + ::anno::in_group("Concrete"), + ::anno::display_name("Formed Concrete Rough"), + ::anno::key_words(string[]("concrete", "architecture", "hard", "solid", "artificial", "interior", "exterior", "construction", "wood", "pattern", "neutral", "gray")), + ::anno::thumbnail("./.thumbs/Concrete_Formed.Concrete_Formed_Rough.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] + = Concrete_Formed( + diffuse_brightness: 0.55f, + roughness: 0.8f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + round_corners: false, + radius: 1.5f, + across_materials: false, + uv_space_index: 0 + +); + + + + + + diff --git a/texture/material_0308/Concrete_Polished.mdl b/texture/material_0308/Concrete_Polished.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a1a8c2bf43aff03a6527549d42f240fe0fb99a0e --- /dev/null +++ b/texture/material_0308/Concrete_Polished.mdl @@ -0,0 +1,416 @@ +/****************************************************************************** + * 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 fine polished concrete material."; + +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); +} + +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); +} + +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); +} + + float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + + 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 + )); +} + +float remap_xy_to_0_1(float input, float x, float y) +{ + return (input - x)/(y - x); +} + +float histogram_scan_small(float input, float width, float position) +{ + return ::math::clamp( + remap_xy_to_0_1(input, + ::math::lerp(0.0, 1.0 - width, position), + ::math::lerp(width, 1.0 , position)), + 0.0, + 1.0); +} + +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 Concrete_Polished( + 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") + ]], + float diffuse_brightness = 1.f [[ + ::anno::description("Adjusts the lightness of the material."), + ::anno::display_name("Diffuse Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + float reflection_weight = 1.f [[ + ::anno::description("."), + ::anno::display_name("Reflection Weight"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + float reflection_roughness = 0.2f [[ + ::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) + ]], + float reflection_variation = 0.8f [[ + ::anno::description("Amount of variation applied to the roughness, higher numbers lead to non uniform reflections of the material."), + ::anno::display_name("Reflection Variation"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float bump_strength = 0.5f [[ + ::anno::description("Determines the degree of bumpiness."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 2.f) + ]], + 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.0f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform bool 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("Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float radius_mm = 1.5f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Radius"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f) + ]], + uniform bool across_materials = true [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Concrete Polished"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Polished.Concrete_Polished.png"), + ::anno::key_words(string[]("concrete", "polished", "smooth", "infinite", "tiling", "new", "artificial", "construction", "interior", "architecture", "gray")), + ::anno::in_group("Concrete"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] + = + let { + bool tmp0 = false; + material_surface tmp1(::df::custom_curve_layer(0.04f, 1.f, 5.f, ::math::pow(histogram_scan_small(float3(infinite_tiling ? endless_texture(texture_2d("./conrete_polished_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.14100003f, float3(0.937255025f, 0.321568996f, 0.f), 2.14100003f, false) : ::base::file_texture(texture_2d("./conrete_polished_ORM.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, ::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], ::math::lerp(0.0340000018f, 0.824000061f, reflection_weight), 1.f), 2.20000005f), ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./conrete_polished_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.14100003f, float3(0.937255025f, 0.321568996f, 0.f), 2.14100003f, false) : ::base::file_texture(texture_2d("./conrete_polished_ORM.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, ::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(0.205000013f, 1.f, reflection_variation), ::math::lerp(0.465000033f, 0.852000058f, reflection_roughness)) * histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./conrete_polished_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.14100003f, float3(0.937255025f, 0.321568996f, 0.f), 2.14100003f, false) : ::base::file_texture(texture_2d("./conrete_polished_ORM.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, ::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(0.205000013f, 1.f, reflection_variation), ::math::lerp(0.465000033f, 0.852000058f, reflection_roughness)), histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./conrete_polished_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.14100003f, float3(0.937255025f, 0.321568996f, 0.f), 2.14100003f, false) : ::base::file_texture(texture_2d("./conrete_polished_ORM.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, ::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(0.205000013f, 1.f, reflection_variation), ::math::lerp(0.465000033f, 0.852000058f, reflection_roughness)) * histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./conrete_polished_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.14100003f, float3(0.937255025f, 0.321568996f, 0.f), 2.14100003f, false) : ::base::file_texture(texture_2d("./conrete_polished_ORM.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, ::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(0.205000013f, 1.f, reflection_variation), ::math::lerp(0.465000033f, 0.852000058f, reflection_roughness)), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(infinite_tiling ? endless_texture(texture_2d("./conrete_polished_diff.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.14100003f, float3(0.470587999f, 0.470587999f, 0.454901993f), 2.14100003f, true) : ::base::file_texture(texture_2d("./conrete_polished_diff.jpg", ::tex::gamma_srgb), 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, ::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, color(0.f, 0.f, 0.f), ::base::color_layer_multiply, ::math::lerp(0.300000012f, 0.f, diffuse_brightness)).tint, 0.f), bsdf(), infinite_tiling ? endless_normal(texture_2d("./conrete_polished_norm.jpg", ::tex::gamma_linear), bump_strength * 2.f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.14100003f, float3(0.5f, 0.5f, 1.f), 2.14100003f) : ::base::tangent_space_normal_texture(texture_2d("./conrete_polished_norm.jpg", ::tex::gamma_linear), bump_strength * 2.f, false, false, 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, 1.f, 0.f)), infinite_tiling ? endless_normal(texture_2d("./conrete_polished_norm.jpg", ::tex::gamma_linear), bump_strength * 2.f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.14100003f, float3(0.5f, 0.5f, 1.f), 2.14100003f) : ::base::tangent_space_normal_texture(texture_2d("./conrete_polished_norm.jpg", ::tex::gamma_linear), bump_strength * 2.f, false, false, 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, 1.f, 0.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, round_corners ? ::state::rounded_corner_normal(radius_mm * 0.00100000005f, 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); + + +export material Concrete_Polished_Matte(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Concrete Polished Matte"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Polished.Concrete_Polished_Matte.png"), + ::anno::key_words(string[]("concrete", "polished", "infinite", "tiling", "new", "artificial", "construction", "interior", "architecture", "rough", "matte", "gray")), + ::anno::in_group("Concrete"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Concrete_Polished +( + infinite_tiling: true, + diffuse_brightness: 1.0f, + reflection_weight: 1.0f, + reflection_roughness: 0.8f, + reflection_variation: 1.0f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + + texture_scale: 1.0f, + round_corners: false, + radius_mm: 1.5f, + across_materials: false, + uv_space_index: 0 +); \ No newline at end of file diff --git a/texture/material_0309/Concrete_Precast.mdl b/texture/material_0309/Concrete_Precast.mdl new file mode 100644 index 0000000000000000000000000000000000000000..2f81f85e0cc409fa25b7767e32f78c8e1ae1cd75 --- /dev/null +++ b/texture/material_0309/Concrete_Precast.mdl @@ -0,0 +1,1288 @@ +/****************************************************************************** + * 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.4; + + +import ::state::*; +import ::base::*; +import ::tex::*; +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"; + + +export material Concrete_Precast( + + color concrete_color = color ( 0.57f, 0.57f, 0.57f ) + [[ + ::anno::display_name("Concrete Color"), + ::anno::description ( "Choose the color of the Concrete."), + ::anno::in_group("Appearance") + ]], + float grunge_amount = 0.20f + [[ + ::anno::display_name("Grunge Amount"), + ::anno::description("higher values results in more noise difference in the color of the concrete."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + float reflection_roughness = 0.5f + [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = .5f + [[ + ::anno::display_name("Bump Strength"), + ::anno::description("Specifies the strength of the bump."), + ::anno::in_group("Appearance") + ]], + 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("Rotate angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = float2 ( 1.f , 1.f) + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the texture size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform float ior = 1.5f + [[ + ::anno::display_name("IOR"), + ::anno::description("Index of refraction."), + ::anno::soft_range(1.0,4.0), + ::anno::in_group("Advanced") + ]], + uniform int uv_space_index = 0 + [[ + ::anno::display_name("UV Space Index"), + ::anno::description("UV space index."), + ::anno::hard_range(0,3), + ::anno::in_group("Advanced") + ]]) + [[ + ::anno::display_name("Concrete Precast - White"), + ::anno::description("A material for (pre)cast concrete formwork panels that have holes as part of the manufacturing process."), + ::anno::author("NVIDIA vMaterials"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Precast.concrete_precast_gray.png"), + ::anno::key_words(string[]("floor", "cast", "concrete", "precast", "construction", "cement", "white", "unfinished", "rough")) + ]]= + ::nvidia::core_definitions::flex_material_v2( + base_color: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::blend_colors( + color_1: concrete_color, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_diff.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_overlay, + weight: 1.0f ).tint, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_grunge_mask.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_multiply, + weight: grunge_amount ).tint, + diffuse_roughness: 0.f, + is_metal: false, + reflectivity: 1.0f, + reflection_roughness: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_rough.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + color_2: color ( reflection_roughness ), + mode: ::base::color_layer_overlay, + weight: 1.0f ).mono, + anisotropy: 0.f, + anisotropy_rotation: 0.f, + transparency: 0.f, + transmission_color: color ( 1.f , 1.f , 1.f), + volume_color: color ( 1.f , 1.f , 1.f), + transmission_roughness: 0.f, + base_thickness: 0.1f, + ior: ior, + thin_walled: false, + normal: ::nvidia::core_definitions::normalmap_texture( + texture: texture_2d ( "./precastconcrete_norm.jpg" , ::tex::gamma_linear), + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + factor: bump_strength * 0.20f, + texture_space: uv_space_index)); + + + +export material concrete_precast_light_gray( + + color concrete_color = color ( 0.68f , 0.68f , 0.68f ) + [[ + ::anno::display_name("Concrete Color"), + ::anno::description ( "Choose the color of the Concrete."), + ::anno::in_group("Appearance") + ]], + float grunge_amount = 0.40f + [[ + ::anno::display_name("Grunge Amount"), + ::anno::description("higher values results in more noise difference in the color of the concrete."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + float reflection_roughness = 0.15f + [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 1.f + [[ + ::anno::display_name("Bump Strength"), + ::anno::description("Specifies the strength of the bump."), + ::anno::in_group("Appearance") + ]], + 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("Rotate angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = float2 ( 1.f , 1.f) + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the texture size."), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)) + ]], + uniform float ior = 1.5f + [[ + ::anno::display_name("IOR"), + ::anno::description("Index of refraction."), + ::anno::soft_range(1.0,4.0), + ::anno::in_group("Advanced") + ]], + uniform int uv_space_index = 0 + [[ + ::anno::display_name("UV Space Index"), + ::anno::description("UV space index."), + ::anno::hard_range(0,3), + ::anno::in_group("Advanced") + ]]) + [[ + ::anno::display_name("Concrete Precast - Light Gray"), + ::anno::description("A material for (pre)cast concrete formwork panels that have holes as part of the manufacturing process."), + ::anno::author("NVIDIA vMaterials"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Precast.concrete_precast_light_gray.png"), + ::anno::key_words(string[]("floor", "cast", "concrete", "precast", "construction", "cement", "gray", "light gray", "light", "unfinished", "rough")) + ]]= + ::nvidia::core_definitions::flex_material_v2( + base_color: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::blend_colors( + color_1: concrete_color, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_diff.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_overlay, + weight: 1.0f ).tint, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_grunge_mask.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_multiply, + weight: grunge_amount ).tint, + diffuse_roughness: 0.f, + is_metal: false, + reflectivity: 1.0f, + reflection_roughness: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_rough.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + color_2: color (reflection_roughness), + mode: ::base::color_layer_overlay, + weight: 1.0f ).mono, + anisotropy: 0.f, + anisotropy_rotation: 0.f, + transparency: 0.f, + transmission_color: color ( 1.f , 1.f , 1.f), + volume_color: color ( 1.f , 1.f , 1.f), + transmission_roughness: 0.f, + base_thickness: 0.1f, + ior: ior, + thin_walled: false, + normal: ::nvidia::core_definitions::normalmap_texture( + texture: texture_2d ( "./precastconcrete_norm.jpg" , ::tex::gamma_linear), + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + factor: bump_strength * 0.20f, + texture_space: uv_space_index)); + + +export material concrete_precast_ivory( + + color concrete_color = color ( 0.883f , 0.851f , 0.797f ) + [[ + ::anno::display_name("Concrete Color"), + ::anno::description ( "Choose the color of the Concrete."), + ::anno::in_group("Appearance") + ]], + float grunge_amount = 0.30f + [[ + ::anno::display_name("Grunge Amount"), + ::anno::description("higher values results in more noise difference in the color of the concrete."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + float reflection_roughness = 0.15f + [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 1.f + [[ + ::anno::display_name("Bump Strength"), + ::anno::description("Specifies the strength of the bump."), + ::anno::in_group("Appearance") + ]], + 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("Rotate angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = float2 ( 1.f , 1.f) + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the texture size."), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)) + ]], + uniform float ior = 1.5f + [[ + ::anno::display_name("IOR"), + ::anno::description("Index of refraction."), + ::anno::soft_range(1.0,4.0), + ::anno::in_group("Advanced") + ]], + uniform int uv_space_index = 0 + [[ + ::anno::display_name("UV Space Index"), + ::anno::description("UV space index."), + ::anno::hard_range(0,3), + ::anno::in_group("Advanced") + ]]) + [[ + ::anno::display_name("Concrete Precast - Ivory"), + ::anno::description("A material for (pre)cast concrete formwork panels that have holes as part of the manufacturing process."), + ::anno::author("NVIDIA vMaterials"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Precast.concrete_precast_ivory.png"), + ::anno::key_words(string[]("floor", "cast", "concrete", "precast", "construction", "cement", "white", "ivory", "unfinished", "rough")) + ]]= + ::nvidia::core_definitions::flex_material_v2( + base_color: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::blend_colors( + color_1: concrete_color, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_diff.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_overlay, + weight: 1.0f ).tint, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_grunge_mask.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_multiply, + weight: grunge_amount ).tint, + diffuse_roughness: 0.f, + is_metal: false, + reflectivity: 1.0f, + reflection_roughness: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_rough.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + color_2: color (reflection_roughness), + mode: ::base::color_layer_overlay, + weight: 1.0f ).mono, + anisotropy: 0.f, + anisotropy_rotation: 0.f, + transparency: 0.f, + transmission_color: color ( 1.f , 1.f , 1.f), + volume_color: color ( 1.f , 1.f , 1.f), + transmission_roughness: 0.f, + base_thickness: 0.1f, + ior: ior, + thin_walled: false, + normal: ::nvidia::core_definitions::normalmap_texture( + texture: texture_2d ( "./precastconcrete_norm.jpg" , ::tex::gamma_linear), + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + factor: bump_strength * 0.20f, + texture_space: uv_space_index)); + + + +export material concrete_precast_light_warm_gray( + + color concrete_color = color (0.932f , 0.859f , 0.797f ) + [[ + ::anno::display_name("Concrete Color"), + ::anno::description ( "Choose the color of the Concrete."), + ::anno::in_group("Appearance") + ]], + float grunge_amount = 0.55f + [[ + ::anno::display_name("Grunge Amount"), + ::anno::description("higher values results in more noise difference in the color of the concrete."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + float reflection_roughness = 0.15f + [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 1.f + [[ + ::anno::display_name("Bump Strength"), + ::anno::description("Specifies the strength of the bump."), + ::anno::in_group("Appearance") + ]], + 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("Rotate angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = float2 ( 1.f , 1.f) + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the texture size."), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)) + ]], + uniform float ior = 1.5f + [[ + ::anno::display_name("IOR"), + ::anno::description("Index of refraction."), + ::anno::soft_range(1.0,4.0), + ::anno::in_group("Advanced") + ]], + uniform int uv_space_index = 0 + [[ + ::anno::display_name("UV Space Index"), + ::anno::description("UV space index."), + ::anno::hard_range(0,3), + ::anno::in_group("Advanced") + ]]) + [[ + ::anno::display_name("Concrete Precast - Light Warm Gray"), + ::anno::description("A material for (pre)cast concrete formwork panels that have holes as part of the manufacturing process."), + ::anno::author("NVIDIA vMaterials"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Precast.concrete_precast_light_warm_gray.png"), + ::anno::key_words(string[]("floor", "cast", "concrete", "precast", "construction", "cement", "warm", "gray", "light gray", "unfinished", "rough")) + ]]= + ::nvidia::core_definitions::flex_material_v2( + base_color: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::blend_colors( + color_1: concrete_color, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_diff.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_overlay, + weight: 1.0f ).tint, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_grunge_mask.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_multiply, + weight: grunge_amount ).tint, + diffuse_roughness: 0.f, + is_metal: false, + reflectivity: 1.0f, + reflection_roughness: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_rough.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + color_2: color (reflection_roughness), + mode: ::base::color_layer_overlay, + weight: 1.0f ).mono, + anisotropy: 0.f, + anisotropy_rotation: 0.f, + transparency: 0.f, + transmission_color: color ( 1.f , 1.f , 1.f), + volume_color: color ( 1.f , 1.f , 1.f), + transmission_roughness: 0.f, + base_thickness: 0.1f, + ior: ior, + thin_walled: false, + normal: ::nvidia::core_definitions::normalmap_texture( + texture: texture_2d ( "./precastconcrete_norm.jpg" , ::tex::gamma_linear), + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + factor: bump_strength * 0.20f, + texture_space: uv_space_index)); + + + +export material concrete_precast_warm_gray( + + color concrete_color = color (0.932f , 0.859f , 0.797f ) + [[ + ::anno::display_name("Concrete Color"), + ::anno::description ( "Choose the color of the Concrete."), + ::anno::in_group("Appearance") + ]], + float grunge_amount = 0.55f + [[ + ::anno::display_name("Grunge Amount"), + ::anno::description("higher values results in more noise difference in the color of the concrete."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + float reflection_roughness = 0.15f + [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 1.f + [[ + ::anno::display_name("Bump Strength"), + ::anno::description("Specifies the strength of the bump."), + ::anno::in_group("Appearance") + ]], + 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("Rotate angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = float2 ( 1.f , 1.f) + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the texture size."), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)) + ]], + uniform float ior = 1.5f + [[ + ::anno::display_name("IOR"), + ::anno::description("Index of refraction."), + ::anno::soft_range(1.0,4.0), + ::anno::in_group("Advanced") + ]], + uniform int uv_space_index = 0 + [[ + ::anno::display_name("UV Space Index"), + ::anno::description("UV space index."), + ::anno::hard_range(0,3), + ::anno::in_group("Advanced") + ]]) + [[ + ::anno::display_name("Concrete Precast - Warm Gray"), + ::anno::description("A material for (pre)cast concrete formwork panels that have holes as part of the manufacturing process."), + ::anno::author("NVIDIA vMaterials"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Precast.concrete_precast_warm_gray.png"), + ::anno::key_words(string[]("floor", "cast", "concrete", "precast", "construction", "cement", "warm", "gray", "unfinished", "rough")) + ]]= + ::nvidia::core_definitions::flex_material_v2( + base_color: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::blend_colors( + color_1: concrete_color, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_diff.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_overlay, + weight: 1.0f ).tint, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_grunge_mask.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_multiply, + weight: grunge_amount ).tint, + diffuse_roughness: 0.f, + is_metal: false, + reflectivity: 1.0f, + reflection_roughness: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_rough.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + color_2: color (reflection_roughness), + mode: ::base::color_layer_overlay, + weight: 1.0f ).mono, + anisotropy: 0.f, + anisotropy_rotation: 0.f, + transparency: 0.f, + transmission_color: color ( 1.f , 1.f , 1.f), + volume_color: color ( 1.f , 1.f , 1.f), + transmission_roughness: 0.f, + base_thickness: 0.1f, + ior: ior, + thin_walled: false, + normal: ::nvidia::core_definitions::normalmap_texture( + texture: texture_2d ( "./precastconcrete_norm.jpg" , ::tex::gamma_linear), + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + factor: bump_strength * 0.20f, + texture_space: uv_space_index)); + + + + +export material concrete_precast_dark_gray( + + color concrete_color = color ( 0.53f , 0.505f , 0.494f ) + [[ + ::anno::display_name("Concrete Color"), + ::anno::description ( "Choose the color of the Concrete."), + ::anno::in_group("Appearance") + ]], + float grunge_amount = 0.5f + [[ + ::anno::display_name("Grunge Amount"), + ::anno::description("higher values results in more noise difference in the color of the concrete."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + float reflection_roughness = 0.15f + [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 1.f + [[ + ::anno::display_name("Bump Strength"), + ::anno::description("Specifies the strength of the bump."), + ::anno::in_group("Appearance") + ]], + 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("Rotate angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = float2 ( 1.f , 1.f) + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the texture size."), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)) + ]], + uniform float ior = 1.5f + [[ + ::anno::display_name("IOR"), + ::anno::description("Index of refraction."), + ::anno::soft_range(1.0,4.0), + ::anno::in_group("Advanced") + ]], + uniform int uv_space_index = 0 + [[ + ::anno::display_name("UV Space Index"), + ::anno::description("UV space index."), + ::anno::hard_range(0,3), + ::anno::in_group("Advanced") + ]]) + [[ + ::anno::display_name("Concrete Precast - Dark Gray"), + ::anno::description("A material for (pre)cast concrete formwork panels that have holes as part of the manufacturing process."), + ::anno::author("NVIDIA vMaterials"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Precast.concrete_precast_dark_gray.png"), + ::anno::key_words(string[]("floor", "cast", "concrete", "precast", "construction", "cement", "dark", "gray", "dark gray", "unfinished", "rough")) + ]]= + ::nvidia::core_definitions::flex_material_v2( + base_color: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::blend_colors( + color_1: concrete_color, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_diff.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_overlay, + weight: 1.0f ).tint, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_grunge_mask.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_multiply, + weight: grunge_amount ).tint, + diffuse_roughness: 0.f, + is_metal: false, + reflectivity: 1.0f, + reflection_roughness: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_rough.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + color_2: color (reflection_roughness), + mode: ::base::color_layer_overlay, + weight: 1.0f ).mono, + anisotropy: 0.f, + anisotropy_rotation: 0.f, + transparency: 0.f, + transmission_color: color ( 1.f , 1.f , 1.f), + volume_color: color ( 1.f , 1.f , 1.f), + transmission_roughness: 0.f, + base_thickness: 0.1f, + ior: ior, + thin_walled: false, + normal: ::nvidia::core_definitions::normalmap_texture( + texture: texture_2d ( "./precastconcrete_norm.jpg" , ::tex::gamma_linear), + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + factor: bump_strength * 0.20f, + texture_space: uv_space_index)); + + + +export material concrete_precast_dark_charcoal( + + color concrete_color = color ( 0.28f , 0.259f , 0.239f ) + [[ + ::anno::display_name("Concrete Color"), + ::anno::description ( "Choose the color of the Concrete."), + ::anno::in_group("Appearance") + ]], + float grunge_amount = 0.5f + [[ + ::anno::display_name("Grunge Amount"), + ::anno::description("higher values results in more noise difference in the color of the concrete."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + float reflection_roughness = 0.15f + [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 1.f + [[ + ::anno::display_name("Bump Strength"), + ::anno::description("Specifies the strength of the bump."), + ::anno::in_group("Appearance") + ]], + 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("Rotate angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = float2 ( 1.f , 1.f) + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the texture size."), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)) + ]], + uniform float ior = 1.5f + [[ + ::anno::display_name("IOR"), + ::anno::description("Index of refraction."), + ::anno::soft_range(1.0,4.0), + ::anno::in_group("Advanced") + ]], + uniform int uv_space_index = 0 + [[ + ::anno::display_name("UV Space Index"), + ::anno::description("UV space index."), + ::anno::hard_range(0,3), + ::anno::in_group("Advanced") + ]]) + [[ + ::anno::display_name("Concrete Precast - Charcoal"), + ::anno::description("A material for (pre)cast concrete formwork panels that have holes as part of the manufacturing process."), + ::anno::author("NVIDIA vMaterials"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Precast.concrete_precast_dark_charcoal.png"), + ::anno::key_words(string[]("floor", "cast", "concrete", "precast", "construction", "cement", "dark", "charcoal", "gray", "unfinished", "rough")) + ]]= + ::nvidia::core_definitions::flex_material_v2( + base_color: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::blend_colors( + color_1: concrete_color, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_diff.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_overlay, + weight: 1.0f ).tint, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_grunge_mask.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_multiply, + weight: grunge_amount ).tint, + diffuse_roughness: 0.f, + is_metal: false, + reflectivity: 1.0f, + reflection_roughness: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_rough.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + color_2: color (reflection_roughness), + mode: ::base::color_layer_overlay, + weight: 1.0f ).mono, + anisotropy: 0.f, + anisotropy_rotation: 0.f, + transparency: 0.f, + transmission_color: color ( 1.f , 1.f , 1.f), + volume_color: color ( 1.f , 1.f , 1.f), + transmission_roughness: 0.f, + base_thickness: 0.1f, + ior: ior, + thin_walled: false, + normal: ::nvidia::core_definitions::normalmap_texture( + texture: texture_2d ( "./precastconcrete_norm.jpg" , ::tex::gamma_linear), + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + factor: bump_strength * 0.20f, + texture_space: uv_space_index)); + + + +export material concrete_precast_walnut( + + color concrete_color = color ( 0.47f , 0.307f , 0.239f ) + [[ + ::anno::display_name("Concrete Color"), + ::anno::description ( "Choose the color of the Concrete."), + ::anno::in_group("Appearance") + ]], + float grunge_amount = 0.5f + [[ + ::anno::display_name("Grunge Amount"), + ::anno::description("higher values results in more noise difference in the color of the concrete."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + float reflection_roughness = 0.15f + [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 1.f + [[ + ::anno::display_name("Bump Strength"), + ::anno::description("Specifies the strength of the bump."), + ::anno::in_group("Appearance") + ]], + 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("Rotate angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = float2 ( 1.f , 1.f) + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the texture size."), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)) + ]], + uniform float ior = 1.5f + [[ + ::anno::display_name("IOR"), + ::anno::description("Index of refraction."), + ::anno::soft_range(1.0,4.0), + ::anno::in_group("Advanced") + ]], + uniform int uv_space_index = 0 + [[ + ::anno::display_name("UV Space Index"), + ::anno::description("UV space index."), + ::anno::hard_range(0,3), + ::anno::in_group("Advanced") + ]]) + [[ + ::anno::display_name("Concrete Precast - Walnut"), + ::anno::description("A material for (pre)cast concrete formwork panels that have holes as part of the manufacturing process."), + ::anno::author("NVIDIA vMaterials"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Precast.concrete_precast_walnut.png"), + ::anno::key_words(string[]("floor", "cast", "concrete", "precast", "construction", "cement", "warm", "walnut", "unfinished", "rough")) + ]]= + ::nvidia::core_definitions::flex_material_v2( + base_color: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::blend_colors( + color_1: concrete_color, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_diff.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_overlay, + weight: 1.0f ).tint, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_grunge_mask.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_multiply, + weight: grunge_amount ).tint, + diffuse_roughness: 0.f, + is_metal: false, + reflectivity: 1.0f, + reflection_roughness: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_rough.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + color_2: color (reflection_roughness), + mode: ::base::color_layer_overlay, + weight: 1.0f ).mono, + anisotropy: 0.f, + anisotropy_rotation: 0.f, + transparency: 0.f, + transmission_color: color ( 1.f , 1.f , 1.f), + volume_color: color ( 1.f , 1.f , 1.f), + transmission_roughness: 0.f, + base_thickness: 0.1f, + ior: ior, + thin_walled: false, + normal: ::nvidia::core_definitions::normalmap_texture( + texture: texture_2d ( "./precastconcrete_norm.jpg" , ::tex::gamma_linear), + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + factor: bump_strength * 0.20f, + texture_space: uv_space_index)); + + +export material concrete_precast_sienna( + + color concrete_color = color ( 0.517f , 0.453f , 0.344f ) + [[ + ::anno::display_name("Concrete Color"), + ::anno::description ( "Choose the color of the Concrete."), + ::anno::in_group("Appearance") + ]], + float grunge_amount = 0.5f + [[ + ::anno::display_name("Grunge Amount"), + ::anno::description("higher values results in more noise difference in the color of the concrete."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + float reflection_roughness = 0.15f + [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.0,1.0), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 1.f + [[ + ::anno::display_name("Bump Strength"), + ::anno::description("Specifies the strength of the bump."), + ::anno::in_group("Appearance") + ]], + 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("Rotate angle of the texture in degrees."), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = float2 ( 1.f , 1.f) + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the texture size."), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)) + ]], + uniform float ior = 1.5f + [[ + ::anno::display_name("IOR"), + ::anno::description("Index of refraction."), + ::anno::soft_range(1.0,4.0), + ::anno::in_group("Advanced") + ]], + uniform int uv_space_index = 0 + [[ + ::anno::display_name("UV Space Index"), + ::anno::description("UV space index."), + ::anno::hard_range(0,3), + ::anno::in_group("Advanced") + ]]) + [[ + ::anno::display_name("Concrete Precast - Sienna"), + ::anno::description("A material for (pre)cast concrete formwork panels that have holes as part of the manufacturing process."), + ::anno::author("NVIDIA vMaterials"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Precast.concrete_precast_sienna.png"), + ::anno::key_words(string[]("floor", "cast", "concrete", "precast", "construction", "cement", "sienna", "gray", "unfinished", "rough")) + ]]= + ::nvidia::core_definitions::flex_material_v2( + base_color: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::blend_colors( + color_1: concrete_color, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_diff.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_overlay, + weight: 1.0f ).tint, + color_2: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_grunge_mask.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + mode: ::base::color_layer_multiply, + weight: grunge_amount ).tint, + diffuse_roughness: 0.f, + is_metal: false, + reflectivity: 1.0f, + reflection_roughness: ::nvidia::core_definitions::blend_colors( + color_1: ::nvidia::core_definitions::file_texture( + texture: texture_2d ( "./precastconcrete_rough.png" , ::tex::gamma_srgb) , + mono_source: ::base::mono_average, + brightness: 1.f, + contrast: 1.f, + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + texture_space: uv_space_index, + invert: false).tint, + color_2: color (reflection_roughness), + mode: ::base::color_layer_overlay, + weight: 1.0f ).mono, + anisotropy: 0.f, + anisotropy_rotation: 0.f, + transparency: 0.f, + transmission_color: color ( 1.f , 1.f , 1.f), + volume_color: color ( 1.f , 1.f , 1.f), + transmission_roughness: 0.f, + base_thickness: 0.1f, + ior: ior, + thin_walled: false, + normal: ::nvidia::core_definitions::normalmap_texture( + texture: texture_2d ( "./precastconcrete_norm.jpg" , ::tex::gamma_linear), + scaling: 0.5f/ texture_scale, + translation: texture_translate, + rotation: texture_rotate, + clip: false, + factor: bump_strength * 0.20f, + texture_space: uv_space_index)); \ No newline at end of file diff --git a/texture/material_0310/Concrete_Rough.mdl b/texture/material_0310/Concrete_Rough.mdl new file mode 100644 index 0000000000000000000000000000000000000000..6fbd40bb4037aa5e32fed149469570fe7c81ee2d --- /dev/null +++ b/texture/material_0310/Concrete_Rough.mdl @@ -0,0 +1,457 @@ +/****************************************************************************** + * 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"; + + + +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); +} + +float histogram_scan_small(float input, float width, float position) +{ + return ::math::clamp( + remap_xy_to_0_1(input, + ::math::lerp(0.0, 1.0 - width, position), + ::math::lerp(width, 1.0 , 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 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); +} + + + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +float3 normalmap_normal( + uniform texture_2d texture, + float factor = 1.0, + ::base::texture_coordinate_info uvw = ::base::texture_coordinate_info() +) +{ + float3 lookup = (::tex::lookup_float3(texture, float2(uvw.position.x, uvw.position.y)) - float3(0.5)) * (factor * 2.0); + return ::math::normalize(uvw.tangent_u * lookup.x + uvw.tangent_v * lookup.y + ::state::normal() * (lookup.z + (1.0 - factor))); +} + + +export material Concrete_Rough( + uniform bool infinite_tiling = true [[ + ::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") + ]], + float diffuse_brightness = 1.f [[ + ::anno::description("Adjusts the lightness of the material."), + ::anno::display_name("Diffuse Brightness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float roughness = 0.f [[ + ::anno::description("Higher values lead to blurrier reflections."), + ::anno::display_name("Roughness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float reflectivity = 1.f [[ + ::anno::description("Higher values make the surface more reflective."), + ::anno::display_name("Reflectivity"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float moss_growth = 0.f [[ + ::anno::description("Grows a layer of moss on top of the material."), + ::anno::display_name("Moss Growth"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 1.f [[ + ::anno::description("Determines the degree of bumpiness."), + ::anno::display_name("Bump Strength"), + ::anno::hard_range(0.f, 2.f), + ::anno::soft_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float dirt = 0.f [[ + ::anno::description("The strength of the dirtlayer."), + ::anno::display_name("Dirt Strength"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Dirt") + ]], + color dirt_color = color(0.f, 0.f, 0.f) [[ + ::anno::description("Adjust the color of the dirt layer."), + ::anno::display_name("Dirt Color"), + ::anno::in_group("Appearance", "Dirt") + ]], + 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 of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform") + ]], + 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("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::description("A rough concrete material with a dirt and moss layer."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Rough"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Rough.Concrete_Rough.png"), + ::anno::key_words(string[]("floor", "wall", "concrete", "construction", "exterior", "cement", "unfinished", "rough", "worn", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] + = + let { + bool tmp0 = false; + material_surface tmp1(::df::custom_curve_layer(0.0399999991f, 1.f, 5.f, ::math::pow(histogram_scan_small(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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], ::math::lerp(0.0340000018f, 1.f, reflectivity), 1.f), 2.20000005f), ::df::microfacet_ggx_smith_bsdf(::math::lerp(::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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], 0.635890067f, ::math::lerp(0.465000033f, 0.852000058f, roughness)), ::math::lerp(0.709000051f, histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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], 0.635890067f, ::math::lerp(0.465000033f, 0.852000058f, roughness)), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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.417000026f, 0.747000039f)), dirt), float3(::base::file_texture(texture_2d("./moss_multi_R_rough_G_ao_B_height.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.478000015f, ::base::texture_coordinate_uvw, 0), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1], histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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.334000021f, ::math::lerp(1.f, 0.584000051f, moss_growth))) * ::math::lerp(::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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], 0.635890067f, ::math::lerp(0.465000033f, 0.852000058f, roughness)), ::math::lerp(0.709000051f, histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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], 0.635890067f, ::math::lerp(0.465000033f, 0.852000058f, roughness)), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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.417000026f, 0.747000039f)), dirt), float3(::base::file_texture(texture_2d("./moss_multi_R_rough_G_ao_B_height.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.478000015f, ::base::texture_coordinate_uvw, 0), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1], histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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.334000021f, ::math::lerp(1.f, 0.584000051f, moss_growth))), ::math::lerp(::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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], 0.635890067f, ::math::lerp(0.465000033f, 0.852000058f, roughness)), ::math::lerp(0.709000051f, histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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], 0.635890067f, ::math::lerp(0.465000033f, 0.852000058f, roughness)), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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.417000026f, 0.747000039f)), dirt), float3(::base::file_texture(texture_2d("./moss_multi_R_rough_G_ao_B_height.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.478000015f, ::base::texture_coordinate_uvw, 0), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1], histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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.334000021f, ::math::lerp(1.f, 0.584000051f, moss_growth))) * ::math::lerp(::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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], 0.635890067f, ::math::lerp(0.465000033f, 0.852000058f, roughness)), ::math::lerp(0.709000051f, histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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], 0.635890067f, ::math::lerp(0.465000033f, 0.852000058f, roughness)), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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.417000026f, 0.747000039f)), dirt), float3(::base::file_texture(texture_2d("./moss_multi_R_rough_G_ao_B_height.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.478000015f, ::base::texture_coordinate_uvw, 0), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1], histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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.334000021f, ::math::lerp(1.f, 0.584000051f, moss_growth))), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_diff.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.705882013f, 0.705882013f, 0.678430974f), 2.02700019f, true) : ::base::file_texture(texture_2d("./concrete_rough_diff.jpg", ::tex::gamma_srgb), 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, ::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, color(0.f, 0.f, 0.f), ::base::color_layer_multiply, ::math::lerp(0.356000006f, 0.f, diffuse_brightness)).tint, nvidia::core_definitions::blend_colors(dirt_color, color(1.f, 1.f, 1.f), ::base::color_layer_blend, ::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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], 2.20000005f)).tint, ::base::color_layer_multiply, dirt * 0.699999988f).tint, ::base::file_texture(texture_2d("./moss_diff.jpg", ::tex::gamma_srgb), 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.478000015f, ::base::texture_coordinate_uvw, 0), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint, ::base::color_layer_multiply, histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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.334000021f, ::math::lerp(1.f, 0.584000051f, moss_growth))).tint, 0.f), bsdf(), ::state::normal()), ::state::normal()), 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, ::math::normalize(::math::lerp(infinite_tiling ? endless_normal(texture_2d("./concrete_rough_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.5f, 0.5f, 1.f), 2.02700019f) : ::base::tangent_space_normal_texture(texture_2d("./concrete_rough_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.f), normalmap_normal(texture_2d("./moss_norm.jpg", ::tex::gamma_linear), 2.f, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.478000015f, ::base::texture_coordinate_uvw, 0)), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_rough_ORM.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.2670002f, float3(0.647059023f, 0.721569002f, 0.464740992f), 2.02700019f, false) : ::base::file_texture(texture_2d("./concrete_rough_ORM.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, ::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.334000021f, ::math::lerp(1.f, 0.584000051f, moss_growth))))); + hair_bsdf tmp6 = hair_bsdf(); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5, + hair: tmp6); + + +export material Concrete_Rough_Dirty(*) +[[ + ::anno::description("A rough concrete material with a dirt and moss layer."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Rough Dirty"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Rough.Concrete_Rough_Dirty.png"), + ::anno::key_words(string[]("floor", "wall", "concrete", "construction", "exterior", "cement", "unfinished", "rough", "worn", "dirty", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] + = Concrete_Rough( + infinite_tiling: true, + diffuse_brightness: 1.0f, + roughness: 0.5f, + reflectivity: 1.0f, + moss_growth: 0.0f, + bump_strength: 1.0f, + dirt: 1.0f, + dirt_color: color(0.0f), + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Concrete_Rough_Mossy(*) +[[ + ::anno::description("A rough concrete material with a dirt and moss layer."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Rough Mossy"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Rough.Concrete_Rough_Mossy.png"), + ::anno::key_words(string[]("floor", "wall", "concrete", "construction", "exterior", "cement", "unfinished", "rough", "worn", "dirty", "decayed", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] + = Concrete_Rough( + infinite_tiling: true, + diffuse_brightness: 1.0f, + roughness: 0.5f, + reflectivity: 1.0f, + moss_growth: 0.5f, + bump_strength: 1.0f, + dirt: 0.0f, + dirt_color: color(0.0f), + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Concrete_Rough_Heavy_Decay(*) +[[ + ::anno::description("A rough concrete material with a dirt and moss layer."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Rough Heavy Decay"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Rough.Concrete_Rough_Heavy_Decay.png"), + ::anno::key_words(string[]("floor", "wall", "concrete", "construction", "exterior", "cement", "unfinished", "rough", "worn", "dirty", "decayed", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] + = Concrete_Rough( + infinite_tiling: true, + diffuse_brightness: 1.0f, + roughness: 0.75f, + reflectivity: 1.0f, + moss_growth: 0.80f, + bump_strength: 1.0f, + dirt: 0.0f, + dirt_color: color(0.0f), + 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/texture/material_0311/Concrete_Wall_Aged.mdl b/texture/material_0311/Concrete_Wall_Aged.mdl new file mode 100644 index 0000000000000000000000000000000000000000..f49dab97a3ae42733e553c050c3518b8feb61a02 --- /dev/null +++ b/texture/material_0311/Concrete_Wall_Aged.mdl @@ -0,0 +1,436 @@ +/****************************************************************************** + * 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"; + + + +::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)); +} + + +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); +} + + + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +export material Concrete_Wall_Aged( + 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") + ]], + float diffuse_brightness = 0.8f [[ + ::anno::description("Adjusts the lightness of the material."), + ::anno::display_name("Diffuse Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness = 0.45f [[ + ::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) + ]], + uniform 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, 3.f), + ::anno::soft_range(0.f, 1.f) + ]], + float grunge_weight = 0.0f [[ + ::anno::description("Adjusts the shininess of the grunge reflection. Vallues less than 0.5 make it shinier, value greater than 0.5 make it rougher. Set to 0.5 for neutral setting."), + ::anno::display_name("Grunge Amount"), + ::anno::in_group("Appearance", "Grunge"), + ::anno::hard_range(0.f, 1.f) + ]], + float grunge_roughness = 0.65f [[ + ::anno::description("Specifies the roughnes."), + ::anno::display_name("Grunge Roughness"), + ::anno::in_group("Appearance", "Grunge"), + ::anno::hard_range(0.f, 1.f) + ]], + color grunge_tint = color(0.0546f, 0.0478f, 0.0446f) [[ + ::anno::description("Tints the grunge layered upon the concrete."), + ::anno::display_name("Grunge Tint"), + ::anno::in_group("Appearance", "Grunge") + ]], + 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"), + ::nvidia::core_definitions::dimension(float2(1.0, 1.0)), + ::anno::in_group("Transform") + ]], + 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") + ]], + 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) + ]], + 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") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::description("An old concrete wall."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Wall Aged"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Wall_Aged.Concrete_Wall_Aged.png"), + ::anno::key_words(string[]("concrete", "infinite tiling", "wall", "outdoor", "old", "construction", "aged", "paint", "worn", "scratched", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] + = + let { + bool tmp0 = false; + material_surface tmp1(::df::custom_curve_layer(0.0399999991f, 1.f, 5.f, float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.352941006f, 0.870588005f, 0.0549019985f), 5.44000006f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.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, ::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], ::df::microfacet_ggx_smith_bsdf((histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.352941006f, 0.870588005f, 0.0549019985f), 5.44000006f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.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, ::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], 1.f, roughness * 0.25f + 0.600000024f) + grunge_weight * (grunge_roughness * 0.600000024f + -0.300000012f) * float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.352941006f, 0.870588005f, 0.0549019985f), 5.44000006f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.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, ::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]) * (histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.352941006f, 0.870588005f, 0.0549019985f), 5.44000006f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.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, ::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], 1.f, roughness * 0.25f + 0.600000024f) + grunge_weight * (grunge_roughness * 0.600000024f + -0.300000012f) * float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.352941006f, 0.870588005f, 0.0549019985f), 5.44000006f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.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, ::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]), (histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.352941006f, 0.870588005f, 0.0549019985f), 5.44000006f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.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, ::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], 1.f, roughness * 0.25f + 0.600000024f) + grunge_weight * (grunge_roughness * 0.600000024f + -0.300000012f) * float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.352941006f, 0.870588005f, 0.0549019985f), 5.44000006f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.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, ::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]) * (histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.352941006f, 0.870588005f, 0.0549019985f), 5.44000006f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.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, ::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], 1.f, roughness * 0.25f + 0.600000024f) + grunge_weight * (grunge_roughness * 0.600000024f + -0.300000012f) * float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.352941006f, 0.870588005f, 0.0549019985f), 5.44000006f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.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, ::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]), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_diff.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.576470971f, 0.560783982f, 0.517647028f), 5.44000006f, true) : ::base::file_texture(texture_2d("./concrete_wall_aged_diff.jpg", ::tex::gamma_srgb), 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, ::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, grunge_tint, ::base::color_layer_multiply, float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.352941006f, 0.870588005f, 0.0549019985f), 5.44000006f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_R_rough_G_ao_B_grunge.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, ::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] * grunge_weight).tint, color(0.f, 0.f, 0.f), ::base::color_layer_multiply, diffuse_brightness * -0.300000012f + 0.300000012f).tint, 0.f, ""), bsdf(), infinite_tiling ? endless_normal(texture_2d("./concrete_wall_aged_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.5f, 0.5f, 1.f), 5.44000006f) : ::base::tangent_space_normal_texture(texture_2d("./concrete_wall_aged_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.f)), infinite_tiling ? endless_normal(texture_2d("./concrete_wall_aged_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 5.44000006f, float3(0.5f, 0.5f, 1.f), 5.44000006f) : ::base::tangent_space_normal_texture(texture_2d("./concrete_wall_aged_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.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()); + hair_bsdf tmp6 = hair_bsdf(); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5, + hair: tmp6); + + +export material Concrete_Wall_Aged_Slight_Grunge(*) +[[ + ::anno::description("An old concrete wall."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Wall Aged - Slight Grunge"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Wall_Aged.Concrete_Wall_Aged_Slight_Grunge.png"), + ::anno::key_words(string[]("concrete", "infinite tiling", "wall", "outdoor", "old", "construction", "aged", "paint", "worn", "scratched", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Concrete_Wall_Aged +( + infinite_tiling: false, + diffuse_brightness: 0.7f, + roughness: 0.33f, + bump_strength: 1.0f, + grunge_weight: 0.74f, + grunge_tint: color(0.0528f, 0.0399f, 0.0342f), + grunge_roughness: 0.81f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 2.0f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +export material Concrete_Wall_Aged_Rough_Black_Grunge(*) +[[ + ::anno::description("An old concrete wall."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Wall Aged - Black Grunge"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Wall_Aged.Concrete_Wall_Aged_Slight_Grunge.png"), + ::anno::key_words(string[]("concrete", "infinite tiling", "wall", "outdoor", "old", "construction", "aged", "paint", "worn", "grunge", "dirt", "dirty", "scratched", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Concrete_Wall_Aged +( + infinite_tiling: false, + diffuse_brightness: 0.7f, + roughness: 0.67f, + bump_strength: 1.0f, + grunge_weight: 1.0f, + grunge_tint: color(0.009696f, 0.005522f, 0.000992f), + grunge_roughness: 0.19f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 2.0f, + roundcorners_across_materials: false, + uv_space_index: 0 +); \ No newline at end of file diff --git a/texture/material_0312/Concrete_Wall_Aged_Scratched.mdl b/texture/material_0312/Concrete_Wall_Aged_Scratched.mdl new file mode 100644 index 0000000000000000000000000000000000000000..d065db366024a727174b430b8dc5ff812fb3a237 --- /dev/null +++ b/texture/material_0312/Concrete_Wall_Aged_Scratched.mdl @@ -0,0 +1,462 @@ +/****************************************************************************** + * 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"; + + + +::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)); +} + +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); +} + + +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); +} + + + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +export material Concrete_Wall_Aged_Scratched( + 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") + ]], + float diffuse_brightness = 1.f [[ + ::anno::description("Adjusts the lightness of the material."), + ::anno::display_name("Diffuse Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness = 1.f [[ + ::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) + ]], + float grunge = 0.f [[ + ::anno::description("Adds a layer of grunge on top of the material."), + ::anno::display_name("Grunge"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float bump_strength = 1.f [[ + ::anno::description("Specifies the strength of the bump."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::soft_range(0.f, 2.f), + ::anno::hard_range(0.f, 3.f) + ]], + 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"), + ::nvidia::core_definitions::dimension(float2(1.5, 1.5)), + ::anno::in_group("Transform") + ]], + 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") + ]], + 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) + ]], + 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") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::description("A worn painted concrete wall that shows signs of damage."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Wall Aged Scratched - Rough"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Wall_Aged_Scratched.Concrete_Wall_Aged_Scratched.png"), + ::anno::key_words(string[]("concrete", "infinite tiling", "wall", "outdoor", "old", "construction", "aged", "paint", "worn", "scratched", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] + = + let { + material_surface tmp1(::df::custom_curve_layer(0.0399999991f, 1.f, 5.f, histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.396077991f, 0.858824015f, 0.894118011f), 3.5999999f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.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, ::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], 1.f, 0.649999976f), ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.396077991f, 0.858824015f, 0.894118011f), 3.5999999f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.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, ::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] + (1.f - float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.6f, float3(0.396f, 0.858f, 0.894f), 3.6f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.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, ::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]) * (grunge * 0.299999982f), 1.f, roughness * 0.370000005f + 0.400000006f) * histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.396077991f, 0.858824015f, 0.894118011f), 3.5999999f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.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, ::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] + (1.f - float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.396077991f, 0.858824015f, 0.894118011f), 3.5999999f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.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, ::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]) * (grunge * 0.299999982f), 1.f, roughness * 0.370000005f + 0.400000006f), histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.396077991f, 0.858824015f, 0.894118011f), 3.5999999f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.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, ::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] + (1.f - float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.396077991f, 0.858824015f, 0.894118011f), 3.5999999f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.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, ::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]) * (grunge * 0.299999982f), 1.f, roughness * 0.370000005f + 0.400000006f) * histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.396077991f, 0.858824015f, 0.894118011f), 3.5999999f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.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, ::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] + (1.f - float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.396077991f, 0.858824015f, 0.894118011f), 3.5999999f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.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, ::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]) * (grunge * 0.299999982f), 1.f, roughness * 0.370000005f + 0.400000006f), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_scratched_diff.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.596077979f, 0.568627f, 0.541176021f), 3.5999999f, true) : ::base::file_texture(texture_2d("./concrete_wall_aged_scratched_diff.jpg", ::tex::gamma_srgb), 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, ::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, color(::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.396077991f, 0.858824015f, 0.894118011f), 3.5999999f, false) : ::base::file_texture(texture_2d("./concrete_wall_aged_scratched_R_rough_G_ao_B_grunge.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, ::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], 2.20000005f)), ::base::color_layer_multiply, grunge * 0.699999988f).tint, color(0.f, 0.f, 0.f), ::base::color_layer_multiply, diffuse_brightness * -0.300000012f + 0.300000012f).tint, 0.f), bsdf(), infinite_tiling ? endless_normal(texture_2d("./concrete_wall_aged_scratched_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.501960993f, 0.505882025f, 0.988234997f), 3.5999999f) : ::base::tangent_space_normal_texture(texture_2d("./concrete_wall_aged_scratched_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.f)), infinite_tiling ? endless_normal(texture_2d("./concrete_wall_aged_scratched_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.5999999f, float3(0.501960993f, 0.505882025f, 0.988234997f), 3.5999999f) : ::base::tangent_space_normal_texture(texture_2d("./concrete_wall_aged_scratched_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.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: false, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + + +export material Concrete_Wall_Aged_Scratched_Shiny(*) +[[ + ::anno::description("A worn painted concrete wall that shows signs of damage."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Wall Aged Scratched - Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Wall_Aged_Scratched.Concrete_Wall_Aged_Scratched_Shiny.png"), + ::anno::key_words(string[]("concrete", "infinite tiling", "wall", "outdoor", "old", "construction", "aged", "paint", "worn", "scratched", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Concrete_Wall_Aged_Scratched +( + infinite_tiling: true, + diffuse_brightness: 1.0f, + roughness: 0.03f, + grunge: 0.0f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +export material Concrete_Wall_Aged_Scratched_Medium_Grime(*) +[[ + ::anno::description("A worn painted concrete wall that shows signs of damage."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Wall Aged Scratched - Medium Grime"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Wall_Aged_Scratched.Concrete_Wall_Aged_Scratched_Medium_Grime.png"), + ::anno::key_words(string[]("concrete", "infinite tiling", "wall", "outdoor", "old", "construction", "aged", "paint", "worn", "scratched", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Concrete_Wall_Aged_Scratched +( + infinite_tiling: true, + diffuse_brightness: 1.0f, + roughness: 0.8f, + grunge: 0.52f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +export material Concrete_Wall_Aged_Scratched_Heavy_Grime(*) +[[ + ::anno::description("A worn painted concrete wall that shows signs of damage."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Wall Aged Scratched - Heavy Grime"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Wall_Aged_Scratched.Concrete_Wall_Aged_Scratched_Heavy_Grime.png"), + ::anno::key_words(string[]("concrete", "infinite tiling", "wall", "outdoor", "old", "construction", "aged", "paint", "dirty", "worn", "scratched", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Concrete_Wall_Aged_Scratched +( + infinite_tiling: true, + diffuse_brightness: .56f, + roughness: 0.71f, + grunge: 0.85f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: false, + uv_space_index: 0 +); \ No newline at end of file diff --git a/texture/material_0313/Concrete_Wall_Even.mdl b/texture/material_0313/Concrete_Wall_Even.mdl new file mode 100644 index 0000000000000000000000000000000000000000..96611a67c4a0d8d7816e1b54c4d7960028c8ea41 --- /dev/null +++ b/texture/material_0313/Concrete_Wall_Even.mdl @@ -0,0 +1,449 @@ +/****************************************************************************** + * 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"; + + +::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 remap(float input, float low_1, float high_1, float low_2, float high_2) +{ + return low_2 + ((input - low_1) * (high_2 - low_2))/(high_1 - low_1); +} + +float histogram_scan(float input, float width, float position) +{ + float low = ::math::clamp(1.0f - position * 2.0, 0.0f ,1.0f); + float high = ::math::clamp(position > 0.5f ? 1.0 : 2.0f - 2 * position, 0.0f, 1.0f); + //float center = (low + high)/2.0f); + float offset = ((high - low) / 2.0) * width; + low += offset; + high -= offset; + return ::math::clamp( + remap(input, + low, + high, + 0.0, + 1.0), + 0.0, + 1.0); +} + + +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); +} + + + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + + +export material Concrete_Wall_Even( + 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") + ]], + color diffuse_tint = color(0.737205f) [[ + ::anno::description("Choose the color of the concrete wall."), + ::anno::display_name("Diffuse Tint"), + ::anno::in_group("Appearance") + ]], + float diffuse_brightness = 0.65f [[ + ::anno::description("Adjusts the lightness of the diffuse color."), + ::anno::display_name("Diffuse Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness = 0.62f [[ + ::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) + ]], + float dirt_layer_weight = 0.0f [[ + ::anno::description("Weight of the dirt layer."), + ::anno::display_name("Dirt Amount"), + ::anno::in_group("Appearance", "Dirt"), + ::anno::hard_range(0.f, 1.f) + ]], + color dirt_layer_color = color(0.6f, 0.6f, 0.6f) [[ + ::anno::description("Set the color of the dirt layer."), + ::anno::display_name("Dirt Layer Color"), + ::anno::in_group("Appearance", "Dirt") + ]], + 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.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(1.5, 1.5)), + ::anno::in_group("Transform") + ]], + 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") + ]], + 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) + ]], + uniform bool roundcorners_across_materials = true [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + 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::description("A flat concrete wall."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Wall Even - Rough"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Wall_Even.Concrete_Wall_Even.png"), + ::anno::key_words(string[]("concrete", "wall", "outdoor", "indoor", "even", "new", "construction", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] + = + let { + bool tmp0 = false; + material_surface tmp1(::df::custom_curve_layer(0.0299999993f, 1.f, 5.f, histogram_scan(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.203922004f, 0.917647004f, 0.164706007f), 10.f, true) : ::base::file_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.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, ::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], 0.919999957f, 0.109999999f), ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.203922004f, 0.917647004f, 0.164706007f), 10.f, true) : ::base::file_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.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, ::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] + float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.203922004f, 0.917647004f, 0.164706007f), 10.f, true) : ::base::file_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.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, ::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] * dirt_layer_weight * 0.50999999f, 1.f, roughness * 0.25f + 0.649999976f) * histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.203922004f, 0.917647004f, 0.164706007f), 10.f, true) : ::base::file_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.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, ::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] + float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.203922004f, 0.917647004f, 0.164706007f), 10.f, true) : ::base::file_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.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, ::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] * dirt_layer_weight * 0.50999999f, 1.f, roughness * 0.25f + 0.649999976f), histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.203922004f, 0.917647004f, 0.164706007f), 10.f, true) : ::base::file_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.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, ::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] + float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.203922004f, 0.917647004f, 0.164706007f), 10.f, true) : ::base::file_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.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, ::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] * dirt_layer_weight * 0.50999999f, 1.f, roughness * 0.25f + 0.649999976f) * histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.203922004f, 0.917647004f, 0.164706007f), 10.f, true) : ::base::file_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.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, ::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] + float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.203922004f, 0.917647004f, 0.164706007f), 10.f, true) : ::base::file_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.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, ::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] * dirt_layer_weight * 0.50999999f, 1.f, roughness * 0.25f + 0.649999976f), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_even_diff.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.55686301f), 10.f, true) : ::base::file_texture(texture_2d("./concrete_wall_even_diff.jpg", ::tex::gamma_srgb), 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, ::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, diffuse_tint, ::base::color_layer_overlay, 1.f).tint, dirt_layer_color, ::base::color_layer_multiply, float3(infinite_tiling ? endless_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.203922004f, 0.917647004f, 0.164706007f), 10.f, true) : ::base::file_texture(texture_2d("./concrete_wall_even_R_rough_G_ao_B_grunge.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, ::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] * dirt_layer_weight).tint, color(0.f, 0.f, 0.f), ::base::color_layer_multiply, diffuse_brightness * -0.400000006f + 0.400000006f).tint, 0.f), bsdf(), infinite_tiling ? endless_normal(texture_2d("./concrete_wall_even_norm.jpg", ::tex::gamma_linear), 1.f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.498039007f, 0.498039007f, 0.996078014f), 10.f) : ::base::tangent_space_normal_texture(texture_2d("./concrete_wall_even_norm.jpg", ::tex::gamma_linear), 1.f, false, false, 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, 1.f, 0.f)), infinite_tiling ? endless_normal(texture_2d("./concrete_wall_even_norm.jpg", ::tex::gamma_linear), 1.f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.498039007f, 0.498039007f, 0.996078014f), 10.f) : ::base::tangent_space_normal_texture(texture_2d("./concrete_wall_even_norm.jpg", ::tex::gamma_linear), 1.f, false, false, 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, 1.f, 0.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); + +export material Concrete_Wall_Even_New_Shiny(*) +[[ + ::anno::description("A flat concrete wall."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Wall Even - Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Wall_Even.Concrete_Wall_Even_New_Shiny.png"), + ::anno::key_words(string[]("concrete", "wall", "outdoor", "indoor", "even", "new", "shiny", "construction", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Concrete_Wall_Even +( + infinite_tiling: false, + diffuse_tint: color(0.6f, 0.6f, 0.6f), + diffuse_brightness: .65f, + roughness: .0f, + dirt_layer_weight: 0.0f, + dirt_layer_color: color(0.420508f, 0.378676f, 0.348865f), + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 2.5f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + + +export material Concrete_Wall_Even_Brownish_Dirty(*) +[[ + ::anno::description("A flat concrete wall with a brownish dirt layer on top."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Wall Even - Dirty Brownish"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Wall_Even.Concrete_Wall_Even_Brownish_Dirty.png"), + ::anno::key_words(string[]("concrete", "wall", "outdoor", "indoor", "even", "dirt", "dirty", "grunge", "construction", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Concrete_Wall_Even +( + infinite_tiling: false, + diffuse_tint: color(0.701170f, 0.645555f, 0.566810f), + diffuse_brightness: .65f, + roughness: .65f, + dirt_layer_weight: 1.0f, + dirt_layer_color: color(0.399293f, 0.358654f, 0.280124f), + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 2.5f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +export material Concrete_Wall_Even_Greenish_Dirty(*) +[[ + ::anno::description("A flat concrete wall."), + ::anno::in_group("Concrete"), + ::anno::display_name("Concrete Wall Even - Dirty Greenish"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Concrete_Wall_Even.Concrete_Wall_Even_Greenish_Dirty.png"), + ::anno::key_words(string[]("concrete", "wall", "outdoor", "indoor", "even", "dirt", "dirty", "grunge", "construction", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Concrete_Wall_Even +( + infinite_tiling: false, + diffuse_tint: color(0.673049f, 0.701170f, 0.666117f), + diffuse_brightness: .65f, + roughness: .65f, + dirt_layer_weight: 1.0f, + dirt_layer_color: color(0.219520f, 0.271577f, 0.193972f), + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 2.5f, + roundcorners_across_materials: false, + uv_space_index: 0 +); \ No newline at end of file diff --git a/texture/material_0314/Mortar.mdl b/texture/material_0314/Mortar.mdl new file mode 100644 index 0000000000000000000000000000000000000000..47a5190cba8e4611eb6a90da42ae835dcafbf8b1 --- /dev/null +++ b/texture/material_0314/Mortar.mdl @@ -0,0 +1,626 @@ +/****************************************************************************** + * 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"; + + +::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 1 + float4 r_position = float4(coordinate.position.x,coordinate.position.y,coordinate.position.z,1)* transform; + float4 r_tangent_u = float4(coordinate.tangent_u.x,coordinate.tangent_u.y,coordinate.tangent_u.z,1)* transform; + float4 r_tangent_v = float4(coordinate.tangent_v.x,coordinate.tangent_v.y,coordinate.tangent_v.z,1)* transform; + return ::base::texture_coordinate_info( + float3(r_position.x,r_position.y,r_position.z), + float3(r_tangent_u.x,r_tangent_u.y,r_tangent_u.z), // orthogonalization + float3(r_tangent_v.x,r_tangent_v.y,r_tangent_v.z));// orthogonalization + */ + + // 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)); +} + +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); +} + +color remap(color input, color low, color high) +{ + return low + input * (high - low); +} + + + +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]); +} + +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) { + 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); +} + +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(), + 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 + + 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) + + (W[1] = F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0,1)))) - m) + + (W[2] = F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1,0)))) - m); + else + O = (W[0] = -F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1)))) - m) + + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1, 0)))) - m) + + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0, 1)))) - m); + 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, .5), + 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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::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 srgb2rgb = false, + //bool rgb2srgb = false +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); + //return ::state::normal(); +} + + +float histogram_scan(float input, float width, float position) +{ + float low = ::math::clamp(1.0f - position * 2.0, 0.0f ,1.0f); + float high = ::math::clamp(position > 0.5f ? 1.0 : 2.0f - 2 * position, 0.0f, 1.0f); + //float center = (low + high)/2.0f); + float offset = ((high - low) / 2.0) * width; + low += offset; + high -= offset; + return ::math::clamp( + remap_xy_to_0_1(input, + low, + high), + 0.0, + 1.0); +} + + + + +export material Mortar( + uniform bool infinite_tiling = true [[ + ::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"), + ::anno::ui_order(0) + ]], + color mortar_tint = color(0.612066f) [[ + ::anno::description("Choose a color to overlay the mortar with. Set to neutral gray for original tone."), + ::anno::display_name("Mortar Tint"), + ::anno::in_group("Appearance"), + ::anno::ui_order(1) + ]], + + float brightness_adjust = 0.f [[ + ::anno::description("Adjusts the final brightness of the grout."), + ::anno::display_name("Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(2) + ]], + + float roughness = 0.71f [[ + ::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(3) + ]], + float diffuse_grain = 0.0f [[ + ::anno::description("Darkens the mortar and adds a grainy overlay."), + ::anno::display_name("Diffuse Grain"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(4) + ]], + uniform float bump_strength = 0.78f [[ + ::anno::description("Determines the degree of bumpiness."), + ::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(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::soft_range(0.f, 360.f), + ::anno::ui_order(7) + ]], + 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(.15f, .15f)), + ::anno::ui_order(8) + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::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 in millimeters."), + ::anno::display_name("Round Corner Radius (mm)"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f), + ::anno::ui_order(11) + ]], + uniform bool roundcorners_across_materials = true [[ + ::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::description("Mortar material to fill grouts with."), + ::anno::display_name("Mortar Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("concrete", "mortar", "construction", "new", "cement", "hard", "rough", "new", "neutral", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::thumbnail("./.thumbs/Mortar.Mortar.png"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] + = + let { + bool tmp0 = false; + + material_surface tmp1(::df::custom_curve_layer(0.0399999991f, 1.f, 5.f, histogram_scan(float3(infinite_tiling ? endless_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 4.f, float3(0.670588017f, 0.882353008f, 0.533333004f), 4.f, false) : ::base::file_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.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, ::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], 0.129999995f, ::math::lerp(0.140000001f, 0.50999999f, roughness)), ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 4.f, float3(0.670588017f, 0.882353008f, 0.533333004f), 4.f, false) : ::base::file_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.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, ::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], 1.f, ::math::lerp(0.399999976f, 0.779999971f, roughness)) * histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 4.f, float3(0.670588017f, 0.882353008f, 0.533333004f), 4.f, false) : ::base::file_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.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, ::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], 1.f, ::math::lerp(0.399999976f, 0.779999971f, roughness)), histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 4.f, float3(0.670588017f, 0.882353008f, 0.533333004f), 4.f, false) : ::base::file_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.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, ::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], 1.f, ::math::lerp(0.399999976f, 0.779999971f, roughness)) * histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 4.f, float3(0.670588017f, 0.882353008f, 0.533333004f), 4.f, false) : ::base::file_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.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, ::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], 1.f, ::math::lerp(0.399999976f, 0.779999971f, roughness)), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(remap(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(infinite_tiling ? endless_texture(texture_2d("./mortar_diff.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 4.f, float3(0.517647028f, 0.517647028f, 0.513724983f), 4.f, true) : ::base::file_texture(texture_2d("./mortar_diff.jpg", ::tex::gamma_srgb), 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, ::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, color(::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 4.f, float3(0.670588017f, 0.882353008f, 0.533333004f), 4.f, false) : ::base::file_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.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, ::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)), ::base::color_layer_multiply, 0.449999988f).tint, color(::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 4.f, float3(0.670588017f, 0.882353008f, 0.533333004f), 4.f, false) : ::base::file_texture(texture_2d("./mortar_multi_R_rough_G_ao_B_noise.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, ::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], 2.20000005f)), ::base::color_layer_hardlight, diffuse_grain).tint, color(brightness_adjust * 0.300000012f), color(1.f, 1.f, 1.f)), mortar_tint, ::base::color_layer_overlay, 1.f).tint, 0.f, ""), bsdf(), infinite_tiling ? endless_normal(texture_2d("./mortar_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 4.f, float3(0.501960993f, 0.498039007f, 0.964706004f), 4.f) : ::base::tangent_space_normal_texture(texture_2d("./mortar_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.f)), infinite_tiling ? endless_normal(texture_2d("./mortar_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 4.f, float3(0.501960993f, 0.498039007f, 0.964706004f), 4.f) : ::base::tangent_space_normal_texture(texture_2d("./mortar_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.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); + + + +export material Mortar_Moist(*) +[[ + ::anno::description("Mortar material to fill grouts with."), + ::anno::display_name("Mortar Moist Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("concrete", "mortar", "construction", "new", "cement", "hard", "rough", "new", "neutral", "moist", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::thumbnail("./.thumbs/Mortar.Mortar_Moist.png"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Mortar( + infinite_tiling: true, + mortar_tint: color(0.173439f), + brightness_adjust: 0.0f, + roughness: 0.0f, + diffuse_grain: 0.0f, + bump_strength: .78f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5, + roundcorners_across_materials: true +); + + +export material Mortar_White(*) +[[ + ::anno::description("Mortar material to fill grouts with."), + ::anno::display_name("Mortar White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("concrete", "mortar", "construction", "new", "cement", "hard", "rough", "new", "neutral", "light", "white")), + ::anno::author("NVIDIA vMaterials"), + ::anno::thumbnail("./.thumbs/Mortar.Mortar_White.png"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Mortar( + infinite_tiling: true, + mortar_tint: color(0.974300f), + brightness_adjust: 0.23f, + roughness: 0.83f, + diffuse_grain: 0.0f, + bump_strength: .78f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5, + roundcorners_across_materials: true +); + + + +export material Mortar_Antique_White(*) +[[ + ::anno::description("Mortar material to fill grouts with."), + ::anno::display_name("Mortar Antique White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("concrete", "mortar", "construction", "new", "cement", "hard", "rough", "new", "neutral", "light", "white")), + ::anno::author("NVIDIA vMaterials"), + ::anno::thumbnail("./.thumbs/Mortar.Mortar_Antique_White.png"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Mortar( + infinite_tiling: true, + mortar_tint: color(1.000000f, 0.940601f, 0.766744f), + brightness_adjust: 0.44f, + roughness: 0.83f, + diffuse_grain: 0.0f, + bump_strength: .78f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5, + roundcorners_across_materials: true +); + + +export material Mortar_Sand_White(*) +[[ + ::anno::description("Mortar material to fill grouts with."), + ::anno::display_name("Mortar Sand White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("concrete", "mortar", "construction", "new", "cement", "hard", "rough", "new", "neutral", "sand", "light", "white")), + ::anno::author("NVIDIA vMaterials"), + ::anno::thumbnail("./.thumbs/Mortar.Mortar_Sand_White.png"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Mortar( + infinite_tiling: true, + mortar_tint: color(1.000000f, 0.875138f, 0.673049f), + brightness_adjust: 0.18f, + roughness: 0.83f, + diffuse_grain: 0.0f, + bump_strength: .78f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5, + roundcorners_across_materials: true +); + + +export material Mortar_Yellow(*) +[[ + ::anno::description("Mortar material to fill grouts with."), + ::anno::display_name("Mortar Yellow"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("concrete", "mortar", "construction", "new", "cement", "hard", "rough", "new", "warm", "yellow")), + ::anno::author("NVIDIA vMaterials"), + ::anno::thumbnail("./.thumbs/Mortar.Mortar_Yellow.png"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Mortar( + infinite_tiling: true, + mortar_tint: color(1.000000f, 0.789314f, 0.470440f), + brightness_adjust: 0.22f, + roughness: 0.83f, + diffuse_grain: 0.0f, + bump_strength: .78f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5, + roundcorners_across_materials: true +); + + +export material Mortar_Clay(*) +[[ + ::anno::description("Mortar material to fill grouts with."), + ::anno::display_name("Mortar Clay"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("concrete", "mortar", "construction", "new", "cement", "hard", "rough", "new", "warm", "clay")), + ::anno::author("NVIDIA vMaterials"), + ::anno::thumbnail("./.thumbs/Mortar.Mortar_Clay.png"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Mortar( + infinite_tiling: true, + mortar_tint: color(0.941f, 0.53f, 0.41f), + brightness_adjust: 0.42f, + roughness: 0.83f, + diffuse_grain: 0.95f, + bump_strength: .78f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5, + roundcorners_across_materials: true +); + + +export material Mortar_Tan(*) +[[ + ::anno::description("Mortar material to fill grouts with."), + ::anno::display_name("Mortar Tan"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("concrete", "mortar", "construction", "new", "cement", "hard", "rough", "new", "neutral", "brown", "tan")), + ::anno::author("NVIDIA vMaterials"), + ::anno::thumbnail("./.thumbs/Mortar.Mortar_Tan.png"), + ::anno::contributor("Ruediger Raab"), + ::anno::contributor("Maik Rohland") +]] = Mortar( + infinite_tiling: true, + mortar_tint: color(0.598942f, 0.470440f, 0.358654f), + brightness_adjust: 0.42f, + roughness: 0.83f, + diffuse_grain: 0.95f, + bump_strength: .78f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + roundcorners_enable: false, + roundcorners_radius_mm: 1.5, + roundcorners_across_materials: true +); \ No newline at end of file diff --git a/texture/material_0315/Spongy_Concrete_Weathered.mdl b/texture/material_0315/Spongy_Concrete_Weathered.mdl new file mode 100644 index 0000000000000000000000000000000000000000..156990a9557a1849d556a3ae50e21114a7cc7925 --- /dev/null +++ b/texture/material_0315/Spongy_Concrete_Weathered.mdl @@ -0,0 +1,467 @@ +/****************************************************************************** + * 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.4; + +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 spongy, slightly worn concrete material"; + +::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 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); +} + +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); +} + + + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +float3 normalmap_normal( + uniform texture_2d texture, + float factor = 1.0, + ::base::texture_coordinate_info uvw = ::base::texture_coordinate_info() +) +{ + float3 lookup = (::tex::lookup_float3(texture, float2(uvw.position.x, uvw.position.y)) - 0.5) * (factor * 2.0); + return ::math::normalize(uvw.tangent_u * lookup.x + uvw.tangent_v * lookup.y + ::state::normal()); +} + + +export material Spongy_Concrete_Weathered( + uniform bool infinite_tiling = true [[ + ::anno::display_name("Infinite Tiling"), + ::anno::description("Enables infinite tiling feature which removes repeating texture patterns."), + ::anno::in_group("Appearance") + ]], + float roughness = 0.12f [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance") + ]], + float concrete_brightness = 0.6f [[ + ::anno::display_name("Brightness"), + ::anno::description("Adjusts the lightness of the material."), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance") + ]], + float wetness = 0.0f [[ + ::anno::display_name("Wetness"), + ::anno::description("Adjusts the reflectivity of the water stains that flow down the material."), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance", "Wet Stains") + ]], + float water_darkening = 0.0 [[ + ::anno::display_name("Water Darkening"), + ::anno::description("Adjusts the brightness of the water stains that flow down the material."), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance", "Wet Stains") + ]], + float dirt_deposit_amount = 0.0 [[ + ::anno::display_name("Dirt Amount"), + ::anno::description("Adds a layer of dirt on top of the material."), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance", "Dirt Layer") + ]], + float dirt_brightness = 0.30f [[ + ::anno::display_name("Dirt Brightness"), + ::anno::description("Adjusts the lightness of the dirt layer."), + ::anno::soft_range(0.0f, 1.0f), + ::anno::hard_range(0.0f, 2.0f), + ::anno::in_group("Appearance", "Dirt Layer") + ]], + float dirt_scale = 1.f [[ + ::anno::display_name("Dirt Scale"), + ::anno::description("Adjusts the size of the dirt layer texture."), + ::anno::in_group("Appearance", "Dirt Layer") + ]], + 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.f + [[ + ::anno::display_name("Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Adjustments") + ]], + uniform float2 texture_scale = 1.0f + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0, 1.0)), + ::anno::in_group("Adjustments") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Concrete Weathered - Shiny"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Spongy_Concrete_Weathered.Spongy_Concrete_Weathered.png"), + ::anno::key_words(string[]("aec", "concrete", "facade", "wall", "infinite tiling", "construction", "architecture", "exterior", "weathered", "worn", "aged", "multimaterial", "gray")) +]] + = + let { + bool tmp0 = false; + float remap_dirt_deposit_amount = dirt_deposit_amount * 1.7; + + material_surface tmp1( + ::df::weighted_layer(histogram_range(float3(endless_texture(texture_2d("./spongy_concrete_weathered_mask_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 4.f / dirt_scale, float3(0.629999995f), 8.f, true))[0], 0.980000019f, ::math::lerp(1.f, 0.672000051f, remap_dirt_deposit_amount)), ::df::custom_curve_layer(0.0299999993f, 1.f, 5.f, ::math::pow(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./spongy_concrete_weathered_multi_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.513999999f, 0.875f, 0.787999988f), 8.f, false) : ::base::file_texture(texture_2d("./spongy_concrete_weathered_multi_R_rough_G_ao_B_height.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, ::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], 0.197000012f, 0.699999988f), 2.20000005f), ::df::microfacet_ggx_smith_bsdf((histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./spongy_concrete_weathered_multi_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.513999999f, 0.875f, 0.787999988f), 8.f, false) : ::base::file_texture(texture_2d("./spongy_concrete_weathered_multi_R_rough_G_ao_B_height.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, ::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], ::math::lerp(0.295000017f, 0.873000026f, roughness), ::math::lerp(0.5f, 0.951000035f, roughness)) - wetness * ::base::file_texture(texture_2d("./spongy_concrete_weathered_mask_wet.png", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::base::transform_coordinate(::base::rotation_translation_scale(float3(0.f), float3(0.f), float3(1.f)), ::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).mono) * (histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./spongy_concrete_weathered_multi_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.513999999f, 0.875f, 0.787999988f), 8.f, false) : ::base::file_texture(texture_2d("./spongy_concrete_weathered_multi_R_rough_G_ao_B_height.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, ::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], ::math::lerp(0.295000017f, 0.873000026f, roughness), ::math::lerp(0.5f, 0.951000035f, roughness)) - wetness * ::base::file_texture(texture_2d("./spongy_concrete_weathered_mask_wet.png", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::base::transform_coordinate(::base::rotation_translation_scale(float3(0.f), float3(0.f), float3(1.f)), ::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).mono), (histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./spongy_concrete_weathered_multi_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.513999999f, 0.875f, 0.787999988f), 8.f, false) : ::base::file_texture(texture_2d("./spongy_concrete_weathered_multi_R_rough_G_ao_B_height.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, ::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], ::math::lerp(0.295000017f, 0.873000026f, roughness), ::math::lerp(0.5f, 0.951000035f, roughness)) - wetness * ::base::file_texture(texture_2d("./spongy_concrete_weathered_mask_wet.png", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::base::transform_coordinate(::base::rotation_translation_scale(float3(0.f), float3(0.f), float3(1.f)), ::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).mono) * (histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./spongy_concrete_weathered_multi_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.513999999f, 0.875f, 0.787999988f), 8.f, false) : ::base::file_texture(texture_2d("./spongy_concrete_weathered_multi_R_rough_G_ao_B_height.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, ::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], ::math::lerp(0.295000017f, 0.873000026f, roughness), ::math::lerp(0.5f, 0.951000035f, roughness)) - wetness * ::base::file_texture(texture_2d("./spongy_concrete_weathered_mask_wet.png", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::base::transform_coordinate(::base::rotation_translation_scale(float3(0.f), float3(0.f), float3(1.f)), ::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).mono), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::diffuse_reflection_bsdf(::nvidia::core_definitions::blend_colors(infinite_tiling ? endless_texture(texture_2d("./spongy_concrete_weathered_diff.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.722000003f, 0.713999987f, 0.709999979f), 8.f, true) : ::base::file_texture(texture_2d("./spongy_concrete_weathered_diff.jpg", ::tex::gamma_srgb), 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, ::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, color(::math::lerp(0.349999994f, 0.899999976f, concrete_brightness) - ::base::file_texture(texture_2d("./spongy_concrete_weathered_mask_wet.png", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::base::transform_coordinate(::base::rotation_translation_scale(float3(0.f), float3(0.f), float3(1.f)), ::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).mono * ::math::lerp(0.f, 0.561000049f, water_darkening)), ::base::color_layer_multiply, 1.f).tint, 0.f, ""), ::state::normal()), ::df::diffuse_reflection_bsdf(dirt_brightness * color(0.31854701f, 0.275550991f, 0.252952009f), 0.f, ""), ::state::normal()), + 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, + infinite_tiling ? endless_normal(texture_2d("./spongy_concrete_weathered_norm.jpg", ::tex::gamma_linear), 1.f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.5f, 0.5f, 1.f), 8.f) : normalmap_normal(texture_2d("./spongy_concrete_weathered_norm.jpg", ::tex::gamma_linear), 1.f, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index))); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + +// 2 +export material Spongy_Concrete_Weathered_Rough(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Concrete Weathered - Rough"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Spongy_Concrete_Weathered.Spongy_Concrete_Weathered_Rough.png"), + ::anno::key_words(string[]("aec", "concrete", "facade", "wall", "infinite tiling", "construction", "architecture", "exterior", "weathered", "worn", "aged", "multimaterial", "gray")) +]] = Spongy_Concrete_Weathered ( + infinite_tiling: true, + roughness: 0.75f, + concrete_brightness: 0.6f, + wetness: 0.0f, + water_darkening: 0.0f, + dirt_deposit_amount: 0.0f, + dirt_brightness: 0.0f, + dirt_scale: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + +// 3 +export material Spongy_Concrete_Weathered_Dark_Dirt(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Concrete Weathered - Dark Dirt"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Spongy_Concrete_Weathered.Spongy_Concrete_Weathered_Dark_Dirt.png"), + ::anno::key_words(string[]("aec", "concrete", "facade", "wall", "infinite tiling", "construction", "architecture", "exterior", "weathered", "worn", "aged", "multimaterial", "gray")) +]] = Spongy_Concrete_Weathered ( + infinite_tiling: true, + roughness: 0.55f, + concrete_brightness: 0.79f, + wetness: 0.0f, + water_darkening: 0.0f, + dirt_deposit_amount: 1.0f, + dirt_brightness: 0.2f, + dirt_scale: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// 4 +export material Spongy_Concrete_Weathered_Light_Dirt(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Concrete Weathered - Light Dirt"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Spongy_Concrete_Weathered.Spongy_Concrete_Weathered_Light_Dirt.png"), + ::anno::key_words(string[]("aec", "concrete", "facade", "wall", "infinite tiling", "construction", "architecture", "exterior", "weathered", "worn", "aged", "dirt", "multimaterial", "gray")) +]] = Spongy_Concrete_Weathered ( + infinite_tiling: true, + roughness: 0.55f, + concrete_brightness: 0.55f, + wetness: 0.0f, + water_darkening: 0.0f, + dirt_deposit_amount: 1.0f, + dirt_brightness: 0.8f, + dirt_scale: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + +// 5 +export material Spongy_Concrete_Weathered_Wet_Flows(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Concrete Weathered - Wet Flows"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Spongy_Concrete_Weathered.Spongy_Concrete_Weathered_Wet_Flows.png"), + ::anno::key_words(string[]("aec", "concrete", "facade", "wall", "infinite tiling", "construction", "architecture", "exterior", "weathered", "worn", "aged", "dirt", "multimaterial", "gray")) +]] = Spongy_Concrete_Weathered ( + infinite_tiling: true, + roughness: 0.69f, + concrete_brightness: 0.6f, + wetness: 0.8f, + water_darkening: 0.7f, + dirt_deposit_amount: 0.0f, + dirt_brightness: 0.25f, + dirt_scale: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); \ No newline at end of file diff --git a/texture/material_0316/Spongy_Concrete_Weathered_Mossy.mdl b/texture/material_0316/Spongy_Concrete_Weathered_Mossy.mdl new file mode 100644 index 0000000000000000000000000000000000000000..e21f71ba3894fb600c9d673776b2093343af35aa --- /dev/null +++ b/texture/material_0316/Spongy_Concrete_Weathered_Mossy.mdl @@ -0,0 +1,393 @@ +/****************************************************************************** + * 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.4; + +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 spongy concrete material with a worn, mossy appearance."; + +::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 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); +} + +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); +} + + + +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 + )); +} + + +float3 normalmap_normal( + uniform texture_2d texture, + float factor = 1.0, + ::base::texture_coordinate_info uvw = ::base::texture_coordinate_info() +) +{ + float3 lookup = (::tex::lookup_float3(texture, float2(uvw.position.x, uvw.position.y)) - 0.5) * (factor * 2.0); + return ::math::normalize(uvw.tangent_u * lookup.x + uvw.tangent_v * lookup.y + ::state::normal()); +} + + +export material Spongy_Concrete_Weathered_Mossy( + float roughness = 0.12f [[ + ::anno::description("Adjusts the roughness of the material."), + ::anno::display_name("Roughness"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance") + ]], + float brightness = 0.6f [[ + ::anno::description("Adjusts the brightness of the material."), + ::anno::display_name("Brightness"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance") + ]], + float bump_factor = 1.f [[ + ::anno::description("Drives the intensity of the surface bump."), + ::anno::display_name("Bump Factor"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance") + ]], + float dirt_amount = 0.f [[ + ::anno::description("Adds a thin layer of dirt on top of the material."), + ::anno::display_name("Dirt Amount"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance", "Dirt Layer") + ]], + float dirt_brightness = 0.0f [[ + ::anno::description("Adjusts the brightness of the dirt layer."), + ::anno::display_name("Dirt Brightness"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance", "Dirt Layer") + ]], + float dirt_scale = 1.f [[ + ::anno::description("Scales the size of the dirt layer."), + ::anno::display_name("Dirt Scale"), + ::anno::in_group("Appearance", "Dirt Layer") + ]], + 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.f + [[ + ::anno::display_name("Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::soft_range(0.0f, 360.0f), + ::anno::in_group("Adjustments") + ]], + uniform float2 texture_scale = 1.0f + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0, 1.0)), + ::anno::in_group("Adjustments") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Use the selected texture space."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Concrete Spongy Weathered Mossy - Shiny"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Spongy_Concrete_Weathered_Mossy.Spongy_Concrete_Weathered_Mossy.png"), + ::anno::key_words(string[]("aec", "concrete", "facade", "wall", "construction", "architecture", "multimaterial", "exterior", "weathered", "aged", "mossy", "gray")) +]] + = + let { + bool tmp0 = false; + material_surface tmp1( + ::df::weighted_layer(histogram_range(float3(endless_texture(texture_2d("./spongy_concrete_dirt_mask.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 6.f / dirt_scale, float3(0.629999995f), 8.f, true))[0], 0.980000019f, ::math::lerp(1.f, 0.672000051f, dirt_amount)), ::df::custom_curve_layer(0.0299999993f, 1.f, 5.f, ::math::pow(histogram_scan_big(float3(::base::file_texture(texture_2d("./spongy_concrete_weatheredMoss_multi_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.354692012f, 0.354692012f, 0.354692012f), ::base::mono_alpha, 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], 0.178000003f, 0.338000029f), 2.20000005f), ::df::microfacet_ggx_smith_bsdf(histogram_range(histogram_scan_big(float3(::base::file_texture(texture_2d("./spongy_concrete_weatheredMoss_multi_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.354692012f, 0.354692012f, 0.354692012f), ::base::mono_alpha, 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.611000001f, ::math::lerp(0.443000019f, 0.275000006f, roughness)), 1.f, ::math::lerp(0.638999999f, 0.75f, roughness)) * histogram_range(histogram_scan_big(float3(::base::file_texture(texture_2d("./spongy_concrete_weatheredMoss_multi_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.354692012f, 0.354692012f, 0.354692012f), ::base::mono_alpha, 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.611000001f, ::math::lerp(0.443000019f, 0.275000006f, roughness)), 1.f, ::math::lerp(0.638999999f, 0.75f, roughness)), histogram_range(histogram_scan_big(float3(::base::file_texture(texture_2d("./spongy_concrete_weatheredMoss_multi_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.354692012f, 0.354692012f, 0.354692012f), ::base::mono_alpha, 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.611000001f, ::math::lerp(0.443000019f, 0.275000006f, roughness)), 1.f, ::math::lerp(0.638999999f, 0.75f, roughness)) * histogram_range(histogram_scan_big(float3(::base::file_texture(texture_2d("./spongy_concrete_weatheredMoss_multi_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.354692012f, 0.354692012f, 0.354692012f), ::base::mono_alpha, 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.611000001f, ::math::lerp(0.443000019f, 0.275000006f, roughness)), 1.f, ::math::lerp(0.638999999f, 0.75f, roughness)), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::diffuse_reflection_bsdf(::base::file_texture(texture_2d("./spongy_concrete_weatheredMoss_diff.jpg", ::tex::gamma_srgb), color(0.f, 0.f, 0.f), color(::math::lerp(0.59800005f, 0.899999976f, brightness)), ::base::mono_alpha, 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.f, ""), ::state::normal()), ::df::diffuse_reflection_bsdf(dirt_brightness * color(0.31854701f, 0.275550991f, 0.252952009f), 0.f, ""), ::state::normal()), + 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, + normalmap_normal(texture_2d("./spongy_concrete_weatheredMoss_norm.jpg", ::tex::gamma_linear), bump_factor, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index))); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + +// 2 +export material Spongy_Concrete_Weathered_Mossy_Rough(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Concrete Spongy Weathered Mossy - Rough"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Spongy_Concrete_Weathered_Mossy.Spongy_Concrete_Weathered_Mossy_Rough.png"), + ::anno::key_words(string[]("aec", "concrete", "facade", "wall", "construction", "architecture", "multimaterial", "exterior", "weathered", "aged", "mossy", "gray")) +]] = Spongy_Concrete_Weathered_Mossy( + roughness: 0.75f, + brightness: 0.6f, + bump_factor: 1.0f, + dirt_amount: 0.0f, + dirt_brightness: 0.0f, + dirt_scale: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// 3 +export material Spongy_Concrete_Weathered_Mossy_Dark_Dirt(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Concrete Spongy Weathered Mossy - Dark Dirt"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Spongy_Concrete_Weathered_Mossy.Spongy_Concrete_Weathered_Mossy_Dark_Dirt.png"), + ::anno::key_words(string[]("aec", "concrete", "facade", "wall", "construction", "architecture", "multimaterial", "exterior", "weathered", "aged", "mossy", "dirt", "gray")) +]] = Spongy_Concrete_Weathered_Mossy( + roughness: 0.55f, + brightness: 0.79f, + bump_factor: 1.0f, + dirt_amount: 1.0f, + dirt_brightness: 0.2f, + dirt_scale: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// 4 +export material Spongy_Concrete_Weathered_Mossy_Light_Dirt(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Concrete Spongy Weathered Mossy - Light Dirt"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Spongy_Concrete_Weathered_Mossy.Spongy_Concrete_Weathered_Mossy_Light_Dirt.png"), + ::anno::key_words(string[]("aec", "concrete", "facade", "wall", "construction", "architecture", "multimaterial", "exterior", "weathered", "aged", "mossy", "dirt", "gray")) +]] = Spongy_Concrete_Weathered_Mossy( + roughness: 0.35f, + brightness: 0.59f, + bump_factor: 1.0f, + dirt_amount: 1.0f, + dirt_brightness: 0.9f, + dirt_scale: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); diff --git a/texture/material_0317/Stone_Pores_Weathered.mdl b/texture/material_0317/Stone_Pores_Weathered.mdl new file mode 100644 index 0000000000000000000000000000000000000000..9e7ebd58c17b5b7b396c1d5308159977ab03ce7f --- /dev/null +++ b/texture/material_0317/Stone_Pores_Weathered.mdl @@ -0,0 +1,706 @@ +/****************************************************************************** + * 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 stone wall material"; + + + +float remap(float input, float low_1, float high_1, float low_2, float high_2) +{ + return low_2 + ((input - low_1) * (high_2 - low_2))/(high_1 - low_1); +} + + +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 ; +} +::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; + + + 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)); +} + + +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 remap_xy_to_0_1(float input, float x, float y) +{ + return (input - x)/(y - x); +} + +float histogram_scan_small(float input, float width, float position) +{ + return ::math::clamp( + remap_xy_to_0_1(input, + ::math::lerp(0.0, 1.0 - width, position), + ::math::lerp(width, 1.0 , position)), + 0.0, + 1.0); +} + + + +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); +} + +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); +} + +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); +} + + + +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; +} + +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]); +} + +color hue_shift( + color input = color(1.0, 0.0, 0.0), + float hue_adjust = 0.0f +) +{ + float3 in_color = float3(input); + float3 kRGBToYPrime = float3 (0.299, 0.587, 0.114); + float3 kRGBToI = float3 (0.596, -0.275, -0.321); + float3 kRGBToQ = float3 (0.212, -0.523, 0.311); + + + //color converted = color(kRGBToQ); + float3 kYIQToR = float3 (1.0, 0.956, 0.621); + float3 kYIQToG = float3 (1.0, -0.272, -0.647); + float3 kYIQToB = float3 (1.0, -1.107, 1.704); + + float YPrime = ::math::dot(in_color, kRGBToYPrime); + float I = ::math::dot(in_color, kRGBToI); + float Q = ::math::dot(in_color, kRGBToQ); + float hue = ::math::atan2(Q, I); + float chroma = ::math::sqrt(I * I + Q * Q); + + hue += hue_adjust; + + Q = chroma * ::math::sin(hue); + I = chroma * ::math::cos(hue); + + float3 yIQ = float3 (YPrime, I, Q); + + return color(::math::dot (yIQ, kYIQToR),::math::dot (yIQ, kYIQToG), ::math::dot (yIQ, kYIQToB) ); +} + +// Taken from https://www.shadertoy.com/view/4tlBWB +float3 hsv2rgb(float3 c) +{ + float4 K = float4(1.0, 2.0/3.0, 1.0/3.0, 3.0); + float3 p = ::math::abs(::math::frac(float3(c.x) + float3(K.x, K.y, K.z)) * 6.0 - float3(K.w)); + return c.z * ::math::lerp(float3(K.x), ::math::clamp(p - float3(K.x), 0.0, 1.0), c.y); +} + + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} +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 + )); +} + + + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 + //bool srgb2rgb = false, + //bool rgb2srgb = false +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); + //return ::state::normal(); +} + +export material Stone_Pores_Weathered( + uniform bool infinite_tiling = true [[ + ::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.\t."), + ::anno::display_name("Infinite Tiling"), + ::anno::in_group("Appearance") + ]], + float stone_diffuse_brightness = 0.8f [[ + ::anno::description("Adjusts the lightness of the stones and pebbles."), + ::anno::display_name("Brightness"), + ::anno::in_group("Appearance", "Stone"), + ::anno::hard_range(0.f, 1.f) + ]], + float reflection_roughness = 1.f [[ + ::anno::description("Controls the roughness appearance. Smaller areas are highlighted."), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance", "Stone"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float stones_bump_strength = 1.f [[ + ::anno::description("Drives the bumpiness of the stones."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance", "Stone"), + ::anno::hard_range(0.f, 1.f) + ]], + float moss_brightness = 0.6f [[ + ::anno::description("Adjusts the brightness of the moss."), + ::anno::display_name("Brightness"), + ::anno::in_group("Appearance", "Moss"), + ::anno::hard_range(0.f, 1.f) + ]], + float moss_saturation = 0.79f [[ + ::anno::description("Controls the saturation of the moss."), + ::anno::display_name("Saturation"), + ::anno::in_group("Appearance", "Moss"), + ::anno::hard_range(0.f, 1.f) + ]], + float moss_distribution_amount = 0.f [[ + ::anno::description("A lower value makes the moss grow more unevenly across the surface."), + ::anno::display_name("Coverage"), + ::anno::in_group("Appearance", "Moss"), + ::anno::hard_range(0.f, 1.f) + ]], + float moss_height_growth = 1.f [[ + ::anno::description("Controls the growth of the moss material."), + ::anno::display_name("Growth"), + ::anno::in_group("Appearance", "Moss"), + ::anno::hard_range(0.f, 1.f) + ]], + float moss_weight = 1.f [[ + ::anno::description("Decreasing this parameter makes the moss layer more transparent."), + ::anno::display_name("Weight"), + ::anno::in_group("Appearance", "Moss"), + ::anno::hard_range(0.f, 1.f) + ]], + float moss_moisture = 1.f [[ + ::anno::description("Makes mossy areas more reflectivy to give them a wet appearance."), + ::anno::display_name("Moisture"), + ::anno::in_group("Appearance", "Moss"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float moss_bump_factor = 1.f [[ + ::anno::description("Determines the degree of bumpiness of the moss."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance", "Moss"), + ::anno::hard_range(0.f, 1.f) + ]], + float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Translate"), + ::anno::in_group("Transform") + ]], + float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Rotate"), + ::anno::in_group("Transform") + ]], + float2 texture_scale = 0.5f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Scale"), + ::nvidia::core_definitions::dimension(float2(1.2f, 1.2f)), + ::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 bool across_materials = true [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + uniform float radius = 0.00200000009f [[ + ::anno::description("Radius of the rounded corners in millimeters."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Use selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]]) +[[ + ::anno::display_name("Stone Pores Weathered"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "moss", "weathered", "pores", "wall", "exterior", "rough", "plant", "urban", "city", "industrial")), + ::anno::thumbnail("./.thumbs/Stone_Pores_Weathered.Stone_Pores_Weathered.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += + let { + bool tmp0 = false; + material_surface tmp1(::df::custom_curve_layer(0.0299999993f, 1.f, 5.f, histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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], 0.209999993f, 0.75999999f), ::df::microfacet_ggx_smith_bsdf(::math::lerp(::math::lerp(::math::lerp(-0.419999987f, 1.75f, float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.75f - ::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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, 1.f, 0.f, 1.f), 0.f, 1.f) * ::math::lerp(1.20000005f, -1.f, reflection_roughness), histogram_scan_small(float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.200000003f, 0.600000024f)), histogram_range(::math::lerp(1.f, 0.f, float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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]), 0.48999998f, ::math::lerp(1.f, 0.680000007f, moss_moisture)), ::math::lerp(0.f, ::math::lerp(histogram_scan_big(float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.379000008f, ::math::lerp(0.817000031f, 0.100000001f, moss_distribution_amount)), float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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], ::math::clamp(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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.150000006f, ::math::lerp(0.200000003f, 0.680000007f, moss_height_growth)), 0.f, 1.f)), ::math::lerp(0.f, 2.f, moss_weight))) * ::math::lerp(::math::lerp(::math::lerp(-0.419999987f, 1.75f, float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.75f - ::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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, 1.f, 0.f, 1.f), 0.f, 1.f) * ::math::lerp(1.20000005f, -1.f, reflection_roughness), histogram_scan_small(float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.200000003f, 0.600000024f)), histogram_range(::math::lerp(1.f, 0.f, float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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]), 0.48999998f, ::math::lerp(1.f, 0.680000007f, moss_moisture)), ::math::lerp(0.f, ::math::lerp(histogram_scan_big(float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.379000008f, ::math::lerp(0.817000031f, 0.100000001f, moss_distribution_amount)), float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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], ::math::clamp(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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.150000006f, ::math::lerp(0.200000003f, 0.680000007f, moss_height_growth)), 0.f, 1.f)), ::math::lerp(0.f, 2.f, moss_weight))), ::math::lerp(::math::lerp(::math::lerp(-0.419999987f, 1.75f, float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.75f - ::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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, 1.f, 0.f, 1.f), 0.f, 1.f) * ::math::lerp(1.20000005f, -1.f, reflection_roughness), histogram_scan_small(float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.200000003f, 0.600000024f)), histogram_range(::math::lerp(1.f, 0.f, float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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]), 0.48999998f, ::math::lerp(1.f, 0.680000007f, moss_moisture)), ::math::lerp(0.f, ::math::lerp(histogram_scan_big(float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.379000008f, ::math::lerp(0.817000031f, 0.100000001f, moss_distribution_amount)), float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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], ::math::clamp(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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.150000006f, ::math::lerp(0.200000003f, 0.680000007f, moss_height_growth)), 0.f, 1.f)), ::math::lerp(0.f, 2.f, moss_weight))) * ::math::lerp(::math::lerp(::math::lerp(-0.419999987f, 1.75f, float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.75f - ::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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, 1.f, 0.f, 1.f), 0.f, 1.f) * ::math::lerp(1.20000005f, -1.f, reflection_roughness), histogram_scan_small(float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.200000003f, 0.600000024f)), histogram_range(::math::lerp(1.f, 0.f, float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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]), 0.48999998f, ::math::lerp(1.f, 0.680000007f, moss_moisture)), ::math::lerp(0.f, ::math::lerp(histogram_scan_big(float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.379000008f, ::math::lerp(0.817000031f, 0.100000001f, moss_distribution_amount)), float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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], ::math::clamp(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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.150000006f, ::math::lerp(0.200000003f, 0.680000007f, moss_height_growth)), 0.f, 1.f)), ::math::lerp(0.f, 2.f, moss_weight))), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(::math::lerp(nvidia::core_definitions::blend_colors(infinite_tiling ? endless_texture(texture_2d("./stone_diff.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.49019599f, 0.466666996f, 0.435294002f), 8.f, true) : ::base::file_texture(texture_2d("./stone_diff.jpg", ::tex::gamma_srgb), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint, color(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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], 0.5f, 0.200000003f)), ::base::color_layer_multiply, ::math::lerp(1.f, 0.f, stone_diffuse_brightness)).tint, hue_shift(nvidia::core_definitions::blend_colors(::base::file_texture(texture_2d("./moss_diff.jpg", ::tex::gamma_srgb), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, ::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).tint, color(::math::pow(hsv2rgb(float3(0.2214614f, ::math::lerp(0.f, 0.699999988f, moss_saturation), ::math::lerp(0.175000012f, 0.699999988f, moss_brightness))), 2.20000005f)), ::base::color_layer_overlay, 1.f).tint, 5.95100021f), moss_height_growth * ::math::lerp(histogram_scan_big(float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.379000008f, ::math::lerp(0.817000031f, 0.100000001f, moss_distribution_amount)), float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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], ::math::clamp(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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.150000006f, ::math::lerp(0.200000003f, 0.680000007f, moss_height_growth)), 0.f, 1.f))), 0.f, ""), bsdf(), add_detail_normal(::math::lerp(::state::normal(), ::base::tangent_space_normal_texture(texture_2d("./moss_norm.jpg", ::tex::gamma_linear), ::math::lerp(0.f, 2.f, moss_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), ::math::lerp(0.f, 2.f, moss_weight) * ::math::lerp(histogram_scan_big(float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.379000008f, ::math::lerp(0.817000031f, 0.100000001f, moss_distribution_amount)), float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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], ::math::clamp(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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.150000006f, ::math::lerp(0.200000003f, 0.680000007f, moss_height_growth)), 0.f, 1.f))), infinite_tiling ? endless_normal(texture_2d("./stone_norm.jpg", ::tex::gamma_linear), ::math::lerp(0.f, 2.f, stones_bump_strength), false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 1.f, float3(0.498039007f, 0.501960993f, 0.882353008f), 3.f) : ::base::tangent_space_normal_texture(texture_2d("./stone_norm.jpg", ::tex::gamma_linear), ::math::lerp(0.f, 2.f, stones_bump_strength), false, false, 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, 1.f, 0.f))), add_detail_normal(::math::lerp(::state::normal(), ::base::tangent_space_normal_texture(texture_2d("./moss_norm.jpg", ::tex::gamma_linear), ::math::lerp(0.f, 2.f, moss_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), ::math::lerp(0.f, 2.f, moss_weight) * ::math::lerp(histogram_scan_big(float3(::base::file_texture(texture_2d("./multi_moss.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(0.638283014f, 0.638283014f, 0.638283014f), ::base::mono_alpha, 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.379000008f, ::math::lerp(0.817000031f, 0.100000001f, moss_distribution_amount)), float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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], ::math::clamp(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./multi_stone.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.f, float3(0.572548985f, 0.988234997f, 0.505882025f), 3.f, false) : ::base::file_texture(texture_2d("./multi_stone.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, ::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.150000006f, ::math::lerp(0.200000003f, 0.680000007f, moss_height_growth)), 0.f, 1.f))), infinite_tiling ? endless_normal(texture_2d("./stone_norm.jpg", ::tex::gamma_linear), ::math::lerp(0.f, 2.f, stones_bump_strength), false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 1.f, float3(0.498039007f, 0.501960993f, 0.882353008f), 3.f) : ::base::tangent_space_normal_texture(texture_2d("./stone_norm.jpg", ::tex::gamma_linear), ::math::lerp(0.f, 2.f, stones_bump_strength), false, false, 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, 1.f, 0.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_geometry tmp5(float3(0.f), 1.f, enable_round_corners ? ::state::rounded_corner_normal(radius, across_materials, 1.f) : ::state::normal()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + geometry: tmp5); + +export material Dry_Bright_Stone(*) +[[ + ::anno::display_name("Dry Bright Stone"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "moss", "weathered", "pores", "wall", "exterior", "rough", "plant", "urban", "city", "industrial", "dry", "bright")), + ::anno::thumbnail("./.thumbs/Stone_Pores_Weathered.Dry_Bright_Stone.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Stone_Pores_Weathered +( + infinite_tiling: false, + stone_diffuse_brightness: 0.6f, + reflection_roughness: 0.7f, + stones_bump_strength: 1.f, + moss_brightness: 0.f, + moss_saturation: 0.f, + moss_distribution_amount: 0.f, + moss_height_growth: 0.f, + moss_weight: 0.f, + moss_moisture: 0.f, + moss_bump_factor: 0.f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius: 1.5f, + across_materials: true, + uv_space_index: 0 +); + +export material Matte_Stone(*) +[[ + ::anno::display_name("Matte Stone"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "moss", "weathered", "pores", "wall", "exterior", "rough", "plant", "urban", "city", "industrial", "dry", "matte")), + ::anno::thumbnail("./.thumbs/Stone_Pores_Weathered.Matte_Stone.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Stone_Pores_Weathered +( + infinite_tiling: false, + stone_diffuse_brightness: 0.2f, + reflection_roughness: 0.f, + stones_bump_strength: 0.8f, + moss_brightness: 0.f, + moss_saturation: 0.f, + moss_distribution_amount: 0.f, + moss_height_growth: 0.f, + moss_weight: 0.f, + moss_moisture: 0.f, + moss_bump_factor: 0.f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius: 1.5f, + across_materials: true, + uv_space_index: 0 +); + +export material Slightly_Grown_Moss(*) +[[ + ::anno::display_name("Slightly Grown Moss"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "moss", "weathered", "pores", "wall", "exterior", "rough", "plant", "urban", "city", "industrial", "dry", "slightly", "grown")), + ::anno::thumbnail("./.thumbs/Stone_Pores_Weathered.Slightly_Grown_Moss.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Stone_Pores_Weathered +( + infinite_tiling: false, + stone_diffuse_brightness: 1.f, + reflection_roughness: 0.8f, + stones_bump_strength: 0.5f, + moss_brightness: 0.8f, + moss_saturation: 0.89f, + moss_distribution_amount: 1.f, + moss_height_growth: 0.55f, + moss_weight: 1.f, + moss_moisture: 0.5f, + moss_bump_factor: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius: 1.5f, + across_materials: true, + uv_space_index: 0 +); + +export material Soft_Grown_Moss(*) +[[ + ::anno::display_name("Soft Grown Moss"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "moss", "weathered", "pores", "wall", "exterior", "rough", "plant", "urban", "city", "industrial", "dry", "soft", "grown")), + ::anno::thumbnail("./.thumbs/Stone_Pores_Weathered.Soft_Grown_Moss.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Stone_Pores_Weathered +( + infinite_tiling: false, + stone_diffuse_brightness: 1.f, + reflection_roughness: 0.8f, + stones_bump_strength: 0.5f, + moss_brightness: 0.8f, + moss_saturation: 0.9f, + moss_distribution_amount: 1.f, + moss_height_growth: 0.8f, + moss_weight: 1.f, + moss_moisture: 0.7f, + moss_bump_factor: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius: 1.5f, + across_materials: true, + uv_space_index: 0 +); + +export material Saturated_Green_Patches(*) +[[ + ::anno::display_name("Saturated Green Patches"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "moss", "weathered", "pores", "wall", "exterior", "rough", "plant", "urban", "city", "industrial", "dry", "saturated", "green")), + ::anno::thumbnail("./.thumbs/Stone_Pores_Weathered.Saturated_Green_Patches.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Stone_Pores_Weathered +( + infinite_tiling: false, + stone_diffuse_brightness: 0.f, + reflection_roughness: 1.f, + stones_bump_strength: 1.f, + moss_brightness: 0.8f, + moss_saturation: 0.85f, + moss_distribution_amount: 0.6f, + moss_height_growth: 0.9f, + moss_weight: 1.f, + moss_moisture: .21f, + moss_bump_factor: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius: 1.5f, + across_materials: true, + uv_space_index: 0 +); + +export material Fadely_Yellowish_Moss(*) +[[ + ::anno::display_name("Fadely Yellowish Moss"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("dielectric", "infinite", "stone", "nature", "moss", "weathered", "pores", "wall", "exterior", "rough", "plant", "urban", "city", "industrial", "dry", "fadely", "yellowish")), + ::anno::thumbnail("./.thumbs/Stone_Pores_Weathered.Fadely_Yellowish_Moss.png"), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] += Stone_Pores_Weathered +( + infinite_tiling: false, + stone_diffuse_brightness: 0.f, + reflection_roughness: 0.8f, + stones_bump_strength: 0.2f, + moss_brightness: 1.f, + moss_saturation: 0.f, + moss_distribution_amount: .69f, + moss_height_growth: 1.f, + moss_weight: 0.25f, + moss_moisture: 1.f, + moss_bump_factor: 1.f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius: 1.5f, + across_materials: true, + uv_space_index: 0 +); \ No newline at end of file diff --git a/texture/material_0319/Cotton_Denim.mdl b/texture/material_0319/Cotton_Denim.mdl new file mode 100644 index 0000000000000000000000000000000000000000..1bc1a1a6ca732d5c27db16d195cbb49d5c0a1d7a --- /dev/null +++ b/texture/material_0319/Cotton_Denim.mdl @@ -0,0 +1,648 @@ +/****************************************************************************** + * 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 cotton denim material that features two adjustable colors and " + "a custom adjustable wash effect."; + +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 remap(float input, float low_1, float high_1, float low_2, float high_2) +{ + return low_2 + ((input - low_1) * (high_2 - low_2))/(high_1 - low_1); +} + +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); +} + +float histogram_scan_big(float input, float width, float position) +{ + return ::math::clamp( + remap(input, + ::math::lerp(-width, 1.0, position), + ::math::lerp(0.0, 1.0 + width, position), + 0.0, + 1.0), + 0.0, + 1.0); +} + +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; +}; + +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; +} + +vm_coordinates vm_coord_warp( + float warp_value, + vm_coordinates uv_in, + float warp_intensity = 0.1f, + bool warp_u_direction = true, + bool warp_v_direction = true + +) +{ + vm_coordinates uv = uv_in; + uv.uv = uv_in.uv + float2(warp_u_direction?1.0:0.0, warp_v_direction?1.0:0.0) * warp_value * warp_intensity; + 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); +} + +::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 Cotton_Denim( + color fabric_color_1 = color(0.022f, 0.035f, 0.1f) [[ + ::anno::description("Adjusts the primary color of the denim material."), + ::anno::display_name("Primaray Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(0) + ]], + color fabric_color_2 = color(0.138f, 0.158f, 0.346f) [[ + ::anno::description("Adjusts the secondary color of the denim material."), + ::anno::display_name("Secondary Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(1) + ]], + float roughness = 0.61f [[ + ::anno::description("Amount of variation applied to the roughness, higher numbers lead to non-uniform reflections of the material."), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(2) + ]], + float sheen_weight = 1.f [[ + ::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.00f [[ + ::anno::description("Sets the strength of the bump map."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::ui_order(4) + ]], + float warp_intensity = 0.01f [[ + ::anno::description("Warps the texture to produce a less evenly woven result."), + ::anno::display_name("Warp Intensity"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(5) + ]], + float wash = 0.0f [[ + ::anno::description("The amount of wash patterns on the denim."), + ::anno::display_name("Wash"), + ::anno::in_group("Appearance", "Wash"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(6) + ]], + color washed_tint = color(1.f, 1.f, 1.f) [[ + ::anno::description("Adjusts the tint of the wash effect."), + ::anno::display_name("Wash Tint"), + ::anno::in_group("Appearance", "Wash"), + ::anno::ui_order(7) + ]], + float wash_scale = 0.59f [[ + ::anno::description("Adjusts the size of the wash pattern."), + ::anno::display_name("Wash Scale"), + ::anno::in_group("Appearance", "Wash"), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(8) + ]], + 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(9) + ]], + 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(10) + ]], + float2 texture_scale = 1.0 [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::preview_scale(3.5f), + ::anno::in_group("Transform"), + ::anno::ui_order(11) + ]], + 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(12) + ]], + 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(13) + ]], + 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(14) + ]], + 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(15) + ]]) +[[ + ::anno::display_name("Cotton Denim - Standard Blue"), + ::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/Cotton_Denim.Cotton_Denim.png"), + ::anno::key_words(string[]("fabric", "woven","cotton", "denim", "clothing", "thin", "sheen", "fashion", "new", "blue", "cool")) +]] + = + let { + bool tmp0 = false; + float remap_bump_strength = bump_strength * 1.3f; + float2 texture_rescale = texture_scale * 0.062; // Denim texture sample covers 62mm + + texture_2d warp_tex = texture_2d("./denim_warp.jpg", ::tex::gamma_linear); + texture_2d multi_tex = texture_2d("./denim_R_rough_G_ao_B_height.jpg", ::tex::gamma_linear); + texture_2d diff_mask_tex = texture_2d("./denim_R_diff_G_mask.jpg", ::tex::gamma_linear); + texture_2d wear_tex = texture_2d("./denim_wear.jpg", ::tex::gamma_linear); + texture_2d norm_tex = texture_2d("./denim_norm.jpg", ::tex::gamma_linear); + + + material_surface tmp1(::df::custom_curve_layer(0.00999999978f, 1.f, 5.f, ::math::pow(histogram_scan_big(float3(vm_tex_lookup(multi_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), mono_a, float4(1.f)).tint).y, 0.429999977f, 0.573899984f), 2.20000005f), ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(vm_tex_lookup(multi_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), mono_a, float4(1.f)).tint).x, 1.f, roughness) * histogram_range(float3(vm_tex_lookup(multi_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), mono_a, float4(1.f)).tint).x, 1.f, roughness), histogram_range(float3(vm_tex_lookup(multi_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), mono_a, float4(1.f)).tint).x, 1.f, roughness) * histogram_range(float3(vm_tex_lookup(multi_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), mono_a, float4(1.f)).tint).x, 1.f, roughness), 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(nvidia::core_definitions::blend_colors(fabric_color_1, fabric_color_2, ::base::color_layer_blend, float3(vm_tex_lookup(diff_mask_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), mono_a, float4(1.f)).tint).y, true).tint)) * float3(1.f, 0.74000001f, 1.f)), color(1.f, 1.f, 1.f), ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(fabric_color_1, fabric_color_2, ::base::color_layer_blend, float3(vm_tex_lookup(diff_mask_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), mono_a, float4(1.f)).tint).y, true).tint, color(histogram_range(float3(vm_tex_lookup(diff_mask_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), mono_a, float4(1.f)).tint).x, 0.879999995f, 0.5f)), ::base::color_layer_overlay, 1.f, true).tint, washed_tint, ::base::color_layer_blend, histogram_range(vm_tex_infinite(wear_tex, vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float2(wash_scale * 20.0499992f)), float3(0.467000008f), 0.620000005f, true, 2.20000005f).x, 0.189999998f, wash * 0.0500000007f), true).tint, 0.f)), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(fabric_color_1, fabric_color_2, ::base::color_layer_blend, float3(vm_tex_lookup(diff_mask_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), mono_a, float4(1.f)).tint).y, true).tint, color(histogram_range(float3(vm_tex_lookup(diff_mask_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), mono_a, float4(1.f)).tint).x, 0.879999995f, 0.5f)), ::base::color_layer_overlay, 1.f, true).tint, washed_tint, ::base::color_layer_blend, histogram_range(vm_tex_infinite(wear_tex, vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), float2(wash_scale * 20.0499992f)), float3(0.467000008f), 0.620000005f, true, 2.20000005f).x, 0.189999998f, wash * 0.0500000007f), true).tint, 0.f), bsdf(), vm_tex_normal_lookup(norm_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), remap_bump_strength)), vm_tex_normal_lookup(norm_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), remap_bump_strength)), vm_tex_normal_lookup(norm_tex, vm_coord_warp(vm_tex_lookup(warp_tex, vm_coord(0.f, 0.f, texture_rescale * 7.77777719f, 0), mono_a, float4(1.f)).mono, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), warp_intensity * 0.100000001f, false, true), remap_bump_strength)), 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()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + +// 2 +export material Cotton_Denim_Independence_Blue(*) +[[ + ::anno::display_name("Cotton Denim - Independence Blue"), + ::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/Cotton_Denim.Cotton_Denim_Independence_Blue.png"), + ::anno::key_words(string[]("fabric", "woven","cotton", "denim", "clothing", "thin", "sheen", "fashion", "new", "blue", "cool")) +]] = Cotton_Denim( + fabric_color_1: color(0.033105f, 0.030713f, 0.078187), + fabric_color_2: color(0.155926f, 0.149960f, 0.262251), + roughness: 0.61f, + sheen_weight: 1.0f, + bump_strength: 1.00f, + warp_intensity: 0.05f, + washed_tint: color(1.0f), + wash: 0.05f, + wash_scale: 0.59f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// 3 +export material Cotton_Denim_Carbon(*) +[[ + ::anno::display_name("Cotton Denim - 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/Cotton_Denim.Cotton_Denim_Carbon.png"), + ::anno::key_words(string[]("fabric", "woven","cotton", "denim", "clothing", "thin", "sheen", "fashion", "new", "carbon", "neutral", "dark")) +]] = Cotton_Denim( + fabric_color_1: color(0.027321f, 0.027321f, 0.043735f), + fabric_color_2: color(0.122139f, 0.135633f, 0.212231f), + roughness: 0.61f, + sheen_weight: 1.0f, + bump_strength: 1.00f, + warp_intensity: 0.05f, + washed_tint: color(1.0f), + wash: 0.05f, + wash_scale: 0.59f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// 4 +export material Cotton_Denim_Black(*) +[[ + ::anno::display_name("Cotton Denim - Black"), + ::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/Cotton_Denim.Cotton_Denim_Black.png"), + ::anno::key_words(string[]("fabric", "woven","cotton", "denim", "clothing", "thin", "sheen", "fashion", "new", "black", "dark", "neutral")) +]] = Cotton_Denim( + fabric_color_1: color(0.014444f, 0.014444f, 0.014444f), + fabric_color_2: color(0.155926f, 0.165132f, 0.212231f), + roughness: 0.61f, + sheen_weight: 1.0f, + bump_strength: 1.00f, + warp_intensity: 0.05f, + washed_tint: color(1.0f), + wash: 0.05f, + wash_scale: 0.59f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// 5 +export material Cotton_Denim_Washed_Blue(*) +[[ + ::anno::display_name("Cotton Denim - Washed Blue"), + ::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/Cotton_Denim.Cotton_Denim_Washed_Blue.png"), + ::anno::key_words(string[]("fabric", "woven","cotton", "denim", "clothing", "thin", "sheen", "fashion", "washed", "blue", "cool")) +]] = Cotton_Denim( + fabric_color_1: color(0.014444f, 0.031896f, 0.040915f), + fabric_color_2: color(0.313989f, 0.341914f, 0.462077f), + roughness: 0.61f, + sheen_weight: 1.0f, + bump_strength: 1.00f, + warp_intensity: 0.05f, + washed_tint: color(1.0f), + wash: 1.0f, + wash_scale: 0.59f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// 6 +export material Cotton_Denim_Light_Blue(*) +[[ + ::anno::display_name("Cotton Denim - Light Blue"), + ::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/Cotton_Denim.Cotton_Denim_Light_Blue.png"), + ::anno::key_words(string[]("fabric", "woven","cotton", "denim", "clothing", "thin", "sheen", "fashion", "new", "blue", "cool", "light")) +]] = Cotton_Denim( + fabric_color_1: color(0.051269f, 0.127438f, 0.219526f), + fabric_color_2: color(0.191202f, 0.300544f, 0.479320f), + roughness: 0.61f, + sheen_weight: 1.0f, + bump_strength: 1.00f, + warp_intensity: 0.05f, + washed_tint: color(1.0f), + wash: 0.17f, + wash_scale: 0.59f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +// 7 +export material Cotton_Denim_Bleached_Light_Blue(*) +[[ + ::anno::display_name("Cotton Denim - Bleached Light Blue"), + ::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/Cotton_Denim.Cotton_Denim_Bleached_Light_Blue.png"), + ::anno::key_words(string[]("fabric", "woven","cotton", "denim", "clothing", "thin", "sheen", "fashion", "bleached", "blue", "cool", "light")) +]] = Cotton_Denim( + fabric_color_1: color(0.361307f, 0.514918f, 0.730461f), + fabric_color_2: color(0.107023f, 0.234551f, 0.479320f), + roughness: 0.61f, + sheen_weight: 1.0f, + bump_strength: 1.00f, + warp_intensity: 0.05f, + washed_tint: color(1.0f), + wash: 0.95f, + wash_scale: 0.59f, + 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/texture/material_0322/Cotton_Roughly_Woven.mdl b/texture/material_0322/Cotton_Roughly_Woven.mdl new file mode 100644 index 0000000000000000000000000000000000000000..8b2ff938b66ea5702c675ce578ef3aa95b0c92f5 --- /dev/null +++ b/texture/material_0322/Cotton_Roughly_Woven.mdl @@ -0,0 +1,445 @@ +/****************************************************************************** + * 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.4; + +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"; + +annotation preview_scale( float f); + +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)); +} + + + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + + +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; +} + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +float3 normalmap_normal( + uniform texture_2d texture, + float factor = 1.0, + ::base::texture_coordinate_info uvw = ::base::texture_coordinate_info() +) +{ + float3 lookup = (::tex::lookup_float3(texture, float2(uvw.position.x, uvw.position.y)) - 0.5) * (factor * 2.0); + return ::math::normalize(uvw.tangent_u * lookup.x + uvw.tangent_v * lookup.y + ::state::normal()); +} + +export material Cotton_Roughly_Woven( + uniform bool infinite_tiling = true [[ + ::anno::display_name("Infinite Tiling"), + ::anno::description("Enables infinite tiling feature which removes repeating texture patterns."), + ::anno::in_group("Appearance") + ]], + color fabric_color = color(0.796917f, 0.796917f, 0.796917f) [[ + ::anno::display_name("Fabric Color"), + ::anno::description("Sets the color of the fabric."), + ::anno::in_group("Appearance") + ]], + float fabric_brightness = 0.5f [[ + ::anno::display_name("Fabric Brightness"), + ::anno::description("Adjusts the brightness of the fabric."), + ::anno::hard_range(0.0, 1.0), + ::anno::in_group("Appearance") + ]], + float fabric_bump_factor = 1.f [[ + ::anno::display_name("Fabric Bump Factor"), + ::anno::description("Adjusts the bump intensity of the surface."), + ::anno::hard_range(0.0, 1.0), + ::anno::in_group("Appearance") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::display_name("Translate"), + ::anno::description("Translates the material."), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::display_name("Rotate"), + ::anno::description("Rotates the material."), + ::anno::soft_range(0.0, 1.0), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::display_name("Scale"), + ::anno::description("Scales the material."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::preview_scale(4.5f), + ::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("Cotton Roughly Woven - Beige"), + ::anno::description("A roughly woven cotton fabric."), + ::anno::key_words(string[]("fabric", "cotton", "new", "cloth", "fashion", "organic", "rough", "woven", "design", "upholstery", "infinite tiling", "brown")), + ::anno::thumbnail("./.thumbs/Cotton_Roughly_Woven.Cotton_Roughly_Woven.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = + let { + bool tmp0 = false; + + float2 corrected_scale = 0.165 * texture_scale; + + material_surface tmp1( + ::df::custom_curve_layer(0.121000007f, 1.f, 5.f, 0.465000033f, ::df::microfacet_ggx_smith_bsdf(histogram_range(infinite_tiling ? float3(endless_texture(texture_2d("./cotton_roughly_woven_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.647000015f, 0.5f, 0.426999986f), 8.f, false))[0] : ::base::file_texture(texture_2d("./cotton_roughly_woven_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, corrected_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).mono, 0.195000008f, 0.823000014f) * histogram_range(infinite_tiling ? float3(endless_texture(texture_2d("./cotton_roughly_woven_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.647000015f, 0.5f, 0.426999986f), 8.f, false))[0] : ::base::file_texture(texture_2d("./cotton_roughly_woven_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, corrected_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).mono, 0.195000008f, 0.823000014f), histogram_range(infinite_tiling ? float3(endless_texture(texture_2d("./cotton_roughly_woven_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.647000015f, 0.5f, 0.426999986f), 8.f, false))[0] : ::base::file_texture(texture_2d("./cotton_roughly_woven_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, corrected_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).mono, 0.195000008f, 0.823000014f) * histogram_range(infinite_tiling ? float3(endless_texture(texture_2d("./cotton_roughly_woven_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.647000015f, 0.5f, 0.426999986f), 8.f, false))[0] : ::base::file_texture(texture_2d("./cotton_roughly_woven_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, corrected_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).mono, 0.195000008f, 0.823000014f), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::diffuse_reflection_bsdf(::nvidia::core_definitions::blend_colors((infinite_tiling ? endless_texture(texture_2d("./cotton_roughly_woven_diff.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.647000015f, 0.5f, 0.426999986f), 8.f, true) : ::base::file_texture(texture_2d("./cotton_roughly_woven_diff.jpg", ::tex::gamma_srgb), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, corrected_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) * color(::math::lerp(0.649999976f, 1.f, fabric_brightness)), fabric_color, ::base::color_layer_overlay, 1.f).tint, 0.f, ""), ::state::normal()), + 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, + infinite_tiling ? endless_normal(texture_2d("./cotton_roughly_woven_norm.jpg", ::tex::gamma_linear), fabric_bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, corrected_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.5f, 0.5f, 1.f), 8.f) : normalmap_normal(texture_2d("./cotton_roughly_woven_norm.jpg", ::tex::gamma_linear), fabric_bump_factor, vmat_transform(texture_translate, texture_rotate, corrected_scale, ::base::texture_coordinate_uvw, uv_space_index))); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + +export material Fabric_Cotton_Roughly_Woven_Orange(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Cotton Roughly Woven - Orange"), + ::anno::description("A roughly woven cotton fabric."), + ::anno::key_words(string[]("fabric", "cotton", "new", "cloth", "fashion", "organic", "rough", "woven", "design", "upholstery", "infinite tiling", "orange", "warm")), + ::anno::thumbnail("./.thumbs/Cotton_Roughly_Woven.Fabric_Cotton_Roughly_Woven_Orange.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Cotton_Roughly_Woven( + infinite_tiling: true, + fabric_color: color(0.673049f, 0.353741f, 0.018913f), + fabric_brightness: 0.5f, + fabric_bump_factor: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Fabric_Cotton_Roughly_Woven_Cheery_Red(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Cotton Roughly Woven - Cherry Red"), + ::anno::description("A roughly woven cotton fabric."), + ::anno::key_words(string[]("fabric", "cotton", "new", "cloth", "fashion", "organic", "rough", "woven", "design", "upholstery", "infinite tiling", "red", "cherry", "warm")), + ::anno::thumbnail("./.thumbs/Cotton_Roughly_Woven.Fabric_Cotton_Roughly_Woven_Cheery_Red.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Cotton_Roughly_Woven( + infinite_tiling: true, + fabric_color: color(0.659224f, 0.054592f, 0.030257f), + fabric_brightness: 0.5f, + fabric_bump_factor: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Fabric_Cotton_Roughly_Woven_Dark_Red(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Cotton Roughly Woven - Dark Red"), + ::anno::description("A roughly woven cotton fabric."), + ::anno::key_words(string[]("fabric", "cotton", "new", "cloth", "fashion", "organic", "rough", "woven", "design", "upholstery", "infinite tiling", "dark", "red", "warm")), + ::anno::thumbnail("./.thumbs/Cotton_Roughly_Woven.Fabric_Cotton_Roughly_Woven_Dark_Red.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Cotton_Roughly_Woven( + infinite_tiling: true, + fabric_color: color(0.242796f, 0.010398f, 0.058187f), + fabric_brightness: 0.5f, + fabric_bump_factor: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Fabric_Cotton_Roughly_Woven_Green(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Cotton Roughly Woven - Green"), + ::anno::description("A roughly woven cotton fabric."), + ::anno::key_words(string[]("fabric", "cotton", "new", "cloth", "fashion", "organic", "rough", "woven", "design", "upholstery", "infinite tiling", "green")), + ::anno::thumbnail("./.thumbs/Cotton_Roughly_Woven.Fabric_Cotton_Roughly_Woven_Green.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Cotton_Roughly_Woven( + infinite_tiling: true, + fabric_color: color(0.259027f, 0.529523f, 0.014311f), + fabric_brightness: 0.5f, + fabric_bump_factor: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Fabric_Cotton_Roughly_Woven_Dark_Ash(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Cotton Roughly Woven - Dark Ash"), + ::anno::description("A roughly woven cotton fabric."), + ::anno::key_words(string[]("fabric", "cotton", "new", "cloth", "fashion", "organic", "rough", "woven", "design", "upholstery", "infinite tiling", "ash", "dark", "blue", "gray")), + ::anno::thumbnail("./.thumbs/Cotton_Roughly_Woven.Fabric_Cotton_Roughly_Woven_Dark_Ash.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Cotton_Roughly_Woven( + infinite_tiling: true, + fabric_color: color(0.016988f, 0.038473f, 0.086901f), + fabric_brightness: 0.5f, + fabric_bump_factor: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + + + + + + + + + diff --git a/texture/material_0374/Facade_Brick_Red_Clinker.mdl b/texture/material_0374/Facade_Brick_Red_Clinker.mdl new file mode 100644 index 0000000000000000000000000000000000000000..fedc20713ebe9992022ffd94b9b51d0ba1ecfe06 --- /dev/null +++ b/texture/material_0374/Facade_Brick_Red_Clinker.mdl @@ -0,0 +1,482 @@ +/****************************************************************************** + * 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.4; + +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"; + + + +float3 normalmap_normal( + uniform texture_2d texture, + float factor = 1.0, + ::base::texture_coordinate_info uvw = ::base::texture_coordinate_info() +) +{ + float3 lookup = (::tex::lookup_float3(texture, float2(uvw.position.x, uvw.position.y)) - 0.5) * (factor * 2.0); + return ::math::normalize(uvw.tangent_u * lookup.x + uvw.tangent_v * lookup.y + ::state::normal()); +} + +::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 remap(float input, float low, float high) +{ + //return low + input * (high - low); + 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); +} + +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); +} + + +float histogram_pos_range(float input, float range, float position) +{ + float range_half = range/2.0; + float subtract_low = (position + range_half) > 1.0 ? (position + range/2.0) - 1.0 : 0.0; + float low = position - range_half - subtract_low; + + float add_high = (position - range_half) < 0.0 ? ::math::abs(position - range_half) : 0.0; + float high = position + range_half + add_high; + return remap(input, low, high); +} + + +export material Facade_Brick_Red_Clinker( + float grime_weight = 0.f [[ + ::anno::display_name("Grime Weight"), + ::anno::description("Applied slight grime and dirt on top of the material to give it a worn, aged appearance."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float bricks_brightness = 0.276000023f [[ + ::anno::display_name("Bricks Brightness"), + ::anno::description("Adjusts the brightness of the bricks."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Bricks") + ]], + float leaks_weight = 0.f [[ + ::anno::display_name("Leaks weight"), + ::anno::description("Adds small leaks to the material."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Bricks") + ]], + color leak_color = color(0.0476929992f, 0.306998998f, 0.0575760007f) [[ + ::anno::display_name("Leaks Color"), + ::anno::description("Adjusts the color of the leaks."), + ::anno::in_group("Appearance", "Bricks") + ]], + float paint_transition = 0.f [[ + ::anno::display_name("Paint Height"), + ::anno::description("Adds paint to the material, depending on the value of this parameter the paint is gradually applied."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Paint") + ]], + color paint_color = color(0.522521973f, 0.327468991f, 0.0592540018f) [[ + ::anno::display_name("Paint Color"), + ::anno::description("Sets the color of the paint."), + ::anno::in_group("Appearance", "Paint") + ]], + uniform float paint_stroke_amount = 0.6f [[ + ::anno::display_name("Paint Bump Strength"), + ::anno::description("Adjusts the bumpiness of the paint strokes."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Paint") + ]], + float paint_roughness = 0.5f [[ + ::anno::display_name("Paint Reflectivity"), + ::anno::description("Adjusts the reflectivity of the paint applied on top of the bricks."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Paint") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::display_name("Translation"), + ::anno::description("Offsets position of the material."), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::display_name("Rotation"), + ::anno::description("Rotates the material."), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::display_name("Scale"), + ::anno::description("Scales the material."), + ::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("Use selected UV space for material."), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::display_name("Brick Clinker"), + ::anno::description("A red brick wall material made out of clinker. Features additional controls for adding leaks and a layer of paint on top of the material."), + ::anno::author("NVIDIA Corporation"), + ::anno::created(2020, 5, 6, ""), + ::anno::key_words(string[]("aec", "bricks", "brickwall", "clinker", "paint", "wall", "rough", "architecture", "multimaterial", "construction", "interior", "exterior", "leak", "red", "warm")), + ::anno::thumbnail("./.thumbs/Facade_Brick_Red_Clinker.Facade_Brick_Red_Clinker.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = + let { + bool tmp0 = false; + material_surface tmp1( + ::df::custom_curve_layer(0.f, 1.f, 5.f, ::math::lerp(1.f, float3(::base::file_texture(texture_2d("./clinker_multi_R_rough_G_ao_B_height.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, ::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], grime_weight), ::df::microfacet_ggx_smith_bsdf(::math::lerp(histogram_pos_range(::base::file_texture(texture_2d("./painted_wall_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).mono, 0.275450021f, ::math::lerp(0.0799999982f, 0.920000017f, paint_roughness)), ::math::lerp(1.f, histogram_range(::base::file_texture(texture_2d("./clinker_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).mono, 0.468000025f, 0.879000068f), float3(::base::file_texture(texture_2d("./clinker_mask_multi_R_rnd_color_G_grout_B_leaks.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, ::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]), histogram_scan_big(1.f - float3(::base::file_texture(texture_2d("./clinker_multi_R_rough_G_ao_B_height.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, ::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.117000006f, ::math::lerp(0.0900000036f, 0.68900001f, paint_transition))) * ::math::lerp(histogram_pos_range(::base::file_texture(texture_2d("./painted_wall_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).mono, 0.275450021f, ::math::lerp(0.0799999982f, 0.920000017f, paint_roughness)), ::math::lerp(1.f, histogram_range(::base::file_texture(texture_2d("./clinker_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).mono, 0.468000025f, 0.879000068f), float3(::base::file_texture(texture_2d("./clinker_mask_multi_R_rnd_color_G_grout_B_leaks.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, ::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]), histogram_scan_big(1.f - float3(::base::file_texture(texture_2d("./clinker_multi_R_rough_G_ao_B_height.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, ::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.117000006f, ::math::lerp(0.0900000036f, 0.68900001f, paint_transition))), ::math::lerp(histogram_pos_range(::base::file_texture(texture_2d("./painted_wall_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).mono, 0.275450021f, ::math::lerp(0.0799999982f, 0.920000017f, paint_roughness)), ::math::lerp(1.f, histogram_range(::base::file_texture(texture_2d("./clinker_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).mono, 0.468000025f, 0.879000068f), float3(::base::file_texture(texture_2d("./clinker_mask_multi_R_rnd_color_G_grout_B_leaks.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, ::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]), histogram_scan_big(1.f - float3(::base::file_texture(texture_2d("./clinker_multi_R_rough_G_ao_B_height.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, ::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.117000006f, ::math::lerp(0.0900000036f, 0.68900001f, paint_transition))) * ::math::lerp(histogram_pos_range(::base::file_texture(texture_2d("./painted_wall_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).mono, 0.275450021f, ::math::lerp(0.0799999982f, 0.920000017f, paint_roughness)), ::math::lerp(1.f, histogram_range(::base::file_texture(texture_2d("./clinker_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).mono, 0.468000025f, 0.879000068f), float3(::base::file_texture(texture_2d("./clinker_mask_multi_R_rnd_color_G_grout_B_leaks.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, ::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]), histogram_scan_big(1.f - float3(::base::file_texture(texture_2d("./clinker_multi_R_rough_G_ao_B_height.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, ::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.117000006f, ::math::lerp(0.0900000036f, 0.68900001f, paint_transition))), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::diffuse_reflection_bsdf(::nvidia::core_definitions::blend_colors(::nvidia::core_definitions::blend_colors(paint_color, ::nvidia::core_definitions::blend_colors(::base::file_texture(texture_2d("./clinker_diff.jpg", ::tex::gamma_srgb), color(0.f, 0.f, 0.f), color(::math::lerp(0.5f, 0.800000012f, bricks_brightness)), ::base::mono_alpha, 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, ::nvidia::core_definitions::blend_colors(leak_color, color(1.f, 1.f, 1.f), ::base::color_layer_blend, ::math::pow(float3(::base::file_texture(texture_2d("./clinker_mask_multi_R_rnd_color_G_grout_B_leaks.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, ::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], 2.20000005f)).tint, ::base::color_layer_multiply, leaks_weight).tint, ::base::color_layer_blend, histogram_scan_big(1.f - float3(::base::file_texture(texture_2d("./clinker_multi_R_rough_G_ao_B_height.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, ::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.117000006f, ::math::lerp(0.0900000036f, 0.68900001f, paint_transition))).tint, color(float3(::base::file_texture(texture_2d("./clinker_multi_R_rough_G_ao_B_height.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, ::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]), ::base::color_layer_multiply, grime_weight).tint, 0.f, ""), ::state::normal()), + 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, + ::math::normalize(::math::lerp(::base::file_bump_texture(texture_2d("./clinker_paint_stroke_bump.jpg", ::tex::gamma_linear), ::math::lerp(1.f, 8.f, paint_stroke_amount), ::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, ::state::normal(), false), normalmap_normal(texture_2d("./clinker_norm.jpg", ::tex::gamma_linear), 1.29999995f, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index)), histogram_scan_big(1.f - float3(::base::file_texture(texture_2d("./clinker_multi_R_rough_G_ao_B_height.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, ::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.207000017f, ::math::lerp(0.259000003f, 0.462000012f, paint_transition))))); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + +export material Facade_Brick_Red_Clinker_Mossy_Leaking(*) +[[ + ::anno::display_name("Brick Clinker - Mossy Leaks"), + ::anno::description("A red brick wall material made out of clinker. Features additional controls for adding leaks and a layer of paint on top of the material."), + ::anno::author("NVIDIA Corporation"), + ::anno::created(2020, 5, 6, ""), + ::anno::key_words(string[]("aec", "bricks", "brickwall", "clinker", "paint", "wall", "rough", "architecture", "multimaterial", "construction", "interior", "exterior", "leak", "red" )), + ::anno::thumbnail("./.thumbs/Facade_Brick_Red_Clinker.Facade_Brick_Red_Clinker_Mossy_Leaking.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Facade_Brick_Red_Clinker( + grime_weight: 1.0f, + bricks_brightness: 0.5f, + leaks_weight: 1.0f, + leak_color: color(0.044553f, 0.311180f, 0.054592f), + paint_transition: 0.0f, + paint_color: color(0.0f), + paint_stroke_amount: 0.418f, + paint_roughness: 0.5f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Facade_Brick_Red_Clinker_Slightly_Painted(*) +[[ + ::anno::display_name("Brick Clinker - Slightly Painted"), + ::anno::description("A red brick wall material made out of clinker. Features additional controls for adding leaks and a layer of paint on top of the material."), + ::anno::author("NVIDIA Corporation"), + ::anno::created(2020, 5, 6, ""), + ::anno::key_words(string[]("aec", "bricks", "brickwall", "clinker", "paint", "wall", "rough", "architecture", "multimaterial", "construction", "interior", "exterior", "leak", "red", "white" )), + ::anno::thumbnail("./.thumbs/Facade_Brick_Red_Clinker.Facade_Brick_Red_Clinker_Slightly_Painted.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Facade_Brick_Red_Clinker( + grime_weight: 0.05f, + bricks_brightness: 0.3f, + leaks_weight: 0.0f, + leak_color: color(0.0f), + paint_transition: 0.45f, + paint_color: color(0.529523f), + paint_stroke_amount: 0.418f, + paint_roughness: 0.65f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Facade_Brick_Red_Clinker_Painted_White(*) +[[ + ::anno::display_name("Brick Clinker - Painted White"), + ::anno::description("A red brick wall material made out of clinker. Features additional controls for adding leaks and a layer of paint on top of the material."), + ::anno::author("NVIDIA Corporation"), + ::anno::created(2020, 5, 6, ""), + ::anno::key_words(string[]("aec", "bricks", "brickwall", "clinker", "paint", "wall", "rough", "architecture", "multimaterial", "construction", "interior", "exterior", "leak", "red", "white" )), + ::anno::thumbnail("./.thumbs/Facade_Brick_Red_Clinker.Facade_Brick_Red_Clinker_Painted_White.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Facade_Brick_Red_Clinker( + grime_weight: 0.0f, + bricks_brightness: 0.3f, + leaks_weight: 0.0f, + leak_color: color(0.0f), + paint_transition: 0.91f, + paint_color: color(0.529523f), + paint_stroke_amount: 0.418f, + paint_roughness: 0.52f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Facade_Brick_Red_Clinker_Sloppy_Paint_Job(*) +[[ + ::anno::display_name("Brick Clinker - Sloppy Paint Job"), + ::anno::description("A red brick wall material made out of clinker. Features additional controls for adding leaks and a layer of paint on top of the material."), + ::anno::author("NVIDIA Corporation"), + ::anno::created(2020, 5, 6, ""), + ::anno::key_words(string[]("aec", "bricks", "brickwall", "clinker", "paint", "wall", "rough", "architecture", "multimaterial", "construction", "interior", "exterior", "leak", "white", "neutral" )), + ::anno::thumbnail("./.thumbs/Facade_Brick_Red_Clinker.Facade_Brick_Red_Clinker_Sloppy_Paint_Job.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Facade_Brick_Red_Clinker( + grime_weight: 0.0f, + bricks_brightness: 0.3f, + leaks_weight: 0.0f, + leak_color: color(0.0f), + paint_transition: 0.695f, + paint_color: color(0.529523f), + paint_stroke_amount: 1.0f, + paint_roughness: 0.65f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Facade_Brick_Red_Clinker_Dirty_Paint(*) +[[ + ::anno::display_name("Brick Clinker - Dirty Paint"), + ::anno::description("A red brick wall material made out of clinker. Features additional controls for adding leaks and a layer of paint on top of the material."), + ::anno::author("NVIDIA Corporation"), + ::anno::created(2020, 5, 6, ""), + ::anno::key_words(string[]("aec", "bricks", "brickwall", "clinker", "paint", "wall", "rough", "architecture", "multimaterial", "construction", "interior", "exterior", "leak", "white", "dirty" )), + ::anno::thumbnail("./.thumbs/Facade_Brick_Red_Clinker.Facade_Brick_Red_Clinker_Dirty_Paint.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Facade_Brick_Red_Clinker( + grime_weight: 0.85f, + bricks_brightness: 0.3f, + leaks_weight: 0.0f, + leak_color: color(0.0f), + paint_transition: 0.91, + paint_color: color(0.529523f), + paint_stroke_amount: 0.418f, + paint_roughness: 0.65f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Facade_Brick_Red_Clinker_Painted_Yellow(*) +[[ + ::anno::display_name("Brick Clinker - Painted Yellow"), + ::anno::description("A red brick wall material made out of clinker. Features additional controls for adding leaks and a layer of paint on top of the material."), + ::anno::author("NVIDIA Corporation"), + ::anno::created(2020, 5, 6, ""), + ::anno::key_words(string[]("aec", "bricks", "brickwall", "clinker", "paint", "wall", "rough", "architecture", "multimaterial", "construction", "interior", "exterior", "leak", "yellow", "warm")), + ::anno::thumbnail("./.thumbs/Facade_Brick_Red_Clinker.Facade_Brick_Red_Clinker_Painted_Yellow.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Facade_Brick_Red_Clinker( + grime_weight: 0.0f, + bricks_brightness: 0.3f, + leaks_weight: 0.0f, + leak_color: color(0.0f), + paint_transition: 0.91, + paint_color: color(0.529523f, 0.373615f, 0.101145f), + paint_stroke_amount: 0.418f, + paint_roughness: 0.65f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Facade_Brick_Red_Clinker_Painted_Terracotta(*) +[[ + ::anno::display_name("Brick Clinker - Painted Terracotta"), + ::anno::description("A red brick wall material made out of clinker. Features additional controls for adding leaks and a layer of paint on top of the material."), + ::anno::author("NVIDIA Corporation"), + ::anno::created(2020, 5, 6, ""), + ::anno::key_words(string[]("aec", "bricks", "brickwall", "clinker", "paint", "wall", "rough", "architecture", "multimaterial", "construction", "interior", "exterior", "leak", "terracotta", "warm")), + ::anno::thumbnail("./.thumbs/Facade_Brick_Red_Clinker.Facade_Brick_Red_Clinker_Painted_Terracotta.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Facade_Brick_Red_Clinker( + grime_weight: 0.2f, + bricks_brightness: 0.3f, + leaks_weight: 0.0f, + leak_color: color(0.0f), + paint_transition: 0.91, + paint_color: color(0.404541f, 0.116576f, 0.047776f), + paint_stroke_amount: 0.45f, + paint_roughness: 0.75f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + +export material Facade_Brick_Red_Clinker_Painted_Cool_Green(*) +[[ + ::anno::display_name("Brick Clinker - Cool Green"), + ::anno::description("A red brick wall material made out of clinker. Features additional controls for adding leaks and a layer of paint on top of the material."), + ::anno::author("NVIDIA Corporation"), + ::anno::created(2020, 5, 6, ""), + ::anno::key_words(string[]("aec", "bricks", "brickwall", "clinker", "paint", "wall", "rough", "architecture", "multimaterial", "construction", "interior", "exterior", "leak", "green")), + ::anno::thumbnail("./.thumbs/Facade_Brick_Red_Clinker.Facade_Brick_Red_Clinker_Painted_Cool_Green.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Facade_Brick_Red_Clinker( + grime_weight: 0.2f, + bricks_brightness: 0.3f, + leaks_weight: 0.0f, + leak_color: color(0.0f), + paint_transition: 0.91, + paint_color: color(0.144972f, 0.280124f, 0.170138f), + paint_stroke_amount: 0.418f, + paint_roughness: 0.6f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + +export material Facade_Brick_Red_Clinker_Painted_Aqua_Blue(*) +[[ + ::anno::display_name("Brick Clinker - Aqua Blue"), + ::anno::description("A red brick wall material made out of clinker. Features additional controls for adding leaks and a layer of paint on top of the material."), + ::anno::author("NVIDIA Corporation"), + ::anno::created(2020, 5, 6, ""), + ::anno::key_words(string[]("aec", "bricks", "brickwall", "clinker", "paint", "wall", "rough", "architecture", "multimaterial", "construction", "interior", "exterior", "leak", "blue", "aqua", "cool")), + ::anno::thumbnail("./.thumbs/Facade_Brick_Red_Clinker.Facade_Brick_Red_Clinker_Painted_Aqua_Blue.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Facade_Brick_Red_Clinker( + grime_weight: 0.2f, + bricks_brightness: 0.3f, + leaks_weight: 0.0f, + leak_color: color(0.0f), + paint_transition: 0.91, + paint_color: color(0.141980f, 0.394083f, 0.470440f), + paint_stroke_amount: 0.418f, + paint_roughness: 0.6f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + + + + + diff --git a/texture/material_0386/Brass.mdl b/texture/material_0386/Brass.mdl new file mode 100644 index 0000000000000000000000000000000000000000..c884999a3f4c988b9eaf00855531db348905a568 --- /dev/null +++ b/texture/material_0386/Brass.mdl @@ -0,0 +1,759 @@ +/****************************************************************************** + * 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 plain brass material with controls to add wear and dirt. Set the parameter " + "'Brass Type Blend' to 0.0 or 1.0 for yellow brass, 0.33 for gold brass and 0.66 for " + "red brass. Values inbetween will interpolate between the brass colors"; + +color gradient_lookup_smooth(uniform texture_2d gradient_texture, float position, float gradient_select = 0) +{ + // Pixel centers lie in the middle. To properly access the pixel centers of the gradients, apply an offset + float2 texel_coord = float2(position, gradient_select + (0.5f / ::tex::height(gradient_texture))); + return color(::tex::lookup_float3(gradient_texture, texel_coord)); +} + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + +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; +} + +::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 +) +{ + 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); + float c = ::math::cos(rotation); + 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)); +} + +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); +} + + +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); +} + +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); +} + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +export material Brass( + float brass_type_select = 0.0f [[ + ::anno::description("Bends between the Brass types. 0 is yellow brass, 0.33 gold brass and 0.66 red brass. Going from 0.66 to 1.0 wraps back to yellow brass."), + ::anno::display_name("Brass Type Blend"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(0) + ]], + float roughness = 0.f [[ + ::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 roughness_variation = 0.95f [[ + ::anno::description("Adds variation to the roughness across the material so that its shininess changes."), + ::anno::display_name("Roughness Variation"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(2) + ]], + float surface_dirt = 0.f [[ + ::anno::description("Adds a layer of dirt on the surface which darkens the appearance."), + ::anno::display_name("Surface Dirt"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(3) + ]], + float dirt_dents = 0.f [[ + ::anno::description("Adds dirt in the areas where dents appear on the surface."), + ::anno::display_name("Dents Dirt"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(4) + ]], + float bump_strength = 0.09f [[ + ::anno::description("Specifies the strength of the bump."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(5) + ]], + 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(6) + ]], + 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), + ::anno::ui_order(7) + ]], + uniform 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(1.0f, 1.0f)), + ::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 = true [[ + ::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) + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced"), + ::anno::hard_range(0, 10), + ::anno::ui_order(12) + ]]) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Yellow - New"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass.png"), + // new, worn, aged, dirty, bumped, shiny, rough, matte + ::anno::key_words(string[]("metal", "brass", "new", "shiny", "smooth", "reflective","plain", "design", "sanitary", "yellow", "warm")) +]] + = + let { + bool tmp0 = false; + material_surface tmp1(::df::weighted_layer(::math::max(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z * surface_dirt, ::math::min(dirt_dents, float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).y)), ::df::diffuse_reflection_bsdf(color(0.0173889995f, 0.0125169996f, 0.00369399996f), 0.f), ::df::weighted_layer(::math::lerp(0.209999993f, 0.395000011f, roughness), ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(color(0.139981002f, 0.0928419977f, 0.0170479994f), color(0.00604900019f, 0.00469399989f, 0.00184399995f), ::base::color_layer_blend, histogram_scan_big(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.359999985f, 0.560000002f)).tint, 0.f), ::df::custom_curve_layer(0.f, 1.f, 5.35999966f, 1.f, ::df::weighted_layer(0.349999994f, ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.736000001f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.736000001f, roughness)), histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.736000001f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.736000001f, roughness)), 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(1.f, ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.435000002f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.435000002f, roughness)), histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.435000002f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.435000002f, roughness)), color(1.f, 1.f, 1.f), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), bsdf(), endless_normal(texture_2d("./brass_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.5f, 0.5f, 0.999000013f), 6.12999964f)), endless_normal(texture_2d("./brass_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.5f, 0.5f, 0.999000013f), 6.12999964f)), ::df::tint(gradient_lookup_smooth(texture_2d("./brass_gradients_yellow_gold_red.png", ::tex::gamma_srgb), float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).x, brass_type_select), ::df::weighted_layer(0.349999994f, ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.736000001f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.736000001f, roughness)), histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.736000001f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.736000001f, roughness)), 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(1.f, ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.435000002f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.435000002f, roughness)), histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.435000002f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_grad_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.805000007f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.435000002f, roughness)), color(1.f, 1.f, 1.f), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), bsdf(), endless_normal(texture_2d("./brass_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.5f, 0.5f, 0.999000013f), 6.12999964f)), endless_normal(texture_2d("./brass_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.5f, 0.5f, 0.999000013f), 6.12999964f))), ::state::normal()), endless_normal(texture_2d("./brass_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.5f, 0.5f, 0.999000013f), 6.12999964f)), endless_normal(texture_2d("./brass_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.5f, 0.5f, 0.999000013f), 6.12999964f)), 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()); + 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 Brass_Yellow_New_Stained(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Yellow - New Stained"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Yellow_New_Stained.png"), + ::anno::key_words(string[]("metal", "brass", "new", "shiny", "smooth", "stained", "reflective","plain", "design", "sanitary", "yellow", "warm")) +]] = Brass( + brass_type_select: 0.0f, + roughness: 0.0f, + roughness_variation: 0.95f, + surface_dirt: 0.72f, + dirt_dents: 0.45f, + bump_strength: 0.25f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 3 +export material Brass_Yellow_Shiny_Handled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Yellow - Shiny Handled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Yellow_Shiny_Handled.png"), + ::anno::key_words(string[]("metal", "brass", "pure", "reflective","plain", "design", "sanitary", "bumped", "yellow", "warm")) +]] = Brass( + brass_type_select: 0.0f, + roughness: 0.14f, + roughness_variation: 0.95f, + surface_dirt: 0.63f, + dirt_dents: 0.6f, + bump_strength: 0.9f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 4 +export material Brass_Yellow_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Yellow - Worn"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Yellow_Worn.png"), + ::anno::key_words(string[]("metal", "brass", "pure", "dirty", "worn", "reflective","plain", "stained", "design", "sanitary", "bumped", "yellow", "warm")) +]] = Brass( + brass_type_select: 0.0f, + roughness: 0.43f, + roughness_variation: 0.95f, + surface_dirt: 1.0f, + dirt_dents: 0.54f, + bump_strength: 0.92f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 5 +export material Brass_Yellow_Rough_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Yellow - Rough Worn"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Yellow_Rough_Worn.png"), + ::anno::key_words(string[]("metal", "brass", "matte", "dirty", "aged", "old", "worn", "reflective","plain", "stained", "design", "sanitary", "bumped", "yellow", "warm")) +]] = Brass( + brass_type_select: 0.0f, + roughness: 1.0f, + roughness_variation: 1.0f, + surface_dirt: 0.92f, + dirt_dents: 0.35f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 6 +export material Brass_Gold_New(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Gold - New"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Gold_New.png"), + ::anno::key_words(string[]("metal", "brass", "pure", "reflective","plain", "design", "sanitary", "gold", "warm")) +]] = Brass( + brass_type_select: 0.33f, + roughness: 0.0f, + roughness_variation: 0.95f, + surface_dirt: 0.0f, + dirt_dents: 0.0f, + bump_strength: 0.09f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +// 7 +export material Brass_Gold_New_Stained(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Gold - New Stained"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Gold_New_Stained.png"), + ::anno::key_words(string[]("metal", "brass", "new", "shiny", "smooth", "stained", "reflective","plain", "design", "sanitary", "gold", "warm")) +]] = Brass( + brass_type_select: 0.33f, + roughness: 0.0f, + roughness_variation: 0.95f, + surface_dirt: 0.72f, + dirt_dents: 0.45f, + bump_strength: 0.25f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 8 +export material Brass_Gold_Shiny_Handled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Gold - Shiny Handled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Gold_Shiny_Handled.png"), + ::anno::key_words(string[]("metal", "brass", "pure", "reflective","plain", "design", "sanitary", "bumped", "gold", "warm")) +]] = Brass( + brass_type_select: 0.33f, + roughness: 0.14f, + roughness_variation: 0.95f, + surface_dirt: 0.63f, + dirt_dents: 0.6f, + bump_strength: 0.9f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 9 +export material Brass_Gold_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Gold - Worn"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Gold_Worn.png"), + ::anno::key_words(string[]("metal", "brass", "pure", "dirty", "worn", "reflective","plain", "stained", "design", "sanitary", "bumped", "gold", "warm")) +]] = Brass( + brass_type_select: 0.33f, + roughness: 0.43f, + roughness_variation: 0.95f, + surface_dirt: 1.0f, + dirt_dents: 0.54f, + bump_strength: 0.92f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 10 +export material Brass_Gold_Rough_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Gold - Rough Worn"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Gold_Rough_Worn.png"), + ::anno::key_words(string[]("metal", "brass", "matte", "dirty", "aged", "old", "worn", "reflective","plain", "stained", "design", "sanitary", "bumped", "gold", "warm")) +]] = Brass( + brass_type_select: 0.33f, + roughness: 1.0f, + roughness_variation: 1.0f, + surface_dirt: 0.92f, + dirt_dents: 0.35f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +// 11 +export material Brass_Red_New(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Red - New"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Red_New.png"), + ::anno::key_words(string[]("metal", "brass", "pure", "reflective","plain", "design", "sanitary", "red", "warm")) +]] = Brass( + brass_type_select: 0.66f, + roughness: 0.0f, + roughness_variation: 0.95f, + surface_dirt: 0.0f, + dirt_dents: 0.0f, + bump_strength: 0.09f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +// 12 +export material Brass_Red_New_Stained(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Red - New Stained"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Red_New_Stained.png"), + ::anno::key_words(string[]("metal", "brass", "new", "shiny", "smooth", "stained", "reflective","plain", "design", "sanitary", "red", "warm")) +]] = Brass( + brass_type_select: 0.66f, + roughness: 0.0f, + roughness_variation: 0.95f, + surface_dirt: 0.72f, + dirt_dents: 0.45f, + bump_strength: 0.25f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 13 +export material Brass_Red_Shiny_Handled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Red - Shiny Handled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Red_Shiny_Handled.png"), + ::anno::key_words(string[]("metal", "brass", "pure", "reflective","plain", "design", "sanitary", "bumped", "red", "warm")) +]] = Brass( + brass_type_select: 0.66f, + roughness: 0.14f, + roughness_variation: 0.95f, + surface_dirt: 0.63f, + dirt_dents: 0.6f, + bump_strength: 0.9f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 14 +export material Brass_Red_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Red - Worn"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Red_Worn.png"), + ::anno::key_words(string[]("metal", "brass", "pure", "dirty", "worn", "reflective","plain", "stained", "design", "sanitary", "bumped", "red", "warm")) +]] = Brass( + brass_type_select: 0.66f, + roughness: 0.43f, + roughness_variation: 0.95f, + surface_dirt: 1.0f, + dirt_dents: 0.54f, + bump_strength: 0.92f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 15 +export material Brass_Red_Rough_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Red - Rough Worn"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass.Brass_Red_Rough_Worn.png"), + ::anno::key_words(string[]("metal", "brass", "matte", "dirty", "aged", "old", "worn", "reflective","plain", "stained", "design", "sanitary", "bumped", "red", "warm")) +]] = Brass( + brass_type_select: 0.66f, + roughness: 1.0f, + roughness_variation: 1.0f, + surface_dirt: 0.92f, + dirt_dents: 0.35f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0, + roundcorners_across_materials: false, + uv_space_index: 0 +); + diff --git a/texture/material_0394/Brass_Sheet.mdl b/texture/material_0394/Brass_Sheet.mdl new file mode 100644 index 0000000000000000000000000000000000000000..350f0a06bf26dd778ba071f42318dca7b5861665 --- /dev/null +++ b/texture/material_0394/Brass_Sheet.mdl @@ -0,0 +1,844 @@ +/****************************************************************************** + * 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 brass sheet metal material with tweaks to add surface imperfections"; + + + + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + + +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; +} + +::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 +) +{ + 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); + float c = ::math::cos(rotation); + 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)); +} + +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 + )); +} + + +color gradient_lookup_smooth(uniform texture_2d gradient_texture, float position, float gradient_select = 0) +{ + // Pixel centers lie in the middle. To properly access the pixel centers of the gradients, apply an offset + float2 texel_coord = float2(position, gradient_select + (0.5f / ::tex::height(gradient_texture))); + return color(::tex::lookup_float3(gradient_texture, texel_coord)); +} + +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); +} + +export material Brass_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", "Infinite Tiing"), + ::anno::ui_order(0) + ]], + float brass_type_select = 0.f [[ + ::anno::description("Bends between the Brass types. 0 is yellow brass, 0.33 gold brass and 0.66 red brass. Going from 0.66 to 1.0 wraps back to yellow brass."), + ::anno::display_name("Brass Type Blend"), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(1) + ]], + float sheet_brightness = .9f [[ + ::anno::description("Adjusts the brightness of the reflection."), + ::anno::display_name("Brightness"), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(2) + ]], + float roughness = 0.3f [[ + ::anno::description("Higher values lead to blurrier reflections."), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(3) + ]], + float streaks = 0.2f [[ + ::anno::description("Reveals streaks from the manufacturing process."), + ::anno::display_name("Streaks Weight"), + ::anno::in_group("Appearance", "Main"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(4) + ]], + uniform float scratch_bump_factor = 0.1f [[ + ::anno::description("Determines the degree of bumpiness."), + ::anno::display_name("Bump Factor Streaks"), + ::anno::in_group("Appearance", "Main"), + ::anno::ui_order(5) + ]], + float imperfections_amount = 0.1f [[ + ::anno::description("Balances between a perfectly smooth metal and."), + ::anno::display_name("Imperfections Amount"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(6) + ]], + uniform float impurities_weight_1 = 0.75f [[ + ::anno::description("Adds impurities which have an influence on the reflection."), + ::anno::display_name("Directional Washed Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(7) + ]], + uniform float impurities_weight_2 = 0.43f [[ + ::anno::description("Adds impurities which have an influence on the reflection."), + ::anno::display_name("Noisy Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(8) + ]], + uniform float impurities_weight_3 = 0.1f [[ + ::anno::description("Adds impurities which have an influence on the reflection."), + ::anno::display_name("Soft Splotches Ratio"), + ::anno::in_group("Appearance", "Imperfections"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(9) + ]], + 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(10) + ]], + 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::ui_order(11) + ]], + uniform 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(12) + ]], + 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(13) + ]], + 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"), + ::anno::ui_order(14) + ]], + 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(15) + ]], + uniform bool 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(16) + ]]) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Yellow - New Clean"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet.png"), + ::anno::key_words(string[]("metal", "brass", "reflective", "new", "smooth", "shiny", "sheet", "sanitary", "construction", "design", "yellow", "warm")) +]] + = + let { + bool tmp0 = false; + material_surface tmp1(df::color_custom_curve_layer(gradient_lookup_smooth(texture_2d("./brass_gradients_yellow_gold_red.png", ::tex::gamma_srgb), 0.5f, brass_type_select), color(0.998699009f, 1.f, 1.f), 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, gradient_lookup_smooth(texture_2d("./brass_gradients_yellow_gold_red.png", ::tex::gamma_srgb), 0.5f, brass_type_select), gradient_lookup_smooth(texture_2d("./brass_gradients_yellow_gold_red.png", ::tex::gamma_srgb), 0.5f, brass_type_select), 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), color(0.577580988f, 0.577580988f, 0.577580988f), 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, 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, 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, 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, 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(roundcorners_radius_mm * 0.00100000005f, 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 Brass_Sheet_Yellow_Soft_Splotches(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Yellow - Soft Splotches"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Yellow_Soft_Splotches.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "polished", "new", "sheet", "sanitary", "construction", "scratched", "design", "yellow", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.0f, + sheet_brightness: 0.5f, + roughness: 0.3f, + streaks: 0.0f, + scratch_bump_factor: 0.25f, + imperfections_amount: 0.75f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.01f, + impurities_weight_3: 0.98f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + +// 3 +export material Brass_Sheet_Yellow_Glossy_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Yellow - Glossy Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Yellow_Glossy_Imperfections.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "polished", "new", "sheet", "sanitary", "construction", "design", "yellow", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.0f, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + + +//4 +export material Brass_Sheet_Yellow_Splotchy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Yellow - Splotchy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Yellow_Splotchy_Streaks.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "new", "sheet", "matte", "sanitary", "construction", "design", "yellow", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.0f, + sheet_brightness: 0.85f, + roughness: 0.55f, + 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, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + + +// 5 +export material Brass_Sheet_Yellow_Matte_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Yellow - Matte Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Yellow_Matte_Imperfections.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "matte", "new", "sheet", "sanitary", "construction", "design", "yellow", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.0f, + 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, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + +// 6 +export material Brass_Sheet_Gold_New_Clean(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Gold - New Clean"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Gold_Matte_Imperfections.png"), + ::anno::key_words(string[]("metal", "brass", "reflective", "new", "smooth", "shiny", "sheet", "sanitary", "construction", "design", "gold", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.33f, + sheet_brightness: 0.85f, + roughness: 0.3f, + streaks: 0.2f, + scratch_bump_factor: 0.1f, + imperfections_amount: 0.1f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.43f, + impurities_weight_3: 0.1f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + + +// 7 +export material Brass_Sheet_Gold_Soft_Splotches(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Gold - Soft Splotches"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Gold_Soft_Splotches.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "polished", "new", "sheet", "sanitary", "construction", "scratched", "design", "gold", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.33f, + sheet_brightness: 0.5f, + roughness: 0.3f, + streaks: 0.0f, + scratch_bump_factor: 0.25f, + imperfections_amount: 0.75f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.01f, + impurities_weight_3: 0.98f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + +// 8 +export material Brass_Sheet_Gold_Glossy_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Gold - Glossy Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Gold_Glossy_Imperfections.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "polished", "new", "sheet", "sanitary", "construction", "design", "gold", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.33f, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + + +// 9 +export material Brass_Sheet_Gold_Splotchy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Gold - Splotchy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Gold_Splotchy_Streaks.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "new", "sheet", "matte", "sanitary", "construction", "design", "gold", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.33f, + sheet_brightness: 0.85f, + roughness: 0.55f, + 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, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + + +// 10 +export material Brass_Sheet_Gold_Matte_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Gold - Matte Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Gold_Matte_Imperfections.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "matte", "new", "sheet", "sanitary", "construction", "design", "gold", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.33f, + 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, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + + +// 11 +export material Brass_Sheet_Red_New_Clean(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Red - New Clean"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Red_Matte_Imperfections.png"), + ::anno::key_words(string[]("metal", "brass", "reflective", "new", "smooth", "shiny", "sheet", "sanitary", "construction", "design", "red", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.66f, + sheet_brightness: 0.85f, + roughness: 0.3f, + streaks: 0.2f, + scratch_bump_factor: 0.1f, + imperfections_amount: 0.1f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.43f, + impurities_weight_3: 0.1f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + + +// 12 +export material Brass_Sheet_Red_Soft_Splotches(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Red - Soft Splotches"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Red_Soft_Splotches.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "polished", "new", "sheet", "sanitary", "construction", "scratched", "design", "red", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.66f, + sheet_brightness: 0.5f, + roughness: 0.3f, + streaks: 0.0f, + scratch_bump_factor: 0.25f, + imperfections_amount: 0.75f, + impurities_weight_1: 0.75f, + impurities_weight_2: 0.01f, + impurities_weight_3: 0.98f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + +// 13 +export material Brass_Sheet_Red_Glossy_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Red - Glossy Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Red_Glossy_Imperfections.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "polished", "new", "sheet", "sanitary", "construction", "design", "red", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.66f, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + + +// 14 +export material Brass_Sheet_Red_Splotchy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Red - Splotchy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Red_Splotchy_Streaks.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "new", "sheet", "matte", "sanitary", "construction", "design", "red", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.66f, + sheet_brightness: 0.85f, + roughness: 0.55f, + 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, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + + +// 15 +export material Brass_Sheet_Red_Matte_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Brass Sheet Red - Matte Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Brass_Sheet.Brass_Sheet_Red_Matte_Imperfections.png"), + // scratched, + ::anno::key_words(string[]("metal", "brass", "reflective", "matte", "new", "sheet", "sanitary", "construction", "design", "red", "warm")) +]] = Brass_Sheet( + infinite_tiling: true, + brass_type_select: 0.66f, + 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, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + roundcorners_radius_mm: 1.0f, + across_materials: false, + uv_space_index: 0 +); + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/texture/material_0401/Bronze_Polished.mdl b/texture/material_0401/Bronze_Polished.mdl new file mode 100644 index 0000000000000000000000000000000000000000..7be1ac6c3b355674b279f22a829f76e092cde109 --- /dev/null +++ b/texture/material_0401/Bronze_Polished.mdl @@ -0,0 +1,502 @@ +/****************************************************************************** + * 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 polished bronze material with tweakable surface imperfections"; + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + + +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; +} + +::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 +) +{ + 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); + float c = ::math::cos(rotation); + 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)); +} + +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); +} + + +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); +} + + + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + + + +// 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 ; +} + +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)); +} + + + +color gradient_lookup_smooth(uniform texture_2d gradient_texture, float position, float gradient_select = 0) +{ + // Pixel centers lie in the middle. To properly access the pixel centers of the gradients, apply an offset + float2 texel_coord = float2(position, gradient_select + (0.5f / ::tex::height(gradient_texture))); + return color(::tex::lookup_float3(gradient_texture, texel_coord)); +} + +export material Bronze_Polished( + float polish_film_roughness = 0.06f [[ + ::anno::description("Low values make the polish layer appear shinier while higher values give it more cloudy."), + ::anno::display_name("Polish Film Roughness"), + ::anno::in_group("Appearance", "Polish"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(0) + ]], + float polish_film_strength = 1.f [[ + ::anno::description("The amount of of polish film visible on the metal surface."), + ::anno::display_name("Polish Film Weight"), + ::anno::in_group("Appearance", "Polish"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(1) + ]], + float copper_tint = 0.5f [[ + ::anno::description("Blends between the bronze types. 0.0 yields yellowish bronze, increasing the copper amount fades to reddish bronze."), + ::anno::display_name("Copper Tint"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(2) + ]], + float roughness = 0.04f [[ + ::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(3) + ]], + float roughness_variation = 0.62f [[ + ::anno::description("Adds variation to the shininess of the metal."), + ::anno::display_name("Roughness Variation"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(4) + ]], + float surface_dirt = 0.f [[ + ::anno::description("Adds a thin layer of dirt on the surface which darkens the appearance."), + ::anno::display_name("Surface Dirt"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(5) + ]], + float bump_strength = 0.05f [[ + ::anno::description("Specifies the strength of the bump."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(6) + ]], + 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(7) + ]], + 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), + ::anno::ui_order(8) + ]], + uniform 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(1.0f, 1.0f)), + ::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 in millimeters."), + ::anno::display_name("Round Corner Radius (mm)"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f), + ::anno::ui_order(11) + ]], + uniform bool roundcorners_across_materials = true [[ + ::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) + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced"), + ::anno::hard_range(0, 10), + ::anno::ui_order(13) + ]]) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Bronze Polished - Shiny Polish"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Bronze_Polished.Bronze_Polished.png"), + ::anno::key_words(string[]("metal", "bronze", "reflective", "polished", "new", "smudged", "design", "yellow", "warm")) +]] + = + let { + float copper_amount_remap = copper_tint / 1.5f; + bool tmp0 = false; + material_surface tmp1(::df::weighted_layer(::math::max(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).x * surface_dirt, ::math::min(surface_dirt, float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).y)), ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(color(0.00560500007f, 0.00191999995f, 0.f), color(0.0437350012f, 0.0346640013f, 0.0266149994f), ::base::color_layer_blend, float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).x).tint, 0.f), ::df::custom_curve_layer(0.219999999f, 1.f, 1.09000003f, ::math::pow(float3(endless_texture(texture_2d("./polish_wipe.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.284000009f), 6.12999964f, false)).x, 0.25f) * (polish_film_strength * 0.25f + 0.0500000007f), ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(endless_texture(texture_2d("./polish_wipe.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.284000009f), 6.12999964f, false)).x, 0.919999957f, polish_film_roughness * 0.349999994f), histogram_range(float3(endless_texture(texture_2d("./polish_wipe.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.284000009f), 6.12999964f, false)).x, 0.919999957f, polish_film_roughness * 0.349999994f), color(0.638283014f, 0.638283014f, 0.638283014f), color(0.f, 0.f, 0.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::custom_curve_layer(0.f, 1.f, 5.35999966f, 1.f, ::df::weighted_layer(0.119999997f, ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.799999952f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.799999952f, roughness)), histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.799999952f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.799999952f, roughness)), 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(1.f, ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.50999999f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.50999999f, roughness)), histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.50999999f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.50999999f, roughness)), color(1.f, 1.f, 1.f), color(0.f, 0.f, 0.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), bsdf(), endless_normal(texture_2d("./brass_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.5f, 0.5f, 0.999000013f), 6.12999964f)), ::state::normal()), ::df::tint(gradient_lookup_smooth(texture_2d("./bronze_gradients.png", ::tex::gamma_srgb), ::math::pow(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.399999976f), copper_amount_remap), ::df::weighted_layer(0.119999997f, ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.799999952f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.799999952f, roughness)), histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.799999952f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, 0.170000002f, ::math::lerp(0.399999976f, 0.799999952f, roughness)), 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(1.f, ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.50999999f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.50999999f, roughness)), histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.50999999f, roughness)) * histogram_range(float3(endless_texture(texture_2d("./brass_multi_R_noise_G_scratches_B_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.523999989f, 0.112999998f, 0.591000021f), 6.12999964f, false)).z, ::math::lerp(0.0700000003f, 0.870000005f, roughness_variation), ::math::lerp(0.0399999991f, 0.50999999f, roughness)), color(1.f, 1.f, 1.f), color(0.f, 0.f, 0.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), bsdf(), endless_normal(texture_2d("./brass_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.5f, 0.5f, 0.999000013f), 6.12999964f)), ::state::normal())), ::state::normal()), add_detail_normal(endless_normal(texture_2d("./polish_norm.jpg", ::tex::gamma_linear), 0.600000024f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.5f, 0.5f, 0.999000013f), 6.12999964f), endless_normal(texture_2d("./brass_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.5f, 0.5f, 0.999000013f), 6.12999964f))), endless_normal(texture_2d("./brass_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.5f, ::base::texture_coordinate_uvw, uv_space_index), 6.08999968f, float3(0.5f, 0.5f, 0.999000013f), 6.12999964f)), 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()); + 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 Bronze_Polished_Matte_Polish(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Bronze Polished - Matte Polish"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Bronze_Polished.Bronze_Polished_Matte_Polish.png"), + ::anno::key_words(string[]("metal", "bronze", "reflective", "polished", "new", "smudged", "design", "yellow", "warm")) +]] = Bronze_Polished +( + polish_film_roughness: 0.15f, + polish_film_strength: 1.0f, + copper_tint: 0.5f, + roughness: 0.04f, + roughness_variation: 0.47f, + surface_dirt: 0.0f, + bump_strength: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +// 3 +export material Bronze_Polished_Cloudy_Polish(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Bronze Polished - Cloudy Polish"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Bronze_Polished.Bronze_Polished_Cloudy_Polish.png"), + ::anno::key_words(string[]("metal", "bronze", "reflective", "polished", "cloudy", "new", "smudged", "design", "yellow", "warm")) +]] = Bronze_Polished +( + polish_film_roughness: 0.85f, + polish_film_strength: 1.0f, + copper_tint: 0.5f, + roughness: 0.04f, + roughness_variation: 0.48f, + surface_dirt: 0.31f, + bump_strength: 0.05f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +//4 +export material Bronze_Polished_Shiny_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Bronze Polished - Shiny Worn"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Bronze_Polished.Bronze_Polished_Shiny_Worn.png"), + ::anno::key_words(string[]("metal", "bronze", "reflective", "polished", "old", "worn", "handled", "stained", "dirty", "bumped", "smudged", "design", "yellow", "warm")) +]] = Bronze_Polished +( + polish_film_roughness: 0.5f, + polish_film_strength: 1.0f, + copper_tint: 0.5f, + roughness: 0.04f, + roughness_variation: 0.69f, + surface_dirt: 0.95f, + bump_strength: 0.44f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 1.0f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + diff --git a/texture/material_0412/Copper.mdl b/texture/material_0412/Copper.mdl new file mode 100644 index 0000000000000000000000000000000000000000..25b3ad13ab04f32fd53982d4e4c4c4bdb85d1500 --- /dev/null +++ b/texture/material_0412/Copper.mdl @@ -0,0 +1,378 @@ +/****************************************************************************** + * 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.4; + +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"; + + +::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( + uniform bool infinite_tiling = true [[ + ::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") + ]], + float roughness = 0.1f [[ + ::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) + ]], + float smudges = 0.5f [[ + ::anno::description("Adds blurrier reflection that follow the intensities of the Roughness texture on top."), + ::anno::display_name("Smudges"), + ::anno::in_group("Appearance"), + ::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 radius = 0.03f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("When enabled the round corner effect is applied across different materials."), + ::anno::in_group("Round Corners") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::soft_range(0.f, 360.f), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(.45f, .45f)) + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]], + float3 normal = ::state::normal() [[ + ::anno::description("Modify the surface normal."), + ::anno::display_name("Normal"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Copper"), + ::anno::description("Pure metal material with optional smudges."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper.Copper.png"), + ::anno::key_words(string[]("metal", "pure", "smudged", "design", "reflective", "infinite tiling", "smooth", "conductor", "new", "polished", "copper", "warm")) +]] + = + let { + + // color normal_reflectivity = color(0.9654565f, 0.6899602f, 0.4830392f); + color normal_reflectivity = color(0.93120f, 0.62276f, 0.52235f); // Johnson Christy + 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(1.f, 1.f, 1.f), ::df::microfacet_ggx_smith_bsdf(::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono) * ::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono), ::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono) * ::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), bsdf(), normal), + 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(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_Polished(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Copper Polished"), + ::anno::description("Pure metal material with optional smudges."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper.Copper_Polished.png"), + ::anno::key_words(string[]("metal", "pure", "design", "reflective", "infinite tiling", "smooth", "conductor", "new", "polished", "copper", "warm")) +]] += Copper( + infinite_tiling: true, + roughness: 0.0f, + smudges: 0.0f, + enable_round_corners: false, + radius: 0.03f, + across_materials: false, + texture_translate: float2(0.0f, 0.0f), + texture_rotate: 0.0f, + texture_scale: float2(1.0f, 1.0f), + uv_space_index: 0, + normal: ::state::normal() +); + + +export material Copper_Glossy_Fingerprints(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Copper Glossy Fingerprints"), + ::anno::description("Pure metal material with optional smudges."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper.Copper_Glossy_Fingerprints.png"), + ::anno::key_words(string[]("metal", "pure", "design", "smudged", "reflective", "infinite tiling", "smooth", "conductor", "new", "polished", "copper", "warm")) +]] += Copper( + infinite_tiling: true, + roughness: 0.23f, + smudges: 1.0f, + enable_round_corners: false, + radius: 0.03f, + across_materials: false, + texture_translate: float2(0.0f, 0.0f), + texture_rotate: 0.0f, + texture_scale: float2(1.0f, 1.0f), + uv_space_index: 0, + normal: ::state::normal() +); + + +/* +- Aluminum + 0.911810895428,0.914089043421,0.920152876196 + +- Copper + 0.9654565, 0.6899602, 0.4830392 + +- Chromium + 0.549302, 0.5560554, 0.5542377 + +- Iron + 0.5293683, 0.5132565, 0.4942483 + +- Gold + 1.0,0.722306985258,0.340058756743 + +- Nickel + 0.696691094703,0.640529134605,0.563260231405 + +- Platinum + 0.678533319955,0.639590890417,0.583638675413 + +- Mercury + 0.780978740699,0.779541528985,0.778441417779 + +- Silver + 0.9614253056,0.948983344333,0.918968346466 + +- Titanium + 0.618264052974,0.579396264956,0.542545225681 + +- Tungsten + 0.951001417565,0.815051845356,0.751931718925 + +- Zinc + 0.87467950988,0.868943040106,0.855089634324 + + +*/ diff --git a/texture/material_0413/Copper_Antique_Brushed.mdl b/texture/material_0413/Copper_Antique_Brushed.mdl new file mode 100644 index 0000000000000000000000000000000000000000..418a9aa1ccf36cdba513ad07cbc34db7f9ccf423 --- /dev/null +++ b/texture/material_0413/Copper_Antique_Brushed.mdl @@ -0,0 +1,434 @@ +/****************************************************************************** + * 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.4; + +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"; + + +float contrast_brightness( + float input, + float contrast, + float brightness +) +{ + 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; +} + + +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, 1.0, 1.0), + color color_2 = color(.5, .5, .5), + float weight = 1.0 +) [[ + ::anno::hidden() +]] +{ + return ::base::blend_color_layers( + layers: ::base::color_layer[]( + ::base::color_layer( + layer_color: color_2, + weight: weight, + mode: ::base::color_layer_blend + )), + base: color_1 + ); +} + +export material Copper_Antique_Brushed ( + float reflection_contrast = 0.5 + [[ + ::anno::display_name("Metal Roughness Contrast"), + ::anno::soft_range(float(0.0f), float(1.0f)), + ::anno::description("The contrast of the roughness of the metal material."), + ::anno::in_group("Appearance") + ]], + float reflection_brightness = 0.5 + [[ + ::anno::display_name("Metal Roughness"), + ::anno::soft_range(float(0.0f), float(1.0f)), + ::anno::description("The specular level (intensity) of the material."), + ::anno::in_group("Appearance") + ]], + float smudge_amount = 0.0 + [[ + ::anno::display_name("Metal Smudge"), + ::anno::soft_range(float(0.0f), float(1.0f)), + ::anno::description("The specular level (intensity) of the material."), + ::anno::in_group("Appearance") + ]], + + float patina_amount = float(0.5) + [[ + ::anno::display_name("Patina Amount"), + ::anno::soft_range(float(0.0f), float(1.0f)), + ::anno::description("The specular level (intensity) of the material."), + ::anno::in_group("Appearance") + ]], + float patina_spots_brightness = float(0.5) + [[ + ::anno::display_name("Patina Spots Brightness"), + ::anno::soft_range(float(0.0f), float(1.0f)), + ::anno::description("The specular level (intensity) of the material."), + ::anno::in_group("Appearance") + ]], + uniform float bump_amount = 1.0 + [[ + ::anno::display_name("Bump Amount"), + ::anno::description("Specifies the intensity of the normal texture."), + ::anno::in_group("Normal") + ]], + + // 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.f + [[ + ::anno::display_name("Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Adjustments") + ]], + uniform float2 texture_scale = 1.0f + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Adjustments") + ]] + +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Antique copper"), + ::anno::description("A copper material with an antique look, bumps and small impurities."), + ::anno::key_words(string[]("design", "metal", "copper", "antique", "oxidized", "aged", "bumped", "brushed", "scratched", "patina", "matte")), + ::anno::thumbnail("./.thumbs/Copper_Antique_Brushed.Copper_Antique_Brushed.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = let { + ::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(1.0f/texture_scale.x, 1.0f/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 patina_uvw = ::base::transform_coordinate( + transform: rotation_translation_scale( + scaling: float3(1.0f/(texture_scale.x*2.0f), 1.0f/(texture_scale.y*2.0), 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 + ); + + // Diffuse Color lookup + color diffuse_color = ::base::file_texture( + texture: texture_2d("./brushed_antique_copper_diff.jpg" , ::tex::gamma_srgb), + 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 + ).tint; + + color patina_color = ::base::file_texture( + texture: texture_2d("./brushed_antique_copper_patina_diff.jpg" , ::tex::gamma_srgb), + color_offset: color(0.0, 0.0, 0.0), + color_scale: color(patina_spots_brightness), + mono_source: ::base::mono_average, + uvw: patina_uvw, + clip: false + ).tint; + + ::base::texture_return spots_weight_map = ::base::file_texture( + texture: texture_2d("./brushed_antique_copper_spots_mask.jpg" , ::tex::gamma_linear), + 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 + ); + + color final_diffuse_color = blend_colors(diffuse_color, patina_color, blend_colors(color(0.0), spots_weight_map.tint, patina_amount).mono).tint; + + float roughness_lookup = contrast_brightness( + ::tex::lookup_float( + tex: texture_2d("./brushed_antique_copper_rough.jpg" , ::tex::gamma_linear), + coord: float2(uvw.position.x, uvw.position.y)), + reflection_contrast, + reflection_brightness + ) + ::base::file_texture( + texture: texture_2d("./brushed_antique_copper_smudge_map.jpg" , ::tex::gamma_linear), + color_offset: color(0.0, 0.0, 0.0), + color_scale: color(smudge_amount * .5f), + mono_source: ::base::mono_average, + uvw: transformed_uvw, + clip: false + ).mono; + + + // Specular Level lookup + float specular_level = ::base::file_texture( + texture: texture_2d("./brushed_antique_copper_ref.jpg" , ::tex::gamma_linear), + 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; + + + // Metallic compositing + float metallic = ::math::clamp(0.0, 1.0, blend_colors(color(1.0), blend_colors(color(1.0), color(0.0), spots_weight_map.mono).tint, patina_amount).mono - .15f); + + + bsdf diffuse_bsdf = ::df::diffuse_reflection_bsdf( + roughness: 0.0f, //assign the user controllable + tint: final_diffuse_color //values to the bsdf + ); + + bsdf ggx_smith_bsdf = ::df::microfacet_ggx_smith_bsdf( + roughness_u: roughness_lookup*roughness_lookup, + roughness_v: roughness_lookup*roughness_lookup, + 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_level, + 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: final_diffuse_color, + grazing_tint: color(1.0, 1.0, 1.0), + exponent: 3.0f, + base: ggx_smith_bsdf + ); + + bsdf final_bsdf = ::df::weighted_layer( + base: custom_curve_layer_bsdf, + weight: metallic, + layer: directional_factor_bsdf + ); + + // Normal lookup + float3 bump = ::base::tangent_space_normal_texture( + texture: texture_2d("./brushed_antique_copper_norm.jpg" , ::tex::gamma_linear), + factor: bump_amount, + uvw: transformed_uvw, + flip_tangent_u: false, + flip_tangent_v: false + ); + + +} in material ( + surface: material_surface( + scattering: final_bsdf + + ), + geometry: material_geometry( + normal: bump + ) +); + + +// 2 Shiny Polished +export material Copper_Antique_Brushed_Shiny(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Antique copper - Shiny Polished"), + ::anno::description("A copper material with an antique look, bumps and small impurities."), + ::anno::key_words(string[]("design", "metal", "copper", "antique", "oxidized", "aged", "bumped", "brushed", "polished", "scratched", "patina", "matte")), + ::anno::thumbnail("./.thumbs/Copper_Antique_Brushed.Copper_Antique_Brushed_Shiny.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Copper_Antique_Brushed( + reflection_contrast: 0.2f, + reflection_brightness: 0.35f, + smudge_amount: 0.0f, + patina_amount: 0.0f, + patina_spots_brightness: 0.5, + bump_amount: 0.7 +); + + + +// 3 Shiny Smudged +export material Copper_Antique_Brushed_Shiny_Smudged(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Antique copper - Shiny Smudged"), + ::anno::description("A copper material with an antique look, bumps and small impurities."), + ::anno::key_words(string[]("design", "metal", "copper", "antique", "oxidized", "aged", "bumped", "brushed", "polished", "scratched", "patina", "shiny", "glossy")), + ::anno::thumbnail("./.thumbs/Copper_Antique_Brushed.Copper_Antique_Brushed_Shiny_Smudged.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Copper_Antique_Brushed( + reflection_contrast: 0.2f, + reflection_brightness: 0.35f, + smudge_amount: 1.0f, + patina_amount: 0.0f, + patina_spots_brightness: 0.5, + bump_amount: 0.6 +); + + +// 4 Worn Matte +export material Copper_Antique_Brushed_Worn_Matte(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Antique copper - Worn Matte"), + ::anno::description("A copper material with an antique look, bumps and small impurities."), + ::anno::key_words(string[]("design", "metal", "copper", "antique", "oxidized", "aged", "bumped", "brushed", "smudge", "smudges", "smudged", "scratched", "patina", "matte")), + ::anno::thumbnail("./.thumbs/Copper_Antique_Brushed.Copper_Antique_Brushed_Worn_Matte.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Copper_Antique_Brushed( + reflection_contrast: 0.65f, + reflection_brightness: 0.55f, + smudge_amount: 0.65f, + patina_amount: 0.5f, + patina_spots_brightness: 0.5, + bump_amount: 1.0 +); + +// 5 Decayed Matte +export material Copper_Antique_Brushed_Decayed_Matte(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Antique copper - Decayed Matte"), + ::anno::description("A copper material with an antique look, bumps and small impurities."), + ::anno::key_words(string[]("design", "metal", "copper", "antique", "oxidized", "aged", "bumped", "brushed", "smudge", "smudges", "smudged", "scratched", "decayed", "patina", "matte")), + ::anno::thumbnail("./.thumbs/Copper_Antique_Brushed.Copper_Antique_Brushed_Decayed_Matte.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Copper_Antique_Brushed( + reflection_contrast: 0.4f, + reflection_brightness: 0.45f, + smudge_amount: 0.8f, + patina_amount: 0.4f, + patina_spots_brightness: 0.3, + bump_amount: 0.5 +); + +// 6 Shiny Matte Smudged +export material Copper_Antique_Brushed_Shiny_Matte_Smudged(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Antique copper - Shiny Matte Smudged"), + ::anno::description("A copper material with an antique look, bumps and small impurities."), + ::anno::key_words(string[]("design", "metal", "copper", "antique", "oxidized", "aged", "bumped", "brushed", "smudge", "smudges", "smudged", "scratched", "decayed", "patina", "shiny", "matte")), + ::anno::thumbnail("./.thumbs/Copper_Antique_Brushed.Copper_Antique_Brushed_Shiny_Matte_Smudged.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Copper_Antique_Brushed( + reflection_contrast: 0.5f, + reflection_brightness: 0.7f, + smudge_amount: 0.0f, + patina_amount: 0.8f, + patina_spots_brightness: 0.5, + bump_amount: 1.0 +); diff --git a/texture/material_0415/Copper_Brushed.mdl b/texture/material_0415/Copper_Brushed.mdl new file mode 100644 index 0000000000000000000000000000000000000000..786520333516cdc81ee2d6a02716ad089273629c --- /dev/null +++ b/texture/material_0415/Copper_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 Copper_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 Copper - Strong Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Brushed.Copper_Brushed.png"), + ::anno::key_words(string[]("aec", "metal", "copper", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] + = + 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(::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 Copper_Brushed_Light_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Copper - Light Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Brushed.Copper_Brushed_Light_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "copper", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] + = Copper_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 Copper_Brushed_Medium_Light_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Copper - Medium Light Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Brushed.Copper_Brushed_Medium_Light_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "copper", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Copper_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 Copper_Brushed_Medium_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Copper - Medium Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Brushed.Copper_Brushed_Medium_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "copper", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Copper_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 Copper_Brushed_Very_Strong_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Copper - Very Strong Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Copper_Brushed.Copper_Brushed_Very_Strong_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "copper", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Copper_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/texture/material_0423/Diamond_Plate_Quintuple_Tear.mdl b/texture/material_0423/Diamond_Plate_Quintuple_Tear.mdl new file mode 100644 index 0000000000000000000000000000000000000000..cf1f016dc013248ffeb90c283bee79f5cd654b8e --- /dev/null +++ b/texture/material_0423/Diamond_Plate_Quintuple_Tear.mdl @@ -0,0 +1,544 @@ +/****************************************************************************** + * 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_Quintuple_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 5x - 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_Quintuple_Tear.Diamond_Plate_Quintuple_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("./fivetear_shape_multi_R_ao_G_height_B_opacity.jpg", ::tex::gamma_linear); + texture_2d shape_norm = texture_2d("./fivetear_shape_norm.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_Quintuple_Tear_Glossy(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 5x - 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_Quintuple_Tear.Diamond_Plate_Quintuple_Tear_Glossy.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Quintuple_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_Quintuple_Tear_Shiny_Tops(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 5x - 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_Quintuple_Tear.Diamond_Plate_Quintuple_Tear_Shiny_Tops.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Quintuple_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_Quintuple_Tear_Matte_Aged(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 5x - 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_Quintuple_Tear.Diamond_Plate_Quintuple_Tear_Matte_Aged.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Quintuple_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_Quintuple_Tear_Dirty_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 5x - 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", "shiny", "gray", "worn", "old", "dirty", "decayed")), + ::anno::thumbnail("./.thumbs/Diamond_Plate_Quintuple_Tear.Diamond_Plate_Quintuple_Tear_Dirty_Worn.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Quintuple_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/texture/material_0424/Diamond_Plate_Single_Tear.mdl b/texture/material_0424/Diamond_Plate_Single_Tear.mdl new file mode 100644 index 0000000000000000000000000000000000000000..9c51f40046b468776e11e1e7a9234d54b8371315 --- /dev/null +++ b/texture/material_0424/Diamond_Plate_Single_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_Single_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 1x - 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_Single_Tear.Diamond_Plate_Single_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("./tear_multi_ao_height.png", ::tex::gamma_linear); + texture_2d shape_norm = texture_2d("./tear_norm.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_Single_Tear_Glossy(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 1x - 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_Single_Tear.Diamond_Plate_Single_Tear_Glossy.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Single_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_Single_Tear_Shiny_Tops(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 1x - 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_Single_Tear.Diamond_Plate_Single_Tear_Shiny_Tops.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Single_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_Single_Tear_Matte_Aged(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 1x - 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_Single_Tear.Diamond_Plate_Single_Tear_Matte_Aged.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Single_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_Single_Tear_Dirty_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Diamond Plate 1x - 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_Single_Tear.Diamond_Plate_Single_Tear_Dirty_Worn.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Diamond_Plate_Single_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/texture/material_0438/Iron_Knurling.mdl b/texture/material_0438/Iron_Knurling.mdl new file mode 100644 index 0000000000000000000000000000000000000000..39c301d189bb17aab037b42dc0b993f454306706 --- /dev/null +++ b/texture/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/texture/material_0441/Iron_Sheet.mdl b/texture/material_0441/Iron_Sheet.mdl new file mode 100644 index 0000000000000000000000000000000000000000..78021b52863673f86487792c72e81dbd024b1d27 --- /dev/null +++ b/texture/material_0441/Iron_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 = "Iron sheet metal material with adjustable imperfections."; +const string DESCRIPTION_PUNCH = "Punched Iron 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 Iron_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 Iron - New Clean"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.5293683f, 0.5132565f, 0.4942483f); + 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.2f), ::math::lerp(0.f, 0.3f, streaks))), ::df::weighted_layer(0.07f, ::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 Iron_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 = 1.0f + [[ + ::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) + ]], + + + +// Iron 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("Iron Sheet - Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Punched.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "circular", "neutral")) +]] = let +{ + material base_mat = Iron_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 + ) +); + + +// ---------------------- Iron Sheet Material Presets ---------------------- +export material Iron_Sheet_Soft_Splotches(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Iron - Soft Splotches"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Soft_Splotches.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral", "gray")) +]] += Iron_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 Iron_Sheet_Matte_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Iron - Matte Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Matte_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "imperfections", "new", "matte", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]]= Iron_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 Iron_Sheet_Glossy_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Iron - Glossy Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Glossy_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] += Iron_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 Iron_Sheet_Splotchy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Iron - Splotchy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Splotchy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]]= Iron_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 Iron_Sheet_Glossy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Iron - Glossy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Glossy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] += Iron_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 Iron Sheet Material Presets -------------------- +export material Iron_Sheet_Punched_Small_Circular(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Iron Sheet - Small Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Punched_Small_Circular.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "circular", "neutral")) +]] += Iron_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, + + // Iron Sheet Parameters + 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 Iron_Sheet_Punched_Hexagonal(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Iron Sheet - Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Punched_Hexagonal.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "hexagonal", "neutral")) +]] += Iron_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, + + // Iron Sheet Parameters + 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 Iron_Sheet_Punched_Hexagonal_Small(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Iron Sheet - Small Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Punched_Hexagonal_Small.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "hexagonal", "neutral")) +]] += Iron_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, + + // Iron Sheet Parameters + 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 Iron_Sheet_Punched_Square(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Iron Sheet - Square Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Punched_Square.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "square", "neutral")) +]] += Iron_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, + + // Iron Sheet Parameters + 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 Iron_Sheet_Punched_Line(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Iron Sheet - Line Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Punched_Line.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "line", "neutral")) +]] += Iron_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, + + // Iron Sheet Parameters + 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 Iron_Sheet_Punched_Cross(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Iron Sheet - Cross Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Punched_Cross.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "cross", "neutral")) +]] += Iron_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, + + // Iron Sheet Parameters + 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 Iron_Sheet_Punched_Rhombus(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Iron Sheet - Rhombus Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Punched_Rhombus.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "rhombus", "neutral")) +]] += Iron_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, + + // Iron Sheet Parameters + 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 Iron_Sheet_Punched_Triangle(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Iron Sheet - Triangle Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Punched_Triangle.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "triangle", "neutral")) +]] += Iron_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, + + // Iron Sheet Parameters + 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 Iron_Sheet_Punched_Star(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Iron Sheet - Star Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Iron_Sheet.Iron_Sheet_Punched_Star.png"), + ::anno::key_words(string[]("metal", "sheet", "iron", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "star", "neutral")) +]] += Iron_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, + + // Iron Sheet Parameters + 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 +); \ No newline at end of file diff --git a/texture/material_0443/Metal_Mesh_Weave_01.mdl b/texture/material_0443/Metal_Mesh_Weave_01.mdl new file mode 100644 index 0000000000000000000000000000000000000000..80e72d63feb090102b9d45df7827a5f4d5fd9167 --- /dev/null +++ b/texture/material_0443/Metal_Mesh_Weave_01.mdl @@ -0,0 +1,532 @@ +/****************************************************************************** + * 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.4; + +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() +]] +{ + 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) +{ + 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() +]] +{ + // 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)); +} + + +export material Metal_Mesh_Weave_01 ( + color weave_color = color(0.93f,0.93f,0.93f) + [[ + ::anno::display_name("Metal Weave Color"), + ::anno::description("Specifies the base color of the material."), + ::anno::in_group("Appearance") + ]], + color rod_color = color(0.93f,0.93f,0.63f) + [[ + ::anno::display_name("Metal Bar Color"), + ::anno::description("Specifies the base color of the material."), + ::anno::in_group("Appearance") + ]], + float roughness_amount = float(0.6f) + [[ + ::anno::display_name("Brushing Roughness Variation"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::description("The Roughness of the material."), + ::anno::in_group("Appearance") + ]], + float rod_roughness = float(0.0f) + [[ + ::anno::display_name("Metal Bar Roughness"), + ::anno::hard_range(0.0f, 1.0f), + ::anno::description("The Roughness of the material."), + ::anno::in_group("Appearance") + ]], + float AO_weight = 0.7f + [[ + ::anno::display_name("AO Weight"), + ::anno::description("The influence of the precalculated ambient occlusion."), + ::anno::hard_range(0.0f, 1.0f), + ::anno::in_group("Appearance") + ]], + // float metallic = float(1.0) + // [[ + // ::anno::display_name("Metallic"), + // ::anno::soft_range(float(0.0f), float(1.0f)), + // ::anno::description("The metallic amount of the material.") + // ]], + uniform float bump_amount_1 = 1.0f + [[ + ::anno::display_name("Weaving Bump Amount"), + ::anno::description("Specifies the intensity of the normal texture."), + ::anno::in_group("Appearance") + ]], + uniform float bump_amount_2 = 0.5f + [[ + ::anno::display_name("Brushing 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.f + [[ + ::anno::display_name("Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Adjustments") + ]], + uniform float2 texture_scale = 1.0f + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Adjustments") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metalweave 01"), + ::anno::description("A woven brushed metal material."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("design", "metal", "mesh", "brushed", "weave", "woven", "decorative", "fancy", "bumped", "new", "multicolor")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_01.Metal_Mesh_Weave_01.png"), + ::anno::hidden() +]] = let { + float specular = 0.5; + float metallic = 1.0; + float rod_roughness_mapped = rod_roughness * 0.5; + // Textures + texture_2d weave_colormask_tex = texture_2d("./metalweave_01_colormask.png", ::tex::gamma_srgb); + texture_2d weave_roughness_tex = texture_2d("./metalweave_01_rough2.jpg", ::tex::gamma_linear); + texture_2d weave_normal_tex = texture_2d("./metalweave_01_norm.jpg", ::tex::gamma_linear); + texture_2d brushing_normal_tex = texture_2d("./metalweave_01_brushing_norm.jpg", ::tex::gamma_linear); + texture_2d AO_tex = texture_2d("./metalweave_01_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(12.f/(texture_scale.x), 12.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 transformed_uvw_roughness = ::base::transform_coordinate( + transform: float4x4(0.5 , 0.0 , 0.0, 0.0, + 0.0 , 0.5 , 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: 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: transformed_uvw, + clip: false + ).tint; + + float weave_roughness = ::base::file_texture( + texture: weave_roughness_tex, + color_offset: color(0.05, 0.05, 0.05), + color_scale: color(roughness_amount), + mono_source: ::base::mono_average, + uvw: transformed_uvw_roughness, + clip: false + ).mono; + + float roughness = ::math::lerp(weave_roughness, rod_roughness_mapped, weave_colormask_lookup); + + color base_color = multiply_colors(blend_colors(weave_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.08f * specular, + grazing_reflectivity: 1.0f, + exponent: 3.0f, + weight: 1.0f, + 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 final_bsdf = ::df::weighted_layer( + base: custom_curve_layer_bsdf, + weight: metallic, + layer: directional_factor_bsdf + ); + + // Normal lookup + float3 the_normal = ::base::tangent_space_normal_texture( + texture: weave_normal_tex, + factor: bump_amount_1, + uvw: transformed_uvw, + flip_tangent_u: false, + flip_tangent_v: false + ); + + // Brushing lookup + float3 brushing_normal = ::math::lerp(::base::tangent_space_normal_texture( + texture: brushing_normal_tex, + factor: bump_amount_2, + uvw: transformed_uvw, + flip_tangent_u: false, + flip_tangent_v: false), + ::state::normal(), + weave_colormask_lookup); + + + float3 final_normal = add_detail_normal(the_normal, brushing_normal); + +} in material ( + surface: material_surface( + scattering: final_bsdf + ), + geometry: material_geometry( + normal: final_normal + ) +); + + + +// 1 Steel Brass +export material Woven_Metal_01_Steel_Brass(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 01 - Steel Brass"), + ::anno::description("Brushed woven metal bands forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "brushed", "weave", "woven", "decorative", "fancy", "bumped", "new", "multicolor")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_01.Woven_Metal_01_Steel_Brass.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Metal_Mesh_Weave_01( + weave_color: color(0.566810f, 0.566810f, 0.566810f), + rod_color: color(0.645555f, 0.344026f, 0.084642f), + roughness_amount: 1.0f, + rod_roughness: 0.0f, + AO_weight: 0.7f, + bump_amount_1: 1.0f, + bump_amount_2: 0.5f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f +); + + +// 2 Pure Steel +export material Woven_Metal_01_Pure_Steel(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 01 - Pure Steel"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "steel", "brushed", "weave", "woven", "decorative", "fancy", "bumped", "new")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_01.Woven_Metal_01_Pure_Steel.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Metal_Mesh_Weave_01( + weave_color: color(0.566810f, 0.566810f, 0.566810f), + rod_color: color(0.566810f, 0.566810f, 0.566810f), + roughness_amount: 1.0f, + rod_roughness: 0.0f, + AO_weight: 0.7f, + bump_amount_1: 1.0f, + bump_amount_2: 0.5f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f +); + + +// 3 Golden Steel +export material Woven_Metal_01_Golden_Steel(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 01 - Golden Steel"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "steel", "gold", "golden", "brushed", "weave", "woven", "decorative", "fancy", "bumped", "new", "multicolor")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_01.Woven_Metal_01_Golden_Steel.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Metal_Mesh_Weave_01( + weave_color: color(0.585973f, 0.420508f, 0.116576f), + rod_color: color(0.592438f), + roughness_amount: 1.0f, + rod_roughness: 0.0f, + AO_weight: 0.7f, + bump_amount_1: 1.0f, + bump_amount_2: 0.5f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f +); + + +// 4 Warm Golden Steel +export material Woven_Metal_01_Warmgolden_Steel(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 01 - Warm Golden Steel"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "gold", "steel", "brushed", "weave", "woven", "decorative", "fancy", "bumped", "new", "multicolor")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_01.Woven_Metal_01_Warmgolden_Steel.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Metal_Mesh_Weave_01( + weave_color: color(0.737205f, 0.436813f, 0.127530f), + rod_color: color(0.592438f), + roughness_amount: 1.0f, + rod_roughness: 0.0f, + AO_weight: 0.7f, + bump_amount_1: 1.0f, + bump_amount_2: 0.5f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f +); + + +// 5 Copper Steel +export material Woven_Metal_01_Copper_Steel(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 01 - Copper Steel"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "copper", "steel", "brushed", "weave", "woven", "decorative", "fancy", "bumped", "new", "multicolor")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_01.Woven_Metal_01_Copper_Steel.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Metal_Mesh_Weave_01( + weave_color: color(0.812241f, 0.302125f, 0.136099f), + rod_color: color(0.592438f), + roughness_amount: 1.0f, + rod_roughness: 0.0f, + AO_weight: 0.7f, + bump_amount_1: 1.0f, + bump_amount_2: 0.5f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f +); + + +// 6 Faint Copper +export material Woven_Metal_01_Faint_Copper(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 01 - Faint Copper"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "copper", "steel", "brushed", "weave", "woven", "decorative", "fancy", "bumped", "new", "multicolor")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_01.Woven_Metal_01_Faint_Copper.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Metal_Mesh_Weave_01( + weave_color: color(0.781751f, 0.547994f, 0.388910f), + rod_color: color(0.592438f), + roughness_amount: 1.0f, + rod_roughness: 0.85f, + AO_weight: 0.7f, + bump_amount_1: 1.0f, + bump_amount_2: 0.5f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f +); diff --git a/texture/material_0444/Metal_Mesh_Weave_02.mdl b/texture/material_0444/Metal_Mesh_Weave_02.mdl new file mode 100644 index 0000000000000000000000000000000000000000..946b665b8796c790d244f69a476add08da6b054a --- /dev/null +++ b/texture/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/texture/material_0445/Metal_Mesh_Weave_03.mdl b/texture/material_0445/Metal_Mesh_Weave_03.mdl new file mode 100644 index 0000000000000000000000000000000000000000..6ac9a8aa3bc35530997fa55f9caad2e63339f9b3 --- /dev/null +++ b/texture/material_0445/Metal_Mesh_Weave_03.mdl @@ -0,0 +1,699 @@ +/****************************************************************************** + * 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.4; + +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() +]] +{ + 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) +{ + 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() +]] +{ + // 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)); +} + + +export material Metal_Mesh_Weave_03 ( + color weave_color = color(0.505432, 0.505432, 0.505432) + [[ + ::anno::display_name("Metal Weave Color"), + ::anno::description("Specifies the base color of the material."), + ::anno::in_group("Appearance") + ]], + float metalweave_roughness = 0.5 + [[ + ::anno::display_name("Weave Roughness"), + ::anno::soft_range(float(0.0f), float(1.0f)), + ::anno::description("The overall roughness of the metal weave."), + ::anno::in_group("Appearance") + ]], + float metalweave_roughness_variation = float(0.5) + [[ + ::anno::display_name("Weave Roughness Variation"), + ::anno::hard_range(float(0.0f), float(1.0f)), + ::anno::description("Adds additional variation to the roughness of the metal material."), + ::anno::in_group("Appearance") + ]], + float surface_impurities = 0.0 + [[ + ::anno::display_name("Weave Dirt"), + ::anno::hard_range(float(0.0f), float(1.0f)), + ::anno::description("The metallic amount of the material."), + ::anno::in_group("Appearance") + ]], + color rod_color = color(0.363604, 0.363604, 0.363604) + [[ + ::anno::display_name("Rod Color"), + ::anno::description("Specifies the base color of the material."), + ::anno::in_group("Appearance") + ]], + float rod_roughness = float(0.0) + [[ + ::anno::display_name("Rod Roughness"), + ::anno::hard_range(float(0.0f), float(1.0f)), + ::anno::description("The roughness of the metal rod."), + ::anno::in_group("Appearance") + ]], + float AO_weight = 0.95 + [[ + ::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_2 = 0.7 + [[ + ::anno::display_name("Surface Bumps"), + ::anno::soft_range(float(0.0f), float(1.0f)), + ::anno::description("The amount of small surface impurities."), + ::anno::in_group("Normal") + ]], + uniform float bump_amount_3 = 0.7 + [[ + ::anno::display_name("Vertical Scratches Amount"), + ::anno::soft_range(float(0.0f), float(1.0f)), + ::anno::description("The amount vertical surface scratches on the metal."), + ::anno::in_group("Normal") + ]], + uniform float bump_amount_1 = 2.4 + [[ + ::anno::display_name("Weaving Bump Amount"), + ::anno::soft_range(float(0.0f), float(1.0f)), + ::anno::description("The strength of the normal for the weave."), + ::anno::in_group("Normal") + ]], + + // 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.f + [[ + ::anno::display_name("Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::in_group("Adjustments") + ]], + uniform float2 texture_scale = 1.0f + [[ + ::anno::display_name("Scale"), + ::anno::description("Larger numbers increase the size."), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Adjustments") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metalweave 03"), + ::anno::description("A woven brushed metal material."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "bumped", "new", "multimaterial")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_03.Metal_Mesh_Weave_03.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] = let { + + // Value remapping - keeps material interface parameters withing usable 0 ... 1 range + float specular = 0.5; + float rod_roughness_mapped = rod_roughness * 0.5; + float bump_amount_2_mapped = bump_amount_2 * 0.075; + float metalweave_roughness_mapped = metalweave_roughness * 0.3; + float metalweave_roughness_variation_mapped = metalweave_roughness_variation * 0.4; + float bump_amount_3_mapped = bump_amount_3 * 0.25; + + // Textures + texture_2d weave_colormask_tex = texture_2d("./metalweave_03_color_mask.png", ::tex::gamma_srgb); + texture_2d weave_roughness_tex = texture_2d("./metalweave_03_rough.jpg", ::tex::gamma_linear); + texture_2d weave_normal_tex = texture_2d("./metalweave_03_norm.jpg", ::tex::gamma_linear); + texture_2d weave_metal_tex = texture_2d("./metalweave_03_metal.jpg", ::tex::gamma_linear); + texture_2d detail_normal_tex = texture_2d("./metalweave_03_detail_norm.jpg", ::tex::gamma_linear); + texture_2d detail_normal_2_tex = texture_2d("./metalweave_03_detail_scratches_norm.jpg", ::tex::gamma_linear); + texture_2d AO_tex = texture_2d("./metalweave_03_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(10.f/texture_scale.x, 10.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 transformed_uvw_metalness = ::base::transform_coordinate( + transform: float4x4(0.5 , 0.0 , 0.0, 0.0, + 0.0 , 0.5 , 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 transformed_uvw_colormap = ::base::transform_coordinate( + transform: float4x4(1.0 , 0.0 , 0.0, 0.0, + 0.0 , 5.0 , 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 transformed_uvw_detailnormal = ::base::transform_coordinate( + transform: float4x4(2.0 , 0.0 , 0.0, 0.0, + 0.0 , 2.0 , 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: transformed_uvw_colormap, + 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: transformed_uvw, + clip: false + ).tint; + + + float metallic = ::base::file_texture( + texture: weave_metal_tex, + color_offset: color(1.0 - surface_impurities), + color_scale: color(surface_impurities), + mono_source: ::base::mono_average, + uvw: transformed_uvw_metalness, + clip: false + ).mono; + + float weave_roughness_variation_lookup = ::base::file_texture( + texture: weave_roughness_tex, + color_offset: color(0.0), + color_scale: color(metalweave_roughness_variation_mapped), + mono_source: ::base::mono_average, + uvw: transformed_uvw, + clip: false + ).mono; + + //float roughness = weave_roughness; + float roughness = ::math::lerp(weave_roughness_variation_lookup + metalweave_roughness_mapped, rod_roughness_mapped, weave_colormask_lookup); + + + //color base_color = blend_colors(weave_color, rod_color, weave_colormask_lookup).tint; + color base_color = multiply_colors(blend_colors(weave_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: 0.1, + 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: transformed_uvw, + flip_tangent_u: false, + flip_tangent_v: false + ); + + // Detail lookup + float3 detail_normal = ::math::lerp(::base::tangent_space_normal_texture( + texture: detail_normal_tex, + factor: bump_amount_2_mapped, + uvw: transformed_uvw_detailnormal, + flip_tangent_u: false, + flip_tangent_v: false), + ::state::normal(), + weave_colormask_lookup); + // Detail lookup 2 + float3 detail_normal_2 = ::math::lerp(::base::tangent_space_normal_texture( + texture: detail_normal_2_tex, + factor: bump_amount_3_mapped, + uvw: transformed_uvw, + flip_tangent_u: false, + flip_tangent_v: false), + ::state::normal(), + weave_colormask_lookup); + + + float3 pre_final_normal = add_detail_normal(the_normal, detail_normal); + float3 final_normal = add_detail_normal(pre_final_normal, detail_normal_2); + +} in material ( + surface: material_surface( + scattering: final_bsdf + ), + geometry: material_geometry( + normal: final_normal + ) +); + + + +// 1 Steel Polished +export material Woven_Metal_03_Steel_Polished(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 03 - Steel Polished"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "bumped", "new", "polished", "multimaterial", "reflective", "steel", "gray")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_03.Woven_Metal_03_Steel_Polished.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_03( + weave_color: color(0.505432), + metalweave_roughness: 0.3, + metalweave_roughness_variation: 0.5, + surface_impurities: 0.0, + rod_color: color(0.363604), + rod_roughness: 0.0, + AO_weight: 0.95, + bump_amount_2: 0.3, + bump_amount_3: 0.2, + bump_amount_1: 2.4, + texture_translate: 0.0f, + texture_rotate: 0.0, + texture_scale: 1.0f +); + +// 2 Steel Glossy +export material Woven_Metal_03_Steel_Glossy(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 03 - Steel Glossy"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "bumped", "new", "multimaterial", "glossy", "steel", "gray")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_03.Woven_Metal_03_Steel_Glossy.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_03( + weave_color: color(0.505432), + metalweave_roughness: 1.0, + metalweave_roughness_variation: 0.25, + surface_impurities: 0.0, + rod_color: color(0.363604), + rod_roughness: 0.3, + AO_weight: 0.95, + bump_amount_2: 0.7, + bump_amount_3: 0.3, + bump_amount_1: 2.4, + texture_translate: 0.0f, + texture_rotate: 0.0, + texture_scale: 1.0f +); + + +// 3 Steel Worn +export material Woven_Metal_03_Steel_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 03 - Steel Worn"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "bumped", "worn", "multimaterial", "glossy", "steel", "gray")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_03.Woven_Metal_03_Steel_Worn.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_03( + weave_color: color(0.505432), + metalweave_roughness: 0.5, + metalweave_roughness_variation: 1.0, + surface_impurities: 1.0, + rod_color: color(0.363604), + rod_roughness: 0.5, + AO_weight: 0.95, + bump_amount_2: 0.7, + bump_amount_3: 0.8, + bump_amount_1: 2.4, + texture_translate: 0.0f, + texture_rotate: 0.0, + texture_scale: 1.0f +); + + +// 4 Copper Polished +export material Woven_Metal_03_Copper_Polished(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 03 - Copper Polished"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "bumped", "new", "multimaterial", "polished", "copper", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_03.Woven_Metal_03_Copper_Polished.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_03( + weave_color: color(0.812241, 0.302125, 0.136099), + metalweave_roughness: 0.3, + metalweave_roughness_variation: 0.5, + surface_impurities: 0.0, + rod_color: color(0.363604), + rod_roughness: 0.1, + AO_weight: 0.95, + bump_amount_2: 0.3, + bump_amount_3: 0.2, + bump_amount_1: 2.4, + texture_translate: 0.0f, + texture_rotate: 0.0, + texture_scale: 1.0f +); + +// 5 Copper Glossy +export material Woven_Metal_03_Copper_Glossy(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 03 - Copper Glossy"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "bumped", "new", "multimaterial", "glossy", "copper", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_03.Woven_Metal_03_Copper_Glossy.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_03( + weave_color: color(0.812241, 0.302125, 0.136099), + metalweave_roughness: 1.0, + metalweave_roughness_variation: 0.25, + surface_impurities: 0.0, + rod_color: color(0.311180, 0.113921, 0.049433), + rod_roughness: 0.3, + AO_weight: 0.95, + bump_amount_2: 0.7, + bump_amount_3: 0.3, + bump_amount_1: 2.4, + texture_translate: 0.0f, + texture_rotate: 0.0, + texture_scale: 1.0f +); + + +// 6 Copper Worn +export material Woven_Metal_03_Copper_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 03 - Copper Worn"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "bumped", "worn", "multimaterial", "glossy", "copper", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_03.Woven_Metal_03_Copper_Worn.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_03( + weave_color: color(0.812241, 0.302125, 0.136099), + metalweave_roughness: 0.5, + metalweave_roughness_variation: 1.0, + surface_impurities: 1.0, + rod_color: color(0.311180, 0.113921, 0.049433), + rod_roughness: 0.5, + AO_weight: 0.95, + bump_amount_2: 0.7, + bump_amount_3: 0.8, + bump_amount_1: 2.4, + texture_translate: 0.0f, + texture_rotate: 0.0, + texture_scale: 1.0f +); + +/////////////// + +// 7 Brass Polished +export material Woven_Metal_03_Brass_Polished(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 03 - Brass Polished"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "bumped", "new", "multimaterial", "polished", "reflective", "brass", "yellow", "gold", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_03.Woven_Metal_03_Brass_Polished.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_03( + weave_color: color(0.652370, 0.464741, 0.163641), + metalweave_roughness: 0.3, + metalweave_roughness_variation: 0.5, + surface_impurities: 0.0, + rod_color: color(0.363604), + rod_roughness: 0.1, + AO_weight: 0.95, + bump_amount_2: 0.3, + bump_amount_3: 0.2, + bump_amount_1: 2.4, + texture_translate: 0.0f, + texture_rotate: 0.0, + texture_scale: 1.0f +); + +// 8 Brass Glossy +export material Woven_Metal_03_Brass_Glossy(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 03 - Brass Glossy"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "bumped", "new", "multimaterial", "glossy", "reflective", "brass", "yellow", "gold", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_03.Woven_Metal_03_Brass_Glossy.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_03( + weave_color: color(0.652370, 0.464741, 0.163641), + metalweave_roughness: 1.0, + metalweave_roughness_variation: 0.25, + surface_impurities: 0.0, + rod_color: color(0.311180, 0.219520, 0.075926), + rod_roughness: 0.3, + AO_weight: 0.95, + bump_amount_2: 0.7, + bump_amount_3: 0.3, + bump_amount_1: 2.4, + texture_translate: 0.0f, + texture_rotate: 0.0, + texture_scale: 1.0f +); + + +// 9 Brass Worn +export material Woven_Metal_03_Brass_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Weave 03 - Brass Worn"), + ::anno::description("Brushed metal bands woven around metal rods forming a metal sheet."), + ::anno::key_words(string[]("design", "metal", "mesh", "weave", "woven", "fancy", "decorative", "bumped", "worn", "multimaterial", "glossy", "brass", "yellow", "gold", "warm")), + ::anno::thumbnail("./.thumbs/Metal_Mesh_Weave_03.Woven_Metal_03_Brass_Worn.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Metal_Mesh_Weave_03( + weave_color: color(0.652370, 0.464741, 0.163641), + metalweave_roughness: 0.5, + metalweave_roughness_variation: 1.0, + surface_impurities: 1.0, + rod_color: color(0.311180, 0.219520, 0.075926), + rod_roughness: 0.5, + AO_weight: 0.95, + bump_amount_2: 0.7, + bump_amount_3: 0.8, + bump_amount_1: 2.4, + texture_translate: 0.0f, + texture_rotate: 0.0, + texture_scale: 1.0f +); \ No newline at end of file diff --git a/texture/material_0446/Metal_Cast.mdl b/texture/material_0446/Metal_Cast.mdl new file mode 100644 index 0000000000000000000000000000000000000000..091e8bc70b7901044dc551c7b49bdffb585afb31 --- /dev/null +++ b/texture/material_0446/Metal_Cast.mdl @@ -0,0 +1,901 @@ +/****************************************************************************** + * 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"; + + +float overlay(float base, float layer, float weight) +{ + return base + (1.0f - base) * layer * weight; +} + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + + +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; +} + +::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 +) +{ + 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); + float c = ::math::cos(rotation); + 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)); +} + +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); +} + + +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); +} + + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + + +float3 normalmap_normal( + uniform texture_2d texture, + float factor = 1.0, + ::base::texture_coordinate_info uvw = ::base::texture_coordinate_info() +) +{ + float3 lookup = (::tex::lookup_float3(texture, float2(uvw.position.x, uvw.position.y)) - float3(0.5)) * (factor * 2.0); + return ::math::normalize(uvw.tangent_u * lookup.x + uvw.tangent_v * lookup.y + ::state::normal() * (lookup.z + (1.0 - factor))); +} + +export material Metal_Cast( + uniform bool infinite_tiling = true [[ + ::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"), + ::anno::ui_order(0) + ]], + float roughness = 0.129999995f [[ + ::anno::description("Higher values lead to blurrier reflections and make the material appear rough."), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(1) + ]], + float roughness_variation = 0.f [[ + ::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(2) + ]], + float metalness = 0.f [[ + ::anno::description("Makes the material more reflective."), + ::anno::display_name("Metalness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(3) + ]], + color metal_tint = color(1.f, 1.f, 1.f) [[ + ::anno::description("Change the color of the reflection of the metal with this control."), + ::anno::display_name("Metal Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(4) + ]], + float smudges = 0.099999994f [[ + ::anno::description("Adds smudges on top of the material."), + ::anno::display_name("Smudges"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(5) + ]], + float bump_strength = 1.f [[ + ::anno::description("Adjusts the bumpiness of the surface."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::soft_range(0.f, 1.f), + ::anno::hard_range(0.f, 2.f), + ::anno::ui_order(6) + ]], + 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(7) + ]], + 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), + ::anno::ui_order(8) + ]], + uniform 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.4f, 0.4f)), + ::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 in millimeters."), + ::anno::display_name("Round Corner Radius (mm)"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f), + ::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) + ]], + 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(13) + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Cast Metal"), + ::anno::description("A generic material with a cast metal bump. The appearance can be blended between metallic and dielectric behavior to simulate painted metal as well."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Metal_Cast.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "template", "generic", "design", "kitchen", "sanitary", "construction", "automotive", "architecture", "interior", "exterior")), + ::anno::hidden() +]] + = + let { + bool tmp0 = false; + material_surface tmp1(::df::weighted_layer(0.0149999997f, ::df::microfacet_ggx_smith_bsdf(0.560000002f, 0.560000002f, color(1.f, 1.f, 1.f), color(0.f, 0.f, 0.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::weighted_layer(metalness, ::df::color_custom_curve_layer(nvidia::core_definitions::blend_colors(metal_tint, color(0.577580988f, 0.577580988f, 0.577580988f), ::base::color_layer_multiply, 1.f, true).tint, color(1.f, 1.f, 1.f), 3.f, color(1.f, 1.f, 1.f), ::df::microfacet_ggx_smith_bsdf(overlay(histogram_range(float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).x, roughness_variation, roughness * 0.600000024f + 0.0799999982f), float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).y, smudges) * overlay(histogram_range(float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).x, roughness_variation, roughness * 0.600000024f + 0.0799999982f), float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).y, smudges), overlay(histogram_range(float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).x, roughness_variation, roughness * 0.600000024f + 0.0799999982f), float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).y, smudges) * overlay(histogram_range(float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).x, roughness_variation, roughness * 0.600000024f + 0.0799999982f), float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).y, smudges), color(1.f, 1.f, 1.f), color(0.f, 0.f, 0.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), bsdf(), infinite_tiling ? endless_normal(texture_2d("./cast_metal_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.5f, 0.5f, 0.991999984f), 8.f) : normalmap_normal(texture_2d("./cast_metal_norm.jpg", ::tex::gamma_linear), bump_strength, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index))), ::df::color_custom_curve_layer(color(0.0100229997f, 0.0100229997f, 0.0100229997f), color(1.f, 1.f, 1.f), 3.f, color(1.f, 1.f, 1.f), ::df::microfacet_ggx_smith_bsdf(overlay(histogram_range(float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).x, roughness_variation, roughness * 0.600000024f + 0.0799999982f), float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).y, smudges) * overlay(histogram_range(float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).x, roughness_variation, roughness * 0.600000024f + 0.0799999982f), float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).y, smudges), overlay(histogram_range(float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).x, roughness_variation, roughness * 0.600000024f + 0.0799999982f), float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).y, smudges) * overlay(histogram_range(float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).x, roughness_variation, roughness * 0.600000024f + 0.0799999982f), float3(infinite_tiling ? ::base::file_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.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, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false, 0.f, int2(0), ::tex::wrap_repeat, 30.f).tint : endless_texture(texture_2d("./cast_metal_multi_R_rough_G_smudges.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.414000005f, 0.109999999f, 0.5f), 8.f, false)).y, smudges), color(1.f, 1.f, 1.f), color(0.f, 0.f, 0.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(metal_tint, color(0.507079005f, 0.507079005f, 0.507079005f), ::base::color_layer_multiply, 1.f, true).tint, 0.f), infinite_tiling ? endless_normal(texture_2d("./cast_metal_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.5f, 0.5f, 0.991999984f), 8.f) : normalmap_normal(texture_2d("./cast_metal_norm.jpg", ::tex::gamma_linear), bump_strength, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index))), ::state::normal()), infinite_tiling ? endless_normal(texture_2d("./cast_metal_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.5f, 0.5f, 0.991999984f), 8.f) : normalmap_normal(texture_2d("./cast_metal_norm.jpg", ::tex::gamma_linear), bump_strength, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index))), 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); + +// Material above serves as template and is supposed to remain hidden +// 1 +export material Iron_Cast( + uniform bool infinite_tiling = true [[ + ::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"), + ::anno::ui_order(0) + ]], + float roughness = 0.33f [[ + ::anno::description("Higher values lead to blurrier reflections and make the material appear rough."), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(1) + ]], + float roughness_variation = 0.67f [[ + ::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(2) + ]], + color metal_tint = color(0.019f) [[ + ::anno::description("Change the color of the reflection of the metal with this control."), + ::anno::display_name("Metal Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(4) + ]], + float smudges = 0.17f [[ + ::anno::description("Adds smudges on top of the material."), + ::anno::display_name("Smudges"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(5) + ]], + float bump_strength = 1.f [[ + ::anno::description("Adjusts the bumpiness of the surface."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::soft_range(0.f, 1.f), + ::anno::hard_range(0.f, 2.f), + ::anno::ui_order(6) + ]], + 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(7) + ]], + 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), + ::anno::ui_order(8) + ]], + uniform 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.4f, 0.4f)), + ::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 in millimeters."), + ::anno::display_name("Round Corner Radius (mm)"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f), + ::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) + ]], + 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(13) + ]] + +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Cast Iron - Black"), + ::anno::description("A cast iron material."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Iron_Cast.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "iron", "design", "kitchen", "construction", "architecture", "interior", "exterior", "black", "dark", "neutral")) +]] = Metal_Cast( + infinite_tiling: infinite_tiling, + roughness: roughness, + roughness_variation: roughness_variation, + metalness: 1.0, + metal_tint: metal_tint, + smudges: smudges, + bump_strength: bump_strength, + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + roundcorners_enable: roundcorners_enable, + roundcorners_radius_mm: roundcorners_radius_mm, + roundcorners_across_materials: roundcorners_across_materials, + uv_space_index: uv_space_index +); + +// 2 +export material Iron_Cast_Black_Matte(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Cast Iron - Black Matte"), + ::anno::description("A cast iron material."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Iron_Cast_Black_Matte.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "iron", "design", "kitchen", "construction", "architecture", "interior", "exterior", "black", "dark", "neutral")) +]] = Iron_Cast +( + infinite_tiling: true, + roughness: .84f, + roughness_variation: 1.0f, + metal_tint: color(0.019f), + smudges: .45f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.5f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 3 +export material Stainless_Steel_Cast_Shiny(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Cast Stainless Steel - Shiny"), + ::anno::description("A cast stainless steel material."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Stainless_Steel_Cast_Shiny.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "steel", "stainless", "design", "kitchen", "construction", "architecture", "interior", "exterior", "shiny", "reflective")) +]] = Iron_Cast +( + infinite_tiling: true, + roughness: 0.27f, + roughness_variation: 0.51f, + metal_tint: color(0.679542f), + smudges: .2f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.5f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +// 4 +export material Stainless_Steel_Cast_Rough(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Cast Stainless Steel - Rough"), + ::anno::description("A cast stainless steel material."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Stainless_Steel_Cast_Rough.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "steel", "stainless", "design", "kitchen", "construction", "architecture", "interior", "exterior", "rough", "matte", "gray", "matte")) +]] = Iron_Cast +( + infinite_tiling: true, + roughness: 0.74f, + roughness_variation: 0.4f, + metal_tint: color(0.679542f), + smudges: .30f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.5f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +// 5 +export material Aluminum_Cast_Shiny(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Cast Aluminum - Shiny"), + ::anno::description("A cast aluminum material."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Aluminum_Cast_Shiny.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "aluminum", "design", "kitchen", "construction", "architecture", "interior", "exterior", "rough", "reflective", "shiny")) +]] = Iron_Cast +( + infinite_tiling: true, + roughness: 0.51f, + roughness_variation: 0.51f, + metal_tint: color(0.514918f, 0.571125f, 0.623960f), + smudges: .0f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.5f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +// 6 +export material Aluminum_Cast_Rough(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Cast Aluminum - Rough"), + ::anno::description("A cast aluminum material."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Aluminum_Cast_Rough.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "aluminum", "design", "kitchen", "construction", "architecture", "interior", "exterior", "rough", "matte", "gray")) +]] = Iron_Cast +( + infinite_tiling: true, + roughness: 0.91f, + roughness_variation: 0.51f, + metal_tint: color(0.514918f, 0.571125f, 0.623960f), + smudges: .0f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.5f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +// 7 +// Cast Metal with a diffuse dielectic paint layer +export material Metal_Cast_Painted( + uniform bool infinite_tiling = true [[ + ::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"), + ::anno::ui_order(0) + ]], + float roughness = 0.25f [[ + ::anno::description("Higher values lead to blurrier reflections and make the material appear rough."), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(1) + ]], + float roughness_variation = 0.67f [[ + ::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(2) + ]], + color metal_tint = color(0.029557f, 0.135633f, 0.491021f) [[ + ::anno::description("Changes the color of the paint."), + ::anno::display_name("Paint Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(4) + ]], + float smudges = 0.17f [[ + ::anno::description("Adds smudges on top of the material."), + ::anno::display_name("Smudges"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(5) + ]], + float bump_strength = 1.f [[ + ::anno::description("Adjusts the bumpiness of the surface."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::soft_range(0.f, 1.f), + ::anno::hard_range(0.f, 2.f), + ::anno::ui_order(6) + ]], + 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(7) + ]], + 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), + ::anno::ui_order(8) + ]], + uniform 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.4f, 0.4f)), + ::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 in millimeters."), + ::anno::display_name("Round Corner Radius (mm)"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f), + ::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) + ]], + 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(13) + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Painted Cast Metal - Blue"), + ::anno::description("A painted cast material. The metal itself is underneath the paint layer, therefore it is a 'generic' metal."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Metal_Cast_Painted.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "painted", "design", "kitchen", "construction", "architecture", "interior", "exterior", "shiny", "blue", "cool", "saturated")) +]] = Metal_Cast( + infinite_tiling: infinite_tiling, + roughness: roughness, + roughness_variation: roughness_variation, + metalness: 0.0f, + metal_tint: metal_tint, + smudges: smudges, + bump_strength: bump_strength, + texture_translate: texture_translate, + texture_rotate: texture_rotate, + texture_scale: texture_scale, + roundcorners_enable: roundcorners_enable, + roundcorners_radius_mm: roundcorners_radius_mm, + roundcorners_across_materials: roundcorners_across_materials, + uv_space_index: uv_space_index +); + +// 8 Red +export material Metal_Cast_Painted_Red(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Painted Cast Metal - Red"), + ::anno::description("A painted cast material. The metal itself is underneath the paint layer, therefore it is a 'generic' metal."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Metal_Cast_Painted_Red.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "painted", "design", "kitchen", "construction", "architecture", "interior", "exterior", "shiny", "red", "warm", "saturated")) +]] = Metal_Cast_Painted +( + infinite_tiling: true, + roughness: .25f, + roughness_variation: .67f, + metal_tint: color(0.491021f, 0.029557f, 0.029557f), + smudges: .17f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.5, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +// 9 Gray +export material Metal_Cast_Painted_Gray(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Painted Cast Metal - Gray"), + ::anno::description("A painted cast material. The metal itself is underneath the paint layer, therefore it is a 'generic' metal."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Metal_Cast_Painted_Gray.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "painted", "design", "kitchen", "construction", "architecture", "interior", "exterior", "shiny", "gray", "neutral")) +]] = Metal_Cast_Painted +( + infinite_tiling: true, + roughness: .25f, + roughness_variation: .67f, + metal_tint: color(0.332452f, 0.332452f, 0.332452f), + smudges: .17f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.5, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +// 10 Antique White +export material Metal_Cast_Painted_Antique_White(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Painted Cast Metal - Antique White"), + ::anno::description("A painted cast material. The metal itself is underneath the paint layer, therefore it is a 'generic' metal."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Metal_Cast_Painted_Antique_White.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "painted", "design", "kitchen", "construction", "architecture", "interior", "exterior", "shiny", "antique", "white", "light")) +]] = Metal_Cast_Painted +( + infinite_tiling: true, + roughness: .25f, + roughness_variation: .67f, + metal_tint: color(0.799103f, 0.708376f, 0.539479f), + smudges: .17f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.5, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +// 11 White +export material Metal_Cast_Painted_White(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Painted Cast Metal - White"), + ::anno::description("A painted cast material. The metal itself is underneath the paint layer, therefore it is a 'generic' metal."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Metal_Cast_Painted_White.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "painted", "design", "kitchen", "construction", "architecture", "interior", "exterior", "shiny", "white", "light")) +]] = Metal_Cast_Painted +( + infinite_tiling: true, + roughness: .25f, + roughness_variation: .67f, + metal_tint: color(0.693872f, 0.693872f, 0.693872f), + smudges: .17f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.5, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +// 12 Petrol +export material Metal_Cast_Painted_Petrol(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Painted Cast Metal - Petrol"), + ::anno::description("A painted cast material. The metal itself is underneath the paint layer, therefore it is a 'generic' metal."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Metal_Cast.Metal_Cast_Painted_Petrol.png"), + ::anno::key_words(string[]("metal", "cast", "bumped", "painted", "design", "kitchen", "construction", "architecture", "interior", "exterior", "shiny", "petrol")) +]] = Metal_Cast_Painted +( + infinite_tiling: true, + roughness: .25f, + roughness_variation: .67f, + metal_tint: color(0.144128f, 0.212231f, 0.223228f), + smudges: .17f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.5, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + + + + + + diff --git a/texture/material_0448/Nickel_Brushed.mdl b/texture/material_0448/Nickel_Brushed.mdl new file mode 100644 index 0000000000000000000000000000000000000000..05cdda3faf8f8d65f153679540180922fa911c78 --- /dev/null +++ b/texture/material_0448/Nickel_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 Nickel_Brushed( + float brush_width = 1.0f [[ + ::anno::display_name("Roughness Width"), + ::anno::description("Widens the anisotropic metal reflections." + "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 Nickel - Strong Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Brushed.Nickel_Brushed.png"), + ::anno::key_words(string[]("aec", "metal", "nickel", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.696691094703f,0.640529134605f,0.563260231405f); // Nickel + 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 Nickel_Brushed_Light_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Nickel - Light Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Brushed.Nickel_Brushed_Light_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "nickel", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] + = Nickel_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 Nickel_Brushed_Medium_Light_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Nickel - Medium Light Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Brushed.Nickel_Brushed_Medium_Light_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "nickel", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Nickel_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 Nickel_Brushed_Medium_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Nickel - Medium Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Brushed.Nickel_Brushed_Medium_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "nickel", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Nickel_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 Nickel_Brushed_Very_Strong_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Nickel - Very Strong Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Brushed.Nickel_Brushed_Very_Strong_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "nickel", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Nickel_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/texture/material_0449/Nickel_Foil.mdl b/texture/material_0449/Nickel_Foil.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a861a2c25f6c2ad5b326a5e87fce2060d4af6b7f --- /dev/null +++ b/texture/material_0449/Nickel_Foil.mdl @@ -0,0 +1,502 @@ +/****************************************************************************** + * 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.4; + +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 = "Metal foil material with additional controls for wrinkling the material."; + +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 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); +} + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +export material Nickel_Foil( + uniform bool infinite_tiling = true [[ + ::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("Infinite Tiing") + ]], + float brightness = 1.f [[ + ::anno::description("Ajusts the total reflectivity of the metal."), + ::anno::display_name("Brightness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float roughness = 0.15f [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float roughness_variation = 0.564f [[ + ::anno::description("Amount of variation applied to the roughness, higher numbers add more non uniform appearance to the reflectivity of the material."), + ::anno::display_name("Roughness Variation"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float smudges = 0.35f [[ + ::anno::description("Adds blurrier reflections that show smudges on the surface."), + ::anno::display_name("Smudges"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 0.05f [[ + ::anno::description("Specifies the strength of the bump."), + ::anno::display_name("Bump Strength"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + 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.0f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(0.4, 0.4)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::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 radius = 0.002f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners") + ]], + uniform bool 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::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Foil - Slightly Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Foil.Nickel_Foil.png"), + ::anno::key_words(string[]("design", "metal", "nickel", "foil", "smooth", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.696691094703f,0.640529134605f,0.563260231405f); // Nickel + color grazing_reflectivity = color(0.99942f, 1.f, 1.f); + + texture_2d rough_ao_tex = texture_2d("./foil_crumpled_R_rough1_G_rough2_G_ao.jpg", ::tex::gamma_linear); + texture_2d smudge_splotch_tex = texture_2d("./foil_crumpled_R_smudge_G_splotch.jpg", ::tex::gamma_linear); + texture_2d norm_tex = texture_2d("./foil_crumpled_norm.jpg", ::tex::gamma_linear); + + bool tmp0 = false; + material_surface tmp1( + ::df::weighted_layer(0.0299999993f, ::df::microfacet_ggx_smith_bsdf(0.300000012f, 0.300000012f, color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::color_custom_curve_layer(normal_reflectivity, grazing_reflectivity, 5.f, color(::math::lerp(0.600000024f, 1.f, brightness) * histogram_scan_big(::math::pow(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], 2.20000005f), 1.f, bump_strength * 0.400000006f)), ::df::microfacet_ggx_smith_bsdf((histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]) * (histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]), (histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]) * (histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), bsdf(), infinite_tiling ? endless_normal(norm_tex, bump_strength * 1.5f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.5f, 0.5f, 1.f), 8.f) : ::base::tangent_space_normal_texture(norm_tex, bump_strength * 1.5f, false, false, 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, 1.f, 0.f)), infinite_tiling ? endless_normal(norm_tex, bump_strength * 1.5f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.5f, 0.5f, 1.f), 8.f) : ::base::tangent_space_normal_texture(norm_tex, bump_strength * 1.5f, false, false, 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, 1.f, 0.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, + enable_round_corners ? ::state::rounded_corner_normal(radius, across_materials, 1.f) : ::state::normal()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + +export material Nickel_Foil_Smudged_Foil(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Foil - Smudgy Foil"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Foil.Nickel_Foil_Smudged_Foil.png"), + ::anno::key_words(string[]("design", "metal", "nickel", "foil", "smooth", "unfinished", "decorative", "creative", "neutral")) +]] += Nickel_Foil( + infinite_tiling: true, + roughness: 0.15f, + roughness_variation: 0.84f, + smudges: 0.35f, + bump_strength: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + +export material Nickel_Foil_Shiny_Wrinkled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Foil - Shiny Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Foil.Nickel_Foil_Shiny_Wrinkled.png"), + ::anno::key_words(string[]("design", "metal", "nickel", "foil", "shiny", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral")) +]] += Nickel_Foil( + infinite_tiling: true, + roughness: 0.25f, + roughness_variation: 0.25f, + smudges: 0.75f, + bump_strength: 0.25f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + + +export material Nickel_Foil_Matte_Wrinkled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Foil - Matte Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Foil.Nickel_Foil_Matte_Wrinkled.png"), + ::anno::key_words(string[]("design", "metal", "nickel", "foil", "matte", "smooth", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral", "gray")) +]] += Nickel_Foil( + infinite_tiling: true, + roughness: 0.65f, + roughness_variation: 1.0f, + smudges: 0.4f, + bump_strength: 0.15f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + +export material Nickel_Foil_Heavy_Glossy_Wrinkles(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Foil - Heavy Glossy Wrinkles"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Foil.Nickel_Foil_Heavy_Glossy_Wrinkles.png"), + ::anno::key_words(string[]("design", "metal", "nickel", "foil", "smooth", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral")) +]] += Nickel_Foil( + infinite_tiling: true, + roughness: 0.164f, + roughness_variation: 0.021f, + smudges: 0.143f, + bump_strength: 0.99f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + +export material Nickel_Foil_Heavy_Matte_Wrinkled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Foil - Heavy Matte Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Foil.Nickel_Foil_Heavy_Matte_Wrinkled.png"), + ::anno::key_words(string[]("design", "metal", "nickel", "foil", "matte", "bumped", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral", "gray")) +]] += Nickel_Foil( + infinite_tiling: true, + roughness: 0.889f, + roughness_variation: 0.018f, + smudges: 0.246f, + bump_strength: 0.732f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + + + + + + + + + + + + diff --git a/texture/material_0450/Nickel_Hammered.mdl b/texture/material_0450/Nickel_Hammered.mdl new file mode 100644 index 0000000000000000000000000000000000000000..f7516012b4e1d9f00472d44e626232b7b024b038 --- /dev/null +++ b/texture/material_0450/Nickel_Hammered.mdl @@ -0,0 +1,263 @@ +/****************************************************************************** + * 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 ::math::*; +import ::base::*; +import ::df::*; +import ::nvidia::core_definitions::*; +import ::state::*; +import ::tex::*; + + +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 hammered metal material"; + + + +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; + + 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)); +} + +export material Nickel_Hammered( + color metal_color = color(0.5f, 0.459f, 0.405f) [[ + ::anno::description("Adjusts the reflection color of the metal material."), + ::anno::display_name("Metal Color"), + ::anno::in_group("Appearance") + ]], + float roughness = 0.5f [[ + ::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) + ]], + float diffuse_variation = 0.8f [[ + ::anno::description("Adds grime, dirt and imperfections."), + ::anno::display_name("Variation"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float bump_strength = 0.8f [[ + ::anno::description("Determines the degree of bumpiness."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + + 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") + ]], + 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") + ]], + 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") + ]], + 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") + ]], + float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(.4f, 0.4f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Use selected UV space."), + ::anno::display_name("UV Space index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::display_name("Hammered Nickel - Dark Pits"), + ::anno::author("NVIDIA vMaterials"), + ::anno::in_group("Metal"), + ::anno::key_words(string[]("metal", "nickel", "blackened", "hammered", "design", "classic", "architecture", "pattern", "reflective", "rough", "bumped", "conductor")), + ::anno::thumbnail("./.thumbs/Nickel_Hammered.Nickel_Hammered.png"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT) +]] + = + let { + bool tmp0 = false; + material_surface tmp1(::df::weighted_layer(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::df::directional_factor(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(metal_color, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_multiply, diffuse_variation).tint, color(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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]), ::base::color_layer_overlay, diffuse_variation).tint, color(1.f, 1.f, 1.f), 3.f, ::df::microfacet_ggx_smith_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono * nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono, nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono * nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono, color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, "")), ::df::custom_curve_layer(0.0399999991f, 1.f, 5.f, 1.f, ::df::microfacet_ggx_smith_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono * nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono, nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono * nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono, color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(metal_color, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_multiply, diffuse_variation).tint, color(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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]), ::base::color_layer_overlay, diffuse_variation).tint, 0.f, ""), bsdf(), ::base::tangent_space_normal_texture(texture_2d("./hammered_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.f)), ::base::tangent_space_normal_texture(texture_2d("./hammered_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.f)), ::base::tangent_space_normal_texture(texture_2d("./hammered_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.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()); + hair_bsdf tmp6 = hair_bsdf(); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5, + hair: tmp6); + + +export material Nickel_Hammered_Shiny(*) +[[ + ::anno::display_name("Hammered Nickel - Shiny"), + ::anno::author("NVIDIA vMaterials"), + ::anno::in_group("Metal"), + ::anno::key_words(string[]("metal", "nickel", "hammered", "design", "classic", "architecture", "pattern", "reflective", "rough", "bumped", "conductor", "shiny")), + ::anno::thumbnail("./.thumbs/Nickel_Hammered.Nickel_Hammered_Shiny.png"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT) +]] + = Nickel_Hammered( + metal_color: color(0.5f, 0.459f, 0.405f), + roughness: 0.3f, + diffuse_variation: 0.2f, + bump_strength: 0.5f, + roundcorners_enable:false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + +export material Nickel_Hammered_Dull(*) +[[ + ::anno::display_name("Hammered Nickel - Dull"), + ::anno::author("NVIDIA vMaterials"), + ::anno::in_group("Metal"), + ::anno::key_words(string[]("metal", "nickel", "hammered", "design", "classic", "architecture", "pattern", "reflective", "rough", "bumped", "conductor", "matte", "dull")), + ::anno::thumbnail("./.thumbs/Nickel_Hammered.Nickel_Hammered_Dull.png"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT) +]] + = Nickel_Hammered( + metal_color: color(0.5f, 0.459f, 0.405f), + roughness: 1.0f, + diffuse_variation: 0.4f, + bump_strength: 0.8f, + roundcorners_enable:false, + roundcorners_radius_mm: 1.5f, + roundcorners_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/texture/material_0451/Nickel_Knurling.mdl b/texture/material_0451/Nickel_Knurling.mdl new file mode 100644 index 0000000000000000000000000000000000000000..8e154021f7ac74c63102cd6bf76eecd4426c44d1 --- /dev/null +++ b/texture/material_0451/Nickel_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 Nickel_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 Nickel"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Knurling.Nickel_Knurling.png"), + ::anno::key_words(string[]("metal", "nickel", "knurled", "knurling", "pattern", "design", "bumped")), + ::anno::contributor("Ruediger Raab"), + ::anno::author("NVIDIA vMaterials") +]] += let +{ + color metal_tint = color(0.696691094703f,0.640529134605f,0.563260231405f); // Nickel + + // 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 Nickel_Knurling_Worn(*) +[[ + ::anno::display_name("Metal Knurling - Nickel Worn"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Knurling.Nickel_Knurling_Worn.png"), + ::anno::key_words(string[]("metal", "nickel", "knurled", "pattern", "knurling", "design", "bumped", "worn")), + ::anno::contributor("Ruediger Raab"), + ::anno::author("NVIDIA vMaterials") +]] = Nickel_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/texture/material_0452/Nickel_Scratched.mdl b/texture/material_0452/Nickel_Scratched.mdl new file mode 100644 index 0000000000000000000000000000000000000000..6380ce1a166d05e7210ad0266543100c1148eb88 --- /dev/null +++ b/texture/material_0452/Nickel_Scratched.mdl @@ -0,0 +1,596 @@ +/****************************************************************************** + * 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 scratched metal material"; + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + + +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; +} + +::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 +) +{ + 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); + float c = ::math::cos(rotation); + 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)); +} + +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); +} + + +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); +} + +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); +} + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + + +// 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)); +} + + + + +export material Nickel_Scratched( + 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") + ]], + float roughness_metal_surface = 1.0f [[ + ::anno::description("The overall roughness of the metal surface."), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness_variation = 0.208f [[ + ::anno::description("Adds more roughness variation to the scratched metal material."), + ::anno::display_name("Roughness Variation"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + float brightness = 0.55f [[ + ::anno::display_name("Brightness"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + float brightness_variation = 0.3f [[ + ::anno::description("Adds brightness variation to the metal . Has no effect as soon as the of the material is full on."), + ::anno::display_name("Brightness Variation"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float bump_factor = 0.187f [[ + ::anno::display_name("Bump Factor"), + ::anno::in_group("Appearance", "Metal"), + ::anno::soft_range(0.f, 2.f) + ]], + +// Scratches + float roughness_scratches = 0.145f [[ + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance", "Scratches"), + ::anno::hard_range(0.f, 1.f) + ]], + float scratches_variation = 0.3f [[ + ::anno::display_name("Variation"), + ::anno::in_group("Appearance", "Scratches"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float scratches_bump_factor = 0.435f [[ + ::anno::display_name("Bump Factor"), + ::anno::in_group("Appearance", "Scratches"), + ::anno::soft_range(0.f, 2.f) + ]], + +// Dirt + float dirt_transition_softness = 0.85f [[ + ::anno::description("Controls the softness of the dirt-metal transition."), + ::anno::display_name("Dirt Transition Softness"), + ::anno::in_group("Appearance", "Dirt Layer"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_amount = 0.212f [[ + ::anno::description("Adds dirt and grime on top of the scratched metal. Note that the dirt layer also infoences the roughness of the material."), + ::anno::display_name("Dirt Amount"), + ::anno::in_group("Appearance", "Dirt Layer"), + ::anno::hard_range(0.f, 1.f) + ]], + + +// Transform + uniform float2 texture_translate = 0.f [[ + ::anno::display_name("Translate"), + ::anno::description("Offsets the position of the material."), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates the material."), + ::anno::display_name("Rotate"), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.0f [[ + ::anno::description("Scales the material."), + ::anno::display_name("Scale"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + + + +// Round Corners + 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("Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float radius_mm = 0.f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Corner Radius"), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = true [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + +// Advanced + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Scratched"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "nickel", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "gray", "neutral")), + ::anno::thumbnail("./.thumbs/Nickel_Scratched.Nickel_Scratched.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = + let { + float brush_scratches_weight = 0.5f; + // Nickel Reflection Color + color reflection_color = color(0.696691094703f, 0.640529134605f, 0.563260231405f); // Nickel + float radius = radius_mm * 0.001; + bool tmp0 = false; + material_surface tmp1( + ::df::weighted_layer(::math::pow(1.f - float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[2], 0.537f) * (histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.899999976f), ::df::diffuse_reflection_bsdf(color(0.0116450004f, 0.00893499982f, 0.00379400002f), 0.f, ""), ::df::color_custom_curve_layer(reflection_color, color(1.f, 1.f, 1.f), 5.f, color(::math::clamp(::math::lerp(0.f, ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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]), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation))) + histogram_range(::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], 2.20000005f), brightness_variation, ::math::lerp(0.173000008f, 0.850000024f, brightness)), 0.f, 1.f)), ::df::microfacet_ggx_smith_bsdf((::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f) * (::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f), (::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f) * (::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), bsdf(), add_detail_normal(::math::lerp(::state::normal(), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.991999984f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, 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, 1.f, 0.f), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation))), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.995999992f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, 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, 1.f, 0.f))), add_detail_normal(::math::lerp(::state::normal(), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.991999984f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, 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, 1.f, 0.f), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation))), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.995999992f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, 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, 1.f, 0.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, + enable_round_corners ? ::state::rounded_corner_normal(radius, across_materials, 1.f) : ::state::normal()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + +export material Nickel_Scratched_Light_Bumpy(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Scratched - Bright and Bumped"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "nickel", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "gray", "neutral", "shiny")), + ::anno::thumbnail("./.thumbs/Nickel_Scratched.Nickel_Scratched_Light_Bumpy.png"), + ::anno::copyright_notice(COPYRIGHT) +]]= Nickel_Scratched( + infinite_tiling: true, + roughness_metal_surface: 1.0f, + roughness_variation: 0.21f, + brightness: 0.75f, + brightness_variation: 0.3f, + bump_factor: 1.0f, + roughness_scratches: 0.145f, + scratches_variation: 0.3f, + scratches_bump_factor: 0.25f, + dirt_transition_softness: 0.85f, + dirt_amount: 0.05f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + + +export material Nickel_Scratched_Dark_Shiny(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Scratched - Dark Shiny"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "nickel", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "gray", "neutral", "shiny", "dark")), + ::anno::thumbnail("./.thumbs/Nickel_Scratched.Nickel_Scratched_Dark_Shiny.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Nickel_Scratched( + infinite_tiling: true, + roughness_metal_surface: 0.28f, + roughness_variation: 0.517f, + brightness: 0.35f, + brightness_variation: 0.43f, + bump_factor: 0.26f, + roughness_scratches: 0.21f, + scratches_variation: 0.76f, + scratches_bump_factor: 0.23f, + dirt_transition_softness: 0.98f, + dirt_amount: 0.06f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + +export material Nickel_Scratched_Dark_Matte(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Scratched - Dark Matte"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "nickel", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "gray", "neutral", "matte", "dark")), + ::anno::thumbnail("./.thumbs/Nickel_Scratched.Nickel_Scratched_Dark_Matte.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Nickel_Scratched( + infinite_tiling: true, + roughness_metal_surface: 1.0f, + roughness_variation: 0.21f, + brightness: 0.023f, + brightness_variation: 0.119f, + bump_factor: 0.521f, + roughness_scratches: 0.28f, + scratches_variation: 0.86f, + scratches_bump_factor: 1.0f, + dirt_transition_softness: 0.85f, + dirt_amount: 0.057f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + + + +export material Nickel_Scratched_Scuffs_and_Grime(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Scratched - Scuffs and Grime"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "nickel", "scratched", "worn", "dirty", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "gray", "neutral", "matte", "dark")), + ::anno::thumbnail("./.thumbs/Nickel_Scratched.Nickel_Scratched_Scuffs_and_Grime.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Nickel_Scratched( + infinite_tiling: true, + roughness_metal_surface: 0.756f, + roughness_variation: 0.208f, + brightness: 0.948f, + brightness_variation: 0.119f, + bump_factor: 1.848f, + roughness_scratches: 0.099f, + scratches_variation: 0.075f, + scratches_bump_factor: 0.903f, + dirt_transition_softness: 0.85f, + dirt_amount: 1.0f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + + + +export material Nickel_Scratched_Dirty_Rough(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Nickel Scratched - Dirty Rough"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "nickel", "scratched", "worn", "dirt", "dirty", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "gray", "neutral", "matte", "dark")), + ::anno::thumbnail("./.thumbs/Nickel_Scratched.Nickel_Scratched_Dirty_Rough.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Nickel_Scratched( + infinite_tiling: true, + roughness_metal_surface: 1.0f, + roughness_variation: 0.208f, + brightness: 0.8f, + brightness_variation: 0.838f, + bump_factor: 1.914f, + roughness_scratches: 0.35f, + scratches_variation: 0.0f, + scratches_bump_factor: 0.903f, + dirt_transition_softness: 0.901f, + dirt_amount: 0.581f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); diff --git a/texture/material_0453/Nickel_Sheet.mdl b/texture/material_0453/Nickel_Sheet.mdl new file mode 100644 index 0000000000000000000000000000000000000000..73a075e4fd0e03842ead0b846e7ef24a676ac3d5 --- /dev/null +++ b/texture/material_0453/Nickel_Sheet.mdl @@ -0,0 +1,1344 @@ +/****************************************************************************** + * 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 nickel 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 Nickel_Sheet( + uniform bool infinite_tiling = false [[ + ::anno::display_name("Infinite Tiling"), + ::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::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::description("Cloudy water deposits."), + ::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::description("Generic spotted noisy imperfections."), + ::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::description("Splotchy cloudy imperfections."), + ::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 Nickel - New Clean"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.696691094703f, 0.640529134605f, 0.563260231405f); // Nickel + 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 Nickel_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 = 1.0f + [[ + ::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) + ]], + + + +// Nickel 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::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("Nickel Sheet - Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Punched.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "circular", "neutral")) +]] = let +{ + material base_mat = Nickel_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 + ) +); + + + +// ---------------- Nickel Sheet Material Presets ---------------- +export material Nickel_Sheet_Soft_Splotches(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Nickel - Soft Splotches"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Soft_Splotches.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral", "gray")) +]] += Nickel_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 Nickel_Sheet_Matte_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Nickel - Matte Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Matte_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "imperfections", "new", "matte", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]]= Nickel_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 Nickel_Sheet_Glossy_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Nickel - Glossy Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Glossy_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] += Nickel_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 Nickel_Sheet_Splotchy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Nickel - Splotchy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Splotchy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]]= Nickel_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 Nickel_Sheet_Glossy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Nickel - Glossy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Glossy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] += Nickel_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 Nickel Sheet Material Presets ---------------- + +export material Nickel_Sheet_Punched_Small_Circular(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Nickel Sheet - Small Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Punched_Small_Circular.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "circular", "neutral")) +]] += Nickel_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, + + //Nickel Sheet Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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 Nickel_Sheet_Punched_Hexagonal(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Nickel Sheet - Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Punched_Hexagonal.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "hexagonal", "neutral")) +]] += Nickel_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, + + //Nickel Sheet Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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 Nickel_Sheet_Punched_Hexagonal_Small(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Nickel Sheet - Small Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Punched_Hexagonal_Small.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "hexagonal", "neutral")) +]] += Nickel_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, + + //Nickel Sheet Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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 Nickel_Sheet_Punched_Square(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Nickel Sheet - Square Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Punched_Square.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "square", "neutral")) +]] += Nickel_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, + + //Nickel Sheet Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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 Nickel_Sheet_Punched_Line(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Nickel Sheet - Line Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Punched_Line.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "line", "neutral")) +]] += Nickel_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, + + //Nickel Sheet Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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 Nickel_Sheet_Punched_Cross(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Nickel Sheet - Cross Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Punched_Cross.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "cross", "neutral")) +]] += Nickel_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, + + //Nickel Sheet Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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 Nickel_Sheet_Punched_Rhombus(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Nickel Sheet - Rhombus Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Punched_Rhombus.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "rhombus", "neutral")) +]] += Nickel_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, + + //Nickel Sheet Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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 Nickel_Sheet_Punched_Triangle(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Nickel Sheet - Triangle Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Punched_Triangle.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "triangle", "neutral")) +]] += Nickel_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, + + //Nickel Sheet Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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 Nickel_Sheet_Punched_Star(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Nickel Sheet - Star Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Nickel_Sheet.Nickel_Sheet_Punched_Star.png"), + ::anno::key_words(string[]("metal", "sheet", "nickel", "decorative", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "punched", "punching", "star", "neutral")) +]] += Nickel_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, + + //Nickel Sheet Parameters + infinite_tiling: false, + sheet_brightness: 0.85f, + roughness: 0.4f, + 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 +); \ No newline at end of file diff --git a/texture/material_0456/Platinum.mdl b/texture/material_0456/Platinum.mdl new file mode 100644 index 0000000000000000000000000000000000000000..d4e81fcbac86791caceafaf77cbb9b466a64269a --- /dev/null +++ b/texture/material_0456/Platinum.mdl @@ -0,0 +1,380 @@ +/****************************************************************************** + * 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.4; + +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"; + + +::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 Platinum( + uniform bool infinite_tiling = true [[ + ::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") + ]], + float roughness = 0.1f [[ + ::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) + ]], + float smudges = 0.5f [[ + ::anno::description("Adds blurrier reflection that follow the intensities of the Roughness texture on top."), + ::anno::display_name("Smudges"), + ::anno::in_group("Appearance"), + ::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 radius = 0.03f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("When enabled the round corner effect is applied across different materials."), + ::anno::in_group("Round Corners") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::soft_range(0.f, 360.f), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(.45f, .45f)) + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]], + float3 normal = ::state::normal() [[ + ::anno::description("Modify the surface normal."), + ::anno::display_name("Normal"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Platinum"), + ::anno::description("Pure metal material with optional smudges."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum.Platinum.png"), + ::anno::key_words(string[]("metal", "pure", "smudged", "design", "reflective", "infinite tiling", "smooth", "conductor", "new", "polished", "platinum")) +]] + = + let { + + color normal_reflectivity = color(0.678533319955f, 0.639590890417f, 0.583638675413f); // Platinum + 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(1.f, 1.f, 1.f), ::df::microfacet_ggx_smith_bsdf(::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono) * ::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono), ::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono) * ::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), bsdf(), normal), + 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(radius, across_materials, 1.f) : ::state::normal()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + + +export material Platinum_Polished(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Platinum Polished"), + ::anno::description("Pure metal material with optional smudges."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum.Platinum_Polished.png"), + ::anno::key_words(string[]("metal", "pure", "design", "reflective", "infinite tiling", "smooth", "conductor", "new", "polished", "platinum")) +]] += Platinum( + infinite_tiling: true, + roughness: 0.0f, + smudges: 0.0f, + enable_round_corners: false, + radius: 0.03f, + across_materials: false, + texture_translate: float2(0.0f, 0.0f), + texture_rotate: 0.0f, + texture_scale: float2(1.0f, 1.0f), + uv_space_index: 0, + normal: ::state::normal() +); + + +export material Platinum_Glossy_Fingerprints(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Platinum Glossy Fingerprints"), + ::anno::description("Pure metal material with optional smudges."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum.Platinum_Glossy_Fingerprints.png"), + ::anno::key_words(string[]("metal", "pure", "design", "smudged", "reflective", "infinite tiling", "smooth", "conductor", "new", "polished", "platinum")) +]] += Platinum( + infinite_tiling: true, + roughness: 0.23f, + smudges: 1.0f, + enable_round_corners: false, + radius: 0.03f, + across_materials: false, + texture_translate: float2(0.0f, 0.0f), + texture_rotate: 0.0f, + texture_scale: float2(1.0f, 1.0f), + uv_space_index: 0, + normal: ::state::normal() +); + + + + +/* +- Aluminum + 0.911810895428,0.914089043421,0.920152876196 + +- Copper + 0.9654565, 0.6899602, 0.4830392 + +- Chromium + 0.549302, 0.5560554, 0.5542377 + +- Iron + 0.5293683, 0.5132565, 0.4942483 + +- Gold + 1.0,0.722306985258,0.340058756743 + +- Nickel + 0.696691094703,0.640529134605,0.563260231405 + +- Platinum + 0.678533319955,0.639590890417,0.583638675413 + +- Mercury + 0.780978740699,0.779541528985,0.778441417779 + +- Silver + 0.9614253056,0.948983344333,0.918968346466 + +- Titanium + 0.618264052974,0.579396264956,0.542545225681 + +- Tungsten + 0.951001417565,0.815051845356,0.751931718925 + +- Zinc + 0.87467950988,0.868943040106,0.855089634324 + + +*/ diff --git a/texture/material_0457/Platinum_Brushed.mdl b/texture/material_0457/Platinum_Brushed.mdl new file mode 100644 index 0000000000000000000000000000000000000000..b9f10e2b312114b0bdafe0eeed3effcad3afb55f --- /dev/null +++ b/texture/material_0457/Platinum_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 Platinum_Brushed( + float brush_width = 1.0f [[ + ::anno::display_name("Roughness Width"), + ::anno::description("Widens the anisotropic metal reflections." + "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 Platinum - Strong Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Brushed.Platinum_Brushed.png"), + ::anno::key_words(string[]("aec", "metal", "platinum", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.678533319955f, 0.639590890417f, 0.583638675413f); // Platinum + 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 Platinum_Brushed_Light_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Platinum - Light Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Brushed.Platinum_Brushed_Light_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "platinum", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] + = Platinum_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 Platinum_Brushed_Medium_Light_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Platinum - Medium Light Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Brushed.Platinum_Brushed_Medium_Light_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "platinum", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Platinum_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 Platinum_Brushed_Medium_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Platinum - Medium Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Brushed.Platinum_Brushed_Medium_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "platinum", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Platinum_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 Platinum_Brushed_Very_Strong_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Platinum - Very Strong Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Brushed.Platinum_Brushed_Very_Strong_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "platinum", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Platinum_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/texture/material_0458/Platinum_Foil.mdl b/texture/material_0458/Platinum_Foil.mdl new file mode 100644 index 0000000000000000000000000000000000000000..9d7744fa101b8750dedbceaf02c17ec16c18423f --- /dev/null +++ b/texture/material_0458/Platinum_Foil.mdl @@ -0,0 +1,501 @@ +/****************************************************************************** + * 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.4; + +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 = "Metal foil material with additional controls for wrinkling the material"; + +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 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); +} + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +export material Platinum_Foil( + uniform bool infinite_tiling = true [[ + ::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("Infinite Tiing") + ]], + float brightness = 1.f [[ + ::anno::description("Ajusts the total reflectivity of the metal."), + ::anno::display_name("Brightness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float roughness = 0.15f [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float roughness_variation = 0.564f [[ + ::anno::description("Amount of variation applied to the roughness, higher numbers add more non uniform appearance to the reflectivity of the material."), + ::anno::display_name("Roughness Variation"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float smudges = 0.35f [[ + ::anno::description("Adds blurrier reflections that show smudges on the surface."), + ::anno::display_name("Smudges"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 0.05f [[ + ::anno::description("Specifies the strength of the bump."), + ::anno::display_name("Bump Strength"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + 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.0f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(0.4, 0.4)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::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 radius = 0.002f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Platinum Foil - Slightly Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Foil.Platinum_Foil.png"), + ::anno::key_words(string[]("design", "metal", "platinum", "foil", "smooth", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.678533319955f, 0.639590890417f, 0.583638675413f); // Platinum + color grazing_reflectivity = color(0.99942f, 1.f, 1.f); + + texture_2d rough_ao_tex = texture_2d("./foil_crumpled_R_rough1_G_rough2_G_ao.jpg", ::tex::gamma_linear); + texture_2d smudge_splotch_tex = texture_2d("./foil_crumpled_R_smudge_G_splotch.jpg", ::tex::gamma_linear); + texture_2d norm_tex = texture_2d("./foil_crumpled_norm.jpg", ::tex::gamma_linear); + + bool tmp0 = false; + material_surface tmp1( + ::df::weighted_layer(0.0299999993f, ::df::microfacet_ggx_smith_bsdf(0.300000012f, 0.300000012f, color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::color_custom_curve_layer(normal_reflectivity, grazing_reflectivity, 5.f, color(::math::lerp(0.600000024f, 1.f, brightness) * histogram_scan_big(::math::pow(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], 2.20000005f), 1.f, bump_strength * 0.400000006f)), ::df::microfacet_ggx_smith_bsdf((histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]) * (histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]), (histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]) * (histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), bsdf(), infinite_tiling ? endless_normal(norm_tex, bump_strength * 1.5f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.5f, 0.5f, 1.f), 8.f) : ::base::tangent_space_normal_texture(norm_tex, bump_strength * 1.5f, false, false, 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, 1.f, 0.f)), infinite_tiling ? endless_normal(norm_tex, bump_strength * 1.5f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.5f, 0.5f, 1.f), 8.f) : ::base::tangent_space_normal_texture(norm_tex, bump_strength * 1.5f, false, false, 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, 1.f, 0.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, + enable_round_corners ? ::state::rounded_corner_normal(radius, across_materials, 1.f) : ::state::normal()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + +export material Platinum_Foil_Smudged_Foil(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Platinum Foil - Smudgy Foil"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Foil.Platinum_Foil_Smudged_Foil.png"), + ::anno::key_words(string[]("design", "metal", "platinum", "foil", "smooth", "unfinished", "decorative", "creative", "neutral")) +]] += Platinum_Foil( + infinite_tiling: true, + roughness: 0.15f, + roughness_variation: 0.84f, + smudges: 0.35f, + bump_strength: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + +export material Platinum_Foil_Shiny_Wrinkled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Platinum Foil - Shiny Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Foil.Platinum_Foil_Shiny_Wrinkled.png"), + ::anno::key_words(string[]("design", "metal", "platinum", "foil", "shiny", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral")) +]] += Platinum_Foil( + infinite_tiling: true, + roughness: 0.25f, + roughness_variation: 0.25f, + smudges: 0.75f, + bump_strength: 0.25f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + + +export material Platinum_Foil_Matte_Wrinkled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Platinum Foil - Matte Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Foil.Platinum_Foil_Matte_Wrinkled.png"), + ::anno::key_words(string[]("design", "metal", "platinum", "foil", "matte", "smooth", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral", "gray")) +]] += Platinum_Foil( + infinite_tiling: true, + roughness: 0.65f, + roughness_variation: 1.0f, + smudges: 0.4f, + bump_strength: 0.15f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + +export material Platinum_Foil_Heavy_Glossy_Wrinkles(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Platinum Foil - Heavy Glossy Wrinkles"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Foil.Platinum_Foil_Heavy_Glossy_Wrinkles.png"), + ::anno::key_words(string[]("design", "metal", "platinum", "foil", "smooth", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral")) +]] += Platinum_Foil( + infinite_tiling: true, + roughness: 0.164f, + roughness_variation: 0.021f, + smudges: 0.143f, + bump_strength: 0.99f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + +export material Platinum_Foil_Heavy_Matte_Wrinkled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Platinum Foil - Heavy Matte Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Foil.Platinum_Foil_Heavy_Matte_Wrinkled.png"), + ::anno::key_words(string[]("design", "metal", "platinum", "foil", "matte", "bumped", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral", "gray")) +]] += Platinum_Foil( + infinite_tiling: true, + roughness: 0.889f, + roughness_variation: 0.018f, + smudges: 0.246f, + bump_strength: 0.732f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + + + + + + + + + + + + diff --git a/texture/material_0461/Platinum_Scratched.mdl b/texture/material_0461/Platinum_Scratched.mdl new file mode 100644 index 0000000000000000000000000000000000000000..02a0cf219cb2f7b233fb08ed9ad62e587264c0e4 --- /dev/null +++ b/texture/material_0461/Platinum_Scratched.mdl @@ -0,0 +1,596 @@ +/****************************************************************************** + * 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 scratched metal material"; + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + + +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; +} + +::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 +) +{ + 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); + float c = ::math::cos(rotation); + 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)); +} + +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); +} + + +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); +} + +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); +} + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + + +// 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)); +} + + + + +export material Platinum_Scratched( + 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") + ]], + float roughness_metal_surface = 1.0f [[ + ::anno::description("The overall roughness of the metal surface."), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness_variation = 0.208f [[ + ::anno::description("Adds more roughness variation to the scratched metal material."), + ::anno::display_name("Roughness Variation"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + float brightness = 0.55f [[ + ::anno::display_name("Brightness"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + float brightness_variation = 0.3f [[ + ::anno::description("Adds brightness variation to the metal . Has no effect as soon as the of the material is full on."), + ::anno::display_name("Brightness Variation"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float bump_factor = 0.187f [[ + ::anno::display_name("Bump Factor"), + ::anno::in_group("Appearance", "Metal"), + ::anno::soft_range(0.f, 2.f) + ]], + +// Scratches + float roughness_scratches = 0.145f [[ + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance", "Scratches"), + ::anno::hard_range(0.f, 1.f) + ]], + float scratches_variation = 0.3f [[ + ::anno::display_name("Variation"), + ::anno::in_group("Appearance", "Scratches"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float scratches_bump_factor = 0.435f [[ + ::anno::display_name("Bump Factor"), + ::anno::in_group("Appearance", "Scratches"), + ::anno::soft_range(0.f, 2.f) + ]], + +// Dirt + float dirt_transition_softness = 0.85f [[ + ::anno::description("Controls the softness of the dirt-metal transition."), + ::anno::display_name("Dirt Transition Softness"), + ::anno::in_group("Appearance", "Dirt Layer"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_amount = 0.212f [[ + ::anno::description("Adds dirt and grime on top of the scratched metal. Note that the dirt layer also infoences the roughness of the material."), + ::anno::display_name("Dirt Amount"), + ::anno::in_group("Appearance", "Dirt Layer"), + ::anno::hard_range(0.f, 1.f) + ]], + + +// Transform + uniform float2 texture_translate = 0.f [[ + ::anno::display_name("Translate"), + ::anno::description("Offsets the position of the material."), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates the material."), + ::anno::display_name("Rotate"), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.0f [[ + ::anno::description("Scales the material."), + ::anno::display_name("Scale"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + + + +// Round Corners + 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("Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float radius_mm = 0.f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Corner Radius"), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = true [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + +// Advanced + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Scratched Platinum"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "platinum", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped")), + ::anno::thumbnail("./.thumbs/Platinum_Scratched.Platinum_Scratched.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = + let { + float brush_scratches_weight = 0.5f; + // Platinum Reflection Color + color reflection_color = color(0.678533319955f, 0.639590890417f, 0.583638675413f); // Platinum + float radius = radius_mm * 0.001; + bool tmp0 = false; + material_surface tmp1( + ::df::weighted_layer(::math::pow(1.f - float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[2], 0.537f) * (histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.899999976f), ::df::diffuse_reflection_bsdf(color(0.0116450004f, 0.00893499982f, 0.00379400002f), 0.f, ""), ::df::color_custom_curve_layer(reflection_color, color(1.f, 1.f, 1.f), 5.f, color(::math::clamp(::math::lerp(0.f, ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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]), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation))) + histogram_range(::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], 2.20000005f), brightness_variation, ::math::lerp(0.173000008f, 0.850000024f, brightness)), 0.f, 1.f)), ::df::microfacet_ggx_smith_bsdf((::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f) * (::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f), (::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f) * (::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), bsdf(), add_detail_normal(::math::lerp(::state::normal(), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.991999984f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, 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, 1.f, 0.f), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation))), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.995999992f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, 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, 1.f, 0.f))), add_detail_normal(::math::lerp(::state::normal(), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.991999984f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, 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, 1.f, 0.f), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation))), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.995999992f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, 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, 1.f, 0.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, + enable_round_corners ? ::state::rounded_corner_normal(radius, across_materials, 1.f) : ::state::normal()); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + +export material Platinum_Scratched_Light_Bumpy(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Scratched Platinum - Bright and Bumped"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "platinum", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "shiny")), + ::anno::thumbnail("./.thumbs/Platinum_Scratched.Platinum_Scratched_Light_Bumpy.png"), + ::anno::copyright_notice(COPYRIGHT) +]]= Platinum_Scratched( + infinite_tiling: true, + roughness_metal_surface: 1.0f, + roughness_variation: 0.21f, + brightness: 0.75f, + brightness_variation: 0.3f, + bump_factor: 1.0f, + roughness_scratches: 0.145f, + scratches_variation: 0.3f, + scratches_bump_factor: 0.25f, + dirt_transition_softness: 0.85f, + dirt_amount: 0.05f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + + +export material Platinum_Scratched_Dark_Shiny(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Scratched Platinum - Dark Shiny"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "platinum", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "shiny", "dark")), + ::anno::thumbnail("./.thumbs/Platinum_Scratched.Platinum_Scratched_Dark_Shiny.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Platinum_Scratched( + infinite_tiling: true, + roughness_metal_surface: 0.28f, + roughness_variation: 0.517f, + brightness: 0.35f, + brightness_variation: 0.43f, + bump_factor: 0.26f, + roughness_scratches: 0.21f, + scratches_variation: 0.76f, + scratches_bump_factor: 0.23f, + dirt_transition_softness: 0.98f, + dirt_amount: 0.06f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + +export material Platinum_Scratched_Dark_Matte(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Scratched Platinum - Dark Matte"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "platinum", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "matte", "dark")), + ::anno::thumbnail("./.thumbs/Platinum_Scratched.Platinum_Scratched_Dark_Matte.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Platinum_Scratched( + infinite_tiling: true, + roughness_metal_surface: 1.0f, + roughness_variation: 0.21f, + brightness: 0.023f, + brightness_variation: 0.119f, + bump_factor: 0.521f, + roughness_scratches: 0.28f, + scratches_variation: 0.86f, + scratches_bump_factor: 1.0f, + dirt_transition_softness: 0.85f, + dirt_amount: 0.057f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + + + +export material Platinum_Scratched_Scuffs_and_Grime(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Scratched Platinum - Scuffs and Grime"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "platinum", "scratched", "worn", "dirty", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "matte", "dark")), + ::anno::thumbnail("./.thumbs/Platinum_Scratched.Platinum_Scratched_Scuffs_and_Grime.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Platinum_Scratched( + infinite_tiling: true, + roughness_metal_surface: 0.756f, + roughness_variation: 0.208f, + brightness: 0.948f, + brightness_variation: 0.119f, + bump_factor: 1.848f, + roughness_scratches: 0.099f, + scratches_variation: 0.075f, + scratches_bump_factor: 0.903f, + dirt_transition_softness: 0.85f, + dirt_amount: 1.0f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + + + +export material Platinum_Scratched_Dirty_Rough(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Scratched Platinum - Dirty Rough"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "platinum", "scratched", "worn", "dirt", "dirty", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "matte", "dark")), + ::anno::thumbnail("./.thumbs/Platinum_Scratched.Platinum_Scratched_Dirty_Rough.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Platinum_Scratched( + infinite_tiling: true, + roughness_metal_surface: 1.0f, + roughness_variation: 0.208f, + brightness: 0.8f, + brightness_variation: 0.838f, + bump_factor: 1.914f, + roughness_scratches: 0.35f, + scratches_variation: 0.0f, + scratches_bump_factor: 0.903f, + dirt_transition_softness: 0.901f, + dirt_amount: 0.581f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); diff --git a/texture/material_0462/Platinum_Sheet.mdl b/texture/material_0462/Platinum_Sheet.mdl new file mode 100644 index 0000000000000000000000000000000000000000..89d0dd1d65d6abced74f83dd471dc78ed4649922 --- /dev/null +++ b/texture/material_0462/Platinum_Sheet.mdl @@ -0,0 +1,1345 @@ +/****************************************************************************** + * 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 platinum 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 Platinum_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 Platinum - New Clean"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "imperfections", "new", "unfinished", "reflective", "design", "infinite tiling", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.678533319955f, 0.639590890417f, 0.583638675413f); // Platinum + 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 Platinum_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) + ]], + + + +// Platinum 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("Platinum Sheet - Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Punched.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "decorative", "imperfections", "new", "unfinished", "reflective", "design", "infinite tiling", "punched", "punching", "circular", "neutral")) +]] = let +{ + material base_mat = Platinum_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 + ) +); + + + + +// ------------------ Platinum Sheet Material Presets-------------------- +export material Platinum_Sheet_Soft_Splotches(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Platinum - Soft Splotches"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Soft_Splotches.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "imperfections", "new", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral", "gray")) +]] += Platinum_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 Platinum_Sheet_Matte_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Platinum - Matte Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Matte_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "imperfections", "new", "matte", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]]= Platinum_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 Platinum_Sheet_Glossy_Imperfections(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Platinum - Glossy Imperfections"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Glossy_Imperfections.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] += Platinum_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 Platinum_Sheet_Splotchy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Platinum - Splotchy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Splotchy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]]= Platinum_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 Platinum_Sheet_Glossy_Streaks(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Metal Sheet Platinum - Glossy Streaks"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Glossy_Streaks.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "imperfections", "new", "glossy", "unfinished", "reflective", "oxidized", "construction", "design", "infinite tiling", "neutral")) +]] += Platinum_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 +); + + +// ------------------ Platinum Sheet Material Presets-------------------- + +export material Platinum_Sheet_Punched_Small_Circular(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Platinum Sheet - Small Circular Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Punched_Small_Circular.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "decorative", "imperfections", "new", "unfinished", "reflective", "design", "infinite tiling", "punched", "punching", "circular", "neutral")) +]] += Platinum_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 Platinum_Sheet_Punched_Hexagonal(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Platinum Sheet - Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Punched_Hexagonal.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "decorative", "imperfections", "new", "unfinished", "reflective", "design", "infinite tiling", "punched", "punching", "hexagonal", "neutral")) +]] += Platinum_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 Platinum_Sheet_Punched_Hexagonal_Small(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Platinum Sheet - Small Hexagonal Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Punched_Hexagonal_Small.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "decorative", "imperfections", "new", "unfinished", "reflective", "design", "infinite tiling", "punched", "punching", "hexagonal", "neutral")) +]] += Platinum_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 Platinum_Sheet_Punched_Square(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Platinum Sheet - Square Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Punched_Square.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "decorative", "imperfections", "new", "unfinished", "reflective", "design", "infinite tiling", "punched", "punching", "square", "neutral")) +]] += Platinum_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 Platinum_Sheet_Punched_Line(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Platinum Sheet - Line Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Punched_Line.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "decorative", "imperfections", "new", "unfinished", "reflective", "design", "infinite tiling", "punched", "punching", "line", "neutral")) +]] += Platinum_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 Platinum_Sheet_Punched_Cross(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Platinum Sheet - Cross Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Punched_Cross.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "decorative", "imperfections", "new", "unfinished", "reflective", "design", "infinite tiling", "punched", "punching", "cross", "neutral")) +]] += Platinum_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 Platinum_Sheet_Punched_Rhombus(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Platinum Sheet - Rhombus Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Punched_Rhombus.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "decorative", "imperfections", "new", "unfinished", "reflective", "design", "infinite tiling", "punched", "punching", "rhombus", "neutral")) +]] += Platinum_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 Platinum_Sheet_Punched_Triangle(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Platinum Sheet - Triangle Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Punched_Triangle.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "decorative", "imperfections", "new", "unfinished", "reflective", "design", "infinite tiling", "punched", "punching", "triangle", "neutral")) +]] += Platinum_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 Platinum_Sheet_Punched_Star(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Rüdiger Raab"), + ::anno::contributor("Maik Rohland"), + ::anno::display_name("Platinum Sheet - Star Punch"), + ::anno::description(DESCRIPTION_PUNCH), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Platinum_Sheet.Platinum_Sheet_Punched_Star.png"), + ::anno::key_words(string[]("metal", "sheet", "platinum", "decorative", "imperfections", "new", "unfinished", "reflective", "design", "infinite tiling", "punched", "punching", "star", "neutral")) +]] += Platinum_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/texture/material_0463/Punched_Circular_Plate.mdl b/texture/material_0463/Punched_Circular_Plate.mdl new file mode 100644 index 0000000000000000000000000000000000000000..20c368b0da5458c9de4a98567ca34ad11c483cd8 --- /dev/null +++ b/texture/material_0463/Punched_Circular_Plate.mdl @@ -0,0 +1,512 @@ +/****************************************************************************** + * 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 Punched_Circular_Plate( + 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.06f [[ + ::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 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.f [[ + ::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("Punched Circular Plate - 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", "construction", "naval", "exterior", "new", "shiny", "gray")), + ::anno::thumbnail("./.thumbs/Punched_Circular_Plate.Punched_Circular_Plate.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = + let { + + bool tmp0 = false; + float pattern_shininess = 0.f; + float2 texture_rescale = texture_scale * 0.13f; + + // replace the textures here for different punched cutout shapes + texture_2d shape_multi_ao_height = texture_2d("./circle_shape_multi_R_ao_G_height_B_opacity.jpg", ::tex::gamma_linear); + texture_2d shape_norm = texture_2d("./circle_shape_norm.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), 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).z, 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 Punched_Circular_Plate_Glossy(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Punched Circular Plate - Glossy"), + ::anno::contributor("Rüdiger Raab"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "plate", "diamond", "pattern", "safety", "bumped", "embossed", "infinite tiling", "architecture", "construction", "naval", "exterior", "gray", "glossy")), + ::anno::thumbnail("./.thumbs/Punched_Circular_Plate.Punched_Circular_Plate_Glossy.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Punched_Circular_Plate ( + metal_roughness: 0.4f, + roughness_variation: 0.47f, + 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 Punched_Circular_Plate_Matte_Aged(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Punched Circular Plate - Matte Aged"), + ::anno::contributor("Rüdiger Raab"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "plate", "diamond", "pattern", "safety", "bumped", "embossed", "infinite tiling", "architecture", "construction", "naval", "exterior", "matte", "aged", "gray")), + ::anno::thumbnail("./.thumbs/Punched_Circular_Plate.Punched_Circular_Plate_Matte_Aged.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Punched_Circular_Plate ( + metal_roughness: 0.63f, + roughness_variation: 0.72f, + 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 +); + + +// 4 +export material Punched_Circular_Plate_Dirty_Worn(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Punched Circular Plate - Dirty Worn"), + ::anno::contributor("Rüdiger Raab"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "plate", "diamond", "pattern", "safety", "bumped", "embossed", "infinite tiling", "architecture", "construction", "naval", "exterior", "gray", "worn", "old", "dirty", "decayed")), + ::anno::thumbnail("./.thumbs/Punched_Circular_Plate.Punched_Circular_Plate_Dirty_Worn.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Punched_Circular_Plate ( + metal_roughness: 0.38f, + roughness_variation: 0.53f, + 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/texture/material_0464/Silver.mdl b/texture/material_0464/Silver.mdl new file mode 100644 index 0000000000000000000000000000000000000000..42b8d1d5349608500e199ff70370fabe1ae69006 --- /dev/null +++ b/texture/material_0464/Silver.mdl @@ -0,0 +1,378 @@ +/****************************************************************************** + * 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.4; + +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"; + + +::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( + uniform bool infinite_tiling = true [[ + ::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") + ]], + float roughness = 0.1f [[ + ::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) + ]], + float smudges = 0.5f [[ + ::anno::description("Adds blurrier reflection that follow the intensities of the Roughness texture on top."), + ::anno::display_name("Smudges"), + ::anno::in_group("Appearance"), + ::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 radius = 0.03f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::description("When enabled the round corner effect is applied across different materials."), + ::anno::in_group("Round Corners") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::display_name("Texture Translate"), + ::anno::description("Controls the position of the texture."), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::display_name("Texture Rotate"), + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::soft_range(0.f, 360.f), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::display_name("Texture Scale"), + ::anno::description("Larger numbers increase the size."), + ::anno::in_group("Transform"), + ::nvidia::core_definitions::dimension(float2(.45f, .45f)) + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]], + float3 normal = ::state::normal() [[ + ::anno::description("Modify the surface normal."), + ::anno::display_name("Normal"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver"), + ::anno::description("Pure metal material with optional smudges."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver.Silver.png"), + ::anno::key_words(string[]("metal", "pure", "smudged", "design", "reflective", "infinite tiling", "smooth", "conductor", "new", "polished", "silver")) +]] + = + 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(1.f, 1.f, 1.f), ::df::microfacet_ggx_smith_bsdf(::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono) * ::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono), ::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono) * ::math::lerp(::math::lerp(0.f, 0.5f, roughness), ::math::lerp(0.f, 0.5f, roughness) + smudges * (1.f - ::math::lerp(0.f, 0.5f, roughness)), infinite_tiling ? float3(endless_texture(texture_2d("./metal_smudges_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.0820000023f), 8.f, false))[0] : ::base::file_texture(texture_2d("./metal_smudges_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).mono), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), bsdf(), normal), + 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(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_Polished(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Polished"), + ::anno::description("Pure metal material with optional smudges."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver.Silver_Polished.png"), + ::anno::key_words(string[]("metal", "pure", "design", "reflective", "infinite tiling", "smooth", "conductor", "new", "polished", "silver")) +]] += Silver( + infinite_tiling: true, + roughness: 0.0f, + smudges: 0.0f, + enable_round_corners: false, + radius: 0.03f, + across_materials: false, + texture_translate: float2(0.0f, 0.0f), + texture_rotate: 0.0f, + texture_scale: float2(1.0f, 1.0f), + uv_space_index: 0, + normal: ::state::normal() +); + + +export material Silver_Glossy_Fingerprints(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Glossy Fingerprints"), + ::anno::description("Pure metal material with optional smudges."), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver.Silver_Glossy_Fingerprints.png"), + ::anno::key_words(string[]("metal", "pure", "design", "smudged", "reflective", "infinite tiling", "smooth", "conductor", "new", "polished", "Silver")) +]] += Silver( + infinite_tiling: true, + roughness: 0.23f, + smudges: 1.0f, + enable_round_corners: false, + radius: 0.03f, + across_materials: false, + texture_translate: float2(0.0f, 0.0f), + texture_rotate: 0.0f, + texture_scale: float2(1.0f, 1.0f), + uv_space_index: 0, + normal: ::state::normal() +); + + + +/* +- Aluminum + 0.911810895428,0.914089043421,0.920152876196 + +- Copper + 0.9654565, 0.6899602, 0.4830392 + +- Chromium + 0.549302, 0.5560554, 0.5542377 + +- Iron + 0.5293683, 0.5132565, 0.4942483 + +- Gold + 1.0,0.722306985258,0.340058756743 + +- Nickel + 0.696691094703,0.640529134605,0.563260231405 + +- Platinum + 0.678533319955,0.639590890417,0.583638675413 + +- Mercury + 0.780978740699,0.779541528985,0.778441417779 + +- Silver + 0.9614253056,0.948983344333,0.918968346466 + +- Titanium + 0.618264052974,0.579396264956,0.542545225681 + +- Tungsten + 0.951001417565,0.815051845356,0.751931718925 + +- Zinc + 0.87467950988,0.868943040106,0.855089634324 + + +*/ diff --git a/texture/material_0465/Silver_Brushed.mdl b/texture/material_0465/Silver_Brushed.mdl new file mode 100644 index 0000000000000000000000000000000000000000..b2f70f159f3fac897732a1462bdb92b829d36f5c --- /dev/null +++ b/texture/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/texture/material_0466/Silver_Foil.mdl b/texture/material_0466/Silver_Foil.mdl new file mode 100644 index 0000000000000000000000000000000000000000..05a8ccab3a4e8c75f676f12f592610a411a2145f --- /dev/null +++ b/texture/material_0466/Silver_Foil.mdl @@ -0,0 +1,501 @@ +/****************************************************************************** + * 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::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 = "Metal foil material with additional controls for wrinkling the material"; + +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 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); +} + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +export material Silver_Foil( + uniform bool infinite_tiling = true [[ + ::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("Infinite Tiing") + ]], + float brightness = 1.f [[ + ::anno::description("Ajusts the total reflectivity of the metal."), + ::anno::display_name("Brightness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float roughness = 0.15f [[ + ::anno::display_name("Roughness"), + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float roughness_variation = 0.564f [[ + ::anno::description("Amount of variation applied to the roughness, higher numbers add more non uniform appearance to the reflectivity of the material."), + ::anno::display_name("Roughness Variation"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float smudges = 0.35f [[ + ::anno::description("Adds blurrier reflections that show smudges on the surface."), + ::anno::display_name("Smudges"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + uniform float bump_strength = 0.05f [[ + ::anno::description("Specifies the strength of the bump."), + ::anno::display_name("Bump Strength"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + 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.0f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Texture Rotate"), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(0.4, 0.4)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::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 radius = 0.002f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Round Corner Radius"), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = false [[ + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Foil - Slightly Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Foil.Silver_Foil.png"), + ::anno::key_words(string[]("design", "metal", "silver", "foil", "smooth", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.9614253056f, 0.948983344333f, 0.918968346466f); // Silver + color grazing_reflectivity = color(0.99942f, 1.f, 1.f); + + texture_2d rough_ao_tex = texture_2d("./foil_crumpled_R_rough1_G_rough2_G_ao.jpg", ::tex::gamma_linear); + texture_2d smudge_splotch_tex = texture_2d("./foil_crumpled_R_smudge_G_splotch.jpg", ::tex::gamma_linear); + texture_2d norm_tex = texture_2d("./foil_crumpled_norm.jpg", ::tex::gamma_linear); + + bool tmp0 = false; + material_surface tmp1( + ::df::weighted_layer(0.0299999993f, ::df::microfacet_ggx_smith_bsdf(0.300000012f, 0.300000012f, color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::color_custom_curve_layer(normal_reflectivity, grazing_reflectivity, 5.f, color(::math::lerp(0.600000024f, 1.f, brightness) * histogram_scan_big(::math::pow(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], 2.20000005f), 1.f, bump_strength * 0.400000006f)), ::df::microfacet_ggx_smith_bsdf((histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]) * (histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]), (histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]) * (histogram_range(float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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], roughness * 0.5f * roughness_variation, roughness * 0.5f) + roughness * 0.5f * roughness_variation * (float3(infinite_tiling ? endless_texture(rough_ao_tex, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.328999996f, 0.513999999f, 0.764999986f), 8.f, false) : ::base::file_texture(rough_ao_tex, 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] - 0.5f) + (1.f - roughness) * smudges * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[0] + roughness_variation * 0.200000003f * float3(infinite_tiling ? endless_texture(smudge_splotch_tex, ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.0820000023f), 8.f, false) : ::base::file_texture(smudge_splotch_tex, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, ::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).tint)[1]), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), bsdf(), infinite_tiling ? endless_normal(norm_tex, bump_strength * 1.5f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.5f, 0.5f, 1.f), 8.f) : ::base::tangent_space_normal_texture(norm_tex, bump_strength * 1.5f, false, false, 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, 1.f, 0.f)), infinite_tiling ? endless_normal(norm_tex, bump_strength * 1.5f, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 8.f, float3(0.5f, 0.5f, 1.f), 8.f) : ::base::tangent_space_normal_texture(norm_tex, bump_strength * 1.5f, false, false, 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, 1.f, 0.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, + enable_round_corners ? ::state::rounded_corner_normal(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_Foil_Smudged_Foil(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Foil - Smudgy Foil"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Foil.Silver_Foil_Smudged_Foil.png"), + ::anno::key_words(string[]("design", "metal", "silver", "foil", "smooth", "unfinished", "decorative", "creative", "neutral")) +]] += Silver_Foil( + infinite_tiling: true, + roughness: 0.15f, + roughness_variation: 0.84f, + smudges: 0.35f, + bump_strength: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + +export material Silver_Foil_Shiny_Wrinkled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Foil - Shiny Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Foil.Silver_Foil_Shiny_Wrinkled.png"), + ::anno::key_words(string[]("design", "metal", "silver", "foil", "shiny", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral")) +]] += Silver_Foil( + infinite_tiling: true, + roughness: 0.25f, + roughness_variation: 0.25f, + smudges: 0.75f, + bump_strength: 0.25f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + + +export material Silver_Foil_Matte_Wrinkled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Foil - Matte Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Foil.Silver_Foil_Matte_Wrinkled.png"), + ::anno::key_words(string[]("design", "metal", "silver", "foil", "matte", "smooth", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral", "gray")) +]] += Silver_Foil( + infinite_tiling: true, + roughness: 0.65f, + roughness_variation: 1.0f, + smudges: 0.4f, + bump_strength: 0.15f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + +export material Silver_Foil_Heavy_Glossy_Wrinkles(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Foil - Heavy Glossy Wrinkles"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Foil.Silver_Foil_Heavy_Glossy_Wrinkles.png"), + ::anno::key_words(string[]("design", "metal", "silver", "foil", "smooth", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral")) +]] += Silver_Foil( + infinite_tiling: true, + roughness: 0.164f, + roughness_variation: 0.021f, + smudges: 0.143f, + bump_strength: 0.99f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + +export material Silver_Foil_Heavy_Matte_Wrinkled(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Foil - Heavy Matte Wrinkled"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Foil.Silver_Foil_Heavy_Matte_Wrinkled.png"), + ::anno::key_words(string[]("design", "metal", "silver", "foil", "matte", "bumped", "crumpled", "wrinkled", "creased", "unfinished", "decorative", "creative", "neutral", "gray")) +]] += Silver_Foil( + infinite_tiling: true, + roughness: 0.889f, + roughness_variation: 0.018f, + smudges: 0.246f, + bump_strength: 0.732f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 0.002f, + across_materials: false +); + + + + + + + + + + + + + + diff --git a/texture/material_0467/Silver_Hammered.mdl b/texture/material_0467/Silver_Hammered.mdl new file mode 100644 index 0000000000000000000000000000000000000000..036cba7f25fb9bda2a0c4d843e2ac1e09fd943e1 --- /dev/null +++ b/texture/material_0467/Silver_Hammered.mdl @@ -0,0 +1,263 @@ +/****************************************************************************** + * 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 ::math::*; +import ::base::*; +import ::df::*; +import ::nvidia::core_definitions::*; +import ::state::*; +import ::tex::*; + + +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 hammered metal material"; + + + +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; + + 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)); +} + +export material Silver_Hammered( + color metal_color = color(0.767f, 0.759f, 0.737f) [[ + ::anno::description("Adjusts the reflection color of the metal material."), + ::anno::display_name("Metal Color"), + ::anno::in_group("Appearance") + ]], + float roughness = 0.5f [[ + ::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) + ]], + float diffuse_variation = 0.8f [[ + ::anno::description("Adds grime, dirt and imperfections."), + ::anno::display_name("Variation"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float bump_strength = 0.8f [[ + ::anno::description("Determines the degree of bumpiness."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + + 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") + ]], + 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") + ]], + 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") + ]], + 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") + ]], + float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Texture Scale"), + ::nvidia::core_definitions::dimension(float2(.4f, 0.4f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Use selected UV space."), + ::anno::display_name("UV Space index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::display_name("Hammered Silver - Dark Pits"), + ::anno::author("NVIDIA vMaterials"), + ::anno::in_group("Metal"), + ::anno::key_words(string[]("metal", "silver", "blackened", "hammered", "design", "classic", "architecture", "pattern", "reflective", "rough", "bumped", "conductor")), + ::anno::thumbnail("./.thumbs/Silver_Hammered.Silver_Hammered.png"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT) +]] + = + let { + bool tmp0 = false; + material_surface tmp1(::df::weighted_layer(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::df::directional_factor(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(metal_color, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_multiply, diffuse_variation).tint, color(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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]), ::base::color_layer_overlay, diffuse_variation).tint, color(1.f, 1.f, 1.f), 3.f, ::df::microfacet_ggx_smith_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono * nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono, nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono * nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono, color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, "")), ::df::custom_curve_layer(0.0399999991f, 1.f, 5.f, 1.f, ::df::microfacet_ggx_smith_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono * nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono, nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono * nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(color(histogram_range(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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], ::math::lerp(0.40200001f, 0.245000005f, roughness), ::math::lerp(0.234000012f, 0.395000011f, roughness))), color(float3(::base::file_texture(texture_2d("./hammered_multi_R_rough_G_corrspots_B_metal.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, ::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]), ::base::color_layer_add, ::math::lerp(0.582000017f, 0.280000001f, roughness)).tint, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.70600003f, 0.560000002f, roughness)).tint, color(::math::pow(1.f - float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_add, ::math::lerp(0.185000002f, 0.960000038f, roughness)).mono, color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(metal_color, color(::math::pow(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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], 2.20000005f)), ::base::color_layer_multiply, diffuse_variation).tint, color(float3(::base::file_texture(texture_2d("./hammered_multi_R_pit_G_ao_B_hammer.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, ::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]), ::base::color_layer_overlay, diffuse_variation).tint, 0.f, ""), bsdf(), ::base::tangent_space_normal_texture(texture_2d("./hammered_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.f)), ::base::tangent_space_normal_texture(texture_2d("./hammered_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.f)), ::base::tangent_space_normal_texture(texture_2d("./hammered_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, 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, 1.f, 0.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()); + hair_bsdf tmp6 = hair_bsdf(); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5, + hair: tmp6); + + +export material Silver_Hammered_Shiny(*) +[[ + ::anno::display_name("Hammered Silver - Shiny"), + ::anno::author("NVIDIA vMaterials"), + ::anno::in_group("Metal"), + ::anno::key_words(string[]("metal", "silver", "hammered", "design", "classic", "architecture", "pattern", "reflective", "rough", "bumped", "conductor", "shiny")), + ::anno::thumbnail("./.thumbs/Silver_Hammered.Silver_Hammered_Shiny.png"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT) +]] + = Silver_Hammered( + metal_color: color(0.767f, 0.759f, 0.737f), + roughness: 0.3f, + diffuse_variation: 0.2f, + bump_strength: 0.5f, + roundcorners_enable:false, + roundcorners_radius_mm: 1.5f, + roundcorners_across_materials: false, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + uv_space_index: 0 +); + +export material Silver_Hammered_Dull(*) +[[ + ::anno::display_name("Hammered Silver - Dull"), + ::anno::author("NVIDIA vMaterials"), + ::anno::in_group("Metal"), + ::anno::key_words(string[]("metal", "silver", "hammered", "design", "classic", "architecture", "pattern", "reflective", "rough", "bumped", "conductor", "matte", "dull")), + ::anno::thumbnail("./.thumbs/Silver_Hammered.Silver_Hammered_Dull.png"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT) +]] + = Silver_Hammered( + metal_color: color(0.767f, 0.759f, 0.737f), + roughness: 1.0f, + diffuse_variation: 0.4f, + bump_strength: 0.8f, + roundcorners_enable:false, + roundcorners_radius_mm: 1.5f, + roundcorners_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/texture/material_0468/Silver_Knurling.mdl b/texture/material_0468/Silver_Knurling.mdl new file mode 100644 index 0000000000000000000000000000000000000000..22e7baa8b2c8eea9e7064133296847633aa1930b --- /dev/null +++ b/texture/material_0468/Silver_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 Silver_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 Silver"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Knurling.Silver_Knurling.png"), + ::anno::key_words(string[]("metal", "silver", "knurled", "knurling", "pattern", "design", "bumped")), + ::anno::contributor("Ruediger Raab"), + ::anno::author("NVIDIA vMaterials") +]] += let +{ + color metal_tint = color(0.9614253056f, 0.948983344333f, 0.918968346466f); // Silver + + // 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 Silver_Knurling_Worn(*) +[[ + ::anno::display_name("Metal Knurling - Silver Worn"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Silver_Knurling.Silver_Knurling_Worn.png"), + ::anno::key_words(string[]("metal", "silver", "knurled", "pattern", "knurling", "design", "bumped", "worn")), + ::anno::contributor("Ruediger Raab"), + ::anno::author("NVIDIA vMaterials") +]] = Silver_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/texture/material_0469/Silver_Scratched.mdl b/texture/material_0469/Silver_Scratched.mdl new file mode 100644 index 0000000000000000000000000000000000000000..86f6b1a78bbbfdbd6cdb5bcec7b6235b458b7d75 --- /dev/null +++ b/texture/material_0469/Silver_Scratched.mdl @@ -0,0 +1,596 @@ +/****************************************************************************** + * 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 scratched metal material"; + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + +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; +} + +::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 +) +{ + 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); + float c = ::math::cos(rotation); + 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)); +} + +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); +} + + +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); +} + +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); +} + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + + +// 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)); +} + + + + +export material Silver_Scratched( + 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") + ]], + float roughness_metal_surface = 1.0f [[ + ::anno::description("The overall roughness of the metal surface."), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + float roughness_variation = 0.208f [[ + ::anno::description("Adds more roughness variation to the scratched metal material."), + ::anno::display_name("Roughness Variation"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + float brightness = 0.55f [[ + ::anno::display_name("Brightness"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + float brightness_variation = 0.3f [[ + ::anno::description("Adds brightness variation to the metal . Has no effect as soon as the of the material is full on."), + ::anno::display_name("Brightness Variation"), + ::anno::in_group("Appearance", "Metal"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float bump_factor = 0.187f [[ + ::anno::display_name("Bump Factor"), + ::anno::in_group("Appearance", "Metal"), + ::anno::soft_range(0.f, 2.f) + ]], + +// Scratches + float roughness_scratches = 0.145f [[ + ::anno::description("Sets the roughness of the scratches"), + ::anno::display_name("Roughness"), + ::anno::in_group("Appearance", "Scratches"), + ::anno::hard_range(0.f, 1.f) + ]], + float scratches_variation = 0.3f [[ + ::anno::display_name("Variation"), + ::anno::in_group("Appearance", "Scratches"), + ::anno::hard_range(0.f, 1.f) + ]], + uniform float scratches_bump_factor = 0.435f [[ + ::anno::display_name("Bump Factor"), + ::anno::in_group("Appearance", "Scratches"), + ::anno::soft_range(0.f, 2.f) + ]], + +// Dirt + float dirt_transition_softness = 0.85f [[ + ::anno::description("Controls the softness of the dirt-metal transition."), + ::anno::display_name("Dirt Transition Softness"), + ::anno::in_group("Appearance", "Dirt Layer"), + ::anno::hard_range(0.f, 1.f) + ]], + float dirt_amount = 0.212f [[ + ::anno::description("Adds dirt and grime on top of the scratched metal. Note that the dirt layer also infoences the roughness of the material."), + ::anno::display_name("Dirt Amount"), + ::anno::in_group("Appearance", "Dirt Layer"), + ::anno::hard_range(0.f, 1.f) + ]], + + +// Transform + uniform float2 texture_translate = 0.f [[ + ::anno::display_name("Translate"), + ::anno::description("Offsets the position of the material."), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates the material."), + ::anno::display_name("Rotate"), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.0f [[ + ::anno::description("Scales the material."), + ::anno::display_name("Scale"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + + + +// Round Corners + 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("Round Corners"), + ::anno::in_group("Round Corners") + ]], + uniform float radius_mm = 0.f [[ + ::anno::description("Radius of the rounded corners."), + ::anno::display_name("Corner Radius"), + ::anno::in_group("Round Corners") + ]], + uniform bool across_materials = true [[ + ::anno::description("Applies the round corner effect across different materials when enabled."), + ::anno::display_name("Across Materials"), + ::anno::in_group("Round Corners") + ]], + +// Advanced + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Scratched"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "silver", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "neutral", "gray")), + ::anno::thumbnail("./.thumbs/Silver_Scratched.Silver_Scratched.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = + let { + float brush_scratches_weight = 0.5f; + // Silver Reflection Color + color reflection_color = color(0.9614253056f, 0.948983344333f, 0.918968346466f); // Silver + float radius = radius_mm * 0.001; + bool tmp0 = false; + material_surface tmp1( + ::df::weighted_layer(::math::pow(1.f - float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[2], 0.537f) * (histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.899999976f), ::df::diffuse_reflection_bsdf(color(0.0116450004f, 0.00893499982f, 0.00379400002f), 0.f, ""), ::df::color_custom_curve_layer(reflection_color, color(1.f, 1.f, 1.f), 5.f, color(::math::clamp(::math::lerp(0.f, ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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]), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation))) + histogram_range(::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], 2.20000005f), brightness_variation, ::math::lerp(0.173000008f, 0.850000024f, brightness)), 0.f, 1.f)), ::df::microfacet_ggx_smith_bsdf((::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f) * (::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f), (::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f) * (::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], roughness_variation, ::math::lerp(0.f, 0.588999987f, roughness_metal_surface)), roughness_scratches, ::math::lerp(0.f, ::math::max(brush_scratches_weight * float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], ::math::max(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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], float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.109999999f, 0.105999999f, 0.184f), 3.52000022f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_scratch1_G_scratch2_B_scratch3.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, ::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])), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation)))) + histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[0], dirt_transition_softness, ::math::lerp(0.782999992f, 0.305999994f, dirt_amount)) * 0.400000006f), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), bsdf(), add_detail_normal(::math::lerp(::state::normal(), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.991999984f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, 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, 1.f, 0.f), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation))), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.995999992f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, 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, 1.f, 0.f))), add_detail_normal(::math::lerp(::state::normal(), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.991999984f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), scratches_bump_factor, false, false, 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, 1.f, 0.f), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), ::base::coordinate_source(::base::texture_coordinate_uvw, 0), 10.f, float3(0.455000013f, 0.50999999f, 0.73299998f), 8.f, false) : ::base::file_texture(texture_2d("./metal_scratched_R_diff_G_scratchvar_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, ::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).tint)[1], 0.666000009f, ::math::lerp(0.159999996f, 0.600000024f, scratches_variation))), infinite_tiling ? endless_normal(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 3.52000022f, float3(0.497999996f, 0.497999996f, 0.995999992f), 3.52000022f) : ::base::tangent_space_normal_texture(texture_2d("./metal_scratched_scratch_norm.jpg", ::tex::gamma_linear), bump_factor, false, false, 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, 1.f, 0.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, + enable_round_corners ? ::state::rounded_corner_normal(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_Scratched_Light_Bumpy(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Scratched - Bright and Bumped"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "silver", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "neutral", "gray", "shiny")), + ::anno::thumbnail("./.thumbs/Silver_Scratched.Silver_Scratched_Light_Bumpy.png"), + ::anno::copyright_notice(COPYRIGHT) +]]= Silver_Scratched( + infinite_tiling: true, + roughness_metal_surface: 1.0f, + roughness_variation: 0.21f, + brightness: 0.75f, + brightness_variation: 0.3f, + bump_factor: 1.0f, + roughness_scratches: 0.145f, + scratches_variation: 0.3f, + scratches_bump_factor: 0.25f, + dirt_transition_softness: 0.85f, + dirt_amount: 0.05f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + + +export material Silver_Scratched_Dark_Shiny(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Scratched - Dark Shiny"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "silver", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "neutral", "gray", "shiny", "dark")), + ::anno::thumbnail("./.thumbs/Silver_Scratched.Silver_Scratched_Dark_Shiny.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Silver_Scratched( + infinite_tiling: true, + roughness_metal_surface: 0.28f, + roughness_variation: 0.517f, + brightness: 0.35f, + brightness_variation: 0.43f, + bump_factor: 0.26f, + roughness_scratches: 0.21f, + scratches_variation: 0.76f, + scratches_bump_factor: 0.23f, + dirt_transition_softness: 0.98f, + dirt_amount: 0.06f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + +export material Silver_Scratched_Dark_Matte(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Scratched - Dark Matte"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "silver", "scratched", "worn", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "neutral", "gray", "matte", "dark")), + ::anno::thumbnail("./.thumbs/Silver_Scratched.Silver_Scratched_Dark_Matte.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Silver_Scratched( + infinite_tiling: true, + roughness_metal_surface: 1.0f, + roughness_variation: 0.21f, + brightness: 0.023f, + brightness_variation: 0.119f, + bump_factor: 0.521f, + roughness_scratches: 0.28f, + scratches_variation: 0.86f, + scratches_bump_factor: 1.0f, + dirt_transition_softness: 0.85f, + dirt_amount: 0.057f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + + + +export material Silver_Scratched_Scuffs_and_Grime(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Scratched - Scuffs and Grime"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "silver", "scratched", "worn", "dirty", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "neutral", "gray", "matte", "dark")), + ::anno::thumbnail("./.thumbs/Silver_Scratched.Silver_Scratched_Scuffs_and_Grime.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Silver_Scratched( + infinite_tiling: true, + roughness_metal_surface: 0.756f, + roughness_variation: 0.208f, + brightness: 0.948f, + brightness_variation: 0.119f, + bump_factor: 1.848f, + roughness_scratches: 0.099f, + scratches_variation: 0.075f, + scratches_bump_factor: 0.903f, + dirt_transition_softness: 0.85f, + dirt_amount: 1.0f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); + + + + +export material Silver_Scratched_Dirty_Rough(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Silver Scratched - Dirty Rough"), + ::anno::description(DESCRIPTION), + ::anno::key_words(string[]("metal", "silver", "scratched", "worn", "dirt", "dirty", "old", "aged", "oxidized", "scratches", "infinite tiling", "rough", "bumped", "neutral", "gray", "matte", "dark")), + ::anno::thumbnail("./.thumbs/Silver_Scratched.Silver_Scratched_Dirty_Rough.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Silver_Scratched( + infinite_tiling: true, + roughness_metal_surface: 1.0f, + roughness_variation: 0.208f, + brightness: 0.8f, + brightness_variation: 0.838f, + bump_factor: 1.914f, + roughness_scratches: 0.35f, + scratches_variation: 0.0f, + scratches_bump_factor: 0.903f, + dirt_transition_softness: 0.901f, + dirt_amount: 0.581f, + texture_translate: 1.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + enable_round_corners: false, + radius_mm: 1.5, + across_materials: true, + uv_space_index: 0 +); diff --git a/texture/material_0470/Silver_Sheet.mdl b/texture/material_0470/Silver_Sheet.mdl new file mode 100644 index 0000000000000000000000000000000000000000..388cb78de3774b0e90863cc32ea6132fb877a5c9 --- /dev/null +++ b/texture/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/texture/material_0482/Titanium_Brushed.mdl b/texture/material_0482/Titanium_Brushed.mdl new file mode 100644 index 0000000000000000000000000000000000000000..b23a9c005e34e8d59e1fd584b516e933bf4d1eb4 --- /dev/null +++ b/texture/material_0482/Titanium_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 Titanium_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 Titanium - Strong Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Titanium_Brushed.Titanium_Brushed.png"), + ::anno::key_words(string[]("aec", "metal", "titanium", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] + = + let { + color normal_reflectivity = color(0.618264052974f, 0.579396264956f, 0.542545225681f); // Titanium + 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 Titanium_Brushed_Light_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Titanium - Light Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Titanium_Brushed.Titanium_Brushed_Light_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "titanium", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] + = Titanium_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 Titanium_Brushed_Medium_Light_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Titanium - Medium Light Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Titanium_Brushed.Titanium_Brushed_Medium_Light_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "titanium", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Titanium_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 Titanium_Brushed_Medium_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Titanium - Medium Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Titanium_Brushed.Titanium_Brushed_Medium_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "titanium", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Titanium_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 Titanium_Brushed_Very_Strong_Brushing(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Brushed Titanium - Very Strong Brushing"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Titanium_Brushed.Titanium_Brushed_Very_Strong_Brushing.png"), + ::anno::key_words(string[]("aec", "metal", "titanium", "brushed", "kitchen", "design", "modern", "reflective", "shiny", "architecture", "sanitary", "new", "gray", "neutral")) +]] += Titanium_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/texture/material_0498/Zinc_Galvanizing.mdl b/texture/material_0498/Zinc_Galvanizing.mdl new file mode 100644 index 0000000000000000000000000000000000000000..c60483f76edf17f4b941e7719f5947b06ee55f7c --- /dev/null +++ b/texture/material_0498/Zinc_Galvanizing.mdl @@ -0,0 +1,494 @@ +/****************************************************************************** + * 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 ::math::*; +import ::state::*; +import ::tex::*; +import ::df::*; +import ::nvidia::core_definitions::*; +import ::nvidia::core_definitions::dimension; + +const string DESCRIPTION = "Zinc material with optional oxidation effect"; + +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"; + + +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); +} + +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); +} + +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); +} + + float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 + //bool srgb2rgb = false, + //bool rgb2srgb = false +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); + //return ::state::normal(); +} + + 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 + )); +} + + 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; + + 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 Zinc_Galvanizing( + uniform bool infinite_tiling = true [[ + ::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"), + ::anno::ui_order(0) + ]], + float zinc_roughness = 0.39f [[ + ::anno::description("The roughness of the zinc crystals."), + ::anno::display_name("Zinc Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(1) + ]], + float oxidation_amount = 0.08f [[ + ::anno::description("Controls the amount of oxidation on the material."), + ::anno::display_name("Oxidation Amount"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(2) + ]], + float oxide_roughness = 0.79f [[ + ::anno::description("Controls the roughness of the oxidation on the material. Only visible if Oxidation Amount is greater than 0."), + ::anno::display_name("Oxide Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(3) + ]], + float dirt_spots_weight = 0.18f [[ + ::anno::description("Adds dirty spots to the material."), + ::anno::display_name("Dirt Spots Weight"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(4) + ]], + float leak_dirt_weight = 0.03f [[ + ::anno::description("Adds leaky dirt to the material."), + ::anno::display_name("Leak Dirt Weight"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(5) + ]], + uniform float bump_strength = 0.28f [[ + ::anno::description("The Strength of the bump map."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f), + ::anno::ui_order(6) + ]], + 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(7) + ]], + 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), + ::anno::ui_order(8) + ]], + uniform 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.7f, 0.7f)), + ::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 in millimeters."), + ::anno::display_name("Round Corner Radius (mm)"), + ::anno::in_group("Round Corners"), + ::anno::soft_range(0.f, 10.f), + ::anno::ui_order(11) + ]], + uniform bool roundcorners_across_materials = true [[ + ::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) + ]], + 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(13) + ]]) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Zinc Galvanizing - New Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("metal", "zinc", "infinite", "tiling", "construction", "architecture", "galvanized", "coated", "new", "metallic", "shiny", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab"), + ::anno::thumbnail("./.thumbs/Zinc_Galvanizing.Zinc_Galvanizing.png") +]] + = + let { + material_surface tmp1(::df::weighted_layer(::math::max(::math::pow(dirt_spots_weight * float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.153999999f, 0.501999974f, 0.493999988f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.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, ::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).x, 1.18999994f), ::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).y, 0.729999959f) * (leak_dirt_weight * 0.379999995f)), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(color(0.f, 0.f, 0.f), nvidia::core_definitions::blend_colors(color(0.212230995f, 0.186502993f, 0.166861996f), color(0.266355991f, 0.240462005f, 0.225070998f), ::base::color_layer_blend, histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).x, 0.469999999f, 0.170000002f)).tint, ::base::color_layer_blend, ::math::max(::math::pow(dirt_spots_weight * float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.153999999f, 0.501999974f, 0.493999988f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.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, ::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).x, 1.18999994f), ::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).y, 0.729999959f) * (leak_dirt_weight * 0.379999995f))).tint, 0.f), bsdf(), infinite_tiling ? endless_normal(texture_2d("./zinc_galvanized_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.5f, 0.5f, 0.996999979f), 3.f) : nvidia::core_definitions::normalmap_texture(texture_2d("./zinc_galvanized_normal.jpg", ::tex::gamma_linear), 1.f / texture_scale * 4.f, texture_translate, texture_rotate, false, bump_strength, uv_space_index)), ::df::weighted_layer(1.f, ::df::microfacet_ggx_smith_bsdf((dirt_spots_weight * float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.153999999f, 0.501999974f, 0.493999988f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.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, ::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).x + ::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.153999999f, 0.501999974f, 0.493999988f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.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, ::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).y, 0.419999987f, zinc_roughness * 0.400000006f + 0.400000006f), ::math::lerp(::math::clamp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).x, 1.f, oxide_roughness * 0.219999999f + 0.600000024f), 0.f, 1.f), float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).z, ::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).y, 0.729999959f) * (leak_dirt_weight * 0.25f)), oxidation_amount) + ::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).y, 0.729999959f) * (leak_dirt_weight * 0.25f)) * (dirt_spots_weight * float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.153999999f, 0.501999974f, 0.493999988f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.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, ::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).x + ::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.153999999f, 0.501999974f, 0.493999988f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.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, ::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).y, 0.419999987f, zinc_roughness * 0.400000006f + 0.400000006f), ::math::lerp(::math::clamp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).x, 1.f, oxide_roughness * 0.219999999f + 0.600000024f), 0.f, 1.f), float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).z, ::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).y, 0.729999959f) * (leak_dirt_weight * 0.25f)), oxidation_amount) + ::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).y, 0.729999959f) * (leak_dirt_weight * 0.25f)), (dirt_spots_weight * float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.153999999f, 0.501999974f, 0.493999988f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.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, ::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).x + ::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.153999999f, 0.501999974f, 0.493999988f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.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, ::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).z, 0.419999987f, zinc_roughness * 0.400000006f + 0.400000006f), ::math::lerp(::math::clamp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).x, 1.f, oxide_roughness * 0.219999999f + 0.600000024f), 0.f, 1.f), float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).z, ::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).y, 0.729999959f) * (leak_dirt_weight * 0.25f)), oxidation_amount) + ::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).y, 0.729999959f) * (leak_dirt_weight * 0.25f)) * (dirt_spots_weight * float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.153999999f, 0.501999974f, 0.493999988f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.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, ::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).x + ::math::lerp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.153999999f, 0.501999974f, 0.493999988f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_dirt_G_urough_B_vrough.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, ::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).z, 0.419999987f, zinc_roughness * 0.400000006f + 0.400000006f), ::math::lerp(::math::clamp(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).x, 1.f, oxide_roughness * 0.219999999f + 0.600000024f), 0.f, 1.f), float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).z, ::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).y, 0.729999959f) * (leak_dirt_weight * 0.25f)), oxidation_amount) + ::math::pow(float3(infinite_tiling ? endless_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.379000008f, 0.689999998f, 0.750999987f), 3.f, false) : ::base::file_texture(texture_2d("./zinc_galvanized_multi_R_base_G_dirtmask_B_dirt.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, ::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).y, 0.729999959f) * (leak_dirt_weight * 0.25f)), color(0.450940013f, 0.512027025f, 0.590619028f), color(0.f, 0.f, 0.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), bsdf(), infinite_tiling ? endless_normal(texture_2d("./zinc_galvanized_normal.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale * 0.25f, ::base::texture_coordinate_uvw, uv_space_index), 2.72000003f, float3(0.5f, 0.5f, 0.996999979f), 3.f) : nvidia::core_definitions::normalmap_texture(texture_2d("./zinc_galvanized_normal.jpg", ::tex::gamma_linear), 1.f / texture_scale * 4.f, texture_translate, texture_rotate, false, bump_strength, uv_space_index)), ::state::normal()), 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(0.f, roundcorners_across_materials, roundcorners_radius_mm) : ::state::normal()); + } in + material( + thin_walled: false, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + +export material Zinc_Rough_Crystals(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Zinc Galvanizing - Rough Crystals"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("metal", "zinc", "infinite", "tiling", "construction", "architecture", "galvanized", "coated", "metallic", "rough", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab"), + ::anno::thumbnail("./.thumbs/Zinc_Galvanizing.Zinc_Rough_Crystals.png") +]] = Zinc_Galvanizing ( + infinite_tiling: true, + zinc_roughness: 0.83f, + oxidation_amount: 0.08f, + oxide_roughness: 0.79f, + dirt_spots_weight: 0.18f, + leak_dirt_weight: 0.03f, + bump_strength: 0.28, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.8f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +export material Zinc_Rough_Medium_Oxidized(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Zinc Galvanizing - Medium Oxidized"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("metal", "zinc", "infinite", "tiling", "construction", "architecture", "galvanized", "oxidized", "aged", "old", "coated", "dirty", "metallic", "rough", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab"), + ::anno::thumbnail("./.thumbs/Zinc_Galvanizing.Zinc_Rough_Medium_Oxidized.png") +]] = Zinc_Galvanizing ( + infinite_tiling: true, + zinc_roughness: 0.83f, + oxidation_amount: 0.08f, + oxide_roughness: 0.79f, + dirt_spots_weight: 0.18f, + leak_dirt_weight: 0.03f, + bump_strength: 0.28, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.8f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + +export material Zinc_Rough_Heavy_Shiny_Oxidized(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Zinc Galvanizing - Heavy Shiny Oxidized"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("metal", "zinc", "infinite", "tiling", "construction", "architecture", "galvanized", "oxidized", "aged", "old", "coated", "dirty", "metallic", "rough", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab"), + ::anno::thumbnail("./.thumbs/Zinc_Galvanizing.Zinc_Rough_Heavy_Shiny_Oxidized.png") +]] = Zinc_Galvanizing ( + infinite_tiling: true, + zinc_roughness: 0.29f, + oxidation_amount: 0.82f, + oxide_roughness: 0.21f, + dirt_spots_weight: 0.59f, + leak_dirt_weight: 0.57f, + bump_strength: 0.56, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.8f, + roundcorners_across_materials: false, + uv_space_index: 0 +); + + +export material Zinc_Dirty_Rough_Oxidized(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Zinc Galvanizing - Dirty Rough"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("metal", "zinc", "infinite", "tiling", "construction", "architecture", "galvanized", "oxidized", "aged", "worn", "old", "coated", "dirty", "metallic", "rough", "gray")), + ::anno::author("NVIDIA vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab"), + ::anno::thumbnail("./.thumbs/Zinc_Galvanizing.Zinc_Dirty_Rough_Oxidized.png") +]] = Zinc_Galvanizing ( + infinite_tiling: true, + zinc_roughness: 0.29f, + oxidation_amount: 0.82f, + oxide_roughness: 0.72f, + dirt_spots_weight: 0.86f, + leak_dirt_weight: 0.73f, + bump_strength: 1.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0f, + roundcorners_enable: false, + roundcorners_radius_mm: 0.8f, + roundcorners_across_materials: false, + uv_space_index: 0 +); \ No newline at end of file diff --git a/texture/material_0508/Caoutchouc.mdl b/texture/material_0508/Caoutchouc.mdl new file mode 100644 index 0000000000000000000000000000000000000000..51d8fc9e28ac63ba9a6a037ee5e135c4e3d1ff21 --- /dev/null +++ b/texture/material_0508/Caoutchouc.mdl @@ -0,0 +1,3467 @@ +/****************************************************************************** + * 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::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 simple rubber material."; +const string DESCRIPTION_LATEX = "A material made from natural rubber."; +const string DESCRIPTION_NITRILE = "Nitrile is a synthetic material (nitrile butadiene) made from petroleum."; +const string DESCRIPTION_SILICONE = "A material with molecular chains consisting of silicon and oxygen as well as a proportion of hydrogen and carbon."; +const string DESCRIPTION_ERASER = "A material for removing pencil or ink marks."; + +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 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; +} + +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 remap_xy_to_0_1(float input, float x, float y) +{ + return (input - x)/(y - x); +} + +float histogram_scan(float input, float width, float position) +{ + float low = ::math::clamp(1.0f - position * 2.0, 0.0f ,1.0f); + float high = ::math::clamp(position > 0.5f ? 1.0 : 2.0f - 2 * position, 0.0f, 1.0f); + //float center = (low + high)/2.0f); + float offset = ((high - low) / 2.0) * width; + low += offset; + high -= offset; + return ::math::clamp( + remap_xy_to_0_1(input, + low, + high), + 0.0, + 1.0); +} + +::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); + //Hack: 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; + + + 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)); +} + +float3 srgb2rgb(float3 val) +{ + return ::math::pow(::math::max(val, float3(0.0f)), 2.2); +} + +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 + + 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) + + (W[1] = F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0,1)))) - m) + + (W[2] = F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1,0)))) - m); + else + O = (W[0] = -F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1)))) - m) + + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1, 0)))) - m) + + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0, 1)))) - m); + O = m + O/::math::length(W); + O = ::math::clamp( (O), 0.0, 1.0); + + return float3(O); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::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 srgb2rgb = false, + //bool rgb2srgb = false +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + state::normal()*1.0); + //return state::normal(); +} +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, .5), + 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 + )); +} +::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)); +} + +::base::texture_coordinate_info vmat_transform_post_scale( + ::base::texture_coordinate_info uvw, + float2 scale = 1.0f +) +{ + return ::base::texture_coordinate_info( + position: float3(uvw.position.x / scale.x, + uvw.position.y / scale.y, + uvw.position.z), + tangent_u: uvw.tangent_u, + tangent_v: uvw.tangent_v + ); +} + +enum unit_scale{ + unit_mm = 1, + unit_cm = 2, + unit_m = 3 +}; + +struct volume_info{ + color absorption_coefficient; + color scattering_coefficient; +}; + + + +// simplified volume coefficients +// This function takes a transmittance value and and albedo and translates it into meaningful +// scattering and volume coefficients that are userfriendly +// +volume_info volume_transmittance_albedo( + float density_scale = 1.0, + color transmittance = color(0.5f), // transmittance color after unit distance + color albedo = color(1.0f) +) +[[ + anno::noinline() +]] +{ + color sigma_t = -math::log(math::saturate(transmittance)) * density_scale; + color sigma_s = sigma_t * ::math::saturate(albedo); + return volume_info( + scattering_coefficient: sigma_s, + absorption_coefficient: sigma_t - sigma_s); +} + +// This function calculates the apropriate scattering and volume coefficients +// for a material of a given thickness. +// The user specifies the thickness of the material, e.g. 3mm and the amount +// of light passing through. The rest is automatically calculated for the material +// and the material_volume is returned. +volume_info custom_volume_transmittance( + unit_scale unit_scale_select = unit_mm, + float absorption_thickness = 3.0f, + color transmittance = color(0.5f), + color albedo = color(0.0f) +) +{ + absorption_thickness = (absorption_thickness <= 0.0f) ? 0.00001 : absorption_thickness; + float scalefactor; + switch(unit_scale_select){ + case unit_mm: scalefactor = 0.001f; break; + case unit_cm: scalefactor = 0.01f; break; + case unit_m: scalefactor = 1.0f; break; + default: scalefactor = 1.0f; + } + + + + volume_info vol_coefficients = volume_transmittance_albedo( + density_scale: 1.0f/(absorption_thickness * scalefactor), + transmittance: transmittance, + albedo: albedo + ); + + return vol_coefficients; +} + +export material Rubber( + uniform bool infinite_tiling = false [[ + ::anno::description("Enables infinite tiling feature that 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"), + ::anno::ui_order(0) + ]], + color color_2 = color(0.205079f, 0.205079f, 0.205079f) [[ + ::anno::description("Choose the color of the material."), + ::anno::display_name("Color"), + ::anno::in_group("Appearance"), + ::anno::ui_order(1) + ]], + float dust = 0.f [[ + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections. Applies a roughness layer of dust."), + ::anno::display_name("Dust"), + ::anno::in_group("Appearance", "Roughness"), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(2) + ]], + float grunge = 0.f [[ + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections. Applies a roughness layer of grunge."), + ::anno::display_name("Grunge"), + ::anno::in_group("Appearance", "Roughness"), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(3) + ]], + float sharp_grunge = 0.f [[ + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections. Applies a roughness layer of grunge with sharper edges."), + ::anno::display_name("Sharp Grunge"), + ::anno::in_group("Appearance", "Roughness"), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(4) + ]], + float reflection_scale = 1.f [[ + ::anno::description("Scales the dust, grunge and spot reflection layer."), + ::anno::display_name("Imperfection Scale"), + ::anno::in_group("Appearance", "Roughness"), + ::anno::ui_order(5) + ]], + uniform float bump_strength = 0.f [[ + ::anno::description("Specifies the strength of the bump."), + ::anno::display_name("Bump Strength"), + ::anno::in_group("Appearance", "Bump"), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(6) + ]], + float bump_scale = 1.f [[ + ::anno::description("This slider scales the bump layer."), + ::anno::display_name("Bump Scale"), + ::anno::in_group("Appearance", "Bump"), + ::anno::ui_order(7) + ]], + uniform bool subsurface_scattering = false [[ + ::anno::description("Enable light that penetrates the surface of a translucent object. While set to True it\'s a physically correct calculated SSS effect. If set to False it\'s a diffuse transmission that is cheaper to perform."), + ::anno::display_name("Subsurface Scattering"), + ::anno::in_group("Appearance", "Advanced"), + ::anno::ui_order(8) + ]], + float translucency_amount = 0.5f [[ + ::anno::description("Higher values let more light pass through the material. When subsurface scattering is enabled the effect may be more subtle as light is absorbed when it travels through the material."), + ::anno::display_name("Translucency Amount"), + ::anno::in_group("Appearance", "Advanced"), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(9) + ]], + float translucency_blur = 0.f [[ + ::anno::description("Diffusion causes the light to be scattered in different directions as it passes through the materials."), + ::anno::display_name("Diffusion"), + ::anno::in_group("Appearance", "Advanced"), + ::anno::hard_range(0.f, 1.f), + ::anno::soft_range(0.f, 1.f), + ::anno::ui_order(10) + ]], + uniform bool thin_walled = false [[ + ::anno::description("Only set this to \"True\" for thin surfaces."), + ::anno::display_name("Thin Walled"), + ::anno::in_group("Appearance", "Advanced"), + ::anno::ui_order(11) + ]], + 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(12) + ]], + 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(13) + ]], + 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(1.0f, 1.0f)), + ::anno::ui_order(14) + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Uses selected UV space for the material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Transform"), + ::anno::ui_order(15) + ]], + uniform bool enable_round_corners = false [[ + ::anno::description("Enables the round cornwer effect. Comes at a slight performance cost as additional raytracing calls are rquired to evaluate the round corner effect"), + ::anno::display_name("Round Corners"), + ::anno::in_group("Round Corners"), + ::anno::ui_order(16) + ]], + uniform float radius = 1.5f [[ + ::anno::description("Radius of the rounded corners in millimeters (mm)"), + ::anno::display_name("Radius mm"), + ::anno::in_group("Round Corners"), + ::anno::ui_order(17) + ]], + uniform bool 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(18) + ]]) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("rubber", "gray", "natural", "rough", "matte", "neutral", "caoutchouc", "wheel", "car", "automotive")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = + let { + bool tmp0 = thin_walled; + material_surface tmp1(df::custom_curve_layer(0.0399999991f, 1.f, 5.f, 1.f, df::microfacet_ggx_smith_bsdf(math::max(math::max(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[0], 1.f, 0.579999983f) * math::lerp(0.f, 1.5f, dust), float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[1] * grunge), histogram_scan(float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[2], 0.159999996f, 0.099999994f) * sharp_grunge) * math::max(math::max(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[0], 1.f, 0.579999983f) * math::lerp(0.f, 1.5f, dust), float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[1] * grunge), histogram_scan(float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[2], 0.159999996f, 0.099999994f) * sharp_grunge), math::max(math::max(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[0], 1.f, 0.579999983f) * math::lerp(0.f, 1.5f, dust), float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[1] * grunge), histogram_scan(float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[2], 0.159999996f, 0.099999994f) * sharp_grunge) * math::max(math::max(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[0], 1.f, 0.579999983f) * math::lerp(0.f, 1.5f, dust), float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[1] * grunge), histogram_scan(float3(infinite_tiling ? endless_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), 8.f, float3(0.800000012f, 0.756862998f, 0.847059011f), 8.f, false) : base::file_texture(texture_2d("./tire_multi_rough_R_fractal_sum_G_grungeA_B_BnWSpots3.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), base::mono_alpha, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(9.99999975e-05f, 1.f, reflection_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 0.f, int2(0), tex::wrap_repeat, 30.f).tint)[2], 0.159999996f, 0.099999994f) * sharp_grunge), 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(math::lerp(1.f, 0.f, translucency_amount), df::diffuse_reflection_bsdf(color_2, 0.f), df::weighted_layer(0.899999976f, df::diffuse_transmission_bsdf(color_2), df::weighted_layer(0.970000029f, df::simple_glossy_bsdf(math::lerp(0.f, 0.200000003f, translucency_blur) * math::lerp(0.f, 0.200000003f, translucency_blur), math::lerp(0.f, 0.200000003f, translucency_blur) * math::lerp(0.f, 0.200000003f, translucency_blur), color(0.752942026f, 0.752942026f, 0.752942026f), color(0.787411988f, 0.787411988f, 0.787411988f), state::texture_tangent_u(0), df::scatter_transmit), df::specular_bsdf(color(0.284646988f, 0.284646988f, 0.284646988f), df::scatter_transmit), state::normal()), state::normal()), state::normal()), infinite_tiling ? endless_normal(texture_2d("./tire_fractal_sum_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(0.00999999978f, 2.f, bump_scale))), 8.f, float3(0.501960993f, 0.501960993f, 0.988234997f), 8.f) : base::tangent_space_normal_texture(texture_2d("./tire_fractal_sum_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform_post_scale(vmat_transform(texture_translate, texture_rotate, texture_scale, base::texture_coordinate_uvw, uv_space_index), float2(math::lerp(0.00999999978f, 2.f, bump_scale))), float2(0.f, 1.f), float2(0.f, 1.f), tex::wrap_repeat, tex::wrap_repeat, false, 1.f, 0.f, 0.f, int2(0), tex::wrap_repeat, 30.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(2.61219501f, 2.61219501f, 2.61219501f); + material_volume tmp4 = subsurface_scattering ? material_volume(vdf(), custom_volume_transmittance(unit_cm, 6.f, color(0.0432340018f, 0.0432340018f, 0.0432340018f), color(0.911408007f, 0.911408007f, 0.911408007f)).absorption_coefficient, custom_volume_transmittance(unit_cm, 6.f, color(0.0432340018f, 0.0432340018f, 0.0432340018f), color(0.911408007f, 0.911408007f, 0.911408007f)).scattering_coefficient, color(0.f, 0.f, 0.f)) : 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, enable_round_corners ? state::rounded_corner_normal(radius * 0.00100000005f, across_materials, 1.f) : state::normal()); + + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + +export material Rubber_Black_Shiny(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Black Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "neutral", "shiny", "dark", "warm", "black")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.010330f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Rubber_Black_Matte(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Black Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "neutral", "matte", "dark", "warm", "black")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( infinite_tiling: false, + color_2: color(0.010330f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Rubber_Wine_Shiny(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Wine Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "shiny", "dark", "warm", "red", "wine")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.171441f,0.f,0.f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Rubber_Wine_Matte(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Wine Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "matte", "dark", "warm", "red", "wine")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.171441f,0.f,0.f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Rubber_Orange_Shiny(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Orange Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "shiny", "light", "warm", "orange")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.791298f,0.147027f,0.012983f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Rubber_Orange_Matte(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Orange Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "matte", "light", "warm", "orange")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.791298f,0.147027f,0.012983f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Rubber_Mandarin_Shiny(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Mandarin Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "shiny", "light", "warm", "mandarin")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.417885f,0.078187f,0.012983f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Rubber_Mandarin_Matte(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Mandarin Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "matte", "light", "warm", "mandarin")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.417885f,0.078187f,0.012983f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Rubber_Lemon_Shiny(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Lemon Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "shiny", "light", "warm", "lemon", "yellow")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.539479f,0.439657f,0.012983f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Rubber_Lemon_Matte(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Lemon Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "matte", "light", "warm", "lemon", "yellow")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.539479f,0.439657f,0.012983f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Rubber_Turtle_Shiny(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Turtle Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "shiny", "warm", "turtle", "green")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.056128f,0.141263f,0.012983f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Rubber_Turtle_Matte(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Turtle Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "matte", "warm", "turtle", "green")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.056128f,0.141263f,0.012983f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Rubber_Frog_Shiny(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Frog Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "shiny", "cold", "cool", "frog", "green")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.012983f,0.223228f,0.057805f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Rubber_Frog_Matte(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Frog Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "matte", "cold", "cool", "frog", "green")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.012983f,0.223228f,0.057805f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Rubber_Heaven_Shiny(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Heaven Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "shiny", "cold", "cool", "heaven", "blue", "light")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.012983f,0.456411f,0.603827f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Rubber_Heaven_Matte(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Heaven Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "matte", "cold", "cool", "heaven", "blue", "light")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.012983f,0.456411f,0.603827f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Rubber_Submarine_Shiny(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Submarine Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "shiny", "cold", "cool", "submarine", "blue")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.012983f,0.124772f,0.223228f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Rubber_Submarine_Matte(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Submarine Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "matte", "cold", "cool", "submarine", "blue")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.012983f,0.124772f,0.223228f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Rubber_Lolly_Shiny(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Lolly Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "shiny", "warm", "lolly", "pink")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.791298f,0.012983f,0.318547f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Rubber_Lolly_Matte(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Lolly Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "matte", "warm", "lolly", "pink")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.791298f,0.012983f,0.318547f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Rubber_Beet_Shiny(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Beet Shiny"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "shiny", "dark", "cold", "cool", "beet", "pink")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.084376f,0.012983f,0.030713f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Rubber_Beet_Matte(*) +[[ + ::anno::description(DESCRIPTION), + ::anno::display_name("Rubber - Beet Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "car", "tyres", "tire", "automotive", "gaskets", "mountings", "toys", "wrist bands", "gum", "matte", "dark", "cold", "cool", "beet", "pink")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.084376f,0.012983f,0.030713f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 0.2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// eraeser material appearances + +export material Eraser_Blue(*) +[[ + ::anno::description(DESCRIPTION_ERASER), + ::anno::display_name("Eraser - Blue"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "school", "eraser", "gum", "matte", "cold", "cool", "blue")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.012983f,0.028426f,0.132868f), + dust: 0.85f, + grunge: 1.f, + sharp_grunge: 1.f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:0.1f, + subsurface_scattering: false, + translucency_amount:0.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Eraser_Red(*) +[[ + ::anno::description(DESCRIPTION_ERASER), + ::anno::display_name("Eraser - Red"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "school", "eraser", "gum", "matte", "cold", "warm", "orange", "red")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.262251f,0.025187f,0.012983f), + dust: 0.85f, + grunge: 1.f, + sharp_grunge: 1.f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:0.1f, + subsurface_scattering: false, + translucency_amount:0.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Eraser_White(*) +[[ + ::anno::description(DESCRIPTION_ERASER), + ::anno::display_name("Eraser - White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "school", "eraser", "gum", "matte", "white", "neutral")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.212231f,0.187821f,0.171441f), + dust: 0.85f, + grunge: 1.f, + sharp_grunge: 1.f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:0.1f, + subsurface_scattering: false, + translucency_amount:0.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Eraser_Gray(*) +[[ + ::anno::description(DESCRIPTION_ERASER), + ::anno::display_name("Eraser - Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "school", "eraser", "gum", "matte", "gray", "neutral")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.019382f,0.017642f,0.015996f), + dust: 0.85f, + grunge: 1.f, + sharp_grunge: 1.f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:0.1f, + subsurface_scattering: false, + translucency_amount:0.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// latex material appearances +// Black +export material Latex_Black_Clean(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Black Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "clean", "black", "dark")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.012983f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:0.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Black_Soft(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Black Soft"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "soft", "smooth", "black", "dark")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.012983f), + dust: 0.3f, + grunge: 0.45f, + sharp_grunge: 0.15f, + reflection_scale: .2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Black_Transparent(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Black Transparent"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "black", "transparent", "dark")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.012983f), + dust: .0f, + grunge: 0.0f, + sharp_grunge: 0.0f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:1.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// latex material appearances +// Red +export material Latex_Red_Clean(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Red Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "clean", "warm", "red")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.715694f,0.012983f,0.012983f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:0.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Red_Soft(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Red Soft"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "soft", "smooth", "warm", "red")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.715694f,0.012983f,0.012983f), + dust: 0.3f, + grunge: 0.45f, + sharp_grunge: 0.15f, + reflection_scale: .2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Red_Transparent(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Red Transparent"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "red", "warm", "transparent")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.715694f,0.012983f,0.012983f), + dust: .0f, + grunge: 0.0f, + sharp_grunge: 0.0f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:1.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// latex material appearances +// Tangerine +export material Latex_Tangerine_Clean(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Tangerine Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "clean", "warm", "tangerine", "orange")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.871367f,0.147027f,0.012983f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:0.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Tangerine_Soft(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Tangerine Soft"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "soft", "smooth", "warm", "tangerine", "orange")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.871367f,0.147027f,0.012983f), + dust: 0.3f, + grunge: 0.45f, + sharp_grunge: 0.15f, + reflection_scale: .2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Tangerine_Transparent(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Tangerine Transparent"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "tangerine", "orange", "warm", "transparent")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.871367f,0.147027f,0.012983f), + dust: .0f, + grunge: 0.0f, + sharp_grunge: 0.0f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:1.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// latex material appearances +// Citrus +export material Latex_Citrus_Clean(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Citrus Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "clean", "warm", "citrus", "yellow")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.791298f,0.679542f,0.012983f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:0.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Citrus_Soft(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Citrus Soft"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "soft", "smooth", "warm", "citrus", "yellow")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.791298f,0.679542f,0.012983f), + dust: 0.3f, + grunge: 0.45f, + sharp_grunge: 0.15f, + reflection_scale: .2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Citrus_Transparent(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Citrus Transparent"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "citrus", "yellow", "warm", "transparent")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.791298f,0.679542f,0.012983f), + dust: .0f, + grunge: 0.0f, + sharp_grunge: 0.0f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:1.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// latex material appearances +// Mustard +export material Latex_Mustard_Clean(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Mustard Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "clean", "warm", "mustard", "yellow")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(1.f,0.577580f,0.012983f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:0.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Mustard_Soft(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Mustard Soft"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "soft", "smooth", "warm", "mustard", "yellow")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(1.f,0.577580f,0.012983f), + dust: 0.3f, + grunge: 0.45f, + sharp_grunge: 0.15f, + reflection_scale: .2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Mustard_Transparent(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Mustard Transparent"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "mustard", "yellow", "warm", "transparent")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(1.f,0.577580f,0.012983f), + dust: .0f, + grunge: 0.0f, + sharp_grunge: 0.0f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:1.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// latex material appearances +// Lime +export material Latex_Lime_Clean(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Lime Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "clean", "warm", "lime", "green")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.226966f,0.658375f,0.012983f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:0.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Lime_Soft(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Lime Soft"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "soft", "smooth", "warm", "lime", "green")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.226966f,0.658375f,0.012983f), + dust: 0.3f, + grunge: 0.45f, + sharp_grunge: 0.15f, + reflection_scale: .2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Lime_Transparent(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Lime Transparent"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "lime", "green", "warm", "transparent")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.226966f,0.658375f,0.012983f), + dust: .0f, + grunge: 0.0f, + sharp_grunge: 0.0f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:1.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// latex material appearances +// Grass +export material Latex_Grass_Clean(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Grass Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "clean", "cold", "cool", "grass", "green")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.004777f,0.223228f,0.004777f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:0.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Grass_Soft(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Grass Soft"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "soft", "smooth", "cold", "cool", "grass", "green")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.004777f,0.223228f,0.004777f), + dust: 0.3f, + grunge: 0.45f, + sharp_grunge: 0.15f, + reflection_scale: .2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Grass_Transparent(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Grass Transparent"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "grass", "green", "cold", "cool", "transparent")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.004777f,0.223228f,0.004777f), + dust: .0f, + grunge: 0.0f, + sharp_grunge: 0.0f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:1.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// latex material appearances +// Turquoise +export material Latex_Turquoise_Clean(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Turquoise Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "clean", "cold", "cool", "turquoise")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.f,0.603827f,0.603827f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:0.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Turquoise_Soft(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Turquoise Soft"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "soft", "smooth", "cold", "cool", "turquoise")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.f,0.603827f,0.603827f), + dust: 0.3f, + grunge: 0.45f, + sharp_grunge: 0.15f, + reflection_scale: .2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Turquoise_Transparent(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Turquoise Transparent"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "turquoise", "cold", "cool", "transparent")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.f,0.603827f,0.603827f), + dust: .0f, + grunge: 0.0f, + sharp_grunge: 0.0f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:1.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// latex material appearances +// Ultra Blue +export material Latex_Ultra_Blue_Clean(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Ultra Blue Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "clean", "cold", "cool", "ultra", "blue")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.f,0.102242f,0.791298f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:0.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Ultra_Blue_Soft(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Ultra Blue Soft"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "soft", "smooth", "cold", "cool", "blue", "ultra")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.f,0.102242f,0.791298f), + dust: 0.3f, + grunge: 0.45f, + sharp_grunge: 0.15f, + reflection_scale: .2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Ultra_Blue_Transparent(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Ultra Blue Transparent"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "blue", "ultra", "cold", "cool", "transparent")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.f,0.102242f,0.791298f), + dust: .0f, + grunge: 0.0f, + sharp_grunge: 0.0f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:1.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// latex material appearances +// Pink +export material Latex_Pink_Clean(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Pink Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "clean", "warm", "pink")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(1.f,0.f,0.879622F), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:0.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Pink_Soft(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Pink Soft"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "soft", "smooth", "warm", "pink")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(1.f,0.f,0.879622F), + dust: 0.3f, + grunge: 0.45f, + sharp_grunge: 0.15f, + reflection_scale: .2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Pink_Transparent(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Pink Transparent"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "pink", "warm", "transparent")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(1.f,0.f,0.879622F), + dust: .0f, + grunge: 0.0f, + sharp_grunge: 0.0f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:1.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// latex material appearances +// Radish +export material Latex_Radish_Clean(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Radish Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "clean", "cold", "cool", "radish")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.445201f,0.f,0.147027f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:0.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Radish_Soft(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Radish Soft"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "soft", "smooth", "cold", "cool", "radish")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.445201f,0.f,0.147027f), + dust: 0.3f, + grunge: 0.45f, + sharp_grunge: 0.15f, + reflection_scale: .2f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:.2f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Latex_Radish_Transparent(*) +[[ + ::anno::description(DESCRIPTION_LATEX), + ::anno::display_name("Latex - Radish Transparent"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "rubber", "caoutchouc", "gum","clothes", "radish", "cold", "cool", "transparent")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.445201f,0.f,0.147027f), + dust: .0f, + grunge: 0.0f, + sharp_grunge: 0.0f, + reflection_scale: 1.f, + bump_strength: 0.f, + bump_scale:1.f, + subsurface_scattering: true, + translucency_amount:1.f, + translucency_blur:0.f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// nitrile material appearances +// Ultra White +export material Nitrile_Ultra_White_Clean(*) +[[ + ::anno::description(DESCRIPTION_NITRILE), + ::anno::display_name("Latex - Ultra White Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "thin", "walled" ,"nitrile", "rubber", "caoutchouc", "gum", "clothes", "medical", "clean", "neutral", "ultra", "white")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.863157f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: .2f, + bump_strength: 0.02f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:0.8f, + translucency_blur:1.f, + thin_walled: true, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +// nitrile material appearances +// Cream White +export material Nitrile_Cream_White_Clean(*) +[[ + ::anno::description(DESCRIPTION_NITRILE), + ::anno::display_name("Latex - Cream White Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "thin", "walled" ,"nitrile", "rubber", "caoutchouc", "gum", "clothes", "medical", "clean", "neutral", "cream", "white")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.863157f, 0.806952f, 0.603827f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: .2f, + bump_strength: 0.02f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:0.8f, + translucency_blur:1.f, + thin_walled: true, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +// nitrile material appearances +// Violet +export material Nitrile_Violet_Clean(*) +[[ + ::anno::description(DESCRIPTION_NITRILE), + ::anno::display_name("Latex - Violet Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "thin", "walled" ,"nitrile", "rubber", "caoutchouc", "gum", "clothes", "medical", "clean", "cold", "cool", "violet")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.054480f, 0.013702f, 0.672443f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: .2f, + bump_strength: 0.02f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:0.8f, + translucency_blur:1.f, + thin_walled: true, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// nitrile material appearances +// Black +export material Nitrile_Black_Clean(*) +[[ + ::anno::description(DESCRIPTION_NITRILE), + ::anno::display_name("Latex - Black Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "thin", "walled" ,"nitrile", "rubber", "caoutchouc", "gum", "clothes", "medical", "clean", "neutral", "dark", "black")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.004025f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: .2f, + bump_strength: 0.02f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:0.8f, + translucency_blur:1.f, + thin_walled: true, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// nitrile material appearances +// Blue +export material Nitrile_Blue_Clean(*) +[[ + ::anno::description(DESCRIPTION_NITRILE), + ::anno::display_name("Latex - Blue Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "thin", "walled" ,"nitrile", "rubber", "caoutchouc", "gum", "clothes", "medical", "clean", "cold", "cool", "blue")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.f, 0.109462f, 0.445201f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: .2f, + bump_strength: 0.02f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:0.8f, + translucency_blur:1.f, + thin_walled: true, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// nitrile material appearances +// Light Blue +export material Nitrile_Light_Blue_Clean(*) +[[ + ::anno::description(DESCRIPTION_NITRILE), + ::anno::display_name("Latex - Light Blue Clean"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "thin", "walled" ,"nitrile", "rubber", "caoutchouc", "gum", "clothes", "medical", "clean", "cold", "cool", "blue", "light")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.010330f, 0.491021f, 1.f), + dust: 0.5f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: .2f, + bump_strength: 0.02f, + bump_scale:1.f, + subsurface_scattering: false, + translucency_amount:0.8f, + translucency_blur:1.f, + thin_walled: true, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// silicone material appearances +// Silicone White +export material Silicone_White(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - White"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "neutral", "white", "neutral")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.88f, 0.88f, 0.88f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: .1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_White_Opaque(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - White Opaque"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "neutral", "white", "neutral", "opaque")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.66f, 0.66f, 0.66f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength: .1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_White_Matte(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - White Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "neutral", "white", "neutral", "matte")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.88f, 0.88f, 0.88f), + dust: 0.8f, + grunge: 0.5f, + sharp_grunge: 0.2f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// Silicone Gray +export material Silicone_Gray(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Gray"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "neutral", "gray")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.4f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Gray_Opaque(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Gray Opaque"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "gray", "neutral", "opaque")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.2f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +export material Silicone_Gray_Matte(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Gray Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "neutral", "gray", "matte")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.4f), + dust: 0.8f, + grunge: 0.5f, + sharp_grunge: 0.2f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); + +// Silicone Marone +export material Silicone_Marone(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Marone"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "marone", "brown", "warm")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.57f, 0.285f, 0.0734f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Marone_Opaque(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Marone Opaque"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "opaque", "marone", "brown", "warm")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.308057f, 0.09462f, 0.03895f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Marone_Matte(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Marone Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "matte", "marone", "brown", "warm")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.57f, 0.285f, 0.0734f), + dust: 0.8f, + grunge: 0.5f, + sharp_grunge: 0.2f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +// Silicone Blue +export material Silicone_Blue(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Blue"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "blue", "cold", "cool")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.f, 0.11765f, 0.72941f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Blue_Opaque(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - BLue Opaque"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "opaque", "blue", "cold", "cool")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.f, 0.09197f, 0.57011f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Blue_Matte(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Blue Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "matte", "blue", "cold", "cool")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.f, 0.11765f, 0.72941f), + dust: 0.8f, + grunge: 0.5f, + sharp_grunge: 0.2f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +// Silicone Green +export material Silicone_Green(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Green"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "green", "cold", "cool")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.00392f, 0.39216f, 0.2f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Green_Opaque(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Green Opaque"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "opaque", "green", "cold", "cool")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.f, 0.2069f, 0.04851f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Green_Matte(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Green Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "matte", "green", "cold", "cool")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.00392f, 0.39216f, 0.2f), + dust: 0.8f, + grunge: 0.5f, + sharp_grunge: 0.2f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +// Silicone Yellow +export material Silicone_Yellow(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Yellow"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "yellow", "warm")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(1.f, 0.95294f, 0.f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Yellow_Opaque(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Yellow Opaque"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "opaque", "yellow", "warm")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.85747f, 0.81712f, 0.f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Yellow_Matte(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Yellow Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "matte", "yellow", "warm")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(1.f, 0.95294f, 0.f), + dust: 0.8f, + grunge: 0.5f, + sharp_grunge: 0.2f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +// Silicone Light Pink +export material Silicone_Light_Pink(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Light Pink"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "pink", "light", "cold", "cool")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.95294f, 0.70588f, 0.82353f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Light_Pink_Opaque(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Light Pink Opaque"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "opaque", "pink", "light", "cold", "cool")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.96552f, 0.58375f, 0.76554f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Light_Pink_Matte(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Light Pink Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "matte", "light", "pink", "cold", "cool")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.95294f, 0.70588f, 0.82353f), + dust: 0.8f, + grunge: 0.5f, + sharp_grunge: 0.2f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +// Silicone Cream +export material Silicone_Cream(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Cream"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "gray", "cream", "neutral")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.63529f, 0.61176f, 0.49804f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Cream_Opaque(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Cream Opaque"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "opaque", "gray", "cream", "neutral")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.56092, 0.53686f, 0.42037f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Cream_Matte(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Light Cream Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "matte", "cream", "gray", "neutral")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.63529f, 0.61176f, 0.49804f), + dust: 0.8f, + grunge: 0.5f, + sharp_grunge: 0.2f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +// Silicone Red +export material Silicone_Red(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Red"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "red", "warm")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(.67451f, 0.f, 0.11765f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Red_Opaque(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Red Opaque"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "opaque", "red", "warm")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(0.52644f, 0.f, 0.f), + dust: 0.f, + grunge: 0.f, + sharp_grunge: 0.f, + reflection_scale: 1.f, + bump_strength:.1f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:.5f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); +export material Silicone_Red_Matte(*) +[[ + ::anno::description(DESCRIPTION_SILICONE), + ::anno::display_name("Silicone - Red Matte"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::key_words(string[]("infinite tiling", "silicone", "rubber", "caoutchouc", "gum", "clothes", "medical", "sanitary", "facilities", "matte", "red", "warm")), + ::anno::author("Nvidia vMaterials"), + ::anno::contributor("Maik Rohland"), + ::anno::contributor("Ruediger Raab") +]] + = Rubber ( + infinite_tiling: false, + color_2: color(.67451f, 0.f, 0.11765f), + dust: 0.8f, + grunge: 0.5f, + sharp_grunge: 0.2f, + reflection_scale: 1.f, + bump_strength: 1.f, + bump_scale:.5f, + subsurface_scattering: false, + translucency_amount:1.f, + translucency_blur:.0f, + thin_walled: false, + texture_translate:0.0f, + texture_rotate:0.f, + texture_scale: 1.0f, + uv_space_index: 0, + enable_round_corners: false, + radius: 1.5f, + across_materials: false +); \ No newline at end of file diff --git a/texture/material_0514/Chalk_Paint.mdl b/texture/material_0514/Chalk_Paint.mdl new file mode 100644 index 0000000000000000000000000000000000000000..cf71f1f109a599c2fa5a8ae2e84e2753f874439b --- /dev/null +++ b/texture/material_0514/Chalk_Paint.mdl @@ -0,0 +1,804 @@ +/****************************************************************************** + * 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::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 diffuse chalk paint material with a slightly glossy sheen, applied with thick strokes"; + + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +float3 normalmap_normal( + uniform texture_2d texture, + float factor = 1.0, + ::base::texture_coordinate_info uvw = ::base::texture_coordinate_info() +) +{ + float3 lookup = (::tex::lookup_float3(texture, float2(uvw.position.x, uvw.position.y)) - 0.5) * (factor * 2.0); + return ::math::normalize(uvw.tangent_u * lookup.x + uvw.tangent_v * lookup.y + ::state::normal()); +} + +export material Chalk_Paint( + uniform bool infinite_tiling = true [[ + ::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") + ]], + float patch_size = 1.f [[ + ::anno::description("Determines the size of the sampled area in the texture. Larger values sample smaller areas, resulting in a more fragmented look of the source texture. Tweak the value so that the appearance of the infinite tiling looks good to you."), + ::anno::display_name("Patch Size"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + color paint_color = color(0.742101f, 0.747431f, 0.720990f) [[ + ::anno::description("Sets the diffuse color of the paint material."), + ::anno::display_name("Paint Color"), + ::anno::in_group("Appearance") + ]], + float paint_brightness = 0.7f [[ + ::anno::description("Adjusts the brightness of the paint."), + ::anno::display_name("Paint Brightness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float paint_roughness = 0.9f [[ + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::display_name("Paint Roughness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float bump_strength = 0.7f [[ + ::anno::description("Specifies the strength of the bump."), + ::anno::display_name("Bump Strength"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Translate") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Rotate"), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Scale"), + ::nvidia::core_definitions::dimension(float2(1.0, 1.0)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Extra White"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative")) +]] + = + let { + bool tmp0 = false; + float2 corrected_texture_scale = texture_scale * 0.5; + + material_surface tmp1( + ::df::custom_curve_layer(0.02f, 1.f, 5.f, 1.f, ::df::microfacet_beckmann_smith_bsdf(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./Chalk_Paint_Strokes_multi_R_diff_G_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.100000001f, patch_size), float3(0.639999986f, 0.740999997f, 1.f), ::math::lerp(60.f, 0.100000001f, patch_size), true) : ::base::file_texture(texture_2d("./Chalk_Paint_Strokes_multi_R_diff_G_rough.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, corrected_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] * float3(infinite_tiling ? endless_texture(texture_2d("./Chalk_Paint_Strokes_multi_R_diff_G_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.100000001f, patch_size), float3(0.639999986f, 0.740999997f, 1.f), ::math::lerp(60.f, 0.100000001f, patch_size), true) : ::base::file_texture(texture_2d("./Chalk_Paint_Strokes_multi_R_diff_G_rough.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, corrected_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], 0.811000049f, ::math::lerp(0.419999987f, 0.192000002f, paint_roughness)), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./Chalk_Paint_Strokes_multi_R_diff_G_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.100000001f, patch_size), float3(0.639999986f, 0.740999997f, 1.f), ::math::lerp(60.f, 0.100000001f, patch_size), true) : ::base::file_texture(texture_2d("./Chalk_Paint_Strokes_multi_R_diff_G_rough.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, corrected_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] * float3(infinite_tiling ? endless_texture(texture_2d("./Chalk_Paint_Strokes_multi_R_diff_G_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.100000001f, patch_size), float3(0.639999986f, 0.740999997f, 1.f), ::math::lerp(60.f, 0.100000001f, patch_size), true) : ::base::file_texture(texture_2d("./Chalk_Paint_Strokes_multi_R_diff_G_rough.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, corrected_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], 0.811000049f, ::math::lerp(0.419999987f, 0.192000002f, paint_roughness)), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::diffuse_reflection_bsdf(::nvidia::core_definitions::blend_colors(::nvidia::core_definitions::blend_colors(paint_color, color(float3(infinite_tiling ? endless_texture(texture_2d("./Chalk_Paint_Strokes_multi_R_diff_G_rough.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.100000001f, patch_size), float3(0.639999986f, 0.740999997f, 1.f), ::math::lerp(60.f, 0.100000001f, patch_size), true) : ::base::file_texture(texture_2d("./Chalk_Paint_Strokes_multi_R_diff_G_rough.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, corrected_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]), ::base::color_layer_multiply, 0.585000038f).tint, color(0.f, 0.f, 0.f), ::base::color_layer_multiply, ::math::lerp(0.400000006f, 0.f, paint_brightness)).tint, 0.f, ""), ::state::normal()), + 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, + infinite_tiling ? endless_normal(texture_2d("./Chalk_Paint_Strokes_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.100000001f, patch_size), float3(0.5f, 0.5f, 1.f), ::math::lerp(60.f, 0.100000001f, patch_size)) : normalmap_normal(texture_2d("./Chalk_Paint_Strokes_norm.jpg", ::tex::gamma_linear), bump_strength, vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index))); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + + +export material Chalk_Paint_Origami(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Origami"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Origami.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "white", "light", "neutral", "desaturated")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.684843f, 0.684843f, 0.634958f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Rose_Ash(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Rose Ash"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Rose_Ash.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "rose", "pink", "light", "warm", "desaturated")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.684843f, 0.664642f, 0.620393f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Moonlight(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Moonlight"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Moonlight.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "light", "neutral")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.674701f, 0.674701f, 0.674701f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Elation(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Elation"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Elation.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "lilac", "light", "desaturated")) +]] += Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.664642f, 0.659643f, 0.700210f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Misty(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Misty"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Misty.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "green", "light", "desaturated")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.568561f, 0.610786f, 0.596528f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Moonstone(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Moonstone"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Moonstone.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "gray", "neutral")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.506143f, 0.510471f, 0.489035f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Roses(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Roses"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Roses.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "rose", "red", "light", "desaturated")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.644771f, 0.506143f, 0.472246f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + + +export material Chalk_Paint_Felted_Wool(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Felted Wool"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Felted_Wool.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "brown", "desaturated")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.356441f, 0.331956f, 0.279539f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Bark(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Bark"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Bark.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "brown")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.215402f, 0.204714f, 0.174419f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Morning_Dew(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Morning Dew"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Morning_Dew.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "green", "desturated")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.292183f, 0.370860f, 0.349348f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + +export material Chalk_Paint_Contemplation(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Contemplation"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Contemplation.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "teal", "cool", "desaturated")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.210021f, 0.288993f, 0.311724f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Distance(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Distance"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Distance.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "blue", "cool", "desaturated")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.174419f, 0.231992f, 0.273331f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Deep_Emerald(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Deep Emerald"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Deep_Emerald.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "blue", "cool", "dark")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.077511f, 0.160259f, 0.176843f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Night_Watch(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Night Watch"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Night_Watch.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "dark", "blue", "desaturated")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.106357f, 0.151181f, 0.146750f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Wine(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Wine"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Wine.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "red", "dark", "warm", "desaturated")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.212702f, 0.129743f, 0.144562f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Black_Bean(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Black Bean"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Black_Bean.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "brown", "dark")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.117733f, 0.097356f, 0.090467f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Dark_Forest(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Dark Forest"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Dark_Forest.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "gray", "dark", "neutral")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.123658f, 0.140238f, 0.146750f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Charcoal_Blue(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Charcoal Blue"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Charcoal_Blue.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "charcoal", "cool", "dark")) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.111966f, 0.123658f, 0.148957f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Summernight(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint - Summernight"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint.Chalk_Paint_Summernight.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "blue", "dark", "desaturated" )) +]] + = Chalk_Paint( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.069965f, 0.102704f, 0.115793f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + diff --git a/texture/material_0515/Chalk_Paint_Pebbles.mdl b/texture/material_0515/Chalk_Paint_Pebbles.mdl new file mode 100644 index 0000000000000000000000000000000000000000..0dff1e41ed6576be9b3ee5acc51e9f54bf6df336 --- /dev/null +++ b/texture/material_0515/Chalk_Paint_Pebbles.mdl @@ -0,0 +1,802 @@ +/****************************************************************************** + * 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.4; + +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 diffuse chalk paint material with a slightly glossy sheen, evenly applied with a bumpy look and feel"; + + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +float3 normalmap_normal( + uniform texture_2d texture, + float factor = 1.0, + ::base::texture_coordinate_info uvw = ::base::texture_coordinate_info() +) +{ + float3 lookup = (::tex::lookup_float3(texture, float2(uvw.position.x, uvw.position.y)) - 0.5) * (factor * 2.0); + return ::math::normalize(uvw.tangent_u * lookup.x + uvw.tangent_v * lookup.y + ::state::normal()); +} + +export material Chalk_Paint_Pebbles( + uniform bool infinite_tiling = true [[ + ::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::in_group("Appearance") + ]], + float patch_size = 0.9f [[ + ::anno::description("Determines the size of the sampled area in the texture. Larger values sample smaller areas, resulting in a more fragmented look of the source texture. Tweak the value so that the appearance of the infinite tiling looks good to you."), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + color paint_color = color(0.1042f, 0.32314f, 0.031327f) [[ + ::anno::description("Sets the diffuse color of the paint material."), + ::anno::in_group("Appearance") + ]], + float paint_brightness = 0.737f [[ + ::anno::description("Adjusts the brightness of the paint."), + ::anno::display_name("Paint Brightness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + float paint_roughness = 0.9f [[ + ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."), + ::anno::display_name("Paint Roughness"), + ::anno::in_group("Appearance"), + ::anno::hard_range(0.f, 1.f) + ]], + 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, 1.f) + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Translate"), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates angle of the texture in degrees."), + ::anno::display_name("Rotate"), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Scale"), + ::nvidia::core_definitions::dimension(float2(1.0, 1.0)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Use selected UV space for material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Extra White"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "white", "light", "neutral")) +]] + = + let { + bool tmp0 = false; + float2 corrected_texture_scale = texture_scale * 0.5; + + material_surface tmp1( + ::df::custom_curve_layer(0.02f, 1.f, 5.f, histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.1f, patch_size), float3(0.824000001f, 0.50999999f, 0.501999974f), ::math::lerp(60.f, 0.1f, patch_size), true) : ::base::file_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.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, corrected_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.266000003f, 0.180000007f), ::df::microfacet_beckmann_smith_bsdf(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.1f, patch_size), float3(0.824000001f, 0.51f, 0.502f), ::math::lerp(60.f, 0.1f, patch_size), true) : ::base::file_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.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, corrected_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] * float3(infinite_tiling ? endless_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.1f, patch_size), float3(0.824000001f, 0.50999999f, 0.501999974f), ::math::lerp(60.f, 0.1f, patch_size), true) : ::base::file_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.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, corrected_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], 0.985000074f, ::math::lerp(0.36f, 0.09f, paint_roughness)), histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.1f, patch_size), float3(0.824000001f, 0.50999999f, 0.501999974f), ::math::lerp(60.f, 0.1f, patch_size), true) : ::base::file_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.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, corrected_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] * float3(infinite_tiling ? endless_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.1f, patch_size), float3(0.824000001f, 0.50999999f, 0.501999974f), ::math::lerp(60.f, 0.1f, patch_size), true) : ::base::file_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.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, corrected_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], 0.985000074f, ::math::lerp(0.36f, 0.09f, paint_roughness)), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::diffuse_reflection_bsdf(::nvidia::core_definitions::blend_colors(::nvidia::core_definitions::blend_colors(paint_color, color(float3(infinite_tiling ? endless_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.1f, patch_size), float3(0.824000001f, 0.50999999f, 0.501999974f), ::math::lerp(60.f, 0.1f, patch_size), true) : ::base::file_texture(texture_2d("./Chalk_Paint_Pebbles_multi_R_diff_G_rough_B_height.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, corrected_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]), ::base::color_layer_multiply, 0.8f).tint, color(0.f, 0.f, 0.f), ::base::color_layer_multiply, ::math::lerp(0.400000006f, 0.f, paint_brightness)).tint, 0.f, ""), ::state::normal()), + 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, + infinite_tiling ? endless_normal(texture_2d("./Chalk_Paint_Pebbles_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(60.f, 0.1f, patch_size), float3(0.5f, 0.5f, 1.f), ::math::lerp(60.f, 0.1f, patch_size)) : normalmap_normal(texture_2d("./Chalk_Paint_Pebbles_norm.jpg", ::tex::gamma_linear), bump_strength, vmat_transform(texture_translate, texture_rotate, corrected_texture_scale, ::base::texture_coordinate_uvw, uv_space_index))); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + + +export material Chalk_Paint_Pebbles_Origami(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Origami"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Origami.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "white", "light", "neutral", "desaturated")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.684843f, 0.684843f, 0.634958f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Rose_Ash(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Rose Ash"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Rose_Ash.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "rose", "pink", "light", "warm", "desaturated")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.684843f, 0.664642f, 0.620393f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Moonlight(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Moonlight"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Moonlight.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "light", "neutral")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.674701f, 0.674701f, 0.674701f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Elation(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Elation"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Elation.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "lilac", "light", "desaturated")) +]] += Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.664642f, 0.659643f, 0.700210f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Misty(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Misty"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Misty.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "green", "light", "desaturated")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.568561f, 0.610786f, 0.596528f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Moonstone(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Moonstone"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Moonstone.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "gray", "neutral")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.506143f, 0.510471f, 0.489035f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Roses(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Roses"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Roses.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "rose", "red", "light", "desaturated")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.644771f, 0.506143f, 0.472246f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + + +export material Chalk_Paint_Pebbles_Felted_Wool(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Felted Wool"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Felted_Wool.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "brown", "desaturated")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.356441f, 0.331956f, 0.279539f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Bark(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Bark"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Bark.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "brown")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.215402f, 0.204714f, 0.174419f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Morning_Dew(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Morning Dew"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Morning_Dew.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "green", "desturated")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.292183f, 0.370860f, 0.349348f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + + +export material Chalk_Paint_Pebbles_Contemplation(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Contemplation"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Contemplation.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "teal", "cool", "desaturated")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.210021f, 0.288993f, 0.311724f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Distance(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Distance"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Distance.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "blue", "cool", "desaturated")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.174419f, 0.231992f, 0.273331f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Deep_Emerald(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Deep Emerald"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Deep_Emerald.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "blue", "cool", "dark")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.077511f, 0.160259f, 0.176843f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Night_Watch(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Night Watch"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Night_Watch.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "dark", "blue", "desaturated")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.106357f, 0.151181f, 0.146750f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Wine(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Wine"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Wine.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "red", "dark", "warm", "desaturated")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.212702f, 0.129743f, 0.144562f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Black_Bean(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Black Bean"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Black_Bean.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "brown", "dark")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.117733f, 0.097356f, 0.090467f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Dark_Forest(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Dark Forest"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Dark_Forest.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "gray", "dark", "neutral")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.123658f, 0.140238f, 0.146750f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Charcoal_Blue(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Charcoal Blue"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Charcoal_Blue.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "charcoal", "cool", "dark")) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.111966f, 0.123658f, 0.148957f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); + + + +export material Chalk_Paint_Pebbles_Summernight(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Chalk Paint Pebbles - Summernight"), + ::anno::description(DESCRIPTION), + ::anno::copyright_notice(COPYRIGHT), + ::anno::thumbnail("./.thumbs/Chalk_Paint_Pebbles.Chalk_Paint_Pebbles_Summernight.png"), + ::anno::key_words(string[]("paint", "chalk", "wall", "bumped", "rough", "design", "new", "infinite tiling", "architecture", "decorative", "blue", "dark", "desaturated" )) +]] + = Chalk_Paint_Pebbles( + infinite_tiling: true, + patch_size: 0.9f, + paint_color: color(0.069965f, 0.102704f, 0.115793f), + paint_brightness: 0.7f, + paint_roughness: 0.9f, + bump_strength: 0.7f, + texture_translate: 0.f, + texture_rotate: 0.f, + texture_scale: 1.0f, + uv_space_index: 0 +); diff --git a/texture/material_0555/Laminate_Oak.mdl b/texture/material_0555/Laminate_Oak.mdl new file mode 100644 index 0000000000000000000000000000000000000000..0cc1c0162268165bb7b4c23a40bfbd2d66928fc8 --- /dev/null +++ b/texture/material_0555/Laminate_Oak.mdl @@ -0,0 +1,435 @@ +/****************************************************************************** + * 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.4; + +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"; + + + + +::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 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); +} + +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 + )); +} + +float3 endless_normal( + uniform texture_2d texture = texture_2d(), + float factor = 1.0, + bool flip_tangent_u = false, + bool flip_tangent_v = false, + ::base::texture_coordinate_info uvw = ::base::coordinate_source(), + float texture_scale = 1.0, + float3 average_color = float3(0.5, 0.5, 1.0), + float patch_size = 8.0 +) +{ + float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u; + float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v; + + if (flip_tangent_u) + transformed_tangent_u=-transformed_tangent_u; + if (flip_tangent_v) + transformed_tangent_v=-transformed_tangent_v; + + // normalized Lookup + float3 tangent_space_normal = + (nonrepeat_lookup ( + texture: texture, + uvw: uvw, + texture_scale: texture_scale, + average_color: average_color, + patch_size: patch_size + ) - 0.5) * (2.0 * factor); + + return ::math::normalize(uvw.tangent_u * tangent_space_normal.x + + uvw.tangent_v * tangent_space_normal.y + + ::state::normal()*1.0); +} + +float3 normalmap_normal( + uniform texture_2d texture, + float factor = 1.0, + ::base::texture_coordinate_info uvw = ::base::texture_coordinate_info() +) +{ + float3 lookup = (::tex::lookup_float3(texture, float2(uvw.position.x, uvw.position.y)) - 0.5) * (factor * 2.0); + return ::math::normalize(uvw.tangent_u * lookup.x + uvw.tangent_v * lookup.y + ::state::normal()); +} + + +export material Laminate_Oak( + uniform bool enable_infinite_tiling = false [[ + ::anno::description("Enables Infinite Tiling feature. Removes artifacts of repeating texture patterns when material is scaled."), + ::anno::display_name("Infinite Tiling"), + ::anno::in_group("Appearance") + ]], + float wood_brightness = 0.7f [[ + ::anno::description("Adjusts the brightness of the wood material."), + ::anno::display_name("Wood Brightness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float wood_fiber_roughness = 1.0f [[ + ::anno::description("Adjusts the roughness of the fibers. Lower values cause a more anisotropic appearance of the reflections."), + ::anno::display_name("Wood Fiber Roughness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float oak_bump_factor = 1.f [[ + ::anno::display_name("Oak Bump Strength"), + ::anno::description("Specifies the strength of the bump."), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance") + ]], + float smudges_weight = 0.08f [[ + ::anno::description("Adds smudges on top of the material to create a more worn and used appearance of the material."), + ::anno::display_name("Smudges Weight"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Wear") + ]], + float smudges_roughness = 0.68 [[ + ::anno::description("Adjusts the roughness of the smudges on top of the material."), + ::anno::display_name("Smudges Roughness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Wear") + ]], + float dirt_weight = 0.f [[ + ::anno::description("Adjusts the thickness of the dirt layer on top of the material."), + ::anno::display_name("Dirt Thickness"), + ::anno::hard_range(0.f, 1.f), + ::anno::in_group("Appearance", "Wear") + ]], + uniform float2 texture_translate = 0.f [[ + ::anno::description("Controls the position of the texture."), + ::anno::display_name("Translate"), + ::anno::in_group("Transform") + ]], + uniform float texture_rotate = 0.f [[ + ::anno::description("Rotates the angle of the texture in degrees."), + ::anno::display_name("Rotate"), + ::anno::in_group("Transform") + ]], + uniform float2 texture_scale = 1.f [[ + ::anno::description("Larger numbers increase the size."), + ::anno::display_name("Scale"), + ::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)), + ::anno::in_group("Transform") + ]], + uniform int uv_space_index = 0 [[ + ::anno::description("Selects the UV texture space index to use for the material."), + ::anno::display_name("UV Space Index"), + ::anno::in_group("Advanced") + ]] +) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Laminate Oak - New"), + ::anno::description("A wood laminate material that features infinite tiling, smudges and a dirt layer."), + ::anno::key_words(string[]("aec", "wood", "oak", "laminate", "floor", "polished", "artificial", "infinite tiling", "new", "brown")), + ::anno::thumbnail("./.thumbs/Laminate_Oak.Laminate_Oak.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = + let { + bool tmp0 = false; + material_surface tmp1( + ::df::weighted_layer(histogram_range(1.f - float3(enable_infinite_tiling ? endless_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.579999983f, 0.537f, 0.f), 8.f, true) : ::base::file_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.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], 1.f, ::math::lerp(1.f, 0.721000016f, dirt_weight)), ::df::custom_curve_layer(0.0410000011f, 1.f, 5.f, smudges_weight, ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(enable_infinite_tiling ? endless_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.579999983f, 0.537f, 0.f), 8.f, true) : ::base::file_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.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.34800002f, ::math::lerp(0.300000012f, 0.649999976f, smudges_roughness)) * histogram_range(float3(enable_infinite_tiling ? endless_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.579999983f, 0.537f, 0.f), 8.f, true) : ::base::file_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.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.34800002f, ::math::lerp(0.300000012f, 0.649999976f, smudges_roughness)), histogram_range(float3(enable_infinite_tiling ? endless_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.579999983f, 0.537f, 0.f), 8.f, true) : ::base::file_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.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.34800002f, ::math::lerp(0.300000012f, 0.649999976f, smudges_roughness)) * histogram_range(float3(enable_infinite_tiling ? endless_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.579999983f, 0.537f, 0.f), 8.f, true) : ::base::file_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.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.34800002f, ::math::lerp(0.300000012f, 0.649999976f, smudges_roughness)), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::custom_curve_layer(0.0410000011f, 1.f, 5.f, 1.f, ::df::microfacet_ggx_smith_bsdf(histogram_range(float3(enable_infinite_tiling ? endless_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.579999983f, 0.537f, 0.f), 8.f, true) : ::base::file_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.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], 0.445000023f, 0.398000032f) * histogram_range(float3(enable_infinite_tiling ? endless_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.579999983f, 0.537f, 0.f), 8.f, true) : ::base::file_texture(texture_2d("./laminate_oak_multi_R_rough_G_aniso.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], 0.445000023f, 0.398000032f), ::math::lerp(0.206000015f, 0.382000029f, wood_fiber_roughness) * ::math::lerp(0.206000015f, 0.382000029f, wood_fiber_roughness), color(0.491905004f, 0.491905004f, 0.491905004f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::diffuse_reflection_bsdf(::nvidia::core_definitions::blend_colors(enable_infinite_tiling ? endless_texture(texture_2d("./laminate_oak_diffuse.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.611000001f, 0.451999992f, 0.287f), 8.f, true) : ::base::file_texture(texture_2d("./laminate_oak_diffuse.jpg", ::tex::gamma_srgb), color(0.f, 0.f, 0.f), color(0.767768979f, 0.767768979f, 0.767768979f), ::base::mono_alpha, 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, color(::math::lerp(0.75f, 1.f, wood_brightness)), ::base::color_layer_multiply, 1.f).tint, 0.f, ""), ::state::normal()), ::state::normal()), ::df::diffuse_reflection_bsdf(color(0.0782879964f, 0.0712279975f, 0.0564489998f), 0.f, ""), ::state::normal()), + 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_infinite_tiling ? endless_normal(texture_2d("./laminate_oak_normal.jpg", ::tex::gamma_linear), oak_bump_factor, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), 10.f, float3(0.5f, 0.5f, 1.f), 8.f) : normalmap_normal(texture_2d("./laminate_oak_normal.jpg", ::tex::gamma_linear), oak_bump_factor, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index))); + } in + material( + thin_walled: tmp0, + surface: tmp1, + backface: tmp2, + ior: tmp3, + volume: tmp4, + geometry: tmp5); + + +export material Laminate_Oak_Polished(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Laminate Oak - Polished"), + ::anno::description("A wood laminate material with smudges and a dirt layer that features infinite tiling."), + ::anno::key_words(string[]("aec", "wood", "oak", "laminate", "floor", "polished", "artificial", "infinite tiling", "dust", "dirt", "brown", "warm")), + ::anno::thumbnail("./.thumbs/Laminate_Oak.Laminate_Oak_Polished.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Laminate_Oak( + enable_infinite_tiling: false, + wood_brightness: 0.7f, + wood_fiber_roughness: 1.0f, + oak_bump_factor: 0.5f, + smudges_weight: 0.0f, + smudges_roughness: 0.0f, + dirt_weight: 0.0f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0, + uv_space_index: 0 +); + +export material Laminate_Oak_Slight_Smudges(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Laminate Oak - Smudges"), + ::anno::description("A wood laminate material with smudges and a dirt layer that features infinite tiling."), + ::anno::key_words(string[]("aec", "wood", "oak", "laminate", "floor", "polished", "artificial", "infinite tiling", "smudges", "dust", "dirt", "brown", "warm")), + ::anno::thumbnail("./.thumbs/Laminate_Oak.Laminate_Oak_Slight_Smudges.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Laminate_Oak( + enable_infinite_tiling: false, + wood_brightness: 0.7f, + wood_fiber_roughness: 1.0f, + oak_bump_factor: 1.0f, + smudges_weight: 0.8f, + smudges_roughness: 0.75f, + dirt_weight: 0.5f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0, + uv_space_index: 0 +); + +export material Laminate_Oak_Dirty(*) +[[ + ::anno::author("NVIDIA vMaterials"), + ::anno::display_name("Wood Laminate Oak - Dirty"), + ::anno::description("A wood laminate material with smudges and a dirt layer that features infinite tiling."), + ::anno::key_words(string[]("aec", "wood", "oak", "laminate", "floor", "polished", "artificial", "infinite tiling", "dust", "dirt", "brown", "warm")), + ::anno::thumbnail("./.thumbs/Laminate_Oak.Laminate_Oak_Dirty.png"), + ::anno::copyright_notice(COPYRIGHT) +]] + = Laminate_Oak( + enable_infinite_tiling: false, + wood_brightness: 0.7f, + wood_fiber_roughness: 1.0f, + oak_bump_factor: 1.0f, + smudges_weight: 0.8f, + smudges_roughness: 0.75f, + dirt_weight: 0.85f, + texture_translate: 0.0f, + texture_rotate: 0.0f, + texture_scale: 1.0, + uv_space_index: 0 +); + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/texture/material_0560/Wood_Tiles_Ash.mdl b/texture/material_0560/Wood_Tiles_Ash.mdl new file mode 100644 index 0000000000000000000000000000000000000000..e4b07dc140bf75e1ba6e7480c40a5b2b6a916a4f --- /dev/null +++ b/texture/material_0560/Wood_Tiles_Ash.mdl @@ -0,0 +1,2879 @@ +/****************************************************************************** + * 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_Ash( + color wood_color = color(0.4f, 0.3f, 0.16f) [[ + ::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.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("Tiles", "Coating"), + ::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("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.015f [[ + ::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(.1f) [[ + ::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.1f [[ + ::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.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("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("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.1f [[ + ::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.03f [[ + ::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.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("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.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) + uniform texture_2d tex_srgb_wood_color = texture_2d("./wood_ash_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("./wood_ash_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("./wood_ash_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("./wood_ash_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 Ash - 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", "ash", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash.Wood_Tiles_Ash.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./wood_ash_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_Ash_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.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::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::in_group("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("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = float2(.2f) [[ + ::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 Ash - Brick Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "ash", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "brick bond", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash.Wood_Tiles_Ash_Brickbond.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Ash( + 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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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_Ash_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.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::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::in_group("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("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = float2(.2f) [[ + ::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 Ash - Chantilly"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "ash", "tiles", "tiled", "floor", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "chantilly", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash.Wood_Tiles_Ash_Chantilly.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] = Wood_Tiles_Ash( + 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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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_Ash_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.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::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::in_group("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("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = float2(.2f) [[ + ::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 Ash - Chevron"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "ash", "tiles", "tiled", "floor", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "chevron", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash.Wood_Tiles_Ash_Chevron.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Ash( + 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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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_Ash_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.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::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::in_group("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("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = float2(.2f) [[ + ::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 Ash - Cubes"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "ash", "tiles", "tiled", "floor", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "cubes", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash.Wood_Tiles_Ash_Cubes.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Ash( + 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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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_Ash_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.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::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::in_group("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("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = float2(.2f) [[ + ::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 Ash - Diagonal"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "ash", "tiles", "tiled", "floor", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "diagonal", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash.Wood_Tiles_Ash_Diagonal.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Ash( + 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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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_Ash_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.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::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::in_group("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("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = float2(.2f) [[ + ::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 Ash - Herringbone"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "ash", "tiles", "tiled", "floor", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "herringbone", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash.Wood_Tiles_Ash_Herringbone.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Ash( + 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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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_Ash_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.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::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::in_group("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("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = float2(.2f) [[ + ::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 Ash - Mosaic"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "ash", "tiles", "tiled", "floor", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "herringbone", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash.Wood_Tiles_Ash_Mosaic.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Ash( + 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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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_Ash_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.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::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::in_group("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("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = float2(.2f) [[ + ::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 Ash - Stack Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "ash", "tiles", "tiled", "floor", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "stack bond", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash.Wood_Tiles_Ash_Stackbond.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Ash( + 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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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_Ash_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.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::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::in_group("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("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = float2(.2f) [[ + ::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 Ash - Versailles"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "ash", "tiles", "tiled", "floor", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "stack bond", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash.Wood_Tiles_Ash_Versailles.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Ash( + 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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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_Ash_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.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::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::in_group("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("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + + float2 wood_scale = float2(.2f) [[ + ::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 Ash - Wood Strip"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "ash", "tiles", "tiled", "floor", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "strip", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash.Wood_Tiles_Ash_Woodstrip.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Ash( + 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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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/texture/material_0561/Wood_Tiles_Ash_Multicolor.mdl b/texture/material_0561/Wood_Tiles_Ash_Multicolor.mdl new file mode 100644 index 0000000000000000000000000000000000000000..31be73bb0542ea6200b11023064e435d68de7e24 --- /dev/null +++ b/texture/material_0561/Wood_Tiles_Ash_Multicolor.mdl @@ -0,0 +1,1594 @@ +/****************************************************************************** + * 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_Ash_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(.47725f, .91036f, .97011f) [[ + ::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.95402f, 0.84346f, 0.01097f) [[ + ::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.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.1f [[ + ::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.7f [[ + ::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.006f [[ + ::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.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 = 0.31f [[ + ::anno::display_name("Tiles Bump Strength"), + ::anno::description("Determines the degree of bumpiness of the tiles texture (grooves and bent tiles)."), + ::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.03f [[ + ::anno::display_name("Coating Roughness"), + ::anno::description("Adjusts the roughness of the coating. Higher value leading to blurrier and softer reflections."), + ::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)), + ::preview_scale(0.25f), + ::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("./wood_ash_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("./wood_ash_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("./wood_ash_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("./wood_ash_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 Ash - 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", "ash", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash_Multicolor.Wood_Tiles_Ash_Multicolor.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./wood_ash_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_Ash_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(.47725f, .91036f, .97011f) [[ + ::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.95402f, 0.84346f, 0.01097f) [[ + ::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.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 = 0.7f [[ + ::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 = float2(.55f) [[ + ::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.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("Appearance", "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("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)), + ::preview_scale(0.25f), + ::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 Ash - Multicolor Melbury"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "ash", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "melbury", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash_Multicolor.Wood_Tiles_Ash_Melbury.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Ash_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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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_Ash_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(.47725f, .91036f, .97011f) [[ + ::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.95402f, 0.84346f, 0.01097f) [[ + ::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 = 1.0f [[ + ::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 = 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("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.2f [[ + ::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(.3333f, 0.3333f)), + ::preview_scale(0.25f), + ::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 Ash - 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", "ash", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "star", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash_Multicolor.Wood_Tiles_Ash_Large_Star.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Ash_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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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_Ash_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(.47725f, .91036f, .97011f) [[ + ::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.95402f, 0.84346f, 0.01097f) [[ + ::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 = 1.0f [[ + ::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 = float2(.4f) [[ + ::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.2f [[ + ::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(1.0f, 1.0f)), + ::preview_scale(0.25f), + ::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 Ash - Multicolor Stars"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "master", "ash", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "star", "stars", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Ash_Multicolor.Wood_Tiles_Ash_Stars.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Ash_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.0f, + 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.324f, + isotropic_roughness_range: 0.741f, + isotropic_specular_brightness: 0.833f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.546f, + aniso_bsdf_width: 0.287f, + aniso_bsdf_height: 0.917f, + anisotropic_isotropic_balance: 0.222f, + + tex_srgb_wood_color: texture_2d("./wood_ash_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_ash_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_ash_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_ash_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) +); diff --git a/texture/material_0562/Wood_Tiles_Beech.mdl b/texture/material_0562/Wood_Tiles_Beech.mdl new file mode 100644 index 0000000000000000000000000000000000000000..91024bf45e6d1f99359b4f82dc92ccd135b17578 --- /dev/null +++ b/texture/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/texture/material_0563/Wood_Tiles_Beech_Multicolor.mdl b/texture/material_0563/Wood_Tiles_Beech_Multicolor.mdl new file mode 100644 index 0000000000000000000000000000000000000000..add108849df8dc9c04ea88c6f6679517c51e30d7 --- /dev/null +++ b/texture/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) +); diff --git a/texture/material_0565/Wood_Tiles_Fineline_Multicolor.mdl b/texture/material_0565/Wood_Tiles_Fineline_Multicolor.mdl new file mode 100644 index 0000000000000000000000000000000000000000..f72d585fe215d093f92a156b6465c9f75ffcdf37 --- /dev/null +++ b/texture/material_0565/Wood_Tiles_Fineline_Multicolor.mdl @@ -0,0 +1,1591 @@ +/****************************************************************************** + * 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_Fineline_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.5319f, 0.36021f, 0.55172f) [[ + ::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.7586f, 0.0f, 1.0f) [[ + ::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.5f // 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 = 1.0f [[ + ::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.2f [[ + ::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("./fineline_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("./fineline_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("./fineline_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("./fineline_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 Fineline - 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", "fineline", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Fineline_Multicolor.Wood_Tiles_Fineline_Multicolor.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./fineline_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./fineline_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./fineline_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./fineline_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_Fineline_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.5319f, 0.36021f, 0.55172f) [[ + ::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.7586f, 0.0f, 1.0f) [[ + ::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.5f // 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 = 1.0f [[ + ::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.25f [[ + ::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 Fineline - Multi Color Melbury"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "fineline", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "melbury", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Fineline_Multicolor.Wood_Tiles_Fineline_Melbury.png"), + ::anno::copyright_notice(COPYRIGHT) +]] += Wood_Tiles_Fineline_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.5f, + isotropic_roughness_range: 0.844f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 0.787f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.533f, + aniso_bsdf_height: 0.656f, + anisotropic_isotropic_balance: 0.361f, + + tex_srgb_wood_color: texture_2d("./fineline_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./fineline_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./fineline_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./fineline_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_Fineline_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.5319f, 0.36021f, 0.55172f) [[ + ::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.7586f, 0.0f, 1.0f) [[ + ::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.8f // 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 = 1.0f [[ + ::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 = .2f [[ + ::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 Fineline - Multicolor Large Star"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "fineline", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "star", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Fineline_Multicolor.Wood_Tiles_Fineline_Large_Star.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Fineline_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.5f, + isotropic_roughness_range: 0.844f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 0.787f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.533f, + aniso_bsdf_height: 0.656f, + anisotropic_isotropic_balance: 0.361f, + + tex_srgb_wood_color: texture_2d("./fineline_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./fineline_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./fineline_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./fineline_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_Fineline_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.5319f, 0.36021f, 0.55172f) [[ + ::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.7586f, 0.0f, 1.0f) [[ + ::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 = .5f // 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 = 1.0f [[ + ::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 = .25f [[ + ::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 = 0.7f [[ + ::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) + ]], + 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 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) + ]], + 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::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 Fineline - Multicolor Stars"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "fineline", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "stars", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Fineline_Multicolor.Wood_Tiles_Fineline_Stars.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Fineline_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.5f, + isotropic_roughness_range: 0.844f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 0.787f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.533f, + aniso_bsdf_height: 0.656f, + anisotropic_isotropic_balance: 0.361f, + + tex_srgb_wood_color: texture_2d("./fineline_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./fineline_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./fineline_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./fineline_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) +); diff --git a/texture/material_0566/Wood_Tiles_Oak_Mountain.mdl b/texture/material_0566/Wood_Tiles_Oak_Mountain.mdl new file mode 100644 index 0000000000000000000000000000000000000000..f496d27d69d63b9eecc263649cc7b48de630d55f --- /dev/null +++ b/texture/material_0566/Wood_Tiles_Oak_Mountain.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_Oak_Mountain( + 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.25f [[ + ::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.5f [[ + ::anno::display_name("Wood Brightness Variation"), + ::anno::in_group("Tiles"), + ::anno::hard_range(0.f, 1.f) + ]], + float wood_random_rotation = 0.01f [[ + ::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.25f [[ + ::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.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("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.377f // 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.689f // 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 = 1.0f // 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.393f //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.459f //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.680f //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.607f // 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("./wood_oak_mountain_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("./wood_oak_mountain_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("./wood_oak_mountain_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("./wood_oak_mountain_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 Oak Mountain - 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", "oak", "mountain", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "brick bond", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain.Wood_Tiles_Oak_Mountain.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./wood_oak_mountain_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_Oak_Mountain_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::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 = 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 Oak Mountain - Brick Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "mountain", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "brick bond", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain.Wood_Tiles_Oak_Mountain_Brickbond.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Oak_Mountain( + 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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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_Oak_Mountain_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 Oak Mountain - Chantilly"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "mountain", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "chantilly", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain.Wood_Tiles_Oak_Mountain_Chantilly.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Oak_Mountain( + 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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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_Oak_Mountain_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 Oak Mountain - Chevron"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "mountain", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "chevron", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain.Wood_Tiles_Oak_Mountain_Chevron.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Oak_Mountain( + 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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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_Oak_Mountain_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 Oak Mountain - Cubes"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "mountain", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "cubes", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain.Wood_Tiles_Oak_Mountain_Cubes.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Oak_Mountain( + 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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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_Oak_Mountain_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 Oak Mountain - Diagonal"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "mountain", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "diagonal", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain.Wood_Tiles_Oak_Mountain_Diagonal.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Oak_Mountain( + 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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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_Oak_Mountain_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 Oak Mountain - Herringbone"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "mountain", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "herringbone", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain.Wood_Tiles_Oak_Mountain_Herringbone.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Oak_Mountain( + 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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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_Oak_Mountain_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 Oak Mountain - Mosaic"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "mountain", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "herringbone", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain.Wood_Tiles_Oak_Mountain_Mosaic.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Oak_Mountain( + 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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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_Oak_Mountain_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 Oak Mountain - Stack Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "mountain", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "stack", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain.Wood_Tiles_Oak_Mountain_Stackbond.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Oak_Mountain( + 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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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_Oak_Mountain_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 Oak Mountain - Versailles"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "mountain", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "versailles", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain.Wood_Tiles_Oak_Mountain_Versailles.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Oak_Mountain( + 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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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_Oak_Mountain_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 Oak Mountain - Wood Strip"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "mountain", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "strip", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain.Wood_Tiles_Oak_Mountain_Woodstrip.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Oak_Mountain( + 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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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/texture/material_0567/Wood_Tiles_Oak_Mountain_Multicolor.mdl b/texture/material_0567/Wood_Tiles_Oak_Mountain_Multicolor.mdl new file mode 100644 index 0000000000000000000000000000000000000000..f8716013cd8f4477cec8da905896fbc8383cdb4e --- /dev/null +++ b/texture/material_0567/Wood_Tiles_Oak_Mountain_Multicolor.mdl @@ -0,0 +1,1591 @@ +/****************************************************************************** + * 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_Oak_Mountain_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.81449f,0.82989f, 0.39873f) [[ + ::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.90805f, 0.85376f, 0.0334f) [[ + ::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.8f [[ + ::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.5f [[ + ::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.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 = 0.3f [[ + ::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.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 = 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.3f [[ + ::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.2f [[ + ::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.377f // 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.689f // 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 = 1.0f // 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.393f //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.459f //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.680f //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.607f // 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("./wood_oak_mountain_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("./wood_oak_mountain_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("./wood_oak_mountain_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("./wood_oak_mountain_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 Oak Mountain - 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", "oak", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain_Multicolor.Wood_Tiles_Oak_Mountain_Multicolor.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./wood_oak_mountain_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_Oak_Mountain_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.81449f,0.82989f, 0.39873f) [[ + ::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.90805f, 0.85376f, 0.0334f) [[ + ::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.8f [[ + ::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.5f [[ + ::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 = 2.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.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("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.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 = 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.3f [[ + ::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.2f [[ + ::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 Oak Mountain - Multicolor Melbury"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "melbury", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain_Multicolor.Wood_Tiles_Oak_Mountain_Melbury.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Oak_Mountain_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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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_Oak_Mountain_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.81449f,0.82989f, 0.39873f) [[ + ::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.90805f, 0.85376f, 0.0334f) [[ + ::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.8f [[ + ::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 = 2.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 = 0.3f [[ + ::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.3f [[ + ::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.2f [[ + ::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 Oak Mountain - Multicolor Large Star"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "star", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain_Multicolor.Wood_Tiles_Oak_Mountain_Large_Star.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Oak_Mountain_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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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_Oak_Mountain_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.81449f,0.82989f, 0.39873f) [[ + ::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.90805f, 0.85376f, 0.0334f) [[ + ::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.8f [[ + ::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.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.3f [[ + ::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) + ]], + 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 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) + ]], + float dirt_and_spots_amount = 0.3f [[ + ::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.2f [[ + ::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 Oak Mountain - Multicolor Stars"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "oak", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "star", "stars", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Oak_Mountain_Multicolor.Wood_Tiles_Oak_Mountain_Stars.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Oak_Mountain_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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./wood_oak_mountain_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_oak_mountain_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_oak_mountain_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_oak_mountain_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) +); diff --git a/texture/material_0568/Wood_Tiles_Pine.mdl b/texture/material_0568/Wood_Tiles_Pine.mdl new file mode 100644 index 0000000000000000000000000000000000000000..3f454f6259320200ac81c63b0fd53ee79ed95efb --- /dev/null +++ b/texture/material_0568/Wood_Tiles_Pine.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_Pine( + 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.1f [[ + ::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.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::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.01f [[ + ::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(.33f) [[ + ::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.2f [[ + ::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.2f [[ + ::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.4f [[ + ::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.26f [[ + ::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.296f // 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.5f // 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.869f // 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.444f //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.593f //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.759f //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.435f // 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("./pine_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("./pine_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("./pine_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("./pine_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 Pine - 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", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "brick bond", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine.Wood_Tiles_Pine.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./pine_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./pine_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_Pine_Brickbond( + color wood_color = color(0.78f) [[ + ::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.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.9f [[ + ::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.01f [[ + ::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 Pine - Brick Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "brick bond", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine.Wood_Tiles_Pine_Brickbond.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] = Wood_Tiles_Pine( + 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.296f, + isotropic_roughness_range: 0.5f, + isotropic_specular_brightness: 0.869f, + wood_specular_level: 0.35f, + aniso_attenuation: 0.444f, + aniso_bsdf_width: 0.593f, + aniso_bsdf_height: 0.759f, + anisotropic_isotropic_balance: 0.435f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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_Pine_Chantilly( + color wood_color = color(0.78f) [[ + ::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.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.9f [[ + ::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.01f [[ + ::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 Pine - Chantilly"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "chantilly", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine.Wood_Tiles_Pine_Chantilly.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Pine( + 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.296f, + isotropic_roughness_range: 0.5f, + isotropic_specular_brightness: 0.869f, + wood_specular_level: 0.35f, + aniso_attenuation: 0.444f, + aniso_bsdf_width: 0.593f, + aniso_bsdf_height: 0.759f, + anisotropic_isotropic_balance: 0.435f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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_Pine_Chevron( + color wood_color = color(0.78f) [[ + ::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.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.9f [[ + ::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.01f [[ + ::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 Pine - Chevron"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "chevron", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine.Wood_Tiles_Pine_Chevron.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Pine( + 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.296f, + isotropic_roughness_range: 0.5f, + isotropic_specular_brightness: 0.869f, + wood_specular_level: 0.35f, + aniso_attenuation: 0.444f, + aniso_bsdf_width: 0.593f, + aniso_bsdf_height: 0.759f, + anisotropic_isotropic_balance: 0.435f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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_Pine_Cubes( + color wood_color = color(0.78f) [[ + ::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.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.9f [[ + ::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.01f [[ + ::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 Pine - Cubes"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "cubes", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine.Wood_Tiles_Pine_Cubes.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Pine( + 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.296f, + isotropic_roughness_range: 0.5f, + isotropic_specular_brightness: 0.869f, + wood_specular_level: 0.35f, + aniso_attenuation: 0.444f, + aniso_bsdf_width: 0.593f, + aniso_bsdf_height: 0.759f, + anisotropic_isotropic_balance: 0.435f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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_Pine_Diagonal( + color wood_color = color(0.78f) [[ + ::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.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.9f [[ + ::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.01f [[ + ::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 Pine - Diagonal"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "diagonal", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine.Wood_Tiles_Pine_Diagonal.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Pine( + 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.296f, + isotropic_roughness_range: 0.5f, + isotropic_specular_brightness: 0.869f, + wood_specular_level: 0.35f, + aniso_attenuation: 0.444f, + aniso_bsdf_width: 0.593f, + aniso_bsdf_height: 0.759f, + anisotropic_isotropic_balance: 0.435f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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_Pine_Herringbone( + color wood_color = color(0.78f) [[ + ::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.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.9f [[ + ::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.01f [[ + ::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 Pine - Herringbone"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "herrinbone", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine.Wood_Tiles_Pine_Herringbone.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Pine( + 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.296f, + isotropic_roughness_range: 0.5f, + isotropic_specular_brightness: 0.869f, + wood_specular_level: 0.35f, + aniso_attenuation: 0.444f, + aniso_bsdf_width: 0.593f, + aniso_bsdf_height: 0.759f, + anisotropic_isotropic_balance: 0.435f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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_Pine_Mosaic( + color wood_color = color(0.78f) [[ + ::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.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.9f [[ + ::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.01f [[ + ::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 Pine - Mosaic"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "mosaic", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine.Wood_Tiles_Pine_Mosaic.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Pine( + 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.296f, + isotropic_roughness_range: 0.5f, + isotropic_specular_brightness: 0.869f, + wood_specular_level: 0.35f, + aniso_attenuation: 0.444f, + aniso_bsdf_width: 0.593f, + aniso_bsdf_height: 0.759f, + anisotropic_isotropic_balance: 0.435f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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_Pine_Stackbond( + color wood_color = color(0.78f) [[ + ::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.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.9f [[ + ::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.01f [[ + ::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 Pine - Stack Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "stack", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine.Wood_Tiles_Pine_Stackbond.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Pine( + 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.296f, + isotropic_roughness_range: 0.5f, + isotropic_specular_brightness: 0.869f, + wood_specular_level: 0.35f, + aniso_attenuation: 0.444f, + aniso_bsdf_width: 0.593f, + aniso_bsdf_height: 0.759f, + anisotropic_isotropic_balance: 0.435f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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_Pine_Versailles( + color wood_color = color(0.78f) [[ + ::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.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.9f [[ + ::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.01f [[ + ::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 Pine - Versailles"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "versailles", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine.Wood_Tiles_Pine_Versailles.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Pine( + 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.296f, + isotropic_roughness_range: 0.5f, + isotropic_specular_brightness: 0.869f, + wood_specular_level: 0.35f, + aniso_attenuation: 0.444f, + aniso_bsdf_width: 0.593f, + aniso_bsdf_height: 0.759f, + anisotropic_isotropic_balance: 0.435f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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_Pine_Woodstrip( + color wood_color = color(0.78f) [[ + ::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.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.9f [[ + ::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.01f [[ + ::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 Pine - Wood Strip"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "architecture", "strip", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine.Wood_Tiles_Pine_Woodstrip.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Pine( + 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.296f, + isotropic_roughness_range: 0.5f, + isotropic_specular_brightness: 0.869f, + wood_specular_level: 0.35f, + aniso_attenuation: 0.444f, + aniso_bsdf_width: 0.593f, + aniso_bsdf_height: 0.759f, + anisotropic_isotropic_balance: 0.435f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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/texture/material_0569/Wood_Tiles_Pine_Multicolor.mdl b/texture/material_0569/Wood_Tiles_Pine_Multicolor.mdl new file mode 100644 index 0000000000000000000000000000000000000000..d31431cdbd089b6688d2d310bc4e339b6d3b7704 --- /dev/null +++ b/texture/material_0569/Wood_Tiles_Pine_Multicolor.mdl @@ -0,0 +1,1591 @@ +/****************************************************************************** + * 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_Pine_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.22424f, 0.67323f, 0.71724f) [[ + ::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.59109f, 0.67586f, 0.22063f) [[ + ::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.4f // 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.8f [[ + ::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.5f [[ + ::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.4f [[ + ::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.3f [[ + ::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.45f [[ + ::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.3f [[ + ::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.2f [[ + ::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.377f // 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.689f // 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 = 1.0f // 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.393f //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.459f //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.680f //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.607f // 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("./pine_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("./pine_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("./pine_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("./pine_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 Pine - 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", "pine", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine_Multicolor.Wood_Tiles_Pine_Multicolor.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./pine_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./pine_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_Pine_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.22424f, 0.67323f, 0.71724f) [[ + ::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.59109f, 0.67586f, 0.22063f) [[ + ::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.4f // 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.8f [[ + ::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.5f [[ + ::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.4f [[ + ::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.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("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.45f [[ + ::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.3f [[ + ::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.2f [[ + ::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 Pine - Multicolor Melbury"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "melbury", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine_Multicolor.Wood_Tiles_Pine_Melbury.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Pine_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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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_Pine_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.22424f, 0.67323f, 0.71724f) [[ + ::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.59109f, 0.67586f, 0.22063f) [[ + ::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.4f // 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.8f [[ + ::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.4f [[ + ::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.3f [[ + ::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.45f [[ + ::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.3f [[ + ::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.2f [[ + ::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 Pine - Multicolor Large Star"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "star", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine_Multicolor.Wood_Tiles_Pine_Large_Star.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Pine_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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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_Pine_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.22424f, 0.67323f, 0.71724f) [[ + ::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.59109f, 0.67586f, 0.22063f) [[ + ::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.4f // 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.8f [[ + ::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.4f [[ + ::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.3f [[ + ::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.45f [[ + ::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.3f [[ + ::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.2f [[ + ::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 Pine - Multicolor Stars"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "pine", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "star", "stars", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Pine_Multicolor.Wood_Tiles_Pine_Stars.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Pine_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.377f, + isotropic_roughness_range: 0.689f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.393f, + aniso_bsdf_width: 0.459f, + aniso_bsdf_height: 0.680f, + anisotropic_isotropic_balance: 0.607f, + + tex_srgb_wood_color: texture_2d("./pine_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./pine_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./pine_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./pine_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) +); diff --git a/texture/material_0570/Wood_Tiles_Poplar.mdl b/texture/material_0570/Wood_Tiles_Poplar.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a1ae9b1de06930b75976a0495eba32a3a2865186 --- /dev/null +++ b/texture/material_0570/Wood_Tiles_Poplar.mdl @@ -0,0 +1,2876 @@ +/****************************************************************************** + * 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_Poplar( + 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.0f [[ + ::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.04f // 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::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 = 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.06f [[ + ::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.33f [[ + ::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") + ]], + +// 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.336f // 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.918f // 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.787f // 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.484f //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.443f //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.631f //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.434f // 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("./poplar_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("./poplar_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("./poplar_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("./poplar_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 Poplar - 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", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "brick bond", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar.Wood_Tiles_Poplar.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./poplar_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_Poplar_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 Poplar - Brick Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "brick bond", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar.Wood_Tiles_Poplar_Brickbond.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Poplar( + 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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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_Poplar_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 Poplar - Chantilly"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "chantilly", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar.Wood_Tiles_Poplar_Chantilly.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Poplar( + 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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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_Poplar_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 Poplar - Chevron"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "chevron", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar.Wood_Tiles_Poplar_Chevron.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Poplar( + 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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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_Poplar_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 Poplar - Cubes"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "cubes", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar.Wood_Tiles_Poplar_Cubes.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Poplar( + 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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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_Poplar_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 Poplar - Diagonal"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "diagonal", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar.Wood_Tiles_Poplar_Diagonal.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Poplar( + 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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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_Poplar_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 Poplar - Herringbone"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "herringbone", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar.Wood_Tiles_Poplar_Herringbone.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Poplar( + 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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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_Poplar_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 Poplar - Mosaic"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "mosaic", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar.Wood_Tiles_Poplar_Mosaic.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Poplar( + 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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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_Poplar_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 Poplar - Stack Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "stack", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar.Wood_Tiles_Poplar_Stackbond.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Poplar( + 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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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_Poplar_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 Poplar - Versailles"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "versailles", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar.Wood_Tiles_Poplar_Versailles.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Poplar( + 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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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_Poplar_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 Poplar - Wood Strip"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "strip", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar.Wood_Tiles_Poplar_Woodstrip.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Poplar( + 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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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/texture/material_0571/Wood_Tiles_Poplar_Multicolor.mdl b/texture/material_0571/Wood_Tiles_Poplar_Multicolor.mdl new file mode 100644 index 0000000000000000000000000000000000000000..221d7734f81af9c6246a32410bda5b8c4b9d6c68 --- /dev/null +++ b/texture/material_0571/Wood_Tiles_Poplar_Multicolor.mdl @@ -0,0 +1,1590 @@ +/****************************************************************************** + * 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_Poplar_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.50345f, 0.00926f, 0.00926f) [[ + ::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.92874f, 0.64808f, 0.09821f) [[ + ::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.3f // 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.6f [[ + ::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.6f [[ + ::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.4f [[ + ::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.3f [[ + ::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.06f [[ + ::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.3f [[ + ::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.2f [[ + ::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.336f // 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.918f // 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.787f // 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.484f //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.443f //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.631f //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.434f // 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("./poplar_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("./poplar_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("./poplar_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("./poplar_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 Poplar - 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", "poplar", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar_Multicolor.Wood_Tiles_Poplar_Multicolor.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./poplar_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_Poplar_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.50345f, 0.00926f, 0.00926f) [[ + ::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.92874f, 0.64808f, 0.09821f) [[ + ::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.3f // 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.6f [[ + ::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.5f [[ + ::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.06f [[ + ::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.3f [[ + ::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.2f [[ + ::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 Poplar - Multicolor Melbury"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "melbury", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar_Multicolor.Wood_Tiles_Poplar_Melbury.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Poplar_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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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_Poplar_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.50345f, 0.00926f, 0.00926f) [[ + ::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.92874f, 0.64808f, 0.09821f) [[ + ::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.3f // 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.6f [[ + ::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 = .5f [[ + ::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.3f [[ + ::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.06f [[ + ::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.3f [[ + ::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.2f [[ + ::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 Poplar - Multicolor Large Star"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "star", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar_Multicolor.Wood_Tiles_Poplar_Large_Star.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Poplar_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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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_Poplar_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.50345f, 0.00926f, 0.00926f) [[ + ::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.92874f, 0.64808f, 0.09821f) [[ + ::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.3f // 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.6f [[ + ::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 = .6f [[ + ::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.4f [[ + ::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.3f [[ + ::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.06f [[ + ::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.3f [[ + ::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.2f [[ + ::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 Poplar - Multicolor Stars"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "poplar", "tiles", "tiled", "pattern", "decorative", "multimaterial", "multicolor", "organic", "natural", "coated", "infinite tiling", "star", "stars", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Poplar_Multicolor.Wood_Tiles_Poplar_Stars.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] += Wood_Tiles_Poplar_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.336f, + isotropic_roughness_range: 0.918f, + isotropic_specular_brightness: 0.787f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.484f, + aniso_bsdf_width: 0.443f, + aniso_bsdf_height: 0.631f, + anisotropic_isotropic_balance: 0.434f, + + tex_srgb_wood_color: texture_2d("./poplar_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./poplar_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./poplar_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./poplar_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) +); diff --git a/texture/material_0572/Wood_Tiles_Walnut.mdl b/texture/material_0572/Wood_Tiles_Walnut.mdl new file mode 100644 index 0000000000000000000000000000000000000000..7134f5128d8da55d3493f891da459865b474abb9 --- /dev/null +++ b/texture/material_0572/Wood_Tiles_Walnut.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_Walnut( + 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.0f [[ + ::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.6f // 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 = 0.2 [[ + ::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") + ]], + +// 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.352f // 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.566f // 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 = 1.0f // 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.491f //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.508f //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.657f //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.320f // 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("./wood_walnut_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("./wood_walnut_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("./wood_walnut_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("./wood_walnut_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 Walnut - Brick Bond Master"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "walnut", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "brick bond", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Walnut.Wood_Tiles_Walnut.png"), + ::anno::copyright_notice(COPYRIGHT), + ::anno::hidden() +]] + = + let { +/* + texture_2d tex_srgb_wood_color = texture_2d("./wood_walnut_diff.jpg", ::tex::gamma_srgb); // Diffuse + texture_2d tex_lin_wood_rough_detail = texture_2d("./wood_walnut_rough_detail.jpg", ::tex::gamma_linear); // Anisotropic Roughness AKA "Rough Detail" + texture_2d tex_lin_wood_rough_grain = texture_2d("./wood_walnut_rough_grain.jpg", ::tex::gamma_linear); // Isotropic Roughness AKA "Rough Grain" + texture_2d tex_lin_wood_detail_norm = texture_2d("./wood_walnut_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_Walnut_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.04f // 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 = 0.2f [[ + ::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 Walnut - Brick Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "walnut", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "brick bond", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Walnut.Wood_Tiles_Walnut_Brickbond.png"), + ::anno::copyright_notice(COPYRIGHT) + //::anno::hidden() +]] = Wood_Tiles_Walnut( + 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.352f, + isotropic_roughness_range: 0.566f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.491f, + aniso_bsdf_width: 0.508f, + aniso_bsdf_height: 0.657f, + anisotropic_isotropic_balance: 0.320f, + + tex_srgb_wood_color: texture_2d("./wood_walnut_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_walnut_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_walnut_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_walnut_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_Walnut_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.04f // 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::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 = 0.2f [[ + ::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 Walnut - Chantilly"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "walnut", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "chantilly", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Walnut.Wood_Tiles_Walnut_Chantilly.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Walnut( + 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.352f, + isotropic_roughness_range: 0.566f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.491f, + aniso_bsdf_width: 0.508f, + aniso_bsdf_height: 0.657f, + anisotropic_isotropic_balance: 0.320f, + + tex_srgb_wood_color: texture_2d("./wood_walnut_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_walnut_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_walnut_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_walnut_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_Walnut_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.04f // 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 = 0.2f [[ + ::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 Walnut - Chevron"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "walnut", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "chevron", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Walnut.Wood_Tiles_Walnut_Chevron.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Walnut( + 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.352f, + isotropic_roughness_range: 0.566f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.491f, + aniso_bsdf_width: 0.508f, + aniso_bsdf_height: 0.657f, + anisotropic_isotropic_balance: 0.320f, + + tex_srgb_wood_color: texture_2d("./wood_walnut_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_walnut_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_walnut_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_walnut_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_Walnut_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.04f // 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 = 0.2f [[ + ::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 Walnut - Cubes"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "walnut", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "cubes", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Walnut.Wood_Tiles_Walnut_Cubes.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Walnut( + 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.352f, + isotropic_roughness_range: 0.566f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.491f, + aniso_bsdf_width: 0.508f, + aniso_bsdf_height: 0.657f, + anisotropic_isotropic_balance: 0.320f, + + tex_srgb_wood_color: texture_2d("./wood_walnut_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_walnut_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_walnut_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_walnut_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_Walnut_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.04f // 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 = 0.2f [[ + ::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 Walnut - Diagonal"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "walnut", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "diagonal", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Walnut.Wood_Tiles_Walnut_Diagonal.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Walnut( + 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.352f, + isotropic_roughness_range: 0.566f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.491f, + aniso_bsdf_width: 0.508f, + aniso_bsdf_height: 0.657f, + anisotropic_isotropic_balance: 0.320f, + + tex_srgb_wood_color: texture_2d("./wood_walnut_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_walnut_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_walnut_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_walnut_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_Walnut_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.04f // 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 = 0.2f [[ + ::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 Walnut - Herringbone"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "walnut", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "herringbone", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Walnut.Wood_Tiles_Walnut_Herringbone.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Walnut( + 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.352f, + isotropic_roughness_range: 0.566f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.491f, + aniso_bsdf_width: 0.508f, + aniso_bsdf_height: 0.657f, + anisotropic_isotropic_balance: 0.320f, + + tex_srgb_wood_color: texture_2d("./wood_walnut_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_walnut_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_walnut_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_walnut_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_Walnut_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.04f // 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 = 0.2f [[ + ::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 Walnut - Mosaic"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "walnut", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "mosaic", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Walnut.Wood_Tiles_Walnut_Mosaic.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Walnut( + 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.352f, + isotropic_roughness_range: 0.566f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.491f, + aniso_bsdf_width: 0.508f, + aniso_bsdf_height: 0.657f, + anisotropic_isotropic_balance: 0.320f, + + tex_srgb_wood_color: texture_2d("./wood_walnut_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_walnut_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_walnut_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_walnut_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_Walnut_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.04f // 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 = 0.2f [[ + ::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 Walnut - Stack Bond"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "walnut", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "stack", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Walnut.Wood_Tiles_Walnut_Stackbond.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Walnut( + 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.352f, + isotropic_roughness_range: 0.566f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.491f, + aniso_bsdf_width: 0.508f, + aniso_bsdf_height: 0.657f, + anisotropic_isotropic_balance: 0.320f, + + tex_srgb_wood_color: texture_2d("./wood_walnut_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_walnut_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_walnut_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_walnut_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_Walnut_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.04f // 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 = 0.2f [[ + ::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 Walnut - Versailles"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "walnut", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "versailles", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Walnut.Wood_Tiles_Walnut_Versailles.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Walnut( + 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.352f, + isotropic_roughness_range: 0.566f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.491f, + aniso_bsdf_width: 0.508f, + aniso_bsdf_height: 0.657f, + anisotropic_isotropic_balance: 0.320f, + + tex_srgb_wood_color: texture_2d("./wood_walnut_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_walnut_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_walnut_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_walnut_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_Walnut_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.04f // 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 = 0.2f [[ + ::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 Walnut - Wood Strip"), + ::anno::description(DESCRIPTION), + // reflective, varnished, bumped, matte, natural, stained, exterior, new, aged, decayed, abstract, modern, classic + ::anno::key_words(string[]("wood", "walnut", "master", "tiles", "tiled", "pattern", "decorative", "multimaterial", "organic", "natural", "coated", "infinite tiling", "strip", "architecture", "interior")), + ::anno::thumbnail("./.thumbs/Wood_Tiles_Walnut.Wood_Tiles_Walnut_Woodstrip.png"), + ::anno::copyright_notice(COPYRIGHT) +]] = Wood_Tiles_Walnut( + 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.352f, + isotropic_roughness_range: 0.566f, + isotropic_specular_brightness: 1.0f, + wood_specular_level: 1.0f, + aniso_attenuation: 0.491f, + aniso_bsdf_width: 0.508f, + aniso_bsdf_height: 0.657f, + anisotropic_isotropic_balance: 0.320f, + + tex_srgb_wood_color: texture_2d("./wood_walnut_diff.jpg", ::tex::gamma_srgb), + tex_lin_wood_rough_detail: texture_2d("./wood_walnut_rough_detail.jpg", ::tex::gamma_linear), + tex_lin_wood_rough_grain: texture_2d("./wood_walnut_rough_grain.jpg", ::tex::gamma_linear), + tex_lin_wood_detail_norm: texture_2d("./wood_walnut_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