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

Search the Community

Showing results for tags 'segmenation'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 1 result

  1. Hi to everyone. Pixi.js is amazing and I really want to use it in my project. But I have the following problem: I have next task: 1. Background texture is source.jpg 2. Also there is another image (depth.png) in memory with region segmentation. 3. When user moves mouse on canvas (with source.jpg as background) I want to get connected with mouse position region on depth.png, and select this region on source.jpg. 4. As the regions from depth.png are just pixel map I need to render it pixel by pixel. 5. To do it I have found next solution: create custom texture like from this: http://www.html5gamedevs.com/topic/667-question-pixel-array-render/render this texture.6. As mouse moves I will have to create another texture, and swap to it. I'm not sure about steps 5-6, especially about performance. Because I will have to put new texture every time as mouse moves. Can somebody help with next two questions: 1. Is above solution correct? Would it have good performance? 2. May be there is bettor solution. P.s. Right now this task is implemented with canvas 2d context. And it have some performance problem. So I decide to implement it with WebGL, but without any framework it will be huge amount of coding. By this reason I want to use pixi, but I'm not sure that I'm doing it right way. P.p.s. Thanks everybody for help.
  • Create New...