613 Commits

Author SHA1 Message Date
NathanSweet
3c1c829e97 Remove unused import. 2017-06-21 21:25:26 +02:00
NathanSweet
5138d703f3 Merge remote-tracking branch 'origin/3.6' into 3.6 2017-06-21 15:46:38 +02:00
NathanSweet
a8e1faf4dd [libgdx] Fixed mixing unweighted meshes that aren't keyed on frame zero.
closes #925
2017-06-21 15:46:33 +02:00
badlogic
ddf38c0ce1 [libGDX] VertexEffect now also lets you modify UVs and light/dark color. 2017-06-21 14:35:55 +02:00
badlogic
c9de3116f0 [maven-release-plugin] prepare for next development iteration 2017-06-19 22:42:53 +02:00
badlogic
521f459764 [maven-release-plugin] prepare release spine-libgdx-3.6.34.0 2017-06-19 22:42:46 +02:00
NathanSweet
2ed0561322 Merge remote-tracking branch 'origin/3.6' into 3.6 2017-06-19 17:02:33 +02:00
NathanSweet
069e3e3236 Better atlas finding. 2017-06-19 17:02:24 +02:00
badlogic
9bd1153518 Updated examples and runtime demo code 2017-06-19 16:47:28 +02:00
NathanSweet
c5907b6714 [libgdx] Ignore clipping attachments with too few vertices.
Needed for editor, check not necessary for other runtimes.
2017-06-19 14:04:19 +02:00
NathanSweet
55b558064a Removed spineboy-old binary. 2017-06-17 18:00:02 +02:00
NathanSweet
8a78eb4cf5 [libgdx] Thread safety for acquiring next VertexAttachment ID. 2017-06-12 16:47:16 +02:00
NathanSweet
5540b47f21 Changed Timeline#apply to enum parameters, AnimationState special cases track 0 to apply setup pose before first key. 2017-06-12 02:48:58 +02:00
NathanSweet
a8577b78a7 Shift attachment IDs to reduce effort needed to compute DeformTimeline ID. 2017-06-10 18:28:16 +02:00
NathanSweet
45870ef028 Added vertex attachment IDs for DeformTimeline. 2017-06-10 18:21:15 +02:00
NathanSweet
464e9b3362 [libgdx] Removed sysouts.
Dang amateurs!
2017-06-02 00:09:59 +02:00
NathanSweet
ef6ccb84d3 [libgdx] Fixed deform timelines not mixing to/from setup pose. 2017-06-01 23:44:09 +02:00
NathanSweet
7e75c7c5b1 [libgdx] SkeletonViewer keeps loop state for tracks playing. 2017-06-01 23:43:30 +02:00
NathanSweet
1b4ac3ba8e [libgdx] SkeletonViewer clean up. 2017-06-01 21:14:49 +02:00
NathanSweet
088a870463 [libgdx] Return true from AnimationState#apply if any animation was applied.
Makes it easier to know when you don't need to call updateWorldTransform.
2017-06-01 21:14:34 +02:00
NathanSweet
787170fa46 [libgdx] Don't need an immediate mode renderer. 2017-06-01 16:48:04 +02:00
NathanSweet
ac72220dc0 [libgdx] Made Skin lookup object non-static.
closes #911
2017-05-28 23:15:58 +02:00
NathanSweet
b8da5a1d44 Clean up. 2017-05-27 17:54:24 +02:00
NathanSweet
42fa637508 [libgdx] Added vertex effects. 2017-05-27 17:43:18 +02:00
NathanSweet
d7c9feb0b5 [libgdx, c] Avoid relying on NaN behavior.
#903
2017-05-24 17:14:33 +02:00
NathanSweet
a69f9d579f Removed mixing from limit, dispose track entries ASAP.
#899
2017-05-24 03:32:36 +02:00
NathanSweet
1de5adf953 IK simplification.
Just when you thought it couldn't get any simpler.
2017-05-23 18:52:45 +02:00
NathanSweet
0f944b2baf Limit linked list by speeding up and removing old entries instead of snapping. 2017-05-18 02:37:05 +02:00
NathanSweet
be583ba96d [libgdx] Moved NaN fix when mixDuration is 0 to setTimelineData. 2017-05-17 15:23:42 +02:00
badlogic
6734145060 [libgdx] Fixed issue with mixDuration on dip mix entry being 0. Caused NaNs when applying mixing from 2017-05-17 13:53:57 +02:00
NathanSweet
2349356584 Fixed interruptAlpha NaN when there is no mixingFrom. 2017-05-17 02:12:19 +02:00
NathanSweet
6140ea31e9 AnimationState clean up. 2017-05-17 02:11:55 +02:00
NathanSweet
859dd76f78 Allow track entries to finish when timeScale is 0.
closes #806
2017-05-17 02:10:34 +02:00
NathanSweet
d7c4195bc7 Set limit to mixing from track entries. 2017-05-16 14:31:45 +02:00
NathanSweet
02660ddd0a Fixed dipping when mixing more than 2 animations that key the same property.
Fixes `a->b,a` where a and b key the same property.
2017-05-16 14:01:44 +02:00
NathanSweet
b882fb8c51 Support for multiple mixing without dipping.
The multiple mixing setting has been removed. Multiple mixing is always done and dipping is avoided for adjacent track entries.

