Jump to content

Mask works with rotation only


ANVoevodin
 Share

Recommended Posts

Hi. I wasted a lot of time with next problem: my mask only works when its rotation is 0.1 or more (when I applied mask to a container, the container didn't display anything). I made little example on jsfiddle, but it works well :o

I know I'm asking too much to help me without example and I understand the problem is exactly in my project, but maybe somebody encountered with similar problem or knows what can be a cause?

Pixi 4.3.4.

P.S. I've read docs about masks, but maybe I did't get something...

Thanks!

Link to comment
Share on other sites

9 hours ago, ivan.popelyshev said:

Yeah, that issue happens sometimes. Its not covered by tests :(

Try latest dev please, http://pixijs.download/dev/pixi.js

It doesn't work too, but I'll try to find out more (using latest dev).

P.S. There is another issue in dev 4.3.5: extra-filters don't work.

4.3.4 - https://jsfiddle.net/ANVoevodin/hx1ur6y1/

4.3.5 - https://jsfiddle.net/ANVoevodin/4Let8m3m/

The same code)

Link to comment
Share on other sites

Rectangular masks work for me on 4.3.4 and 4.3.5, I'm waiting for your fiddle.

Also for your fiddles - PIXI is not found. The problem is that "https://pixijs.download/release/pixi.min.js" is unsecure link, something is wrong with the certificate.

When I add "http://pixijs.download/release/pixi.min.js", it works just fine.

Link to comment
Share on other sites

2 hours ago, ivan.popelyshev said:

Rectangular masks work for me on 4.3.4 and 4.3.5, I'm waiting for your fiddle.

Also for your fiddles - PIXI is not found. The problem is that "https://pixijs.download/release/pixi.min.js" is unsecure link, something is wrong with the certificate.

When I add "http://pixijs.download/release/pixi.min.js", it works just fine.

http and https blow my mind) it worked for me when it's loading through https only, but it worked for you when it's loading through http, so I just directly put pixi lib into fiddle just to show you it (sorry for this wisest way :))

try these ones, please)

4.3.5 release - https://jsfiddle.net/ANVoevodin/4xL94s9d/

4.3.5 dev - https://jsfiddle.net/ANVoevodin/k7djLz5g/1/

And I wrote above that I tried 4.3.4 and 4.3.5, but I meant 4.3.5 release and 4.3.5 dev, and in fiddles I used them. There were just wrong names above only.

And just in case I attached what I'm seeing.

dev.png

release.png

Link to comment
Share on other sites

Guys said to use this one: 

https://d157l7jdn8e5sf.cloudfront.net/dev/pixi.js


it's in the Wiki: https://github.com/pixijs/pixi.js/wiki/FAQs (edited)

OK, so, we did broke OutlineFilter in 4.3.5 somehow. Please, follow up this issue: https://github.com/pixijs/pixi.js/issues/3734 , lets move discussion there.

Link to comment
Share on other sites

18 hours ago, ivan.popelyshev said:

Guys said to use this one: 

https://d157l7jdn8e5sf.cloudfront.net/dev/pixi.js


it's in the Wiki: https://github.com/pixijs/pixi.js/wiki/FAQs (edited)

OK, so, we did broke OutlineFilter in 4.3.5 somehow. Please, follow up this issue: https://github.com/pixijs/pixi.js/issues/3734 , lets move discussion there.

Ok I got it, thanks. I'll follow up it)

18 hours ago, ivan.popelyshev said:

Also if you give me your mail in private, i can add you to pixijs slack. If you like to hang out in open-source chats :)

it's done :)

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...