Created
June 2, 2010 09:43
-
-
Save vo/422155 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; A scene called "Bars" by Christopher Vo | |
(scene "bars" | |
(author "Christopher Vo") | |
; World / global properties go here. | |
; e.g. fog, ambient light, background, skybox, and gravity | |
(world | |
(gravity 9.8) | |
(colorAmbient 0.1 0.1 0.1) | |
(colorBackground 0.2 0.2 0.2)) | |
; Any extra resource files associated with this scene? | |
(resources | |
(file "bars.material")) | |
; Describe some objects (meshes, lights, cameras etc). | |
(mesh "wallMesh" :file "wall.mesh") | |
(mesh "obstacleMesh" :file "bar.mesh") | |
(plane "groundPlane" | |
(pos 0 0 0) | |
(quaternion 0 0 0 1) | |
(scale 25 25 1) | |
(material "GreenGrass")) | |
(light "spotLight" :type "point" | |
(colorDiffuse 1.1 1.1 1.1) | |
(colorSpecular 1.1 1.1 1.1) | |
(attenuation :range 5000 :constant 1.0 :linear 0.033333 :quadratic 0.0)) | |
(camera "Camera" :type "perspective" | |
(fov 35 35) | |
(clipping 0.1 200)) | |
; Describe scene nodes here. | |
(node "Obstacle.Wall" | |
(pos 25.5 -25.5 0) | |
(quaternion 0 0 0 1) | |
(scale 0.5 0.5 1) | |
(instance "wallMesh")) | |
(node "Obstacle.001" | |
(pos -8.920975 12.586182 0) | |
(quaternion 0 0 0.241009 0.970523) | |
(instance "obstacleMesh")) | |
(node "Obstacle.002" | |
(pos 10.373225 1.037323 0.0) | |
(quaternion 0 0 -0.278819 0.960344) | |
(instance "obstacleMesh")) | |
(node "Obstacle.003" | |
(pos -3.872672 -11.963786 0.0) | |
(quaternion 0 0 -0.985531 0.169494) | |
(instance "obstacleMesh")) | |
(node "Lamp.001" | |
(pos 14.022016 -17.372822 35.038685) | |
(quaternion 0.169076 0.272171 0.755880 0.570947) | |
(instance "spotLight")) | |
(node "Lamp.002" | |
(pos -21.632603 22.068127 45.038685) | |
(quaternion 0.169076 0.272171 0.75880 0.570947) | |
(instance "spotLight")) | |
(node "Camera" | |
(pos 26 -62 68) | |
(quaternion 0.358493 0.076198 0.193446 0.910085) | |
(instance "mainCamera"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment