Graphics

 View Only
  • 1.  Update texture from URL

    Posted 12-01-2016 16:58
    I've written a web service that generates an image based live data.

    In expression, we can assign the image a link, like http://myserver.mycompany.com/generate_image?id=1

    The problem is that once Xpression gets the image, it doesn't seem to want to update. If I type the URL directly in a browser, I always see the latest version of the image, but in Xpression, I always see the image as it was the first time Xpression grabbed it.

    In other words, it seems like it's caching the image. That's actually OK, since it takes a long time (up to five seconds or so) for the server to return an image (it's built using a fairly complex set of data and calculations), but we need to be able to periodically force it to update. Is it possible?


  • 2.  RE: Update texture from URL

    Posted 12-01-2016 17:02
    This might work for you, but it might not, try it and let us know:
    Studio > Edit > Preferences > In Memory Cache > Reload Textures....
    #XPression


  • 3.  RE: Update texture from URL

    Posted 12-03-2016 16:44
    There should be a flush HTTP cache option in the Tools menu. This should force it to re-download the next time the URL is requested.
    #XPression