776 Commits

Author SHA1 Message Date
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
019a8e6587 [libgdx] Using Raptor for clip test, better worst case approximation 2017-03-27 19:26:35 +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
badlogic
0b40dd7a9f Updated exports 2017-03-27 10:19:51 +02:00
Nathan Sweet
8d4d573104 Javadoc 2017-03-26 17:24:21 +09:00
Nathan Sweet
e4320e281f Fixed Skeleton Viewer loading with mixing multiple checked. 2017-03-26 12:49:42 +09:00
Nathan Sweet
6c2ec1b46b Moved multiple mixing checkbox. 2017-03-26 09:17:42 +09:00
Nathan Sweet
b4e927f539 Added multiple mixing checkbox to the Skeleton Viewer. 2017-03-26 09:14:10 +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
4863ce8bfc Scale reset button now reloads skeleton even if scale is 1. 2017-03-26 07:46:40 +09:00
Nathan Sweet
89773820b1 Reverse SV zoom direction. 2017-03-26 06:33:49 +09:00
Nathan Sweet
c46d0ddde0 Separated zoom and scale sliders, added reset buttons, mouse wheel zoom. 2017-03-25 11:56:46 +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
011aca7b25 [skeletonviewer] Uses camera instead of reload + scale. Allows to debug runtime issues more easily 2017-03-23 10:25:26 +01:00
badlogic
787a525a93 [runtimes] Closes #842, sorting of transform constraints 2017-02-23 15:44:31 +01:00
badlogic
a04c0088cb Merge branch 'master' into 3.6-beta 2017-02-23 14:38:23 +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
badlogic
80a0bc90ab Fixed pan in SkeletonViewer 2017-02-09 11:21:42 +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
fe8eae4b8e [c] Ported 3.6 changes, two color timeline, changed updateWorldVertices to computeWorldVertices, point attachment, transform constraint local and relative mode. Does not actually render two color tinted slots yet. Also updated example exports 2017-01-30 16:31: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