This commit is contained in:
Quella777
2025-08-25 16:30:02 +08:00
commit 32cc2a8e96
1633 changed files with 289456 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
material TexturedShape/Squares
{
technique
{
pass
{
texture_unit
{
texture squares.png
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<model>
<name>Textured Shapes</name>
<version>1.0</version>
<sdf version='1.6'>model.sdf</sdf>
<author>
<name>Louise</name>
<email>louise@osrfoundation.org</email>
</author>
<description>
Model with links of simple shapes and texture applied.
</description>
</model>

79
textured_shapes/model.sdf Normal file
View File

@@ -0,0 +1,79 @@
<?xml version="1.0" ?>
<sdf version="1.6">
<model name="textured_shapes">
<pose>0 0 0.5 0 0 0</pose>
<link name="box">
<pose>0 -1.5 0 0 0 0</pose>
<collision name="collision">
<geometry>
<box>
<size>1 1 1</size>
</box>
</geometry>
</collision>
<visual name="visual">
<geometry>
<box>
<size>1 1 1</size>
</box>
</geometry>
<material>
<script>
<uri>model://textured_shapes/materials/scripts</uri>
<uri>model://textured_shapes/materials/textures</uri>
<name>TexturedShape/Squares</name>
</script>
</material>
</visual>
</link>
<link name="sphere">
<collision name="collision">
<geometry>
<sphere>
<radius>0.5</radius>
</sphere>
</geometry>
</collision>
<visual name="visual">
<geometry>
<sphere>
<radius>0.5</radius>
</sphere>
</geometry>
<material>
<script>
<uri>model://textured_shapes/materials/scripts</uri>
<uri>model://textured_shapes/materials/textures</uri>
<name>TexturedShape/Squares</name>
</script>
</material>
</visual>
</link>
<link name="cylinder">
<pose>0 1.5 0 0 0 0</pose>
<collision name="collision">
<geometry>
<cylinder>
<radius>0.5</radius>
<length>1</length>
</cylinder>
</geometry>
</collision>
<visual name="visual">
<geometry>
<cylinder>
<radius>0.5</radius>
<length>1</length>
</cylinder>
</geometry>
<material>
<script>
<uri>model://textured_shapes/materials/scripts</uri>
<uri>model://textured_shapes/materials/textures</uri>
<name>TexturedShape/Squares</name>
</script>
</material>
</visual>
</link>
</model>
</sdf>