Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Qt3D: How to draw lines with Qt3D?

    Game Development
    2
    3
    1065
    Loading More Posts
    • 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.
    • M
      MiaoX last edited by

      Just like OpenGL:

      glBegin( GL_LINE_STRIP)  
           glVertex*( V1);  
           glVertex*( V2);  
      glEnd();  
      
      1 Reply Last reply Reply Quote 0
      • KillerSmath
        KillerSmath last edited by

        I believe this post can help you

        • https://forum.qt.io/topic/4352/how-to-draw-3d-line-x-y-z

        @Computer Science Student - Brazil
        Web Developer and Researcher
        “Sometimes it’s the people no one imagines anything of who do the things that no one can imagine.” - Alan Turing

        M 1 Reply Last reply Reply Quote 0
        • M
          MiaoX @KillerSmath last edited by

          @KillerSmath
          Thank you very much,
          but I want to know how to draw lines using the Qt3D framework.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post