ifire commited on
Commit
a191cd9
1 Parent(s): e74cf0b

Use the newer code.

Browse files
Files changed (3) hide show
  1. godot.gd +15 -8
  2. node_3d.tscn +60 -123
  3. project.godot +1 -1
godot.gd CHANGED
@@ -8,7 +8,7 @@ const architext_colors = [[0, 0, 0], [249, 222, 182], [195, 209, 217], [250, 120
8
  const housegan_labels = {"living_room": 1, "kitchen": 2, "bedroom": 3, "bathroom": 4, "missing": 5, "closet": 6,
9
  "balcony": 7, "hallway": 8, "dining_room": 9, "laundry_room": 10, "corridor": 8}
10
 
11
- func create_room(name: String, coords: Array, parent: Node, root: Node, depth: float = 0.1, inset: float = 0.0, operation: int = CSGPolygon3D.OPERATION_UNION, color: Color = Color.TRANSPARENT) -> void:
12
  # Calculate the center of the room
13
  var center = Vector2.ZERO
14
  for i in range(0, coords.size(), 2):
@@ -31,6 +31,9 @@ func create_room(name: String, coords: Array, parent: Node, root: Node, depth: f
31
  polygon.operation = operation
32
  polygon.smooth_faces = true
33
 
 
 
 
34
  polygon.rotate_x(deg_to_rad(90))
35
 
36
  # Apply color coding
@@ -39,7 +42,7 @@ func create_room(name: String, coords: Array, parent: Node, root: Node, depth: f
39
  if not name.begins_with(room_name):
40
  continue
41
  var color_values = architext_colors[housegan_labels[room_name]]
42
- material.albedo_color =Color(color_values[0]/255.0, color_values[1]/255.0, color_values[2]/255.0).srgb_to_linear()
43
  if color != Color.TRANSPARENT:
44
  material.albedo_color = color
45
  polygon.material = material
@@ -68,13 +71,17 @@ func _run():
68
  csg_combiner.add_child(csg_combiner_plate, true)
69
  csg_combiner_plate.owner = root
70
 
 
 
 
 
 
71
  for room_name in data.keys():
72
  if room_name != "corridor":
73
- create_room(room_name, data[room_name], csg_combiner, root, -2.74)
74
-
75
- for room_name in data.keys():
76
- if room_name != "corridor":
77
- create_room(room_name + "Inset", data[room_name], csg_combiner, root, -(2.74 + 0.4), -0.24, CSGPolygon3D.OPERATION_SUBTRACTION)
78
 
79
  for room_name in data.keys():
80
- create_room(room_name + "Foundation", data[room_name], csg_combiner_plate, root, .2, 0.06, CSGPolygon3D.OPERATION_UNION, Color.from_string("#11344d", Color.WHITE))
 
 
8
  const housegan_labels = {"living_room": 1, "kitchen": 2, "bedroom": 3, "bathroom": 4, "missing": 5, "closet": 6,
9
  "balcony": 7, "hallway": 8, "dining_room": 9, "laundry_room": 10, "corridor": 8}
10
 
11
+ func create_room(name: String, coords: Array, parent: Node, root: Node, depth: float, inset: float, operation: int, color: Color, elevation: float) -> void:
12
  # Calculate the center of the room
13
  var center = Vector2.ZERO
14
  for i in range(0, coords.size(), 2):
 
31
  polygon.operation = operation
32
  polygon.smooth_faces = true
33
 
34
+ # Elevate the polygon if needed
35
+ polygon.translate(Vector3(0, elevation, 0))
36
+
37
  polygon.rotate_x(deg_to_rad(90))
38
 
39
  # Apply color coding
 
42
  if not name.begins_with(room_name):
43
  continue
44
  var color_values = architext_colors[housegan_labels[room_name]]
45
+ material.albedo_color = Color(color_values[0]/255.0, color_values[1]/255.0, color_values[2]/255.0).srgb_to_linear()
46
  if color != Color.TRANSPARENT:
47
  material.albedo_color = color
48
  polygon.material = material
 
71
  csg_combiner.add_child(csg_combiner_plate, true)
72
  csg_combiner_plate.owner = root
73
 
74
+ # Ensure all depths are positive
75
+ var base_depth = 1.0 # Base depth for rooms
76
+ var inset_depth = 0.4 # Additional depth for insets
77
+ var foundation_depth = 0.2 # Depth for foundations
78
+
79
  for room_name in data.keys():
80
  if room_name != "corridor":
81
+ create_room(room_name, data[room_name], csg_combiner, root, base_depth, 0.0, CSGPolygon3D.OPERATION_UNION, Color.TRANSPARENT, 0.0)
82
+ else:
83
+ create_room(room_name, data[room_name], csg_combiner, root, 0.2, 0.0, CSGPolygon3D.OPERATION_UNION, Color.TRANSPARENT, 0.0)
 
 
84
 
85
  for room_name in data.keys():
86
+ if room_name != "corridor":
87
+ create_room(room_name + "Inset", data[room_name], csg_combiner, root, base_depth + inset_depth, -0.24, CSGPolygon3D.OPERATION_SUBTRACTION, Color.TRANSPARENT, 0.05)
node_3d.tscn CHANGED
@@ -1,69 +1,48 @@
1
- [gd_scene load_steps=23 format=3 uid="uid://dt01uew1tusvb"]
2
 
3
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m8yt4"]
4
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
5
-
6
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_eauxt"]
7
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
8
-
9
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_y3h6y"]
10
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
11
-
12
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jblcp"]
13
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
14
-
15
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_farq8"]
16
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
17
-
18
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tywet"]
19
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
20
-
21
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dpy16"]
22
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
23
-
24
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_y6ukb"]
25
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
26
-
27
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lr8pd"]
28
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
29
 
30
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8xu5o"]
31
  albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
32
 
33
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hajut"]
34
  albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
35
 
36
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_uqus4"]
37
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
38
 
39
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rsco4"]
40
  albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
41
 
42
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_81sri"]
43
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
44
 
45
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3jgm6"]
46
  albedo_color = Color(0.545724, 0.637597, 0.693872, 1)
47
 
48
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rjwdk"]
 
 
 
49
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
50
 
51
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wk433"]
52
  albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
53
 
54
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_05pgg"]
55
  albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
56
 
57
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4cnk7"]
58
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
59
 
60
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_r1hbc"]
61
  albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
62
 
63
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rvekt"]
64
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
65
 
66
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2dytj"]
67
  albedo_color = Color(0.545724, 0.637597, 0.693872, 1)
68
 
69
  [node name="Node3D" type="Node3D"]
@@ -74,149 +53,107 @@ use_collision = true
74
  [node name="CSGCombiner3D_Plate" type="CSGCombiner3D" parent="CSGCombiner3D"]
75
  transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0)
76
 
77
- [node name="bedroom1Foundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
78
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
79
- polygon = PackedVector2Array(9.06985, 4.38835, 3.81748, 4.38835, 3.81748, 2.30179, 9.06985, 2.30179)
80
- depth = 0.2
81
- smooth_faces = true
82
- material = SubResource("StandardMaterial3D_m8yt4")
83
-
84
- [node name="living_roomFoundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
85
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
86
- polygon = PackedVector2Array(14.1932, 11.6659, 8.97578, 11.6659, 8.97578, 5.37636, 14.1932, 5.37636)
87
- depth = 0.2
88
- smooth_faces = true
89
- material = SubResource("StandardMaterial3D_eauxt")
90
-
91
- [node name="bathroom1Foundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
92
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
93
- polygon = PackedVector2Array(7.99077, 7.51489, 5.88247, 7.51489, 5.88247, 4.3161, 7.99077, 4.3161)
94
- depth = 0.2
95
- smooth_faces = true
96
- material = SubResource("StandardMaterial3D_y3h6y")
97
-
98
- [node name="bedroom2Foundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
99
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
100
- polygon = PackedVector2Array(7.98872, 12.657, 4.82818, 12.657, 4.82818, 7.4134, 7.98872, 7.4134)
101
- depth = 0.2
102
- smooth_faces = true
103
- material = SubResource("StandardMaterial3D_jblcp")
104
-
105
- [node name="bathroom2Foundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
106
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
107
- polygon = PackedVector2Array(10.1136, 15.7459, 7.91461, 15.7459, 7.91461, 13.6203, 10.1136, 13.6203)
108
- depth = 0.2
109
- smooth_faces = true
110
- material = SubResource("StandardMaterial3D_farq8")
111
-
112
- [node name="bedroom3Foundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
113
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
114
- polygon = PackedVector2Array(14.2027, 15.7405, 10.0226, 15.7405, 10.0226, 12.5694, 14.2027, 12.5694)
115
- depth = 0.2
116
- smooth_faces = true
117
- material = SubResource("StandardMaterial3D_tywet")
118
-
119
- [node name="kitchenFoundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
120
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
121
- polygon = PackedVector2Array(13.2171, 5.4584, 8.96599, 5.4584, 8.96599, 2.28807, 13.2171, 2.28807)
122
- depth = 0.2
123
- smooth_faces = true
124
- material = SubResource("StandardMaterial3D_dpy16")
125
-
126
- [node name="corridorFoundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
127
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
128
- polygon = PackedVector2Array(14.208, 12.6337, 10.0637, 12.6653, 10.066, 13.7218, 7.92157, 13.7098, 7.93654, 4.31007, 9.0019, 4.30745, 8.96773, 11.6578, 14.2128, 11.6356)
129
- depth = 0.2
130
- smooth_faces = true
131
- material = SubResource("StandardMaterial3D_y6ukb")
132
-
133
  [node name="bedroom1" type="CSGPolygon3D" parent="CSGCombiner3D"]
134
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
135
  polygon = PackedVector2Array(9.01408, 4.3662, 3.87324, 4.3662, 3.87324, 2.32394, 9.01408, 2.32394)
136
  smooth_faces = true
137
- material = SubResource("StandardMaterial3D_lr8pd")
138
 
139
  [node name="living_room" type="CSGPolygon3D" parent="CSGCombiner3D"]
140
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
141
  polygon = PackedVector2Array(14.1549, 11.6197, 9.01408, 11.6197, 9.01408, 5.42254, 14.1549, 5.42254)
142
  smooth_faces = true
143
- material = SubResource("StandardMaterial3D_8xu5o")
144
 
145
  [node name="bathroom1" type="CSGPolygon3D" parent="CSGCombiner3D"]
146
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
147
  polygon = PackedVector2Array(7.95775, 7.46479, 5.91549, 7.46479, 5.91549, 4.3662, 7.95775, 4.3662)
148
  smooth_faces = true
149
- material = SubResource("StandardMaterial3D_hajut")
150
 
151
  [node name="bedroom2" type="CSGPolygon3D" parent="CSGCombiner3D"]
152
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
153
  polygon = PackedVector2Array(7.95775, 12.6056, 4.85915, 12.6056, 4.85915, 7.46479, 7.95775, 7.46479)
154
  smooth_faces = true
155
- material = SubResource("StandardMaterial3D_uqus4")
156
 
157
  [node name="bathroom2" type="CSGPolygon3D" parent="CSGCombiner3D"]
158
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
159
  polygon = PackedVector2Array(10.0704, 15.7042, 7.95775, 15.7042, 7.95775, 13.662, 10.0704, 13.662)
160
  smooth_faces = true
161
- material = SubResource("StandardMaterial3D_rsco4")
162
 
163
  [node name="bedroom3" type="CSGPolygon3D" parent="CSGCombiner3D"]
164
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
165
  polygon = PackedVector2Array(14.1549, 15.7042, 10.0704, 15.7042, 10.0704, 12.6056, 14.1549, 12.6056)
166
  smooth_faces = true
167
- material = SubResource("StandardMaterial3D_81sri")
168
 
169
  [node name="kitchen" type="CSGPolygon3D" parent="CSGCombiner3D"]
170
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
171
  polygon = PackedVector2Array(13.169, 5.42254, 9.01408, 5.42254, 9.01408, 2.32394, 13.169, 2.32394)
172
  smooth_faces = true
173
- material = SubResource("StandardMaterial3D_3jgm6")
 
 
 
 
 
 
 
174
 
175
  [node name="bedroom1Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
176
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
177
  operation = 2
178
  polygon = PackedVector2Array(8.79104, 4.27759, 4.09628, 4.27759, 4.09628, 2.41255, 8.79104, 2.41255)
 
179
  smooth_faces = true
180
- material = SubResource("StandardMaterial3D_rjwdk")
181
 
182
  [node name="living_roomInset" type="CSGPolygon3D" parent="CSGCombiner3D"]
183
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
184
  operation = 2
185
  polygon = PackedVector2Array(14.0017, 11.435, 9.16732, 11.435, 9.16732, 5.60725, 14.0017, 5.60725)
 
186
  smooth_faces = true
187
- material = SubResource("StandardMaterial3D_wk433")
188
 
189
  [node name="bathroom1Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
190
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
191
  operation = 2
192
  polygon = PackedVector2Array(7.82567, 7.2644, 6.04757, 7.2644, 6.04757, 4.56659, 7.82567, 4.56659)
 
193
  smooth_faces = true
194
- material = SubResource("StandardMaterial3D_05pgg")
195
 
196
  [node name="bedroom2Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
197
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
198
  operation = 2
199
  polygon = PackedVector2Array(7.83385, 12.4001, 4.98305, 12.4001, 4.98305, 7.67034, 7.83385, 7.67034)
 
200
  smooth_faces = true
201
- material = SubResource("StandardMaterial3D_4cnk7")
202
 
203
  [node name="bathroom2Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
204
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
205
  operation = 2
206
  polygon = PackedVector2Array(9.89787, 15.5374, 8.1303, 15.5374, 8.1303, 13.8288, 9.89787, 13.8288)
 
207
  smooth_faces = true
208
- material = SubResource("StandardMaterial3D_r1hbc")
209
 
210
  [node name="bedroom3Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
211
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
212
  operation = 2
213
  polygon = PackedVector2Array(13.9637, 15.5592, 10.2616, 15.5592, 10.2616, 12.7507, 13.9637, 12.7507)
 
214
  smooth_faces = true
215
- material = SubResource("StandardMaterial3D_rvekt")
216
 
217
  [node name="kitchenInset" type="CSGPolygon3D" parent="CSGCombiner3D"]
218
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
219
  operation = 2
220
  polygon = PackedVector2Array(12.9766, 5.27906, 9.20648, 5.27906, 9.20648, 2.46742, 12.9766, 2.46742)
 
221
  smooth_faces = true
222
- material = SubResource("StandardMaterial3D_2dytj")
 
1
+ [gd_scene load_steps=16 format=3 uid="uid://dt01uew1tusvb"]
2
 
3
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4xowi"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
5
 
6
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a202f"]
7
  albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
8
 
9
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_noarx"]
10
  albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
11
 
12
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a0tk4"]
13
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
14
 
15
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_r3fl7"]
16
  albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
17
 
18
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jka67"]
19
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
20
 
21
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_i5arm"]
22
  albedo_color = Color(0.545724, 0.637597, 0.693872, 1)
23
 
24
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wc5p8"]
25
+ albedo_color = Color(0.00560539, 0.0152085, 0.0423114, 1)
26
+
27
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jsk3o"]
28
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
29
 
30
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4arys"]
31
  albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
32
 
33
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6iypd"]
34
  albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
35
 
36
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tereu"]
37
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
38
 
39
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cdqbm"]
40
  albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
41
 
42
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_imku0"]
43
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
44
 
45
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wlxy5"]
46
  albedo_color = Color(0.545724, 0.637597, 0.693872, 1)
47
 
48
  [node name="Node3D" type="Node3D"]
 
53
  [node name="CSGCombiner3D_Plate" type="CSGCombiner3D" parent="CSGCombiner3D"]
54
  transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0)
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  [node name="bedroom1" type="CSGPolygon3D" parent="CSGCombiner3D"]
57
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0, 0)
58
  polygon = PackedVector2Array(9.01408, 4.3662, 3.87324, 4.3662, 3.87324, 2.32394, 9.01408, 2.32394)
59
  smooth_faces = true
60
+ material = SubResource("StandardMaterial3D_4xowi")
61
 
62
  [node name="living_room" type="CSGPolygon3D" parent="CSGCombiner3D"]
63
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0, 0)
64
  polygon = PackedVector2Array(14.1549, 11.6197, 9.01408, 11.6197, 9.01408, 5.42254, 14.1549, 5.42254)
65
  smooth_faces = true
66
+ material = SubResource("StandardMaterial3D_a202f")
67
 
68
  [node name="bathroom1" type="CSGPolygon3D" parent="CSGCombiner3D"]
69
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0, 0)
70
  polygon = PackedVector2Array(7.95775, 7.46479, 5.91549, 7.46479, 5.91549, 4.3662, 7.95775, 4.3662)
71
  smooth_faces = true
72
+ material = SubResource("StandardMaterial3D_noarx")
73
 
74
  [node name="bedroom2" type="CSGPolygon3D" parent="CSGCombiner3D"]
75
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0, 0)
76
  polygon = PackedVector2Array(7.95775, 12.6056, 4.85915, 12.6056, 4.85915, 7.46479, 7.95775, 7.46479)
77
  smooth_faces = true
78
+ material = SubResource("StandardMaterial3D_a0tk4")
79
 
80
  [node name="bathroom2" type="CSGPolygon3D" parent="CSGCombiner3D"]
81
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0, 0)
82
  polygon = PackedVector2Array(10.0704, 15.7042, 7.95775, 15.7042, 7.95775, 13.662, 10.0704, 13.662)
83
  smooth_faces = true
84
+ material = SubResource("StandardMaterial3D_r3fl7")
85
 
86
  [node name="bedroom3" type="CSGPolygon3D" parent="CSGCombiner3D"]
87
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0, 0)
88
  polygon = PackedVector2Array(14.1549, 15.7042, 10.0704, 15.7042, 10.0704, 12.6056, 14.1549, 12.6056)
89
  smooth_faces = true
90
+ material = SubResource("StandardMaterial3D_jka67")
91
 
92
  [node name="kitchen" type="CSGPolygon3D" parent="CSGCombiner3D"]
93
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0, 0)
94
  polygon = PackedVector2Array(13.169, 5.42254, 9.01408, 5.42254, 9.01408, 2.32394, 13.169, 2.32394)
95
  smooth_faces = true
96
+ material = SubResource("StandardMaterial3D_i5arm")
97
+
98
+ [node name="corridor" type="CSGPolygon3D" parent="CSGCombiner3D"]
99
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0, 0)
100
+ polygon = PackedVector2Array(14.1549, 12.6056, 10.0704, 12.6056, 10.0704, 13.662, 7.95775, 13.662, 7.95775, 4.3662, 9.01408, 4.3662, 9.01408, 11.6197, 14.1549, 11.6197)
101
+ depth = 0.2
102
+ smooth_faces = true
103
+ material = SubResource("StandardMaterial3D_wc5p8")
104
 
105
  [node name="bedroom1Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
106
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0.05, 0)
107
  operation = 2
108
  polygon = PackedVector2Array(8.79104, 4.27759, 4.09628, 4.27759, 4.09628, 2.41255, 8.79104, 2.41255)
109
+ depth = 1.4
110
  smooth_faces = true
111
+ material = SubResource("StandardMaterial3D_jsk3o")
112
 
113
  [node name="living_roomInset" type="CSGPolygon3D" parent="CSGCombiner3D"]
114
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0.05, 0)
115
  operation = 2
116
  polygon = PackedVector2Array(14.0017, 11.435, 9.16732, 11.435, 9.16732, 5.60725, 14.0017, 5.60725)
117
+ depth = 1.4
118
  smooth_faces = true
119
+ material = SubResource("StandardMaterial3D_4arys")
120
 
121
  [node name="bathroom1Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
122
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0.05, 0)
123
  operation = 2
124
  polygon = PackedVector2Array(7.82567, 7.2644, 6.04757, 7.2644, 6.04757, 4.56659, 7.82567, 4.56659)
125
+ depth = 1.4
126
  smooth_faces = true
127
+ material = SubResource("StandardMaterial3D_6iypd")
128
 
129
  [node name="bedroom2Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
130
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0.05, 0)
131
  operation = 2
132
  polygon = PackedVector2Array(7.83385, 12.4001, 4.98305, 12.4001, 4.98305, 7.67034, 7.83385, 7.67034)
133
+ depth = 1.4
134
  smooth_faces = true
135
+ material = SubResource("StandardMaterial3D_tereu")
136
 
137
  [node name="bathroom2Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
138
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0.05, 0)
139
  operation = 2
140
  polygon = PackedVector2Array(9.89787, 15.5374, 8.1303, 15.5374, 8.1303, 13.8288, 9.89787, 13.8288)
141
+ depth = 1.4
142
  smooth_faces = true
143
+ material = SubResource("StandardMaterial3D_cdqbm")
144
 
145
  [node name="bedroom3Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
146
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0.05, 0)
147
  operation = 2
148
  polygon = PackedVector2Array(13.9637, 15.5592, 10.2616, 15.5592, 10.2616, 12.7507, 13.9637, 12.7507)
149
+ depth = 1.4
150
  smooth_faces = true
151
+ material = SubResource("StandardMaterial3D_imku0")
152
 
153
  [node name="kitchenInset" type="CSGPolygon3D" parent="CSGCombiner3D"]
154
+ transform = Transform3D(1, 0, 0, 0, 6.12323e-17, -1, 0, 1, 6.12323e-17, 0, 0.05, 0)
155
  operation = 2
156
  polygon = PackedVector2Array(12.9766, 5.27906, 9.20648, 5.27906, 9.20648, 2.46742, 12.9766, 2.46742)
157
+ depth = 1.4
158
  smooth_faces = true
159
+ material = SubResource("StandardMaterial3D_wlxy5")
project.godot CHANGED
@@ -12,5 +12,5 @@ config_version=5
12
 
13
  config/name="Architext"
14
  run/main_scene="res://node_3d.tscn"
15
- config/features=PackedStringArray("4.2", "Double Precision", "Forward Plus")
16
  config/icon="res://icon.svg"
 
12
 
13
  config/name="Architext"
14
  run/main_scene="res://node_3d.tscn"
15
+ config/features=PackedStringArray("4.4", "Double Precision", "Forward Plus")
16
  config/icon="res://icon.svg"