60 Commits

Author SHA1 Message Date
谢天
019afc8f81 Update thread_safe_apis.rst to mention don't call certain rendering functions on other threads (#8749)
* Update thread_safe_apis.rst to mention don't call certain rendering functions on other threads

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-01-25 10:24:58 +01:00
Matthew
90a56987e0 Merge pull request #8682 from Vercix/master
Update OS to Time on pages containing OS.get_ticks_usec()
2024-01-25 09:56:10 +01:00
Hugo Locurcio
f9817954c7 Remove unused images
This reduces the size of ZIP downloads for offline reading.

Unused images were found by running `_tools/list-unused-images.sh`.
These images were used in Godot 2.x and 3.x documentation,
but have been replaced by remade images with different names since.
2023-11-13 21:57:19 +01:00
todeskurve
c9cafeab59 Added some C#-snippets to tutorials/using_servers.rst (#8241)
* Update using_servers.rst Added C# for 3D-Mesh

with limited C# knowledge there is a problem when not using "Basis.Identity" but trying to use "new Basis()" instead of GDScript's "Basis()"

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-10-17 23:08:42 +02:00
skyace65
1ae0eff971 Fix Build issue 2023-10-02 21:19:42 -04:00
imnachos
706393d285 Fixed URL underscore in general_optimization.rst
Added double underscore to fix
2023-09-17 13:21:48 +02:00
Max Hilbrunner
005213b3c6 Merge pull request #7278 from Calinou/gdscript-debugger-mention-thread-support 2023-07-27 01:03:08 +02:00
Max Hilbrunner
073725b4fc Merge pull request #7647 from Calinou/update-performance 2023-07-18 15:37:30 +02:00
Max Hilbrunner
cd5eec3f7a Merge pull request #7599 from OverloadedOrama/patch-1 2023-07-18 13:41:52 +02:00
Hugo Locurcio
df9bf74ca1 Update performance optimization pages for Godot 4.x 2023-07-12 00:43:12 +02:00
Emmanouil Papadeas
6a2cb1b688 Update multi-threaded rendering setting path
Changes from "Rendering > Threads > Thread Model", which used to be the old path for Godot 3.x, to "Rendering > Driver > Thread Model", which is the current one for Godot 4.x.
2023-07-02 17:21:51 +03:00
Hugo Locurcio
b3607959be Link to Using C++ profilers page in CPU optimization
This page was created after CPU optimization, so it wasn't linked beforehand.
2023-07-01 20:30:38 +02:00
bitsawer
43f94066b8 Update threading code examples to use new syntax 2023-06-07 21:59:03 +03:00
Lunarmagpie
760cb085d1 Update cpu_optimization.rst 2023-05-14 23:54:03 -04:00
Hugo Locurcio
b9268e8ee4 Remove outdated notices about GDScript debugger not supporting threads
This is now supported in Godot.
2023-05-04 12:57:05 +02:00
Jcrespo
6865811c81 Update usages of obsolete rad2deg() and deg2rad() in docs
There were 4 pages documentation pages still using deg2rad(),
which have been substituted by deg_to_rad() and the examples
tested against 4.0.X.

There was 1 usage of C# Deg2Rad(), now DegToRad().

Some dependent comments and output have been updated accordingly:
(deg_to_rad() is implemented in the Math core functions, not in
the Expressions class), plus some float precission fixes, at
least on my architecture.

Only one mention of rad2deg() was found in all docs.

Fixes #7247
2023-05-01 12:24:15 +02:00
Max Hilbrunner
64a3b465c2 Update SFC to Godot Foundation, old URLs 2023-04-17 23:53:52 +02:00
Mateus Elias
2aa7d47821 fix(tutorials/performance/using_multimesh.rst): removed out of date code 2023-04-08 10:07:33 -03:00
Hugo Locurcio
f658307ac7 Add a page on creating custom platform ports 2023-03-13 18:53:38 +01:00
Hugo Locurcio
9286f1b466 Remove references to removed GLES2 backend
- Update FAQ to remove issues resolved in 4.0, and add more advice
  on resolving VRR flicker issues.
