summaryrefslogtreecommitdiffstats
path: root/editor/import/resource_importer_layered_texture.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@cb411fa960f0b7fdbd97dcdb4c90f9346360ee0eSpartan3222024-11-121-1/+1
|\
| * Allow passing UID to importerJuan2024-11-111-1/+1
| | | | | | | | | | | | | | This helps, for importers spitting out new resources to the res:// filesystem to actually hash them to generate deterministic UIDs. This PR also fixes the determinism for translations.
* | Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
| |
* | Merge commit godotengine/godot@af77100e394dcaca609b15bef815ed17475e51edSpartan3222024-10-151-5/+4
|\|
| * Merge pull request #97582 from BlueCube3310/basisu-hdrThaddeus Crews2024-10-141-5/+0
| |\ | | | | | | | | | BasisU: Update to 1.50.0 and add HDR support
| | * BasisU: Update to 1.50.0 and add HDR supportBlueCube33102024-10-121-5/+0
| | |
| * | Fix 3D HDR texture import with lossless compressionBlueCube33102024-10-041-0/+4
| |/
* / Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Fix slow editor load on large projects (v2)Hilderin2024-09-251-7/+5
|
* Cleanup of raw `nullptr` checks with `Ref`A Thousand Ships2024-08-311-1/+1
| | | | Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
* Add Betsy to speed up BC6 compressionBlueCube33102024-08-181-2/+0
|
* Register and cleanup resource importer singletons in a predictable wayYuri Sizov2023-08-071-2/+9
|
* Extract and reorganize texture resource classesHendrik Brucker2023-07-141-0/+1
|
* Check if the required texture format is imported in the export dialogAaron Franke2023-06-201-3/+4
|
* Fix ResourceImporterLayeredTexture::import() high_quality typenikitalita2023-03-251-1/+1
|
* Refactor high quality texture importJuan Linietsky2023-01-301-49/+75
| | | | | | | | | | | | | | | * Only two texture import modes for low/high quality now: * S3TC/BPTC * ETC2/ASTC * Makes sense given this is the general preferred and most compatible combination in most platforms. * Removed lossy_quality from VRAM texture compression options. It was unused everywhere. * Added a new "high_quality" option to texture import. When enabled, it uses BPTC/ASTC (BC7/ASTC4x4) instead of S3TC/ETC2 (DXT1-5/ETC2,ETCA). * Changed MacOS export settings so required texture formats depend on the architecture selected. This solves the following problems: * Makes it simpler to import textures as high quality, without having to worry about the specific format used. * As the editor can now run on platforms such as web, Mac OS with Apple Silicion and Android, it should no longer be assumed that S3TC/BPTC is available by default for it.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | 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".
* Rename Image's `get_rect` to `get_region`Micky2022-11-011-1/+1
| | | | Also renames its parameter to from "rect" to "region".
* Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde2022-10-311-5/+5
|\ | | | | | | Unify usage of GLOBAL/EDITOR_GET
| * Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-5/+5
| |
* | ResourceImporterLayeredTexture: rename compress modes to match enumDeeJayLSP2022-10-281-1/+1
|/
* Make some Image methods statickobewi2022-10-141-3/+1
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-9/+9
| | | | change warnings=all to use /W4.
* Make `ImageLoader` take bit field flagsYuri Sizov2022-08-231-1/+1
|
* Merge pull request #52212 from ↵Yuri Sizov2022-08-161-2/+5
|\ | | | | | | | | thenegativehunter2/master_texture_array_normal_added Add an import option to force TextureArrays as normal maps for RGTC Compression(redo)
| * Update editor/import/resource_importer_layered_texture.cppdarth negative hunter2021-09-171-1/+1
| | | | | | Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
| * Add an import option to force TextureArrays as normal maps for RGTCdarth negative hunter2021-08-291-2/+5
| | | | | | | | | | | | | | | | i have added the option to chose normal map for channel pack. this will force the to use red and green channels for the texture only. the option is added meaning it will not conflict with the existing settings. i have made this change as a response to my own proposal Bugsquad edit: Closes godotengine/godot-proposals#3184
* | Merge pull request #60299 from Calinou/editor-vram-compress-pc-improve-warningRémi Verschelde2022-08-061-3/+3
|\ \
| * | Improve warning message for invalid desktop VRAM compression settingsHugo Locurcio2022-04-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | - Display the source file path. - Display the valid compression algorithms on desktop platforms. - Use "desktop platforms" instead of "PC" to avoid ambiguity. - Use "may" instead of "will", as desktop platforms can still sometimes display ETC1/ETC2 textures depending on the GPU and drivers.
* | | Use integer types in Image and ImageTexture methodsFireForge2022-07-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Image.blit_rect() - Image.blit_rect_mask() - Image.blend_rect() - Image.blend_rect_mask() - Image.fill_rect() - Image.get_used_rect() - Image.get_rect() - ImageTexture.set_size_override()
* | | Replace most uses of Map by HashMapreduz2022-05-161-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* | Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-3/+1
| |
* | Merge pull request #58965 from TechnoPorg/remove-stex-occurrencesRémi Verschelde2022-03-111-8/+8
|\ \ | | | | | | Remove more occurrences of "stex"
| * | Remove more occurrences of "stex"TechnoPorg2022-03-101-8/+8
| | |
* | | Add missing i18n to various stringsHaoyu Qiu2022-03-071-1/+1
|/ /
* | Rename StreamTexture* to CompressedTexture*reduz2022-03-051-5/+5
| | | | | | | | | | | | * Its not and will not be used for streaming. * Streaming will be implemented in 4.1 and it will work different. * It makes more sense to be called CompressedTexture since it imports and compresses texture files.
* | Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-2/+1
| |
* | Faster CVTT by reducing quality.K. S. Ernest (iFire) Lee2022-02-041-83/+93
| | | | | | Make BC6 and BC7 CVTT faster while still having better quality than DXT5.
* | Vectors: Use clear() and has().Anilforextra2022-02-021-1/+1
| | | | | | | | | | | | Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
* | Remove support for PVRTC texture encoding and decodingHugo Locurcio2022-01-141-7/+0
| | | | | | | | | | | | | | On the only platform where PVRTC is supported (iOS), ETC2 generally supersedes PVRTC in every possible way. The increased memory usage is not really a problem thanks to modern iOS' devices processing power being higher than its Android counterparts.
* | Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | | | | | Happy new year to the wonderful Godot community!
* | Fix various typosluz paz2022-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
* | Add path to functions that return iporter optionsreduz2021-11-141-2/+2
|/ | | | | | | -Allows displaying custom options for specific file format variants -Added support for scene format import to retrieve custom options This PR is necessary for #54886 to be implemented properly.
* Fix duplicate conditions.Anilforextra2021-08-131-3/+0
|
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-2/+2
|
* Reorganize Project Settingsreduz2021-02-181-6/+6
| | | | | | | -Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Rename empty() to is_empty()Marcel Admiraal2020-12-281-1/+1
|
* Implement GPU Particle Collisionsreduz2020-10-091-1/+1
| | | | | | | | | | -Sphere Attractor -Box Attractor -Vector Field -Sphere Collider -Box Collider -Baked SDF Collider -Heightmap Collider
* Implement 3D textures as import and resource format.reduz2020-09-091-11/+102
|