sample.scene 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. scene terrainSampleScene
  2. {
  3. node terrain
  4. {
  5. terrain = res/common/terrain/sample.terrain
  6. collisionObject
  7. {
  8. type = RIGID_BODY
  9. shape = HEIGHTFIELD
  10. mass = 0
  11. kinematic = true
  12. }
  13. }
  14. node sky
  15. {
  16. url = res/common/terrain/sky.gpb#sphere
  17. material = res/common/terrain/sky.material
  18. scale = 30000,30000,30000
  19. translate = 0,25000,0
  20. }
  21. node camera
  22. {
  23. camera
  24. {
  25. type = PERSPECTIVE
  26. nearPlane = 1.0
  27. farPlane = 100000
  28. }
  29. // Starting position on ground
  30. translate = 3095, 369, -4393
  31. rotate = 0,1,0, 148
  32. // Screenshot position in air (screenshots)
  33. //translate = 3824, 1466, -3622
  34. //rotate = 0, 1.0, 0, 142
  35. }
  36. // Basic scene lighting properties
  37. ambientColor = 0.2, 0.2, 0.2
  38. lightColor = 1, 1, 1
  39. lightDirection = -1, -0.75, -0.75
  40. // Set active camera
  41. activeCamera = camera
  42. physics
  43. {
  44. // Bump up gravity force for this sample since our units are larger than normal
  45. gravity = 0, -90, 0
  46. }
  47. }