Someone else was explaining how to tell left from right handed. Buy why is it important? If you do math and physics, you almost certainly would use a right hand system. That means all formulas are derived with that in mind. If you try to use them in the left handed system, you are going to have a horrible time trying to figure out which of all terms need to have their sign flipped.
Eh sort of? It’s all a matter of perspective. In Blender which uses a right hand system, when you view from the side, right is positive Y, up is positive Z, and towards the user is positive X.
But looking from above, positive X is right, positive Y is up, and positive Z is towards the camera. Obviously if you rotate the camera to be viewing from the negative side of the axis some directions get flipped.
Basically if you’re axis aligned, things work out the way you would expect.
Tradition, 3d videogames started doing it like that because of how computers worked 40 years ago, then devs got used to think about 3d space that way and it stuck. Essentially videogames think about visual depth. And yes, the physics engines for videogames usually account for that and use their own transformations of formulas because they are rarely simulating anything more complex than rigid body physics. Advanced simulations aren’t any harder for devs, all the transformations are abstracted away with libraries.
In the end they are just reference frames and up is whatever you want it to be. As Wikipedia puts it eloquently: “Unlike most mathematical concepts, the meaning of a right-handed coordinate system cannot be expressed in terms of any mathematical axioms. Rather, the definition depends on chiral phenomena in the physical world, for example the culturally transmitted meaning of right and left hands, a majority human population with dominant right hand, or certain phenomena involving the weak force.”
Not really. Youtuber Acerola has a great series on shader programming and dealing with negative numbers is a non-factor. The advantage of working with computers is that it abstracts that complexity away. You program with high level concepts, a dev rarely deals with direct calculations, unless they are actually writing the fundamental apis for it, like DX or Vulkan. Much less copy-paste formulas. It gets complicated fast, but the abstraction keeps it simple for the developer, like, the math is perhaps the easiest part of programming computer graphics.
It’s okay. The equations have been done since a long time ago. Devs don’t have to think about it much. Essentially, computer simulations already have their own body of math that you probably were not taught in physics, because they aren’t relevant for real world physics study.
Yeah, and you probably used libraries that abstracted the math away so you could focus on your simulations instead of thinking about transforming negative signs for the GPUs. That’s already figured out.
Actually…
Unreal Engine is switching to Y-up
https://x.com/TimSweeneyEpic/status/1930678660098408669
Thank god, this is the one true coordinate system
Personally I feel limited if I’m working in anything else than a non-euclidean coordinate system
Oh dear Lord.
Also Minecraft in Y-Up
unreal georg is an anomaly and should not be counted
deleted by creator
Dwarf Fortress goes with Blender and the others
I’m not getting left handed vs right handed. Right handed means negative values go right? Why would anyone do that?
Right handed means that when you curl the fingers on your right hand from +X towards +Y, your thumb points towards +Z.
Someone else was explaining how to tell left from right handed. Buy why is it important? If you do math and physics, you almost certainly would use a right hand system. That means all formulas are derived with that in mind. If you try to use them in the left handed system, you are going to have a horrible time trying to figure out which of all terms need to have their sign flipped.
Eh sort of? It’s all a matter of perspective. In Blender which uses a right hand system, when you view from the side, right is positive Y, up is positive Z, and towards the user is positive X.
But looking from above, positive X is right, positive Y is up, and positive Z is towards the camera. Obviously if you rotate the camera to be viewing from the negative side of the axis some directions get flipped.
Basically if you’re axis aligned, things work out the way you would expect.
But then should the little axis depictions in OP be swapped?
Yeah the first one is a left handed coordinate system.
Z up all the way because my 3d printer but why is Minecraft y-up D:
deleted by creator
Tradition, 3d videogames started doing it like that because of how computers worked 40 years ago, then devs got used to think about 3d space that way and it stuck. Essentially videogames think about visual depth. And yes, the physics engines for videogames usually account for that and use their own transformations of formulas because they are rarely simulating anything more complex than rigid body physics. Advanced simulations aren’t any harder for devs, all the transformations are abstracted away with libraries.
In the end they are just reference frames and up is whatever you want it to be. As Wikipedia puts it eloquently: “Unlike most mathematical concepts, the meaning of a right-handed coordinate system cannot be expressed in terms of any mathematical axioms. Rather, the definition depends on chiral phenomena in the physical world, for example the culturally transmitted meaning of right and left hands, a majority human population with dominant right hand, or certain phenomena involving the weak force.”
deleted by creator
Not really. Youtuber Acerola has a great series on shader programming and dealing with negative numbers is a non-factor. The advantage of working with computers is that it abstracts that complexity away. You program with high level concepts, a dev rarely deals with direct calculations, unless they are actually writing the fundamental apis for it, like DX or Vulkan. Much less copy-paste formulas. It gets complicated fast, but the abstraction keeps it simple for the developer, like, the math is perhaps the easiest part of programming computer graphics.
Ace is a decent watch. Shit post quality video energy, that’s information dense. Always gonna second an Acerola suggestion.
deleted by creator
It’s okay. The equations have been done since a long time ago. Devs don’t have to think about it much. Essentially, computer simulations already have their own body of math that you probably were not taught in physics, because they aren’t relevant for real world physics study.
deleted by creator
Yeah, and you probably used libraries that abstracted the math away so you could focus on your simulations instead of thinking about transforming negative signs for the GPUs. That’s already figured out.