-
-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DrawNode graphical artifacts #2140
Comments
@aismann Any thoughts on this issue? |
I will have a look. |
The blue background is just a A single
This is how it is all used:
|
Thickness is always 1.0f (the default)? |
The line thickness is never changed. I'm not sure what you mean by draw order. I'll expand on the code some more. What you see below is almost the exact code used:
There is nothing else besides the above code to generate the problem. Sometimes there is no problem, and everything renders correctly, but other times there are artifacts, exactly the ones as can be seen in the screenshots above. Note that I just noticed |
For a better performance you should use:
About:
Its enough you reset the test (green solid circle in the middle below) for getting this sporadic artefacts> Anyhow there is another bug: fixed with PR: #2145 |
The option to use |
See
Yes its new with DrawNode V2. |
@rh101
|
@rh101 |
That is not possible, but I should be able to create a test project, which I'll post up soon. |
@aismann The code you posted changed the initial sample a bit too much, so it's not as obvious when the issue occurs. A project is now up here. Simply compile and run on an Android device, and hopefully it will reproduce the issue. Press the "RESET" button to reset it constantly until you see the problem, which I could easily reproduce to get the following output: Note that the test does not contain the changes made in #2145 |
I see ;) |
@aismann Sample project updated. Reduced the amount of DrawNode calls, so it only takes 2 calls to cause the problem, being |
Steps to Reproduce:
29:Node: Draw
6: Morphing
. This test is random, so if you do not see any glitches, then go back to test 5, and then go to test 6 again until the issue is visible.The following are video recordings (MP4 format) of the issues:
https://github.com/user-attachments/assets/e6e67862-50c7-4bbc-9f2a-f2b26ed0a23f
https://github.com/user-attachments/assets/a1ce5e9d-f737-4de5-8327-be35d852ed6c
Aside from these, I'm now seeing random problems in my own app related to the new
DrawNode
implementation, and it seems to only be happening on Android. It is random though, so it may be happening on other platforms too.The correct output is this:
What I'm actually seeing is random output like this:
and
The methods used to create the above circles are:
and for the black circle outline:
The text was updated successfully, but these errors were encountered: