pxmlw6n2f/Gazebo_Distributed_MPI/worlds/lights.world

76 lines
2.1 KiB
Plaintext
Raw Normal View History

2019-04-18 10:27:54 +08:00
<?xml version="1.0" ?>
<sdf version="1.5">
<world name="default">
<include>
<uri>model://ground_plane</uri>
</include>
<light type="point" name="point">
<pose>0 2 2 0 0 0</pose>
<diffuse>1 0 0 1</diffuse>
<specular>.1 .1 .1 1</specular>
<attenuation>
<range>20</range>
<linear>0.2</linear>
<constant>0.8</constant>
<quadratic>0.01</quadratic>
</attenuation>
<cast_shadows>false</cast_shadows>
</light>
<light type="point" name="point1">
<pose>0 1 2 0 0 0</pose>
<diffuse>0 1 0 1</diffuse>
<specular>.1 .1 .1 1</specular>
<attenuation>
<range>20</range>
<linear>0.2</linear>
<constant>0.8</constant>
<quadratic>0.01</quadratic>
</attenuation>
<cast_shadows>false</cast_shadows>
</light>
<light type="point" name="point2">
<pose>0 0 2 0 0 0</pose>
<diffuse>0 0 1 1</diffuse>
<specular>.1 .1 .1 1</specular>
<attenuation>
<range>20</range>
<linear>0.2</linear>
<constant>0.8</constant>
<quadratic>0.01</quadratic>
</attenuation>
<cast_shadows>false</cast_shadows>
</light>
<light type="spot" name="spot">
<pose>0 -1 2 0 0 0</pose>
<diffuse>0 1 0 1</diffuse>
<specular>.2 .2 .2 1</specular>
<attenuation>
<range>10</range>
<linear>0.01</linear>
<constant>0.2</constant>
<quadratic>0.0</quadratic>
</attenuation>
<direction>0 0 -1</direction>
<spot>
<inner_angle>0.1</inner_angle>
<outer_angle>0.5</outer_angle>
<falloff>1.2</falloff>
</spot>
<cast_shadows>false</cast_shadows>
</light>
<light type="directional" name="directional">
<pose>0 -2 2 0 0 0</pose>
<diffuse>0.2 0.2 .2 1</diffuse>
<specular>.1 .1 .1 1</specular>
<attenuation>
<range>100</range>
<linear>0.01</linear>
<constant>0.2</constant>
<quadratic>0.0</quadratic>
</attenuation>
<direction>0 0 -1</direction>
<cast_shadows>true</cast_shadows>
</light>
</world>
</sdf>