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. Draw dashed 3D line with given thickness
Forum Updated to NodeBB v4.3 + New Features

Qt3D. Draw dashed 3D line with given thickness

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt3ddraw linesdashed lines
3 Posts 2 Posters 1.9k 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.
  • T Offline
    T Offline
    THE_MASTER
    wrote on last edited by
    #1

    Hi Qt3D gurus :-) I need your help.
    I need to draw in 3D simple lines with given thickness and dashed lines... How i can do it? I know, how to made custom mesh for line and i can turn LINES mode like this:

    meshRenderer->setPrimitiveType(Qt3DRender::QGeometryRenderer::Lines);
    

    But how to set thickness and dashed mode? Can you show me simple example please?

    I need somethink, like this:
    alt text

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jimfar
      wrote on last edited by
      #2

      o i also encounter the same issue, i draw points instead of dash line ,but it cost too memery .it is not optimal way

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jimfar
        wrote on last edited by
        #3

        or u can split one line two more as u want

        1 Reply Last reply
        0

        • Login

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