Revision: 7059
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7059&view=rev
Author:   natepak
Date:     2008-10-03 22:23:04 +0000 (Fri, 03 Oct 2008)

Log Message:
-----------
Fixed some problems with point lights. Improved UV tiling of boxes

Modified Paths:
--------------
    code/gazebo/trunk/worlds/pioneer2dx.world
    code/gazebo/trunk/worlds/simpleshapes.world

Modified: code/gazebo/trunk/worlds/pioneer2dx.world
===================================================================
--- code/gazebo/trunk/worlds/pioneer2dx.world   2008-10-03 22:22:42 UTC (rev 
7058)
+++ code/gazebo/trunk/worlds/pioneer2dx.world   2008-10-03 22:23:04 UTC (rev 
7059)
@@ -34,7 +34,7 @@
   </rendering:gui>
 
   <rendering:ogre>
-    <ambient>0.5 0.5 0.5 1.0</ambient>
+    <ambient>0.2 0.2 0.2 1.0</ambient>
     <sky>
       <material>Gazebo/CloudySky</material>
     </sky>
@@ -124,12 +124,13 @@
 
   <!-- White Directional light -->
   <model:renderable name="directional_white">
+    <xyz>0 0 2</xyz>
     <light>
-      <type>directional</type>
+      <type>point</type>
       <direction>0 -0.6 -0.4</direction>
-      <diffuseColor>1.0 1.0 1.0</diffuseColor>
-      <specularColor>0.2 0.2 0.2</specularColor>
-      <attenuation>1000 1.0 0.0 0</attenuation>
+      <diffuseColor>0.8 0.8 0.8</diffuseColor>
+      <specularColor>0.1 0.1 0.1</specularColor>
+      <attenuation>10 0.8 0.1 0</attenuation>
     </light>
   </model:renderable>
 

Modified: code/gazebo/trunk/worlds/simpleshapes.world
===================================================================
--- code/gazebo/trunk/worlds/simpleshapes.world 2008-10-03 22:22:42 UTC (rev 
7058)
+++ code/gazebo/trunk/worlds/simpleshapes.world 2008-10-03 22:23:04 UTC (rev 
7059)
@@ -114,12 +114,12 @@
 
   <!-- White Directional light -->
   <model:renderable name="directional_white">
+    <xyz>0 0 2</xyz>
     <light>
-      <type>directional</type>
-      <direction>0 -0.5 -0.5</direction>
-      <diffuseColor>0.4 0.4 0.4</diffuseColor>
-      <specularColor>0.0 0.0 0.0</specularColor>
-      <attenuation>100 0.0 1.0 0.4</attenuation>
+      <type>point</type>
+      <diffuseColor>0.8 0.8 0.8</diffuseColor>
+      <specularColor>0.1 0.1 0.1</specularColor>
+      <attenuation>10 0.8 0.1 0.0</attenuation>
     </light>
   </model:renderable>
  


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to