index.vwf.yaml_old 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # A-Frame & VWF simple scene
  2. # Copyright 2017 Krestianstvo.org project
  3. ---
  4. extends: http://vwf.example.com/aframe/ascene.vwf
  5. properties:
  6. transparent: true
  7. assets: "assets.json"
  8. children:
  9. sky:
  10. extends: http://vwf.example.com/aframe/asky.vwf
  11. properties:
  12. color: "#ECECEC"
  13. side: "back"
  14. fog: false
  15. spaceText:
  16. extends: http://vwf.example.com/aframe/atext.vwf
  17. properties:
  18. value: "Virtual World Framework & A-Frame"
  19. color: "#b74217"
  20. position: "-2 2.5 -2"
  21. spaceText2:
  22. extends: http://vwf.example.com/aframe/atext.vwf
  23. properties:
  24. value: "Project by Krestianstvo.org"
  25. color: "#305b32"
  26. position: "1 3 -4"
  27. box:
  28. extends: http://vwf.example.com/aframe/abox.vwf
  29. properties:
  30. position: "-1 0.5 -3"
  31. rotation: "0 -30 0"
  32. color: "#3c7249"
  33. depth: 2
  34. height: 1
  35. width: 1
  36. groundPlane:
  37. extends: http://vwf.example.com/aframe/aplane.vwf
  38. properties:
  39. height: 50
  40. width: 50
  41. repeat: "10 10"
  42. rotation: "-90 0 0"
  43. color: "white"
  44. wireframe: false
  45. src: "#bg2"
  46. multicam:
  47. extends: http://vwf.example.com/aframe/abox.vwf
  48. properties:
  49. position: "0 1.6 -2"
  50. depth: 0.5
  51. height: 0.5
  52. width: 0.5
  53. opacity: 0.5
  54. transparent: true
  55. color: "green"
  56. fullHeight: 3390
  57. fullWidth: 2400
  58. children:
  59. interpolation:
  60. extends: http://vwf.example.com/aframe/interpolation-component.vwf
  61. properties:
  62. enabled: true
  63. camera1:
  64. extends: http://vwf.example.com/aframe/offsetcamera.vwf
  65. properties:
  66. xoffset: 0
  67. yoffset: -847.5
  68. width: 2400
  69. height: 1695
  70. camera2:
  71. extends: http://vwf.example.com/aframe/offsetcamera.vwf
  72. properties:
  73. xoffset: 0
  74. yoffset: 847.5
  75. width: 2400
  76. height: 1695
  77. methods:
  78. initialize:
  79. body: |
  80. console.log("initializing...");
  81. this.children.multicam.camera1.createCamera();
  82. this.children.multicam.camera2.createCamera();