Update demos for Godot 4.4

- Resave all files with Godot 4.4 to make use of script/shader UIDs.
- Use AgX tonemapping in all demos that used a tonemapper other than Linear.
This commit is contained in:
Hugo Locurcio
2025-01-10 22:59:00 +01:00
parent 5557b10cfa
commit 4d49bbd1b8
817 changed files with 1898 additions and 1562 deletions

View File

@@ -0,0 +1 @@
uid://c2cf5n6btjt3k

View File

@@ -5,7 +5,7 @@
[ext_resource type="PackedScene" uid="uid://sxx5ow26t0c3" path="res://polyhaven/dutch_ship_medium_1k.gltf" id="3_fa2bl"]
[ext_resource type="Texture2D" uid="uid://bm6eht0bqttpo" path="res://textures/paint_normal.png" id="4_fdfpv"]
[ext_resource type="Texture2D" uid="uid://chjqieyps5n5r" path="res://textures/checker.png" id="14"]
[ext_resource type="Script" path="res://anti_aliasing.gd" id="18"]
[ext_resource type="Script" uid="uid://c2cf5n6btjt3k" path="res://anti_aliasing.gd" id="18"]
[sub_resource type="ProceduralSkyMaterial" id="9"]
@@ -15,6 +15,7 @@ sky_material = SubResource("9")
[sub_resource type="Environment" id="11"]
background_mode = 2
sky = SubResource("10")
tonemap_mode = 4
[sub_resource type="Animation" id="Animation_qdnt6"]
length = 0.001
@@ -218,8 +219,8 @@ tracks/7/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ecfcr"]
_data = {
"RESET": SubResource("Animation_qdnt6"),
"move": SubResource("12")
&"RESET": SubResource("Animation_qdnt6"),
&"move": SubResource("12")
}
[sub_resource type="StandardMaterial3D" id="13"]
@@ -395,6 +396,7 @@ emission_ring_axis = Vector3(0, 1, 0)
emission_ring_height = 0.0
emission_ring_radius = 0.25
emission_ring_inner_radius = 0.25
emission_ring_cone_angle = 90.0
radial_accel_min = 2.0
radial_accel_max = 2.0
@@ -458,6 +460,7 @@ void fragment() {
render_priority = 0
shader = SubResource("Shader_rejcs")
shader_parameter/albedo = Color(1.2, 0.915333, 0.997134, 1)
shader_parameter/texture_albedo = SubResource("NoiseTexture_bgiac")
shader_parameter/point_size = 1.0
shader_parameter/roughness = 1.0
shader_parameter/metallic_texture_channel = null
@@ -467,7 +470,6 @@ shader_parameter/uv1_scale = Vector3(2, 2, 1)
shader_parameter/uv1_offset = Vector3(0, 0, 0)
shader_parameter/uv2_scale = Vector3(1, 1, 1)
shader_parameter/uv2_offset = Vector3(0, 0, 0)
shader_parameter/texture_albedo = SubResource("NoiseTexture_bgiac")
[sub_resource type="CylinderMesh" id="CylinderMesh_oopii"]
height = 1.0
@@ -519,6 +521,7 @@ void fragment() {
render_priority = 0
shader = SubResource("Shader_ovufm")
shader_parameter/albedo = Color(1.2, 1.16365, 0.85123, 1)
shader_parameter/texture_albedo = SubResource("NoiseTexture_bgiac")
shader_parameter/point_size = 1.0
shader_parameter/roughness = 1.0
shader_parameter/metallic_texture_channel = null
@@ -528,7 +531,6 @@ shader_parameter/uv1_scale = Vector3(2, 2, 1)
shader_parameter/uv1_offset = Vector3(0, 0, 0)
shader_parameter/uv2_scale = Vector3(1, 1, 1)
shader_parameter/uv2_offset = Vector3(0, 0, 0)
shader_parameter/texture_albedo = SubResource("NoiseTexture_bgiac")
[sub_resource type="Gradient" id="Gradient_ehij4"]
offsets = PackedFloat32Array(0, 0.333, 0.667, 1)
@@ -540,7 +542,7 @@ script = ExtResource("18")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_ecfcr")
&"": SubResource("AnimationLibrary_ecfcr")
}
autoplay = "move"
@@ -900,8 +902,8 @@ vertical_alignment = 1
[node name="MSAA" type="OptionButton" parent="Antialiasing/MSAAContainer"]
custom_minimum_size = Vector2(235, 2.08165e-12)
layout_mode = 2
item_count = 4
selected = 0
item_count = 4
popup/item_0/text = "Disabled (Fastest)"
popup/item_0/id = 0
popup/item_1/text = "2× (Average)"
@@ -927,8 +929,8 @@ vertical_alignment = 1
[node name="FXAA" type="OptionButton" parent="Antialiasing/FXAAContainer"]
custom_minimum_size = Vector2(235, 2.08165e-12)
layout_mode = 2
item_count = 2
selected = 0
item_count = 2
popup/item_0/text = "Disabled (Fastest)"
popup/item_0/id = 0
popup/item_1/text = "Enabled (Fast)"
@@ -950,8 +952,8 @@ vertical_alignment = 1
[node name="TAA" type="OptionButton" parent="Antialiasing/TAAContainer"]
custom_minimum_size = Vector2(235, 2.08165e-12)
layout_mode = 2
item_count = 2
selected = 0
item_count = 2
popup/item_0/text = "Disabled (Fastest)"
popup/item_0/id = 0
popup/item_1/text = "Enabled (Average)"
@@ -972,8 +974,8 @@ vertical_alignment = 1
[node name="VSync" type="OptionButton" parent="Antialiasing/VSyncContainer"]
custom_minimum_size = Vector2(235, 2.08165e-12)
layout_mode = 2
item_count = 3
selected = 0
item_count = 3
popup/item_0/text = "Disabled"
popup/item_0/id = 0
popup/item_1/text = "Adaptive"
@@ -1053,8 +1055,8 @@ text = "AMD FidelityFX Super Resolution 1.0"
[node name="FSRSharpness" type="OptionButton" parent="Antialiasing"]
visible = false
layout_mode = 2
item_count = 5
selected = 3
item_count = 5
popup/item_0/text = "No FSR Sharpness"
popup/item_0/id = 0
popup/item_1/text = "Low FSR Sharpness"

View File

@@ -1,7 +0,0 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="Sky" id=1]
[resource]
background_mode = 2
sky = SubResource( 1 )

