ifire commited on
Commit
d286231
1 Parent(s): f3d166c

Add a godot project.

Browse files
Files changed (11) hide show
  1. .gitattributes +2 -16
  2. .gitignore +2 -0
  3. empty.png.import +34 -0
  4. godot.gd +105 -46
  5. icon.svg +1 -0
  6. icon.svg.import +37 -0
  7. labels.png.import +34 -0
  8. legend.png.import +34 -0
  9. node_3d.tscn +239 -0
  10. project.godot +16 -0
  11. thumbnail_gradio.PNG.import +34 -0
.gitattributes CHANGED
@@ -1,16 +1,2 @@
1
- *.bin.* filter=lfs diff=lfs merge=lfs -text
2
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.h5 filter=lfs diff=lfs merge=lfs -text
5
- *.tflite filter=lfs diff=lfs merge=lfs -text
6
- *.tar.gz filter=lfs diff=lfs merge=lfs -text
7
- *.ot filter=lfs diff=lfs merge=lfs -text
8
- *.onnx filter=lfs diff=lfs merge=lfs -text
9
- *.arrow filter=lfs diff=lfs merge=lfs -text
10
- *.ftz filter=lfs diff=lfs merge=lfs -text
11
- *.joblib filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.pb filter=lfs diff=lfs merge=lfs -text
15
- *.pt filter=lfs diff=lfs merge=lfs -text
16
- *.pth filter=lfs diff=lfs merge=lfs -text
 
1
+ # Normalize EOL for all files that Git considers text files.
2
+ * text=auto eol=lf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ # Godot 4+ specific ignores
2
+ .godot/
empty.png.import ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [remap]
2
+
3
+ importer="texture"
4
+ type="CompressedTexture2D"
5
+ uid="uid://bcsadbjs8585o"
6
+ path="res://.godot/imported/empty.png-6cfed9f1c7a7361513986ce73b0d7afa.ctex"
7
+ metadata={
8
+ "vram_texture": false
9
+ }
10
+
11
+ [deps]
12
+
13
+ source_file="res://empty.png"
14
+ dest_files=["res://.godot/imported/empty.png-6cfed9f1c7a7361513986ce73b0d7afa.ctex"]
15
+
16
+ [params]
17
+
18
+ compress/mode=0
19
+ compress/high_quality=false
20
+ compress/lossy_quality=0.7
21
+ compress/hdr_compression=1
22
+ compress/normal_map=0
23
+ compress/channel_pack=0
24
+ mipmaps/generate=false
25
+ mipmaps/limit=-1
26
+ roughness/mode=0
27
+ roughness/src_normal=""
28
+ process/fix_alpha_border=true
29
+ process/premult_alpha=false
30
+ process/normal_map_invert_y=false
31
+ process/hdr_as_srgb=false
32
+ process/hdr_clamp_exposure=false
33
+ process/size_limit=0
34
+ detect_3d/compress_to=1
godot.gd CHANGED
@@ -1,51 +1,110 @@
1
  @tool
2
  extends EditorScript
3
 
