Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by codingjoe

  1. @jonforum I created an example: https://codepen.io/webdev-ux/pen/XWdYzvG When the image is rotated, the width and height seem to be warped. I want to keep the ratio and height, width. Do you understand understand what I mean ? The affine property doesn`t solve the problem because I want a normal rotation, without x or y axis.
  2. As far as i can tell from reading the docs i can`t use this with the 2d projection I use (need a 3d camera) How do i create a projection with 3d Sprites? Would It help to provide a codepen example? Thanks for the help.
  3. Hello, I´m trying to rotate a sprite within a pixi.projection. Do i use rotate for that? It looks like the image warped incorrectly. What needs to be done?
  4. yeah, my bad. There are only 4 Points. Is it possible to draw a Sprite2d with those?
  5. @ivan.popelyshev Thanks for your reply. Tbh I don`t know if I need it. I just want to make the edges cleaner. The 2D quad bilinear gives me 8 observable points, so I thought it might be possible to create a SimplePlane from these (I thiought the verticles would help), but I couldn't do it. I`m a beginner so I don`t know if that even makes sense. How would you solve the problem? The grid gutter in the picture should be interchangeable with any picture.
  6. Hey there, I`m currently working on a perspective transform with pixi. I found the example here: https://pixijs.io/examples/#/plugin-projection/quad-bi.js Problem: The image is not drawn cleanly on the edge, even when setting antialias: true So now i thought about using a mesh or SimplePlane to make the edges smooth (example: https://codepen.io/osublake/pen/gLGYxx) I only have 8 points to draw the mesh. Is that possible? What would be the best approach to this? Thanks
  • Create New...