init
This commit is contained in:
17
table_marble/materials/scripts/table_lightmap.material
Normal file
17
table_marble/materials/scripts/table_lightmap.material
Normal file
@@ -0,0 +1,17 @@
|
||||
material Table/Marble_Lightmap
|
||||
{
|
||||
technique
|
||||
{
|
||||
pass
|
||||
{
|
||||
texture_unit
|
||||
{
|
||||
texture marble.png
|
||||
}
|
||||
texture_unit
|
||||
{
|
||||
texture table_lightmap.png
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
BIN
table_marble/materials/textures/marble.png
Normal file
BIN
table_marble/materials/textures/marble.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 161 KiB |
BIN
table_marble/materials/textures/table_lightmap.png
Normal file
BIN
table_marble/materials/textures/table_lightmap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 170 KiB |
158
table_marble/meshes/table_lightmap.dae
Normal file
158
table_marble/meshes/table_lightmap.dae
Normal file
File diff suppressed because one or more lines are too long
33
table_marble/model-1_4.sdf
Normal file
33
table_marble/model-1_4.sdf
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" ?>
|
||||
<sdf version="1.4">
|
||||
<model name="table_marble">
|
||||
<static>true</static>
|
||||
<pose>0 0 0.648 0 0 0</pose>
|
||||
<link name="link">
|
||||
<collision name="collision">
|
||||
<geometry>
|
||||
<mesh>
|
||||
<uri>model:///table_marble/meshes/table_lightmap.dae</uri>
|
||||
<scale>0.25 0.25 0.25</scale>
|
||||
</mesh>
|
||||
</geometry>
|
||||
</collision>
|
||||
<visual name="visual">
|
||||
<geometry>
|
||||
<mesh>
|
||||
<uri>model://table_marble/meshes/table_lightmap.dae</uri>
|
||||
<scale>0.25 0.25 0.25</scale>
|
||||
</mesh>
|
||||
</geometry>
|
||||
<material>
|
||||
<script>
|
||||
<uri>model://table_marble/materials/scripts</uri>
|
||||
<uri>model://table_marble/materials/textures</uri>
|
||||
<name>Table/Marble_Lightmap</name>
|
||||
</script>
|
||||
<lighting>false</lighting>
|
||||
</material>
|
||||
</visual>
|
||||
</link>
|
||||
</model>
|
||||
</sdf>
|
18
table_marble/model.config
Normal file
18
table_marble/model.config
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<model>
|
||||
<name>Table Marble</name>
|
||||
<version>1.0</version>
|
||||
<sdf version="1.4">model-1_4.sdf</sdf>
|
||||
<sdf version="1.5">model.sdf</sdf>
|
||||
|
||||
<author>
|
||||
<name>Ian Chen</name>
|
||||
<email>ichen@osrfoundation.org</email>
|
||||
</author>
|
||||
|
||||
<description>
|
||||
A marble table lit using a lightmap generated from a directional light with
|
||||
the vector (-0.6, -0.05, -0.8).
|
||||
</description>
|
||||
</model>
|
33
table_marble/model.sdf
Normal file
33
table_marble/model.sdf
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" ?>
|
||||
<sdf version="1.5">
|
||||
<model name="table_marble">
|
||||
<static>true</static>
|
||||
<pose>0 0 0.648 0 0 0</pose>
|
||||
<link name="link">
|
||||
<collision name="collision">
|
||||
<geometry>
|
||||
<mesh>
|
||||
<uri>model:///table_marble/meshes/table_lightmap.dae</uri>
|
||||
<scale>0.25 0.25 0.25</scale>
|
||||
</mesh>
|
||||
</geometry>
|
||||
</collision>
|
||||
<visual name="visual">
|
||||
<geometry>
|
||||
<mesh>
|
||||
<uri>model://table_marble/meshes/table_lightmap.dae</uri>
|
||||
<scale>0.25 0.25 0.25</scale>
|
||||
</mesh>
|
||||
</geometry>
|
||||
<material>
|
||||
<script>
|
||||
<uri>model://table_marble/materials/scripts</uri>
|
||||
<uri>model://table_marble/materials/textures</uri>
|
||||
<name>Table/Marble_Lightmap</name>
|
||||
</script>
|
||||
<lighting>false</lighting>
|
||||
</material>
|
||||
</visual>
|
||||
</link>
|
||||
</model>
|
||||
</sdf>
|
Reference in New Issue
Block a user