Interaction with OpenGL Verticies in a custom QQuickItem



  • Hello,
    My QQuickItem is rendering some points.
    Now I want to implement some interactions, so I can move these Point to another position on the screen.

    The problem is to find the vertex I have clicked on. Is there a solution to get these vertex?

    Best Regards



  • Hmmm i think this is not a really a QtQuick problem more an OpenGL specific task. With google and words like hit test or collision detection or mouse picking u will find tons of tutorials.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.