[Interest] Qt3D filtering for different renderviews

Juan José Casafranca jjcasmar at gmail.com
Thu Mar 30 10:07:10 CEST 2017


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 jueves, 30 de marzo de 2017 9:25:56 (CEST) Juan Jose Casafranca wrote:
> 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" <ev.mipt at gmail.com> escribió:
> > 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 suggestion to add exclude
> > option into LayerFilter (for example).
> > By the way I posted related suggestion for SceneLoader
> > https://bugreports.qt.io/browse/QTBUG-54744
> > 
> > > Any idea?
> > 
> > Did you try Scene 3D Item with single renderview and transparent
> > background + Quick Rectangle with gradient behind it?
> > (I hadn't done such things, just a suggestion)
> > 
> > ---
> > With regards, Oleg





More information about the Interest mailing list