2023-03-11 02:55:30 +01:00
Hugo Locurcio
3dfbfbf381 Add links to demo projects where relevant (#6874)
* Add links to demo projects where relevant

- Warn about poor compute shader support on mobile GPUs (due to driver bugs).
- Update control gallery image for 4.0.
- Fix typo in Internationalizing games.

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-03-09 06:09:56 +01:00
Max Hilbrunner
1b0310aa47 Fix typos and make CI a happy Gobot 2023-03-09 05:55:58 +01:00
Hugo Locurcio
c799afdfa2 Update Importing 3D scenes documentation for Godot 4.0 (#6800)
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2023-03-04 23:00:30 +01:00
Yuri Sizov
978a13bb0a Mark potentially outdated pages with a WIP warning 2023-02-26 14:21:15 +01:00
Hugo Locurcio
8b0c550e2a Add a page on variable rate shading (VRS) 2023-02-22 18:14:42 +01:00
Raul Santos
b319da3f07 Update some C# examples for 4.0 (#6693)
* Update some C# examples

- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Other minor code fixes.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-04 17:03:03 +01:00
Hugo Locurcio
6e453527b1 Revamp global illumination documentation
- Add an introduction page with an explanation and comparison table.
- Add a page on faking global illumination.
2023-01-30 17:31:53 +01:00
J.M. de Jong
2147f64d08 Update particle shader format in Controlling thousands of fish (#6604) 2023-01-17 02:30:02 +01:00
AeioMuch
32d9970205 Update get_world() to get_world_3d() in using_servers.rst (#6449)
get_world() with get_world_3d() on the using servers page
2023-01-14 11:05:04 -05:00
Hana
9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Sheep
82c49b952f fixed a typo in cpu optimizations (#6566) 2023-01-07 11:38:14 -08:00
Hugo Locurcio
509804650e Update all instances of instance() to instantiate() 2022-11-29 16:59:09 +01:00
Max Hilbrunner
99d3d0be12 Renames / fixes for Godot 4 2022-10-17 00:35:07 +02:00
Max Hilbrunner
3765e1ca51 Nuke GDNative from docs 2022-10-15 23:53:50 +02:00
Max Hilbrunner
6c13f5ba58 More Godot 4 renames and fixes (#6317)
* Move ImmediateGeometry -> ImmediateMesh

* More Godot 3 -> Godot 4 renames
2022-10-15 23:12:48 +02:00
Max Hilbrunner
198393eec7 More Godot 4 rename fixes (#6315)
* Spatial -> 3D, Transform, Quaternion

* File -> FileAccess

* Camera -> Camera3D

* Update references to MeshInstance and MultiMeshInstance

* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Max Hilbrunner
b82cd0690d A bunch of renames for Godot 4.0 2022-10-15 18:19:12 +02:00
Max Hilbrunner
9862cbea87 Reference -> RefCounted 2022-10-15 17:26:59 +02:00
yed podtrzitko
f4573fd49e fix: replace invalid World references with World3D/ World2D (#6256)
* fix: replace World references with World2D / World3D
2022-10-05 12:38:34 +02:00
Matthew
fb921874e4 Add a page on managing editor features (#5489)
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-04-29 12:51:37 +02:00
Markus Sauermann
aaf6b3e504 Update tutorials: Rename Transform to Transform3D (#5603) 2022-02-14 13:27:37 +01:00
Markus Sauermann
1e6a033a8f Update tutorials: VisualServer to RenderingServer 2022-02-09 20:20:13 +01:00
snailrhymer
dd764520c6 Clarify reference erasure warning in Using Servers (#5570)
* Clarify reference erasure warning in Using Servers

Expand a brief remark on the importance of maintaining a reference to a resource to prevent its deletion.
Also fix some typos and remove instances of "just".

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-02-01 07:57:45 +01:00
skyace65
f7ac05e7e9 Add a warning about creating threads at runtime 2021-12-26 12:35:16 -05:00
albinaask
fb1631c35e Slight clarify in optimization tutorial (#5284)
* Slight clarify in optimization tutorial
2021-11-03 19:13:32 +01:00
Hugo Locurcio
61d52c3c5b Document thread-safe rendering caveats 2021-10-09 11:22:21 +02:00
Aaron Franke
5c7f653347 Optimize PNG and SVG images using oxipng and svgcleaner (#5254) 2021-09-14 17:50:17 +02:00
Aaron Franke
4060179184 Remove trailing space characters (#5251) 2021-09-13 14:52:39 +02:00
Jummit
c7a4b6a8be Fix example in Optimization Using Servers tutorial (#5169) 2021-08-12 23:01:37 +02:00
Marcin Sędłak-Jakubowski
bd19917ea0 Draft: Remove "simple", "simply", "easy", and "just" from the docs (#4496)
* Various style edits

* Edit out "simple" when possible

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2021-07-11 14:38:53 +02:00