Jump to content

Improving Pixi Graphics Performance Especially When rendering Huge number of Objects


pushkin1
 Share

Recommended Posts

Problem Statement

We have an app where we are currently using Pixi.js that allows us to render huge number of nodes with good performance ( 120 fps avg ). Now when applying borderWidth around the PIXI.Graphics using lineStyle around the rectangle we are severely facing huge FPS drops. In order to avoid adding lineStyle as a workaround we wrapped our node ( internally PIXI.Graphics in our arch ) with another node and gave it a padding to make it look like a border. Now FPS drops are not that bad but considering our use-case where the number of nodes can even go in lakhs this solution would not last long.

So I'm starting this thread to discuss what optimizations can be made here to improve the performance.

 

@ivan.popelyshev

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