Update of /cvsroot/simspark/simspark/simulations/parts/rsg/boxspheres
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv28298
Modified Files:
arena.rsg
Log Message:
Index: arena.rsg
===================================================================
RCS file: /cvsroot/simspark/simspark/simulations/parts/rsg/boxspheres/arena.rsg,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** arena.rsg 24 Feb 2006 12:04:14 -0000 1.1
--- arena.rsg 15 Apr 2007 15:40:24 -0000 1.2
***************
*** 3,15 ****
(RubySceneGraph 0 1)
(
; create the base plane
(node Transform
(setLocalPos 0 0 -1)
(node Box
(setMaterial matGreen)
(setExtents 100 100 4)
)
(node PlaneCollider
! (setParams 0 0 1.0 0)
(node ContactJointHandler
(setContactBounceMode false)
--- 3,37 ----
(RubySceneGraph 0 1)
(
+ ; add lights
+ (node Transform
+ (setLocalPos -10 10 10)
+ (node Light
+ (setDiffuse 1.0 1.0 1.0 1.0)
+ (setSpecular 0.1 0.1 0.1 1.0)
+ (setAmbient 0.8 0.8 0.8 1.0)
+ )
+
+ )
+
+ ; add lights
+ (node Transform
+ (setLocalPos 10 -10 10)
+ (node Light
+ (setDiffuse 1.0 1.0 1.0 1.0)
+ (setSpecular 0.1 0.1 0.1 1.0)
+ (setAmbient 0.0 0.0 0.0 1.0)
+ )
+ )
+
; create the base plane
(node Transform
(setLocalPos 0 0 -1)
(node Box
+ (setName basePlane)
(setMaterial matGreen)
(setExtents 100 100 4)
)
(node PlaneCollider
! (setParams 0 0 1.0 1)
(node ContactJointHandler
(setContactBounceMode false)
***************
*** 22,25 ****
--- 44,48 ----
(setLocalPos -50 0 10)
(node Box
+ (setName leftSide)
(setMaterial matWhite)
(setExtents 1 100 20)
***************
*** 34,37 ****
--- 57,61 ----
(setLocalPos 0 50 10)
(node Box
+ (setName backSide)
(setMaterial matGrey)
(setExtents 100 1 20)
***************
*** 46,50 ****
(setLocalPos 50 0 10)
(node Box
! (setMaterial matWhite)
(setExtents 1 100 20)
)
--- 70,75 ----
(setLocalPos 50 0 10)
(node Box
! (setName rightSide)
! (setMaterial matWhite)
(setExtents 1 100 20)
)
***************
*** 58,61 ****
--- 83,87 ----
(setLocalPos 0 -50 10)
(node Box
+ (setName frontSide)
(setMaterial matGrey)
(setExtents 100 1 20)
|