183 Commits

Author SHA1 Message Date
badlogic
4babd19eee Merge branch '4.1' of https://github.com/esotericsoftware/spine-runtimes into 4.1 2022-10-31 13:21:44 +01:00
badlogic
cfb688c726 [ue4] Closes #2144, allow setting skeleton data of widget at runtime. 2022-10-31 13:21:33 +01:00
Mario Zechner
3493de7fe8 Formatting 2022-10-28 10:40:38 +02:00
badlogic
d8396435d3 [ue4] Closes #2172, check state before returning Spine::Skeleton 2022-10-24 14:31:26 +02:00
Mario Zechner
669af9f6bb Formatting. 2022-09-15 08:37:55 +02:00
Mario Zechner
25719370c7 [ue4] Call computeWorldVertices before fetching renderer object. See #2154. 2022-09-15 08:36:00 +02:00
badlogic
91a26443a9 Merge branch '4.0' into 4.1 2022-07-04 14:01:12 +02:00
badlogic
de5f8cd469 [ue4] Fix formatting. 2022-07-04 14:00:50 +02:00
GGgRain
a85765d4d9
[ue4] Black Spots and Normal Flipping Bug Fixes By CCW Resolve (Old Title : Normal Generation Improvement) (#2096)
* [ue4] Normal Generation Improvement

All the vertex normals now face correct direction. It will prevent some of the flicker in some occasions.

* [ue4] A Huge Rendering Improvement

A really huge upgrade for the rendering.
Now the renderer can resolving CCW of the triangles to remove the black spot of some parts, and it now has much more simple normal generation.
There is no need to restrict the movement of the joint / bone to avoid some ugly black spots being rendered from now, just do it without even thinking about it!
And also the flicking bug that caused by the normal flipping bug has been fixed with it, so now you can use lit material more practically with spine. Try to create some cool scenes with a great light setting!
2022-07-04 13:11:56 +02:00
badlogic
918b27fd0c [ue4] Fix return type of UTrackEntry::isValidAnimation(). 2022-06-09 14:29:35 +02:00
Mario Zechner
771c526915 Formatting pass. 2022-05-31 12:26:05 +02:00
badlogic
6ae5f61d39 Merge branch '4.0' into 4.1-beta 2022-05-02 18:31:13 +02:00
badlogic
e6688e2514 [ue4] Closes #2032, set bGenerateMirroredCollision when SpineSkeletonRenderer has negative scale. 2022-05-02 18:30:43 +02:00
badlogic
df62c399df Merge branch '4.0' into 4.1-beta 2022-05-02 18:20:30 +02:00
badlogic
614b2749f7 [ue4] Closes #1993, don't generate collision meshes in editor. 2022-05-02 18:19:48 +02:00
badlogic
83df6b7316 Merge branch '4.0' into 4.1-beta 2022-04-21 14:05:53 +02:00
badlogic
0db28c0a46 [ue4] Fix UE5 compilation errors. Closes #2071 2022-04-21 14:05:20 +02:00
Mario Zechner
2022713bd2 [c][cpp] Formatter pass. 2022-03-25 13:31:58 +01:00
badlogic
6ff8b8d415 [ue4][cpp] Fix TextureFilter name conflict in UE4 unity builds
We renamed TextureFilter to SpineTextureFilter in UE4 builds to resolve the name collision with UE4's TextureFilter.
2022-03-25 12:32:44 +01:00
badlogic
8910c458e8 [ue4][cpp] Switched to IWYU build for much improved rebuild times.
Cleaned up spine-cpp and removed UE4 specific code.
2022-03-25 12:20:57 +01:00
badlogic
5adf03afcf [ue4] Better version check, fixes #2045 2022-03-24 14:30:15 +01:00
badlogic
5ff511d6fb Merge branch '4.0' into 4.1-beta 2021-12-23 17:05:22 +01:00
badlogic
d065c88ca8 [ue4] Fixes #2006
Users project recursively generates UIs, which leads to extremely long resource names. Eventually, assigning such a name to a brush results in an assertion being triggered, as the name is too long. Fixed on our end by creating a custom resource name instead of reusing the name of the material. User still has to clean-up their code.
2021-12-23 17:04:57 +01:00
badlogic
85514b729d [ue4] Fix version check, update assets. 2021-12-23 15:48:03 +01:00
badlogic
ccc450f624 [ue4] Fix up compilation errors. 2021-12-23 15:30:20 +01:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Nathan Sweet
7d6cdcd9d8 Applied oxipng. 2021-08-04 18:44:16 -04:00
badlogic
2824e22846 [ue4] Fix offset calculation of widgets, closes #1914 2021-07-23 16:01:17 +02:00
badlogic
fbfbb9a3f2 [ue4] Fix version check of binary files. 2021-07-23 15:59:32 +02:00
badlogic
0dcdfd411d [ue4] Prevent clang-format from reordering includes
.generated.h files must come last, but there's no way to specify this to clang-format.
2021-07-01 12:13:15 +02:00
badlogic
fa2dd77305 [ue4] Revert header order imposed by spotless. 2021-07-01 11:46:54 +02:00
badlogic
87658c7d31 [c][cpp] Spotless formatter 2021-07-01 10:40:18 +02:00
badlogic
7b0d71568b [ue4] Set mixes on native Spine data upon retrieval via Atlas. Closes #1772 2021-06-19 15:43:33 +02:00
badlogic
50de8ea77c [ue4] Added USpineSkeletonComponent::SetSlotColor(). Closes #1904. 2021-06-19 15:06:00 +02:00
badlogic
5ab00ab901 [ue4] Update assets to 4.0, fix version check. 2021-04-09 15:17:32 +02:00
Harald Csaszar
ac23599638 Merge branch '3.8' into 4.0-beta 2021-02-25 12:00:57 +01:00
Harald Csaszar
0e5d7adf1c [ue4] Added preview skin / initial skin functionality for USpineWidget. Closes #1845. 2021-02-25 11:58:40 +01:00
Harald Csaszar
dbb10f36f6 Merge branch '3.8' into 4.0-beta 2021-01-21 14:54:00 +01:00
Harald Csaszar
9032040503 [ue4] Generated normals are now correctly being flipped at back-faces. Closes #1830. 2021-01-14 20:42:43 +01:00
Harald Csaszar
a088270186 [ue4] Modifying parent materials (of the four blend modes) updates material instances again. Closes #1791. 2021-01-12 20:18:23 +01:00
badlogic
59f1fbeaf7 Merge branch '3.8' into 4.0-beta 2020-08-26 15:54:20 +02:00
badlogic
e31b7d581f [ue4] Closes #1671, only import Spine specific .json files. 2020-08-26 15:53:34 +02:00
badlogic
3cace69884 Merge branch '3.8' into 4.0-beta 2020-08-26 15:30:24 +02:00
badlogic
402ef55141 [ue4] Closes #1707 and related issues
UspineSkeletonDataAsset would only retain mapping from one spine::Atlas to a single spine::SkeletonData internally. If two SkeletonAnimationComponents reference the same skeleton data asset, but different (or invalid atlases), the old skeleton data gets destroyed. If the atlas and skeleton data don't match, then a previously created animation component may now hold on to a reference to destroyed skeleton data, triggering a crash.
2020-08-26 15:29:37 +02:00
Mario Zechner
2465cef151 Merge branch '3.8' into 3.9-beta 2020-03-30 16:22:39 +02:00
Mario Zechner
70e7519813 [ue4] Apply V1 default settings in build.cs only for UE 4.24 and later. Previous versions don't have that setting. Closes #1631. 2020-03-30 16:22:15 +02:00
Mario Zechner
7089947ecc [ue4] Updated example project to UE 4.24.3. Fixed up plugin module headers and build.cs files to conform to the new UBT rules. We use the V1 default settings for now, to keep compatibility with older UE4 versions. 2020-03-30 15:55:13 +02:00
badlogic
934bec56b7 Merge branch '3.8' into 3.9-beta 2019-12-20 12:27:35 +01:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
badlogic
c0699e23a0 [ue4] Added blueprint node for SpineWidget and SpineSkeletonComponent. Expects an array of skin names. Creates a new spine::Skin internally from those skins and applies it to the skeleton. Closes #1416, closes #1534. 2019-12-19 16:02:46 +01:00