Graphics

 View Only
  • 1.  Turn on and off material colors to change text colors

    Posted 03-19-2025 13:10

    Hello,

    I am wondering if there is a way, either with keyframes or visual logic to change font colors in one scene. I am working on a lineup graphic that I want to highlight the first name yellow, then advance to the next name, making the next name yellow and the previous back to white. Any ideas? Thanks! 



    ------------------------------
    Brian Contreras
    Production Coordinator
    ------------------------------


  • 2.  RE: Turn on and off material colors to change text colors

    Posted 03-19-2025 18:23

    Keep in mind; changing a font (or a material for that matter) will affect the usage of that asset project wide.

    A thought that might work for you; make a font that's a mask material, so it's poking through your lineup 'background', but then beneath that you have another white background and a yellow quad between the real lineup and the white that is your highlight. When your player changes, you move the yellow highlight.



    ------------------------------
    Zachary Fradette
    United States
    ------------------------------



  • 3.  RE: Turn on and off material colors to change text colors

    Posted 03-20-2025 06:36
      |   view attached

    Hello.
    Brian, you can use such parameter "{m:Yellow}" for text objects where "Yellow" is the name of the material in the scene. 
    An example of how it will look like this

    Text1.Text = "{m:Yellow}" & Text1.Text (if this script is not assigned to the text object)



    ------------------------------
    Roman Yaroshenko
    chief specialist
    RBC-TV
    Moscow Russian Federation
    ------------------------------

    Attachment(s)

    xpf
    Test_Color.xpf   29 KB 1 version


  • 4.  RE: Turn on and off material colors to change text colors

    Posted 03-20-2025 10:02



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



  • 5.  RE: Turn on and off material colors to change text colors

    Posted 03-20-2025 21:53
    I assume you are aiming for something similar to the image below. I did this a while back, so there might be a more efficient way I would do it today, but all I did was two text object with the two colours I needed and keyframed their visibility based on where the highlight was


    ------------------------------
    Carlito Chippy
    ------------------------------