0 points

I work in 3D metrology and the consensus is right handed and Z up. Had no idea left handed existed!

permalink
report
reply
0 points

How does projection work in your field? X, Y, Z get converted to X, Z and 2D screen planars have no Y axis?

Who invented this, why did she do it and where to send my official letter of complaint?

permalink
report
parent
reply
0 points

I thought right-hand rule with Z up as thumb was standard in science? You usually project on the xy-plane, for example when calculating the distance to objects on a flat surface.

permalink
report
parent
reply
0 points

I only know thumb = motion/current but now since you say, it’s clear: people used x/y for 2D logically but the 2D plane used to be paper. which is parallel to the earth surface (usually). Computer screens are perpendicular so Y points up, not away from you.

So this makes sense with paper, TIL. With computers, Z traditionally means depth.

permalink
report
parent
reply
0 points

TBH I’m not sure I totally understand the question but projection is very useful to decompose the orientation of elements, like a cylinder that you just measured with a machine or a scanner. The coordinates and orientation (angles) can be projected in the three main planes XY, YZ and ZX.

permalink
report
parent
reply
0 points
*

Sorry for being unclear, I was talking about screen projection. For actual rasterization.

permalink
report
parent
reply
0 points
*

I found this handy reference a while ago. But yeah, we are kinda screwed.

permalink
report
reply
0 points

There’s only one quadrant of this that should be acceptable to anyone! Positive X, positive Y!

permalink
report
parent
reply
0 points

Nope, the bottom right quadrant is the acceptable one. Z is up and follows the right-hand rule. I will die on this hill.

permalink
report
parent
reply
0 points

you’ll get bitten during projection when depth is converted to 2D screen coordinates, which is X and Y. Better do it right from the start.

permalink
report
parent
reply
0 points

Ugh, when I have to open CAD for a project at work I have to setup a new coordinate system with Z going up, every time. The engineers just work with Y up for some reason. Too lazy to change it perhaps? Solid works and Inventor default Y up? I’ll never understand it. I definitely understand this meme. There’s also models with an origin 10 feet off in X and 20 feet out in Y. I just do not friggin get it man.

permalink
report
reply
0 points

In which world should Z point up and Y represent depth?

Totally crazy opposite world, where cats hunt dogs and rain goes up? This is plain evil…! :-)

permalink
report
parent
reply
0 points

In robotics I use right hand coordinates with z up. So a car is moving in the 2d xy plane and z is the optional third component. This makes sense to me. For some kind of painting on the screen I can understand why you use y as up. Then again, I know these as uv-coordinates.

permalink
report
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 5.3K

    Monthly active users

  • 884

    Posts

  • 8.9K

    Comments

Community moderators