Graphics

 View Only
  • 1.  Xpression - Use Datalinq with Dynamic Material

    Posted 03-22-2023 17:15
      |   view attached

    I'm having trouble getting the Dynamic Material to work on a quad using Datalinq.

    For our sports projects we have individual player photos and I want to make a graphic that will grab the name of a specific photo and apply it to the quad. I have a text object Name and in the Dynamic Material setting on the quad I have \Images\@Name@.png so it will find a photo based on whatever the text in the Name text object is and adds .png.

    It works fine this way but when I try to link the Name object to Datalinq it stops applying a material. Since this would be used multiple times I wanted to use a Datalinq key so I added one ID and put %ID% in the row datalinq field for the the text object. In sequence view the Name shows the correct text according to the ID key, but it doesn't want to grab the picture.

    I attached a sample project with a working manual scene and the non-working Datalinq scene. Also attaching a csv file I used for Datalinq and the 5 pictures I used for testing.



    ------------------------------
    Omar Reyes
    ------------------------------

    Attachment(s)

    zip
    Dynamic Material Test.zip   550 KB 1 version


  • 2.  RE: Xpression - Use Datalinq with Dynamic Material

    Posted 03-24-2023 18:10

    Select the "Requery scene datalinqs on data change" option in the DataLinq properties of the Name object to read the scene's dynamic material after the datalinq value changes. That should help.



    ------------------------------
    Juha Koivisto
    Tampere
    Finland
    ------------------------------



  • 3.  RE: Xpression - Use Datalinq with Dynamic Material

    Posted 03-25-2023 10:01

    Hi Omar,

    what Juha wrote does the job. 

    You do not even need to use a text object name. If you import all the players pictures in a material group (_Image will be added) you can datalinq directly to it with the ID and put in Append the _Image as in the picture attached. Cheers Nicole



    ------------------------------
    Nicole Schindeldecker
    FERNSEHGRAFIK
    ------------------------------

    Attachment(s)



  • 4.  RE: Xpression - Use Datalinq with Dynamic Material

    Posted 03-27-2023 15:58

    Thank you both! got it to work now.

    Pixmaniac - I didn't know about that trick, will definitely come in handy!



    ------------------------------
    Omar Reyes
    ------------------------------