- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
电脑应用技术 二零一一总第七十八期
基 于 Ogr e 的 漫 游 场 景 中 精 确 碰 撞 检 测 方 法
1 1
吴 静 李 琳
(合肥工业大学计算机与信息学院 VCC 研究室,安徽省合肥市 230009 )
摘 要 :三维场景 中为 了方便用户交互与观察,往往提供漫游 的功能,使其可 以到达身
临其境 的感觉,而碰撞检测技术是漫游系统中一个不可或缺 的重要部分。广泛采用的
都是基于包 围盒 的碰撞检测,其精度不高。为 了提高漫游系统的真实感,本文研究了
精确到三角面片级别的碰撞检测,利用基于 AABB 的射线查询得到碰撞实体 ,再提取
出实体 mesh 的顶点信息和索引信息,根据顶点索引对射线与 mesh 的三角面片进行相
交检测 ,返 回距离射线发射点最近 的交点。
关键词 :碰撞检测 包围盒 射线查询 顶点索引 相交检测
Th e method of precise collision detection in
the roaming scene based on Ogre
1 1
Wu ing Li Lin
1 VCC Division, School of Computer and Information, Hefei Univer sity of Technol ogy,
Hefei 230009
Ab str act: In order to facilitate the user to interactiv e and observe, it often provide th e
function of roaming to give the experience per sonally feelin g to th e user in
three-dimensional scen e. And collision detection techn ology is a in dispensable imp ortant
parts of roaming system. The collision detection b ased on the b ounding box is used widely,
but the accuracy is not high. In order to improve th e effects of roaming system, the article
studies the precise level of triangles to the collision detection. The method firstly gets
collision entities through ray query b ased on AABB, then extracts the vertex information
and index information of the mesh. Finally it makes inter section test to the ray and th e
12
电脑应用技术 二零一一总第七十八期
triangl es of mesh by the vertex in formation and index in formation, returns th e inter section
which distan ces most nearly from th e origin point of ray.
Ke
文档评论(0)