Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想跳进去。一些好的教程会很酷!
http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_affine/dq_affine.html
这可能是一个很好的起点
不幸的是,iPhone 变换矩阵不存在。
你必须使用普通的:(
对于 CATransform3D(3-D 核心动画转换),您可以参考他们的文档,该文档很好地解释了基础知识。
如果您对示例感兴趣,我将在此处描述我如何通过使用该结构改进一些 OpenGL 渲染任务,并且我有一个 iPhone 应用程序的源代码,该应用程序使用 CATransform3D 和 Core Animation 执行 3-D 旋转和透视效果。