One solution I though about was to inherit from QEntity and in the
constructor, add the parent QLayer component.
That way I have the recursive solution and as long as I use the new entity
class I don't have to do anything special.
@Sean: Have a look at the suggestion I posted in the JIRA (htt
Hi,
On Thursday 30 March 2017 02:28:29 Juan José Casafranca wrote:
> Hi,
>
> Im building a simple default viewer using Qt3D for a design tool. I'm trying
> to add a typical gradient background and for that I'm using the following
> approach.
>
> I have create a custom framegraph with 2 rendervie
I think that the fastest solution for this, although is not a perfect
solution, is to translate the background to a far position in world space so
that probably it wont appear never in the main camera.
I have already send a suggestion to the JIRA:
https://bugreports.qt.io/browse/QTBUG-59814
On
Im not using QML but QWindow. Maybe I can modify the widget paint event to
first draw a gradient.
I will prepare a simple example and add a suggestion.
Thanks
El 30 mar. 2017 9:20, "Oleg Evseev" escribió:
> Hi Juan,
>
> > How can I make the second renderview to skip the background entity?
>
>
Hi Juan,
> How can I make the second renderview to skip the background entity?
With help of LayerFilter.
> I have tried to add a LayerFilter for it, but that way I have to add a
Layer component to each object in my scene, which is not practical.
Totally agree. It would be nice if you add sugges
Hi,
Im building a simple default viewer using Qt3D for a design tool. I'm trying
to add a typical gradient background and for that I'm using the following
approach.
I have create a custom framegraph with 2 renderviews.
The first renderview clears the buffers, select an ortographic camera and ha