| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- scene terrainSampleScene
- {
- node terrain
- {
- terrain = res/common/terrain/sample.terrain
- collisionObject
- {
- type = RIGID_BODY
- shape = HEIGHTFIELD
- mass = 0
- kinematic = true
- }
- }
- node sky
- {
- url = res/common/terrain/sky.gpb#sphere
- material = res/common/terrain/sky.material
- scale = 30000,30000,30000
- translate = 0,25000,0
- }
- node directionalLight
- {
- light
- {
- type = DIRECTIONAL
- color = 1,1,1
- }
- rotate = 1,0,0, -45
- }
- node camera
- {
- camera
- {
- type = PERSPECTIVE
- nearPlane = 1.0
- farPlane = 100000
- }
- // Starting position on ground
- translate = 3095, 369, -4393
- rotate = 0,1,0, 148
- // Screenshot position in air (screenshots)
- //translate = 3824, 1466, -3622
- //rotate = 0, 1.0, 0, 142
- }
- // Basic scene lighting properties
- ambientColor = 0.2, 0.2, 0.2
- // Set active camera
- activeCamera = camera
- physics
- {
- // Bump up gravity force for this sample since our units are larger than normal
- gravity = 0, -90, 0
- }
- }
|