This repository has been archived by the owner on May 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sceneBasic3.yaax
120 lines (118 loc) · 3.63 KB
/
sceneBasic3.yaax
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
112
113
114
115
116
117
118
119
120
# Configuration of the camera
cameras:
{
CameraCluster: (
{
screenSize = {x: 500; y = 500;};
screen = {
position = {x = 0.0; y = 0.0; z = 0.0;};
scale = {x = 0.0; y = 0.0; z = 0.0;};
rotation = {x = 90.0; y = 90.0; z = 0.0;};
};
maxThreads = 1;
cluster = 1,
distanceFromScreen = 200.0;
filters = {
SSAAx4: (
{
maxThreads = -1
}
)
}
}
);
};
# Primitives in the scene
primitives :
{
Torus = (
{
minRadius = 50.0;
maxRadius = 120.0;
transform = {
position = {x = 0.0; y = 30.0; z = 0.0;};
scale = {x = 1.0; y = 1.0; z = 0.0;};
rotation = {x = 0.0; y = 0.0; z = 0.0;};
};
material = {
type = "PlainMaterial";
shininess = 1.0;
ambient = {x = 1.0; y = 1.0; z = 1.0;};
diffuse = {x = 1.0; y = 1.0; z = 1.0;};
specular = {x = 1.0; y = 1.0; z = 1.0;};
color = {r = 206.0; g = 123.0; b = 124.0; a = 255.0;};
};
}
);
Plane = (
{
transform = {
position = {x = 0.0; y = 150.0; z = 0.0;};
scale = {x = 0.0; y = 0.0; z = 0.0;};
rotation = {x = 0.0; y = 1.0; z = 0.0;};
};
size = {x = 50.0; y = 50.0; z = 0.0;};
material = {
shininess = 1.0;
color = {r = 255.0; g = 255.0; b = 0.0; a = 255.0;};
type = "PlainMaterial";
ambient = {x = 1.0; y = 1.0; z = 1.0};
diffuse = {x = 1.0; y = 1.0; z = 1.0};
specular = {x = 1.0; y = 1.0; z = 1.0};
};
},
{
transform = {
position = {x = 0.0; y = 10.0; z = -100.0;};
scale = {x = 0.0; y = 0.0; z = 0.0;};
rotation = {x = 0.0; y = 0.0; z = 1.0;};
};
size = {x = 1000.0; y = 500.0; z = 500.0;};
material = {
shininess = 1.0;
ambient = {x = 1.0; y = 1.0; z = 1.0};
diffuse = {x = 1.0; y = 1.0; z = 1.0};
specular = {x = 1.0; y = 1.0; z = 1.0};
color = {r = 0.0; g = 255.0; b = 255.0; a = 255.0;};
type = "PlainMaterial";
};
}
);
};
# Light configuration
lights :
{
PointLight = (
{
transform = {
position = {x = 150.0; y = 0.0; z = 100.0;};
scale = {x = 1.0; y = 1.0; z = 0.0;};
rotation = {x = 0.0; y = 0.0; z = 0.0;};
};
color = {r = 255.0; g = 126.0; b = 300.0; a = 255.0;};
power = 3.0;
radius = 500.0;
},
{
transform = {
position = {x = -150.0; y = 0.0; z = 100.0;};
scale = {x = 1.0; y = 1.0; z = 0.0;};
rotation = {x = 0.0; y = 0.0; z = 0.0;};
};
color = {r = 255.0; g = 0.0; b = 0.0; a = 255.0;};
power = 1.0;
radius = 500.0;
}
);
AmbientLight = (
{
transform = {
position = {x = 150.0; y = 0.0; z = 100.0;};
scale = {x = 1.0; y = 0.0; z = 0.0;};
rotation = {x = 0.0; y = 0.0; z = 0.0;};
};
color = {r = 50.0; g = 50.0; b = 50.0; a = 255.0;};
power = 1.0;
}
);
};