From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.


Qt3D. Draw dashed 3D line with given thickness



  • 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



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



  • or u can split one line two more as u want