aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/texture.cpp
Commit message (Collapse)AuthorAgeFilesLines
* -Hid texture flags by default so they dont take so much spaceJuan Linietsky2018-05-181-0/+2
| | | | -make curve texture preview not so large, so its easier to embed the editor
* ImageTexture.load returns an error code.Pieter-Jan Briers2018-05-141-3/+6
|
* Fix texture import spellingPhil Jones2018-02-031-1/+1
|
* Bind many more properties to scriptsBojidar Marinov2018-01-121-17/+8
| | | | | | | Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Ability to set flags via code in StreamTexture, as some users find it ↵Juan Linietsky2017-12-261-0/+2
| | | | useful. Fixes #14526.
* Added a higher level wrapper for proxy textureJuan Linietsky2017-12-041-0/+69
|
* Added filter_clip to AtlasTextureMrCdK2017-11-051-3/+20
|
* CubeMap: fix duplicate flags propertyPoommetee Ketson2017-10-221-1/+0
|
* Merge pull request #12286 from NathanWarden/add_cubemap_propertiesRémi Verschelde2017-10-211-2/+4
|\ | | | | Added properties for CubeMap.
| * Added properties for CubeMap.Nathan Warden2017-10-211-2/+4
| |
* | Bind unbound enums, rearrange some by valuePoommetee Ketson2017-10-221-1/+1
|/
* Rename pos to position in user facing methods and variablesletheed2017-09-201-3/+3
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Fix signed and unsigned comparisonsHein-Pieter van Braam2017-09-011-2/+2
| | | | The first in my quest to make Godot 3.x compile with -Werror on GCC7
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-31/+34
|
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-17/+17
|
* Texture: Fix wrong method bind instance typeIgnacio Etcheverry2017-08-071-1/+1
|
* Added missing binding to ImageTexture, closes #8371Juan Linietsky2017-08-061-1/+1
|
* keep default exported script values unless overriden, closes #8127Juan Linietsky2017-08-061-0/+1
|
* Merge pull request #8209 from robertdhernandez/Texture-Region-Editor-SyncRémi Verschelde2017-08-011-3/+7
|\ | | | | Texture region now updates when changing an Atlas region rect
| * Texture region now updates when changing an AtlasRobert Hernandez2017-06-291-3/+7
| | | | | | | | | | | | | | | | | | - Removed atlas_changed signal for AtlasTexture - Changes are now handled by _notify_change - Removed unneccesary signal connections - Texture preview now updates in real-time Fixed TextureRegionEditor constantly regenerating
* | Add object type hint for docsPoommetee Ketson2017-07-191-2/+2
|/
* Reworked translation systemJuan Linietsky2017-06-281-8/+11
| | | | | -Label and Button reload translation on the fly -Resources are loaded and reload depending on locale
* Curve featuresMarc Gilleron2017-06-261-38/+6
| | | | | | - Ability to set tangents as linear - Indicative min and max values - CurveTexture doesn't need min and max anymore
* BuildSystem: generated files have .gen.extensionPoommetee Ketson2017-06-251-1/+1
|
* GradientTexture now uses a GradientMarc Gilleron2017-06-241-133/+27
| | | | | - Added gradient property - Deleted duplicate code
* Added Curve resourceMarc Gilleron2017-06-241-182/+56
| | | | | | - New resource for curves in y(x) form - CurveTexture now has a Curve - Curve and CurveTexture share the same editor
* Texture rect_region drawing now clamps UV to avoid bleeding. This avoids ↵Juan Linietsky2017-06-181-11/+11
| | | | scenarios like single-texture tilemap tiles leaking pixels to the next tile when filter is enabled on it.
* Add normalmap support for drawing in all low level primitives. Only added ↵Juan Linietsky2017-06-171-34/+48
| | | | support in Sprite so far.
* -Fix freezes caused by etccomp2, closes #9183Juan Linietsky2017-06-161-1/+19
| | | | -Normalmaps are now detected and imported as RGTC, both in S3TC and ETC2, this improves their quality.
* -Restored multithread capability to VisualServerJuan Linietsky2017-06-091-0/+4
| | | | -Restored resource previews!
* renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-19/+19
|
* many fixes to image loader, voxel cone tracing, etc.Juan Linietsky2017-06-021-2/+2
|
* Merge pull request #8869 from Hinsbart/errorsRémi Verschelde2017-05-251-4/+0
|\ | | | | Fix errors on engine startup.
| * Fix errors on engine startup.Andreas Haas2017-05-221-4/+0
| | | | | | | | | | | | | | | | | | Fixes a bunch of the most spammy console errors introduced by recent refactorings: - `AudioServerState` does not exist, this was the reference to it in the source. The surrounding code made it clear that `AudioServerLayout` was meant to be used instead. - `StreamCSVTranslation` same here, it's the only reference. I went with `Translation` here, but I'm not 100% sure on this one. - Some methods have been moved from `Texture` to `Image`, but the old bindings were still there. - A few `name == ""` errors related to duplicating nodes.
* | Fix stex import into black textures when lossless and lossy are selected, ↵Juan Linietsky2017-05-231-1/+2
|/ | | | closes #8801
* Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-171-91/+56
|
* Fix property warnings and hide some debug printsRémi Verschelde2017-04-231-7/+9
| | | | | | | | | | "ALL IS GOOD" was a lie. In particular, removes verbose "path not recognized" false positive. The actual logic is to (somewhat naively) check all ResourceFormatLoaders and to pick the first good match, so no need to warn about the formats that do not match the type hint.
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* New particle system, mostly working, some small features missing.Juan Linietsky2017-04-061-0/+468
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-611/+486
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* a ton of bug fixes to the rendererJuan Linietsky2017-02-161-0/+5
|
* Many fixes to make exported scenes work better, still buggy.Juan Linietsky2017-02-151-0/+6
|
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-54/+54
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-9/+9
| | | | This saves typing and is a step towards fixing #56
* Several bugfixes, improving the import workflowJuan Linietsky2017-02-061-0/+44
|
* Lot of work in new importer, importing textures now works.Juan Linietsky2017-02-011-0/+329
|