View File

@@ -17,6 +17,8 @@ nodes/root_type="Node3D"
nodes/root_name="Scene Root"
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
@@ -28,6 +30,7 @@ animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0

View File

@@ -14,7 +14,7 @@ config/name="3D Anti-Aliasing"
config/description="This project showcases the various 3D antialiasing techniques supported by Godot."
config/tags=PackedStringArray("3d", "demo", "official")
run/main_scene="res://anti_aliasing.tscn"
config/features=PackedStringArray("4.2")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]

1
3d/csg/csg.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://0nw2s63fn4t4

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=13 format=3 uid="uid://0muc0thmv7lh"]
[ext_resource type="Script" path="res://csg.gd" id="1_v0cxj"]
[ext_resource type="Script" uid="uid://0nw2s63fn4t4" path="res://csg.gd" id="1_v0cxj"]
[ext_resource type="Texture2D" uid="uid://chjqieyps5n5r" path="res://textures/checker.png" id="2_smte3"]
[ext_resource type="Material" uid="uid://dhcqaj76o5gkd" path="res://blue_material.tres" id="3_5yyaq"]
[ext_resource type="Material" uid="uid://drwcsdeggid6n" path="res://indigo_material.tres" id="4_dsi4m"]
@@ -13,8 +13,7 @@ sky_material = SubResource("9")
[sub_resource type="Environment" id="11"]
background_mode = 2
sky = SubResource("10")
tonemap_mode = 2
tonemap_white = 6.0
tonemap_mode = 4
fog_sky_affect = 0.0
[sub_resource type="StandardMaterial3D" id="13"]

View File

@@ -15,7 +15,7 @@ config/description="This project showcases the various constructive solid geomet
CSG can be used to prototype level designs within the 3D editor."
config/tags=PackedStringArray("3d", "demo", "official")
run/main_scene="res://csg.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
run/low_processor_mode=true
config/icon="res://icon.webp"
@@ -33,6 +33,6 @@ window/stretch/aspect="expand"
lights_and_shadows/directional_shadow/size=8192
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
textures/default_filters/anisotropic_filtering_level=4
textures/decals/filter=4
anti_aliasing/quality/msaa_3d=2
textures/decals/filter=4
anti_aliasing/quality/use_debanding=true

View File

@@ -1,7 +0,0 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="Sky" id=1]
[resource]
background_mode = 2
sky = SubResource( 1 )

View File

@@ -13,7 +13,7 @@ config_version=5
config/name="Decals"
config/tags=PackedStringArray("3d", "demo", "official", "rendering")
run/main_scene="res://test.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]

View File

@@ -19,7 +19,7 @@
[ext_resource type="Texture2D" uid="uid://5wewxgmcpq2t" path="res://textures/scifi_2_normal.png" id="14_yj8ff"]
[ext_resource type="Texture2D" uid="uid://cyh57iw40y5pc" path="res://textures/scifi_3_albedo.png" id="15_ct5bp"]
[ext_resource type="Texture2D" uid="uid://cwg21hcwtkqiw" path="res://textures/scifi_3_normal.png" id="16_0mhgx"]
[ext_resource type="Script" path="res://tester.gd" id="18"]
[ext_resource type="Script" uid="uid://bi2o4fooys1dc" path="res://tester.gd" id="18"]
[sub_resource type="ProceduralSkyMaterial" id="9"]
@@ -29,6 +29,7 @@ sky_material = SubResource("9")
[sub_resource type="Environment" id="11"]
background_mode = 2
sky = SubResource("10")
tonemap_mode = 4
[sub_resource type="Animation" id="12"]
resource_name = "move"
@@ -121,7 +122,7 @@ tracks/6/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ecfcr"]
_data = {
"move": SubResource("12")
&"move": SubResource("12")
}
[sub_resource type="StandardMaterial3D" id="13"]
@@ -194,7 +195,7 @@ script = ExtResource("18")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_ecfcr")
&"": SubResource("AnimationLibrary_ecfcr")
}
autoplay = "move"
@@ -755,6 +756,7 @@ layout_mode = 2
selected = 4
item_count = 6
popup/item_0/text = "Nearest"
popup/item_0/id = 0
popup/item_1/text = "Linear"
popup/item_1/id = 1
popup/item_2/text = "Nearest + Mipmaps"

1
3d/decals/tester.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://bi2o4fooys1dc

View File

@@ -0,0 +1 @@
uid://bbfpss6nqbjeu

View File

@@ -18,6 +18,7 @@ nodes/root_name="Scene Root"
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

View File

@@ -1,13 +0,0 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="ProceduralSky" id=1]
sky_energy = 0.2
ground_energy = 0.0
[resource]
background_mode = 2
background_sky = SubResource( 1 )
fog_sun_amount = 1.0
fog_depth_begin = 0.0
tonemap_mode = 2
tonemap_white = 6.0

View File

@@ -14,7 +14,7 @@ config/name="Global Illumination"
config/description="This demo showcases Godot's global illumination systems: LightmapGI, VoxelGI, SDFGI, ReflectionProbe and screen-space effects like SSAO and SSIL."
config/tags=PackedStringArray("3d", "demo", "official", "rendering")
run/main_scene="res://test.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]

View File

@@ -0,0 +1 @@
uid://b33gdc1jklq5

View File

