Comments (21)
@FrayxRulez thanks for the bug report. Do you have the AEP file as well? Or any other lottie JSON files that also demonstrate the same incorrect behavior?
Reducing these animations to a minimal repro is a struggle across all Lottie implementations at present.
from lottie-windows.
I have a minimalized version of the same animation, with just head shape and eyes:
minimal.json
from lottie-windows.
I see that we're painting in the wrong order, but I'm having trouble figuring out what the correct order should be. In your minimal.json, layer indexes are:
21 - shoulders
20 - head
25 - eye
26 - eye
Currently we draw in decreasing order of index, but doing that for minimal.json draws the eyes before the head. I'm wondering if maybe this isn't a problem with order, but with a mask or a matte or a blend or something that should allow the eyes to show through from behind. There's definitely something special about your file, I'm just not sure what it is yet!
Can you give me any more hints. Breaking it down further to just the head and the eyes would help although I can do that myself with some effort on the JSON. Even better would be an AEP of the minimalized JSON.
from lottie-windows.
I am facing a similar problem
The following screenshots though might appear different are the same one from Web, other from Windows app.
It works properly in Web, IOS and android.
from lottie-windows.
@NikhStash thanks for the repro; will take a look.
from lottie-windows.
@NikhStash can you re-attach your json file? I'm not sure if it disappeared or if I missed it in the first place.
from lottie-windows.
Here is the json file for this
pwl_pushnotification.zip
from lottie-windows.
Are any steps being taken on this, if so any info on when this can be cleared!
from lottie-windows.
@NikhStash: I pushed the latest changes in master to the Lottie Viewer app a couple of days ago. Can you try it out? Your issue does not repro (even though your file results in warnings) / has been fixed.
The changes in master will be published in version 6.0, which should be released in about a month. If you want the fix earlier, you can grab the nuget from Azure DevOps here.
from lottie-windows.
I've finally managed to reduce @FrayxRulez's animation to a minimal repro with a single shape group that is stacked as follows:
- Path for left eye socket
- Path for face
- Yellow Fill
The expected outcome is:
where the eye socket is actually transparent (white background).
from lottie-windows.
Thanks, @sohchatt. It was not working in the previous build, but it is working perfectly in the latest build that you have specified.
from lottie-windows.
@NikhStash: I pushed the latest changes in master to the Lottie Viewer app a couple of days ago. Can you try it out? Your issue does not repro (even though your file results in warnings) / has been fixed.
The changes in master will be published in version 6.0, which should be released in about a month. (https://dev.azure.com/dotnet/WindowsCommunityToolkit/_build/results?buildId=20753&view=artifacts).
I have installed 6.0 version but it doesn't work. In this version, the screen is completely blank. It doesn't even show the faulted UI. Could you please share the working build again. And when can I expect a proper build.
from lottie-windows.
I actually had to move away from this library and I made my own porting of rlottie using Win2D.
from lottie-windows.
Actually @FrayxRulez I was asking @sohchatt . Sorry for the confusion.
@sohchatt If you don't remember what I'm talking please refer: #124 (comment)
I have installed 6.0 version but it doesn't work. In this version, the screen is completely blank. It doesn't even show the faulted UI. Could you please share the working build again. And when can I expect a proper build.
from lottie-windows.
@ajbennet / @scott-moore-ms / @simeoncran should be able to help you.
from lottie-windows.
Thanks @sohchatt for looping us in. @NikhStash, we are looking into this. Will keep you posted as soon as we know. Thanks.
from lottie-windows.
Thank you @ajbennet. Please let me posted.
from lottie-windows.
@ajbennet any update on the issue.
from lottie-windows.
@NikhStash this is working for me on the 6.1 preview code. Can you try it?
from lottie-windows.
Closing this for now because I think this is working now. The original FrayxRulez issue has also been solved. This is still one remaining issue for the FrayxRulez file due to multiple animated, which we will work on separately. Please reopen if you are still seeing issues.
from lottie-windows.
And the one remaining issue is fixed with: #274.
from lottie-windows.
Related Issues (20)
- Q: What is the codegen process for LottieViewer_04_Playback and UiFeedbackAnimations HOT 3
- Can this library be used by win32 program? HOT 2
- How to set the animatedvisuals from the code behind? HOT 1
- Wrong generated .CS HOT 1
- LottieGen generates faulty optimized animation HOT 3
- Bug in opacity translation
- How to use lottie in WinUI3 project HOT 11
- Incorrect drawing animation HOT 1
- Layers in wrong order
- How can I load Lottie into an ImageView HOT 1
- Loading Lottie library causes the app to crash when it is installed from the Microsoft Store
- LottieGen would gen SetReferenceParameter function with wrong parameter HOT 1
- 64 bit support HOT 1
- How to update the project files? HOT 2
- Mask feather not supported
- [WinUI3|x64 msix] Crash on run HOT 2
- Exception in .net8 HOT 4
- Lottiegen and win2d HOT 2
- Lottie-Windows Component List HOT 16
- BOM Gone? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lottie-windows.