- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Virtools中插值算法研究与应用
Virtools中插值算法研究与应用
摘要:在虚拟现实系统开发中有很多对象是需要通过旋转的方法实现运动的,利用插值算法实现物体的旋转是很常用的方法,该文阐述了旋转算法和双线性插值算法的原理和实现方法。旋转算法是根据三维物体绕三个坐标轴旋转的角度及先后顺序,依据三个运算公式计算得到一个旋转轴和旋转角度,再根据该旋转轴和旋转角度对物体实施旋转。双线性插值算法其速度慢,但得到的图像纹理清晰,能满足大多数程序的要求。这两种方法可以处理不同的旋转物体。文中同时给出了使用Virtools图形开发引擎应用这两种算法来解决钻井模拟仿真系统中的物体旋转的方法。最后可以发现整个系统实现了预想的旋转效果,并且旋转精度也在可控制的范围内,满足了系统真实性的要求。
关键词:旋转算法;双线性插值算法;virtools;钻井模拟仿真系统
中图分类号:TP311文献标识码:A文章编号:1009-3044(2011)10-2276-03
The Interpolation Algorithm and its Application in Virtools
AN Jing-ya, GONG Jie
(School of Computer Science, Southwest Petroleum University,Chengdu 610500, China)
Abstract: There are many objects need to rotate in virtual reality System development, the object of interpolation algorithm is a very common method of rotation. This paper describes the rotation algorithm and the bilinear interpolation algorithm theory and implementation. This algorithm is based on three-dimensional objects rotating around three axes of rotation and the order, calculated the three operations to get a rotation axis and rotation angle, and then rotate the object by the rotation axis and rotation angle. Bilinear interpolation algorithm is its slow, but get a clear image texture and can meet the requirements of most programs. Both methods can handle different rotating object. The paper also gives the application that using the two algorithms to solve the rotating objects in drilling simulation system in the Virtools graphical development engine. Finally, the whole system achieved the desired effect of rotation and rotation accuracy can be controlled within the scope of the system, Meets the system requirements of authenticity.
Key words: rotation algorithm; bilinear interpolation algorithm; virtools; drilling simulation system
目前,随着人们对虚拟现实技术的认可,虚拟现实工具的不断更新,Virtools工具以其方便易用、应用领域广的特点在各个行业中被广泛应用。在使用Virtools工具实现物体运动的过程中,物体的旋转过程是一个非常关键的问题,它的基本任务是通过旋转的方法使物体实现运动的过程。即使已有了大量有价值的研究成果,可随着人们对交互实时性、场景真实性的不断提高,物体旋转技术所面临的问题也日益突出,其中最核心的问题就是如何有效地提高旋转的真实性和实时性。
1 绕坐标轴旋转算法
在实际应
文档评论(0)