@@ -4,9 +4,9 @@
[ext_resource type="PackedScene" uid="uid://c2lbhsefub1o5" path="res://cube.glb" id="3"]
[ext_resource type="VoxelGIData" uid="uid://duykbpl6evu0r" path="res://test_VoxelGIData.res" id="3_1netx"]
[ext_resource type="LightmapGIData" uid="uid://bqpu20db0gmry" path="res://zdm2_all.lmbake" id="4_7vqwx"]
[ext_resource type="Script" path="res://test.gd" id="5"]
[ext_resource type="Script" uid="uid://b33gdc1jklq5" path="res://test.gd" id="5"]
[ext_resource type="LightmapGIData" uid="uid://brs3ywo1ouol0" path="res://zdm2_indirect.lmbake" id="5_14bmd"]
[ext_resource type="Script" path="res://camera.gd" id="6"]
[ext_resource type="Script" uid="uid://bbfpss6nqbjeu" path="res://camera.gd" id="6"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_30v8t"]
sky_top_color = Color(0.568627, 0.698039, 0.807843, 1)
@@ -20,8 +20,7 @@ sky_material = SubResource("ProceduralSkyMaterial_30v8t")
[sub_resource type="Environment" id="Environment_bau0c"]
background_mode = 2
sky = SubResource("Sky_4q314")
tonemap_mode = 3
tonemap_white = 6.0
tonemap_mode = 4
ssao_intensity = 1.0
sdfgi_cascades = 3
sdfgi_min_cell_size = 0.25

View File

@@ -18,6 +18,7 @@ nodes/root_name="Zdm2"
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=false
meshes/create_shadow_meshes=true

View File

@@ -6,8 +6,7 @@
[sub_resource type="Environment" id="Environment_1f0b2"]
background_mode = 1
background_color = Color(0.6, 0.6, 0.6, 1)
tonemap_mode = 3
tonemap_white = 6.0
tonemap_mode = 4
sdfgi_cascades = 2
sdfgi_min_cell_size = 0.1
sdfgi_cascade0_distance = 6.4

View File

@@ -18,6 +18,7 @@ nodes/root_name="Scene Root"
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

View File

@@ -13,7 +13,7 @@ config_version=5
config/name="3D Graphics Settings"
config/tags=PackedStringArray("3d", "demo", "official", "rendering", "settings")
run/main_scene="res://control.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[display]

View File

@@ -0,0 +1 @@
uid://bbk03ocyrerm8

View File

@@ -0,0 +1 @@
uid://cibapncyeomml

View File

@@ -0,0 +1 @@
uid://tmd4ubxbhvue

View File

@@ -0,0 +1 @@
uid://b0xb4viyrk1s

View File

@@ -0,0 +1 @@
uid://dpsdir1qgcjff

View File

@@ -1,17 +0,0 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="Sky" id=1]
[resource]
background_mode = 2
background_sky = SubResource( 1 )
ambient_light_color = Color( 1, 1, 1, 1 )
ambient_light_sky_contribution = 0.8
tonemap_mode = 2
tonemap_white = 6.0
glow_enabled = true
glow_levels/1 = true
glow_levels/2 = true
glow_levels/5 = false
glow_intensity = 0.2
glow_blend_mode = 0

View File

@@ -0,0 +1 @@
uid://bpf0c1q1kq4xf

View File

@@ -0,0 +1 @@
uid://xw8wcff2o0p8

View File

@@ -18,6 +18,7 @@ nodes/root_name="WeaponPistol"
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

View File

@@ -18,6 +18,7 @@ nodes/root_name="GodotBattleBot"
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

View File

@@ -16,7 +16,7 @@ implemented in Godot. It contains four scenes, showing
different ways they can be used, including via SkeletonIK3D."
config/tags=PackedStringArray("3d", "demo", "official")
run/main_scene="res://look_at_ik.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[display]

View File

@@ -0,0 +1 @@
uid://fwpk0277wskk

View File

@@ -0,0 +1 @@
uid://cwmnshpgflv3w

View File

@@ -22,8 +22,7 @@ background_mode = 2
sky = SubResource("1")
ambient_light_color = Color(1, 1, 1, 1)
ambient_light_sky_contribution = 0.5
tonemap_mode = 3
tonemap_white = 6.0
tonemap_mode = 4
glow_levels/7 = 1.0
glow_strength = 0.79
glow_bloom = 1.0

View File

@@ -18,6 +18,7 @@ nodes/root_name="Cube"
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

View File

@@ -18,6 +18,7 @@ nodes/root_name="Mushroom"
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

View File

@@ -0,0 +1 @@
uid://31pf3ace5gs2

View File

@@ -0,0 +1 @@
uid://dp4h5reedxr3q

View File

@@ -15,7 +15,7 @@ config/description="Kinematic character demo for 3D using a cube for the charact
This is similar to the 3D platformer demo."
config/tags=PackedStringArray("3d", "demo", "official", "physics")
run/main_scene="res://level.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]

View File

@@ -0,0 +1 @@
uid://v0e1avxpe8n7

View File

@@ -6,10 +6,10 @@
[ext_resource type="FontFile" uid="uid://ceawygbjffpls" path="res://fonts/Xolonium-Regular-Mipmaps.ttf" id="6_ewmy5"]
[ext_resource type="Texture2D" uid="uid://bpgdsvb3lfg6l" path="res://textures/textmesh_texture.png" id="7_w00di"]
[ext_resource type="FontFile" uid="uid://cb35jtyk02goi" path="res://fonts/fontello-godot.woff2" id="7_wvpht"]
[ext_resource type="Shader" path="res://curvature.gdshader" id="8_2gwag"]
[ext_resource type="Script" path="res://label_3d_layout.gd" id="8_rvw0p"]
[ext_resource type="Shader" uid="uid://bdi1lue6e88s" path="res://curvature.gdshader" id="8_2gwag"]
[ext_resource type="Script" uid="uid://pi7aybdqwmdk" path="res://label_3d_layout.gd" id="8_rvw0p"]
[ext_resource type="Texture2D" uid="uid://chjqieyps5n5r" path="res://textures/checker.png" id="14"]
[ext_resource type="Script" path="res://3d_labels_and_texts.gd" id="18"]
[ext_resource type="Script" uid="uid://v0e1avxpe8n7" path="res://3d_labels_and_texts.gd" id="18"]
[sub_resource type="ProceduralSkyMaterial" id="9"]
@@ -19,6 +19,7 @@ sky_material = SubResource("9")
[sub_resource type="Environment" id="11"]
background_mode = 2
sky = SubResource("10")
tonemap_mode = 4
[sub_resource type="Animation" id="Animation_qdnt6"]
length = 0.001
@@ -54,8 +55,8 @@ tracks/0/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ecfcr"]
_data = {
"RESET": SubResource("Animation_qdnt6"),
"move": SubResource("12")
&"RESET": SubResource("Animation_qdnt6"),
&"move": SubResource("12")
}
[sub_resource type="StandardMaterial3D" id="13"]
@@ -141,13 +142,13 @@ shading_mode = 0
albedo_texture = ExtResource("7_w00di")
texture_filter = 0
[node name="AntiAliasingTestScene" type="WorldEnvironment"]
[node name="LabelsAndTexts" type="WorldEnvironment"]
environment = SubResource("11")
script = ExtResource("18")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_ecfcr")
&"": SubResource("AnimationLibrary_ecfcr")
}
autoplay = "move"

