Graphics

 View Only
  • 1.  Dynamically change images

    Posted 06-20-2016 21:15
    I have a sponsor who would like to take pictures on our concourse, send them to me and I will display the images over a background. What is the best way to set this up?


  • 2.  RE: Dynamically change images

    Posted 06-20-2016 21:19
    Didn't mention that this should happen quite quickly. Is there a way to do it without adding the images as a new material? Can I use the %relid% function?

    #XPression


  • 3.  RE: Dynamically change images

    Posted 06-21-2016 12:33
    What we do is have the Xpression machine connected to a a shared NAS where I drop the images into a folder. Then in the Scene, I make a hidden text object the child of the quad that should have the image. The text in this object is the filename of the image. Then on that text object I do a volatile texture in the OnSetText script.

    dim Quad as xpBaseObject
    Self.GetParent(Quad)
    Quad.SetVolatileTextureFile(0,"H:" + Text)

    That was just off the top of my head, but thats how we do it. This means you dont need a material for every image. Instead it will update the material with the image file only when the scene is online.

    Hope this helps.


    #XPression


  • 4.  RE: Dynamically change images

    Posted 06-27-2016 20:49
    Thanks Mike, that worked perfectly.

    Cam
    #XPression


  • 5.  RE: Dynamically change images

    Posted 27 days ago
    Actually i don't have any idea about Script. so can you please attached that sample file so that i can learn something on it?

    thank you for advance :)

    ------------------------------
    NewBin
    Designer
    ------------------------------