3D ski maps. WIP.

config.json 982B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "VERTEX_SHADER_FILENAME": "raw/shader.vert",
  3. "FRAGMENT_SHADER_FILENAME": "raw/shader.frag",
  4. "CLEAR_COLOR": [0.0, 0.63, 0.9, 1.0],
  5. "FOV": 35.0,
  6. "NEAR": 0.1,
  7. "FAR": 800000.0,
  8. "DEFAULT_EYE": [0.0, 0.0, 3000.0],
  9. "DEFAULT_CENTER": [0.0, 0.0, 0.0],
  10. "DEFAULT_UP": [1.0, 0.0, 0.0],
  11. "TERRAIN_MATERIAL": [
  12. [0.5, 0.5, 0.5, 1.0],
  13. [0.7, 0.7, 0.7, 1.0],
  14. [0.0, 0.0, 0.0, 1.0],
  15. 0.0
  16. ],
  17. "TERRAIN_MATERIAL_FLOAT": 75.0,
  18. "DIRECTIONAL_LIGHT": [
  19. [0.577, 0.577, 0.577],
  20. [0.0, 0.0, 0.0],
  21. [0.0, 1.0, 0.0, 1.0],
  22. [1.0, 0.0, 0.0, 1.0],
  23. [0.0, 0.0, 1.0, 1.0]
  24. ],
  25. "HEIGHTMAP_METADATA":
  26. {
  27. "CELLHEIGHT": 75.0,
  28. "CELLWIDTH": 75.0,
  29. "MAX_ALTITUDE": 2735.06,
  30. "MEAN_ALTITUDE": 1897.3,
  31. "N_COLS": 31,
  32. "N_ROWS": 446,
  33. "X_MAX": 989362.5,
  34. "X_MIN": 987112.5,
  35. "Y_MAX": 6362362.5,
  36. "Y_MIN": 6328987.5
  37. }
  38. }