Skip to content

Commit

Permalink
Improved lighting (#11)
Browse files Browse the repository at this point in the history

Signed-off-by: Ian Chen <[email protected]>
Co-authored-by: Ian Chen <[email protected]>
  • Loading branch information
ColeOSRF and iche033 authored Sep 25, 2024
1 parent 39b51d0 commit 85230e3
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions ionic_demo/worlds/ionic.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
</gz-gui>
<enabled>true</enabled>
<highQuality>true</highQuality>
<resolution>16 16 16</resolution>
<resolution>64 32 16</resolution>
<octantCount>1 1 1</octantCount>
<conserveMemory>true</conserveMemory>
<thinWallCounter>1.0</thinWallCounter>
<anisotropic>true</anisotropic>
<bounceCount>6</bounceCount>
<bounceCount>9</bounceCount>
</plugin>
<plugin filename="EntityContextMenuPlugin" name="Entity context menu">
<gz-gui>
Expand Down Expand Up @@ -291,20 +291,6 @@
<sky></sky>
</scene>

<!--<light type="directional" name="directional">
<pose>0 0 4 0 0 0</pose>
<intensity>3</intensity>
<diffuse>1 0.98 0.98 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>true</cast_shadows>
</light>-->

<light type="spot" name="spot_grid">
<pose>-3 0.5 2.7 0 0 0</pose>
<diffuse>1 1 1 1</diffuse>
Expand Down Expand Up @@ -393,20 +379,33 @@
<cast_shadows>false</cast_shadows>
</light>

<!--<light type="point" name="point">
<pose>-1 0.5 4 0 0 0</pose>
<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.5</intensity>
<intensity>1</intensity>
<attenuation>
<range>20</range>
<linear>0.2</linear>
<constant>0.8</constant>
<quadratic>0.01</quadratic>
<quadratic>0.5</quadratic>
</attenuation>
<cast_shadows>true</cast_shadows>
</light>-->
<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>

<include>
<name>Interior</name>
Expand Down

0 comments on commit 85230e3

Please sign in to comment.