Graphics

 View Only
  • 1.  quad with image that is updating?

    Posted 12-21-2023 11:43

    Hello.

    I have a link til a webcam picture on the internet, that is updating evry 15 seconds (on the internet).

    How can I use that in my scene, always the updated picture?

    Best regards Tue.



    ------------------------------
    Tue Sandbæk
    Director / TV-Technician
    TV SYD
    ------------------------------


  • 2.  RE: quad with image that is updating?

    Posted 12-21-2023 12:36

    Depending on which version of XPression you have, you can make a material that is a window capture, and you can just capture that webpage.

    Might also look through like RSS feeds from datalinq and try to use that as a method to pull down the image.



    ------------------------------
    Garrett Hall
    Overtime Elite
    ------------------------------



  • 3.  RE: quad with image that is updating?

    Posted 12-21-2023 12:56

    You could set up a computer to do a CRON job that downloads the image as a file that is used as a texture.

    However, you then might have a caching problem where Xpression doesn't know the image is updated.



    ------------------------------
    Azathoth
    Son of Cthulhu
    ------------------------------



  • 4.  RE: quad with image that is updating?

    Posted 01-05-2024 10:05

    It is this image.
    Randers_Viborgvej_Cam1.jpg (320×240) (trafikken.dk)
    I tryed to make an xml file with the link, and added it by datalinq, but it does not update the picture when I load the graphic.

    Any suggestions, on how to?



    ------------------------------
    Tue Sandbæk
    Director / TV-Technician
    TV SYD
    ------------------------------



  • 5.  RE: quad with image that is updating?

    Posted 01-08-2024 10:12

    I tried doing a couple simple things, but they didn't work. Xpression is caching.

    I haven't had a chance to try this, but maybe set up a loop that has a script in it. The script would download the image to a predefined name(s). Maybe use two different names and materials. Switch between materials linked to the images after download. This might get around the caching problem.



    ------------------------------
    Azathoth
    Son of Cthulhu
    ------------------------------



  • 6.  RE: quad with image that is updating?

    Ross Staff
    Posted 01-08-2024 16:18

    When using files on disk, XPression will reload the texture in cache if the last modified time changes. This setting is controlled here:

    XPression > Edit > Preferences > Texture & Image Cache > 'Reload textures when the file's last modified time changes'.

    This feature isn't working here because the image is coming from a URL. 

    But if you did what Azathoth suggested and downloaded the image in a loop to disk, then this setting in XPression would continually update the image as the file was modified. 




  • 7.  RE: quad with image that is updating?

    Posted 01-08-2024 16:26

    Any guide on how to make that loop?
    Could it be done in XPression?

    Is it possible to run a bat script that I have on the computer?
    I have a bat script that gets the file from the web to the computer right now.
    I just need a way to run this bat script form XPression, when the scene is online.

    Sounds like something I need to try.

    Best regards Tue.



    ------------------------------
    Tue Sandbæk
    Director / TV-Technician
    TV SYD
    ------------------------------