VolTer
5fbf1c230f
Reinstate NoiseTexture2D icon
...
(cherry picked from commit ac8a9df2bf
)
2023-06-29 16:03:22 +02:00
Hugo Locurcio
484a39c34d
Document seamless caveats on small textures in NoiseTexture2D and NoiseTexture3D
...
This also harmonizes "normal map" spelling across the class reference.
(cherry picked from commit 9e21647578
)
2023-06-16 15:12:36 +02:00
Alex Drozd
09c5a8fe49
adjusting step size for fastnoise frequency hint
...
(cherry picked from commit 2b053e4e4c
)
2023-05-12 12:31:59 +02:00
Hendrik Brucker
d44eb95e93
[Noise/NoiseTexture2D] Allow disabling normalization
2023-01-29 14:59:10 +01:00
Hendrik Brucker
ffb8c74f26
Add tests for FastNoiseLite/NoiseTexture
...
+ fix some issues with seamless noise generation
2023-01-06 02:46:08 +01:00
Rémi Verschelde
d95794ec8a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
Adam Scott
ea33001b95
Add safety-checks before some servers `free()`
2022-12-29 16:23:38 -05:00
trollodel
c90d0bd84f
Use forward-declarations in big editor classes
2022-11-29 09:59:43 +01:00
trollodel
ba9e619b51
Use forward-declarations in EditorPlugin where possible
2022-11-11 20:25:51 +01:00
Aaron Franke
a3e52925bf
Fix default values on virtual classes causing errors in projects
2022-11-09 01:59:53 -06:00
kobewi
072f6feaba
Make some Image methods static
2022-10-14 14:34:15 +02:00
bruvzg
0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
2022-10-07 11:32:33 +03:00
Rémi Verschelde
54418ea659
Remove NO_THREADS fallback code, Godot 4 requires thread support
...
This also removes `OS::can_use_threads` from the public API since it's always
true.
2022-10-03 11:23:26 +02:00
Micky
ef5b9a06a9
Rename `hint_tooltip` to `tooltip_text` & setget
...
`hint_tooltip` -> `tooltip_text`
`set_tooltip` -> `set_tooltip_text`
`_get_tooltip` -> `get_tooltip_text`
Updates documentation, too.
2022-08-27 01:35:01 +02:00
Aaron Franke
394d058420
Rename 2D NoiseTexture to NoiseTexture2D
2022-08-24 22:44:42 -05:00
Yuri Sizov
1a24c9e14b
Make `_validate_property` a multilevel method
2022-08-22 18:35:11 +03:00
RedMser
c25b8f2876
Remove unintentional PROPERTY_USAGE_INTERNAL
...
The flag only matters for property definition,
but was also used in _validate_property a lot.
2022-08-18 16:25:00 +02:00
Yuri Sizov
c5d7115038
Rename the argument tag to param in XML documentation
2022-08-08 22:34:31 +03:00
FireForge
97dfbea6ad
Rename Control PRESET_WIDE to PRESET_FULL_RECT
2022-07-18 20:08:11 -05:00
FireForge
4678736a39
Add suffixes to all nodes and resources
2022-06-11 09:41:05 -05:00
Hendrik Brucker
1654800ed7
Fix noise offset not affecting domain warp
...
- also added domain warp to get_noise_1d
2022-05-18 22:10:57 +02:00
Hendrik Brucker
1684459a3a
Fix domain warp fractal type defaulting to the wrong value (and refactor enum conversion)
2022-05-16 18:21:42 +02:00
reduz
de0ca3b999
Refactor module initialization
...
* Changed to use the same stages as extensions.
* Makes the initialization more coherent, helping solve problems due to lack of stages.
* Makes it easier to port between module and extension.
* removed the DRIVER initialization level (no longer needed).
2022-05-04 17:34:51 +02:00
Haoyu Qiu
3012b76ec5
Validate image size for Noise get image methods
2022-05-01 15:53:27 +08:00
Rémi Verschelde
f05ec69158
Merge pull request #60384 from timothyqiu/noise-skirt
2022-04-27 12:44:06 +02:00
Haoyu Qiu
0e5c41857c
Validate input in NoiseTexture::set_seamless_blend_skirt()
2022-04-20 10:47:28 +08:00
Hendrik Brucker
bde6fc9c82
Restructure and refine the noise module
2022-04-19 19:49:48 +02:00
FireForge
6fac7158d6
Add spaces to FastNoiseLite enum hint names
2022-04-16 23:51:23 -05:00
bruvzg
f851c4aa33
Fix some issues found by cppcheck.
2022-04-06 14:34:37 +03:00
Paweł Fertyk
79b4844be5
Fix `NoiseTexture._generate_texture` crash
...
Fixes #59915 .
2022-04-05 22:24:58 +02:00
Rémi Verschelde
f8ab79e68a
Zero initialize all pointer class and struct members
...
This prevents the pitfall of UB when checking if they have been
assigned something valid by comparing to nullptr.
2022-04-04 19:49:50 +02:00
FireForge
60dfe76e1f
Fix group name in FastNoise and Gradient
2022-03-31 21:21:04 -05:00
Hendrik Brucker
2a55f10e8b
Add FastNoiseLite / general noise overhaul
...
- replace OpenSimplexNoise
Co-authored-by: Cory Petkovsek <tinmanjuggernaut@users.noreply.github.com>
2022-03-20 14:53:45 +01:00