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

Pixi 8 compatibility #118

Open
kareljuricka opened this issue Apr 2, 2024 · 12 comments
Open

Pixi 8 compatibility #118

kareljuricka opened this issue Apr 2, 2024 · 12 comments

Comments

@kareljuricka
Copy link

Hi,

is there some plane to make pixi-projection compatible with the pixi 8? Now it's fails during rendering method.

Thank you

@ivanpopelyshev
Copy link
Collaborator

Yes. I already converted tilemap but people cant help me with publishing examples :)

@driuqzy
Copy link

driuqzy commented Jul 16, 2024

Thoughts on when v8 compatibility will arrive?

@lionettiluca
Copy link

Hi, any news about this?

@linh-vanngo-thermo
Copy link

Hi @ivanpopelyshev hope you're doing well... Any news on this please?

@ivanpopelyshev
Copy link
Collaborator

Hi @ivanpopelyshev hope you're doing well... Any news on this please?

Well, I finally have more time, so, quite possible :) But waiting for merge of this pixijs/pixijs#10700 and this pixijs/pixijs#10702

@hoomanaskari
Copy link

Hi, Any update on this?

@ivanpopelyshev
Copy link
Collaborator

Hi, Any update on this?

If you need Quads , there is a official demo in pixi-v8 i think. Something like that was definitely merged in main pixi

@hoomanaskari
Copy link

Hi, Any update on this?

If you need Quads , there is a official demo in pixi-v8 i think. Something like that was definitely merged in main pixi

Is there a chance you could share a link to the docs/demos for that, I looked everywhere and could not find any refs to that! Thanks!

@GoodBoyDigital
Copy link
Contributor

@hoomanaskari
Copy link

This would be a very limited version of what I am looking for.
Can I apply this perspective transform to for example a rounded rectangle or a circle with a video as it's texture?

@GoodBoyDigital
Copy link
Contributor

true enough! You can render anything you want to a render texture and use that as the source for the perspective plan. This should get you where you need!

@hoomanaskari
Copy link

That might work, though it has it's limitations too.

I did not get a chance to test this, or dig deeper into the docs, but is it possible to apply the applyProjectiveTransformationToPlane function to graphics, for example to the following:

const graphics = new PIXI.Graphics();
// draw a rounded rectangle
graphics.lineStyle(2, 0xff00ff, 1);
graphics.beginFill(0x650a5a, 0.25);
graphics.drawRoundedRect(50, 440, 100, 100, 16);
graphics.endFill();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants