Graphics

 View Only
  • 1.  Live Source Using Developer/Bluebox

    Posted 07-31-2014 00:44
    Hi Everyone,

    I'm trying to setup a live source to show the input of a bluefish card's sdia. In developer you can't seem to set it up because I dont have access to the output devices. And I went to try this in bluebox but the documentation for setting up an input source is pretty minimal. So far I've got:

    xpBaseObject bo;

    m_scene.GetObjectByName("Quad1", out bo);

    xpMaterial mat;

    bo.GetMaterial(0, out mat);

    xpBaseShader bs;

    mat.GetShader(0, out bs);

    xpLiveSourceShader ls = (xpLiveSourceShader)bs;

    ls.SetInputByIndex(0);

    It gets to the live source shader okay but its width and height are 0 so that could be part of the problem. But I cant set those values.

    Thanks in advance.


  • 2.  RE: Live Source Using Developer/Bluebox

    Posted 07-31-2014 02:26
    You should be able to add a "Virtual Input" to the developer machine in the hardware setup so that you can test on developer.

    #XPression


  • 3.  RE: Live Source Using Developer/Bluebox

    Posted 07-31-2014 05:15
    I can make the virtual input work in developer and that solves the width and height problem but then how do I switch that to a bluefish input?

    #XPression


  • 4.  RE: Live Source Using Developer/Bluebox

    Posted 08-05-2014 15:32
    The live source shader will save the 'Input Source' as 'Input 1'. When the project with the live source shader is loaded it references 'Input 1' regardless of what type if input it is.

    Ex. I create a project on developer with a live source shader where 'Input 1' is a Virtual Input.

    When I load the same project onto a XPression Studio with a BlueFish card 'Input 1' will be the BlueFish input.

    The Live Source shader does not save the TYPE of input, it just saves it as 'Input 1' - whatever type it may be.

    You can set the order of your inputs/outputs in - Edit > Hardware Setup

    #XPression