494 Commits

Author SHA1 Message Date
Nathan Sweet
1254b06a91 Fixed AnimationState tests, added notes. 2017-04-01 16:59:40 +09:00
Nathan Sweet
058b7587e1 More prettying. 2017-04-01 10:31:38 +09:00
Nathan Sweet
6e97b7e75f Swapped light, dark. 2017-04-01 09:06:29 +09:00
Nathan Sweet
7235f7c6b1 Moved SkeletonClipping to utils, since it isn't public API. 2017-04-01 08:52:06 +09:00
Nathan Sweet
7829b39e00 Added spiral test. 2017-04-01 08:48:40 +09:00
Nathan Sweet
cf9103d1f5 Missed one.
:D
2017-03-31 20:02:55 +09:00
Nathan Sweet
57535b68dd Applied Nate's beautifier and standard set of useless optimizations. 2017-03-31 19:52:06 +09:00
badlogic
241c7980f8 Merged with origin 2017-03-31 11:23:11 +02:00
badlogic
9ca215f2e9 [libgdx] Refactored SkeletonRenderer, moved clipping related code to SkeletonClipping, removed stencil clipping 2017-03-31 11:18:39 +02:00
Nathan Sweet
ea6319820f Fixes for clipping. 2017-03-31 17:45:33 +09:00
badlogic
1675658f1a Merged with Nate's changes 2017-03-31 10:25:45 +02:00
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
b8a603d6af [libgdx] Fixed up software clipping test 2017-03-30 16:03:37 +02:00
badlogic
23fd36a5f1 [libgdx] Improved and cleaned up decomposer 2017-03-30 15:31:24 +02:00
badlogic
1617eae131 [libgdx] Generating random concave polygons is hard. 2017-03-30 11:40:19 +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
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