Jump to content

a-c-sreedhar-reddy

Members
  • Content Count

    12
  • Joined

  • Last visited

About a-c-sreedhar-reddy

  • Rank
    Member

Recent Profile Visitors

122 profile views
  1. Hi @ivan.popelyshev Where would pixi.filters destroy be useful?
  2. Hi all. How can I create a texture from a blob url? One way is to create an image element with the blob url and then create a texture. But the issue is since the image loading is asynchronous we can not use the image immediately after setting the blob url. So is there any other way to achieve this?
  3. @ivan.popelyshev It worked fine because the mask was not rotated. If the mask is rotated then we can see the jagged lines. When I padded the mask using renderTexture it works.
  4. @ivan.popelyshev Because when a sprite-mask is applied to a sprite the antialias did not work. so wanted to test this approach with the mask. When I tried the same padding approach to the mask(using renderTexture instead of canvas) it worked. Do you think this is a good way to proceed?
  5. Hi @ivan.popelyshev I was able to generate a texture from padding canvas. But I am stuck at generating the correct texture whose dimensions would be same as image's, using the correct frame, orig and trim. Here is the Playground. Can you please suggest some detail documentation on what frame,orig and trim are?
  6. Hi all. What does frame orig and trim in PIXI.Texture Constructor mean? Tried to find some docs regarding this but could not.
  7. Hi @ivan.popelyshev After this the final sprite's dimensions would not be same as the image dimensions right? It would me more by +padding.
  8. But that would not work for my usecase. Because these images would not be static .
  9. https://www.pixiplayground.com/#/edit/S7NG33DBu7qaiWSj0Br3R The rotated image edges are not smooth. Why does this happen and how can I fix this?
  10. Hi @ivan.popelyshev here is an example for reproduction https://www.pixiplayground.com/#/edit/ODYvbxIipI6XGefVeOEws
×
×
  • Create New...