Jump to content

Can i control render area?


GBear
 Share

Recommended Posts

in that case , its "filterArea", please look at the example code: https://github.com/pixijs/pixi-filters/blob/master/examples/index.html#L328

If you need only displacement and that kind of stuff, I'm making custom solution at https://github.com/pixijs/pixi-projection , that wont require filters to do displacements. For now it supports only simple 2d projections, displacements will be added later.

Link to comment
Share on other sites

@ivan.popelyshev hi ivan.

pixi-projection looks good.. i will check to use that functions ...

my purpose is only draw inside area that have full drawing

Parent Container <-  Bottom Image(1280x720)
                               <- Fish (100, 100) x 10 in 1280 x 720

in this case i wanna draw some of part(200x200)  only for some time  

if it can't not control by container,   all of part on renderable area is ok..

thx..

 

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