I am trying to work out an isometric projection matrix for a custom angle. In the engine I'm using there's a projection matrix defined like so:
var project:Matrix = new Matrix();
projection.rotate(45 * (Math.PI / 180) );
scale = 1.4142137000082988; // not sure why this magic number is needed- now working on a "real" solution
projection.scale(scale * 1, scale * .5);
(the syntax above is actionscript, but that shouldn't matter much) I'm currently trying to get my head around the wikipedia article. I see the beta angle is 45, like in the matrix above, but I don't understand where does the 'magic' number come from, and the connection between the isometric angle and the scale ratio (1,1/2).
If I want to use a custom angle, how do I work out what angle I use instead of 45 ? , what would the scale value and scale ratio be ?