123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- # A-Frame & VWF simple scene
- # Copyright 2017 Krestianstvo.org project
- ---
- extends: http://vwf.example.com/aframe/ascene.vwf
- properties:
- transparent: true
- assets: "assets.json"
- children:
- sky:
- extends: http://vwf.example.com/aframe/asky.vwf
- properties:
- color: "#ECECEC"
- side: "back"
- fog: false
- spaceText:
- extends: http://vwf.example.com/aframe/atext.vwf
- properties:
- value: "Virtual World Framework & A-Frame"
- color: "#b74217"
- position: "-2 2.5 -2"
- spaceText2:
- extends: http://vwf.example.com/aframe/atext.vwf
- properties:
- value: "Project by Krestianstvo.org"
- color: "#305b32"
- position: "1 3 -4"
- box:
- extends: http://vwf.example.com/aframe/abox.vwf
- properties:
- position: "-1 0.5 -8"
- rotation: "0 -30 0"
- color: "#3c7249"
- depth: 2
- height: 9
- width: 2
- groundPlane:
- extends: http://vwf.example.com/aframe/aplane.vwf
- properties:
- height: 50
- width: 50
- repeat: "10 10"
- rotation: "-90 0 0"
- color: "white"
- wireframe: false
- src: "#bg2"
- multicam:
- extends: http://vwf.example.com/aframe/abox.vwf
- properties:
- position: "0 1.6 -2"
- depth: 0.5
- height: 0.5
- width: 0.5
- opacity: 0.5
- transparent: true
- color: "green"
- fullHeight: 2048
- fullWidth: 3072
- children:
- interpolation:
- extends: http://vwf.example.com/aframe/interpolation-component.vwf
- properties:
- enabled: true
- camera1:
- extends: http://vwf.example.com/aframe/offsetcamera.vwf
- properties:
- xoffset: 0
- yoffset: 0
- subcamWidth: 1536
- subcamHeight: 2048
- camera2:
- extends: http://vwf.example.com/aframe/offsetcamera.vwf
- properties:
- xoffset: 1536
- yoffset: 0
- subcamWidth: 1536
- subcamHeight: 2048
- camera3:
- extends: http://vwf.example.com/aframe/offsetcamera.vwf
- properties:
- xoffset: 0
- yoffset: 2048
- subcamWidth: 2048
- subcamHeight: 1536
- methods:
- initialize:
- body: |
- console.log("initializing...");
- this.children.multicam.camera1.createCamera();
- this.children.multicam.camera2.createCamera();
- this.children.multicam.camera3.createCamera();
|