Graphics

 View Only
  • 1.  Read a XML and load a picture

    Posted 07-16-2015 00:52
    Im using the Datalinq Key video as reference and loading an image using datalinq material. I input the number in the sequencer and Xpression display the png. Thats fine.

    Now I need to read four numbers, that is a finishing order, in a xml file and load the corresponding images (with the number of the horse) in a scene. Dont know how to do this: read a XML file and load an image. Actually four number in a xml file and load four images.

    Any sugestions?

    Thanks


  • 2.  RE: Read a XML and load a picture

    Posted 07-16-2015 14:32
    Can you give a sample of your XML?

    #XPression


  • 3.  RE: Read a XML and load a picture

    Posted 07-16-2015 15:46
    Hi Dan, uploaded. This is the link.

    https://www.wetransfer.com/downloads/e26e716b9fe185c4eb88e04b178f459520150716153607/07a46601b988810d3143f0f150c48d0c20150716153607/df3c2d

    In the first file "prices race 9" you can see in the file:

    Position Position="1"

    Runners="3">



    "Position" is the position that the horse finished and "finish runner" is the number of the horse.

    I need to read the first three positions and load a image for each one.

    In this case: read the number 3 and load the image that has this number. Its a png with a blue chip with the number.

    Read the second (10 in the XML) and load the graphic and read the third (9 in XML) and load the graphic.

    Thanks

    #XPression