4
- var data:Dictionary = { "bathroom1": [8.52112676056338, 8.52112676056338, 6.408450704225352, 8.52112676056338, 6.408450704225352, 6.408450704225352, 8.52112676056338, 6.408450704225352], "bedroom1": [9.507042253521128, 5.422535211267606, 6.408450704225352, 5.422535211267606, 6.408450704225352, 3.3098591549295775, 9.507042253521128, 3.3098591549295775], "living_room": [14.71830985915493, 10.563380281690142, 10.563380281690142, 10.563380281690142, 10.563380281690142, 7.464788732394367, 14.71830985915493, 7.464788732394367], "kitchen": [9.507042253521128, 12.605633802816902, 4.366197183098592, 12.605633802816902, 4.366197183098592, 10.563380281690142, 9.507042253521128, 10.563380281690142], "bedroom2": [13.661971830985916, 7.464788732394367, 10.563380281690142, 7.464788732394367, 10.563380281690142, 6.408450704225352, 9.507042253521128, 6.408450704225352, 9.507042253521128, 4.366197183098592, 13.661971830985916, 4.366197183098592], "bedroom3": [12.605633802816902, 14.71830985915493, 9.507042253521128, 14.71830985915493, 9.507042253521128, 11.619718309859156, 10.563380281690142, 11.619718309859156, 10.563380281690142, 10.563380281690142, 12.605633802816902, 10.563380281690142], "bathroom2": [9.507042253521128, 10.563380281690142, 6.408450704225352, 10.563380281690142, 6.408450704225352, 8.52112676056338, 9.507042253521128, 8.52112676056338], "bedroom4": [5.422535211267606, 9.507042253521128, 3.3098591549295775, 9.507042253521128, 3.3098591549295775, 5.422535211267606, 5.422535211267606, 5.422535211267606], "corridor": [9.507042253521128, 11.619718309859156, 9.507042253521128, 8.52112676056338, 8.52112676056338, 8.52112676056338, 8.52112676056338, 6.408450704225352, 6.408450704225352, 6.408450704225352, 6.408450704225352, 9.507042253521128, 5.422535211267606, 9.507042253521128, 5.422535211267606, 5.422535211267606, 9.507042253521128, 5.422535211267606, 9.507042253521128, 6.408450704225352, 10.563380281690142, 6.408450704225352, 10.563380281690142, 11.619718309859156]}
5
-
6
- func create_room(name: String, coords: Array, parent: Node, root: Node) -> void:
7
- # Create vertices for the room
8
- var verts = PackedVector2Array()
9
- for i in range(0, coords.size(), 2):
10
- verts.append(Vector2(coords[i], coords[i+1]))
11
-
12
- # Create a new CSGPolygon3D with given name
13
- var polygon = CSGPolygon3D.new()
14
- polygon.polygon = verts
15
- polygon.name = name
16
- polygon.mode = CSGPolygon3D.MODE_DEPTH
17
- polygon.depth = 3.0 # Set the depth of the room
18
-
19
- # Create a smaller CSGPolygon3D for the inside cutout
20
- var inner_polygon = CSGPolygon3D.new()
21
- inner_polygon.name = name + "_inner"
22
- inner_polygon.operation = CSGCombiner3D.OPERATION_SUBTRACTION
23
- inner_polygon.polygon = verts
24
- inner_polygon.mode = CSGPolygon3D.MODE_DEPTH
25
- inner_polygon.depth = 2.9 # Set the depth of the cutout
26
- inner_polygon.scale = Vector3(0.9, 0.9, 1.0) # Scale down to create a cutout
27
-
28
- parent.add_child(polygon, true)
29
- polygon.owner = root
30
- polygon.add_child(inner_polygon, true)
31
- inner_polygon.owner = root
32
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  func _run():
35
- var root = get_scene()
36
- var csg_combiner: CSGCombiner3D = CSGCombiner3D.new()
37
- csg_combiner.name = "CSGCombiner3D"
38
- root.add_child(csg_combiner, true)
39
- csg_combiner.owner = root
40
-
41
- # Create rooms from the data
42
- for room_name in data.keys():
43
- create_room(room_name, data[room_name], csg_combiner, root)
44
-
45
- csg_combiner.owner = root
46
-
47
- # Create rooms from the data
48
- for room_name in data.keys():
49
- create_room(room_name, data[room_name], csg_combiner, root)
50
-
51
- csg_combiner.rotate_x(deg_to_rad(-90))
 
 
 
 
 
 
 
 
 
 
 
1
  @tool
2
  extends EditorScript
3
 
