summaryrefslogtreecommitdiffstats
path: root/modules/opensimplex
Commit message (Collapse)AuthorAgeFilesLines
* doc: Sync classref with current sourceRémi Verschelde2020-02-121-3/+2
| | | | | | | | Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
* Texture refactorJuan Linietsky2020-02-112-19/+18
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Update docs to version 4.0clayjohn2020-01-312-2/+2
|
* Increase the maximum number of octaves in OpenSimplexNoise to 9Hugo Locurcio2020-01-303-5/+14
| | | | | | | | | | An error message is now printed when trying to set the number of octaves above the maximum allowed value. The magic constant was also replaced with a define that can be easily changed. This closes #28714.
* doc: Drop unused 'category' property from headerRémi Verschelde2020-01-262-2/+2
| | | | | | | | | | We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
* Merge pull request #35567 from Xrayez/doc-noise-null-dataRémi Verschelde2020-01-261-0/+6
|\ | | | | Mention that `NoiseTexture` uses threads internally
| * Mention that `NoiseTexture` uses threads internallyAndrii Doroshenko (Xrayez)2020-01-261-0/+6
| | | | | | | | | | Provided a snippet on how to properly retrieve the noise texture data given that it's generated in a thread.
* | Complete various class referencesclayjohn2020-01-261-0/+1
|/
* Make NoiseTexture threading more robustJFonS2020-01-071-4/+8
| | | | Fixes crash when a NoiseTexture was freed before the generation thread finished.
* Update copyright statements to 2020Rémi Verschelde2020-01-016-12/+12
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* doc: Fix parsing of self-closing XML tagsRémi Verschelde2019-09-241-1/+1
| | | | | | | Follow-up to #31925, `<member />` tags just before `</members>` would cause a parsing issue, and we'd never notice that we're no longer parsing members. Also added space before closing `/>`.
* Run doctool after overridden properties changesBojidar Marinov2019-09-041-0/+1
|
* doc: Sync classref with current sourceRémi Verschelde2019-07-151-1/+1
|
* doc: Add default values to all propertiesRémi Verschelde2019-06-302-11/+11
| | | | Thanks to @bojidar-bg's impressive work in #29380.
* Add support for creating editor icons per moduleAndrii Doroshenko (Xrayez)2019-06-281-0/+3
| | | | | | | | | The functionality is similar to how `doc_classes` are retrieved per module. The build system will search for custom icons path defined per module via `get_icons_path()` method in `config.py` or default icons path. If such paths don't exist, only the editor's own icons will be built. Most module icons were moved from editor/icons to respective modules.
* Proofread and improve the whole class referenceHugo Locurcio2019-06-271-2/+2
| | | | | | | | | | | | | - Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
* Some code changed with Clang-Tidyqarmin2019-06-261-2/+2
|
* Made use of semicolons more consitent, fixed formattingJohnJLight2019-06-192-2/+2
|
* Added description to get_noise_1d() in OpenSimplexNoiseunknown2019-06-171-0/+2
|
* SCons: Always use env.Prepend for CPPPATHRémi Verschelde2019-04-301-1/+1
| | | | | | Include paths are processed from left to right, so we use Prepend to ensure that paths to bundled thirdparty files will have precedence over system paths (e.g. `/usr/include` should have lowest priority).
* Merge pull request #28125 from KoBeWi/code_true_codeRémi Verschelde2019-04-221-1/+1
|\ | | | | Consistently wrap booleans in [code]
| * Consistently wrap booleans in [code]Tomasz Chabora2019-04-171-1/+1
| |
* | doc: Drop unused <demos> tagRémi Verschelde2019-04-192-4/+0
|/
* doc: Sync classref with current sourceRémi Verschelde2019-04-151-0/+8
|
* Merge pull request #26634 from psuhas77/patch-3Rémi Verschelde2019-04-062-0/+7
|\ | | | | Added get_noise_1d
| * Added get_noise_1d2017A7PS0002G2019-03-052-0/+7
| |
* | doc: Bump version to 3.2Rémi Verschelde2019-04-012-2/+2
| |
* | doc: Sync classref with current sourceRémi Verschelde2019-03-071-0/+2
|/
* changed default noisetexture strengthclayjohn2019-03-041-1/+1
|
* added bump_strength to noisetextureclayjohn2019-03-032-1/+34
|
* Update copyright statements to 2019Rémi Verschelde2019-01-016-12/+12
| | | | Happy new year to the wonderful Godot community!
* doc: Sync with current sourceRémi Verschelde2018-10-251-3/+3
|
* Update class documentation xmlKelly Thomas2018-10-071-18/+0
|
* Remove redundant size property from NoiseTextureJFonS2018-10-034-19/+8
|
* SCons: Build thirdparty code in own env, disable warningsRémi Verschelde2018-09-281-1/+19
| | | | | Also remove unnecessary `Export('env')` in other SCsubs, Export should only be used when exporting *new* objects.
* Renaming SimplexNoise refs to OpenSimplexNoisesantouits2018-09-288-62/+62
| | | | | | | | | Because I think github doesn't show history of renamed files - The original work is done in commit f12a1b8 by JFonS - Improved Documentation in commit a386af6 - Last change on the files was in commit 463af5b - and Fixed compiler warnings in commit e5bbcb8bcf8180a54fdcc5c4291b153246d861ce
* Fix warnings for comparison between signed and unsigned integers ↵Rémi Verschelde2018-09-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [-Wsign-compare] Also turn off -Wsign-compare warnings in the future, we do not consider them important. Fixes the following GCC 5 warnings: ``` core/node_path.cpp:279:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] core/oa_hash_map.h:169:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] core/oa_hash_map.h:314:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/gles2/shader_gles2.cpp:985:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/gles3/rasterizer_storage_gles3.cpp:1075:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/pulseaudio/audio_driver_pulseaudio.cpp:343:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] editor/editor_plugin.cpp:525:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] editor/editor_properties_array_dict.cpp:747:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] editor/plugins/spatial_editor_plugin.cpp:2078:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] editor/plugins/spatial_editor_plugin.cpp:4096:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] editor/plugins/sprite_editor_plugin.cpp:100:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/cvtt/image_compress_cvtt.cpp:122:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/cvtt/image_compress_cvtt.cpp:134:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/cvtt/image_compress_cvtt.cpp:339:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/etc/image_etc.cpp:222:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/gdnative/register_types.cpp:242:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/gdnative/register_types.cpp:258:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/opensimplex/simplex_noise.cpp:200:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/opensimplex/simplex_noise.cpp:222:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modules/opensimplex/simplex_noise.cpp:246:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/android/export/export.cpp:1085:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/android/export/export.cpp:1489:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/android/export/export.cpp:1623:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/iphone/export/export.cpp:206:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/iphone/export/export.cpp:356:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/iphone/export/export.cpp:406:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] platform/iphone/export/export.cpp:493:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/3d/audio_stream_player_3d.cpp:420:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/resources/audio_stream_sample.cpp:565:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/resources/audio_stream_sample.cpp:571:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio/audio_rb_resampler.cpp:156:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ``` The following warnings were not fixed, as they implied casting for no gain: ``` core/io/packet_peer.cpp:228:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] core/io/resource_format_binary.cpp:109:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/gles2/rasterizer_scene_gles2.cpp:144:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/unix/file_access_unix.cpp:249:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/3d/voxel_light_baker.cpp:889:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/3d/voxel_light_baker.cpp:1020:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/3d/voxel_light_baker.cpp:1154:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/3d/voxel_light_baker.cpp:2255:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] scene/resources/bit_mask.cpp:336:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio/audio_stream.cpp:141:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio/audio_stream.cpp:150:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio/audio_stream.cpp:154:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio_server.cpp:86:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] servers/audio_server.cpp:89:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ```
* doc: Misc formatting fixesRémi Verschelde2018-09-211-9/+4
|
* doc: Sync classref with current sourceRémi Verschelde2018-09-211-3/+3
|
* Fix typo in SimplexNoise documentationJFonS2018-09-201-1/+1
|
* Replace "persistance" with "persistence"JFonS2018-09-193-18/+18
| | | | | Replace "persistance" with "persistence" in the simplex code. Also made some minor fixes to the docs.
* Improve SimplexNoise documentation and fix typosHugo Locurcio2018-09-191-16/+16
| | | | | Spaces were added after code blocks to ensure correct rendering on the online class reference.
* Clearly deprecate sync too in favor of remotesync.Fabio Alessandrelli2018-09-151-1/+0
| | | | | NOTE: This changes the RPC_MODE_* enum values. Games should be re-exported. GDNative rebuilt.
* Add SimplexNoise and NoiseTexture as new resourcesJFonS2018-09-1410-0/+972
SimplexNoise can be used to generate parameterized fractal noise based on Open Simplex. NoiseTexture uses SimplexNoise to generate noise textures for using in shaders/visual effects.