Hi,

On 12/07/2016 09:18, Harald Vistnes wrote:

Oleg,

Did you try putting the ClearBuffers as a child of the first LayerFilter? Then the second LayerFilter can be a leaf node.

* Viewport
** RenderSurfaceSelector
*** CameraSelector
**** LayerFilter [layer = opaque]
***** ClearBuffers
**** LayerFilter [layer = transparent]


That should work, or alternatively put a NoDraw as a child of CLearBuffers to prevent that branch from drawing anything.

Cheers,

Sean

Harald

On Jul 12, 2016 09:38, "Oleg Evseev" <[email protected] <mailto:[email protected]>> wrote:


    2016-07-10 19:09 GMT+03:00 Oleg Evseev <[email protected]
    <mailto:[email protected]>>:

        I tried to make following sequence in "enable-qml" manual test
        example by cleaning it (attached it):

        * Viewport
        ** RenderSurfaceSelector
        *** CameraSelector
        **** ClearBuffers
        **** LayerFilter [layer = sceneLayer]

        And it renders whole scene (sphere + floor), that is, ignores
        LayerFilter:


    Experiment with different ordering, still can't understand how it
    works.
    May it be a bug with LayerFilter? Should I file in JIRA?

    ---
    Regards, Oleg



    _______________________________________________
    Interest mailing list
    [email protected] <mailto:[email protected]>
    http://lists.qt-project.org/mailman/listinfo/interest



_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to