View File

@@ -0,0 +1 @@
uid://bdi1lue6e88s

View File

@@ -1,7 +0,0 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="Sky" id=1]
[resource]
background_mode = 2
sky = SubResource( 1 )

View File

@@ -23,6 +23,7 @@ allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
keep_rounding_remainders=true
oversampling=0.0
Fallbacks=null
fallbacks=[]

View File

@@ -23,6 +23,7 @@ allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
keep_rounding_remainders=true
oversampling=0.0
Fallbacks=null
fallbacks=[]

View File

@@ -23,6 +23,7 @@ allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
keep_rounding_remainders=true
oversampling=0.0
Fallbacks=null
fallbacks=[]

View File

@@ -23,6 +23,7 @@ allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
keep_rounding_remainders=true
oversampling=0.0
Fallbacks=null
fallbacks=[]

View File

@@ -23,6 +23,7 @@ allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
keep_rounding_remainders=true
oversampling=0.0
Fallbacks=null
fallbacks=[]

View File

@@ -0,0 +1 @@
uid://pi7aybdqwmdk

View File

@@ -14,7 +14,7 @@ config/name="3D Labels and Texts"
config/description="This project showcases 2 ways to draw text in 3D space: the Label3D node, and MeshInstance3D with a TextMesh primitive."
config/tags=PackedStringArray("3d", "demo", "official", "rendering")
run/main_scene="res://3d_labels_and_texts.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]

View File

@@ -0,0 +1 @@
uid://dob2lvq6f7h5y

View File

@@ -1,7 +0,0 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="Sky" id=1]
[resource]
background_mode = 2
sky = SubResource( 1 )

View File

@@ -17,7 +17,7 @@ This includes contact-hardening shadows (PCSS) and light projectors.
The background sky uses a PhysicalSkyMaterial, which allows for the sky colors to be automatically adjusted as the sun performs a day/night cycle."
config/tags=PackedStringArray("3d", "demo", "official", "rendering")
run/main_scene="res://test.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]
@@ -34,8 +34,8 @@ window/stretch/aspect="expand"
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
lights_and_shadows/positional_shadow/soft_shadow_filter_quality=3
textures/default_filters/anisotropic_filtering_level=4
textures/light_projectors/filter=5
anti_aliasing/quality/msaa_3d=2
textures/light_projectors/filter=5
anti_aliasing/quality/use_debanding=true
lights_and_shadows/positional_shadow/atlas_quadrant_2_subdiv=2
lights_and_shadows/positional_shadow/atlas_quadrant_3_subdiv=2

View File

@@ -0,0 +1 @@
uid://de4hddw681f7y

View File

@@ -1,10 +1,10 @@
[gd_scene load_steps=26 format=3 uid="uid://bo5sv4e5gv8rc"]
[ext_resource type="Script" path="res://day_night_cycle.gd" id="3_qt5yq"]
[ext_resource type="Script" path="res://spin.gd" id="3_umwj4"]
[ext_resource type="Script" uid="uid://dob2lvq6f7h5y" path="res://day_night_cycle.gd" id="3_qt5yq"]
[ext_resource type="Script" uid="uid://de4hddw681f7y" path="res://spin.gd" id="3_umwj4"]
[ext_resource type="Texture2D" uid="uid://dxd67gur3av1s" path="res://logo_projector.png" id="5_ink5e"]
[ext_resource type="Texture2D" uid="uid://chjqieyps5n5r" path="res://checker.png" id="14"]
[ext_resource type="Script" path="res://tester.gd" id="18"]
[ext_resource type="Script" uid="uid://ddwdhnegsosxg" path="res://tester.gd" id="18"]
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_7hpiw"]
@@ -15,8 +15,7 @@ process_mode = 3
[sub_resource type="Environment" id="11"]
background_mode = 2
sky = SubResource("10")
tonemap_mode = 3
tonemap_white = 6.0
tonemap_mode = 4
sdfgi_min_cell_size = 0.05
sdfgi_cascade0_distance = 3.2
sdfgi_max_distance = 51.2

View File

@@ -0,0 +1 @@
uid://ddwdhnegsosxg

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=24 format=3 uid="uid://c57duuo5p7mc0"]
[ext_resource type="Script" path="res://tester.gd" id="1"]
[ext_resource type="Script" uid="uid://cqp4qxsy87pgt" path="res://tester.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://ddo4ecus0bal4" path="res://backgrounds/schelde.hdr" id="2_6cpkq"]
[ext_resource type="PackedScene" uid="uid://cgqfdwd4g5e14" path="res://models/test_bed/test_bed.tscn" id="3"]
[ext_resource type="ArrayMesh" uid="uid://btydvpp0agbfj" path="res://models/godot_ball.res" id="4_7al4s"]
@@ -31,8 +31,7 @@ radiance_size = 4
[sub_resource type="Environment" id="Environment_5crof"]
background_mode = 2
sky = SubResource("2")
tonemap_mode = 3
tonemap_white = 6.0
tonemap_mode = 4
fog_enabled = true
fog_density = 0.002
fog_sky_affect = 0.0

View File

@@ -18,6 +18,7 @@ nodes/root_name="Scene Root"
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=false
meshes/create_shadow_meshes=true

View File

@@ -18,6 +18,7 @@ nodes/root_name="Scene Root"
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

View File

