Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. QScreenRayCaster depth of ray adjustable? appears limited to < 50,000
Forum Updated to NodeBB v4.3 + New Features

QScreenRayCaster depth of ray adjustable? appears limited to < 50,000

Scheduled Pinned Locked Moved Unsolved Game Development
2 Posts 1 Posters 521 Views 1 Watching
  • 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.
  • uaniU Offline
    uaniU Offline
    uani
    wrote on last edited by
    #1

    QScreenRayCaster does hit mesh which is 50,000 units away (distance along camera view axis) but doesn't deliver the correct worldIntersection. For 15,000 units distance it does hit and delivers the correct worldIntersection.

    I would need a distance / depth of ray of 1,500,000.

    Alternatively the ray starting position may be offset from the camera by ~1,499,999 :)

    Can I achieve this? How?

    1 Reply Last reply
    0
    • uaniU Offline
      uaniU Offline
      uani
      wrote on last edited by
      #2

      appears to be a single precision floating point issue, as used by Qt3D internally

      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