Skip to content

Commit

Permalink
Split out spot and point light changes from #11 (#12)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 authored Sep 25, 2024
1 parent ca0dd8d commit 39b51d0
Showing 1 changed file with 38 additions and 10 deletions.
48 changes: 38 additions & 10 deletions ionic_demo/worlds/ionic.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -306,20 +306,20 @@
</light>-->

<light type="spot" name="spot_grid">
<pose>-1 0.5 2.75 0 0 0</pose>
<pose>-3 0.5 2.7 0 0 0</pose>
<diffuse>1 1 1 1</diffuse>
<specular>1 1 1 1</specular>
<intensity>0.75</intensity>
<intensity>1</intensity>
<attenuation>
<range>12</range>
<linear>0.01</linear>
<linear>0.3</linear>
<constant>0.2</constant>
<quadratic>0.0</quadratic>
</attenuation>
<direction>0 0 -1</direction>
<spot>
<inner_angle>0</inner_angle>
<outer_angle>3</outer_angle>
<outer_angle>2.5</outer_angle>
<falloff>1</falloff>
</spot>
<cast_shadows>true</cast_shadows>
Expand All @@ -329,17 +329,17 @@
<pose>4 1.8 2.5 0 0 0</pose>
<diffuse>1 1 1 1</diffuse>
<specular>1 1 1 1</specular>
<intensity>0.75</intensity>
<intensity>1</intensity>
<attenuation>
<range>12</range>
<linear>0.01</linear>
<linear>0.3</linear>
<constant>0.2</constant>
<quadratic>0.0</quadratic>
</attenuation>
<direction>0 0 -1</direction>
<spot>
<inner_angle>0</inner_angle>
<outer_angle>3</outer_angle>
<outer_angle>2.5</outer_angle>
<falloff>1</falloff>
</spot>
<cast_shadows>true</cast_shadows>
Expand All @@ -349,22 +349,50 @@
<pose>9 1 2.75 0 0 0</pose>
<diffuse>1 1 1 1</diffuse>
<specular>1 1 1 1</specular>
<intensity>0.75</intensity>
<intensity>1</intensity>
<attenuation>
<range>12</range>
<linear>0.01</linear>
<linear>0.3</linear>
<constant>0.2</constant>
<quadratic>0.0</quadratic>
</attenuation>
<direction>0 0 -1</direction>
<spot>
<inner_angle>0</inner_angle>
<outer_angle>3</outer_angle>
<outer_angle>2.5</outer_angle>
<falloff>1</falloff>
</spot>
<cast_shadows>true</cast_shadows>
</light>

<light type="point" name="point_column_01">
<pose>0 1.75 1.75 0 0 0</pose>
<diffuse>1 1 1 1</diffuse>
<specular>1 1 1 1</specular>
<intensity>1</intensity>
<attenuation>
<range>20</range>
<linear>0.2</linear>
<constant>0.8</constant>
<quadratic>0.5</quadratic>
</attenuation>
<cast_shadows>false</cast_shadows>
</light>

<light type="point" name="point_column_02">
<pose>7.4 3.4 1.71 0 0 0</pose>
<diffuse>1 1 1 1</diffuse>
<specular>1 1 1 1</specular>
<intensity>1</intensity>
<attenuation>
<range>20</range>
<linear>0.2</linear>
<constant>0.8</constant>
<quadratic>0.5</quadratic>
</attenuation>
<cast_shadows>false</cast_shadows>
</light>

<!--<light type="point" name="point">
<pose>-1 0.5 4 0 0 0</pose>
<diffuse>1 1 1 1</diffuse>
Expand Down

0 comments on commit 39b51d0

Please sign in to comment.