Repository navigation
[Lottie Exporter] Add support for blur layers - #1505
Conversation
|
This pull request introduces 6 alerts when merging b6596e3 into d72bbc9 - view on LGTM.com new alerts:
|
|
It seems Lottie doesn't support Gaussian blur for paths in Shape layer which is what's used to create Rectangle, Circle, star etc. Other than that Blur is working now minus Group layer. |
|
This pull request introduces 1 alert when merging 1749be1 into 67b1ab7 - view on LGTM.com new alerts:
|
|
Note : Synfig uses all the blur layers above the layer on which the blur is being applied while Lottie does not do this by default. To overcome this, what I'll do is calculate the maximum value at each waypoint considering blur values at all the layers above the layer blur is being applied to so that this can be applied in Lottie. |
|
@saurabh-ramola Lets have a video chat regarding this some time tomorrow. I have some thoughts regarding it. |
|
This pull request introduces 1 alert when merging 1749be1 into 67b1ab7 - view on LGTM.com new alerts:
|
@AnishGG , based on the discussion and inputs today, this issue has been fixed it seems. Do let me know what you think of it. |
Amazing! |
|
This pull request introduces 1 alert when merging fd3cb3d into 2e0b896 - view on LGTM.com new alerts:
|
|
Tagging the original issue here : #1419 |
|
@saurabh-ramola the PR build is failing. One of the lottie file fails to build: [FAIL] /home/travis/build/synfig/synfig/synfig-tests/export/lottie/002-image.sif |
Had left a stray undefined variable inside a file, have removed it now ^__^ |
|
This pull request introduces 1 alert when merging 3c025ec into 15080f9 - view on LGTM.com new alerts:
|
|
@saurabh-ramola Can you check the LGTM warning, please? |
My bad, corrected it now. |
|
@AnishGG waiting for your approval before the merge |
Yup, I will test it today and get back here. |
AnishGG
left a comment
There was a problem hiding this comment.
I tested your PR, and it is working perfectly. ^___^
I have some doubts and suggestions, could you please check those.
Also, Please mention in synfig docs, that blur layer is not supported for outlines, and all the shapes because it is not provided by lottie.
|
@ice0 I think this is ready to be merged. :D |
|
@saurabh-ramola can you add files to CMakeLists.txt too? |
Hi, apologies for the delayed response but can you tell me which CMakeLists.txt I need to add the files to as I have no idea about Cmake. |
|
@ice0 did you mean this file: https://github.com/synfig/synfig/blob/master/synfig-studio/plugins/lottie-exporter/CMakeLists.txt ? |
Yes.
Yeah, this is standard way, but as we don't building plugins using c++, I want to try invert logic - copy everything and exclude unneeded. This is why all files is listed here: https://github.com/synfig/synfig/blob/master/synfig-studio/plugins/lottie-exporter/CMakeLists.txt#L8 |
|
@saurabh-ramola Nothing needs to be done for edited files but for new files, you can add those in the list here.
@AnishGG We only have to move those files into the build folder, so since we are not doing any operation other than that, it's a better idea to keep just one CMake file here |
|
Wooops. Looks like @ice0 got here first hehehe. But yeah, same logic that he meant. |
4ded21d to
ac53d9e
Compare
|
@ice0 can you review this PR ^___^ |
|
@ice0 I am working on shade layer and I need some parts of this PR for it to work. Can you merge this ASAP if there's no problem at your end with this PR. |
|
Merged. Thank you! |
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
- Convert methods not working with radius of simple circle layer (#1101) - [Lottie exporter] Add support for variable gamma correction (#1174) - Changes made to offsetKeyFrame file (#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (#1236 #1254 #1286 #1363 #1409 #1447 #1446 #1516 #1515 #1593 #1586 #1619 #1606 #1650 #1587) - Add support for blur layers (#1505) - Add support for Outline layer without variable widths (#1647) - Improve support for exported values (#2182) - Some code cleanup (#1199 #1213 #1226 #1456 #2061)
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
Added support for blur layer minus radial blur.
A few tweaks needed for correcting the ordering of layers.