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. Graphics Scaling Wrong
Forum Updated to NodeBB v4.3 + New Features

Graphics Scaling Wrong

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

    Hello,
    I'm not sure if this is the place to post: I originally posted in general desktop, but after several days, no one is answering. This has to do with graphics rendering, so I hope games is a good place....

    There's probably a documentation page for this somewhere, but I don't even know where to start looking. I don't think my own code will be of any use here, the screen-shot should say it all.

    I'm using a Q3DSurface with QSurface3DSeries (nearly copy-past from the 3D Chart Example) but my data set is thousands of points ranging from x=[-3.2, 3.2] y=[0.0, 21.6] and z=[0.0, 1.0]. All these ranges represent millimetre measurements.

    Thing is, the axes don't seem to value millimetres the same way! The x-range is only ~6mm and yet it's much longer than the y-range of ~21 mm. I have even tried flipping x into y or into z, but the distortion between axes remains.

    Is there any way to be sure that an increment of 0.1 in x has the same length as 0.1 in y and same length as 0.1 in z?

    Thanks!
    -3 to 3 longer than 0 to 21

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Please don't post the same question in multiple sub-forum, one is enough.

      Duplicate

      Closing this one.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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