Juan Linietsky
59cdc5eb9d
Merge pull request #16898 from Lerc/master
...
add Image::bumpmap_to_normalmap conversion function
2018-04-08 15:52:05 -03:00
Neil Graham
4bea98de40
change bumpmap_to_normalmap range from [1...255] to [0...255]
2018-03-16 10:22:48 +13:00
Mavropoulos Ioannis
60b2ee1624
enhance mipmaps
2018-03-03 23:19:31 +02:00
Neil Graham
617d3cde1a
change to clang format
2018-02-24 13:59:02 +13:00
Neil Graham
bc7db7a08d
add Image::bumpmap_to_normalmap conversion function
2018-02-21 11:43:58 +13:00
Rémi Verschelde
9f479f096c
Fix typos in code and docs with codespell
...
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Jerome67000
b5885c43eb
Fix crash when using Image.resize() without calling Image.create() first
2018-01-06 13:20:45 +01: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
Juan Linietsky
474523d409
Revert "Add missing image format RGB10A2. Fixes #14964"
2018-01-03 16:43:07 -03:00
Rémi Verschelde
6d812ad27f
Merge pull request #15051 from binbitten/bug-fixes
...
Add missing image format RGB10A2. Fixes #14964
2018-01-03 10:17:48 +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
binbitten
267bad6b4c
Add missing image format RGB10A2. Fixes #14964
2017-12-25 21:01:01 +01:00
Juan Linietsky
c9d88fd8e8
Add functions to image to load a PNG or JPG from a buffer, closes #4024
2017-12-20 17:17:12 -03:00
Daniel J. Ramirez
59c2e8906a
Improved packed scene previews.
2017-11-17 21:42:14 -06:00
Rémi Verschelde
6361e24f29
Cleanup unnecessary debug prints
2017-10-21 20:41:07 +02:00
Comanche_Ak
51597b6d69
Fix Alpha Border bugfix
2017-10-13 20:19:33 +03:00
Gabriel
40dcf4a2e7
Change to shrink_x2 function preventing it set a 0 width/height
2017-09-30 17:21:10 -03:00
Ross Hadden
1a97d6455d
Fixed a bunch of typos, including an error code.
2017-09-21 23:58:29 -04:00
Hein-Pieter van Braam
9c63ab99f0
Fix use of unitialized variables
...
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-02 01:59:26 +02:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Andrii Doroshenko (Xrayez)
4de96518c8
Add handy get_size() method to Image class
2017-08-26 15:01:21 +03:00
Ignacio Etcheverry
32dd9a9f66
ClassDB: Provide the enum name of integer constants
2017-08-20 22:07:43 +02:00
Marcelo Fernandez
eab850524e
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-17 19:51:13 -03:00
Ignacio Etcheverry
2f290038d6
Removes type information from method binds
2017-08-10 07:17:50 +02:00
Poommetee Ketson
49c7620326
Add object type hint for docs
2017-07-19 02:03:34 +07:00
Poommetee Ketson
2fd204c35e
Refactor 'treshold' to 'threshold'
2017-07-08 22:24:56 +07:00
ducdetronquito
566655adc1
[ #9292 ] Renamed Image.put_pixel() to set_pixel().
2017-07-07 19:05:45 +02:00
dumitru-stama
9ce0538ab3
Added 'blit_rect_mask' for 3.0 too
2017-06-24 08:53:54 -07:00
Ignacio Etcheverry
a87c7f1328
Image: Fix wrong method DEFVAL
2017-06-23 03:51:36 +02:00
d
053a4fdcd9
Added two new methods to 3.0 'blend_rect_mask' and 'fill'
2017-06-18 11:29:37 -07:00
George Marques
b1537da605
Merge pull request #9231 from dumitru-stama/constimg
...
Fixed a bug in get_pixel not being const
2017-06-16 22:09:26 -03:00
Juan Linietsky
b19225bfce
-Fix freezes caused by etccomp2, closes #9183
...
-Normalmaps are now detected and imported as RGTC, both in S3TC and ETC2, this improves their quality.
2017-06-16 21:49:37 -03:00
dumitru.stama
7787700aca
Fixed a bug in get_pixel not being const
2017-06-16 17:29:05 -07:00
Benjamin Dahse
075997c563
Rewrite Image::blit_rect to use the following algorithm:
...
1. Let r1 be the source rectangle clipped against the entire source image rectangle.
2. Let r2 be r1 offset by p_dest, clipped against the entire destination image rectangle.
3. Copy pixels from r1 to r2.
2017-06-14 15:56:58 +02:00
Juan Linietsky
a8e845a474
Merge pull request #8548 from tagcup/etc2comp
...
Add ETC1/ETC2 compression support though etc2comp.
2017-06-13 19:17:13 -03:00
Juan Linietsky
612ab8fcdb
-Restored multithread capability to VisualServer
...
-Restored resource previews!
2017-06-09 00:24:18 -03:00
alexholly
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +02:00
Ferenc Arn
6a9c990da7
Add ETC1/ETC2 compression support though etc2comp.
...
Remove rg-etc1 code. Also updated travis to use ubuntu 14.04.
Fixes #8457 .
2017-05-31 18:59:00 -05:00
Juan Linietsky
a134f58fb3
rewritten PBR implementation to make it friendlier with Blender
2017-05-31 20:29:56 -03:00
Juan Linietsky
bb20f230ad
-Added .hdr format support
...
-Added default environment editor setting
-Added environment created by default in new projects
-Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-28 21:48:05 -03:00
Juan Linietsky
f89641907f
-Added EXR supprot for HDR (no BC6 compression yet though)
...
-Improvements to texture importer
-Proper detection of S3TC compression modes, and added all modes to Image
-Fixes to non-power of 2 compressed textures, which should all be supported by GLES3
2017-05-26 22:31:32 -03:00
Ferenc Arn
3c175115eb
Use libsquish to decompress DXT textures.
2017-05-18 16:57:53 -05:00
Rémi Verschelde
c3baf5eb3c
Fix two typos from previous commit
...
Also cleanup comments on variant types.
2017-05-17 18:45:56 +02:00
Juan Linietsky
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
Rémi Verschelde
2398eb6ed4
Move core thirdparty files to thirdparty/{minizip,misc}
2017-04-28 21:19:23 +02:00
iam13islucky
73a9a85bc9
[3.0] Fix bug in Image::_get_pixelb
...
Fixes issue:
https://github.com/godotengine/godot/issues/8158
2017-04-23 22:51:35 -06:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
Rémi Verschelde
5dbf1809c6
A Whole New World (clang-format edition)
...
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
2017-03-05 16:44:50 +01:00
Juan Linietsky
6f2e16306a
Several bugfixes, improving the import workflow
2017-02-06 00:38:39 -03:00
Juan Linietsky
2cd2ca7bbc
Lot of work in new importer, importing textures now works.
2017-02-01 09:46:36 -03:00