网站大量收购闲置独家精品文档,联系QQ:2885784924

人机接口与图形学(双语)03-Transformations.ppt

  1. 1、本文档共76页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Looking At Quaternions But interpolating multiple rotations is still ugly Quaternions have some other nice advantages too more compact than rotation matrices can compose rotations by quaternion multiplication but they can be easily converted to matrices if needed How Does SLERP Work ? Given two object poses from two rotation matrices M and M’; Convert M to quaternion q, M’ to quaternion q’; Obtain the new quaternion q’/q with a new rotation axis A and angle Q; How Does SLERP Work ? Uniformly subdivide the rotation angle Q into a few smaller angles and compose intermediate quaternions using axis A; Convert the intermediate quaternions back to intermediate rotation matrices; How Does SLERP Work ? Apply intermediate rotation matrices to the first object pose to generate intermediate poses towards the second pose. Transformation of Normal Vectors Affine transformations map parallel lines to parallel lines but the same does not hold for perpendicular lines Transform M will not map normal vectors to normal vectors first guess would be to map normals as n → Mn after transform, may or may not be perpendicular to surface Normal vectors are defined by surface tangent planes so let’s consider how planes are transformed Transformation of Normal Vectors A plane in 3-D space is described by the homogeneous vector thus any point v on the plane satisfies the equation Transformation of Normal Vectors For any 4x4 matrix whose inverse exists, this is equivalent to thus the transformed point Mv lies on the plane It’s plane vector is Transformation of Normal Vectors Transformation of Normal Vectors This gives us the transformation rule for normal vectors Transformation of Normal Vectors Must in general compute actual local plane however, there are some simpler cases Simplified case #1: Affine Transformations map parallel planes to parallel planes thus, can pick any value of d — might as well be 0 Transformation of Normal Vectors Simplified case #2: Orthogo

文档评论(0)

lizhencai0920 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:6100124015000001

1亿VIP精品文档

相关文档