VRML动画与交互功能的设计与实现.doc

VRML动画与交互功能的设计与实现.doc

  1. 1、本文档共7页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
VRML动画与交互功能的设计与实现

华北水利水电学院 虚拟现实技术 实验报告 2012~2013学年 第 一 学期 2011 级 计算机科学与技术 专业 班级: 2011179 学号: 201117912 姓名: 刘苗苗 实验三 VRML动画与交互功能的设计与实现 实验目的: 掌握VRML构建三维场景动画的原理与方法,在此基础上,实现浏览者与三维场景的交互功能。重点掌握时间传感器、位置插补器、标量插补器、坐标插补器、触摸型检测器和感知性检查器的原理与使用方法。 二、试验内容: 创建一个三维虚拟现实场景,实现三维场景的动画效果与交互功能。 要求:场景元素不限,但必须包括动画和交互的功能。 三、试验步骤: #VRML V2.0 utf8 Background { skyColor 0.2 0.5 0.6 } Viewpoint { position 0 0 14 } Transform { translation 11 2.2 -10 #right wall children [ DEF right1 Shape { appearance Appearance { texture ImageTexture{ url qz365 .jpg repeatS FALSE repeatT FALSE } textureTransform TextureTransform { scale 10 10 } } geometry Box { size 0.8 10.8 20 } } ] } Transform { translation -11 2.2 -10 #left wall children [ USE right1 ] } Transform { translation 0 2.2 -19.6 # back wall children [ Shape { appearance Appearance { texture ImageTexture { url qz365.jpg } } geometry Box { size 22.8 10.8 0.8 } } ] } Transform { #front right wall translation 8.4 0.2 0 children [ DEF right2 Shape { appearance Appearance { texture ImageTexture { url brick.gif } textureTransform TextureTransform { scale 4 4 } } geometry Box { size 6 6.8 0.8 } } ] } Transform { #front left wall translation -8.4 0.2 0 children [ USE right2 ] } Transform { translation 0 7.6 -10 #shang qiang children [ Shape { appearance Appearance { texture ImageTexture { url qz365.jpg } } geometry Box { size 30 0.8 20.8 } } ] } Transform { translation 0 -3.6 -10 #di mian children [ Shape { appearance Appearance { texture ImageTexture { url ditan124.jpg } textureTransform TextureTransform { scale 20 20 } } geometry Box { size 24 0.8 20.8 } } ] } Transform { translation 0 5.4 0 children [ Shape { appearance Appearance { texture ImageTexture { url brick.gif }

您可能关注的文档

文档评论(0)

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

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

1亿VIP精品文档

相关文档