vrml实例源代码(摆球、风扇、书柜代码)_第1页
vrml实例源代码(摆球、风扇、书柜代码)_第2页
vrml实例源代码(摆球、风扇、书柜代码)_第3页
vrml实例源代码(摆球、风扇、书柜代码)_第4页
vrml实例源代码(摆球、风扇、书柜代码)_第5页
免费预览已结束,剩余1页可下载查看

下载本文档

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

文档简介

1、精品文档1. 会动的摆球#VRML V2.0 utf8Background skyColor .6 .6 1Transform translation 0 -2.5 0 children Shape appearance Appearance material MaterialdiffuseColor 0 1 1 geometry Box size 10 1 1Transform translation 4 0 0children Shape appearance Appearancematerial Material diffuseColor 1 0 1geometry Box size 0

2、.5 5.8 0.6Transform translation -4 0 0children Shape appearance Appearancematerial Material diffuseColor 1 0 1geometry Box size 0.5 5.8 0.6Transform translation 0 2.5 0 rotation 0 0 1 1.571 children Shape appearance Appearance materialMaterial diffuseColor .5 0 1 geometry Cylinder radius 0.2 height

3、7.5material Material diffuseColor2 1 1geometry Sphere radius0.3Transform translation 0 0.6 0 children Shape appearance Appearance material Material diffuseColor 0 .8 1geometry Cylinder radius 0.1 height 3.5DEF left Transform translation -1.2 0 0 center 0 2.35 0 children USE hk Transform translation

4、0.6 0 0 rotation 0 0 1 0 children USE hk Transform translation -.6 0 0 rotation 0 0 1 0 children USE hk DEF right Transform translation 1.2 0 0center 0 2.35 0children USE hk DEF hk Transform children Group children Transform translation 0 -1.42 0 children Shape appearanceAppearance DEF time TimeSens

5、or cycleInterval 1 loop TRUE enabled TRUE DEF z1 OrientationInterpolator key 0 0.25 0.5 0.75 1 keyValue 精品文档0 0 1 0,0 0 1 0.5,0 0 1 0,0 0 1 0,0 0 1 0,DEF z2 OrientationInterpolator key 0 0.25 0.5 0.75 1 keyValue 0 0 1 0, 0 0 1 0, 0 0 1 0,0 0 1 -0.5, 0 0 1 0,ROUTE time.fraction_changed TO z1.set_frac

6、tionROUTE time.fraction_changed TO z2.set_fractionROUTE z1.value_changed TO right.rotationROUTE z2.value_changed TO left.rotationShape Transform translation 1 0 02. 不用电的电风扇#VRML V2.0 utf8Background skyColor 1 1 0.9DEF a Transform translation 0 1.3 -0.2 children Shape appearance Appearance material M

7、aterial diffuseColor 1 1 1 geometry Sphere radius 0.2Transform translation 1 0 0 scale 0.9 0.3 0.1 center -1 0 0 rotation 0 0 1 0 children appearance Appearance material Material diffuseColor 0 0 1 geometry Sphere radius 1Transform translation 1 0 0 scale 0.9 0.3 0.1 center -1 0 0 rotation 0 0 1 2.0

8、94 children Shape appearance Appearance material Material diffuseColor 0 1 0 geometry Sphere radius 1精品文档scale 0.9 0.3 0.1center -1 0 0rotation 0 0 1 4.18children Shape appearance Appearance material Material diffuseColor 1 0 0 geometry Sphere radius 1Transform translation 0 1.3 0scale 7 7 1.5center

9、 0 0 0rotation 0 0 1 0 children Shape appearance Appearance material Material diffuseColor 0 1 1 transparency 0.77 geometry Sphere radius 0.3Transform translation 0 1.3 -0.72rotation 1 0 0 1.57children Shape appearance Appearance material Material diffuseColor 1 0 1 geometry Cylinderheight 0.75 radi

10、us 0.2children Shape appearance Appearance material Material diffuseColor 0 0.5 1 geometry Box size 3 0.2 2.3Transform translation 1 -1.3 0.8children Shape appearance Appearance material Material diffuseColor 1 0 0 geometry Sphere radius0.2Transform translation -1 -1.3 0.8children Shape appearance A

11、ppearance material Material diffuseColor 0 1 0 geometry Sphere radius 0.2Transform translation 0 -1.4 0Transform translation 0 0 -0.8children Shape appearance Appearance material Material diffuseColor 1 1 1 geometry Cylinder height 2.8 radius 0.13 DEF sj TimeSensor enabled TRUE cycleInterval 1 loop

12、TRUE DEF zhuan OrientationInterpolator key 0 0.25 0.5 0.75 1 keyValue 0 0 1 00 0 1 1.570 0 1 3.14 0 0 1 4.710 0 1 6.28精品文档Transform translation 1.5 1.1 0ROUTE sj.fraction_changed TO zhuan.set_fractionROUTE zhuan.value_changed TO a.rotationchildren Shape appearance Appearance material Material diffus

13、eColor 0 0 1 geometry Box size 0.2 4 2 Transform translation -1.5 1.1 0children Shape appearance Appearance material Material diffuseColor 0 0 1 geometry Box size 0.2 4 2 Transform translation 0 1.1 -0.9 children Shape appearance Appearance material Material diffuseColor 0 0 1 geometry Box size 3 4

14、0.2 3. 见鬼似的书柜#VRML V2.0 utf8#VRML V2.0 utf8Background skyColor 0.8 0.8 09.8Transform translation 0 3 0children Shape appearance Appearance material Material diffuseColor 0 0 1 geometry Box size 3 0.2 2DEF zuo Transform center 0.8 0 0translation 0.8 1.1 1children Shape appearance Appearance material

15、Material diffuseColor 0 1 1 geometry Box size 1.6 4 0.2 translation -0.8 1.1 1children Shape appearance Appearance material Material diffuseColor 0 1 1 geometry Box size 1.6 4 0.2Transform translation 0 1 0children Shape appearance Appearance material Material diffuseColor 0 0 1 geometry Box size 3

16、0.2 2 children Shape appearance Appearance material Material diffuseColor 0 0 1 geometry Box size 0.2 1.5 2Transform translation 0 -2.3 0children Shape appearance Appearance material Material diffuseColor 0 0 1 geometry Box size 3 0.2 2 Transform translation 0 -1 0children Shape appearance Appearanc

17、e material Material diffuseColor 0 0 1translation 0 -1.65 0.05Transform translation 0 -1.65 -0.9children Shape appearance Appearance material Material diffuseColor 0 0 1 geometry Box size 3 1.5 0.2 Transform translation -1.5 -1.65 0 children Shape appearance Appearance material Material diffuseColor

18、 0 0 1geometry Box size 0.2 1.5 2geometry Box size 3 0.2 2DEF ct Transform children Shape appearance Appearance material Material diffuseColor 1 0 1geometry Box size 2.8 1.11.9DEF sj TimeSensor loop TRUE cycleInterval 2DEF zhuanTransform translation 1.5 -1.65 0OrientationInterpolator key 0 0.25 0.5 0.75 1 keyValue 0 1 0 00 1 0 1.570 1 0 1.570 1 0 1.57 0 1 0 0DEF zhuan1 OrientationInterpolator key 0 0.25 0.5 0.75 1 keyValue 0 1 0 00 1 0 -1.570 1 0 -1.570 1 0 00 1 0 0 DEF ctdPositionInterpolator key 0 0.5

温馨提示

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

评论

0/150

提交评论