Compare commits
16
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5012b5f73e | ||
|
|
da87b39b3d | ||
|
|
5345386d36 | ||
|
|
447e821429 | ||
|
|
1fa1e709ff | ||
|
|
ac50e8eee7 | ||
|
|
200694a005 | ||
|
|
4a08b21bed | ||
|
|
7266a89b60 | ||
|
|
a50449c71b | ||
|
|
f39c7e70c7 | ||
|
|
1a908d4eff | ||
|
|
2e8c1a5562 | ||
|
|
2c01143579 | ||
|
|
3187c3d359 | ||
|
|
3834d282ca |
No files matched your search
@@ -1,3 +1,5 @@
|
||||
# Godot 4+ specific ignores
|
||||
.godot/
|
||||
/android/
|
||||
.idea
|
||||
.DS_Store
|
||||
@@ -28,4 +28,61 @@ venkovního úhlu. Protože reálně jsem od něj mega daleko, takže portálov
|
||||
- **Fejkování světel** (OmniLight) by možná šlo!!! S rendering layerama bys nastavil aby některé světla byly vidět JEN skrz portály a NE tou kamerou co má hráč na sobě.
|
||||
- Tohle platí hlavně u ~~free-standing~~ portálů na které jde koukat z obou stran. *Bylo by divné kdyby byl zezadu portálu ve vzduchu light source jenom proto, že na druhé straně portálu (bůh ví kde) takový source někde je*
|
||||
- Free-standing portál neni uplně dobrý příklad, protože by to světlo mělo házet _výseč_ ven. To ničím fajné, to jsme zpátky u raytracingu. Leda by to člověk oblbnul nějakým shadow meshem nebo něco.. hm. Velmi specifické. Ale u těch dveří jako v semaforovém levelu by to fungovalo asi v pohodě, protože kolem futer je stěna.
|
||||
- Spotlight..?
|
||||
- Spotlight..?
|
||||
|
||||
### Gizmos
|
||||
|
||||
- Kreslím kubickou bezierku, která spojuje portál s exit portálem, ale nevypadá to nic moc. Je to blbě vidět a hloubka se dost ztrácí.
|
||||
- Možná by bylo lepší ten exit portal _highlightnout_ podobně jak je zrovna vybraný node - double line gizmo
|
||||
- TODO: Handly na procedurální mesh. Inspirace v godotím CollisionShape
|
||||
|
||||
### Procedural mesh
|
||||
|
||||
Momentálně procedural mesh generuju helper nodem. Tohle je ideální kandidát na _gizmo handles_ podobně jak collision shape
|
||||
|
||||
- Normály jsou pass. Mám jenom 8 vertexů, takže to bude dycky vypadat blbě. Ale portály jsou stejně vždycky unshaded.
|
||||
- **Zmínit v DP!** Docela dobrý sell, obhajoba rozhodnutí.
|
||||
- *UV coords:* Když se na portál podívám přímo zepředu (ortogonálně), tak ten indent není vubec vidět. Nejsem si jistý jestli to je k něčemu.. ten portálový mesh který jsem vzal z _simple portal sytem_ ani žádné UV coodinates nemá. Procedural mesh funguje hezky ✅
|
||||
- Možná by se to hodilo kdyby měl portál "inactive" texturu... ale to se dá obejít placatým meshem narvaným před něj.. a neřešíš prohlubeň. Asi undefined behavior tady :D nechám na vývojářích
|
||||
- Na to kolik jsem s tím teď zabil času, tak tohle je asi nanic. Prohlubeň je extrémně důležitá featura.
|
||||
|
||||

|
||||
|
||||
- **Stíny** - shadow mesh tam můžu a nemusím plácnout (stejný jako hlavní). Další věc je že stíny by asi měly být na OFF a nebo DOUBLE_SIDED. Asi to nechám na uživateli.. to s meshem nesouvisí nutně.
|
||||
|
||||
### Texture portal mask :x:
|
||||
|
||||
Mám v plánu udělat texture masku pro tvarování protálů. S házením stínů to bude průser. V tomhle je přístup s _tvarem meshe_ lepší. Měl bych nakódit generování vícero tvarů...?
|
||||
|
||||
:exclamation: Tohle asi nebude fungovat kvůli té prohlubni
|
||||
|
||||
- Kdybys měl oblouk nahoře, tak nemůžeš jenom tak clipnout obdélníkový portál. Kdyby byl plochý, tak jo. Ale takhle bude ten okraj nahoře jakoby zabořený a nebude to pěkné (asi). Zvlášť v rožkách.
|
||||
|
||||

