Skip to content

Commit

Permalink
Iris: update materials to use PBR
Browse files Browse the repository at this point in the history
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
  • Loading branch information
srmainwaring committed Dec 27, 2023
1 parent d03dca4 commit dfec04b
Showing 1 changed file with 75 additions and 56 deletions.
131 changes: 75 additions & 56 deletions models/iris_with_standoffs/model.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,15 @@
</mesh>
</geometry>
<material>
<!--script>
<name>Gazebo/DarkGrey</name>
</script-->
<ambient>.175 .175 .175 1.0</ambient>
<diffuse>.175 .175 .175 1.0</diffuse>
<specular>.175 .175 .175 1.000000</specular>
<ambient>0.05 0.05 0.05</ambient>
<diffuse>0.05 0.05 0.05</diffuse>
<specular>1 1 1 1</specular>
<pbr>
<metal>
<metalness>0.5</metalness>
<roughness>0.5</roughness>
</metal>
</pbr>
</material>
</visual>

Expand All @@ -66,13 +69,15 @@
</cylinder>
</geometry>
<material>
<!--script>
<name>Gazebo/FlatBlack</name>
<uri>file://media/materials/scripts/gazebo.material</uri>
</script-->
<ambient>0.1 0.1 0.1</ambient>
<diffuse>0.1 0.1 0.1</diffuse>
<ambient>0.05 0.05 0.05</ambient>
<diffuse>0.05 0.05 0.05</diffuse>
<specular>0.01 0.01 0.01 1.0</specular>
<pbr>
<metal>
<metalness>0.5</metalness>
<roughness>0.5</roughness>
</metal>
</pbr>
</material>
</visual>
<visual name='front_right_leg_visual'>
Expand All @@ -84,13 +89,15 @@
</cylinder>
</geometry>
<material>
<!--script>
<name>Gazebo/FlatBlack</name>
<uri>file://media/materials/scripts/gazebo.material</uri>
</script-->
<ambient>0.1 0.1 0.1</ambient>
<diffuse>0.1 0.1 0.1</diffuse>
<ambient>0.05 0.05 0.05</ambient>
<diffuse>0.05 0.05 0.05</diffuse>
<specular>0.01 0.01 0.01 1.0</specular>
<pbr>
<metal>
<metalness>0.5</metalness>
<roughness>0.5</roughness>
</metal>
</pbr>
</material>
</visual>
<visual name='rear_left_leg_visual'>
Expand All @@ -102,13 +109,15 @@
</cylinder>
</geometry>
<material>
<!--script>
<name>Gazebo/FlatBlack</name>
<uri>file://media/materials/scripts/gazebo.material</uri>
</script-->
<ambient>0.1 0.1 0.1</ambient>
<diffuse>0.1 0.1 0.1</diffuse>
<ambient>0.05 0.05 0.05</ambient>
<diffuse>0.05 0.05 0.05</diffuse>
<specular>0.01 0.01 0.01 1.0</specular>
<pbr>
<metal>
<metalness>0.5</metalness>
<roughness>0.5</roughness>
</metal>
</pbr>
</material>
</visual>
<visual name='rear_right_leg_visual'>
Expand All @@ -120,13 +129,15 @@
</cylinder>
</geometry>
<material>
<!--script>
<name>Gazebo/FlatBlack</name>
<uri>file://media/materials/scripts/gazebo.material</uri>
</script-->
<ambient>0.1 0.1 0.1</ambient>
<diffuse>0.1 0.1 0.1</diffuse>
<ambient>0.05 0.05 0.05</ambient>
<diffuse>0.05 0.05 0.05</diffuse>
<specular>0.01 0.01 0.01 1.0</specular>
<pbr>
<metal>
<metalness>0.5</metalness>
<roughness>0.5</roughness>
</metal>
</pbr>
</material>
</visual>
</link>
Expand Down Expand Up @@ -205,13 +216,15 @@
</mesh>
</geometry>
<material>
<!--script>
<name>Gazebo/Blue</name>
<uri>__default__</uri>
</script-->
<ambient>0 0 1</ambient>
<diffuse>0 0 1</diffuse>
<specular>0.1 0.1 0.1 1</specular>
<specular>1 1 1 1</specular>
<pbr>
<metal>
<metalness>0.5</metalness>
<roughness>0.5</roughness>
</metal>
</pbr>
</material>
</visual>
<gravity>1</gravity>
Expand Down Expand Up @@ -277,13 +290,15 @@
</mesh>
</geometry>
<material>
<!--script>
<name>Gazebo/White</name>
<uri>__default__</uri>
</script-->
<ambient>1 1 1 1</ambient>
<diffuse>1 1 1 1</diffuse>
<specular>.1 .1 .1 1</specular>
<ambient>0 0 1 1</ambient>
<diffuse>0 0 1 1</diffuse>
<specular>1 1 1 1</specular>
<pbr>
<metal>
<metalness>0.5</metalness>
<roughness>0.5</roughness>
</metal>
</pbr>
</material>
</visual>
<gravity>1</gravity>
Expand Down Expand Up @@ -349,13 +364,15 @@
</mesh>
</geometry>
<material>
<!--script>
<name>Gazebo/Blue</name>
<uri>__default__</uri>
</script-->
<ambient>0 0 1</ambient>
<diffuse>0 0 1</diffuse>
<specular>0.1 0.1 0.1 1</specular>
<ambient>0 1 0</ambient>
<diffuse>0 1 0</diffuse>
<specular>1 1 1 1</specular>
<pbr>
<metal>
<metalness>0.5</metalness>
<roughness>0.5</roughness>
</metal>
</pbr>
</material>
</visual>
<gravity>1</gravity>
Expand Down Expand Up @@ -421,13 +438,15 @@
</mesh>
</geometry>
<material>
<!--script>
<name>Gazebo/White</name>
<uri>__default__</uri>
</script-->
<ambient>1 1 1 1</ambient>
<diffuse>1 1 1 1</diffuse>
<specular>.1 .1 .1 1</specular>
<ambient>0 1 0</ambient>
<diffuse>0 1 0</diffuse>
<specular>1 1 1 1</specular>
<pbr>
<metal>
<metalness>0.5</metalness>
<roughness>0.5</roughness>
</metal>
</pbr>
</material>
</visual>
<gravity>1</gravity>
Expand Down

0 comments on commit dfec04b

Please sign in to comment.