123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- [gd_scene load_steps=5 format=2]
- [ext_resource path="res://OpenSimplexNoise_Viewer.gd" type="Script" id=1]
- [ext_resource path="res://OpenSimplexNoise_Viewer.tres" type="Material" id=2]
- [sub_resource type="OpenSimplexNoise" id=1]
- [sub_resource type="NoiseTexture" id=2]
- noise = SubResource( 1 )
- [node name="OpenSimplexNoise Viewer" type="Control"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 24.0
- margin_top = 24.0
- margin_right = -24.0
- margin_bottom = -24.0
- script = ExtResource( 1 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="SeamlessNoiseTexture" type="TextureRect" parent="."]
- material = ExtResource( 2 )
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -196.0
- margin_top = -256.0
- margin_right = 316.0
- margin_bottom = 256.0
- grow_horizontal = 2
- grow_vertical = 2
- texture = SubResource( 2 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="ButtonsContainer" type="VBoxContainer" parent="."]
- anchor_left = 1.0
- anchor_right = 1.0
- margin_left = -137.0
- margin_bottom = 44.0
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="DocumentationButton" type="Button" parent="ButtonsContainer"]
- margin_right = 137.0
- margin_bottom = 20.0
- grow_horizontal = 0
- text = "API Documentation"
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="RandomSeedButton" type="Button" parent="ButtonsContainer"]
- margin_top = 24.0
- margin_right = 137.0
- margin_bottom = 44.0
- grow_horizontal = 0
- text = "Random Seed"
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="ParameterContainer" type="VBoxContainer" parent="."]
- margin_right = 280.0
- margin_bottom = 136.0
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="SeedSpinBox" type="SpinBox" parent="ParameterContainer"]
- margin_right = 280.0
- margin_bottom = 24.0
- min_value = -2.14748e+09
- max_value = 2.14748e+09
- allow_greater = true
- allow_lesser = true
- prefix = "Seed:"
- [node name="LacunaritySpinBox" type="SpinBox" parent="ParameterContainer"]
- margin_top = 28.0
- margin_right = 280.0
- margin_bottom = 52.0
- step = 0.1
- allow_greater = true
- prefix = "Lacunarity:"
- [node name="PeriodSpinBox" type="SpinBox" parent="ParameterContainer"]
- margin_top = 56.0
- margin_right = 280.0
- margin_bottom = 80.0
- min_value = -100000.0
- max_value = 100000.0
- allow_greater = true
- prefix = "Period:"
- [node name="PersistenceSpinBox" type="SpinBox" parent="ParameterContainer"]
- margin_top = 84.0
- margin_right = 280.0
- margin_bottom = 108.0
- max_value = 1000.0
- allow_greater = true
- prefix = "Persistance:"
- [node name="OctavesSpinBox" type="SpinBox" parent="ParameterContainer"]
- margin_top = 112.0
- margin_right = 280.0
- margin_bottom = 136.0
- min_value = 1.0
- max_value = 9.0
- value = 1.0
- prefix = "Octaves:"
- [node name="ClipContainer" type="VBoxContainer" parent="."]
- anchor_top = 1.0
- anchor_bottom = 1.0
- margin_top = -52.0
- margin_right = 280.0
- grow_vertical = 0
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="MinClipSpinBox" type="SpinBox" parent="ClipContainer"]
- margin_right = 280.0
- margin_bottom = 24.0
- min_value = -1.0
- max_value = 1.0
- step = 0.01
- value = -1.0
- prefix = "Min:"
- [node name="MaxClipSpinBox" type="SpinBox" parent="ClipContainer"]
- margin_top = 28.0
- margin_right = 280.0
- margin_bottom = 52.0
- min_value = -1.0
- max_value = 1.0
- step = 0.01
- value = 1.0
- prefix = "Max:"
- [connection signal="pressed" from="ButtonsContainer/DocumentationButton" to="." method="_on_DocumentationButton_pressed"]
- [connection signal="pressed" from="ButtonsContainer/RandomSeedButton" to="." method="_on_RandomSeedButton_pressed"]
- [connection signal="value_changed" from="ParameterContainer/SeedSpinBox" to="." method="_on_SeedSpinBox_value_changed"]
- [connection signal="value_changed" from="ParameterContainer/LacunaritySpinBox" to="." method="_on_LacunaritySpinBox_value_changed"]
- [connection signal="value_changed" from="ParameterContainer/PeriodSpinBox" to="." method="_on_PeriodSpinBox_value_changed"]
- [connection signal="value_changed" from="ParameterContainer/PersistenceSpinBox" to="." method="_on_PersistenceSpinBox_value_changed"]
- [connection signal="value_changed" from="ParameterContainer/OctavesSpinBox" to="." method="_on_OctavesSpinBox_value_changed"]
- [connection signal="value_changed" from="ClipContainer/MinClipSpinBox" to="." method="_on_MinClipSpinBox_value_changed"]
- [connection signal="value_changed" from="ClipContainer/MaxClipSpinBox" to="." method="_on_MaxClipSpinBox_value_changed"]
|