immersive-home/app/content/ui/components/line_chart/line_chart.tscn

77 lines
8.4 KiB
Plaintext
Raw Normal View History

2024-04-11 17:51:30 +03:00
[gd_scene load_steps=11 format=3 uid="uid://cwvykoymlrrel"]
2024-04-10 21:23:19 +03:00
[ext_resource type="Script" path="res://content/ui/components/line_chart/line_chart.gd" id="1_n7fu8"]
2024-04-11 17:51:30 +03:00
[ext_resource type="PackedScene" uid="uid://bb3shmvedk1oh" path="res://content/ui/components/line_chart/x_axis.tscn" id="2_2ow77"]
[ext_resource type="Shader" path="res://content/ui/components/line_chart/line_chart.gdshader" id="2_ryi4h"]
[ext_resource type="PackedScene" uid="uid://bs5wjs1sf67il" path="res://content/ui/components/line_chart/y_axis.tscn" id="3_48ptx"]
2024-04-10 21:23:19 +03:00
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_20gpn"]
cull_mode = 2
shading_mode = 0
2024-04-11 17:51:30 +03:00
albedo_color = Color(0.109804, 0.721569, 0.262745, 1)
2024-04-10 21:23:19 +03:00
2024-04-18 11:13:48 +03:00
[sub_resource type="ArrayMesh" id="ArrayMesh_mec1l"]
2024-04-10 21:23:19 +03:00
_surfaces = [{
2024-04-11 17:51:30 +03:00
"aabb": AABB(-0.000587015, -0.000596339, 0.0005, 0.501171, 0.301189, 1e-05),
2024-04-10 21:23:19 +03:00
"format": 34359742465,
2024-04-11 17:51:30 +03:00
"index_count": 100,
"index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 8, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 0, 16, 0, 17, 0, 18, 0, 19, 0, 20, 0, 21, 0, 22, 0, 23, 0, 24, 0, 25, 0, 26, 0, 27, 0, 28, 0, 29, 0, 30, 0, 31, 0, 32, 0, 33, 0, 34, 0, 35, 0, 36, 0, 37, 0, 38, 0, 39, 0, 40, 0, 41, 0, 42, 0, 43, 0, 44, 0, 45, 0, 46, 0, 47, 0, 48, 0, 49, 0, 50, 0, 51, 0, 52, 0, 53, 0, 54, 0, 55, 0, 56, 0, 57, 0, 58, 0, 59, 0, 60, 0, 61, 0, 62, 0, 63, 0, 64, 0, 65, 0, 66, 0, 67, 0, 68, 0, 69, 0, 70, 0, 71, 0, 72, 0, 73, 0, 74, 0, 75, 0, 76, 0, 77, 0, 78, 0, 79, 0, 80, 0, 81, 0, 82, 0, 83, 0, 84, 0, 85, 0, 86, 0, 87, 0, 88, 0, 89, 0, 90, 0, 91, 0, 92, 0, 93, 0, 94, 0, 95, 0, 96, 0, 97, 0, 98, 0, 99, 0),
2024-04-10 21:23:19 +03:00
"primitive": 4,
"uv_scale": Vector4(0, 0, 0, 0),
2024-04-11 17:51:30 +03:00
"vertex_count": 100,
"vertex_data": PackedByteArray(229, 225, 25, 58, 64, 41, 25, 62, 111, 18, 3, 58, 229, 225, 25, 186, 236, 39, 26, 62, 111, 18, 3, 58, 129, 190, 54, 60, 26, 163, 44, 62, 111, 18, 3, 58, 137, 159, 23, 60, 148, 5, 45, 62, 111, 18, 3, 58, 255, 241, 174, 60, 49, 129, 63, 62, 111, 18, 3, 58, 11, 108, 159, 60, 208, 229, 63, 62, 111, 18, 3, 58, 119, 64, 1, 61, 133, 198, 81, 62, 111, 18, 3, 58, 33, 12, 243, 60, 223, 46, 82, 62, 111, 18, 3, 58, 120, 5, 43, 61, 238, 41, 99, 62, 111, 18, 3, 58, 146, 88, 35, 61, 223, 151, 99, 62, 111, 18, 3, 58, 5, 199, 84, 61, 177, 101, 115, 62, 111, 18, 3, 58, 137, 46, 77, 61, 133, 219, 115, 62, 111, 18, 3, 58, 99, 131, 126, 61, 74, 28, 129, 62, 111, 18, 3, 58, 173, 9, 119, 61, 159, 92, 129, 62, 111, 18, 3, 58, 188, 27, 148, 61, 98, 179, 135, 62, 111, 18, 3, 58, 142, 118, 144, 61, 30, 251, 135, 62, 111, 18, 3, 58, 181, 238, 168, 61, 96, 93, 141, 62, 111, 18, 3, 58, 85, 111, 165, 61, 60, 175, 141, 62, 111, 18, 3, 58, 245, 180, 189, 61, 17, 3, 146, 62, 111, 18, 3, 58, 215, 116, 186, 61, 197, 98, 146, 62, 111, 18, 3, 58, 117, 99, 210, 61, 86, 145, 149, 62, 111, 18, 3, 58, 25, 146, 207, 61, 125, 3, 150, 62, 111, 18, 3, 58, 153, 231, 230, 61, 103, 250, 151, 62, 111, 18, 3, 58, 181, 217, 228, 61, 122, 130, 152, 62, 111, 18, 3, 58, 204, 49, 251, 61, 57, 56, 153, 62, 111, 18, 3, 58, 68, 91, 250, 61, 47, 210, 153, 62, 111, 18, 3, 58, 203, 172, 7, 62, 242, 75, 153, 62, 111, 18, 3, 58, 157, 255, 7, 62, 66, 231, 153, 62, 111, 18, 3, 58, 77, 206, 17, 62, 216, 53, 152, 62, 111, 18, 3, 58, 253, 195, 18, 62, 202, 192, 152, 62, 111, 18, 3, 58, 198, 12, 28, 62, 88, 244, 149, 62, 111, 18, 3, 58, 100, 107, 29, 62, 72, 105, 150, 62, 111, 18, 3, 58, 210, 97, 38, 62, 87, 140, 146, 62, 111, 18, 3, 58, 56, 252, 39, 62, 56, 238, 146, 62, 111, 18, 3, 58, 196, 195, 48, 62, 189, 10, 142, 62, 111, 18, 3, 58, 40, 128, 50, 62, 51, 94, 142, 62, 111, 18, 3, 58, 157, 44, 59, 62, 12, 130, 136, 62, 111, 18, 3, 58, 47, 253, 60, 62, 243, 202, 136, 62, 111, 18, 3, 58, 68, 153, 69, 62, 245, 8, 130, 62, 111, 18, 3, 58, 104, 118, 71, 62, 38, 74, 130, 62, 111, 18, 3, 58, 36, 8, 80, 62, 145, 115, 117, 62, 111, 18, 3, 58, 106, 237, 81, 62, 163, 234, 117, 62, 111, 18, 3, 58, 98, 120, 90, 62, 14, 100, 101, 62, 111, 18, 3, 58, 12, 99, 92, 62, 232, 210, 101, 62, 111, 18, 3, 58, 137, 233, 100, 62, 247, 35, 84, 62, 111, 18, 3, 58, 197, 215, 102, 62, 243, 140, 84, 62, 111, 18, 3, 58, 86, 91, 111, 62, 123, 248, 65, 62, 111, 18, 3, 58, 218, 75, 113, 62, 127, 93, 66, 62, 111, 18, 3, 58, 158, 205, 121, 62, 92, 42, 47, 62, 111, 18, 3, 58, 114, 191, 123, 62, 8, 141, 47, 62, 111, 18, 3, 58, 40, 32, 130, 62, 211, 4, 28, 62, 111, 18, 3, 58, 80, 25, 131, 62, 158, 102, 28, 62, 111, 18, 3, 58, 178, 89, 135, 62, 102, 212, 8, 62, 111, 18, 3, 58, 182, 82, 136, 62, 179, 54, 9, 62, 111, 18, 3, 58, 111, 147, 140, 62, 111, 203, 235, 61, 111, 18, 3, 58, 233, 139, 141, 62, 237, 147, 236, 61, 111, 18, 3, 58, 104, 205, 145, 62, 169, 8, 199, 61, 111, 18, 3, 58, 226, 196, 146, 62, 45, 216, 199, 61, 111, 18, 3, 58, 172, 7, 151, 62, 5, 243, 163, 61, 111, 18, 3, 58, 142, 253, 151, 62, 47, 205, 164, 61, 111, 18, 3, 58, 90, 66, 156, 62, 46, 22, 131, 61, 111, 18, 3, 58, 208, 53, 157, 62, 111, 255, 131, 61, 111, 18, 3, 58, 164, 125, 161, 62, 93, 233, 73, 61, 111, 18, 3, 58, 118, 109, 162, 62, 116, 229, 75, 61, 111, 18, 3, 58, 230, 185, 166, 62, 132, 11, 20, 61, 111, 18, 3, 58, 36, 164, 167, 62, 106, 64, 22, 61, 111, 18, 3, 58, 204, 247, 171, 62, 132, 205, 202, 60, 111, 18, 3, 58, 46, 217, 172, 62, 181, 210, 207, 60, 111, 18, 3, 58, 162, 56, 177, 62, 171, 195, 122, 60, 111, 18, 3, 58, 74, 11, 178, 62, 173, 59, 131, 60, 111, 18, 3, 58, 238, 126, 182, 62, 17, 0, 2, 60, 111, 18, 3, 58, 238, 55, 183, 62, 21, 238, 15, 60, 111, 18, 3, 58, 30, 207, 187, 62, 8, 226, 52, 59, 111, 18, 3, 58, 174, 90, 188, 62, 94, 116, 119, 59, 111, 18, 3, 58, 156, 45, 193, 62, 117, 90, 239, 184, 111, 18, 3, 58, 32, 111, 193, 62, 240, 85, 137, 58, 111, 18, 3, 58, 75, 150, 198, 62, 166, 83, 28, 186, 111, 18, 3, 58, 97, 121, 198, 62, 166, 83, 28, 58, 111, 18, 3, 58, 35, 250, 203, 62, 36, 221, 174, 58, 111, 18, 3
2024-04-10 21:23:19 +03:00
}]
2024-04-11 17:51:30 +03:00
[sub_resource type="ShaderMaterial" id="ShaderMaterial_pexqy"]
render_priority = 0
shader = ExtResource("2_ryi4h")
shader_parameter/steps = Vector2(10, 10)
shader_parameter/size = Vector2(0.002, 0.002)
shader_parameter/offset = Vector2(0.001, 0.001)
2024-04-10 21:23:19 +03:00
[sub_resource type="QuadMesh" id="QuadMesh_b7vce"]
size = Vector2(0.5, 0.3)
2024-04-11 17:51:30 +03:00
[sub_resource type="ViewportTexture" id="ViewportTexture_1fknx"]
2024-04-10 21:23:19 +03:00
viewport_path = NodePath("XAxis/SubViewport")
2024-04-11 17:51:30 +03:00
[sub_resource type="ViewportTexture" id="ViewportTexture_xdri6"]
viewport_path = NodePath("YAxis/SubViewport")
2024-04-10 21:23:19 +03:00
[node name="LineChart" type="Node3D"]
script = ExtResource("1_n7fu8")
[node name="Line" type="MeshInstance3D" parent="."]
material_override = SubResource("StandardMaterial3D_20gpn")
2024-04-18 11:13:48 +03:00
mesh = SubResource("ArrayMesh_mec1l")
2024-04-10 21:23:19 +03:00
[node name="Plane" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25, 0.15, -0.001)
2024-04-11 17:51:30 +03:00
material_override = SubResource("ShaderMaterial_pexqy")
2024-04-10 21:23:19 +03:00
mesh = SubResource("QuadMesh_b7vce")
[node name="XAxis" type="Sprite3D" parent="."]
2024-04-11 17:51:30 +03:00
transform = Transform3D(1, 0, 0, 0, 0.965926, 0.258819, 0, -0.258819, 0.965926, 0, 0, 0)
2024-04-10 21:23:19 +03:00
centered = false
2024-04-11 17:51:30 +03:00
offset = Vector2(0, -400)
2024-04-10 21:23:19 +03:00
pixel_size = 0.0001
2024-04-11 17:51:30 +03:00
texture = SubResource("ViewportTexture_1fknx")
2024-04-10 21:23:19 +03:00
[node name="SubViewport" type="SubViewport" parent="XAxis"]
transparent_bg = true
2024-04-11 17:51:30 +03:00
size = Vector2i(5000, 400)
2024-04-10 21:23:19 +03:00
[node name="XAxis" parent="XAxis/SubViewport" instance=ExtResource("2_2ow77")]
2024-04-11 17:51:30 +03:00
[node name="YAxis" type="Sprite3D" parent="."]
centered = false
offset = Vector2(-400, 0)
pixel_size = 0.0001
texture = SubResource("ViewportTexture_xdri6")
[node name="SubViewport" type="SubViewport" parent="YAxis"]
transparent_bg = true
size = Vector2i(400, 3000)
[node name="YAxis" parent="YAxis/SubViewport" instance=ExtResource("3_48ptx")]