344 Commits

Author SHA1 Message Date
badlogic
ace38dca5f [libgdx] Added convex decomposition to SkeletonRenderer. 2017-03-31 10:22:25 +02:00
Nathan Sweet
bc3cbf22e8 Clipping attachment loading, clean up. 2017-03-31 10:45:45 +09:00
badlogic
23fd36a5f1 [libgdx] Improved and cleaned up decomposer 2017-03-30 15:31:24 +02:00
badlogic
61d5a3de5a [libgdx] Working version of convex decomposer, can improve result by merging left over triangles at end of decomposition 2017-03-30 10:55:11 +02:00
badlogic
afd2a95594 [libgdx] Added first iteration of convex decomposer. Needs testing.2 2017-03-29 17:19:53 +02:00
badlogic
dc53f8d293 [libgdx] Clipper assumes counter clockwise order, easier to adapt decomposition algorithm that way 2017-03-29 14:30:11 +02:00
badlogic
a665b0e598 [libgdx] Inlined line intersection in clipper, faster on Android 2017-03-28 18:53:16 +02:00
badlogic
7245115a63 [libgdx] Early out if all edges of a triangle are outside the clip region 2017-03-28 18:16:45 +02:00
badlogic
242eaf2bcc [libgdx] Remove Array.add, avoid copying 2017-03-28 18:03:43 +02:00
badlogic
687a3ade7b [libgdx] SutherlandHodgman assumes clip area is given clockwise 2017-03-28 17:27:19 +02:00
badlogic
d368deb999 [libgdx] Android specific optimization, removed Math.signum call 2017-03-28 17:12:30 +02:00
badlogic
a10fd95e1b [libgdx] More micro optimizations for clipper. 2017-03-28 12:20:10 +02:00
badlogic
8866925570 [libgdx] Many micro optimizations, shaved off 40% of software clipping runtime. 2017-03-27 20:39:20 +02:00
badlogic
6ae0c319ac [libgdx] Minor cleanup & optimizations, timing code in ClipTest 2017-03-27 19:05:35 +02:00
badlogic
af3b5655fc [libgdx] Added software clipping to SkeletonRenderer. Requires a polygon sprite batch and convex clipping attachment. 2017-03-27 18:50:44 +02:00
badlogic
c73971eb4c [libgdx] Refactored clipping code to take array, offset, stride, added triangulation and barycentric interpolation of UVs. 2017-03-27 16:52:58 +02:00
badlogic
b3ac8a7f72 [libgdx] Added SutherlandHodgmanClipper and corresponding SoftwareClippingTest 2017-03-27 15:20:00 +02:00
badlogic
9a086a5c18 [libgdx] Renamed TrigUtils to SpineUtils. Added SutherlandHodgmanClipper and corresponding SoftwareClippingTest 2017-03-27 15:19:27 +02:00
Nathan Sweet
8d4d573104 Javadoc 2017-03-26 17:24:21 +09:00
Nathan Sweet
13c34e8751 Fixed the dipping problem by making multiple mixing optional and disabled by default. 2017-03-26 09:13:53 +09:00
Nathan Sweet
896585f92e Merge remote-tracking branch 'origin/3.6-beta' into 3.6-beta 2017-03-25 11:04:35 +09:00
Nathan Sweet
95b593ef1f Added WIP stencil-based clipping attachment. 2017-03-25 11:04:17 +09:00
badlogic
b2d4fa4012 Merged with master, pulling in change from MathUtils -> TrigUtils in spine-libgdx as well as Maven pom.xml 2017-03-24 14:15:24 +01:00
badlogic
787a525a93 [runtimes] Closes #842, sorting of transform constraints 2017-02-23 15:44:31 +01:00
badlogic
f617ff635f [runtimes] Added parsing of local/relative properties of TransformConstraints in SkeletonJson 2017-02-20 11:22:26 +01:00
badlogic
9045a73696 [libgdx] Fixed transform constraint binary reading, didn't read local/relative properties 2017-02-20 10:55:31 +01:00
NathanSweet
694214d729 Merge remote-tracking branch 'origin/3.6-beta' into 3.6-beta 2017-01-31 03:10:52 +01:00
badlogic
6d948697cf [libgdx] Fixed TWoColorPolygonBatch, wrong number of components specified for dark color vertex attribute. Can't do 3 components in libGDX for packed color, we send a 4 byte float 2017-01-30 17:14:16 +01:00
badlogic
e49b587fa8 Merged latest from master 2017-01-27 09:47:00 +01:00
badlogic
8f99571185 [ts][libgdx] Fixed TwoColorTimeline ordinal 2017-01-26 14:56:05 +01:00
NathanSweet
f3dbc650f8 [libgdx] MeshAttachment setParent should set worldVerticesLength. 2016-12-28 19:51:31 +01:00
NathanSweet
5bc5c6511e Formatting. 2016-12-27 16:54:58 +01:00
NathanSweet
6d87c3bddb Expose applied transform as public API, allow world transform to be modified. 2016-12-24 19:36:14 +01:00
NathanSweet
12c986806d worldToLocalRotation and localToWorldRotation utility methods.
http://esotericsoftware.com/forum/RegionAttachment-offset-7662?p=35770#p35770
2016-12-24 18:04:48 +01:00
NathanSweet
7dbf7c5268 Fixed recursion when calling setEmptyAnimations from a listener.
#797
2016-12-14 22:44:25 +01:00
NathanSweet
f6cf88103c Fixed recursion when calling clearTracks from a listener.
#797
2016-12-14 22:43:09 +01:00
NathanSweet
cdaaf295b2 Merge branch 'master' into 3.6-beta 2016-12-14 19:12:16 +01:00
NathanSweet
d77e1fbc53 Clear updateCacheReset when recomputing the update cache. 2016-12-14 19:12:02 +01:00
NathanSweet
d1de3ce22a Reduce bone transforms for local transform constraints.
This is totally right in all scenarios. Right? Right.
2016-12-14 18:30:56 +01:00
NathanSweet
e80b5bc7c9 Added local and relative to transform constraint. 2016-12-14 03:14:52 +01:00
NathanSweet
98b4f3870d Docs. 2016-12-12 14:45:35 +01:00
NathanSweet
2677eff35c [libgdx] Use binarySearch method without step param. 2016-12-07 23:51:12 +01:00
NathanSweet
6fb9a4e991 Merge branch 'master' into 3.6-beta 2016-12-06 16:57:05 +01:00
NathanSweet
c512ee5d59 [libgdx] Don't fire event or complete events when mixDuration is 0.
closes #795
2016-12-06 13:34:17 +01:00
NathanSweet
c136596bff Fixed bone debug rendering. 2016-12-02 13:58:15 +01:00
NathanSweet
b32957bfe0 [libgdx] Default trackEnd to max value, even for non-looping animations.
There will always be a use case where you need to change `trackEnd` from the default value, but it's simpler if the default value is the same for both looping and non-looping animations.
2016-12-01 20:19:57 +01:00
NathanSweet
a6ac746b4f [libgdx] Avoid setting a NaN mixAlpha.
http://esotericsoftware.com/forum/UNITY-5-4-1f1-BUG-ArithmeticException-NAN-7135?p=34824#p34824
2016-12-01 17:29:04 +01:00
NathanSweet
c79dee0dc8 Fixed two color shader. 2016-12-01 14:36:55 +01:00
NathanSweet
e11cd56bac Fixed point attachment world rotation. 2016-12-01 14:36:47 +01:00
NathanSweet
efd0b31723 Added PointAttachment. 2016-11-30 01:11:09 +01:00