Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt3D and Python - Mesh transparency
Forum Updated to NodeBB v4.3 + New Features

Qt3D and Python - Mesh transparency

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 265 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gibser
    wrote on 17 Dec 2020, 17:20 last edited by
    #1

    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:domanda qt.png domanda qt2.png

    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!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gde23
      wrote on 18 Dec 2020, 10:40 last edited by
      #2

      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.

      1 Reply Last reply
      0

      1/2

      17 Dec 2020, 17:20

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved