-
Notifications
You must be signed in to change notification settings - Fork 44
/
test-scene.mojo3d
111 lines (111 loc) · 2.52 KB
/
test-scene.mojo3d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"assetsDir":"modules/mojo3d/tests/assets/",
"instances":[{
"ctor":{
"args":[true],
"decl":"mojo3d.Scene.New",
"type":"Void(Bool)"
},
"id":"#0",
"state":{
"AmbientLight":[0.05000000074505806,0.15000000596046448,0.25,0.25],
"ClearColor":[0.20000000298023224,0.60000002384185791,1,1],
"FogColor":[0.20000000298023224,0.60000002384185791,1,1],
"FogFar":200
},
"type":"mojo3d.Scene"
},{
"ctor":{
"args":[null],
"decl":"mojo3d.Camera.New",
"type":"Void(mojo3d.Entity)"
},
"id":"#1",
"state":{
"LocalMatrix":[1,0,0,0,1,0,0,0,1,0,2.5,-5]
},
"type":"mojo3d.Camera"
},{
"ctor":{
"args":["#1"],
"decl":"mojo3d.FlyBehaviour.New",
"type":"Void(mojo3d.Entity)"
},
"id":"#2",
"type":"mojo3d.FlyBehaviour"
},{
"ctor":{
"args":[null],
"decl":"mojo3d.Light.New",
"type":"Void(mojo3d.Entity)"
},
"id":"#3",
"state":{
"CastsShadow":true,
"LocalMatrix":[0.70710676908493042,0,0.70710676908493042,-0.49999997019767761,0.70710676908493042,0.49999997019767761,-0.49999997019767761,-0.70710676908493042,0.49999997019767761,0,0,0]
},
"type":"mojo3d.Light"
},{
"ctor":{
"args":[[0.69999998807907104,1,0,1],1,1],
"decl":"mojo3d.PbrMaterial.New",
"type":"Void(std.graphics.Color,Float,Float)"
},
"id":"#4",
"type":"mojo3d.PbrMaterial"
},{
"ctor":{
"args":[[-100,-1,-100,100,0,100],1,1,1],
"decl":"mojo3d.Mesh.CreateBox",
"type":"mojo3d.Mesh(std.geom.Box<monkey.types.Float>,Int,Int,Int)"
},
"id":"#5",
"type":"mojo3d.Mesh"
},{
"ctor":{
"args":["#5","#4",null],
"decl":"mojo3d.Model.New",
"type":"Void(mojo3d.Mesh,mojo3d.Material,mojo3d.Entity)"
},
"id":"#6",
"type":"mojo3d.Model"
},{
"ctor":{
"args":[[1,0,0,1],0.05000000074505806,0.20000000298023224],
"decl":"mojo3d.PbrMaterial.New",
"type":"Void(std.graphics.Color,Float,Float)"
},
"id":"#7",
"type":"mojo3d.PbrMaterial"
},{
"ctor":{
"args":[2,0.5,48,24],
"decl":"mojo3d.Mesh.CreateTorus",
"type":"mojo3d.Mesh(Float,Float,Int,Int)"
},
"id":"#8",
"type":"mojo3d.Mesh"
},{
"ctor":{
"args":["#8","#7",null],
"decl":"mojo3d.Model.New",
"type":"Void(mojo3d.Mesh,mojo3d.Material,mojo3d.Entity)"
},
"id":"#9",
"state":{
"LocalMatrix":[1,0,0,0,1,0,0,0,1,0,2.5,0]
},
"type":"mojo3d.Model"
},{
"ctor":{
"args":["#9"],
"decl":"mojo3d.RotateBehaviour.New",
"type":"Void(mojo3d.Entity)"
},
"id":"#10",
"state":{
"Speed":[0.10000000149011612,0.20000000298023224,0.30000001192092896]
},
"type":"mojo3d.RotateBehaviour"
}]
}