Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Refresh efficiency of the shape


fengFanYong
 Share

Recommended Posts

Either provide more information, either learn how WebGL acceleration works and how pixi renders sprites. Not everything you think about is actually slow. Default pixi behaviour is to render everything every frame, you cant change that unless you have a clear idea of how to optimize something. Not like "may be if i dont move things and cache this..." , but "I really know how webgl works and im ready to spend time on this particular optimization suited for my project"

Link to comment
Share on other sites

That sounds like you are looking for a wrong solution to a wrong problem, sure sometimes you want to optimize things but sometimes all you need to do to get the best performance is the CORRECT approach. Seems like you have a bunch of static object and a few or one non static but because of your setup they all need refreshing even though only one does really need it or something close to that. The solution is not to optimize anything here, the solution is to not set your objects like that in the first place. object that don't need updating > in container that don't need updating, objects that need updating > in container that needs updating ... ect .... With any technology you will never be able EVER to optimize anything that has been badly thought of and badly put together in the first place, it seems this is where you need to start.

Tell us why your setup is like this and tell us what's your goal in doing it like this and I bet we'll be able to help you set it up in a way that won't require any optimization.

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