I'm experimenting with different tile dimensions while rendering 3D assets for an isometric game (or dimetric to be exact). Everyone does a 2:1 ratio so the tiles in isometric view are 256wx128h, which requires a 30 degree down-angle of the camera. I'm trying to find out what angle my camera needs to be in order to produce a tile that is 256wx160h.
I suck at math so I found this link but it's giving me some questionable results https://c2isogame.wordpress.com/2017/02/10/how-to-get-height-level-of-tile-in-iso-view/amp/
According to the page, the formula for a tile 256wx128h is atand(128/sqrt(256^2+256^2))
, which equals 19.47, and that's obviously not 30.
What is the general formula to find camera angle for any tile size in dimetric projection?