Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Comments & Feedback
  3. Calculate distance output

Calculate distance output

Scheduled Pinned Locked Moved Comments & Feedback
14 Posts 4 Posters 1.7k 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.
  • T Thecheater887

    Why, oh WHY, doesn’t calculate distance output in meters?

    If it has to do with the PTMr, I would like to think that one meter should be one meter, regardless of screen orientation.

    iTap DevelopmentI Offline
    iTap DevelopmentI Offline
    iTap Development
    wrote on last edited by iTap Development
    #3

    @Thecheater887 is it possible that your scene is zoomed in or out?
    You need to divide the distance output by the zoom.
    So if your zoom is 50% you need to divide by .5

    1 Reply Last reply
    0
    • iTap DevelopmentI Offline
      iTap DevelopmentI Offline
      iTap Development
      wrote on last edited by
      #4

      In the info about the behavior, it’s says to multiply by the zoom. But if your zoom is 50% and you multiply by .5 that isn’t right.....you would have to multiply by 2.
      I think they meant to say divide, because that works normally.

      So anyway, just divide the distance by the zoom, and you should have the right number.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Thecheater887
        wrote on last edited by
        #5

        I can compensate for the screen flawlessly, but logically to me, the screen zoom should have no effect on the distance between objects.

        If I’m in a helicopter looking at a car and a boat that are a mile apart, they might look a foot apart to me, but they’re still a mile apart in reality.

        My complaint is it returns a value based on perception, not reality.

        iTap DevelopmentI 1 Reply Last reply
        1
        • T Thecheater887

          I can compensate for the screen flawlessly, but logically to me, the screen zoom should have no effect on the distance between objects.

          If I’m in a helicopter looking at a car and a boat that are a mile apart, they might look a foot apart to me, but they’re still a mile apart in reality.

          My complaint is it returns a value based on perception, not reality.

          iTap DevelopmentI Offline
          iTap DevelopmentI Offline
          iTap Development
          wrote on last edited by iTap Development
          #6

          @Thecheater887 I totally agree! But in your first post, you said the unit wasn’t in meters. All I was saying is that it is, but it doesn’t take zoom in to account.
          Sorry if I misunderstood you.

          D 1 Reply Last reply
          0
          • iTap DevelopmentI iTap Development

            @Thecheater887 I totally agree! But in your first post, you said the unit wasn’t in meters. All I was saying is that it is, but it doesn’t take zoom in to account.
            Sorry if I misunderstood you.

            D Offline
            D Offline
            Deeeds
            wrote on last edited by
            #7

            @iTap-Development How can metres be different if zoom is different? Metres don't change because of zoom. They're still metres. The number of metres shown on the screen changes. The number of metres between any two objects doesn't change, either.

            iTap DevelopmentI 1 Reply Last reply
            0
            • D Deeeds

              @iTap-Development How can metres be different if zoom is different? Metres don't change because of zoom. They're still metres. The number of metres shown on the screen changes. The number of metres between any two objects doesn't change, either.

              iTap DevelopmentI Offline
              iTap DevelopmentI Offline
              iTap Development
              wrote on last edited by
              #8

              @Deeeds the unit is meters! What other unit do you think it is?
              If it wasn’t meters, you couldn’t divide by the zoom and get the right distance.
              The only problem is that it doesn’t take zoom into account.

              1 Reply Last reply
              0
              • T Offline
                T Offline
                Thecheater887
                wrote on last edited by Thecheater887
                #9

                The way it’s set up, is that one SCREEN pixel is one meter according to hyperPad.

                It should be set up so one GRID pixel is one meter.

                This issue also affects movement and velocity.

                D 1 Reply Last reply
                0
                • T Thecheater887

                  The way it’s set up, is that one SCREEN pixel is one meter according to hyperPad.

                  It should be set up so one GRID pixel is one meter.

                  This issue also affects movement and velocity.

                  D Offline
                  D Offline
                  Deeeds
                  wrote on last edited by
                  #10

                  @Thecheater887 In a game engine with dynamic zoom? Surely you're kidding.

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    Thecheater887
                    wrote on last edited by
                    #11

                    The screens I would think would be set up as camera’s, reflecting a portion of reality like in 3D Games, but I could be reading the wrong book entirely.

                    D 1 Reply Last reply
                    1
                    • T Thecheater887

                      The screens I would think would be set up as camera’s, reflecting a portion of reality like in 3D Games, but I could be reading the wrong book entirely.

                      D Offline
                      D Offline
                      Deeeds
                      wrote on last edited by
                      #12

                      @Thecheater887 That's how they should be. That's how I'd been assuming they operated.

                      And I'm abusing dynamic zoom, heavily.

                      But I'm not doing any distance measurements... except for one... that does have an interesting drift bug in it that I've never managed to track down................................

                      ......... me heading back to look at my camera lerping's reliance on distance between a camera dummy and the hero............

                      1 Reply Last reply
                      0
                      • Aidan_FireA Offline
                        Aidan_FireA Offline
                        Aidan_Fire
                        wrote on last edited by
                        #13

                        I once asked Hamed about this, I don’t think they are going to change it, it was intentional.

                        D 1 Reply Last reply
                        0
                        • Aidan_FireA Aidan_Fire

                          I once asked Hamed about this, I don’t think they are going to change it, it was intentional.

                          D Offline
                          D Offline
                          Deeeds
                          wrote on last edited by
                          #14

                          @Aidan-Oxley Why am I not surprised?

                          1 Reply Last reply
                          1

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Search