@@ -17,7 +17,7 @@ for the purpose of showcasing Godot's rendering capabilities.
This demo was featured at the beginning of the Godot 3.0 trailer."
config/tags=PackedStringArray("3d", "demo", "official", "rendering")
run/main_scene="res://material_tester.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]

View File

@@ -0,0 +1 @@
uid://cqp4qxsy87pgt

View File

@@ -0,0 +1 @@
uid://beeqg7f52q412

View File

@@ -0,0 +1 @@
uid://jgqmqvjwn8d

View File

@@ -16,7 +16,10 @@ dest_files=["res://.godot/imported/level_mesh.obj-cb581ab47676f7bdca9b8e945c2681
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
optimize_mesh=true
force_disable_mesh_compression=false

View File

@@ -16,7 +16,10 @@ dest_files=["res://.godot/imported/robot.obj-092b89606c0253fbce9c8b1d2c112784.me
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
optimize_mesh=true
force_disable_mesh_compression=false

View File

@@ -0,0 +1 @@
uid://cvvjdscam27wn

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=10 format=3 uid="uid://dkhg8e00d02f2"]
[ext_resource type="Script" path="res://navmesh.gd" id="1"]
[ext_resource type="Script" uid="uid://cvvjdscam27wn" path="res://navmesh.gd" id="1"]
[ext_resource type="NavigationMesh" uid="uid://ii7ckx3dvrs2" path="res://navmesh.res" id="2_lcfvj"]
[ext_resource type="ArrayMesh" uid="uid://c2d3qxdexm53n" path="res://models/level_mesh/level_mesh.obj" id="3_bu7c5"]
[ext_resource type="Script" path="res://character.gd" id="4_u7d3d"]
[ext_resource type="Script" uid="uid://beeqg7f52q412" path="res://character.gd" id="4_u7d3d"]
[ext_resource type="ArrayMesh" uid="uid://wuj3rp35gym1" path="res://models/robot/robot.obj" id="5_17f0w"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ps07l"]
@@ -16,8 +16,7 @@ sky_material = SubResource("ProceduralSkyMaterial_ps07l")
[sub_resource type="Environment" id="Environment_c0if4"]
background_mode = 2
sky = SubResource("Sky_baxfs")
tonemap_mode = 3
tonemap_white = 6.0
tonemap_mode = 4
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2y26t"]
albedo_color = Color(1.01075e-06, 0, 0.451248, 1)

View File

@@ -17,7 +17,7 @@ The navigation path is drawn using a line.
Code is provided for polyline following in 3D."
config/tags=PackedStringArray("3d", "ai", "demo", "official")
run/main_scene="res://navmesh.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]

View File

@@ -0,0 +1 @@
uid://ctnbg0gjol208

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=11 format=3 uid="uid://cir4dtbp7i1ky"]
[ext_resource type="Script" path="res://navmesh_chhunks_demo_3d.gd" id="1_027f2"]
[ext_resource type="Script" uid="uid://ctnbg0gjol208" path="res://navmesh_chhunks_demo_3d.gd" id="1_027f2"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_p73ky"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
@@ -12,7 +12,7 @@ sky_material = SubResource("ProceduralSkyMaterial_p73ky")
[sub_resource type="Environment" id="Environment_ccmns"]
background_mode = 2
sky = SubResource("Sky_k64yg")
tonemap_mode = 2
tonemap_mode = 4
glow_enabled = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8p3iq"]

View File

@@ -13,7 +13,7 @@ config_version=5
config/name="Navigation Mesh Chunks 3D"
config/tags=PackedStringArray("3d", "ai", "demo", "official")
run/main_scene="res://navmesh_chhunks_demo_3d.tscn"
config/features=PackedStringArray("4.3", "GL Compatibility")
config/features=PackedStringArray("4.4", "GL Compatibility")
config/icon="res://icon.webp"
[rendering]

View File

@@ -0,0 +1 @@
uid://bvm23pul5m156

View File

@@ -0,0 +1 @@
uid://dsl7ogru2qvj6

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=9 format=3 uid="uid://b72b3llm3ks25"]
[ext_resource type="Script" path="res://door.gd" id="1_cd56o"]
[ext_resource type="Script" uid="uid://dsl7ogru2qvj6" path="res://door.gd" id="1_cd56o"]
[sub_resource type="BoxMesh" id="BoxMesh_uwx0y"]
size = Vector3(0.05, 3.25, 2.5)
@@ -45,8 +45,8 @@ tracks/0/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_5gp0p"]
_data = {
"RESET": SubResource("Animation_4cjd4"),
"open": SubResource("Animation_6r4px")
&"RESET": SubResource("Animation_4cjd4"),
&"open": SubResource("Animation_6r4px")
}
[node name="Door" type="Node3D"]

View File

@@ -0,0 +1 @@
uid://bpnpab3ttyv8n

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=13 format=3 uid="uid://dp872nvjdbsc2"]
[ext_resource type="ArrayOccluder3D" uid="uid://cop123efet6j2" path="res://node_3d.occ" id="1_clbmh"]
[ext_resource type="Script" path="res://node_3d.gd" id="1_x3hdm"]
[ext_resource type="Script" path="res://camera.gd" id="2_6krsy"]
[ext_resource type="Script" uid="uid://bpnpab3ttyv8n" path="res://node_3d.gd" id="1_x3hdm"]
[ext_resource type="Script" uid="uid://bvm23pul5m156" path="res://camera.gd" id="2_6krsy"]
[ext_resource type="PackedScene" uid="uid://ck4wa4vxhhk1v" path="res://room.glb" id="2_fu476"]
[ext_resource type="PackedScene" uid="uid://b72b3llm3ks25" path="res://door.tscn" id="5_cprsk"]
@@ -15,8 +15,7 @@ sky_material = SubResource("PhysicalSkyMaterial_gmnym")
[sub_resource type="Environment" id="Environment_inqbi"]
background_mode = 2
sky = SubResource("Sky_85e0t")
tonemap_mode = 3
tonemap_white = 6.0
tonemap_mode = 4
fog_enabled = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bunpn"]

View File

