Skip to content
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

Graphical drawing errors #10900

Closed
OnlyKoei opened this issue Apr 27, 2022 · 3 comments
Closed

Graphical drawing errors #10900

OnlyKoei opened this issue Apr 27, 2022 · 3 comments
Assignees
Labels
Bug ECO: Feedback Feedback from eco-system teams: tech support, evangelist Module: 2D 2D rendering and UI
Milestone

Comments

@OnlyKoei
Copy link
Contributor

Cocos Creator version

3.4.2,3.5.0

System information

chrome,native

Issue description

image

This problem is caused by the different conditions established in sortLink, resulting in different plotting point generation.
image

Relevant error log output

No response

Steps to reproduce

2.4.9 demo:
NewProject_22.zip

3.4.2 demo:
NewProject_18.zip

graphic.ts -> fill() -> graphics-assembler.ts -> _expandFill() -> earcut.ts -> earcut() -> earcutLinked()
-> indexCurve() -> sortLinked()
File path:.\engine\cocos\2d\assembler\graphics\webgl\earcut.ts
Interim Program:
image
image

Minimal reproduction project

No response

@OnlyKoei OnlyKoei added Bug Module: 2D 2D rendering and UI Needs Triage Needs to be assigned by the team labels Apr 27, 2022
@zhefengzhang zhefengzhang added the ECO: Feedback Feedback from eco-system teams: tech support, evangelist label May 5, 2022
@jareguo jareguo removed the Needs Triage Needs to be assigned by the team label May 18, 2022
@zhefengzhang
Copy link
Contributor

Feedback on the same issue: https://forum.cocos.org/t/topic/112037/, please raise the priority to fix this issue.

@zhefengzhang zhefengzhang added this to the V3.6.1 milestone Sep 20, 2022
@jareguo jareguo modified the milestones: V3.6.1, V3.6.2 Oct 9, 2022
@LinYunMo LinYunMo mentioned this issue Oct 13, 2022
6 tasks
@LinYunMo
Copy link
Contributor

Errors due to type errors.

We can consider updating this library. Earcut

@dbq817
Copy link

dbq817 commented Nov 5, 2022

this remains on 3.6.2!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug ECO: Feedback Feedback from eco-system teams: tech support, evangelist Module: 2D 2D rendering and UI
Projects
Status: Done
Development

No branches or pull requests

5 participants