Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

59 rader
1.6 KiB

  1. {
  2. "default": {
  3. "author": "Matthew Petroff",
  4. "firstScene": "pond",
  5. "sceneFadeDuration": 2000
  6. },
  7. "scenes": {
  8. "pondCube": {
  9. "title": "Jordan Pond (Cube)",
  10. "type": "cubemap",
  11. "cubeMap": [
  12. "./examplepanocube0.jpg",
  13. "./examplepanocube1.jpg",
  14. "./examplepanocube2.jpg",
  15. "./examplepanocube3.jpg",
  16. "./examplepanocube4.jpg",
  17. "./examplepanocube5.jpg"
  18. ],
  19. "hotSpots": [
  20. {
  21. "pitch": -12,
  22. "yaw": -170,
  23. "type": "info",
  24. "text": "This is Jordan Pond, located in Acadia National Park."
  25. },
  26. {
  27. "pitch": -10,
  28. "yaw": 50,
  29. "type": "info",
  30. "text": "This is a link.",
  31. "URL": "https://github.com/mpetroff/pannellum"
  32. },
  33. {
  34. "pitch": 0,
  35. "yaw": 60,
  36. "type": "scene",
  37. "text": "Pond",
  38. "sceneId": "pond"
  39. }
  40. ]
  41. },
  42. "pond": {
  43. "title": "Jordan Pond",
  44. "panorama": "./examplepano.jpg",
  45. "hotSpots": [
  46. {
  47. "pitch": 0,
  48. "yaw": -100,
  49. "type": "scene",
  50. "text": "Pond (cube)",
  51. "sceneId": "pondCube"
  52. }
  53. ]
  54. }
  55. }
  56. }