this post was submitted on 06 Jul 2023
712 points (98.6% liked)

Programmer Humor

32503 readers
540 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] yopyop@feddit.de 16 points 1 year ago (2 children)

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

[–] heeplr@feddit.de 4 points 1 year ago (2 children)

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?

[–] Pelicanen@sopuli.xyz 5 points 1 year ago (1 children)

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.

[–] heeplr@feddit.de 2 points 1 year ago

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.

[–] yopyop@feddit.de 1 points 1 year ago (1 children)

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.

[–] heeplr@feddit.de 2 points 1 year ago* (last edited 1 year ago)

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

[–] kogasa@programming.dev 3 points 1 year ago

This can happen if you accidentally pilot your player character into a singular linear transformation.