Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iris: forward port #70 to ros2 #74

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Iris: update materials to use PBR
Signed-off-by: Rhys Mainwaring <[email protected]>
srmainwaring committed Dec 30, 2023
commit 3e20fa7b4d3e755622734bf7d725f8c371020a1d
131 changes: 75 additions & 56 deletions models/iris_with_standoffs/model.sdf
Original file line number Diff line number Diff line change
@@ -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>

@@ -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'>
@@ -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'>
@@ -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'>
@@ -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>

@@ -228,13 +239,15 @@
</mesh>
</geometry>
<material>
<!--script>
<name>Gazebo/Blue</name>
<uri>__default__</uri>
</script-->
<ambient>0 0 1 1</ambient>
<diffuse>0 0 1 1</diffuse>
<specular>0.1 0.1 0.1 1</specular>
<ambient>0 0 1</ambient>
<diffuse>0 0 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>
@@ -300,13 +313,15 @@
</mesh>
</geometry>
<material>
<!--script>
<name>Gazebo/Blue</name>
<uri>__default__</uri>
</script-->
<ambient>0 0 1 1</ambient>
<diffuse>0 0 1 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>
@@ -372,13 +387,15 @@
</mesh>
</geometry>
<material>
<!--script>
<name>Gazebo/Green</name>
<uri>__default__</uri>
</script-->
<ambient>0 1 0 1</ambient>
<diffuse>0 1 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>
@@ -444,13 +461,15 @@
</mesh>
</geometry>
<material>
<!--script>
<name>Gazebo/Green</name>
<uri>__default__</uri>
</script-->
<ambient>0 1 0 1</ambient>
<diffuse>0 1 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>