This is pretty close to complete. Mixing `a -> b` where both key property `x` avoids dipping. If the mix is interrupted by `c`, the dipping is properly mixed out. However, if `c` *also* keys `x`, a dip is seen.

This is good test JSON data:
http://n4te.com/x/1948-6b1G.txt
The problem can be seen by doing `m1 -> m1-dup` then interrupting the mix with `m1`.

Related issues: #621, #815, #899, #900
2017-05-16 04:35:54 +02:00
NathanSweet
d94170b411 Formatting. 2017-05-07 08:43:35 +02:00
NathanSweet
9acf0621d0 [libgdx] Do less work for first bezier segment. 2017-05-07 08:43:35 +02:00
NathanSweet
fdc3419ab0 Removed unused imports. 2017-05-05 14:07:11 +02:00
badlogic
a97d18aafd [libgdx] Fixed leak in Triangulator 2017-05-04 14:03:24 +02:00
badlogic
8123422f33 [lua] Fixed SkeletonClipping. [corona] Refactored rendering, should be a bit faster as it avoids a bunch of copies. Fixed RegionAttachment to be in alignement with reference implementation 2017-05-04 13:17:54 +02:00
badlogic
1fafbd0cb7 [corona] Added coin sample, added clipping attachment loading, fixed bug in Corona renderer. 2017-05-03 14:45:25 +02:00
badlogic
d218cf1544 [lua] Added triangulator. 2017-05-03 13:44:34 +02:00
badlogic
537f033dad [c] Added SkeletonClipping and unit/leak test 2017-04-27 14:19:02 +02:00
badlogic
59eb90eb66 [c] Added Triangulator. Decomposition is leaking. 2017-04-24 13:58:55 +02:00
Nathan Sweet
7b40f0c4d0 Return number of clipping polygons.
For metrics in editor.
2017-04-21 15:07:10 +09:00
Nathan Sweet
a50ee49781 Renamed ConvexDecomposer to Triangulator. 2017-04-21 14:52:02 +09:00
Nathan Sweet
6454d76700 Revert AnimationState fix, which likely breaks mixing > 2 animations (even when multiple mixing is false, by using multiple tracks). 2017-04-21 13:18:15 +09:00
Nathan Sweet
6ceb623e54 Always use timelinesLast when not multipleMixing.
http://esotericsoftware.com/forum/Blend-Weirdness-in-Unity-3-5-7263?p=38334#p38334
2017-04-21 12:13:53 +09:00
badlogic
0fd553e75a [csharp][libgdx] Fixed indexing in RegionAttachment. [monogame][xna] Fixed SkeletonMeshRenderer clipping 2017-04-20 15:02:24 +02:00