pixijs / pixi-projection

MIT License
191 stars 34 forks source link

Pixi Projection for Graphics #100

Open lvanngo opened 3 years ago

lvanngo commented 3 years ago

Hi, I'm pretty new to the whole graphics area and I was wondering if you can help me understand what would be the difference between something like this https://observablehq.com/@rkaravia/2d-shapes-in-three-js (where you have 2d objects in 3d space) vs what pixi-projection would be providing in the Graphics support area?

ivanpopelyshev commented 3 years ago

Difference is z-buffer. pixi-projection doesnt use it, so you have to sort your shapes correctly.

But yeah, if we want Graphics, i thnk its even possible to make https://github.com/pixijs/graphics-smooth/ work with projection . However currently my position in pixijs is not clear, whether i left it or im just on break. You can report your case to https://github.com/pixijs/pixi.js/discussions ,that'll certainly help

petem24 commented 2 years ago

any update on graphics support? :)

ivanpopelyshev commented 2 years ago

Nope, i dont even have time to update spine plugin for pixi-7 :(