NathanSweet
bcf90240db
[libgdx] Fixed using path constraint length spacing with zero length bones. Safer float zero checks.
2017-10-19 12:44:00 +02:00
NathanSweet
33d4c60ac7
[libgdx] Don't mix from uninitialized vertices. Clear vertices instead of leaving them in current state before first key when alpha is 1. More efficient clearing of deform before first key.
2017-10-10 19:11:20 +02:00
NathanSweet
812510e948
[libgdx] Avoid batch flush when switching between normal and additive rendering with PMA.
2017-10-09 11:52:29 +02:00
NathanSweet
f06bfd9f16
[libgdx] Better exception message for Batch that can't render meshes.
2017-10-09 11:44:00 +02:00
Nathan Sweet
5e829cb006
[gdx] Changed pma flag to uniform. Added blendFuncSeparate.
...
Functionally the same but seems a bit cleaner versus using the dark color's alpha.
#1003
2017-09-30 15:42:01 +02:00
Nathan Sweet
8ab5ad4b6c
[gdx] Minor cleanup for PMA tint black.
...
#1003
2017-09-30 14:40:13 +02:00
badlogic
2c45dd2f1e
[libgdx] Ported new tint black shader. See #1003 . @nathansweet please have a look.
2017-09-30 09:27:08 +02:00
badlogic
221372e409
[libgdx] Fixed non-PMA rendering in SkeletonRenderer. Colors were always premultiplied by alpha.
2017-09-30 09:18:41 +02:00
badlogic
69923111b9
[libgdx] Breaking change: SkeletonRenderer no longer handles updating skeletons attached via SkeletonAttachment. Introduced new Skeleton#updateWorldTransform(Bone) that must be explicitely called by the user before rendering skeletons including attached skeletons. See SkeletonAttachmentTest for an example. Closes #1005
2017-09-27 14:03:05 +02:00
NathanSweet
e4ee88574f
[libgdx] Better Skeleton#setSkin javadocs.
2017-09-22 14:24:42 +02:00
Nathan Sweet
247d94f10b
[libgdx] Better exception message.
2017-09-04 13:41:34 +02:00
Nathan Sweet
c8d595565b
Fixed interrupting a mix with a new entry that has 0 mixDuration.
...
closes #970
2017-08-23 12:15:58 +02:00
NathanSweet
e62d8a921c
Merge remote-tracking branch 'origin/3.6' into 3.6
2017-07-31 13:15:03 +02:00
NathanSweet
a0b7bb6c44
[libgdx] Convenience method to add all attachment from one skin to another.
2017-07-31 13:14:58 +02:00
badlogic
84fe30a2bf
[runtimes] Fixed handling of zero length bones in PathConstraint if spacing is length based. Closes #957
2017-07-31 11:29:03 +02:00
badlogic
d950da644f
[xna] More clipping debugging
2017-07-21 16:12:34 +02:00
badlogic
8f6725db33
[libgdx] Fix applying flipping for noScale/noScaleOrReflection transform mode. See #951
2017-07-19 13:55:32 +02:00
NathanSweet
61e54a5771
[libgdx] Don't use DIP_MIX across tracks.
...
`DIP_MIX` finds the next entry which does NOT key the timeline property and mixes out the "dip fix" (which is where a timeline is fully applied because a subsequent timeline keys the same property). This handles the case of A->B->C->D where A, B, and C key the same property but D doesn't. A uses the dip fix, then when D mixes in, `DIP_MIX` causes A to mix out, affecting B and C. If D is in another track, it is applied concurrently with A, B, and C so should not cause A to mix out.
2017-06-24 03:06:50 +02:00
NathanSweet
1a92702456
Less odd control flow.
...
End result is the same.
2017-06-22 10:35:08 +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
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
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
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