Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Fail to fill a polygon when it's not complex


Eugenius
 Share

Recommended Posts

Hi guys,

 

I'm enjoying this really great library that makes it sooooo much easier to use WebGL.

 

The problem is, when I try to draw some polygons that are not complex it gives the know error message 'too complex to fill'.

 

I created a jsfiddle page to test

 

http://jsfiddle.net/BVWQp

    - one that start point and end point meet at the end

http://jsfiddle.net/BVWQp/1/

    - one that start point and end point do not meet. (causing error)

 

I made sure there's no complex path in the polygon altho it looks complex haha!

 

* and one more issue i'm having is same as the issue from github

https://github.com/GoodBoyDigital/pixi.js/issues/479

 

I don't know if the issue is solved as it's closed but when I do it using Graphics it still draws dotted lines. and I have to use WebGL not Canvas. does anyone know the solution or workaround?

 

Thanks for reading and I'll appreciate your comments!

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...