Re: [Interest] Qt3D face culling

2016-11-02 Thread Paul Lemire
On Thursday, February 25, 2016 10:38:11 AM Øyvind Bakken wrote: > Hi, > > we are developing a desktop application with 3D graphics using Qt3D. We > have run into some issues when using the Qt3DRender.CullFace settings in > the Qt3DRender.StateSet module. > > Basically we have an open surface whic

[Interest] Qt3D face culling

2016-05-18 Thread Øyvind Bakken
Hi, we are developing a desktop application with 3D graphics using Qt3D. We have run into some issues when using the Qt3DRender.CullFace settings in the Qt3DRender.StateSet module. Basically we have an open surface which was correctly rendering the front, but not the back face. We then added the

Re: [Interest] Qt3D face culling

2016-03-11 Thread Sean Harmer
Hi, well the QForwardRenderer framegraph is not really designed to be modified but you should just be able to use QObject::findChild(). If you need deeper customisation of the framegraph, it's preferable to write your own one. Of course you can use QForwardRenderer as a base to work from. I h

Re: [Interest] Qt3D face culling

2016-03-11 Thread Юрий Дынников
Thank you, Sean. I've managed to disable face-culling by putting QStateSet under QClearBuffer, but to get there, I had to write a piece of horrible code: https://gist.github.com/morodeer/974cb4ddd47c1f1f8b34#file-main-cpp Qt3DCore::QNode* clearBuffer_node = 0; foreach (Qt3DCore::QNode* no

Re: [Interest] Qt3D face culling

2016-03-10 Thread Sean Harmer
On Thursday 10 Mar 2016 15:13:07 Юрий Дынников wrote: > Hello, I'm trying to use Qt3D (C++) module, and there is one huge problem: > How can I enable displaying any surface (or triangle, to be simple) from > both sides? > > I've read that that's all about face-culling, but I can't find where it is

[Interest] Qt3D face culling

2016-03-10 Thread Юрий Дынников
Hello, I'm trying to use Qt3D (C++) module, and there is one huge problem: How can I enable displaying any surface (or triangle, to be simple) from both sides? I've read that that's all about face-culling, but I can't find where it is applied during preparation of scene. I've found QCullFace class