-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkrzeslo.wrl
118 lines (107 loc) · 1.86 KB
/
krzeslo.wrl
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
#VRML V2.0 utf8
PointLight {
color 1 0 0,
ambientIntensity 3,
intensity 1,
on TRUE,
location 3 5 0,
}
PROTO krzeslo [
field SFVec3f pos 0 0 0
field SFRotation rot 0 0 1 0
]{
Group {
children [
#krzesselko
Transform {
translation IS pos
rotation IS rot
children [
# siedzisko
Transform {
translation 0 0.42 0
children [
Shape{
geometry Box { size 0.4 0.04 0.4}
}
]
}
# noga front left
Transform {
translation -0.18 0.2 0.18
children [
DEF noga Shape{
geometry Box { size 0.04 0.4 0.04}
appearance Appearance {
material Material {
diffuseColor .49 .04 .05
specularColor 1 1 1
emissiveColor .46 .04 .04
ambientIntensity 0
transparency .54
}
}
}
]
}
Transform {
translation 0.18 0.2 0.18
children [
USE noga
]
}
Transform {
translation 0.18 0.2 -0.18
children [
USE noga
]
}
Transform {
translation -0.18 0.2 -0.18
children [
USE noga
]
}
# oparcie
Transform {
translation 0.2 0.44 0
rotation 0 0 1 -0.2
children [
Transform{
translation 0.02 0.2 0
children [
Shape{
geometry Box { size 0.04 0.4 0.4}
appearance Appearance {
material Material {
diffuseColor .49 .04 .05
specularColor 1 1 1
emissiveColor .46 .04 .04
ambientIntensity 0
transparency .54
}
}
}
]
}
]
}
]
}
]
}
}
krzeslo {
pos 0 0 0
}
krzeslo {
pos -0.8 0 0.5
rot 0 1 0 3.14
}
krzeslo {
pos 0 0 0.5
}
krzeslo {
pos -0.8 0 0
rot 0 1 0 3.14
}