@@ -14,7 +14,7 @@ config/name="Occlusion Culling and Mesh LOD"
config/description="This demo showcases the use of occlusion culling and mesh level of detail in a 3D scene."
config/tags=PackedStringArray("3d", "demo", "official", "performance", "rendering")
run/main_scene="res://node_3d.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]

View File

@@ -18,6 +18,7 @@ nodes/root_name="Scene Root"
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

View File

@@ -1,7 +0,0 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="Sky" id=1]
[resource]
background_mode = 2
sky = SubResource( 1 )

View File

@@ -14,7 +14,7 @@ config/name="3D Particles"
config/description="This project showcases various 3D particle features supported by Godot, for both GPU-based and CPU-based particles."
config/tags=PackedStringArray("3d", "demo", "official", "rendering")
run/main_scene="res://test.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]

View File

@@ -3,7 +3,7 @@
[ext_resource type="Texture2D" uid="uid://ddp8ek6rswwmc" path="res://kenney/smoke_05.png" id="3_pmhp8"]
[ext_resource type="CompressedTexture3D" uid="uid://dgnb433rl8hr1" path="res://test.GPUParticlesCollisionSDF3D_data.exr" id="4_wcrow"]
[ext_resource type="Texture2D" uid="uid://chjqieyps5n5r" path="res://checker.png" id="14"]
[ext_resource type="Script" path="res://tester.gd" id="18"]
[ext_resource type="Script" uid="uid://bfxtcmm7r6i6p" path="res://tester.gd" id="18"]
[sub_resource type="ProceduralSkyMaterial" id="9"]
@@ -13,6 +13,7 @@ sky_material = SubResource("9")
[sub_resource type="Environment" id="11"]
background_mode = 2
sky = SubResource("10")
tonemap_mode = 4
[sub_resource type="Animation" id="Animation_qdnt6"]
length = 0.001
@@ -168,8 +169,8 @@ tracks/5/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ecfcr"]
_data = {
"RESET": SubResource("Animation_qdnt6"),
"move": SubResource("12")
&"RESET": SubResource("Animation_qdnt6"),
&"move": SubResource("12")
}
[sub_resource type="StandardMaterial3D" id="13"]
@@ -413,6 +414,7 @@ emission_ring_axis = Vector3(0, 1, 0)
emission_ring_height = 0.0
emission_ring_radius = 0.25
emission_ring_inner_radius = 0.25
emission_ring_cone_angle = 90.0
radial_accel_min = 2.0
radial_accel_max = 2.0
collision_mode = 1
@@ -444,6 +446,7 @@ emission_ring_axis = Vector3(0, 1, 0)
emission_ring_height = 0.0
emission_ring_radius = 1.6
emission_ring_inner_radius = 0.0
emission_ring_cone_angle = 90.0
gravity = Vector3(0, 1, 0)
color = Color(1, 1, 1, 0.25098)
color_ramp = SubResource("GradientTexture1D_bewgf")
@@ -646,7 +649,7 @@ script = ExtResource("18")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_ecfcr")
&"": SubResource("AnimationLibrary_ecfcr")
}
autoplay = "move"

View File

@@ -0,0 +1 @@
uid://bfxtcmm7r6i6p

View File

@@ -18,6 +18,7 @@ nodes/root_name="Scene Root"
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=false
meshes/create_shadow_meshes=true

View File

@@ -0,0 +1 @@
uid://8ioamb610wua

View File

@@ -16,7 +16,7 @@ This allows you to use real world units for lights (lumen, lux, Kelvin)
and cameras (shutter speed, aperture, ISO sensitivity)."
config/tags=PackedStringArray("3d", "demo", "official", "rendering")
run/main_scene="res://test.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[debug]
@@ -38,6 +38,6 @@ lights_and_shadows/use_physical_light_units=true
lights_and_shadows/directional_shadow/size=8192
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3
lights_and_shadows/positional_shadow/soft_shadow_filter_quality=3
global_illumination/sdfgi/probe_ray_count=5
anti_aliasing/quality/msaa_3d=2
global_illumination/sdfgi/probe_ray_count=5
anti_aliasing/quality/use_debanding=true

View File

@@ -1,7 +1,7 @@
[gd_scene load_steps=8 format=3 uid="uid://c2wwh47i8o462"]
[ext_resource type="PackedScene" uid="uid://doh0vqn8wpfky" path="res://living_room.glb" id="1_oncn7"]
[ext_resource type="Script" path="res://options.gd" id="2_hjhvo"]
[ext_resource type="Script" uid="uid://8ioamb610wua" path="res://options.gd" id="2_hjhvo"]
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_6cd1w"]
use_debanding = false
@@ -12,8 +12,7 @@ sky_material = SubResource("PhysicalSkyMaterial_6cd1w")
[sub_resource type="Environment" id="Environment_3p42x"]
background_mode = 2
sky = SubResource("Sky_i7d6m")
tonemap_mode = 3
tonemap_white = 6.0
tonemap_mode = 4
sdfgi_use_occlusion = true
sdfgi_cascades = 2
sdfgi_min_cell_size = 0.15

View File

@@ -1,14 +1,14 @@
[gd_scene load_steps=11 format=3 uid="uid://pfb5u7r1hl8t"]
[ext_resource type="Script" path="res://utils/label_fps.gd" id="1"]
[ext_resource type="Script" path="res://utils/label_version.gd" id="2"]
[ext_resource type="Script" path="res://utils/label_engine.gd" id="3"]
[ext_resource type="Script" path="res://tests_menu.gd" id="4"]
[ext_resource type="Script" path="res://utils/label_test.gd" id="5"]
[ext_resource type="Script" path="res://utils/label_pause.gd" id="6"]
[ext_resource type="Script" path="res://utils/container_log.gd" id="10"]
[ext_resource type="Script" path="res://utils/scroll_log.gd" id="11"]
[ext_resource type="Script" path="res://tests.gd" id="12"]
[ext_resource type="Script" uid="uid://34ftr8y77xc0" path="res://utils/label_fps.gd" id="1"]
[ext_resource type="Script" uid="uid://bai0htaaejvop" path="res://utils/label_version.gd" id="2"]
[ext_resource type="Script" uid="uid://do0udxc585k84" path="res://utils/label_engine.gd" id="3"]
[ext_resource type="Script" uid="uid://dd0fbi0qttuuw" path="res://tests_menu.gd" id="4"]
[ext_resource type="Script" uid="uid://bkvmvpx2kl536" path="res://utils/label_test.gd" id="5"]
[ext_resource type="Script" uid="uid://bsrr8ude7isvn" path="res://utils/label_pause.gd" id="6"]
[ext_resource type="Script" uid="uid://eleg6e366qxd" path="res://utils/container_log.gd" id="10"]
[ext_resource type="Script" uid="uid://pagh264d7unt" path="res://utils/scroll_log.gd" id="11"]
[ext_resource type="Script" uid="uid://sjyvya2tmvni" path="res://tests.gd" id="12"]
[sub_resource type="StyleBoxFlat" id="1"]
bg_color = Color(0, 0, 0, 0.176471)

