200 Commits

Author SHA1 Message Date
Mario Zechner
8e28a32cf6 [ue] Closes #2537, null renderer object if UTrackEntry is destroyed. 2024-06-04 10:40:54 +02:00
badlogic
9471c408ce [ue] Fix compilation error on UE 5.2+ 2024-01-03 05:49:57 +01:00
Mario Zechner
401a149729 [ue] Remove PostLoadAssetRegistryTags usage for compatibility with UE 4.27 2023-11-29 00:43:18 +01:00
Mario Zechner
c960402c08 [c] Closes #2401, fixed incorrect allocation of TransformTimeline. 2023-10-23 13:18:04 +02:00
badlogic
65d68ed45f [ue] Temporary (disabled) hack to get atlas and skeleton assets to display in content browsers. This doesn't work, as the UE editor thinks the assets are cooked. It also only loads assets that are referenced. As soon as the references no longer exist, the assets are unloaded. See #2368. 2023-10-18 18:19:02 +02:00
Mario Zechner
c2425dbdde [ue] WIP for 5.3 content browser visibility fix. 2023-10-18 17:32:02 +02:00
Mario Zechner
087b2688db [c] Closes #2394, double free of sequences in mesh attachments. 2023-10-11 11:44:36 +02:00
Mario Zechner
f31f12d57e [ue] Fixes #2368, use the InName provided to FactoryCreateFile for the asset object name. 2023-10-05 11:58:31 +02:00
Mario Zechner
83fab4ad97 [ue] USpineWidget now reports its desired size. 2023-08-03 13:10:06 +02:00
Mario Zechner
4047f1ba07 Updated license headers. 2023-07-31 13:29:16 +02:00
Mario Zechner
468985bd35 [ue] Fix compilation error with Clang, closes #2301. 2023-06-07 13:52:03 +02:00
badlogic
a557db3a54 [ue] Closes #2257, import uses null attachment loader, leading to crash for mesh attachments. Also fixes atlas page fetch in renderer. 2023-02-27 12:50:21 +01:00
badlogic
7a4312a7ba [ue] Fix compilation errors after RendererObject change in spine-cpp. 2023-02-20 10:19:46 +01:00
Mario Zechner
13803ce644 Fix formatting. 2023-02-17 07:13:51 +01:00
badlogic
11f261ba1f [ue4] Fix world vertices buffer allocation in widget. 2023-02-14 16:24:43 +01:00
badlogic
b8a2facf93 [ue4] Reworked renderer component, does not fail GC when single attachment > 1000 vertices. 2023-02-14 13:43:53 +01:00
badlogic
39d544ce86 [ue4] Closes #2234, add SpineWidget::GetBonePosition in the skeleton coordinate system. 2023-02-07 15:26:10 +01:00
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