1
0
mirror of synced 2024-12-19 09:45:53 +01:00
Commit Graph

100 Commits

Author SHA1 Message Date
Jennifer Taylor
284153ef2e Fix type errors with newest mypy. 2023-02-17 03:40:07 +00:00
Jennifer Taylor
df08de1339 Fix transform update tracking for affine transforms, fix special case where an animation wants to specify a transform but also wants to use the identity matrix. Fixes an issue with Cinder BG. 2022-11-21 02:04:55 +00:00
Jennifer Taylor
d9f9c54820 Fix HSL shift effect as applied to sprites with sub-sprites. 2022-11-20 23:26:27 +00:00
Jennifer Taylor
655efe7d4c Add a bit more debugging to help trace back objects to their sources. 2022-11-20 23:01:26 +00:00
Jennifer Taylor
3b10423955 Add hue/saturation/lightness shift support to AFP renderer to fix neo generator seven boss animation rendering. 2022-10-17 02:35:15 +00:00
Jennifer Taylor
25e162042a Format code with black, include wrapper script to handle that, update linter checks to accomodate, fix a few miscelaneous type errors. 2022-10-15 18:56:30 +00:00
Jennifer Taylor
d39a660eab Implement ability to override the canvas size, to render animations that overflow the canvas. 2022-07-26 23:25:35 +00:00
Jennifer Taylor
9dd3772380 Implement Pop'n-style _visible attribute to fix some artifacting on some renders. 2022-07-26 22:35:46 +00:00
Jennifer Taylor
5aee4f802e Fix some Pop'n animations that should loop failing to loop properly. 2022-07-26 22:27:27 +00:00
Jennifer Taylor
c4a5abaf4d Fix background elements disappearing when root clip is rewound. 2021-10-24 16:16:48 +00:00
Jennifer Taylor
38f8c94ed0 Fix frame control function to be invisible for X number of frames, instead of until frame X. 2021-09-20 05:05:14 +00:00
Jennifer Taylor
30fa4e6e1a Make child clips loop indefinitely, as it seems that newer games expect this. 2021-09-20 05:04:52 +00:00
Jennifer Taylor
b151afef69 Improve a few aeplib calls now that I understand them better. 2021-09-20 05:04:33 +00:00
Jennifer Taylor
a6e3ec524a Add debugging components options to AFP parser and renderer. 2021-09-20 01:16:40 +00:00
Jennifer Taylor
c2fa122a25 Add support for animated backgrounds, including previously rendered output. 2021-08-11 21:40:01 +00:00
Jennifer Taylor
ed5b5beda5 Small change necessary to attempt to render DDR PS3 animations. 2021-08-11 18:31:37 +00:00
Jennifer Taylor
d1a6c1abf6 Change to a slightly different (but probably equivalent) method of doing masking to avoid messing with the mask transform. 2021-08-10 23:37:08 +00:00
Jennifer Taylor
d04c366497 Fix edge case where bytecode tried to rewind an animation entirely and failed due to being outside of the frame boundary instead of starting from the first frame. 2021-08-10 23:36:39 +00:00
Jennifer Taylor
73a36e17c2 Fix anti-aliasing of rectangles so that they are always crisp. 2021-08-09 19:09:00 +00:00
Jennifer Taylor
f6bd2aef54 Fix perspective mask calculation. 2021-08-09 17:33:21 +00:00
Jennifer Taylor
af25448d47 Fix 3D objects in wrong position and scaling when entire animation is being scaled. 2021-08-05 17:35:10 +00:00
Jennifer Taylor
75bc9f975c More concrete selection of perspective/affine rendering engines. 2021-08-05 17:31:28 +00:00
Jennifer Taylor
b9b85bf146 Very primitive 3D transform support. Animations using cameras/3D now display with the proper perspective, but there are lots of issues. 2021-08-03 17:04:20 +00:00
Jennifer Taylor
44f6a7fee0 Slightly more correct transform updating. Does not currently matter but affects some 3D transforms. 2021-08-03 17:03:35 +00:00
Jennifer Taylor
52216cb56b Change the way we calculate visibility on hidden items. 2021-07-31 01:15:15 +00:00
Jennifer Taylor
cfba02ebee Better handling of "aep_set_frame_control", fixes a few Pop'n and IIDX animations. 2021-07-29 22:02:10 +00:00
Jennifer Taylor
de3f9107cd Address newest crop of lint issue with new flake8 tool. 2021-07-06 22:29:41 +00:00
Jennifer Taylor
debc7b3aac Switch to 4x4 matrix and 3D point for all transform operations. Should behave identically to before. 2021-07-06 21:58:32 +00:00
Jennifer Taylor
d9469babee Enable AA for rectangles, it appears this works now. 2021-06-13 15:34:30 +00:00
Jennifer Taylor
d68fd77975 Implement best guess as to what frame_control function should do. Still doesn't fix some Pop'n animations but they look closer? 2021-06-12 17:17:02 +00:00
Jennifer Taylor
7809ff360f More type changes for correctness in order to compile with mypyc in the future. 2021-05-31 18:13:43 +00:00
Jennifer Taylor
b022149d28 Convert anti-aliased rendering to an experimental enable, instead of enabled by default. 2021-05-31 18:12:06 +00:00
Jennifer Taylor
e6ffc983f7 Add simple anti-aliasing to texture renderer functions. 2021-05-30 04:16:25 +00:00
Jennifer Taylor
b864148c3e Refactor/reorganization of C++ modules. 2021-05-29 22:11:15 +00:00
Jennifer Taylor
161544e612 Sped up listing of paths a fair amount, added options for displaying size and number of frames. 2021-05-29 03:41:25 +00:00
Jennifer Taylor
2609047b03 Add a few more wrapper calls to our AEPLib implementation. 2021-05-29 00:21:42 +00:00
Jennifer Taylor
83457808e7 A bit of refactoring and debug messages. 2021-05-29 00:01:00 +00:00
Jennifer Taylor
bc46d83452 Add warning and command-line flag for working with animations that loop forever. 2021-05-25 02:01:36 +00:00
Jennifer Taylor
089eef1588 Implement AP2_IMAGE tag support into renderer. 2021-05-25 02:01:17 +00:00
Jennifer Taylor
7fd194d98b Hack/fix for SWFs with orphaned tags, I think this is correct? 2021-05-24 18:35:43 +00:00
Jennifer Taylor
838f151234 Suppress warnings for imported libs we don't need and reimplement anyway. 2021-05-24 17:38:56 +00:00
Jennifer Taylor
88564ae11d Add dummy asdlib for sound requests in some games. 2021-05-24 17:37:13 +00:00
Jennifer Taylor
ee6d848977 Fix context in which getInstanceAtDepth operates to fix some UNDEFINED object errors. 2021-05-24 17:36:57 +00:00
Jennifer Taylor
8b3ce489b1 Convert from rendering to a list of images to rendering in a generator so extremely long sequences can be rendered to pngs without OOM. 2021-05-24 17:36:34 +00:00
Jennifer Taylor
8622e0980c Fix bytecode frame updates being off by one frame. 2021-05-24 01:24:26 +00:00
Jennifer Taylor
7eb41a45e7 Implement support for adding a background image on top of the background color but below the animation. 2021-05-23 23:37:05 +00:00
Jennifer Taylor
cc5cdde995 Fix frame number display in verbose output. 2021-05-23 20:37:42 +00:00
Jennifer Taylor
56498f6154 Implement masking support. 2021-05-23 20:37:18 +00:00
Jennifer Taylor
9df33fcec3 Support simple frame control bytecode. 2021-05-23 20:33:05 +00:00
Jennifer Taylor
14c8ac9347 Implement the first bits of bytecode processing, including the ability to go to an animation frame. 2021-05-23 20:32:21 +00:00