View File

@@ -13,7 +13,7 @@ config_version=5
config/name="3D Physics Tests"
config/tags=PackedStringArray("3d", "demo", "official", "physics")
run/main_scene="res://main.tscn"
config/features=PackedStringArray("4.3")
config/features=PackedStringArray("4.4")
config/icon="res://icon.webp"
[autoload]

View File

@@ -0,0 +1 @@
uid://cu0nmknf22ua2

View File

@@ -0,0 +1 @@
uid://sjyvya2tmvni

View File

@@ -0,0 +1 @@
uid://bo8r6pye3q4ki

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=10 format=3 uid="uid://wy4qr8euxk27"]
[ext_resource type="Shape3D" path="res://assets/robot_head/godot3_robot_head_collision.tres" id="1"]
[ext_resource type="Script" path="res://tests/functional/test_collision_pairs.gd" id="2"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="4"]
[ext_resource type="Script" uid="uid://bo8r6pye3q4ki" path="res://tests/functional/test_collision_pairs.gd" id="2"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="4"]
[ext_resource type="PackedScene" uid="uid://b1ihqm3x8jru" path="res://tests/test_options.tscn" id="5"]
[sub_resource type="BoxShape3D" id="1"]

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=6 format=3 uid="uid://b15gg5je5qdu4"]
[ext_resource type="PackedScene" uid="uid://cl2vpuxqgnylc" path="res://tests/static_scene.tscn" id="1"]
[ext_resource type="Script" path="res://test.gd" id="2"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="3"]
[ext_resource type="Script" uid="uid://cu0nmknf22ua2" path="res://test.gd" id="2"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="3"]
[sub_resource type="BoxShape3D" id="1"]
@@ -10,7 +10,7 @@
radius = 0.2
[node name="Test" type="Node3D"]
script = ExtResource( "2" )
script = ExtResource("2")
[node name="DynamicShapes" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 9.35591, 0)
@@ -20,115 +20,115 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.51361, 0, 0)
[node name="CollisionShape1" type="CollisionShape3D" parent="DynamicShapes/RigidBodyG"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, -0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape2" type="CollisionShape3D" parent="DynamicShapes/RigidBodyG"]
transform = Transform3D(0.8, 0, 4.26326e-15, 0, 0.3, 0, -1.13687e-14, 0, 0.3, 0.3, -1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape3" type="CollisionShape3D" parent="DynamicShapes/RigidBodyG"]
transform = Transform3D(-8.14603e-08, -0.3, 0, 0.5, -4.88762e-08, 0, 0, 0, 0.3, 0.8, -0.5, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape4" type="CollisionShape3D" parent="DynamicShapes/RigidBodyG"]
transform = Transform3D(0.8, 0, 4.26326e-15, 0, 0.3, 0, -1.13687e-14, 0, 0.3, 0.3, 1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyO" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.65654, 0, 0)
[node name="CollisionShape1" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, -0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape2" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, 1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape3" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, -1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape4" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, 0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyD" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.248918, 0, 0)
[node name="CollisionShape1" type="CollisionShape3D" parent="DynamicShapes/RigidBodyD"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, -0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape2" type="CollisionShape3D" parent="DynamicShapes/RigidBodyD"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, 1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape3" type="CollisionShape3D" parent="DynamicShapes/RigidBodyD"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, -1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape4" type="CollisionShape3D" parent="DynamicShapes/RigidBodyD"]
transform = Transform3D(-1.46629e-07, -0.3, 0, 0.9, -4.88762e-08, 0, 0, 0, 0.3, 0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyO2" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.97932, 0, 0)
[node name="CollisionShape1" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO2"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, -0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape2" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO2"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, 1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape3" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO2"]
transform = Transform3D(0.5, 0, 4.26326e-15, 0, 0.3, 0, -7.10543e-15, 0, 0.3, 0, -1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape4" type="CollisionShape3D" parent="DynamicShapes/RigidBodyO2"]
transform = Transform3D(-2.44381e-07, -0.3, 0, 1.5, -4.88762e-08, 0, 0, 0, 0.3, 0.8, 0, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="RigidBodyT" type="RigidDynamicBody3D" parent="DynamicShapes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.46836, 0, 0)
[node name="CollisionShape1" type="CollisionShape3D" parent="DynamicShapes/RigidBodyT"]
transform = Transform3D(-1.95505e-07, -0.3, 0, 1.2, -4.88762e-08, 0, 0, 0, 0.3, 0, -0.3, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="CollisionShape2" type="CollisionShape3D" parent="DynamicShapes/RigidBodyT"]
transform = Transform3D(1, 0, 4.26326e-15, 0, 0.3, 0, -1.42109e-14, 0, 0.3, 0, 1.2, 0)
shape = SubResource( "1" )
shape = SubResource("1")
[node name="StaticBodyPins" type="StaticBody3D" parent="."]
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyPins"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 9.13207, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="CollisionShape2" type="CollisionShape3D" parent="StaticBodyPins"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -2.71742, 9.13207, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="CollisionShape3" type="CollisionShape3D" parent="StaticBodyPins"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -5.64188, 9.13207, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="CollisionShape4" type="CollisionShape3D" parent="StaticBodyPins"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 2.87444, 9.13207, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="CollisionShape5" type="CollisionShape3D" parent="StaticBodyPins"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 4.81639, 9.13207, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="StaticScene" parent="." instance=ExtResource( "1" )]
[node name="StaticScene" parent="." instance=ExtResource("1")]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.53602, 22.1236)
script = ExtResource( "3" )
script = ExtResource("3")
[node name="OmniLight" type="OmniLight3D" parent="Camera3D"]
omni_range = 50.0

View File

@@ -1,7 +1,7 @@
[gd_scene load_steps=10 format=3 uid="uid://d1j6kxs3plvry"]
[ext_resource type="Script" path="res://test.gd" id="1"]
[ext_resource type="Script" path="res://utils/control3d.gd" id="2"]
[ext_resource type="Script" uid="uid://cu0nmknf22ua2" path="res://test.gd" id="1"]
[ext_resource type="Script" uid="uid://k4cta5vagong" path="res://utils/control3d.gd" id="2"]
[sub_resource type="PhysicsMaterial" id="1"]
friction = 0.0
@@ -22,31 +22,31 @@ friction = 0.5
[sub_resource type="PhysicsMaterial" id="7"]
[node name="Test" type="Node3D"]
script = ExtResource( "1" )
script = ExtResource("1")
[node name="StaticBodyFriction0" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, -6, 8.581, 0)
physics_material_override = SubResource( "1" )
physics_material_override = SubResource("1")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction0"]
transform = Transform3D(5, 0, 0, 0, 1, 0, 0, 0, 50, 0, 0, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="RigidBodies" type="Node3D" parent="StaticBodyFriction0"]
transform = Transform3D(1, 0, 0, 0, 0.866026, 0.5, 0, -0.5, 0.866026, -3, -7.431, 4.291)
[node name="RigidBodyFriction0" type="RigidDynamicBody3D" parent="StaticBodyFriction0/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 0, 10, 0)
physics_material_override = SubResource( "3" )
physics_material_override = SubResource("3")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction0"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction0"]
offset_right = 40.0
offset_bottom = 14.0
text = "0"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -54,16 +54,16 @@ world_offset = Vector3(0, 1.5, 0)
[node name="RigidBodyFriction05" type="RigidDynamicBody3D" parent="StaticBodyFriction0/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 3, 10, 0)
physics_material_override = SubResource( "5" )
physics_material_override = SubResource("5")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction05"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction05"]
offset_right = 40.0
offset_bottom = 14.0
text = "0.5"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -71,16 +71,16 @@ world_offset = Vector3(0, 1.5, 0)
[node name="RigidBodyFriction1" type="RigidDynamicBody3D" parent="StaticBodyFriction0/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 6, 10, 0)
physics_material_override = SubResource( "6" )
physics_material_override = SubResource("6")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction1"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction1"]
offset_right = 40.0
offset_bottom = 14.0
text = "1"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -88,27 +88,27 @@ world_offset = Vector3(0, 1.5, 0)
[node name="StaticBodyFriction1" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 6, 8.581, 0)
physics_material_override = SubResource( "7" )
physics_material_override = SubResource("7")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction1"]
transform = Transform3D(5, 0, 0, 0, 1, 0, 0, 0, 50, 0, 0, 0)
shape = SubResource( "2" )
shape = SubResource("2")
[node name="RigidBodies" type="Node3D" parent="StaticBodyFriction1"]
transform = Transform3D(1, 0, 0, 0, 0.866026, 0.5, 0, -0.5, 0.866026, -3, -7.431, 4.291)
[node name="RigidBodyFriction0" type="RigidDynamicBody3D" parent="StaticBodyFriction1/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 0, 10, 0)
physics_material_override = SubResource( "3" )
physics_material_override = SubResource("3")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction0"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction0"]
offset_right = 40.0
offset_bottom = 14.0
text = "0"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -116,16 +116,16 @@ world_offset = Vector3(0, 1.5, 0)
[node name="RigidBodyFriction05" type="RigidDynamicBody3D" parent="StaticBodyFriction1/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 3, 10, 0)
physics_material_override = SubResource( "5" )
physics_material_override = SubResource("5")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction05"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction05"]
offset_right = 40.0
offset_bottom = 14.0
text = "0.5"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -133,16 +133,16 @@ world_offset = Vector3(0, 1.5, 0)
[node name="RigidBodyFriction1" type="RigidDynamicBody3D" parent="StaticBodyFriction1/RigidBodies"]
transform = Transform3D(1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 6, 10, 0)
physics_material_override = SubResource( "6" )
physics_material_override = SubResource("6")
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction1"]
shape = SubResource( "4" )
shape = SubResource("4")
[node name="LabelFriction" type="Label" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction1"]
offset_right = 40.0
offset_bottom = 14.0
text = "1"
script = ExtResource( "2" )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}

View File

@@ -0,0 +1 @@
uid://bjsln0okk343c

View File

@@ -1,11 +1,11 @@
[gd_scene load_steps=4 format=3 uid="uid://ff88axeu4fvf"]
[ext_resource type="Script" path="res://utils/camera_orbit.gd" id="1"]
[ext_resource type="Script" path="res://tests/functional/test_joints.gd" id="2"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="1"]
[ext_resource type="Script" uid="uid://bjsln0okk343c" path="res://tests/functional/test_joints.gd" id="2"]
[ext_resource type="PackedScene" uid="uid://b1ihqm3x8jru" path="res://tests/test_options.tscn" id="3"]
[node name="Test" type="Node3D"]
script = ExtResource( "2" )
script = ExtResource("2")
[node name="LabelJointType" type="Label" parent="."]
offset_left = 14.0
@@ -17,7 +17,7 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Options" parent="." instance=ExtResource( "3" )]
[node name="Options" parent="." instance=ExtResource("3")]
[node name="Joints" type="Node3D" parent="."]
@@ -35,7 +35,7 @@ __meta__ = {
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 6.19796)
script = ExtResource( "1" )
script = ExtResource("1")
[node name="OmniLight" type="OmniLight3D" parent="Camera3D"]
omni_range = 50.0

View File

@@ -0,0 +1 @@
uid://uo2swke2y6v8

Some files were not shown because too many files have changed in this diff Show More