VRML虚拟现实开发文档(含源代码)_第1页
VRML虚拟现实开发文档(含源代码)_第2页
VRML虚拟现实开发文档(含源代码)_第3页
VRML虚拟现实开发文档(含源代码)_第4页
VRML虚拟现实开发文档(含源代码)_第5页
已阅读5页,还剩32页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

虚拟现实开发文件罗比030913501 .功能概要用vrml语言构建了虚拟现实世界。 运动物体包括气球、列车、汽车、信号灯等,静止物体包括山脉、林、家、人物、花草、电话亭、国旗、座位、招牌、伞等,也包括背景和声音。2 .使用说明书2.1招牌屏幕截图:程序:#VRML V2.0 utf8把Transform translation0.0.0#背景色children 把Transform translation0.0 0.0 0children #创建招牌样式Shape appearance Appearancematerial Material diffuseColor 0.2 0.3 0.3以下称为以下称为geometry Box #招牌size 12 6.5 0.2以下称为以下称为以下称为把Transform 转换0.0.0-0.02children Shape appearance AppearancetextureImageTexture urladvertisement.png 以下称为material Material diffuseColor 0.0 0.0 0.0以下称为以下称为geometry Box size 11 5.6 0.4 #广告画面以下称为以下称为以下称为以下称为DEF leg Transform #广告柱translation 5 -4 0.1scale 0.04 0.04 0.04childrenShape # Shape模型节点appearance Appearancematerial#空间物体形状外观diffuse color 0.2 0.3 #材质的漫反射颜色以下称为以下称为geometry Cylinder #柱节点radius 2.0 #圆柱半径height 100.0 #圆柱高度top TRUE #圆柱体有顶部#bottomtor#圆柱有底bottomurside TRUE #圆柱具有曲面以下称为以下称为以下称为Transform #椅腿translation -10 0 0系列children USE leg以下称为2.2气球屏幕截图:程序:#VRML V2.0 utf8组222222220000000006children Background天空颜色0.2 0.5 0.6以下称为创建#月形状把Transformtranslation 0 0 0.0scale 1 1 1childrenShape #银色appearance AppearancetextureImageTexture urlballoon.png 以下称为material#空间物体形状外观diffuseColor 0.5 0.5 0.7 #材质的漫反射颜色ambientIntensity 0.4 #环境光在曲面上的反射程度specularColor 0.8 0.8 0.9 #物体的镜面反射光线颜色shininess 0.20 #造型外观材料亮度以下称为以下称为geometry Sphere #球体radius 4以下称为以下称为以下称为以下称为把Transformtranslation 0 -4 0.0scale 1 0.6 0.6childrenShape appearance AppearancetextureImageTexture urlcolor.png 以下称为material#空间物体形状外观diffuseColor 0.3 0.2 0.0 #材质的漫反射颜色ambientIntensity 0.4 #环境光在曲面上的反射程度specularColor 0.7 0.7 0.6 #物体的镜面反射光线颜色shininess 0.2 #造型外观材料的亮度以下称为以下称为geometry Cylinder #潜艇舰桥(传闻望塔)radius 1.0height 3.0side TRUEtopTRUEbottom TRUE以下称为以下称为以下称为气球运动计划:#VRML V2.0 utf8引入DEFfly1 Transform #月造型children inline URL balloon.wrl 以下称为deftime1time sensor # time sensor 时间传感器cycleInterval 32loop TRUE以下称为defflyinter1positioninterpoator #移动位置节点key #相对时间的逻辑值0.0,0.083,0.166,0.252,0.332,0.412,0.496,0.581,0.664,0.747,0.83,0.913,1.0keyValue #空间坐标的位置值和相对时间的逻辑值0 0 -206.6 0 -1513.2 0 -920 0 013.2 0 96.6 0 150 0 20-6.6 0 15-13.2 0 9-20 0 0-13.2 0 -9-6.6 0 -150 0 -20以下称为路由时间1.fraction _ changedtofflyinter1. set _ fractionrouteflyinter1. value _ changedtofly1. set _ translation2.3国旗屏幕截图:程序:#VRML V2.0 utf8组222222220000000006children 把Transform translation -22 -3 22战斗机scale 0.10.1 0.1children 把Transformchildren Shapeappearance Appearancetexture ImageTexture url flag.gifgeometry Box size 27 0.1 27 以下称为以下称为把Transform translation 0 15 0children Shapeappearance Appearancetexture ImageTexture url flagbase.gif geometry Cylinder radius 0.2bottom TRUEtop TRUEheight 30side TRUE )以下称为以下称为把Transform children Shapeappearance Appearancetexture ImageTexture url flagbase.gif geometry Cylinder radius 2.0bottom TRUEtop TRUEheight 1.0side TRUE )以下称为以下称为把Transform translation 4 28 0scale2 2 2children Shapeappearance Appearancetexture ImageTexture url china.gifgeometry Box size 4.0 2.0 0.01以下称为以下称为以下称为以下称为Viewpoint 版本0 101. 2位置- 15-2 25以下称为2.4巴士屏幕截图:程序:#VRML V2.0 utf8DEF Bus Transform childrenDEF body Shape appearanceAppearance materialdefltgray _ color材料ambientIntensity0.25diffuse color0. 702570.702570.70257以下称为textureImageTexture urlbus_side.jpg 以下称为以下称为geometryIndexedFaceSet ;coordCoordinate point 1.7909 0 -7.671.7909 0 7.69041.7909 1.982 7.69041.797903.964.19491.7909 3.964 -7.17451.7909 3.4685 -7.67-1.8015 0 -7.67-1.8015 0 7.6904-1.8015 1.982 7.6904-1.8015 3.964 7.1949-1.8015 3.964 -7.1745-1.8015 3.4685 -7.67 以下称为coord index 0,5,4,2,- 1,0,2,1 - 1,4,3,2,- 1,11,6,78,- 1,9,10,11,8,-1 texCoordTextureCoordinate point 0.0077066 0.0173240.99741 0.0173240.99741 0.498090.96549 0.978860.039633 0.978860.0077

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论