Answer the question
In order to leave comments, you need to log in
How to find out the coordinates of a two-dimensional projection of a three-dimensional point?
There are 12 lines with which a cube is drawn in two-dimensional space, i.e. each line is indicated by 2 points with coordinates (x;y). You need to rotate this cube along all three axes (x, y, z) using the rotation matrix. I made a rotation along the Z axis (everything works), but for rotations along the X, Y axes, you need to calculate Z. And where to put it next to display new coordinates (x; y), I did not quite understand. Simple equating to 0 doesn't work, or something is wrong with my formula.
Tell me what to do.
PS I have already looked at a lot of information on the Internet and tried different formulas and substitutions, but for some reason it doesn’t work: c
[on the photo is the X-axis rotation code and the rotation matrix used]
and this is what happens during rotation
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question