Qt3D and Python - Mesh transparency
Unsolved
General and Desktop
-
Hi everyone, I am using Qt3D in python and have this problem: when I load a mesh from an stl file I cannot see the face facing the camera. Example:
I read something about culling, but it's my first experience with Qt and 3d graphics in general so I don't know much about this topic.
Thanks in advance!
-
I don't know anything about Qt 3D.
However I guess it is similar as in other engines: As you already read the culling is what defines which face of a mesh will be displayed. So you need to define if the front / back or both should be drawn. See here.
The orientation of the mesh depends on the order you add your points (so adding it clockwise or counterclockwise will change the "front" <-> "back" of a triangle.