|
||||
|
||||
:question: Tohle asi řeší tenký box s **culling- off** jak měl Sebastian ve svém Unity videu. Akorát to žere trochu renderingu.. ale v porovnání s X kamerama navíc je to asi fuk.
|
||||
|
||||
> BoxMesh3D mi nefunguje na hned. Ugh, nejsem si jistý proč.. ale mám dojem že ten chlapík co vyrobil ty portály by to asi zkusil. Prohlubeň možná dává smysl.
|
||||
|
||||
> Dal by se udělat celkem jednoduchý algoritmus co by generoval mesh "s prohlubní" pro jakýkoliv nákres zepředu. Obdélník je nejjednodušší, ale udělat oblouček by asi nebyl problém.
|
||||
>
|
||||
> Podobně jak se dá "kreslit" s CSG polygonem. Ale to by byl teda komplikovaný editor widget. Ty oblouky bysme asi chtěli hladké - to vypadá na něco na styl Curve editoru... ugh
|
||||
>
|
||||
> 
|
||||
>
|
||||
> [Cyclops Level Editor](https://github.com/blackears/cyclopsLevelBuilder/blob/master/doc/index.md#display-mode)
|
||||
|
||||
**Custom Mesh subclassa?**
|
||||
|
||||
- Custom mesh subclassa je trochu divná věc. Když to všechno nastaví jeden editorový Node tak to bude asi lepší. Custom mesh se mi přegenerovává při každém spuštění, ale já chci aby se prostě "zapekl" a uložil a nazdar bazar...
|
||||
|
||||
## Detekce teleportu
|
||||
|
||||
> Marek Zouhar: navrhuje predikovat jestli hráč projde portálem příští frame. Tohle by mohlo řešit
|
||||
> clipping. Protože já vlastně toho hráče _doopravdy_ teleportuju až když je _za_ portálem.
|
||||
>
|
||||
> V tu chvilku už je pozdě!! A pak musím mít promáčklý mesh.
|
||||
>
|
||||
> S tímhle bych mohl mít prostě _plane mesh_.
|
||||
|
||||
> Potenciálně 2 plejny těsně za sebou abych předešel clippingu?
|
||||
@@ -0,0 +1,49 @@
|
||||
@tool
|
||||
extends EditorPlugin
|
||||
|
||||
var editor_button_plugin:EditorButtonPlugin
|
||||
|
||||
func _enter_tree() -> void:
|
||||
print("[inspector_buttons] enter")
|
||||
editor_button_plugin = EditorButtonPlugin.new()
|
||||
add_inspector_plugin(editor_button_plugin)
|
||||
|
||||
|
||||
func _exit_tree() -> void:
|
||||
if is_instance_valid(editor_button_plugin):
|
||||
print("[inspector_buttons] exit")
|
||||
remove_inspector_plugin(editor_button_plugin)
|
||||
editor_button_plugin = null
|
||||
|
||||
|
||||
class EditorButtonPlugin extends EditorInspectorPlugin:
|
||||
func _can_handle(object: Object) -> bool:
|
||||
return object.has_method('_add_inspector_buttons')
|
||||
|
||||
|
||||
func _parse_begin(object: Object) -> void:
|
||||
var buttons_data = object._add_inspector_buttons()
|
||||
for button_data in buttons_data:
|
||||
var name = button_data.get("name", null)
|
||||
var icon = button_data.get("icon", null)
|
||||
var pressed = button_data.get("pressed", null)
|
||||
if not name:
|
||||
push_warning('_add_inspector_buttons(): A button does not have a name key. Defaulting to: "Button"')
|
||||
name = "Button"
|
||||
if icon and not icon is Texture:
|
||||
push_warning('_add_inspector_buttons(): The button <{name}> icon is not a texture.'.format({"name":name}))
|
||||
icon = null
|
||||
if not pressed:
|
||||
push_warning('_add_inspector_buttons(): The button <{name}> does not have a pressed key. Skipping.'.format({"name":name}))
|
||||
continue
|
||||
if not pressed is Callable:
|
||||
push_warning('_add_inspector_buttons(): The button <{name}> pressed is not a Callable. Skipping.'.format({"name":name}))
|
||||
continue
|
||||
|
||||
var button = Button.new()
|
||||
button.text = name
|
||||
if icon:
|
||||
button.icon = icon
|
||||
button.expand_icon = true
|
||||
button.pressed.connect(pressed)
|
||||
add_custom_control(button)
|
||||
@@ -0,0 +1 @@
|
||||
uid://cmkf6s21ky7b5
|
||||
@@ -0,0 +1,7 @@
|
||||
[plugin]
|
||||
|
||||
name="Inspector Buttons"
|
||||
description="Quick and dirty Godot inspector plugins. Taken from the internets"
|
||||
author="mrcdk"
|
||||
version="0.1"
|
||||
script="inspector_buttons.gd"
|
||||
@@ -4,7 +4,6 @@ extends EditorNode3DGizmoPlugin
|
||||
func _init():
|
||||
print("[gizmo] _init")
|
||||
create_material("main", Color(1,0,1), false, true, false)
|
||||
create_material("secondary", Color(1,0,0))
|
||||
|
||||
|
||||
func _get_gizmo_name() -> String:
|
||||
@@ -13,38 +12,39 @@ func _get_gizmo_name() -> String:
|
||||
|
||||
func _has_gizmo(for_node_3d: Node3D) -> bool:
|
||||
var result: bool = for_node_3d is Portal
|
||||
if result: print("[gizmo] _has_gizmo: " + for_node_3d.name)
|
||||
return result
|
||||
|
||||
|
||||
func _redraw(gizmo):
|
||||
var portal = gizmo.get_node_3d() as Portal
|
||||
print("[gizmo] _redraw: " + portal.name)
|
||||
|
||||
gizmo.clear() # Always clear the gizmo
|
||||
|
||||
if portal not in EditorInterface.get_selection().get_selected_nodes():
|
||||
return # If not selected, don't draw anything
|
||||
|
||||
|
||||
|
||||
var lines = PackedVector3Array()
|
||||
|
||||
|
||||
if portal.exit_portal != null:
|
||||
print("[gizmo] Drawing the bezier")
|
||||
# Draw a bezier curve connecting the two portals
|
||||
var exit = portal.exit_portal
|
||||
var D = portal.global_position.distance_to(exit.global_position)
|
||||
|
||||
var p0 = Vector3.ZERO
|
||||
var p3 = portal.to_local(exit.global_position)
|
||||
var p1 = p0 + -portal.transform.basis.z * D * 0.25 # Control point
|
||||
var p2 = p3 + -exit.transform.basis.z * D * 0.25 # Control point
|
||||
var p0 = portal.global_position
|
||||
var p3 = exit.global_position
|
||||
|
||||
var RESOLUTION: int = 24
|
||||
var p1 = p0 -portal.global_transform.basis.z * D * 0.25
|
||||
var p2 = p3 -exit.global_transform.basis.z * D * 0.25
|
||||
|
||||
|
||||
p0 = portal.to_local(p0)
|
||||
p1 = portal.to_local(p1)
|
||||
p2 = portal.to_local(p2)
|
||||
p3 = portal.to_local(p3)
|
||||
|
||||
lines.push_back(p0)
|
||||
|
||||
const RESOLUTION: int = 24
|
||||
for i in range(1, RESOLUTION + 1):
|
||||
var t: float = float(i) / RESOLUTION
|
||||
var spline_pos: Vector3 = pow(1 - t, 3) * p0 \
|
||||
@@ -53,13 +53,9 @@ func _redraw(gizmo):
|
||||
+ pow(t, 3) * p3
|
||||
|
||||
lines.push_back(spline_pos)
|
||||
lines.push_back(spline_pos)
|
||||
|
||||
lines.push_back(p3)
|
||||
print("[gizmo] Bezier lines: " + str(lines.size()))
|
||||
|
||||
gizmo.add_lines(PackedVector3Array([p0, p3, p1, p2]), get_material("secondary", gizmo))
|
||||
|
||||
|
||||
|
||||
#var handles = PackedVector3Array()
|
||||
#handles.push_back(Vector3(0, 1, 0))
|
||||
|
||||
@@ -23,8 +23,10 @@ func _ready():
|
||||
func _on_area_entered(area: Area3D) -> void:
|
||||
if area.has_meta("teleportable_root"):
|
||||
var root:Node3D = area.get_node(area.get_meta("teleportable_root"))
|
||||
print("[%f] Teleporting %s to %s" % [roundi(Time.get_ticks_msec() / 100) / 10.0, root.name, _parent_portal.exit_portal.name])
|
||||
root.global_transform = _parent_portal.real_to_exit_transform(root.global_transform)
|
||||
|
||||
func _on_body_entered(body: Node3D) -> void:
|
||||
if body.get_meta("teleportable", false) == true:
|
||||
body.global_transform = _parent_portal.real_to_exit_transform(body.global_transform)
|
||||
print("Teleporting %s to %s" % [body.name, _parent_portal.exit_portal.name])
|
||||
@@ -9,6 +9,7 @@
|
||||
shader_type spatial;
|
||||
render_mode unshaded;
|
||||
|
||||
|
||||
uniform float fade_out_distance_max = 10.0;
|
||||
uniform float fade_out_distance_min = 8.0;
|
||||
uniform vec4 fade_out_color = vec4(0.0);
|
||||
|
||||
Whitespace-only changes.
Binary file not shown.
|
After Width: | Height: | Size: 366 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 734 KiB |
@@ -4,7 +4,7 @@ extends VBoxContainer
|
||||
func _ready() -> void:
|
||||
toggle_hud() # This should hide the HUD by default
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
func _process(_delta: float) -> void:
|
||||
if Input.is_action_just_pressed("ui_cancel"):
|
||||
toggle_hud()
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://27pb62xwsqd8"]
|
||||
[gd_scene load_steps=14 format=4 uid="uid://27pb62xwsqd8"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b5x7fmpwck335" path="res://hud.tscn" id="1_mmt1i"]
|
||||
[ext_resource type="MeshLibrary" uid="uid://bedqgubx1g1uf" path="res://prototypes.tres" id="2_vdsn8"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://bqilnvlfws6xh" path="res://portal-mesh.tres" id="3_c4jka"]
|
||||
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="4_top28"]
|
||||
[ext_resource type="Script" uid="uid://bkv7t4hw21byg" path="res://addons/simple-portal-system/scripts/simple_portal_teleport.gd" id="5_evjit"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="6_hlt8e"]
|
||||
[ext_resource type="Script" uid="uid://cili3lyodjqel" path="res://portal_environment_adapter.gd" id="7_2gewm"]
|
||||
[ext_resource type="PackedScene" uid="uid://d1dtxvwk86ple" path="res://procedural_mesh_maker.tscn" id="8_vdsn8"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_b0o0q"]
|
||||
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
|
||||
@@ -22,9 +22,37 @@ tonemap_mode = 3
|
||||
tonemap_exposure = 1.5
|
||||
glow_enabled = true
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_vdsn8"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-1, -1, -0.1, 2, 2, 0.1),
|
||||
"attribute_data": PackedByteArray("AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD/NzEw9zcxMPTMzcz/NzEw9zcxMPTMzcz8zM3M/MzNzPw=="),
|
||||
"format": 34359742487,
|
||||
"index_count": 30,
|
||||
"index_data": PackedByteArray("AAABAAQABAABAAUAAQADAAUABQADAAcAAwACAAcABwACAAYAAgAAAAYABgAAAAQABAAFAAYABgAFAAcA"),
|
||||
"name": "Portal Material",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 8,
|
||||
"vertex_data": PackedByteArray("AACAvwAAgD8AAAAAAACAPwAAgD8AAAAAAACAvwAAgL8AAAAAAACAPwAAgL8AAAAAZmZmv2ZmZj/NzMy9ZmZmP2ZmZj/NzMy9ZmZmv2ZmZr/NzMy9ZmZmP2ZmZr/NzMy9/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgA==")
|
||||
}]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_cgnft"]
|
||||
size = Vector3(2, 2, 0.5)
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_mmt1i"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-1, -1, -0.1, 2, 2, 0.1),
|
||||
"attribute_data": PackedByteArray("AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD/NzEw9zcxMPTMzcz/NzEw9zcxMPTMzcz8zM3M/MzNzPw=="),
|
||||
"format": 34359742487,
|
||||
"index_count": 30,
|
||||
"index_data": PackedByteArray("AAABAAQABAABAAUAAQADAAUABQADAAcAAwACAAcABwACAAYAAgAAAAYABgAAAAQABAAFAAYABgAFAAcA"),
|
||||
"name": "Portal Material",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 8,
|
||||
"vertex_data": PackedByteArray("AACAvwAAgD8AAAAAAACAPwAAgD8AAAAAAACAvwAAgL8AAAAAAACAPwAAgL8AAAAAZmZmv2ZmZj/NzMy9ZmZmP2ZmZj/NzMy9ZmZmv2ZmZr/NzMy9ZmZmP2ZmZr/NzMy9/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgA==")
|
||||
}]
|
||||
|
||||
[node name="level_3rooms" type="Node3D"]
|
||||
|
||||
[node name="HUD" parent="." instance=ExtResource("1_mmt1i")]
|
||||
@@ -44,7 +72,7 @@ metadata/_editor_floor_ = Vector3(0, 3, 0)
|
||||
|
||||
[node name="Portal_red" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.5, 2, -4)
|
||||
mesh = ExtResource("3_c4jka")
|
||||
mesh = SubResource("ArrayMesh_vdsn8")
|
||||
skeleton = NodePath("")
|
||||
script = ExtResource("4_top28")
|
||||
vertical_viewport_resolution = 1080
|
||||
@@ -63,7 +91,7 @@ shape = SubResource("BoxShape3D_cgnft")
|
||||
|
||||
[node name="Portal_orange" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 2, -0.5)
|
||||
mesh = ExtResource("3_c4jka")
|
||||
mesh = SubResource("ArrayMesh_mmt1i")
|
||||
skeleton = NodePath("")
|
||||
script = ExtResource("4_top28")
|
||||
vertical_viewport_resolution = 1080
|
||||
@@ -104,3 +132,7 @@ omni_range = 4.0
|
||||
[node name="PortalEnvironmentAdapter" type="Node" parent="." node_paths=PackedStringArray("base")]
|
||||
script = ExtResource("7_2gewm")
|
||||
base = NodePath("../WorldEnvironment")
|
||||
|
||||
[node name="ProceduralMeshMaker" parent="." node_paths=PackedStringArray("portal") instance=ExtResource("8_vdsn8")]
|
||||
width = 2.0
|
||||
portal = NodePath("../Portal_orange")
|
||||
@@ -0,0 +1,169 @@
|
||||
[gd_scene load_steps=17 format=4 uid="uid://d2d7xy8ash3kk"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b5x7fmpwck335" path="res://hud.tscn" id="1_ghyw7"]
|
||||
[ext_resource type="Material" uid="uid://bx6qeabdhq2s" path="res://addons/kenney_prototype_tools/materials/dark/material_01.tres" id="1_gpwe8"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="2_84t5d"]
|
||||
[ext_resource type="PackedScene" uid="uid://birikia38m0g7" path="res://skybox_world_environment.tscn" id="2_gnq53"]
|
||||
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="5_jfr1b"]
|
||||
[ext_resource type="Script" uid="uid://s5kb624h26hs" path="res://models/portal_mesh.gd" id="6_gnq53"]
|
||||
[ext_resource type="Script" uid="uid://cili3lyodjqel" path="res://portal_environment_adapter.gd" id="6_jdap8"]
|
||||
[ext_resource type="PackedScene" uid="uid://d1dtxvwk86ple" path="res://procedural_mesh_maker.tscn" id="7_mq505"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_gpwe8"]
|
||||
size = Vector3(30, 1, 30)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_84t5d"]
|
||||
material = ExtResource("1_gpwe8")
|
||||
size = Vector3(30, 1, 30)
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_o404v"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-1, -1.5, -0.2, 2, 3, 0.2),
|
||||
"attribute_data": PackedByteArray("AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD/NzMw9iYiIPWZmZj+JiIg9zczMPe/ubj9mZmY/7+5uPw=="),
|
||||
"format": 34359742487,
|
||||
"index_count": 30,
|
||||
"index_data": PackedByteArray("AAABAAQABAABAAUAAQADAAUABQADAAcAAwACAAcABwACAAYAAgAAAAYABgAAAAQABAAFAAYABgAFAAcA"),
|
||||
"name": "Portal Material",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 8,
|
||||
"vertex_data": PackedByteArray("AACAvwAAwD8AAAAAAACAPwAAwD8AAAAAAACAvwAAwL8AAAAAAACAPwAAwL8AAAAAzcxMv2Zmpj/NzEy+zcxMP2Zmpj/NzEy+zcxMv2Zmpr/NzEy+zcxMP2Zmpr/NzEy+/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgA==")
|
||||
}]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jhkhy"]
|
||||
albedo_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_2hir0"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-1.1, -1.6, -0.125, 2.2, 3.2, 0.25),
|
||||
"attribute_data": PackedByteArray("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"),
|
||||
"format": 34359738391,
|
||||
"material": SubResource("StandardMaterial3D_jhkhy"),
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 348,
|
||||
"vertex_data": PackedByteArray("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 truncated
|
||||
}]
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_jhkhy"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-1, -1.5, -0.05, 2, 3, 0.05),
|
||||
"attribute_data": PackedByteArray("AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD/NzMw8iYiIPJqZeT+JiIg8zczMPLy7ez+amXk/vLt7Pw=="),
|
||||
"format": 34359742487,
|
||||
"index_count": 30,
|
||||
"index_data": PackedByteArray("AAABAAQABAABAAUAAQADAAUABQADAAcAAwACAAcABwACAAYAAgAAAAYABgAAAAQABAAFAAYABgAFAAcA"),
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 8,
|
||||
"vertex_data": PackedByteArray("AACAvwAAwD8AAAAAAACAPwAAwD8AAAAAAACAvwAAwL8AAAAAAACAPwAAwL8AAAAAMzNzv5qZuT/NzEy9MzNzP5qZuT/NzEy9MzNzv5qZub/NzEy9MzNzP5qZub/NzEy9/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgA==")
|
||||
}]
|
||||
script = ExtResource("6_gnq53")
|
||||
height = 3.0
|
||||
width = 2.0
|
||||
indent = 0.05
|
||||
metadata/_custom_type_script = "uid://s5kb624h26hs"
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gnq53"]
|
||||
albedo_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_gnq53"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-1.1, -1.6, -0.125, 2.2, 3.2, 0.25),
|
||||
"attribute_data": PackedByteArray("F110PwSA1TwAAIA/AACAPwAAgD8AAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAF110PwSA1TwAAIA/AAAAAI4uOj0EgNU8AAAAAAAAAAAAAIA/AACAPwAAgD8AAAAAF110PwBUeT8AAIA/AACAPxdddD8CAAA9F110PwBUeT8AAAAAAACAPwAAgD8AAIA/F110PwAAeD8AAIA/AACAPxdddD8EgNU8F110PwAAeD8AAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/F110PwIAAD0AAIA/AACAPwAAgD8AAAAAAACAPwAAgD8AAAAAAAAAAAAAAAAAAIA/F110PwIAAD0AAIA/AAAAAI4uOj0CAAA9ji46PQSA1TwAAIA/AAAAAAAAAAAAAAAAji46PQSA1TwAAAAAAAAAAI4uOj0AAHg/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/ji46PQBUeT8AAAAAAACAPxdddD8AVHk/AACAPwAAAAAAAAAAAAAAAAAAgD8AAIA/ji46PQBUeT8AAAAAAAAAAAAAAAAAAIA/ji46PQAAeD8AAAAAAACAPxdddD8AAHg/AACAPwAAAAAAAAAAAAAAAAAAgD8AAIA/ji46PQAAeD8AAAAAAAAAAAAAAAAAAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/ji46PQIAAD0AAIA/AAAAAAAAAAAAAAAAji46PQIAAD0AAAAAAAAAAI4uOj0AVHk/AADAPgAAAAAAACA/AAAAAAAAID8AAIA/AAAAAAAAID8AAIA/AADAPgAAgD8AACA/AACAPwAAwD4AAAAAAAAgPwAAAAAAAMA+AAAgPwAAgD8AAMA+AACAPwAAwD4AAAAAAAAAAAAAID8AAIA/AADAPgAAgD8AACA/AAAgPwAAgD8AAMA+AACAPwAAwD4AAAAAAADAPgAAAAAAACA/AAAAAAAAID8AAIA/AACAPwAAwD4AAAAAAAAgPwAAAAAAAMA+"),
|
||||
"format": 34359738391,
|
||||
"material": SubResource("StandardMaterial3D_gnq53"),
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 96,
|
||||
"vertex_data": PackedByteArray("AACAvwAgwr8AAAC+zcyMv83MzD8AAAC+zcyMv83MzL8AAAC+zcyMv83MzL8AAAA+zcyMv83MzL8AAAC+zcyMv83MzD8AAAC+AACAvwAgwr8AAAC+zcyMv83MzL8AAAC+AACAPwAgwr8AAAC+zcyMv83MzL8AAAA+zcyMP83MzL8AAAC+zcyMv83MzL8AAAC+AACAvwAgwr8AAAA+zcyMv83MzL8AAAA+AACAvwAAwD8AAAA+AACAvwAgwr8AAAA+zcyMP83MzL8AAAA+zcyMv83MzL8AAAA+AACAvwAAwD8AAAC+zcyMv83MzD8AAAC+AACAvwAgwr8AAAC+AACAvwAAwD8AAAC+zcyMP83MzD8AAAC+zcyMv83MzD8AAAC+zcyMv83MzD8AAAC+zcyMv83MzD8AAAA+zcyMv83MzL8AAAA+AACAvwAAwD8AAAA+zcyMv83MzL8AAAA+zcyMv83MzD8AAAA+zcyMv83MzD8AAAC+zcyMP83MzD8AAAA+zcyMv83MzD8AAAA+AACAvwAAwD8AAAA+zcyMv83MzD8AAAA+AACAPwAAwD8AAAA+AACAPwAgwr8AAAC+zcyMv83MzL8AAAC+zcyMP83MzL8AAAC+AACAPwAgwr8AAAC+zcyMP83MzL8AAAC+AACAPwAAwD8AAAC+zcyMv83MzL8AAAA+zcyMP83MzL8AAAA+zcyMP83MzL8AAAC+AACAPwAgwr8AAAA+zcyMP83MzL8AAAA+AACAvwAgwr8AAAA+zcyMP83MzL8AAAA+zcyMP83MzD8AAAA+zcyMP83MzL8AAAC+AACAPwAgwr8AAAA+zcyMP83MzD8AAAA+zcyMP83MzL8AAAA+AACAPwAAwD8AAAC+zcyMP83MzD8AAAC+AACAvwAAwD8AAAC+zcyMP83MzD8AAAC+zcyMP83MzD8AAAA+zcyMv83MzD8AAAC+AACAPwAAwD8AAAC+zcyMP83MzL8AAAC+zcyMP83MzD8AAAC+zcyMP83MzD8AAAA+zcyMP83MzD8AAAC+zcyMP83MzL8AAAC+AACAPwAAwD8AAAA+zcyMv83MzD8AAAA+zcyMP83MzD8AAAA+AACAPwAAwD8AAAA+zcyMP83MzD8AAAA+AACAPwAgwr8AAAA+AACAvwAgwr8AAAA+AACAvwAgwr8AAAC+AACAPwAgwr8AAAC+AACAvwAAwD8AAAA+AACAvwAgwr8AAAC+AACAvwAgwr8AAAA+AACAvwAgwr8AAAC+AACAvwAAwD8AAAA+AACAvwAAwD8AAAC+AACAvwAAwD8AAAC+AACAvwAAwD8AAAA+AACAPwAAwD8AAAA+AACAPwAAwD8AAAC+AACAPwAgwr8AAAA+AACAPwAgwr8AAAC+AACAPwAgwr8AAAC+AACAPwAgwr8AAAA+AACAvwAgwr8AAAA+AACAPwAAwD8AAAA+AACAPwAAwD8AAAC+AACAvwAAwD8AAAC+AACAPwAgwr8AAAA+AACAPwAAwD8AAAC+AACAPwAAwD8AAAA+/////wAA/z//////AAD/P/////8AAP8/AAD/f/9//n8AAP9//3/+fwAA/3//f/5//////wAA/z//////AAD/P/////8AAP8//38AAP//AAD/fwAA//8AAP9/AAD//wAA/3//fwAA/z//f/9/AAD/P/9//38AAP8//3//fwAA/z//f/9/AAD/P/9//38AAP8//////wAA/z//////AAD/P/////8AAP8//////wAA/z//////AAD/P/////8AAP8/AAD/f/9//n8AAP9//3/+fwAA/3//f/5//3//fwAA/z//f/9/AAD/P/9//38AAP8//3//////AAD/f/////8AAP9//////wAA/3//fwAA/z//f/9/AAD/P/9//38AAP8//////wAA/z//////AAD/P/////8AAP8//////wAA/z//////AAD/P/////8AAP8//38AAP//AAD/fwAA//8AAP9/AAD//wAA/3//fwAA/z//f/9/AAD/P/9//38AAP8/////f/9//n////9//3/+f////3//f/5//3//fwAA/z//f/9/AAD/P/9//38AAP8//////wAA/z//////AAD/P/////8AAP8//3//////AAD/f/////8AAP9//////wAA/////wAA/z//////AAD/P/////8AAP8/////f/9//n////9//3/+f////3//f/5//3//fwAA/z//f/9/AAD/P/9//38AAP8//3//fwAA/z//f/9/AAD/P/9//38AAP8//3//////////f/////////9/////////////f/9/AID///9//38AgP///3//fwCA////f/9/AID///9//38AgP///3//fwCA/38AAP//////fwAA//////9/AAD/////AAD/f/9/AIAAAP9//38AgAAA/3//fwCA/3//////////f/////////9//////////38AAP//////fwAA//////9/AAD/////AAD/f/9/AIAAAP9//38AgAAA/3//fwCA")
|
||||
}]
|
||||
|
||||
[node name="level_cube_portals" type="Node3D"]
|
||||
|
||||
[node name="HUD" parent="." instance=ExtResource("1_ghyw7")]
|
||||
offset_right = 219.0
|
||||
offset_bottom = 77.0
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.901453, 0.27592, -0.333544, -0.158086, 0.927146, 0.339718, 0.402979, -0.253511, 0.879398, 0, 2.37678, 0)
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="WorldEnvironment" parent="." instance=ExtResource("2_gnq53")]
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
shape = SubResource("BoxShape3D_gpwe8")
|
||||
|
||||
[node name="Ground" type="MeshInstance3D" parent="StaticBody3D"]
|
||||
mesh = SubResource("BoxMesh_84t5d")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("2_84t5d")]
|
||||
|
||||
[node name="Portal A" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -6)
|
||||
mesh = SubResource("ArrayMesh_o404v")
|
||||
script = ExtResource("5_jfr1b")
|
||||
destroy_disabled_viewport = false
|
||||
fade_out_distance_max = 100.0
|
||||
fade_out_distance_min = 95.0
|
||||
fade_out_color = Color(1, 0, 1, 1)
|
||||
exit_portal = NodePath("../Portal B")
|
||||
|
||||
[node name="Label3D" type="Label3D" parent="Portal A"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.89275, 0)
|
||||
billboard = 2
|
||||
text = "Portal A"
|
||||
|
||||
[node name="FrameRound" type="MeshInstance3D" parent="Portal A"]
|
||||
mesh = SubResource("ArrayMesh_2hir0")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="Portal B" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1, 6)
|
||||
mesh = SubResource("ArrayMesh_jhkhy")
|
||||
script = ExtResource("5_jfr1b")
|
||||
destroy_disabled_viewport = false
|
||||
fade_out_distance_max = 100.0
|
||||
fade_out_distance_min = 95.0
|
||||
fade_out_color = Color(1, 0, 1, 1)
|
||||
exit_portal = NodePath("../Portal A")
|
||||
|
||||
[node name="Label3D" type="Label3D" parent="Portal B"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.89275, 0)
|
||||
billboard = 2
|
||||
text = "Portal B"
|
||||
|
||||
[node name="PortalEnvironmentAdapter" type="Node" parent="." node_paths=PackedStringArray("base")]
|
||||
script = ExtResource("6_jdap8")
|
||||
base = NodePath("")
|
||||
|
||||
[node name="ProceduralMeshMaker" parent="." node_paths=PackedStringArray("portal") instance=ExtResource("7_mq505")]
|
||||
height = 3.0
|
||||
width = 2.0
|
||||
indent = 0.2
|
||||
portal = NodePath("../Portal A")
|
||||
|
||||
[node name="Outer" type="CSGBox3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 2.78925)
|
||||
size = Vector3(2.2, 3.2, 0.25)
|
||||
|
||||
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="Outer"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
||||
operation = 2
|
||||
|
||||
[node name="Inner" type="CSGBox3D" parent="Outer/CSGCombiner3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.483398, 0)
|
||||
size = Vector3(2, 2, 1)
|
||||
|
||||
[node name="CSGCylinder3D" type="CSGCylinder3D" parent="Outer/CSGCombiner3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 1.4917, 0)
|
||||
radius = 1.0
|
||||
height = 0.5
|
||||
sides = 36
|
||||
|
||||
[node name="Frame" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 6)
|
||||
mesh = SubResource("ArrayMesh_gnq53")
|
||||
@@ -0,0 +1,31 @@
|
||||
extends Node
|
||||
|
||||
@onready var player: CharacterBody3D = %Player
|
||||
@onready var outside_world: SubViewport = %OutsideWorld
|
||||
@onready var inside_world: SubViewport = %InsideWorld
|
||||
@onready var sub_viewport_container: SubViewportContainer = $SubViewportContainer
|
||||
|
||||
var current_world: Node
|
||||
|
||||
func _ready() -> void:
|
||||
current_world = outside_world
|
||||
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if Input.is_action_just_pressed("debug_teleport"):
|
||||
_on_teleport_button_pressed()
|
||||
|
||||
|
||||
func _on_teleport_button_pressed() -> void:
|
||||
if current_world == outside_world:
|
||||
outside_world.reparent(self)
|
||||
inside_world.reparent(sub_viewport_container)
|
||||
current_world = inside_world
|
||||
else:
|
||||
inside_world.reparent(self)
|
||||
outside_world.reparent(sub_viewport_container)
|
||||
current_world = outside_world
|
||||
|
||||
player.reparent(current_world.get_child(0))
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://ca45js46kc0l7
|
||||
@@ -0,0 +1,48 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://dgvdetmbv5jya"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b5x7fmpwck335" path="res://hud.tscn" id="1_2k7q4"]
|
||||
[ext_resource type="Script" uid="uid://ca45js46kc0l7" path="res://levels/level_hermione.gd" id="1_gyvwl"]
|
||||
[ext_resource type="PackedScene" uid="uid://drhaqr78kv1o2" path="res://levels/room_hermione_outside.tscn" id="2_empe6"]
|
||||
[ext_resource type="PackedScene" uid="uid://ci81nttn6foio" path="res://levels/room_hermione_inside.tscn" id="2_lv1mc"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgdlowfuuorvi" path="res://player.tscn" id="3_gyvwl"]
|
||||
|
||||
[node name="level_hermione" type="Node"]
|
||||
script = ExtResource("1_gyvwl")
|
||||
|
||||
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="OutsideWorld" type="SubViewport" parent="SubViewportContainer"]
|
||||
unique_name_in_owner = true
|
||||
handle_input_locally = false
|
||||
size = Vector2i(1920, 1080)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="OutsideWorldContainer" type="Node3D" parent="SubViewportContainer/OutsideWorld"]
|
||||
|
||||
[node name="room_hermione_outside" parent="SubViewportContainer/OutsideWorld/OutsideWorldContainer" instance=ExtResource("2_empe6")]
|
||||
|
||||
[node name="Player" parent="SubViewportContainer/OutsideWorld/OutsideWorldContainer" instance=ExtResource("3_gyvwl")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.08041, 1.41104, 0)
|
||||
|
||||
[node name="HUD" parent="." instance=ExtResource("1_2k7q4")]
|
||||
|
||||
[node name="TeleportButton" type="Button" parent="HUD"]
|
||||
layout_mode = 2
|
||||
text = "Switch Worlds (T)"
|
||||
|
||||
[node name="InsideWorld" type="SubViewport" parent="."]
|
||||
unique_name_in_owner = true
|
||||
own_world_3d = true
|
||||
size = Vector2i(1920, 1080)
|
||||
|
||||
[node name="InsideWorldContainer" type="Node3D" parent="InsideWorld"]
|
||||
|
||||
[node name="room_hermione_inside" parent="InsideWorld/InsideWorldContainer" instance=ExtResource("2_lv1mc")]
|
||||
|
||||
[connection signal="pressed" from="HUD/TeleportButton" to="." method="_on_teleport_button_pressed"]
|
||||
@@ -0,0 +1,520 @@
|
||||
[gd_scene load_steps=21 format=4 uid="uid://ci81nttn6foio"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://b7kc8jfs4fowj" path="res://addons/kenney_prototype_tools/materials/green/material_02.tres" id="1_ofsgw"]
|
||||
[ext_resource type="PackedScene" uid="uid://dve8bvx87r1mm" path="res://models/kenney-house/wall-doorway-square.glb" id="2_4aydi"]
|
||||
[ext_resource type="PackedScene" uid="uid://bfgvxrgm0dkgi" path="res://models/kenney-house/wall.glb" id="3_37grx"]
|
||||
[ext_resource type="PackedScene" uid="uid://d3qx51q66eftg" path="res://models/kenney-house/roof-flat-corner.glb" id="4_e3d5x"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0k0k4heruf3t" path="res://models/kenney-house/wall-window-square-detailed.glb" id="5_soise"]
|
||||
[ext_resource type="PackedScene" uid="uid://d347ojn6kwgn2" path="res://models/kenney-house/floor.glb" id="6_p5xd2"]
|
||||
[ext_resource type="PackedScene" uid="uid://yqsv32xecxbr" path="res://models/kenney-house/roof-flat-side.glb" id="7_km368"]
|
||||
[ext_resource type="PackedScene" uid="uid://d3yk6et3d4yw3" path="res://models/kenney-house/border.glb" id="8_rmadb"]
|
||||
[ext_resource type="PackedScene" uid="uid://dsogp3m6bedxp" path="res://models/kenney-house/column.glb" id="9_jpxld"]
|
||||
[ext_resource type="PackedScene" uid="uid://b4mndlgalycyh" path="res://models/kenney-house/roof-flat-center.glb" id="10_5h2gx"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_w2gbp"]
|
||||
size = Vector3(40, 1, 40)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_blkr4"]
|
||||
material = ExtResource("1_ofsgw")
|
||||
size = Vector3(40, 1, 40)
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_soise"]
|
||||
sky_top_color = Color(0.220994, 0.465185, 0.685758, 1)
|
||||
sky_horizon_color = Color(0.775585, 0.617199, 0.525157, 1)
|
||||
ground_bottom_color = Color(0.0327392, 0.0238974, 0.0155985, 1)
|
||||
ground_horizon_color = Color(0.67988, 0.550619, 0.418075, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_m1tf4"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_soise")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_p5xd2"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_m1tf4")
|
||||
tonemap_mode = 1
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_soise"]
|
||||
albedo_color = Color(1, 0.6, 0.235294, 1)
|
||||
|
||||
[sub_resource type="PrismMesh" id="PrismMesh_p5xd2"]
|
||||
material = SubResource("StandardMaterial3D_soise")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_p5xd2"]
|
||||
shading_mode = 0
|
||||
albedo_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_km368"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-0.51069, -0.511952, -0.512309, 1.02138, 1.02626, 1.02462),
|
||||
"attribute_data": PackedByteArray("q6oqPgAAAABWVVU/AAAAAKuqKj4AAAAAVlVVPwAAAAAAAAAAAAAAP6uqKj8AAAA/q6qqPgAAAD8AAIA/AAAAP6uqqj4AAAAAAAAAAAAAAD+rqio/AAAAAKuqqj4AAAA/q6qqPgAAAD8AAAAAAACAP6uqKj8AAAA/q6qqPgAAgD+rqio/AAAAPwAAgD8AAAA/q6oqPwAAgD8AAIA/AACAPw=="),
|
||||
"format": 34359742487,
|
||||
"index_count": 24,
|
||||
"index_data": PackedByteArray("AgAEAAYAAwAFAAcACAAMAAoACgAMAA4ACQANAAsACwANAA8AEAASABEAEQASABMA"),
|
||||
"material": SubResource("StandardMaterial3D_p5xd2"),
|
||||
"name": "Outline",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 20,
|
||||
"vertex_data": PackedByteArray("VHXYu/ypAz+xJgM/U3XYu/ypAz+xJgO/VHXYu/ypAz+xJgM/U3XYu/ypAz+xJgO/nLwCv04PA79ODwM/nLwCP04PA79ODwO/nLwCP04PA79ODwM/nLwCv04PA79ODwO/VHXYu/ypAz+xJgM/U3XYu/ypAz+xJgO/U3XYu/ypAz+xJgO/VHXYu/ypAz+xJgM/nLwCP04PA79ODwM/nLwCv04PA79ODwO/nLwCP04PA79ODwO/nLwCv04PA79ODwM/nLwCv04PA79ODwM/nLwCP04PA79ODwM/nLwCv04PA79ODwO/nLwCP04PA79ODwO//3//f////7//////AAD/v/9//3////+//////wAA/7//f/9/////v/////8AAP+//3//f////7//////AAD/v1TVqqr/////qiqqqv9//79U1aqq/////6oqqqr/f/+/VNWqqv////+qKqqq/3//v1TVqqr/////qiqqqv9//78AgAAA////vwCAAAD///+/AIAAAP///78AgAAA////vw==")
|
||||
}]
|
||||
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_soise"]
|
||||
data = PackedVector3Array(0, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, 0, 0.5, 0.5, 0, 0.5, -0.5, 0.5, -0.5, 0.5, 0, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0, 0.5, -0.5, 0, 0.5, 0.5, -0.5, -0.5, -0.5, 0, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5)
|
||||
|
||||
[node name="room_hermione_inside" type="Node3D"]
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
shape = SubResource("BoxShape3D_w2gbp")
|
||||
|
||||
[node name="Ground" type="MeshInstance3D" parent="StaticBody3D"]
|
||||
mesh = SubResource("BoxMesh_blkr4")
|
||||
skeleton = NodePath("../..")
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="House" type="Node3D" parent="."]
|
||||
|
||||
[node name="wall-doorway-square2" parent="House" instance=ExtResource("2_4aydi")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 0.5, 0.5)
|
||||
|
||||
[node name="wall-window-square-detailed2" parent="House" instance=ExtResource("5_soise")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 0.5, 2.5)
|
||||
|
||||
[node name="floor2" parent="House" instance=ExtResource("6_p5xd2")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0.5, 0.5)
|
||||
|
||||
[node name="floor3" parent="House" instance=ExtResource("6_p5xd2")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0.5, 2.5)
|
||||
|
||||
[node name="floor4" parent="House" instance=ExtResource("6_p5xd2")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.5, 0.5)
|
||||
|
||||
[node name="floor5" parent="House" instance=ExtResource("6_p5xd2")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.5, 2.5)
|
||||
|
||||
[node name="floor7" parent="House" instance=ExtResource("6_p5xd2")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.245437, 0.5, 0.5)
|
||||
|
||||
[node name="floor8" parent="House" instance=ExtResource("6_p5xd2")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.245437, 0.5, 2.5)
|
||||
|
||||
[node name="floor6" parent="House" instance=ExtResource("6_p5xd2")]
|
||||
transform = Transform3D(6, 0, 0, 0, 1, 0, 0, 0, 6, -6.5, 0.5, 1.5)
|
||||
|
||||
[node name="wall2" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 2.5, 0.5, 3.5)
|
||||
|
||||
[node name="wall3" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 0.5, 3.5)
|
||||
|
||||
[node name="wall20" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 2.5, 0.5, -0.5)
|
||||
|
||||
[node name="wall21" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 0.5, -0.5)
|
||||
|
||||
[node name="wall4" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, 4.5)
|
||||
|
||||
[node name="wall5" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, 6.5)
|
||||
|
||||
[node name="wall22" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 4.5)
|
||||
|
||||
[node name="wall23" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 6.5)
|
||||
|
||||
[node name="wall24" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 0.5)
|
||||
|
||||
[node name="wall25" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 2.5)
|
||||
|
||||
[node name="wall26" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, -3.5)
|
||||
|
||||
[node name="wall27" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, -1.5)
|
||||
|
||||
[node name="wall18" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, -3.5)
|
||||
|
||||
[node name="wall19" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, -1.5)
|
||||
|
||||
[node name="wall6" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -1.5, 0.5, 7.5)
|
||||
|
||||
[node name="wall7" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -3.5, 0.5, 7.5)
|
||||
|
||||
[node name="wall8" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -5.5, 0.5, 7.5)
|
||||
|
||||
[node name="wall9" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -7.5, 0.5, 7.5)
|
||||
|
||||
[node name="wall10" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -9.5, 0.5, 7.5)
|
||||
|
||||
[node name="wall11" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -11.5, 0.5, 7.5)
|
||||
|
||||
[node name="wall12" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -1.5, 0.5, -4.5)
|
||||
|
||||
[node name="wall13" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -3.5, 0.5, -4.5)
|
||||
|
||||
[node name="wall14" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -5.5, 0.5, -4.5)
|
||||
|
||||
[node name="wall15" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -7.5, 0.5, -4.5)
|
||||
|
||||
[node name="wall16" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -9.5, 0.5, -4.5)
|
||||
|
||||
[node name="wall17" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -11.5, 0.5, -4.5)
|
||||
|
||||
[node name="wall32" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, 4.5)
|
||||
|
||||
[node name="wall33" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, 6.5)
|
||||
|
||||
[node name="wall54" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, 0.5)
|
||||
|
||||
[node name="wall55" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, 2.5)
|
||||
|
||||
[node name="wall34" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 4.5)
|
||||
|
||||
[node name="wall35" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 6.5)
|
||||
|
||||
[node name="wall36" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 0.5)
|
||||
|
||||
[node name="wall37" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 2.5)
|
||||
|
||||
[node name="wall38" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, -3.5)
|
||||
|
||||
[node name="wall39" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, -1.5)
|
||||
|
||||
[node name="wall40" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, -3.5)
|
||||
|
||||
[node name="wall41" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, -1.5)
|
||||
|
||||
[node name="wall42" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -1.5, 2.9, 7.5)
|
||||
|
||||
[node name="wall43" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -3.5, 2.9, 7.5)
|
||||
|
||||
[node name="wall44" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -5.5, 2.9, 7.5)
|
||||
|
||||
[node name="wall45" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -7.5, 2.9, 7.5)
|
||||
|
||||
[node name="wall46" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -9.5, 2.9, 7.5)
|
||||
|
||||
[node name="wall47" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -11.5, 2.9, 7.5)
|
||||
|
||||
[node name="wall48" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -1.5, 2.9, -4.5)
|
||||
|
||||
[node name="wall49" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -3.5, 2.9, -4.5)
|
||||
|
||||
[node name="wall50" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -5.5, 2.9, -4.5)
|
||||
|
||||
[node name="wall51" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -7.5, 2.9, -4.5)
|
||||
|
||||
[node name="wall52" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -9.5, 2.9, -4.5)
|
||||
|
||||
[node name="wall53" parent="House" instance=ExtResource("3_37grx")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -11.5, 2.9, -4.5)
|
||||
|
||||
[node name="roof-flat-corner2" parent="House" instance=ExtResource("4_e3d5x")]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 2.5, 2.9, 0.5)
|
||||
|
||||
[node name="roof-flat-corner3" parent="House" instance=ExtResource("4_e3d5x")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 2.9, 2.5)
|
||||
|
||||
[node name="roof-flat-side2" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0.5, 2.9, 0.5)
|
||||
|
||||
[node name="roof-flat-side3" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(1.31134e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134e-07, 0.5, 2.9, 2.5)
|
||||
|
||||
[node name="border2" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, 1)
|
||||
|
||||
[node name="border3" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, 2.5)
|
||||
|
||||
[node name="border4" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, -2.5)
|
||||
|
||||
[node name="border9" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, -3.5)
|
||||
|
||||
[node name="border5" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, -1)
|
||||
|
||||
[node name="border6" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, 4)
|
||||
|
||||
[node name="border7" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, 5.5)
|
||||
|
||||
[node name="border8" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 3, 6.5)
|
||||
|
||||
[node name="border10" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -7.0625, 3, 7.5625)
|
||||
|
||||
[node name="border11" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -5.5625, 3, 7.5625)
|
||||
|
||||
[node name="border12" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -10.5625, 3, 7.5625)
|
||||
|
||||
[node name="border13" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -11.5625, 3, 7.5625)
|
||||
|
||||
[node name="border14" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -9.0625, 3, 7.5625)
|
||||
|
||||
[node name="border15" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -4.0625, 3, 7.5625)
|
||||
|
||||
[node name="border16" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -2.5625, 3, 7.5625)
|
||||
|
||||
[node name="border17" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -1.5625, 3, 7.5625)
|
||||
|
||||
[node name="border18" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, 1)
|
||||
|
||||
[node name="border19" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, 2.5)
|
||||
|
||||
[node name="border20" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, -2.5)
|
||||
|
||||
[node name="border21" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, -3.5)
|
||||
|
||||
[node name="border22" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, -1)
|
||||
|
||||
[node name="border23" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, 4)
|
||||
|
||||
[node name="border24" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, 5.5)
|
||||
|
||||
[node name="border25" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -12.5, 3, 6.5)
|
||||
|
||||
[node name="border26" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -5.9375, 3, -4.4375)
|
||||
|
||||
[node name="border27" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -7.4375, 3, -4.4375)
|
||||
|
||||
[node name="border28" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -2.4375, 3, -4.4375)
|
||||
|
||||
[node name="border29" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -1.4375, 3, -4.4375)
|
||||
|
||||
[node name="border30" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -3.9375, 3, -4.4375)
|
||||
|
||||
[node name="border31" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -8.9375, 3, -4.4375)
|
||||
|
||||
[node name="border32" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -10.4375, 3, -4.4375)
|
||||
|
||||
[node name="border33" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-2.18557e-07, 0, -1, 0, 1, 0, 1, 0, -2.18557e-07, -11.4375, 3, -4.4375)
|
||||
|
||||
[node name="border34" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.5, 3, 2.125)
|
||||
|
||||
[node name="border35" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.5, 3, 0.625)
|
||||
|
||||
[node name="border36" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.500001, 3, 5.625)
|
||||
|
||||
[node name="border37" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.500001, 3, 6.625)
|
||||
|
||||
[node name="border38" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.5, 3, 4.125)
|
||||
|
||||
[node name="border39" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.5, 3, -0.875)
|
||||
|
||||
[node name="border40" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.499999, 3, -2.375)
|
||||
|
||||
[node name="border41" parent="House" instance=ExtResource("8_rmadb")]
|
||||
transform = Transform3D(-1, 0, 2.62268e-07, 0, 1, 0, -2.62268e-07, 0, -1, -0.499999, 3, -3.375)
|
||||
|
||||
[node name="column2" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, -4.5)
|
||||
|
||||
[node name="column3" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, -4.5)
|
||||
|
||||
[node name="column4" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2.9, 7.5)
|
||||
|
||||
[node name="column5" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, 7.5)
|
||||
|
||||
[node name="column6" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 7.5)
|
||||
|
||||
[node name="column7" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 7.5)
|
||||
|
||||
[node name="column8" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, -4.5)
|
||||
|
||||
[node name="column9" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, -4.5)
|
||||
|
||||
[node name="column10" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 2.9, -4.5)
|
||||
|
||||
[node name="column11" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 0.5, -4.5)
|
||||
|
||||
[node name="column12" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 2.9, 7.5)
|
||||
|
||||
[node name="column13" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 0.5, 7.5)
|
||||
|
||||
[node name="column14" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.9, 1.5)
|
||||
|
||||
[node name="column15" parent="House" instance=ExtResource("9_jpxld")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 1.5)
|
||||
|
||||
[node name="roof-flat-corner4" parent="House" instance=ExtResource("4_e3d5x")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 5.3, 7)
|
||||
|
||||
[node name="roof-flat-corner5" parent="House" instance=ExtResource("4_e3d5x")]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1, 5.3, -4)
|
||||
|
||||
[node name="roof-flat-corner6" parent="House" instance=ExtResource("4_e3d5x")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -12, 5.3, -4)
|
||||
|
||||
[node name="roof-flat-corner7" parent="House" instance=ExtResource("4_e3d5x")]
|
||||
transform = Transform3D(1.31134e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134e-07, -12, 5.3, 7)
|
||||
|
||||
[node name="roof-flat-side4" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -10.5, 5.3, 7)
|
||||
|
||||
[node name="roof-flat-side5" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -8.5, 5.3, 7)
|
||||
|
||||
[node name="roof-flat-side6" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -6.5, 5.3, 7)
|
||||
|
||||
[node name="roof-flat-side7" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -4.5, 5.3, 7)
|
||||
|
||||
[node name="roof-flat-side8" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -2.5, 5.3, 7)
|
||||
|
||||
[node name="roof-flat-side9" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -12, 5.3, -3)
|
||||
|
||||
[node name="roof-flat-side10" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -12, 5.3, -1)
|
||||
|
||||
[node name="roof-flat-side11" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -12, 5.3, 1)
|
||||
|
||||
[node name="roof-flat-side12" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -12, 5.3, 3)
|
||||
|
||||
[node name="roof-flat-side13" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -12, 5.3, 5)
|
||||
|
||||
[node name="roof-flat-side14" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -2.5, 5.3, -4)
|
||||
|
||||
[node name="roof-flat-side15" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -4.5, 5.3, -4)
|
||||
|
||||
[node name="roof-flat-side16" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -6.5, 5.3, -4)
|
||||
|
||||
[node name="roof-flat-side17" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -8.5, 5.3, -4)
|
||||
|
||||
[node name="roof-flat-side18" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -10.5, 5.3, -4)
|
||||
|
||||
[node name="roof-flat-side19" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -1, 5.3, 5)
|
||||
|
||||
[node name="roof-flat-side20" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -1, 5.3, 3)
|
||||
|
||||
[node name="roof-flat-side21" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -1, 5.3, 1)
|
||||
|
||||
[node name="roof-flat-side22" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -1, 5.3, -1)
|
||||
|
||||
[node name="roof-flat-side23" parent="House" instance=ExtResource("7_km368")]
|
||||
transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -1, 5.3, -3)
|
||||
|
||||
[node name="roof-flat-center2" parent="House" instance=ExtResource("10_5h2gx")]
|
||||
transform = Transform3D(5, 0, 0, 0, 1, 0, 0, 0, 5, -6.5, 5.3, 1.5)
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_p5xd2")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.69407, -0.512887, 0.505188, 0.0341743, 0.724421, 0.68851, -0.719096, -0.46061, 0.520327, 6.21356, 1.32592, -0.575947)
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="Prism" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(0.679275, 0, 0.733884, 0, 1, 0, -0.733884, 0, 0.679275, 6.21356, 1.32592, -0.575947)
|
||||
mesh = SubResource("PrismMesh_p5xd2")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Prism"]
|
||||
mesh = SubResource("ArrayMesh_km368")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Prism"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Prism/StaticBody3D"]
|
||||
shape = SubResource("ConcavePolygonShape3D_soise")
|
||||
@@ -0,0 +1,124 @@
|
||||
[gd_scene load_steps=15 format=4 uid="uid://drhaqr78kv1o2"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://b7kc8jfs4fowj" path="res://addons/kenney_prototype_tools/materials/green/material_02.tres" id="1_2frux"]
|
||||
[ext_resource type="PackedScene" uid="uid://dve8bvx87r1mm" path="res://models/kenney-house/wall-doorway-square.glb" id="2_hytsl"]
|
||||
[ext_resource type="PackedScene" uid="uid://bfgvxrgm0dkgi" path="res://models/kenney-house/wall.glb" id="3_m1tf4"]
|
||||
[ext_resource type="PackedScene" uid="uid://d3qx51q66eftg" path="res://models/kenney-house/roof-flat-corner.glb" id="4_iniy3"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0k0k4heruf3t" path="res://models/kenney-house/wall-window-square-detailed.glb" id="5_tbp4y"]
|
||||
[ext_resource type="PackedScene" uid="uid://d347ojn6kwgn2" path="res://models/kenney-house/floor.glb" id="6_hytsl"]
|
||||
[ext_resource type="PackedScene" uid="uid://birikia38m0g7" path="res://skybox_world_environment.tscn" id="7_m1tf4"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_blkr4"]
|
||||
material = ExtResource("1_2frux")
|
||||
size = Vector3(20, 1, 20)
|
||||
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_2frux"]
|
||||
data = PackedVector3Array(-10, 0.5, 10, 10, 0.5, 10, -10, -0.5, 10, 10, 0.5, 10, 10, -0.5, 10, -10, -0.5, 10, 10, 0.5, -10, -10, 0.5, -10, 10, -0.5, -10, -10, 0.5, -10, -10, -0.5, -10, 10, -0.5, -10, 10, 0.5, 10, 10, 0.5, -10, 10, -0.5, 10, 10, 0.5, -10, 10, -0.5, -10, 10, -0.5, 10, -10, 0.5, -10, -10, 0.5, 10, -10, -0.5, -10, -10, 0.5, 10, -10, -0.5, 10, -10, -0.5, -10, 10, 0.5, 10, -10, 0.5, 10, 10, 0.5, -10, -10, 0.5, 10, -10, 0.5, -10, 10, 0.5, -10, -10, -0.5, 10, 10, -0.5, 10, -10, -0.5, -10, 10, -0.5, 10, 10, -0.5, -10, -10, -0.5, -10)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m1tf4"]
|
||||
albedo_color = Color(0.733333, 0.552941, 1, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_iniy3"]
|
||||
material = SubResource("StandardMaterial3D_m1tf4")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tbp4y"]
|
||||
shading_mode = 0
|
||||
albedo_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_b8r5k"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-0.511547, -0.511547, -0.511547, 1.02309, 1.02309, 1.02309),
|
||||
"attribute_data": PackedByteArray("AAAAAAAAAACrqio/AAAAAKuqqj4AAAAAAACAPwAAAAAAAAAAAAAAP6uqKj8AAAA/q6qqPgAAAD8AAIA/AAAAP6uqqj4AAAAAAAAAAAAAAD+rqio/AAAAAKuqqj4AAAA/q6qqPgAAAD8AAAAAAACAP6uqKj8AAAA/q6qqPgAAgD+rqqo+AAAAP6uqKj8AAAA/q6oqPwAAAD8AAIA/AAAAP6uqqj4AAIA/q6oqPwAAgD+rqio/AACAPwAAgD8AAIA/"),
|
||||
"format": 34359742487,
|
||||
"index_count": 36,
|
||||
"index_data": PackedByteArray("AAAEAAIAAgAEAAYAAQAFAAMAAwAFAAcACAAMAAoACgAMAA4ACQANAAsACwANAA8AEAAUABIAEgAUABYAEQAVABMAEwAVABcA"),
|
||||
"material": SubResource("StandardMaterial3D_tbp4y"),
|
||||
"name": "Outline",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 24,
|
||||
"vertex_data": PackedByteArray("v/QCv7/0Aj+/9AI/v/QCP7/0Aj+/9AK/v/QCP7/0Aj+/9AI/v/QCv7/0Aj+/9AK/v/QCv7/0Ar+/9AI/v/QCP7/0Ar+/9AK/v/QCP7/0Ar+/9AI/v/QCv7/0Ar+/9AK/v/QCP7/0Aj+/9AI/v/QCv7/0Aj+/9AK/v/QCP7/0Aj+/9AK/v/QCv7/0Aj+/9AI/v/QCP7/0Ar+/9AI/v/QCv7/0Ar+/9AK/v/QCP7/0Ar+/9AK/v/QCv7/0Ar+/9AI/v/QCP7/0Aj+/9AI/v/QCv7/0Ar+/9AI/v/QCv7/0Aj+/9AI/v/QCP7/0Ar+/9AI/v/QCP7/0Aj+/9AK/v/QCv7/0Ar+/9AK/v/QCv7/0Aj+/9AK/v/QCP7/0Ar+/9AK//3//f////7//////AAD/v/9//3////+//////wAA/7//f/9/////v/////8AAP+//3//f////7//////AAD/v///AID/////AAAAgP9//7///wCA/////wAAAID/f/+///8AgP////8AAACA/3//v///AID/////AAAAgP9//78AgP//AAD/vwCAAAD///+/AID//wAA/78AgAAA////vwCA//8AAP+/AIAAAP///78AgP//AAD/vwCAAAD///+/")
|
||||
}]
|
||||
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_m1tf4"]
|
||||
data = PackedVector3Array(-0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5)
|
||||
|
||||
[node name="room_hermione_outside" type="Node3D"]
|
||||
|
||||
[node name="Ground" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("BoxMesh_blkr4")
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Ground"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground/StaticBody3D"]
|
||||
shape = SubResource("ConcavePolygonShape3D_2frux")
|
||||
|
||||
[node name="House" type="Node3D" parent="."]
|
||||
|
||||
[node name="wall-doorway-square2" parent="House" instance=ExtResource("2_hytsl")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 0.5, 0.5)
|
||||
|
||||
[node name="wall3" parent="House" instance=ExtResource("3_m1tf4")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, 2.5)
|
||||
|
||||
[node name="wall7" parent="House" instance=ExtResource("3_m1tf4")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, 0.5)
|
||||
|
||||
[node name="wall4" parent="House" instance=ExtResource("3_m1tf4")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 2.5, 0.5, 3.5)
|
||||
|
||||
[node name="wall8" parent="House" instance=ExtResource("3_m1tf4")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 0.5, 3.5)
|
||||
|
||||
[node name="wall5" parent="House" instance=ExtResource("3_m1tf4")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 2.5, 0.5, -0.5)
|
||||
|
||||
[node name="wall6" parent="House" instance=ExtResource("3_m1tf4")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 0.5, -0.5)
|
||||
|
||||
[node name="roof-flat-corner2" parent="House" instance=ExtResource("4_iniy3")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 2.88135, 2.5)
|
||||
|
||||
[node name="roof-flat-corner3" parent="House" instance=ExtResource("4_iniy3")]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 2.5, 2.88135, 0.5)
|
||||
|
||||
[node name="roof-flat-corner4" parent="House" instance=ExtResource("4_iniy3")]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0.5, 2.88135, 0.5)
|
||||
|
||||
[node name="roof-flat-corner5" parent="House" instance=ExtResource("4_iniy3")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 2.88135, 2.5)
|
||||
|
||||
[node name="wall-window-square-detailed2" parent="House" instance=ExtResource("5_tbp4y")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 0.5, 2.5)
|
||||
|
||||
[node name="floor2" parent="." instance=ExtResource("6_hytsl")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0.5, 0.5)
|
||||
|
||||
[node name="floor3" parent="." instance=ExtResource("6_hytsl")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0.5, 2.5)
|
||||
|
||||
[node name="floor4" parent="." instance=ExtResource("6_hytsl")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.5, 0.5)
|
||||
|
||||
[node name="floor5" parent="." instance=ExtResource("6_hytsl")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.5, 2.5)
|
||||
|
||||
[node name="WorldEnvironment2" parent="." instance=ExtResource("7_m1tf4")]
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.999197, -0.0103569, -0.0386982, 0.0341743, 0.724421, 0.68851, 0.0209029, -0.68928, 0.724194, 0, 0, 0)
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="Cube" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(0.823869, 0, 0.56678, 0, 1, 0, -0.56678, 0, 0.823869, 6.09669, 1.73711, 3.18691)
|
||||
mesh = SubResource("BoxMesh_iniy3")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Cube"]
|
||||
mesh = SubResource("ArrayMesh_b8r5k")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Cube"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cube/StaticBody3D"]
|
||||
shape = SubResource("ConcavePolygonShape3D_m1tf4")
|
||||
@@ -0,0 +1,48 @@
|
||||
@tool
|
||||
extends Node3D
|
||||
|
||||
|
||||
|
||||
func _add_inspector_buttons() -> Array:
|
||||
var buttons: Array = []
|
||||
|
||||
buttons.push_back({
|
||||
"name": "Regular cube mesh",
|
||||
"pressed": _add_regular_cube_mesh
|
||||
})
|
||||
buttons.push_back({
|
||||
"name": "Internal cube mesh",
|
||||
"pressed": _add_internal_cube_mesh
|
||||
})
|
||||
buttons.push_back({
|
||||
"name": "Delete all children",
|
||||
"pressed": func(): for child in get_children(true): child.queue_free()
|
||||
})
|
||||
|
||||
return buttons
|
||||
|
||||
func _add_regular_cube_mesh() -> void:
|
||||
var m = MeshInstance3D.new()
|
||||
var b = BoxMesh.new()
|
||||
m.mesh = b
|
||||
add_child(m, true)
|
||||
m.owner = self
|
||||
m.position.x = 1.5 * get_child_count(true)
|
||||
|
||||
func _add_internal_cube_mesh() -> void:
|
||||
var m = MeshInstance3D.new()
|
||||
var b = BoxMesh.new()
|
||||
m.mesh = b
|
||||
add_child(m, true, Node.INTERNAL_MODE_BACK)
|
||||
|
||||
var mat = StandardMaterial3D.new()
|
||||
mat.albedo_color = Color("ff4c4e")
|
||||
b.material = mat
|
||||
|
||||
# Lock the node in editor. Prevents selection (here for internal nodes)
|
||||
# UNDOCUMENTED
|
||||
# https://github.com/godotengine/godot-proposals/issues/3046
|
||||
m.set_meta("_edit_lock_", true)
|
||||
|
||||
m.owner = self
|
||||
m.position.x = 1.5 * get_child_count(true)
|
||||
@@ -0,0 +1 @@
|
||||
uid://ouk76qr5gpq0
|
||||
@@ -0,0 +1,40 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://bnrph4k6wpruy"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ouk76qr5gpq0" path="res://levels/test_internal_nodes.gd" id="1_glqbe"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_glqbe"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_dodl2"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wgeau"]
|
||||
albedo_color = Color(1, 0.298039, 0.305882, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_j0q2q"]
|
||||
material = SubResource("StandardMaterial3D_wgeau")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_47wcs"]
|
||||
albedo_color = Color(1, 0.298039, 0.305882, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_bkhqo"]
|
||||
material = SubResource("StandardMaterial3D_47wcs")
|
||||
|
||||
[node name="test_internal_nodes" type="Node3D"]
|
||||
script = ExtResource("1_glqbe")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5, 0, 0)
|
||||
mesh = SubResource("BoxMesh_glqbe")
|
||||
|
||||
[node name="MeshInstance3D4" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0)
|
||||
mesh = SubResource("BoxMesh_dodl2")
|
||||
|
||||
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0)
|
||||
mesh = SubResource("BoxMesh_j0q2q")
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="MeshInstance3D3" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.5, 0, 0)
|
||||
mesh = SubResource("BoxMesh_bkhqo")
|
||||
metadata/_edit_lock_ = true
|
||||
@@ -0,0 +1,77 @@
|
||||
[gd_scene load_steps=8 format=4 uid="uid://c0ieh1abu1xne"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://bv36triwinl2f" path="res://textures/uv-checker-material.tres" id="1_dn1le"]
|
||||
[ext_resource type="Script" uid="uid://d2bvvjsibau8c" path="res://addons/simple-portal-system/scripts/portal.gd" id="1_ksg6r"]
|
||||
[ext_resource type="PackedScene" uid="uid://d1dtxvwk86ple" path="res://procedural_mesh_maker.tscn" id="2_4vena"]
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_1w8eh"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-1, -1.3, -0.133, 2, 2.6, 0.133),
|
||||
"attribute_data": PackedByteArray("AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD8nMYg9soZRPdv5bj+yhlE9JzGIPZXncj/b+W4/ledyPw=="),
|
||||
"format": 34359742487,
|
||||
"index_count": 30,
|
||||
"index_data": PackedByteArray("AAABAAQABAABAAUAAQADAAUABQADAAcAAwACAAcABwACAAYAAgAAAAYABgAAAAQABAAFAAYABgAFAAcA"),
|
||||
"material": ExtResource("1_dn1le"),
|
||||
"name": "Portal Material",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 8,
|
||||
"vertex_data": PackedByteArray("AACAv2Zmpj8AAAAAAACAP2Zmpj8AAAAAAACAv2Zmpr8AAAAAAACAP2Zmpr8AAAAAtvNdv0FglT8nMQi+tvNdP0FglT8nMQi+tvNdv0Fglb8nMQi+tvNdP0Fglb8nMQi+/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgP9//3//fwCA/3//f/9/AID/f/9//38AgA==")
|
||||
}]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_82kw5"]
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_dn1le"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-1.02429, -1.3, -0.2, 2.04857, 2.60001, 0.20001),
|
||||
"format": 34896613377,
|
||||
"index_count": 30,
|
||||
"index_data": PackedByteArray("BwAFAAQABwAEAAYAAQAHAAMAAQAFAAcAAgAEAAAAAgAGAAQAAwAGAAIAAwAHAAYAAAAFAAEAAAAEAAUA"),
|
||||
"lods": [0.156674, PackedByteArray("AwAFAAAAAQAFAAMAAwAAAAIAAAAFAAEA")],
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 8,
|
||||
"vertex_data": PackedByteArray("AAD+//v/AAAAAAAA+/8AAP///v/7/wAA/v8AAPv/AACZGWXmAAAAAJkZmRkAAAAAZeZl5gAAAABl5pkZAAAAAA==")
|
||||
}]
|
||||
blend_shape_mode = 0
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_u54xs"]
|
||||
resource_name = "room_Plane_001"
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-1.02429, -1.3, -0.2, 2.04857, 2.60001, 0.20001),
|
||||
"attribute_data": PackedByteArray("AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//"),
|
||||
"format": 34896613399,
|
||||
"index_count": 30,
|
||||
"index_data": PackedByteArray("EQALAAgAEQAIAA4AAgASAAYAAgAMABIABAAJAAAABAAPAAkABwAQAAUABwATABAAAQANAAMAAQAKAA0A"),
|
||||
"lods": [0.156674, PackedByteArray("BgAWAAAAAgAWAAYABgAAAAQAFAAXABUA")],
|
||||
"material": SubResource("StandardMaterial3D_82kw5"),
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 24,
|
||||
"vertex_data": PackedByteArray("AAD+//v/SGUAAP7/+/8AagAAAAD7/0hlAAAAAPv/AGr///7/+/9IZf///v/7/wBq/v8AAPv/SGX+/wAA+/8AapkZZeYAAP5/mRll5gAASGWZGWXmAAAAapkZmRkAAP5/mRmZGQAASGWZGZkZAAAAamXmZeYAAP5/ZeZl5gAASGVl5mXmAAAAamXmmRkAAP5/ZeaZGQAASGVl5pkZAAAAagAA/v/7/wBqAAAAAPv/AGqZGZkZAAD1b5kZmRkAAABqAAD/f/9/AAD///9//38AAAAA/3//f///////f/9/////f///AAD/f/9/AAD/f///////f/9/AAD/f///AAD/f/9/////f///////f/9/////fwAA/38AAP///3//fwAA")
|
||||
}]
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_dn1le")
|
||||
|
||||
[node name="ProceduralPortal" type="Node3D"]
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.4625e-05, -0.0007523, 0.000824571)
|
||||
mesh = SubResource("ArrayMesh_1w8eh")
|
||||
script = ExtResource("1_ksg6r")
|
||||
|
||||
[node name="ProceduralMeshMaker" parent="." node_paths=PackedStringArray("portal") instance=ExtResource("2_4vena")]
|
||||
height = 2.6
|
||||
width = 2.0
|
||||
indent = 0.133
|
||||
portal = NodePath("../MeshInstance3D")
|
||||
portal_material = ExtResource("1_dn1le")
|
||||
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.52963, 0, 1.51112)
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="OfficialPortal" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 0, 0)
|
||||
mesh = SubResource("ArrayMesh_u54xs")
|
||||
metadata/_edit_lock_ = true
|
||||
@@ -1,17 +1,19 @@
|
||||
extends Control
|
||||
|
||||
const LEVEL_5_ROOMS = preload("res://levels/level_5rooms.tscn")
|
||||
const LEVEL_3_ROOMS = preload("res://levels/level_3_rooms.tscn")
|
||||
const LEVEL_PLATFORMER = preload("res://levels/level_platformer.tscn")
|
||||
const LEVEL_SEMAPHORE_LIGHTS = preload("res://levels/level_semaphore_lights.tscn")
|
||||
const LEVEL_5_ROOMS: PackedScene = preload("res://levels/level_5rooms.tscn")
|
||||
const LEVEL_3_ROOMS: PackedScene = preload("res://levels/level_3_rooms.tscn")
|
||||
const LEVEL_PLATFORMER: PackedScene = preload("res://levels/level_platformer.tscn")
|
||||
const LEVEL_SEMAPHORE_LIGHTS: PackedScene = preload("res://levels/level_semaphore_lights.tscn")
|
||||
const LEVEL_CUBE_PORTALS: PackedScene = preload("res://levels/level_cube_portals.tscn")
|
||||
|
||||
@onready var items_container: VBoxContainer = $CenterContainer/ItemsContainer
|
||||
|
||||
var levels = {
|
||||
var levels: Dictionary = {
|
||||
"Semaphore": LEVEL_3_ROOMS,
|
||||
"Semaphore - Lights": LEVEL_SEMAPHORE_LIGHTS,
|
||||
"Semaphore - Lights Demo": LEVEL_SEMAPHORE_LIGHTS,
|
||||
"5 rooms": LEVEL_5_ROOMS,
|
||||
"Infinite fall": LEVEL_PLATFORMER
|
||||
"Platform": LEVEL_PLATFORMER,
|
||||
"Recurisve portals - WIP": LEVEL_CUBE_PORTALS
|
||||
}
|
||||
|
||||
func _ready() -> void:
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 9.5 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dnphrf6dekgvn"
|
||||
path.s3tc="res://.godot/imported/colormap.png-be25d4a14434f049e9335c9189c05045.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/Textures/colormap.png"
|
||||
dest_files=["res://.godot/imported/colormap.png-be25d4a14434f049e9335c9189c05045.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b57f1w1ffvjfl"
|
||||
path="res://.godot/imported/border-corner.glb-0619254f56d70d0adb4dd42ae782ecba.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/border-corner.glb"
|
||||
dest_files=["res://.godot/imported/border-corner.glb-0619254f56d70d0adb4dd42ae782ecba.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:border-corner": {
|
||||
"generate/physics": true
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://d3yk6et3d4yw3"
|
||||
path="res://.godot/imported/border.glb-a1fe17af1c6910d583cef042a5a9701c.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/border.glb"
|
||||
dest_files=["res://.godot/imported/border.glb-a1fe17af1c6910d583cef042a5a9701c.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:border": {
|
||||
"generate/physics": true
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dsogp3m6bedxp"
|
||||
path="res://.godot/imported/column.glb-657830aafa2c47310bb1b8ff06063167.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/column.glb"
|
||||
dest_files=["res://.godot/imported/column.glb-657830aafa2c47310bb1b8ff06063167.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:column": {
|
||||
"generate/physics": true
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://re7f0x1ke0md"
|
||||
path="res://.godot/imported/door-rotate-square-c.glb-c1417ec31599a90af74fc57ed5f2acb5.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/door-rotate-square-c.glb"
|
||||
dest_files=["res://.godot/imported/door-rotate-square-c.glb-c1417ec31599a90af74fc57ed5f2acb5.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:door-rotate-square-c/door": {
|
||||
"generate/physics": true,
|
||||
"physics/body_type": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://d347ojn6kwgn2"
|
||||
path="res://.godot/imported/floor.glb-e753c3bd35066eef24427a939bbbfb1d.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/floor.glb"
|
||||
dest_files=["res://.godot/imported/floor.glb-e753c3bd35066eef24427a939bbbfb1d.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:floor": {
|
||||
"generate/physics": true
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b4mndlgalycyh"
|
||||
path="res://.godot/imported/roof-flat-center.glb-8f23942169210678242eb92cebea49e3.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/roof-flat-center.glb"
|
||||
dest_files=["res://.godot/imported/roof-flat-center.glb-8f23942169210678242eb92cebea49e3.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:roof-flat-center": {
|
||||
"generate/physics": true
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://d3qx51q66eftg"
|
||||
path="res://.godot/imported/roof-flat-corner.glb-a0c084a0d7800dcdcdbe5f633c05990c.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/roof-flat-corner.glb"
|
||||
dest_files=["res://.godot/imported/roof-flat-corner.glb-a0c084a0d7800dcdcdbe5f633c05990c.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:roof-flat-corner": {
|
||||
"generate/physics": true
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://yqsv32xecxbr"
|
||||
path="res://.godot/imported/roof-flat-side.glb-ab557049d2eaf7cef25c926db44909ce.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/roof-flat-side.glb"
|
||||
dest_files=["res://.godot/imported/roof-flat-side.glb-ab557049d2eaf7cef25c926db44909ce.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:roof-flat-side": {
|
||||
"generate/physics": true
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://cy4givcixjenc"
|
||||
path="res://.godot/imported/wall-corner.glb-1a25d3bf79cf2659eaabd5fbcdb07105.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/wall-corner.glb"
|
||||
dest_files=["res://.godot/imported/wall-corner.glb-1a25d3bf79cf2659eaabd5fbcdb07105.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:wall-corner": {
|
||||
"generate/physics": true
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dve8bvx87r1mm"
|
||||
path="res://.godot/imported/wall-doorway-square.glb-7714b1be5989e7155fddd458ccfec05b.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/wall-doorway-square.glb"
|
||||
dest_files=["res://.godot/imported/wall-doorway-square.glb-7714b1be5989e7155fddd458ccfec05b.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:wall-doorway-square": {
|
||||
"generate/physics": true
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
@@ -0,0 +1,46 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b0k0k4heruf3t"
|
||||
path="res://.godot/imported/wall-window-square-detailed.glb-7ae5d3f7bbc0fc7ff27a838bc27dee6b.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/wall-window-square-detailed.glb"
|
||||
dest_files=["res://.godot/imported/wall-window-square-detailed.glb-7ae5d3f7bbc0fc7ff27a838bc27dee6b.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:wall-window-square-detailed": {
|
||||
"generate/physics": true
|
||||
},
|
||||
"PATH:wall-window-square-detailed/(_ignore)": {
|
||||
"import/skip_import": true
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bfgvxrgm0dkgi"
|
||||
path="res://.godot/imported/wall.glb-1123b951cefd776d3d2bae84553f3095.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/kenney-house/wall.glb"
|
||||
dest_files=["res://.godot/imported/wall.glb-1123b951cefd776d3d2bae84553f3095.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:wall": {
|
||||
"generate/physics": true
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
@@ -0,0 +1,105 @@
|
||||
@tool
|
||||
extends ArrayMesh
|
||||
class_name PortalMesh
|
||||
|
||||
@export_range(0.1, 10, 0.01) var height: float = 2.0:
|
||||
set(new_val):
|
||||
height = new_val
|
||||
generate_portal_mesh()
|
||||
|
||||
@export_range(0.1, 10, 0.01) var width: float = 1.0:
|
||||
set(new_val):
|
||||
width = new_val
|
||||
generate_portal_mesh()
|
||||
|
||||
## Player camera's NEAR clip distance
|
||||
@export_range(0, 0.2, 0.001) var indent: float = 0.1:
|
||||
set(new_val):
|
||||
indent = new_val
|
||||
generate_portal_mesh()
|
||||
|
||||
func _init() -> void:
|
||||
if Engine.is_editor_hint():
|
||||
generate_portal_mesh()
|
||||
|
||||
func generate_portal_mesh() -> void:
|
||||
print("[PortalMesh] Creating mesh")
|
||||
var _start_time: int = Time.get_ticks_usec()
|
||||
clear_surfaces() # Reset
|
||||
|
||||
var surface_array: Array = []
|
||||
surface_array.resize(Mesh.ARRAY_MAX)
|
||||
|
||||
var verts: PackedVector3Array = PackedVector3Array()
|
||||
var uvs: PackedVector2Array = PackedVector2Array()
|
||||
var normals: PackedVector3Array = PackedVector3Array()
|
||||
var indices: PackedInt32Array = PackedInt32Array()
|
||||
|
||||
# Just to save some chars
|
||||
var w: float = width / 2
|
||||
var h: float = height / 2
|
||||
|
||||
|
||||
# Outside rect
|
||||
var TOP_LEFT: Vector3 = Vector3(-w, h, 0)
|
||||
var TOP_RIGHT: Vector3 = Vector3(w, h, 0)
|
||||
var BOTTOM_LEFT: Vector3 = Vector3(-w, -h, 0)
|
||||
var BOTTOM_RIGHT: Vector3 = Vector3(w, -h, 0)
|
||||
# Inside rect, indented
|
||||
var INDENT_TL: Vector3 = TOP_LEFT + Vector3(indent, -indent, -indent)
|
||||
var INDENT_TR: Vector3 = TOP_RIGHT + Vector3(-indent, -indent, -indent)
|
||||
var INDENT_BL: Vector3 = BOTTOM_LEFT + Vector3(indent, indent, -indent)
|
||||
var INDENT_BR: Vector3 = BOTTOM_RIGHT + Vector3(-indent, indent, -indent)
|
||||
|
||||
verts.append_array([
|
||||
TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT,
|
||||
INDENT_TL, INDENT_TR, INDENT_BL, INDENT_BR
|
||||
])
|
||||
|
||||
var ix: float = indent / width
|
||||
var iy: float = indent / height
|
||||
uvs.append_array([
|
||||
Vector2(0, 0), Vector2(1, 0), Vector2(0, 1), Vector2(1, 1), # Outside UVs
|
||||
Vector2(ix, iy), Vector2(1-ix, iy), Vector2(ix, 1-iy), Vector2(1-ix, 1-iy) # Indented UVs
|
||||
])
|
||||
|
||||
# We are going for a flat-surface look here. Portals should be unshaded anyways.
|
||||
normals.append_array([
|
||||
Vector3.BACK, Vector3.BACK, Vector3.BACK, Vector3.BACK,
|
||||
Vector3.BACK, Vector3.BACK, Vector3.BACK, Vector3.BACK
|
||||
])
|
||||
|
||||
# 0 ----------- 1
|
||||
# | \ / |
|
||||
# | 4-------5 |
|
||||
# | | | |
|
||||
# | | | |
|
||||
# | 6-------7 |
|
||||
# | / \ |
|
||||
# 2 ----------- 3
|
||||
|
||||
# Triangles are clockwise!
|
||||
|
||||
indices.append_array([
|
||||
0, 1, 4,
|
||||
4, 1, 5, # Top section done
|
||||
1, 3, 5,
|
||||
5, 3, 7, # right section done
|
||||
3, 2, 7,
|
||||
7, 2, 6, # bottom section done
|
||||
2, 0, 6,
|
||||
6, 0, 4, # left section done
|
||||
|
||||
4, 5, 6,
|
||||
6, 5, 7, # middle sectiondone
|
||||
])
|
||||
|
||||
surface_array[Mesh.ARRAY_VERTEX] = verts
|
||||
surface_array[Mesh.ARRAY_TEX_UV] = uvs
|
||||
surface_array[Mesh.ARRAY_NORMAL] = normals
|
||||
surface_array[Mesh.ARRAY_INDEX] = indices
|
||||
|
||||
add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, surface_array)
|
||||
|
||||
print("[PortalMesh] Done in %f ms" % [(Time.get_ticks_usec() - _start_time) / 1000.0])
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://s5kb624h26hs
|
||||
@@ -0,0 +1,126 @@
|
||||
@tool
|
||||
extends Node
|
||||
|
||||
@export_range(0.1, 10, 0.01) var height: float = 2.0
|
||||
@export_range(0.1, 10, 0.01) var width: float = 1.0
|
||||
## Player camera's NEAR clip distance
|
||||
@export_range(0, 0.2, 0.001) var indent: float = 0.1
|
||||
|
||||
@export var portal: Portal
|
||||
@export var portal_material: BaseMaterial3D
|
||||
|
||||
|
||||
func _add_inspector_buttons() -> Array:
|
||||
var buttons: Array = []
|
||||
|
||||
buttons.push_back({
|
||||
"name": "Generate Portal Mesh",
|
||||
"pressed": generate_portal_mesh
|
||||
})
|
||||
buttons.push_back({
|
||||
"name": "Remove Mesh",
|
||||
"pressed": func(): portal.mesh = null
|
||||
})
|
||||
|
||||
return buttons
|
||||
|
||||
func _get_configuration_warnings() -> PackedStringArray:
|
||||
var warnings: Array = []
|
||||
|
||||
if portal == null:
|
||||
warnings.append("Assign a portal to generate the mesh for")
|
||||
|
||||
return warnings
|
||||
|
||||
func generate_portal_mesh() -> void:
|
||||
if portal == null:
|
||||
push_error("No portal")
|
||||
return
|
||||
|
||||
if portal.mesh != null:
|
||||
push_warning("The portal %s already has a mesh! Replacing." % portal.name)
|
||||
portal.mesh = null
|
||||
|
||||
|
||||
var mesh = ArrayMesh.new()
|
||||
print("[PMM] Creating mesh")
|
||||
|
||||
var surface_array: Array = []
|
||||
surface_array.resize(Mesh.ARRAY_MAX)
|
||||
|
||||
var verts: PackedVector3Array = PackedVector3Array()
|
||||
var uvs: PackedVector2Array = PackedVector2Array()
|
||||
var normals: PackedVector3Array = PackedVector3Array()
|
||||
var indices: PackedInt32Array = PackedInt32Array()
|
||||
|
||||
# Just to save some chars
|
||||
var w: float = width / 2
|
||||
var h: float = height / 2
|
||||
|
||||
|
||||
# Outside rect
|
||||
var TOP_LEFT: Vector3 = Vector3(-w, h, 0)
|
||||
var TOP_RIGHT: Vector3 = Vector3(w, h, 0)
|
||||
var BOTTOM_LEFT: Vector3 = Vector3(-w, -h, 0)
|
||||
var BOTTOM_RIGHT: Vector3 = Vector3(w, -h, 0)
|
||||
# Inside rect, indented
|
||||
var INDENT_TL: Vector3 = TOP_LEFT + Vector3(indent, -indent, -indent)
|
||||
var INDENT_TR: Vector3 = TOP_RIGHT + Vector3(-indent, -indent, -indent)
|
||||
var INDENT_BL: Vector3 = BOTTOM_LEFT + Vector3(indent, indent, -indent)
|
||||
var INDENT_BR: Vector3 = BOTTOM_RIGHT + Vector3(-indent, indent, -indent)
|
||||
|
||||
verts.append_array([
|
||||
TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT,
|
||||
INDENT_TL, INDENT_TR, INDENT_BL, INDENT_BR
|
||||
])
|
||||
|
||||
var ix: float = indent / width
|
||||
var iy: float = indent / height
|
||||
uvs.append_array([
|
||||
Vector2(0, 0), Vector2(1, 0), Vector2(0, 1), Vector2(1, 1), # Outside UVs
|
||||
Vector2(ix, iy), Vector2(1-ix, iy), Vector2(ix, 1-iy), Vector2(1-ix, 1-iy) # Indented UVs
|
||||
])
|
||||
|
||||
# We are going for a flat-surface look here. Portals should be unshaded anyways.
|
||||
normals.append_array([
|
||||
Vector3.BACK, Vector3.BACK, Vector3.BACK, Vector3.BACK,
|
||||
Vector3.BACK, Vector3.BACK, Vector3.BACK, Vector3.BACK
|
||||
])
|
||||
|
||||
# 0 ----------- 1
|
||||
# | \ / |
|
||||
# | 4-------5 |
|
||||
# | | | |
|
||||
# | | | |
|
||||
# | 6-------7 |
|
||||
# | / \ |
|
||||
# 2 ----------- 3
|
||||
|
||||
# Triangles are clockwise!
|
||||
|
||||
indices.append_array([
|
||||
0, 1, 4,
|
||||
4, 1, 5, # Top section done
|
||||
1, 3, 5,
|
||||
5, 3, 7, # right section done
|
||||
3, 2, 7,
|
||||
7, 2, 6, # bottom section done
|
||||
2, 0, 6,
|
||||
6, 0, 4, # left section done
|
||||
|
||||
4, 5, 6,
|
||||
6, 5, 7, # middle sectiondone
|
||||
])
|
||||
|
||||
surface_array[Mesh.ARRAY_VERTEX] = verts
|
||||
surface_array[Mesh.ARRAY_TEX_UV] = uvs
|
||||
surface_array[Mesh.ARRAY_NORMAL] = normals
|
||||
surface_array[Mesh.ARRAY_INDEX] = indices
|
||||
|
||||
mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, surface_array)
|
||||
if portal_material:
|
||||
mesh.surface_set_material(0, portal_material)
|
||||
mesh.surface_set_name(0, "Portal Material")
|
||||
portal.mesh = mesh
|
||||
|
||||
print("[PMM] Mesh assigned")
|
||||
@@ -0,0 +1 @@
|
||||
uid://xt85yw2lp6dw
|
||||
@@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://d1dtxvwk86ple"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://xt85yw2lp6dw" path="res://procedural_mesh_maker.gd" id="1_1a4ua"]
|
||||
|
||||
[node name="ProceduralMeshMaker" type="Node"]
|
||||
script = ExtResource("1_1a4ua")
|
||||
+12
-1
@@ -22,7 +22,13 @@ window/size/viewport_height=1080
|
||||
|
||||
[editor_plugins]
|
||||
|
||||
enabled=PackedStringArray("res://addons/portal_gizmos/plugin.cfg")
|
||||
enabled=PackedStringArray("res://addons/inspector_buttons/plugin.cfg")
|
||||
|
||||
[file_customization]
|
||||
|
||||
folder_colors={
|
||||
"res://addons/": "blue"
|
||||
}
|
||||
|
||||
[input]
|
||||
|
||||
@@ -46,6 +52,11 @@ move_back={
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
debug_teleport={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":84,"key_label":0,"unicode":116,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
[layer_names]
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://birikia38m0g7"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cvxwlhcjdg7u7" path="res://textures/kloppenheim_06_puresky_2k.exr" id="1_5twt8"]
|
||||
|
||||
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_ghyw7"]
|
||||
panorama = ExtResource("1_5twt8")
|
||||
|
||||
[sub_resource type="Sky" id="Sky_jfr1b"]
|
||||
sky_material = SubResource("PanoramaSkyMaterial_ghyw7")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_jdap8"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_jfr1b")
|
||||
tonemap_mode = 1
|
||||
tonemap_exposure = 0.53
|
||||
glow_enabled = true
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment"]
|
||||
environment = SubResource("Environment_jdap8")
|
||||
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cvxwlhcjdg7u7"
|
||||
path.bptc="res://.godot/imported/kloppenheim_06_puresky_2k.exr-160a1911b7cbaf5d31339e358952146a.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/kloppenheim_06_puresky_2k.exr"
|
||||
dest_files=["res://.godot/imported/kloppenheim_06_puresky_2k.exr-160a1911b7cbaf5d31339e358952146a.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
@@ -0,0 +1,7 @@
|
||||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://bv36triwinl2f"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://ya8afistbdec" path="res://textures/uv-checker.png" id="1_xdbe0"]
|
||||
|
||||
[resource]
|
||||
shading_mode = 0
|
||||
albedo_texture = ExtResource("1_xdbe0")
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ya8afistbdec"
|
||||
path.s3tc="res://.godot/imported/uv-checker.png-26b18af46d2dfdb0ee67624bb4da1f2d.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/uv-checker.png"
|
||||
dest_files=["res://.godot/imported/uv-checker.png-26b18af46d2dfdb0ee67624bb4da1f2d.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
Reference in new issue
Block a user