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 ObjectPicker - how to translate coords to world space?

Qt3D ObjectPicker - how to translate coords to world space?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt3dqt3d 2.0objectpicker
1 Posts 1 Posters 855 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. Im using ObjectPicker from Qt3D. When i process onPressed, i see

    console.log(event.distance, event.position, event.worldIntersection, event.localIntersection )
    

    others coords in worldIntersection and localIntersection anytime, when i turn some my camera...How to fix it and take normal const coords for one fixed point on 3D scene? I think, i sheuld to multiply result with view or projection matrix.... But wherer i can get it from Qt3D (QML) ?

    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