Unsolved RenderStateSet CullFace doesn't seem to work
-
Hi,
I've been developing a 3D tool using Qt3D and QtQuick and I've encountered a problem trying to render back faces of meshes.
I know this problem is related to the RenderFrameGraph and I've been trying to change the CullFace mode to "NoCulling", but the results are still the same, it doesn't show back faces. Here's the code :Scene3D { ... Entity { id: cad_scene_root components: [ RenderSettings { activeFrameGraph: Viewport { //default normalizedRect is (0, 0, 1, 1) RenderSurfaceSelector { CameraSelector { camera: CadCamera{} ClearBuffers { buffers: ClearBuffers.ColorDepthStencilBuffer clearColor: "transparent" RenderStateSet { CullFace { mode: CullFace.NoCulling } } } } } } }, InputSettings {} ] Entity { Mesh { ... } }
I have created a quick cube using MeshLab with a hidden face and here's the result :
I have also tried with many other meshes and the results are still the same.
Any ideas ?