Graphics

 View Only
  • 1.  Global List User Input Control for headshots

    Posted 03-11-2022 11:19
    Sorry if this is a pretty rudimentary thing, still learning the ropes of Xpression. Wondering if there's a way to apply data from a list of image files to have a ComboBox automatically swap out a background/headshot image in a scene. Using this for player slates for a baseball game. 

    I've been looking at the User Input Control tutorial on XPression U (XPression U: User Input Controls Advanced Use Cases (Basics 115)), but the input control there is text-based, and the creator of the video never mentions how the headshot in that scene is linked to the control.

    I've got an Excel sheet with the player numbers and the paths to the images all set up and exported to a csv and then a txt file. Just not sure how to take that file and create a ComboBox that will let me switch those background images by player number.

    Again, sorry if this is actually rudimentary, any help would be appreciated.


  • 2.  RE: Global List User Input Control for headshots

    Posted 03-12-2022 09:15
    There is an "Assign Columns..." button to map the right column to the published quad with the photo. Once you clicked the "Assign Columns..." button, you type "Photo" under "List Column" on the left, and then select from the list of published items the quad on the right.Key is to publish the quad within the "Template Links" tab :-).

    ------------------------------
    Rob van Rooyen
    Senior Graphics Specialis
    NEP The Netherlands
    Hilversum Netherlands
    ------------------------------



  • 3.  RE: Global List User Input Control for headshots

    Posted 03-12-2022 13:26

    In the case of the scene in the video, manually assigning columns wouldn't be necessary. Columns are assigned by default to published objects with a matching name. Because the published "Photo" Quad Object is named the same as the "Photo" column in the Global List, the column gets assigned automatically.


    You could still use the Assign Column if your object and column names do not match, but if you can rename one of those so they do match, XPression will do the work for you. 



    ------------------------------
    Jeff Mayer
    Ross Video
    ------------------------------



  • 4.  RE: Global List User Input Control for headshots

    Posted 03-14-2022 11:22
    Appreciate it! Didn't realize it was as simple as renaming the quad. Thank you!

    ------------------------------

    ------------------------------