• RedSnt 👓♂️🖥️
      link
      fedilink
      arrow-up
      10
      arrow-down
      6
      ·
      3 days ago

      Every kid learning math has to at the very least learn X and Y coordinates for graphs. That’s the reason I think Y is the natural up, it just makes more sense to be in line with what everyone already know instead of flipping it around.

      • theunknownmuncher@lemmy.world
        link
        fedilink
        arrow-up
        32
        arrow-down
        1
        ·
        edit-2
        3 days ago

        You looked down at the math book on your desk that showed the X-Y graph on the page, and the Y axis extended forward, away from you. Z was “up”.

        • dormedas@lemmy.dormedas.com
          link
          fedilink
          arrow-up
          22
          arrow-down
          1
          ·
          3 days ago

          I always thought about it like this. Put your fancy page with X-Y coordinates on the ground. Add a new dimension perpendicular to the ground. This is the Z-axis, it goes up.

          • Grey Cat@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            But in those cases, isn’t positive Z going “away” from you ? I.e. Into the ground ?

            And in math classes this has always been described to me as adding “depth”.

            • dormedas@lemmy.dormedas.com
              link
              fedilink
              arrow-up
              1
              ·
              2 days ago

              I could see that being totally valid after thinking about it for a second!

              I imagine it as a new dimension growing “up” out of the X/Y plane (as burrowing into the ground would be going into “occupied” space, it’s forbidden). But “depth” does make that make more sense.

      • moonlight@fedia.io
        link
        fedilink
        arrow-up
        13
        arrow-down
        3
        ·
        3 days ago

        I disagree – I think Z up is much more natural in this sense. X,Y is a plane, and it’s much more natural to think of a plane as being horizontal, especially in a 3D environment with a ground plane. Z is the third dimension, perpendicular to that plane. Think about it this way, doesn’t it makes way more sense to have a map with X,Y coordinates rather than X, Z coordinates?

        • offspec@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          I feel like whiteboards have gone extinct or something. All of my math lectures from grade school to uni took place on a y-up surface. I can appreciate that there are multiple ways to skin a cat, but I feel like people just argue what’s most convenient for their preference in this kind of situation.

          • Redex@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 days ago

            Yeah you’d draw it on a vertical whiteboard, but in physics and math (or at least all the classes I had), you’d always draw a coordinate system with Z going up. I can understand why it would make sense for you to look at XY being a vertical plane, but I feel like it just makes more sense for XY to be the ground.

            Also, convenience wise, especially in e.g. game dev, for 90% of use cases it’s way more convenient for the first two coordinates to be the ground position and the last coordinate be the height. Whenever you’re thinking of the coordinates of something, you’d probably first think about its ground position and then its height, in which case it’s much simpler if those ground coords are at the start, instead of at the beginning and end of a vector.

        • lb_o@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          3 days ago

          Fully agree with you.

          Y-up doesn’t make sense in gamedevelopment at all. All those changes, because some dinosaurs of the past decided that Z is their screen depth.

          And what should we do with all previously released games? Refactor all vectors?

      • CookieOfFortune@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        3 days ago

        Imagine you’re drawing a level or a city or a landscape. Wouldn’t you want to work in X and Y for this? Precisely because you’ve learned the X and Y coordinates in school. Then you add Z as the height.

        • RedSnt 👓♂️🖥️
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          Yeah, for cases like maps it works, but most everyone that draws don’t do bird eye view drawings. I’m just saying, I think it’s more natural for people to draw scenes on 2D planes, and converting that to 3D Z as “depth” makes more sense. Although all the reasons I’ve heard for Z as height also makes sense to me now.