I'm starting to play with CATransform3D
and I'm getting most of the stuff. But one thing I don't understand is the perspective
. I know it's the m34
and I know how it changes the result, but I don't quite get it how to obtain the ideal value for my case. It's by trial and error, or there's an analytic way to calculate it?
There's this project, 3DTransformFun, I would like to mention that helped me a lot building my transforms.