feat: noise/plane primitiveinspectors
This commit is contained in:
parent
e22aeb49f6
commit
a1881f2af3
7 changed files with 107 additions and 48 deletions
|
|
@ -8,43 +8,13 @@
|
|||
[ext_resource type="Texture2D" uid="uid://bl3gn6qruuy8w" path="res://assets/icons/plane.svg" id="4_xg7d5"]
|
||||
[ext_resource type="Texture2D" uid="uid://d1te42w7wpkrx" path="res://assets/icons/noise.svg" id="5_eqbpn"]
|
||||
[ext_resource type="PackedScene" uid="uid://bsvvhue5x4rb" path="res://ui/primitive_inspectors/point_primitive_inspector.tscn" id="8_5tm2q"]
|
||||
[ext_resource type="PackedScene" uid="uid://c5desl3kt72c7" path="res://ui/primitive_inspectors/noise_primitive_inspector.tscn" id="9_3vi5u"]
|
||||
[ext_resource type="PackedScene" uid="uid://bl16us512blpp" path="res://ui/primitive_inspectors/base_primitive_inspector.tscn" id="9_j8y2p"]
|
||||
|
||||
[sub_resource type="PointPrimitive" id="PointPrimitive_5tm2q"]
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_pxqd5"]
|
||||
frequency = 0.015
|
||||
fractal_octaves = 3
|
||||
|
||||
[sub_resource type="NoisePrimitive" id="NoisePrimitive_ba0ut"]
|
||||
blend_range = 5.0
|
||||
noise = SubResource("FastNoiseLite_pxqd5")
|
||||
noise_amplitude = 20.0
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_b1cmn"]
|
||||
noise_type = 0
|
||||
frequency = 0.03
|
||||
fractal_type = 2
|
||||
metadata/_preview_in_3d_space_ = true
|
||||
|
||||
[sub_resource type="NoisePrimitive" id="NoisePrimitive_pxqd5"]
|
||||
blend_range = 10.0
|
||||
noise = SubResource("FastNoiseLite_b1cmn")
|
||||
noise_amplitude = 5.0
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_ba0ut"]
|
||||
noise_type = 4
|
||||
frequency = 0.588
|
||||
fractal_gain = 1.0
|
||||
fractal_weighted_strength = 1.0
|
||||
|
||||
[sub_resource type="NoisePrimitive" id="NoisePrimitive_q68jb"]
|
||||
blend_mode = 1
|
||||
noise = SubResource("FastNoiseLite_ba0ut")
|
||||
[ext_resource type="PackedScene" uid="uid://cq25h75v1bnn1" path="res://ui/primitive_inspectors/plane_primitive_inspector.tscn" id="9_o435n"]
|
||||
|
||||
[sub_resource type="PlanePrimitive" id="PlanePrimitive_ba0ut"]
|
||||
blend_range = 20.0
|
||||
baseline = -1.0
|
||||
blend_range = 1.0
|
||||
baseline = 0.0
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_b1cmn"]
|
||||
interpolation_mode = 2
|
||||
|
|
@ -128,12 +98,17 @@ load_path = "res://.godot/imported/point.svg-e68fd7c1e788d2c48d769cc58eba6e98.ct
|
|||
|
||||
[sub_resource type="PlanePrimitive" id="PlanePrimitive_5lcyj"]
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_3vi5u"]
|
||||
frequency = 0.0326
|
||||
fractal_octaves = 3
|
||||
|
||||
[sub_resource type="NoisePrimitive" id="NoisePrimitive_5lcyj"]
|
||||
noise = SubResource("FastNoiseLite_3vi5u")
|
||||
|
||||
[node name="Editor" type="Node3D" unique_id=1027707839]
|
||||
|
||||
[node name="TerrainMeshEditor" type="TerrainMeshEditor" parent="." unique_id=1382595562]
|
||||
primitives = [SubResource("PointPrimitive_5tm2q"), SubResource("NoisePrimitive_ba0ut"), SubResource("NoisePrimitive_pxqd5"), SubResource("NoisePrimitive_q68jb"), SubResource("PlanePrimitive_ba0ut")]
|
||||
primitives = [SubResource("PlanePrimitive_ba0ut")]
|
||||
vertex_color_gradient = SubResource("Gradient_b1cmn")
|
||||
color_gradient_end_height = 100.0
|
||||
chunk_count = 8
|
||||
|
|
@ -232,8 +207,8 @@ layout_mode = 2
|
|||
size_flags_vertical = 3
|
||||
inspectors = {
|
||||
&"ExpressionPrimitive": ExtResource("9_j8y2p"),
|
||||
&"NoisePrimitive": ExtResource("9_j8y2p"),
|
||||
&"PlanePrimitive": ExtResource("9_j8y2p"),
|
||||
&"NoisePrimitive": ExtResource("9_3vi5u"),
|
||||
&"PlanePrimitive": ExtResource("9_o435n"),
|
||||
&"PointPrimitive": ExtResource("8_5tm2q")
|
||||
}
|
||||
terrain = NodePath("../../../TerrainMeshEditor")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue