Graphics

 View Only
Expand all | Collapse all

multiple background choice

  • 1.  multiple background choice

    Posted 01-20-2023 10:36
    I have created fukllscreens for News where the producers can select from different backgrounds. Each background is a separate quad object (Crime, Medical, Education, etc).  The way I am doing it now, I have published each background quad with the option set to VISIBILITY.

    So the News Producers on their end see the list of backround quads, and they have to toggle the VISIBILITY "ON" for whichever background they want to use.

    I think this would be more efficient if they could just check a box. Is there a way I could do this?

    Another very serious problem I'm having is that these publishing options are randomly changing on their own. Instead of VISIBILITY, they change to PIVOT or SCALE for no reason. This has happened all throughout my master News project. Anyone ever hear of such a thing?

    ------------------------------
    Kevin Coffee
    Graphic Designer
    Weigel Broadcasting
    ------------------------------


  • 2.  RE: multiple background choice

    Posted 01-20-2023 11:53
    For choosing the background, you will want to dive into visual logic.

    Make an invisible text field and publish it; use ListBox, ComboBox, or RadioButtons and turn off "Allow custom values".

    From there you can use visual logic to determine what is checked. In fact, you can remove the multiple quads and make it one quad. Use Visual Logic to assign a material to the quad.

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



  • 3.  RE: multiple background choice

    Posted 01-20-2023 12:14
    Azathoth, thank you.

    ------------------------------
    Kevin Coffee
    Graphic Designer
    Weigel Broadcasting
    ------------------------------



  • 4.  RE: multiple background choice

    Posted 01-20-2023 15:18
    If anyone could post an example of the Visual Logic needed for this, it would be greatly appreciated.

    I keep waiting for the day when Visual Logic just appears in my head like magic, but it ain't happenin'!

    ------------------------------
    Kevin Coffee
    Graphic Designer
    Weigel Broadcasting
    ------------------------------



  • 5.  RE: multiple background choice

    Posted 01-21-2023 13:29
    Hey Kevin,

    Here's a visual logic example using two published text objects.

    The input selector index offset needs to be set to "1"---select the selector, in properties at the bottom, choose 1. (The default to "0" is great for true/false, visible/not visible logic.)

    Create a global list with columns named the same as your text objects so columns should be assigned by default to the correct objects or you can assign columns yourself.


    Or.....

    A dynamic material is another way...make a MaterialName text object, create static or global list (Static is part of this scene only. Global can be used in any scene)

    A second text object & column would allow you to show producers only color names and not confuse them with your material naming conventions.


    I think the @@ macro is case sensitive and some special characters may break it.


    Hope this helps,
    James.


    ------------------------------
    James Hessler
    WAAY (HEARTLAND MEDIA)
    ------------------------------



  • 6.  RE: multiple background choice

    Posted 01-23-2023 11:52
    James, thank you so much, this really helps!

    ------------------------------
    Kevin Coffee
    Graphic Designer
    Weigel Broadcasting
    ------------------------------



  • 7.  RE: multiple background choice

    Posted 01-23-2023 16:15
    James (Or anyone who can help), I'm having trouble setting up the Global list. I'm not getting the process of making it work, as far as the columns. Does there need to be a new column for every possible backround I want available?

    ------------------------------
    Kevin Coffee
    Graphic Designer
    Weigel Broadcasting
    ------------------------------



  • 8.  RE: multiple background choice

    Posted 01-23-2023 23:23
    Kevin,

    In the visual logic version, first column for color, second column for index number.

    Assuming you have two text objects dedicated to this, and your text objects are named the same as your columns, you probably won't have to assign columns, but if you want to keep your naming, you will assign BackgroundMat to your art layer, and number to number. The text objects need to be published.

    If you allow custom values, producers can type in a new background name (until you have time to publish your project,) just so long as you have the image/material named exactly the same and in the correct place.

    Sorry if I'm not understanding what part of the process has you stumped---hope I didn't gloss over something.

    James.

    ------------------------------
    James Hessler
    WAAY (HEARTLAND MEDIA)
    ------------------------------



  • 9.  RE: multiple background choice

    Posted 01-24-2023 12:35
    SUCCESS! Thank you so much for your help, James.

    The only remaining issue is what the producers see on their end. They see the "BackgroundMat" field where they can now pick the backround. I set it to a Radio Buttons list, and it works.

    But, they also see the "Number" text field that gives them the same list. They don't really conflict with each other, and they both work in changing the background, but i can see this being confusing to producers. I always like to avoid any redundant things that can confuse them.

    You said the "Number" text object needs to be published for this to work, but is there any way to keep it from showing up in the list of options when published?

    It's a minor problem, everything else works great. Thanks!

    ------------------------------
    Kevin Coffee
    Graphic Designer
    Weigel Broadcasting
    ------------------------------



  • 10.  RE: multiple background choice

    Posted 01-25-2023 13:04
    Kevin,

    It sounds like you set up number to enable user input controls...I don't there is any need to do that. 

    I would push number down the template links to the bottom, so producers don't get to it before they get what they need.

    I think you're mostly there, but when you have time, read up on dynamic materials and you'll find a use for them, too.

    Good luck,
    James.

    ------------------------------
    James Hessler
    WAAY (HEARTLAND MEDIA)
    ------------------------------



  • 11.  RE: multiple background choice

    Posted 01-25-2023 15:00
    Thanks, James. In our version of xPression Designer, Dynamic Materials don't even show up as an option.

    ------------------------------
    Kevin Coffee
    Graphic Designer
    Weigel Broadcasting
    ------------------------------



  • 12.  RE: multiple background choice

    Ross Staff
    Posted 01-25-2023 15:36
    Dynamic materials are a feature added in XPression 10.0.


  • 13.  RE: multiple background choice

    Posted 01-25-2023 15:32
    James, that worked, I checked off the enable user input box. "Number" still shows up to the producers but it doesn't do anything. I moved it down to the bottom of the options they see.

    Thanks again!

    ------------------------------
    Kevin Coffee
    Graphic Designer
    Weigel Broadcasting
    ------------------------------



  • 14.  RE: multiple background choice

    Ross Staff
    Posted 01-20-2023 16:19
    Regarding your issue with the published property changing from VISIBILTY to PIVOT - this is a known resolved bug:

    • [fixed] in some situations an object with published visibility could switch the published field to be pivot instead

    This bug is fixed in :
    v10.0 build 5271 and higher
    v10.5 build 5448 and higher
    v10.7 build 5553 and higher
    v11.0 all builds


  • 15.  RE: multiple background choice

    Ross Staff
    Posted 01-20-2023 16:27
    I'll add that this bug is present when there are a lot of published items in a scene (our replication used 40 quads with published fields) AND the scene has been duplicated. It should only affect scenes that have been duplicated at some point. I am not aware of a workaround or fix, the best way to fix it is to upgrade to a version with the bug fix.


  • 16.  RE: multiple background choice

    Posted 01-23-2023 11:53
    Thank you for the information concerning the bug.

    ------------------------------
    Kevin Coffee
    Graphic Designer
    Weigel Broadcasting
    ------------------------------