Added environment panel for depth, pressure and outside temperature.
This commit is contained in:
1 parent
2d91487c6a
commit
92006372da
21 files changed
+2825
-1616
No files matched your search
+2
-9
@@ -1,19 +1,12 @@
|
||||
[gd_scene format=3 uid="uid://j2vmxn1p5hej"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cgcgn8lwigumx" path="res://scripts/angle_display_3d.gd" id="1_8a3he"]
|
||||
[ext_resource type="Texture2D" uid="uid://cjw3n47kehnfj" path="res://assets/vector/dial.svg" id="1_vggt3"]
|
||||
[ext_resource type="Material" path="res://themes/compass_material.tres" id="1_material"]
|
||||
[ext_resource type="PackedScene" uid="uid://0qb2f8igltax" path="res://assets/models/grey-seal-halichoerus-grypus/grey_seal_clean.glb" id="2_8a3he"]
|
||||
[ext_resource type="Script" uid="uid://cv5cmdlub5gtx" path="res://scenes/node_3d.gd" id="3_mut2o"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mut2o"]
|
||||
transparency = 1
|
||||
cull_mode = 2
|
||||
shading_mode = 0
|
||||
albedo_color = Color(0.44361365, 0.72118443, 0, 1)
|
||||
albedo_texture = ExtResource("1_vggt3")
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_wivqi"]
|
||||
material = SubResource("StandardMaterial3D_mut2o")
|
||||
material = ExtResource("1_material")
|
||||
|
||||
[node name="Compass" type="Node3D" unique_id=1678590387]
|
||||
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://components/layout_canvas.tscn" id="canvas"]
|
||||
[ext_resource type="PackedScene" path="res://components/layout_item.tscn" id="item"]
|
||||
[ext_resource type="PackedScene" path="res://components/camera_layout_slot.tscn" id="camera"]
|
||||
[ext_resource type="PackedScene" path="res://components/vehicle_status_panel.tscn" id="vehicle"]
|
||||
[ext_resource type="PackedScene" path="res://components/motion_panel.tscn" id="motion"]
|
||||
[ext_resource type="PackedScene" path="res://components/environment_panel.tscn" id="environment"]
|
||||
[ext_resource type="PackedScene" path="res://components/link_panel.tscn" id="link"]
|
||||
[ext_resource type="PackedScene" path="res://components/layout_slot.tscn" id="slot"]
|
||||
|
||||
[node name="DisplayLeft" instance=ExtResource("canvas")]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
grid_size = Vector2i(18, 32)
|
||||
config_path = "user://layouts/portrait_left.json"
|
||||
legacy_config_path = "user://layout_portrait_left.cfg"
|
||||
|
||||
[node name="Camera" parent="." instance=ExtResource("item")]
|
||||
layout_mode = 0
|
||||
panel_id = "camera"
|
||||
cell_rect = Rect2i(0, 0, 18, 11)
|
||||
minimum_cells = Vector2i(8, 5)
|
||||
reference_size = Vector2(960, 600)
|
||||
|
||||
[node name="Content" parent="Camera" instance=ExtResource("camera")]
|
||||
layout_mode = 0
|
||||
|
||||
[node name="Vehicle" parent="." instance=ExtResource("item")]
|
||||
layout_mode = 0
|
||||
panel_id = "vehicle"
|
||||
cell_rect = Rect2i(0, 11, 10, 8)
|
||||
minimum_cells = Vector2i(6, 4)
|
||||
reference_size = Vector2(600, 440)
|
||||
|
||||
[node name="Content" parent="Vehicle" instance=ExtResource("vehicle")]
|
||||
layout_mode = 0
|
||||
|
||||
[node name="Motion" parent="." instance=ExtResource("item")]
|
||||
layout_mode = 0
|
||||
panel_id = "motion"
|
||||
cell_rect = Rect2i(0, 19, 10, 7)
|
||||
minimum_cells = Vector2i(6, 4)
|
||||
reference_size = Vector2(600, 410)
|
||||
background_path = NodePath("Content/Background")
|
||||
|
||||
[node name="Content" parent="Motion" instance=ExtResource("motion")]
|
||||
layout_mode = 0
|
||||
|
||||
[node name="Environment" parent="." instance=ExtResource("item")]
|
||||
layout_mode = 0
|
||||
panel_id = "environment"
|
||||
cell_rect = Rect2i(10, 11, 8, 8)
|
||||
minimum_cells = Vector2i(4, 3)
|
||||
reference_size = Vector2(360, 240)
|
||||
|
||||
[node name="Content" parent="Environment" instance=ExtResource("environment")]
|
||||
layout_mode = 0
|
||||
@@ -0,0 +1,57 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://components/layout_canvas.tscn" id="canvas"]
|
||||
[ext_resource type="PackedScene" path="res://components/layout_item.tscn" id="item"]
|
||||
[ext_resource type="PackedScene" path="res://components/camera_layout_slot.tscn" id="camera"]
|
||||
[ext_resource type="PackedScene" path="res://components/vehicle_status_panel.tscn" id="vehicle"]
|
||||
[ext_resource type="PackedScene" path="res://components/motion_panel.tscn" id="motion"]
|
||||
[ext_resource type="PackedScene" path="res://components/environment_panel.tscn" id="environment"]
|
||||
[ext_resource type="PackedScene" path="res://components/link_panel.tscn" id="link"]
|
||||
[ext_resource type="PackedScene" path="res://components/layout_slot.tscn" id="slot"]
|
||||
|
||||
[node name="DisplayRight" instance=ExtResource("canvas")]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
grid_size = Vector2i(18, 32)
|
||||
config_path = "user://layouts/portrait_right.json"
|
||||
legacy_config_path = "user://layout_portrait_right.cfg"
|
||||
|
||||
[node name="VideoVR" parent="." instance=ExtResource("item")]
|
||||
layout_mode = 0
|
||||
panel_id = "videovr"
|
||||
cell_rect = Rect2i(0, 0, 18, 17)
|
||||
minimum_cells = Vector2i(6, 4)
|
||||
reference_size = Vector2(600, 400)
|
||||
fill_allocation = true
|
||||
|
||||
[node name="Content" parent="VideoVR" instance=ExtResource("slot")]
|
||||
layout_mode = 0
|
||||
title = "VIDEO / VR"
|
||||
description = "Latency history and breakdown · headset connection · device · resolution"
|
||||
|
||||
[node name="Link" parent="." instance=ExtResource("item")]
|
||||
layout_mode = 0
|
||||
panel_id = "link"
|
||||
cell_rect = Rect2i(0, 17, 18, 5)
|
||||
minimum_cells = Vector2i(4, 3)
|
||||
reference_size = Vector2(360, 240)
|
||||
|
||||
[node name="Content" parent="Link" instance=ExtResource("link")]
|
||||
layout_mode = 0
|
||||
|
||||
[node name="OperatorTools" parent="." instance=ExtResource("item")]
|
||||
layout_mode = 0
|
||||
panel_id = "operatortools"
|
||||
cell_rect = Rect2i(0, 22, 18, 10)
|
||||
minimum_cells = Vector2i(6, 4)
|
||||
reference_size = Vector2(600, 400)
|
||||
fill_allocation = true
|
||||
|
||||
[node name="Content" parent="OperatorTools" instance=ExtResource("slot")]
|
||||
layout_mode = 0
|
||||
title = "OPERATOR TOOLS / RESERVED"
|
||||
description = "Recording · manipulator · terminal / events"
|
||||
@@ -0,0 +1,52 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/environment_demo.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://components/environment_panel.tscn" id="2"]
|
||||
|
||||
[node name="EnvironmentDemo" type="VBoxContainer"]
|
||||
offset_left = 24.0
|
||||
offset_top = 24.0
|
||||
offset_right = 624.0
|
||||
offset_bottom = 420.0
|
||||
theme_override_constants/separation = 16
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="Notice" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "SIMULATED / ENVIRONMENT INSTRUMENT"
|
||||
|
||||
[node name="EnvironmentPanel" parent="." instance=ExtResource("2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="Controls" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="State" type="OptionButton" parent="Controls"]
|
||||
layout_mode = 2
|
||||
selected = 1
|
||||
item_count = 8
|
||||
popup/item_0/text = "Surface / zero"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "Shallow operation"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "Operating depth"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "Near depth limit"
|
||||
popup/item_3/id = 3
|
||||
popup/item_4/text = "Pressure near limit"
|
||||
popup/item_4/id = 4
|
||||
popup/item_5/text = "Over limits"
|
||||
popup/item_5/id = 5
|
||||
popup/item_6/text = "Stop feed / stale"
|
||||
popup/item_6/id = 6
|
||||
popup/item_7/text = "No telemetry"
|
||||
popup/item_7/id = 7
|
||||
|
||||
[node name="Contrast" type="CheckButton" parent="Controls"]
|
||||
layout_mode = 2
|
||||
text = "High contrast"
|
||||
|
||||
[node name="Note" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "Zero-inclusive log scale · shallow depths expanded"
|
||||
@@ -11,6 +11,8 @@
|
||||
|
||||
[ext_resource type="PackedScene" path="res://components/link_panel.tscn" id="link"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://components/environment_panel.tscn" id="environment"]
|
||||
|
||||
[node name="LandscapeLayout" type="Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@@ -76,12 +78,9 @@ panel_id = "environment"
|
||||
cell_rect = Rect2i(26, 0, 6, 8)
|
||||
minimum_cells = Vector2i(4, 3)
|
||||
reference_size = Vector2(360, 240)
|
||||
fill_allocation = true
|
||||
|
||||
[node name="Content" parent="Overview/Dashboard/Canvas/Environment" instance=ExtResource("slot")]
|
||||
[node name="Content" parent="Overview/Dashboard/Canvas/Environment" instance=ExtResource("environment")]
|
||||
layout_mode = 0
|
||||
title = "ENVIRONMENT"
|
||||
description = "Depth · pressure · water temperature"
|
||||
|
||||
[node name="VideoVR" parent="Overview/Dashboard/Canvas" instance=ExtResource("item")]
|
||||
layout_mode = 0
|
||||
|
||||
Reference in new issue
Block a user