4
+ var data:Dictionary = {"bathroom1": [9.507042253521128, 5.422535211267606, 7.464788732394367, 5.422535211267606, 7.464788732394367, 3.3098591549295775, 9.507042253521128, 3.3098591549295775], "bedroom1": [11.619718309859156, 4.366197183098592, 9.507042253521128, 4.366197183098592, 9.507042253521128, 1.267605633802817, 11.619718309859156, 1.267605633802817], "living_room": [9.507042253521128, 8.52112676056338, 4.366197183098592, 8.52112676056338, 4.366197183098592, 5.422535211267606, 9.507042253521128, 5.422535211267606], "kitchen": [9.507042253521128, 12.605633802816902, 7.464788732394367, 12.605633802816902, 7.464788732394367, 8.52112676056338, 9.507042253521128, 8.52112676056338], "bathroom2": [11.619718309859156, 9.507042253521128, 9.507042253521128, 9.507042253521128, 9.507042253521128, 6.408450704225352, 11.619718309859156, 6.408450704225352], "bedroom2": [12.605633802816902, 6.408450704225352, 9.507042253521128, 6.408450704225352, 9.507042253521128, 4.366197183098592, 12.605633802816902, 4.366197183098592], "bedroom3": [12.605633802816902, 14.71830985915493, 9.507042253521128, 14.71830985915493, 9.507042253521128, 11.619718309859156, 12.605633802816902, 11.619718309859156], "bathroom3": [9.507042253521128, 16.760563380281692, 7.464788732394367, 16.760563380281692, 7.464788732394367, 12.605633802816902, 9.507042253521128, 12.605633802816902], "bedroom4": [13.661971830985916, 11.619718309859156, 9.507042253521128, 11.619718309859156, 9.507042253521128, 9.507042253521128, 13.661971830985916, 9.507042253521128]}
5
+
6
+ const architext_colors = [[0, 0, 0], [249, 222, 182], [195, 209, 217], [250, 120, 128], [126, 202, 234], [190, 0, 198], [255, 255, 255],
7
+ [6, 53, 17], [17, 33, 58], [132, 151, 246], [197, 203, 159], [6, 53, 17],]
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) -> void:
12
+ # Calculate the center of the room
13
+ var center = Vector2.ZERO
14
+ for i in range(0, coords.size(), 2):
15
+ center += Vector2(coords[i], coords[i+1])
16
+ center /= (coords.size() / 2)
17
+
18
+ # Create vertices for the room with inset
19
+ var verts = PackedVector2Array()
20
+ for i in range(0, coords.size(), 2):
21
+ var vertex = Vector2(coords[i], coords[i+1])
22
+ var direction = (vertex - center).normalized()
23
+ verts.append(vertex + direction * inset)
24
+
25
+ # Create a new CSGPolygon3D with given name
26
+ var polygon = CSGPolygon3D.new()
27
+ polygon.polygon = verts
28
+ polygon.name = name
29
+ polygon.mode = CSGPolygon3D.MODE_DEPTH
30
+ polygon.depth = depth
31
+ polygon.operation = operation
32
+
33
+ polygon.rotate_x(deg_to_rad(90))
34
+
35
+ # Apply color coding
36
+ var material: StandardMaterial3D = StandardMaterial3D.new()
37
+ for room_name in housegan_labels.keys():
38
+ if not name.begins_with(room_name):
39
+ continue
40
+ var color_values = architext_colors[housegan_labels[room_name]]
41
+ material.albedo_color = Color(color_values[0]/255.0, color_values[1]/255.0, color_values[2]/255.0).srgb_to_linear()
42
+ polygon.material = material
43
+
44
+ # Add polygons to the parent node
45
+ parent.add_child(polygon, true)
46
+ polygon.owner = root
47
+
48
+ func create_corridor(name: String, coords: Array, parent: Node, root: Node, depth: float = 0.1, inset: float = 0.0, operation: int = CSGPolygon3D.OPERATION_SUBTRACTION) -> void:
49
+ # Calculate the center of the corridor
50
+ var center = Vector2.ZERO
51
+ for i in range(0, coords.size(), 2):
52
+ center += Vector2(coords[i], coords[i+1])
53
+ center /= (coords.size() / 2)
54
+
55
+ # Create vertices for the corridor with inset
56
+ var verts = PackedVector2Array()
57
+ for i in range(0, coords.size(), 2):
58
+ var vertex = Vector2(coords[i], coords[i+1])
59
+ var direction = (vertex - center).normalized()
60
+ verts.append(vertex + direction * inset)
61
+
62
+ # Create a new CSGPolygon3D with given name
63
+ var polygon = CSGPolygon3D.new()
64
+ polygon.polygon = verts
65
+ polygon.name = name
66
+ polygon.mode = CSGPolygon3D.MODE_DEPTH
67
+ polygon.depth = depth
68
+ polygon.operation = CSGPolygon3D.OPERATION_SUBTRACTION # Set operation to subtraction
69
+ polygon.operation = operation
70
+
71
+ polygon.rotate_x(deg_to_rad(90))
72
+
73
+ # Apply color coding
74
+ var material = StandardMaterial3D.new()
75
+ material.albedo_color = Color(architext_colors[housegan_labels[name]][0]/255.0, architext_colors[housegan_labels[name]][1]/255.0, architext_colors[housegan_labels[name]][2]/255.0).srgb_to_linear()
76
+ polygon.material = material
77
+
78
+ # Add polygons to the parent node
79
+ parent.add_child(polygon, true)
80
+ polygon.owner = root
81
+
82
 
83
  func _run():
