Display a cube at a specific position in the scene

I track the position of a quadrangle on the surface using my camera. It works great. Having received these coordinates (4 edges), I want to display the cube at this position. (AR-like). How to calculate model conversions or (if better) adjust camera position?

Thanks in advance...

+3
source share

Source: https://habr.com/ru/post/1769507/


All Articles