123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321 |
- {
- "extends": "proxy/aframe/ascene.vwf",
- "properties": {
- "transparent": true
- },
- "methods": {
- "initialize": {
- "body": " console.log(\"initializing...\");\n this.children.multicam.camera1.createCamera(3000, 2000, 0, 0, 1500, 2000);\n this.children.multicam.camera2.createCamera(3000, 2000, 1500, 0, 1500, 2000);\n",
- "type": "application/javascript"
- }
- },
- "children": {
- "assetSky": {
- "extends": "proxy/aframe/a-asset-image-item.vwf",
- "properties": {
- "itemID": "sky",
- "itemSrc": "/defaults/assets/skyes/sky3.jpg"
- }
- },
- "assetBG2": {
- "extends": "proxy/aframe/a-asset-image-item.vwf",
- "properties": {
- "itemID": "bg2",
- "itemSrc": "/defaults/assets/checker.jpg"
- }
- },
- "assetNwreeObj": {
- "extends": "proxy/aframe/a-asset-item.vwf",
- "properties": {
- "itemID": "nwtree-obj",
- "itemSrc": "/defaults/assets/models/nwtree/model.obj"
- }
- },
- "assetNwtreeMtl": {
- "extends": "proxy/aframe/a-asset-item.vwf",
- "properties": {
- "itemID": "nwtree-mtl",
- "itemSrc": "/defaults/assets/models/nwtree/materials.mtl"
- }
- },
- "sky": {
- "extends": "proxy/aframe/asky.vwf",
- "children": {
- "material": {
- "extends": "proxy/aframe/aMaterialComponent.vwf",
- "properties": {
- "color": "#ECECEC",
- "side": "back",
- "fog": false,
- "shader": "flat"
- }
- }
- }
- },
- "myLightSG": {
- "extends": "proxy/aframe/alight.vwf",
- "properties": {
- "type": "directional",
- "color": "white",
- "position": [
- 6,
- 22,
- 6
- ],
- "rotation": [
- -77,
- 85,
- 64
- ]
- }
- },
- "myLightSB": {
- "extends": "proxy/aframe/alight.vwf",
- "properties": {
- "type": "spot",
- "color": "blue",
- "position": [
- 0,
- 5,
- -25
- ],
- "rotation": [
- 0,
- 0,
- 150
- ]
- }
- },
- "myLightSR": {
- "extends": "proxy/aframe/alight.vwf",
- "properties": {
- "type": "spot",
- "color": "red",
- "position": [
- 0,
- 5,
- -25
- ],
- "rotation": [
- 0,
- -3,
- 150
- ]
- }
- },
- "model": {
- "extends": "proxy/aframe/aobjmodel.vwf",
- "properties": {
- "src": "#nwtree-obj",
- "mtl": "#nwtree-mtl",
- "position": [
- -1,
- 6,
- -25
- ],
- "rotation": [
- 0,
- -45,
- 0
- ],
- "scale": [
- 20,
- 20,
- 20
- ]
- },
- "methods": {
- "run": {
- "body": " var time = this.time;\n let rot = this.rotation; //AFRAME.utils.coordinates.parse(this.rotation);\n this.rotation = [rot[0], Math.sin(time)*50, rot[2]];\n this.future( 0.01 ).run();\n",
- "type": "application/javascript"
- }
- },
- "children": {
- "interpolation": {
- "extends": "proxy/aframe/interpolation-component.vwf",
- "properties": {
- "enabled": true
- }
- }
- }
- },
- "spaceText": {
- "extends": "proxy/aframe/atext.vwf",
- "properties": {
- "value": "Happy New Year 2018!",
- "color": "#d5ebda",
- "position": [
- -19,
- 5,
- -30
- ],
- "rotation": [
- 0,
- 0,
- 45
- ],
- "scale": [
- 9,
- 9,
- 9
- ]
- }
- },
- "spaceText2": {
- "extends": "proxy/aframe/atext.vwf",
- "properties": {
- "value": "Project by Krestianstvo.org",
- "color": "#305b32",
- "position": [
- 5,
- 10,
- -30
- ],
- "scale": [
- 5,
- 5,
- 5
- ]
- }
- },
- "box": {
- "extends": "proxy/aframe/abox.vwf",
- "properties": {
- "position": [
- 10,
- 0.5,
- 0
- ],
- "rotation": [
- 0,
- -30,
- 0
- ],
- "depth": "2",
- "height": "5",
- "width": "2"
- },
- "children": {
- "material": {
- "extends": "proxy/aframe/aMaterialComponent.vwf",
- "properties": {
- "color": "#3c7249"
- }
- }
- }
- },
- "sphere": {
- "extends": "proxy/aframe/asphere.vwf",
- "properties": {
- "position": [
- 7,
- 15,
- -25
- ],
- "radius": "5"
- },
- "children": {
- "material": {
- "extends": "proxy/aframe/aMaterialComponent.vwf",
- "properties": {
- "color": "#e0e014",
- "wireframe": true
- }
- }
- }
- },
- "box2": {
- "extends": "proxy/aframe/abox.vwf",
- "properties": {
- "position": [
- 0,
- 0,
- -35
- ],
- "rotation": [
- 0,
- 0,
- 0
- ],
- "depth": "1",
- "height": "50",
- "width": "50"
- },
- "children": {
- "material": {
- "extends": "proxy/aframe/aMaterialComponent.vwf",
- "properties": {
- "color": "white"
- }
- }
- }
- },
- "groundPlane": {
- "extends": "proxy/aframe/aplane.vwf",
- "properties": {
- "height": "100",
- "width": "100",
- "rotation": [
- -90,
- 0,
- 0
- ]
- },
- "children": {
- "material": {
- "extends": "proxy/aframe/aMaterialComponent.vwf",
- "properties": {
- "color": "white",
- "wireframe": false,
- "src": "#bg2",
- "repeat": "10 10"
- }
- }
- }
- },
- "multicam": {
- "extends": "proxy/aframe/abox.vwf",
- "properties": {
- "position": [
- 0,
- 4,
- -2
- ],
- "rotation": [
- 0,
- 0,
- 0
- ],
- "depth": "0.5",
- "height": "0.5",
- "width": "0.5"
- },
- "children": {
- "material": {
- "extends": "proxy/aframe/aMaterialComponent.vwf",
- "properties": {
- "opacity": 0.5,
- "transparent": true,
- "color": "green"
- }
- },
- "interpolation": {
- "extends": "proxy/aframe/interpolation-component.vwf",
- "properties": {
- "enabled": true
- }
- },
- "camera1": {
- "extends": "proxy/aframe/offsetcamera.vwf",
- "children": {
- }
- },
- "camera2": {
- "extends": "proxy/aframe/offsetcamera.vwf",
- "children": {
- }
- }
- }
- }
- }
- }
|