• Spacehooks@reddthat.com
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    1 day ago

    Weird didn’t everyone learn XY on paper on a desk first? All they did was add z axis to that original concept for elevation which gives us the bottom image.

    Top image is like if I held paper straight parallel to my face.

    • SkunkWorkz@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      11 hours ago

      Screens vs paper. It’s why all the engineering software uses Z-up, since they came from a paper top-down view workflow. But many of the creative software uses y-up, since they exist to create art that gets consumed on a screen. Like animation and games.

      • Spacehooks@reddthat.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 hours ago

        Blender and UE4 uses z as up. Which was intuitive to me having been taught that in school but Looks like industry standard for 2d focused engines use Y up based on this comment from 2009. What a mess.

        Maya and Unity both use the lefthand axis system which has Y as world up. Max is the one of the few that uses Z as up (DOH!!)

        2022 comment:

        Maya is fully able to translate between its own (Y up) and UE4’s (Z up) on export, so you can work “upright” in both without any alterations.

    • e0qdk@reddthat.com
      link
      fedilink
      arrow-up
      1
      ·
      17 hours ago

      didn’t everyone learn XY on paper on a desk first?

      No. I was plugging in crazy combinations of r, theta, x, y, z, t, and anything else shown in the built-in demo of that old Mac 3D graphing calculator app years before my teachers got to explaining coordinate systems. I had no idea what most of it meant, but I could make cool looking animated graphics as a third grader…

      Also, I found GameMaker which introduced me to using X to the right and Y down in 2D (with the origin in the top-left corner) before algebra was taught to me in school…

    • homura1650@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      1 day ago

      When working in 2 dimensions with gravity, it is common to treat Y as up. E.g, 2d video games, physics problems, computer screens.

    • squaresinger@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      1 day ago

      That’s basically what it comes down to: Is your XY plane a piece of paper that you look at from the top, or is it the pixel coordinates of the screen you are looking through?

      That’s why X is usually not contested, because it’s the same on a piece of paper that you view top-down and on a screen that you view from the front.

      Y is then one of the two potential axies for either a top-down or a side-scrolling view, and Z is the remaining axis.

      • Spacehooks@reddthat.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 hours ago

        I not educated in 2d game design so I guess Y is used for up on side strollers is what I think is happening. Least thats what is going on in gadot based on anothet commenter.

        • squaresinger@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          8 hours ago

          In 2D games X is right, Y is either up or down. I haven’t seen any engine where X is inverted, but Y can be either direction. Interestingly, I haven’t seen Y as down in any 3D environment yet.

    • jaupsinluggies@feddit.ukBanned
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      Well no. First the teacher drew it on the board, hence Y pointing up at the ceiling.

      Then we switched to paper and discovered Y pointing somewhere else was somehow the same thing.

      So the right answer to the OP is probably that “they’re the same picture” meme.