Rémi Verschelde
bc9899fb9f
Merge pull request #24504 from harrisyu/AtlasCheckPixelOpaque
...
Fix #24470 Atlas Texture with margin setting cause error in editor.
2019-01-04 16:11:37 +01:00
Timo Schwarzer
163e0e3ebd
Add thumbnails to LargeTexture
2019-01-03 13:09:25 +01:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
harrisyu
9d6f16e864
Fix #24470 Atlas Texture with margin setting cause error in editor.
2018-12-20 21:40:40 +08:00
Shinryuuji
e24379e61f
Fix TextureLayered::create not retaining format
2018-12-20 12:35:22 +01:00
Aaron Franke
cb01268562
Fix many errors found by PVS-Studio
...
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-28 05:03:24 -05:00
Rémi Verschelde
0f4c30fb71
Merge pull request #22531 from DualMatrix/path_missing_video_memory
...
Made Debugger's Video Memory tab show correct resource paths.
2018-10-02 13:53:28 +02:00
DualMatrix
8f89e2b490
Made Debugger's Video Memory tab show correct resource paths.
...
Made Debugger's Video Memory tab show correct resource paths.
The Icons are still missing but that is due to the get_icon(type, "EditorIcons") for type = "Texture" being missing. Adding that icon would fix it.
2018-09-29 13:40:29 +02:00
Juan Linietsky
c83742ba86
-Lightmap and lightmap capture support for GLES2
...
-Added hint to not show some properties when running on low end gfx
2018-09-28 20:33:18 -03:00
Rémi Verschelde
2aad7f1376
Merge pull request #21569 from JFonS/add_noise_textures
...
Add SimplexNoise and NoiseTexture as new resources
2018-09-14 16:57:26 +02:00
JFonS
f12a1b8863
Add SimplexNoise and NoiseTexture as new resources
...
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.
2018-09-14 15:24:34 +02:00
Rémi Verschelde
cd0b82fd56
Mark AnimatedTexture frame_* properties as internal
...
This way they no longer appear in the documentation, and the related
setters and getters do.
2018-09-13 22:54:35 +02:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
Martin Capitanio
3f01fd5180
Set the lower bound for the GradientTexture width property to 1
...
Fixes #21522
2018-09-07 01:29:58 +02:00
Juan Linietsky
bca706b361
Revert "Fix some 3D texture issues"
2018-08-27 10:12:07 -03:00
elasota
30e20b6278
Partial fixes for 3D texture issues
2018-08-26 20:22:56 -04:00
Rémi Verschelde
dc09be4c57
Merge pull request #21156 from MednauN/atlas-texture-fix
...
Fix AtlasTexture with NinePatchRect and TextureProgress
2018-08-24 15:30:59 +02:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
Juan Linietsky
34e58fd831
Added a function to cache texture opacity at a pixel, and modified editor to use it.
...
Provides massive speedups to selecting objects, still awaiting for @MarianoGNU to do fixes to the region editor to improve performance.
2018-08-23 22:11:10 -03:00
Juan Linietsky
a1b594c2fc
Switched AnimatedTexture to a readers-writers lock, solves a race condition and fixes #20221
2018-08-23 13:28:36 -03:00
Poommetee Ketson
76adef2704
Fix arg name in docs, some copy-paste errors
2018-08-21 01:51:19 +07:00
pesets
15af0e9ec8
Fix AtlasTexture with NinePatchRect and TextureProgress
2018-08-18 23:06:38 +07:00
Juan Linietsky
c627f3a707
Attempting to workaround the problem present in #20904 , let me know if it works.
2018-08-15 13:24:52 -03:00
Juan Linietsky
ef5095720b
-Deprecate ImageTexture::load
...
-Add warning to Image::load when loading resources
-Add script binding for get_configuration_warning
2018-08-14 16:53:20 -03:00
Juan Linietsky
edde52c8de
Added proper import support for 3D and Array textures
2018-08-06 14:56:06 -03:00
Thomas Herzog
b4d3f541e7
add 3D textures
2018-07-30 12:20:27 +02:00
Hein-Pieter van Braam
0e29f7974b
Reduce unnecessary COW on Vector by make writing explicit
...
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
2018-07-26 00:54:16 +02:00
Chaosus
bde962dbdd
Fix crash when you pass invalid parameter to ImageTexture.set_data
2018-07-25 12:23:34 +03:00
Juan Linietsky
de910f8c26
Finally figured out how to implement AnimatedTexture properly.
2018-07-16 11:43:49 -03:00
Juan Linietsky
9b5275b135
-Hid texture flags by default so they dont take so much space
...
-make curve texture preview not so large, so its easier to embed the editor
2018-05-18 12:37:18 -03:00
Pieter-Jan Briers
622a754584
ImageTexture.load returns an error code.
2018-05-14 19:11:41 +02:00
Phil Jones
d1a471f909
Fix texture import spelling
2018-02-03 18:38:39 +00:00
Bojidar Marinov
9b8e8b2220
Bind many more properties to scripts
...
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
2018-01-12 00:58:14 +02:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
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.
2018-01-05 01:22:23 +01:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Juan Linietsky
edd3bd8cb8
Ability to set flags via code in StreamTexture, as some users find it useful. Fixes #14526 .
2017-12-26 12:50:46 -03:00
Juan Linietsky
5868754b01
Added a higher level wrapper for proxy texture
2017-12-04 16:54:17 -03:00
MrCdK
fec243ed56
Added filter_clip to AtlasTexture
2017-11-05 22:27:05 +01:00
Poommetee Ketson
bbab451dde
CubeMap: fix duplicate flags property
2017-10-22 10:28:02 +07:00
Rémi Verschelde
e0c14e6306
Merge pull request #12286 from NathanWarden/add_cubemap_properties
...
Added properties for CubeMap.
2017-10-21 23:44:06 +02:00
Poommetee Ketson
9cadb9e5f3
Bind unbound enums, rearrange some by value
2017-10-22 01:58:02 +07:00
Nathan Warden
5f7478e196
Added properties for CubeMap.
2017-10-21 13:23:32 -05:00
letheed
5ad9be4c24
Rename pos to position in user facing methods and variables
...
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.
2017-09-20 13:11:10 +02:00
Hein-Pieter van Braam
f9467ec1ea
Fix signed and unsigned comparisons
...
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01 08:13:12 +02:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Ignacio Etcheverry
32dd9a9f66
ClassDB: Provide the enum name of integer constants
2017-08-20 22:07:43 +02:00
Ignacio Etcheverry
2f290038d6
Removes type information from method binds
2017-08-10 07:17:50 +02:00
Ignacio Etcheverry
640a3c46c3
Texture: Fix wrong method bind instance type
2017-08-07 12:01:13 +02:00
Juan Linietsky
8e51c70374
Added missing binding to ImageTexture, closes #8371
2017-08-06 11:38:27 -03:00
Juan Linietsky
475e8b28b2
keep default exported script values unless overriden, closes #8127
2017-08-06 09:33:59 -03:00