Graphics

 View Only
  • 1.  Layer Object - Z-Order

    Posted 02-26-2013 18:43
    Dear Community,

    so far I've used extra Scenes and Renderviews or different outputlayer to display masked objects in the correct z-order.

    Now I wanted to work with Layer Objects, but it is not possible for me to place the contents of such a Layer Object in the Z-order reliable between Quads or TextObjects.

    Changing visibility of any other objects changes the z-position of the Object Layer arbitrary. Also working with groups does not help here.

    There seems to be no rule than can explain the z-order displaying Layer objects.

    This makes the composition of the whole scene very fragile.

    I made a little Demo, every startup it looks different, if you toggle the visibility of the headline some z-orders change. Feel free to test it: Z-Order Demo

    What is then the purpose of LayerObjects?

    Does anyone know a solution?

    Kind regards,

    spectro


  • 2.  RE: Layer Object - Z-Order

    Posted 03-01-2013 08:57
    Hi Spectro,

    As far as I know, Layer objects are always on top of the existing scene. You can't change it's Z-Position.

    And when you put multiple layer objects, I think it's in the order that you added them or they are all on the same position.

    Layer Objects are very useful if you need to mask off text on a background for example.

    So in the "old" days of Xpression, when you used a mask and you had a background, you would also mask off the background. So you had to put the text in a different scene and then position that scene in a layer on top of the backgroundscene. Or you had to use a renderview.

    Now with the Layer Object you can put a mask as a child of the Layer Object and it will only affect the objects that are also childs of that Layer Object. So this way you can mask off text without masking off the background.

    Best regards,

    Kenneth

    #XPression


  • 3.  RE: Layer Object - Z-Order

    Posted 03-13-2013 15:42
    Ok, got it figured out.

    The LayerObjects must be located within a parent layer object that contains nothing else.

    Then, the above mentioned effects do not occur.

    Of course you can not dynamically change the layer objects Z-position.

    best regards

    spectro

    #XPression