Graphics Performance

Comments

5 comments

  • Avatar
    Jeff Paluck

    Just out of curiosity, have you tried using a smaller grid of larger images?  I don't know how you are handling the programming side of moving the images around, but one thing that contributes to CPU usage is the number of events and calculations you have going on in the background.  I'm thinking maybe if you can cut that number down by moving fewer but larger images, you might see better performance?

    0
    Comment actions Permalink
  • Avatar
    John Kelsey

    Hi Jeff, 

    Thanks for you time.

    The reason for the 2000 x 2000 pixel size is the max file size you can use is 2048 x 2048 unfortunately. I had originally just wanted to use one image file for the whole map but it wouldn't validate for that reason.

    I probably can streamline the amount of state machines and maybe the number of calculations (it has got a bit messy) but I think the real issue is the image files. The calculations are made on recurring timers and so I think are going on all the time and when not on a page that has these image files the cpu usage is less than 20%. I think just animating so many image files is the issue but I don't really know.

    I was wondering if I can store the images on external storage and just have them load as required but I'm guessing that won't be possible.

     

    Thanks

     

    John

    0
    Comment actions Permalink
  • Avatar
    Jeff Paluck

    I wonder if you tried turning off the visibility or not manipulating images that are completely off screen would help.  I know that implementing complex logic on these displays is a pain, but it might help.

    Have you opened a support ticket?  The Enovation support team has always been super helpful to me and they are very responsive.  These forums are kind of hit or miss.

    0
    Comment actions Permalink
  • Avatar
    John Kelsey

    Hi Jeff, 

     

    I haven't opened a support ticket but will do, is that done through the 'submit a request option'?

    Also I hadn't thought about switching off the visibility of unused graphics or indeed of just not moving the ones that don't need moving. I will give them both a go and see if there is any improvement.

    Thanks

     

    John

    0
    Comment actions Permalink
  • Avatar
    Jeff Paluck

    Yes, the 'submit a request' is how I've typically done it.  I hope you are able to figure something out.  It sounds like you are working on a pretty neat system.

    0
    Comment actions Permalink

Please sign in to leave a comment.