84
+ var root = get_scene()
85
+ for child in root.get_children():
86
+ child.queue_free()
87
+ var csg_combiner: CSGCombiner3D = CSGCombiner3D.new()
88
+ csg_combiner.name = "CSGCombiner3D"
89
+ root.add_child(csg_combiner, true)
90
+ csg_combiner.owner = root
91
+
92
+ for room_name in data.keys():
93
+ if room_name != "corridor":
94
+ create_room(room_name, data[room_name], csg_combiner, root, -2.74)
95
+
96
+ for room_name in data.keys():
97
+ if room_name == "corridor":
98
+ create_corridor(room_name, data[room_name], csg_combiner, root, -2.74)
99
+
100
+ for room_name in data.keys():
101
+ if room_name != "corridor":
102
+ create_room(room_name + "Inset", data[room_name], csg_combiner, root, -(2.74 + 0.4), -0.12, CSGPolygon3D.OPERATION_SUBTRACTION)
103
+
104
+ for room_name in data.keys():
105
+ if room_name == "corridor":
106
+ create_corridor(room_name + "Inset", data[room_name], csg_combiner, root, -(2.74 + 0.4), -0.12, CSGPolygon3D.OPERATION_SUBTRACTION)
107
+
108
+ for room_name in data.keys():
109
+ if room_name != "corridor":
110
+ create_room(room_name + "Inset", data[room_name], csg_combiner, root, .1, 0.06, CSGPolygon3D.OPERATION_UNION)
icon.svg ADDED
icon.svg.import ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [remap]
2
+
3
+ importer="texture"
4
+ type="CompressedTexture2D"
5
+ uid="uid://6o81reui1et3"
6
+ path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
7
+ metadata={
8
+ "vram_texture": false
9
+ }
10
+
11
+ [deps]
12
+
13
+ source_file="res://icon.svg"
14
+ dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
15
+
16
+ [params]
17
+
18
+ compress/mode=0
19
+ compress/high_quality=false
20
+ compress/lossy_quality=0.7
21
+ compress/hdr_compression=1
22
+ compress/normal_map=0
23
+ compress/channel_pack=0
24
+ mipmaps/generate=false
25
+ mipmaps/limit=-1
26
+ roughness/mode=0
27
+ roughness/src_normal=""
28
+ process/fix_alpha_border=true
29
+ process/premult_alpha=false
30
+ process/normal_map_invert_y=false
31
+ process/hdr_as_srgb=false
32
+ process/hdr_clamp_exposure=false
33
+ process/size_limit=0
34
+ detect_3d/compress_to=1
35
+ svg/scale=1.0
36
+ editor/scale_with_editor_scale=false
37
+ editor/convert_colors_with_editor_theme=false
labels.png.import ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [remap]
2
+
3
+ importer="texture"
4
+ type="CompressedTexture2D"
5
+ uid="uid://brqe07q1278yi"
6
+ path="res://.godot/imported/labels.png-f1fd43960246899a45a8d95d7f8252ad.ctex"
7
+ metadata={
8
+ "vram_texture": false
9
+ }
10
+
11
+ [deps]
12
+
13
+ source_file="res://labels.png"
14
+ dest_files=["res://.godot/imported/labels.png-f1fd43960246899a45a8d95d7f8252ad.ctex"]
15
+
16
+ [params]
17
+
18
+ compress/mode=0
19
+ compress/high_quality=false
20
+ compress/lossy_quality=0.7
21
+ compress/hdr_compression=1
22
+ compress/normal_map=0
23
+ compress/channel_pack=0
24
+ mipmaps/generate=false
25
+ mipmaps/limit=-1
26
+ roughness/mode=0
27
+ roughness/src_normal=""
28
+ process/fix_alpha_border=true
29
+ process/premult_alpha=false
30
+ process/normal_map_invert_y=false
31
+ process/hdr_as_srgb=false
32
+ process/hdr_clamp_exposure=false
33
+ process/size_limit=0
34
+ detect_3d/compress_to=1
legend.png.import ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [remap]
2
+
3
+ importer="texture"
4
+ type="CompressedTexture2D"
5
+ uid="uid://cbjs8p0tgucs0"
6
+ path="res://.godot/imported/legend.png-b30302dd9097025f7f159613da867683.ctex"
7
+ metadata={
8
+ "vram_texture": false
9
+ }
10
+
11
+ [deps]
12
+
13
+ source_file="res://legend.png"
14
+ dest_files=["res://.godot/imported/legend.png-b30302dd9097025f7f159613da867683.ctex"]
15
+
16
+ [params]
17
+
18
+ compress/mode=0
19
+ compress/high_quality=false
20
+ compress/lossy_quality=0.7
21
+ compress/hdr_compression=1
22
+ compress/normal_map=0
23
+ compress/channel_pack=0
24
+ mipmaps/generate=false
25
+ mipmaps/limit=-1
26
+ roughness/mode=0
27
+ roughness/src_normal=""
28
+ process/fix_alpha_border=true
29
+ process/premult_alpha=false
30
+ process/normal_map_invert_y=false
31
+ process/hdr_as_srgb=false
32
+ process/hdr_clamp_exposure=false
33
+ process/size_limit=0
34
+ detect_3d/compress_to=1
node_3d.tscn ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=28 format=3 uid="uid://dt01uew1tusvb"]
2
+
3
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ti2mu"]
4
+ albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
5
+
6
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2brsu"]
7
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
8
+
9
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5oi2i"]
10
+ albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
11
+
12
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_l051g"]
13
+ albedo_color = Color(0.545724, 0.637597, 0.693872, 1)
14
+
15
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a6usu"]
16
+ albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
17
+
18
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_oxfow"]
19
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
20
+
21
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hlerg"]
22
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
23
+
24
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4bw5h"]
25
+ albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
26
+
27
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_21i4y"]
28
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
29
+
30
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yro8m"]
31
+ albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
32
+
33
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_axyle"]
34
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
35
+
36
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5ojjn"]
37
+ albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
38
+
39
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0ubvo"]
40
+ albedo_color = Color(0.545724, 0.637597, 0.693872, 1)
41
+
42
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1f3qb"]
43
+ albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
44
+
45
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cnxev"]
46
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
47
+
48
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_02r3m"]
49
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
50
+
51
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xas12"]
52
+ albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
53
+
54
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3i1yw"]
55
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
56
+
57
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hvgt1"]
58
+ albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
59
+
60
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_k8o2e"]
61
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
62
+
63
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_24ao7"]
64
+ albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
65
+
66
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7tqvl"]
67
+ albedo_color = Color(0.545724, 0.637597, 0.693872, 1)
68
+
69
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0bn81"]
70
+ albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
71
+
72
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2c2l7"]
73
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
74
+
75
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cw017"]
76
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
77
+
78
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_i2fx3"]
79
+ albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
80
+
81
+ [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jbyhg"]
82
+ albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
83
+
84
+ [node name="Node3D" type="Node3D"]
85
+
86
+ [node name="CSGCombiner3D2" type="CSGCombiner3D" parent="."]
87
+
88
+ [node name="bathroom1" type="CSGPolygon3D" parent="CSGCombiner3D2"]
89
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
90
+ polygon = PackedVector2Array(9.50704, 5.42254, 7.46479, 5.42254, 7.46479, 3.30986, 9.50704, 3.30986)
91
+ material = SubResource("StandardMaterial3D_ti2mu")
92
+
93
+ [node name="bedroom1" type="CSGPolygon3D" parent="CSGCombiner3D2"]
94
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
95
+ polygon = PackedVector2Array(11.6197, 4.3662, 9.50704, 4.3662, 9.50704, 1.26761, 11.6197, 1.26761)
96
+ material = SubResource("StandardMaterial3D_2brsu")
97
+
98
+ [node name="living_room" type="CSGPolygon3D" parent="CSGCombiner3D2"]
99
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
100
+ polygon = PackedVector2Array(9.50704, 8.52113, 4.3662, 8.52113, 4.3662, 5.42254, 9.50704, 5.42254)
101
+ material = SubResource("StandardMaterial3D_5oi2i")
102
+
103
+ [node name="kitchen" type="CSGPolygon3D" parent="CSGCombiner3D2"]
104
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
105
+ polygon = PackedVector2Array(9.50704, 12.6056, 7.46479, 12.6056, 7.46479, 8.52113, 9.50704, 8.52113)
106
+ material = SubResource("StandardMaterial3D_l051g")
107
+
108
+ [node name="bathroom2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
109
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
110
+ polygon = PackedVector2Array(11.6197, 9.50704, 9.50704, 9.50704, 9.50704, 6.40845, 11.6197, 6.40845)
111
+ material = SubResource("StandardMaterial3D_a6usu")
112
+
113
+ [node name="bedroom2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
114
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
115
+ polygon = PackedVector2Array(12.6056, 6.40845, 9.50704, 6.40845, 9.50704, 4.3662, 12.6056, 4.3662)
116
+ material = SubResource("StandardMaterial3D_oxfow")
117
+
118
+ [node name="bedroom3" type="CSGPolygon3D" parent="CSGCombiner3D2"]
119
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
120
+ polygon = PackedVector2Array(12.6056, 14.7183, 9.50704, 14.7183, 9.50704, 11.6197, 12.6056, 11.6197)
121
+ material = SubResource("StandardMaterial3D_hlerg")
122
+
123
+ [node name="bathroom3" type="CSGPolygon3D" parent="CSGCombiner3D2"]
124
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
125
+ polygon = PackedVector2Array(9.50704, 16.7606, 7.46479, 16.7606, 7.46479, 12.6056, 9.50704, 12.6056)
126
+ material = SubResource("StandardMaterial3D_4bw5h")
127
+
128
+ [node name="bedroom4" type="CSGPolygon3D" parent="CSGCombiner3D2"]
129
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
130
+ polygon = PackedVector2Array(13.662, 11.6197, 9.50704, 11.6197, 9.50704, 9.50704, 13.662, 9.50704)
131
+ material = SubResource("StandardMaterial3D_21i4y")
132
+
133
+ [node name="bathroom1Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
134
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
135
+ operation = 2
136
+ polygon = PackedVector2Array(9.42364, 5.33626, 7.54819, 5.33626, 7.54819, 3.39614, 9.42364, 3.39614)
137
+ material = SubResource("StandardMaterial3D_yro8m")
138
+
139
+ [node name="bedroom1Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
140
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
141
+ operation = 2
142
+ polygon = PackedVector2Array(11.5521, 4.26705, 9.57464, 4.26705, 9.57464, 1.36675, 11.5521, 1.36675)
143
+ material = SubResource("StandardMaterial3D_axyle")
144
+
145
+ [node name="living_roomInset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
146
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
147
+ operation = 2
148
+ polygon = PackedVector2Array(9.40427, 8.45918, 4.46897, 8.45918, 4.46897, 5.48448, 9.40427, 5.48448)
149
+ material = SubResource("StandardMaterial3D_5ojjn")
150
+
151
+ [node name="kitchenInset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
152
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
153
+ operation = 2
154
+ polygon = PackedVector2Array(9.45338, 12.4983, 7.51845, 12.4983, 7.51845, 8.62846, 9.45338, 8.62846)
155
+ material = SubResource("StandardMaterial3D_0ubvo")
156
+
157
+ [node name="bathroom2Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
158
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
159
+ operation = 2
160
+ polygon = PackedVector2Array(11.5521, 9.40789, 9.57464, 9.40789, 9.57464, 6.5076, 11.5521, 6.5076)
161
+ material = SubResource("StandardMaterial3D_1f3qb")
162
+
163
+ [node name="bedroom2Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
164
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
165
+ operation = 2
166
+ polygon = PackedVector2Array(12.5054, 6.34241, 9.60724, 6.34241, 9.60724, 4.43223, 12.5054, 4.43223)
167
+ material = SubResource("StandardMaterial3D_cnxev")
168
+
169
+ [node name="bedroom3Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
170
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
171
+ operation = 2
172
+ polygon = PackedVector2Array(12.5208, 14.6335, 9.5919, 14.6335, 9.5919, 11.7046, 12.5208, 11.7046)
173
+ material = SubResource("StandardMaterial3D_02r3m")
174
+
175
+ [node name="bathroom3Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
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(9.45411, 16.6529, 7.51772, 16.6529, 7.51772, 12.7133, 9.45411, 12.7133)
179
+ material = SubResource("StandardMaterial3D_xas12")
180
+
181
+ [node name="bedroom4Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
182
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
183
+ operation = 2
184
+ polygon = PackedVector2Array(13.555, 11.5653, 9.61401, 11.5653, 9.61401, 9.56143, 13.555, 9.56143)
185
+ material = SubResource("StandardMaterial3D_3i1yw")
186
+
187
+ [node name="bathroom1Inset2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
188
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
189
+ polygon = PackedVector2Array(9.54874, 5.46567, 7.42309, 5.46567, 7.42309, 3.26672, 9.54874, 3.26672)
190
+ depth = 0.1
191
+ material = SubResource("StandardMaterial3D_hvgt1")
192
+
193
+ [node name="bedroom1Inset2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
194
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
195
+ polygon = PackedVector2Array(11.6535, 4.41577, 9.47324, 4.41577, 9.47324, 1.21803, 11.6535, 1.21803)
196
+ depth = 0.1
197
+ material = SubResource("StandardMaterial3D_k8o2e")
198
+
199
+ [node name="living_roomInset2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
200
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
201
+ polygon = PackedVector2Array(9.55843, 8.5521, 4.31481, 8.5521, 4.31481, 5.39156, 9.55843, 5.39156)
202
+ depth = 0.1
203
+ material = SubResource("StandardMaterial3D_24ao7")
204
+
205
+ [node name="kitchenInset2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
206
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
207
+ polygon = PackedVector2Array(9.53388, 12.6593, 7.43796, 12.6593, 7.43796, 8.46746, 9.53388, 8.46746)
208
+ depth = 0.1
209
+ material = SubResource("StandardMaterial3D_7tqvl")
210
+
211
+ [node name="bathroom2Inset2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
212
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
213
+ polygon = PackedVector2Array(11.6535, 9.55662, 9.47324, 9.55662, 9.47324, 6.35888, 11.6535, 6.35888)
214
+ depth = 0.1
215
+ material = SubResource("StandardMaterial3D_0bn81")
216
+
217
+ [node name="bedroom2Inset2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
218
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
219
+ polygon = PackedVector2Array(12.6557, 6.44147, 9.45694, 6.44147, 9.45694, 4.33318, 12.6557, 4.33318)
220
+ depth = 0.1
221
+ material = SubResource("StandardMaterial3D_2c2l7")
222
+
223
+ [node name="bedroom3Inset2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
224
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
225
+ polygon = PackedVector2Array(12.6481, 14.7607, 9.46462, 14.7607, 9.46462, 11.5773, 12.6481, 11.5773)
226
+ depth = 0.1
227
+ material = SubResource("StandardMaterial3D_cw017")
228
+
229
+ [node name="bathroom3Inset2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
230
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
231
+ polygon = PackedVector2Array(9.53351, 16.8144, 7.43832, 16.8144, 7.43832, 12.5518, 9.53351, 12.5518)
232
+ depth = 0.1
233
+ material = SubResource("StandardMaterial3D_i2fx3")
234
+
235
+ [node name="bedroom4Inset2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
236
+ transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
237
+ polygon = PackedVector2Array(13.7155, 11.6469, 9.45356, 11.6469, 9.45356, 9.47985, 13.7155, 9.47985)
238
+ depth = 0.1
239
+ material = SubResource("StandardMaterial3D_jbyhg")
project.godot ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Engine configuration file.
2
+ ; It's best edited using the editor UI and not directly,
3
+ ; since the parameters that go here are not all obvious.
4
+ ;
5
+ ; Format:
6
+ ; [section] ; section goes between []
7
+ ; param=value ; assign values to parameters
8
+
9
+ config_version=5
10
+
11
+ [application]
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"
thumbnail_gradio.PNG.import ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [remap]
2
+
3
+ importer="texture"
4
+ type="CompressedTexture2D"
5
+ uid="uid://vvsp71xqesij"
6
+ path="res://.godot/imported/thumbnail_gradio.PNG-182955c4e94f5a5160b29699964d5b21.ctex"
7
+ metadata={
8
+ "vram_texture": false
9
+ }
10
+
11
+ [deps]
12
+
13
+ source_file="res://thumbnail_gradio.PNG"
14
+ dest_files=["res://.godot/imported/thumbnail_gradio.PNG-182955c4e94f5a5160b29699964d5b21.ctex"]
15
+
16
+ [params]
17
+
18
+ compress/mode=0
19
+ compress/high_quality=false
20
+ compress/lossy_quality=0.7
21
+ compress/hdr_compression=1
22
+ compress/normal_map=0
23
+ compress/channel_pack=0
24
+ mipmaps/generate=false
25
+ mipmaps/limit=-1
26
+ roughness/mode=0
27
+ roughness/src_normal=""
28
+ process/fix_alpha_border=true
29
+ process/premult_alpha=false
30
+ process/normal_map_invert_y=false
31
+ process/hdr_as_srgb=false
32
+ process/hdr_clamp_exposure=false
33
+ process/size_limit=0
34
+ detect_3d/compress_to=1