Qbieshay
419e5c40fa
Fix particle not re-randomizing every emission
2025-02-20 19:25:05 +01:00
Qbieshay
2f3f6f69d9
Fix seed not randomizing for particles. Fix seed being stored when fixed seed is off
2025-02-04 12:17:21 +01:00
Qbieshay
c8b0509b7c
Fixed cpuparticles randomness regression caused by #92089
2025-01-21 13:23:55 +01:00
Rémi Verschelde
133db1fd60
Merge pull request #92089 from QbieShay/qbe/particle_seek
...
Implement particle seek request and seed options.
2025-01-13 20:21:28 +01:00
QbieShay
e9eb0b6082
Implemented tools around particles seed randomization.
...
The purpose of this code is to expose the necessary
functions for users and engine devs to develop tooling
for properly timing and seeking inside particles.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-11 16:31:24 +01:00
Rémi Verschelde
bf2548463a
Merge pull request #101012 from zachseiss/master
...
Preserve emission ring shape properties during conversion from GPUParticles3D to CPUParticles3D and vice versa
2025-01-06 22:48:20 +01:00
Zach Seiss
86ab88f016
added preservation of emission ring properties during conversion from GPUParticles3D to CPUParticles3D and vice versa
2025-01-03 07:47:06 -05:00
Rémi Verschelde
d484e23bce
Merge pull request #100113 from paddy-exe/particle-emission-shape-visual-separate-pr
...
Add visualization of 3D particle emission shapes
2025-01-03 00:48:22 +01:00
Patrick Exner
e689c122a6
Add visualization of 3D particle emission shapes
...
Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com>
2024-12-28 19:56:50 +01:00
A Thousand Ships
a1846b27ea
Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying
73d85f46c9
Remove unused headers in scene.
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
clayjohn
f2a993aa1d
Reduce slider range for Particles preprocess to discourage setting a preprocess time of 10 minutes
2024-12-13 11:36:36 -08:00
A Thousand Ships
f6ea6cdb67
Fix some invalid int property ranges
...
* `HeightMapShape3D` had ranges configured for `float` instead of `int`
* Particles had `amount` that used `exp` which is not supported, added
note
2024-11-23 19:17:29 +01:00
Thaddeus Crews
37305e40bc
Merge pull request #95711 from TokageItLab/warn-oneshot-prop
...
Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
2024-11-22 14:54:30 -06:00
Silc Lizard (Tokage) Renew
761a20f7a7
Add hint for oneshot & warning when it will be updated continuously
2024-11-11 01:12:45 +09:00
kobewi
a4d724b37c
Unify particle editors
2024-10-04 22:36:12 +02:00
Kasper Arnklit Frandsen
40b9516724
Add cone angle control to particle emission ring shape
2024-09-02 14:35:51 +02:00
Rémi Verschelde
de329556f7
Merge pull request #91449 from Arnklit/particles-emission-ring-shape-fix2
...
Fix sqrt application for radius in particle ring emission
2024-05-14 18:09:47 +02:00
Kasper Arnklit Frandsen
94eefe168a
Fix sqrt application for radius in particle ring emission
2024-05-14 12:22:21 +01:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
kobewi
a262d2d881
Add shorthand for using singleton string names
2024-05-11 18:53:08 +02:00
Rémi Verschelde
16eb8dbdc0
Merge pull request #89595 from apples/89559-cpuparticles3d-angle-rotate_y-fix
...
Fix `CPUParticles3D` using angle incorrectly when `ROTATE_Y` is set.
2024-05-06 15:14:53 +02:00
Kasper Arnklit Frandsen
af22d504da
Fix particle cylinder emission shape random distribution
2024-04-30 17:24:58 +01:00
Kasper Frandsen
f8d08a8376
fix: avoid shader crash on null vector and negative x vector
2024-04-17 17:33:30 +01:00
QbieShay
1d81068be7
Fixed INSTANCE_CUSTOM.w not being assigned correctly in CPUParticles 2D and 3D
2024-04-01 14:00:40 +02:00
Apples
a002b212df
Fixed CPUParticles3D using angle incorrectly when ROTATE_Y is set.
2024-03-17 01:07:10 -05:00
Arman Elgudzhyan
c41725c9c6
Removed unnecessary AABB initialization for CPUParticles
...
Setting an AABB manually for CPUParticles unnecessarily registers as a custom AABB and can cause issues on some platforms and hardware.
2024-02-20 09:48:18 -08:00
Rémi Verschelde
21f0529aa9
Revert "Update Node::get_configuration_warnings signature"
...
This reverts commit d3852deaa4 .
2024-02-17 19:03:21 +01:00
Arman Elgudzhyan
ec6518d9cd
Custom ("visiblity") AABB support for CPUParticles
...
- Improves performance by reducing time spent on AABB generation.
- Also adds an option to generate the AABB manually in the CPUParticles3D dropdown.
2024-02-15 22:37:07 -08:00
RedMser
d3852deaa4
Update Node::get_configuration_warnings signature
2024-02-08 23:05:20 +01:00
Hendrik Brucker
7e21eb7e00
Extract and reorganize texture resource classes
2023-07-14 20:04:21 +02:00
HolonProduction
a1c0d206e8
Add finished signal to CPUParticles
2023-07-12 13:45:02 +02:00
Ninni Pipping
dcd2b883eb
Use NULL instead of COND checks when appropriate
...
Restricted to scene
2023-06-10 08:56:30 +02:00
Hugo Locurcio
fc4ec42a09
Increase precision in particle damping properties in the editor
2023-06-07 15:26:02 +02:00
clayjohn
821917ba9f
Use angle_rand to calculate base_angle in particles process material
2023-04-13 15:10:47 -07:00
RedworkDE
89980dd9c9
Fix buffer overrun in CPUParticles3D
2023-03-07 15:46:51 +01:00
Albin
82b90c0e08
Remove visual limit for damping in CPUParticles
...
Issue #56324 notes that you may can't set the damping property of
CPUParticles2D to anything more that 100 in the editor inspector
while you may set it to anything in code, this is considered a bug and
changed in this commit
2023-02-19 12:47:34 +01:00
Rémi Verschelde
91713ced81
Merge pull request #70716 from Calinou/particles-tweak-animation-offset-property-hint
...
Tweak particles animation offset property hint to allow more precise values
2023-01-10 11:01:14 +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
Hugo Locurcio
8df24835e0
Tweak particles animation offset property hint to allow more precise values
...
Values above 1.0 (or below 0.0) are no longer allowed, as these make
no visual difference whatsoever (and may cause particles not to appear
at all if looping is disabled).
2022-12-29 22:15:17 +01:00
Markus Sauermann
3b14f0334c
Remove redundant Variant-types initializations
2022-11-14 19:35:19 +01: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
Marc Gilleron
aed3822a93
Change return type of get_configuration_warnings to PackedStringArray
2022-09-19 16:43:15 +01:00
Hugo Locurcio
f7292dbeb3
Rename or_lesser range property hint to or_less
...
"less" should be used for quantity, rather than "lesser".
Existing scripts that use `or_lesser` in `_get_property_list()`
will need to be updated to account for this change.
2022-09-02 19:08:20 +02:00
Hugo Locurcio
ae18928748
Rename Curve/Curve2D/Curve3D/Gradient interpolate() to sample()
...
"sampling" is a more accurate term than "interpolating" for what's
happening when using that function.
2022-08-30 22:08:38 +02:00
Rémi Verschelde
f9f2446972
Merge pull request #64367 from Mickeon/rename-var-to-str
...
Rename `str2var` to `str_to_var` and similar
2022-08-26 23:04:06 +02:00
Micky
59e11934d8
Rename str2var to str_to_var and similar
...
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too.
- `var2str` -> `var_to_str`
- `str2var` -> `str_to_var`
- `bytes2var` -> `bytes_to_var`
- `bytes2var_with_objects` -> `bytes_to_var_with_objects`
- `var2bytes` -> `var_to_bytes`
- `var2bytes_with_objects` -> `var_to_bytes_with_objects`
- `linear2db` -> `linear_to_db`
- `db2linear` -> `db_to_linear`
- `deg2rad` -> `deg_to_rad`
- `rad2deg` -> `rad_to_deg`
- `dict2inst` -> `dict_to_inst`
- `inst2dict` -> `inst_to_dict`
2022-08-26 14:58:22 +02:00
Micky
723bf85145
Rename ParticlesMaterial to ParticleProcessMaterial
...
Also affects their file names, related classes and documentation.
2022-08-26 02:53:08 +02:00
Yuri Sizov
1a24c9e14b
Make _validate_property a multilevel method
2022-08-22 18:35:11 +03:00