[Interest] Split entities into groups and render them in custom order

Harald Vistnes harald.vistnes at gmail.com
Tue Jul 12 10:18:25 CEST 2016


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]

Harald
On Jul 12, 2016 09:38, "Oleg Evseev" <ev.mipt at gmail.com> wrote:

>
> 2016-07-10 19:09 GMT+03:00 Oleg Evseev <ev.mipt at gmail.com>:
>
>> 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
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160712/a07fcf06/attachment.html>


More information about the Interest mailing list