123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- {
- "extends": "proxy/aframe/ascene.vwf",
- "properties": {
- "transparent": true
- },
- "methods": {
- "initialize": {
- "body": " var runModel = vwf_view.kernel.find(\"\", \"/aranchor/model\")[0];\n vwf_view.kernel.callMethod(runModel, \"run\");\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"
- }
- },
- "light1": {
- "extends": "proxy/aframe/alight.vwf",
- "properties": {
- "type": "ambient",
- "color": "#BBB"
- }
- },
- "light2": {
- "extends": "proxy/aframe/alight.vwf",
- "properties": {
- "type": "directional",
- "color": "#FFF",
- "intensity": "0.6",
- "position": [
- -0.5,
- 1,
- 1
- ]
- }
- },
- "arcamera": {
- "extends": "proxy/aframe/abox.vwf",
- "properties": {
- "position": [
- 0,
- 0,
- 0
- ],
- "rotation": [
- 0,
- 0,
- 0
- ],
- "opacity": 0.5,
- "depth": "0.3",
- "width": "0.3",
- "height": "0.5"
- },
- "children": {
- "camera": {
- "extends": "proxy/aframe/acamera.vwf",
- "type": "ar",
- "properties": {
- "look-controls-enabled": "false",
- "wasd-controls-enabled": "false",
- "user-height": "0"
- }
- }
- }
- },
- "aranchor": {
- "extends": "proxy/aframe/a-arjs-anchor.vwf",
- "properties": {
- "position": [
- 0,
- 0,
- -5
- ],
- "hit-testing-enabled": "true",
- "changeMatrixMode": "modelViewMatrix",
- "preset": "hiro"
- },
- "children": {
- "model": {
- "extends": "proxy/aframe/aobjmodel.vwf",
- "properties": {
- "src": "#nwtree-obj",
- "mtl": "#nwtree-mtl",
- "position": [
- 0,
- 0.5,
- 0
- ],
- "rotation": [
- 0,
- 2811,
- 0
- ],
- "scale": [
- 2,
- 2,
- 2
- ]
- },
- "methods": {
- "run": {
- "body": " var time = this.time;\n let rot = this.rotation; //AFRAME.utils.coordinates.parse(this.rotation);\n this.rotation = [rot.x, rot.y+2, rot.z];\n this.future( 0.05 ).run();\n",
- "type": "application/javascript"
- }
- },
- "children": {
- "interpolation": {
- "extends": "proxy/aframe/interpolation-component.vwf",
- "properties": {
- "enabled": true
- }
- }
- }
- }
- }
- },
- "aranchor2": {
- "extends": "proxy/aframe/a-arjs-anchor.vwf",
- "properties": {
- "position": [
- -5,
- 0,
- -5
- ],
- "hit-testing-enabled": "true",
- "changeMatrixMode": "modelViewMatrix",
- "preset": "kanji"
- },
- "children": {
- "alltext": {
- "extends": "proxy/aframe/aentity.vwf",
- "properties": {
- "position": [
- 0,
- -1,
- 0
- ],
- "rotation": [
- -15,
- 0,
- 0
- ]
- },
- "children": {
- "spaceText": {
- "extends": "proxy/aframe/atext.vwf",
- "properties": {
- "value": "Happy New Year 2019!",
- "color": "#00ffa5",
- "position": [
- -2,
- 1,
- 0
- ],
- "rotation": [
- 0,
- 0,
- 15
- ],
- "scale": [
- 4,
- 4,
- 4
- ],
- "side": "double"
- }
- },
- "spaceText2": {
- "extends": "proxy/aframe/atext.vwf",
- "properties": {
- "value": "Project by Krestianstvo.org",
- "color": "#98b099",
- "position": [
- 0,
- 0.5,
- 0
- ],
- "scale": [
- 2,
- 2,
- 2
- ],
- "side": "double"
- }
- }
- }
- }
- }
- }
- }
- }
|