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

下载本文档

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

文档简介

1、虚拟现实开发文档罗维03091350功能概述运用vrml语语言构造了一一个虚拟现实实世界。运动动物体包括气气球,火车,汽汽车,交通灯灯等,静止物物体包括山脉脉,树林,房房屋,人物,花花草,电话亭亭,国旗,座座椅,广告牌牌,雨伞等,另另外还包含背背景和声音。使用说明2.1广告牌截图:程序:#VRML V2.0 utf8Transfoorm transllationn 0.0 0.0 00.0 #背背景颜色childrren Transsform trannslatiion0.0 00.0 0chilldren #创建广广告牌造型Shaape apppearaance AAppearrancemm

2、ateriial MMateriial diffuuseCollor 0.2 0.33 0.3 geeometrry Boxx #广告告牌ssize 112 6.55 0.2 Transfoorm trannslatiion0.0 00.0 -00.02chilldren Shapee appeearancce ApppearanncetexxtureImageeTextuure uurladveertiseement.png matteriall Matteriall diiffuseeColorr 0.0 0.0 00.0 geommetry Box sizze 11 5.6 00.4 #

3、广告屏幕DEF legg Trannsformm #广告柱柱子transllationn 5 -44 0.1scale 0.04 0.04 0.04 chilldrenShape # Shapee 模型节点点appeaarancee Appeearanccemateerial Mateerial #空间间物体造型外外观difffuseCColor 0.2 00.3 0.3 #一种材料料的漫反射颜颜色 geomeetry CCylindder #柱体节节点radiius 2.0 #圆柱体半径径heigght 1000.0 #圆柱体体高top TRUE #圆柱柱体有顶#botttom TTRUE

4、#圆圆柱体有底botttom FAALSEsidee TRUEE #圆柱柱体有曲面Transfoorm #椅椅子腿transllationn -10 0 0 chilldren USE lleg2.2热气球球截图:程序:#VRMML V2.0 utff8Group childrren BackgrooundskyCollor0.2 0.5 00.6#创建月球造型型Transfformtransllationn 0 0 0.0scale 1 1 11 chilldren Shaape #银白颜色appeaarancee AppeearanccetexttureImageeTextuure urr

5、lballloon.ppng mateerial Mateerial #空间间物体造型外外观 difffuseCoolor 00.5 0.5 0.77 #一种材料的的漫反射颜色色ambiientInntensiity 0.4 #多少环境光光被该表面反反射speccularCColor 0.8 00.8 0.9 #物体镜面反反射光线的颜颜色shinninesss 0.200 #造型外观材材料的亮度 geomeetry SSpheree #球体体radiius 4 Transfformtransllationn 0 -44 0.0scale 1 0.66 0.6 chilldren Shaape

6、appeaarancee AppeearanccetexxtureImageeTextuure urrlcoloor.pngg mateerial Mateerial #空间间物体造型外外观 difffuseCoolor 00.3 0.2 0.00 #一种材料的的漫反射颜色色ambiientInntensiity 0.4 #多少环境光光被该表面反反射speccularCColor 0.7 00.7 0.6 #物体镜面反反射光线的颜颜色shinninesss 0.2 #造造型外观材料料的亮度 geomeetry CCylindder #潜艇舰桥(嘹嘹望塔)radiius 1.0heigght 3

7、.0sidee TRUEEtopTRUEbotttom TRRUE 热气球运动动程序:#VRMML V2.0 utff8DEFflyy1 Traansforrm #引入月球造造型chilldren Inlinneurl ballloon.wwrlDEFTTime1 TimeSSensorr #时间传传感器cyclleInteerval 32loopp TRUEEDEFfflyintter1 PPositiionIntterpollator #移动位位置节点key #相对对时间的逻辑辑值0.00,0.0883,0.1166,0.252,00.332,0.4122,0.4996,0.5581,0.

8、664,00.747,0.83,0.9133,1.0keyVValue #空空间坐标的位位置值与相对对时间的逻辑辑值 0 0 -220, 6.6 0 -15, 133.2 00 -9, 200 0 0, 133.2 00 9, 6.6 0 115 0 0 20 -66.6 0 15 -113.2 00 9 -220 0 00 -113.2 00 -9 -66.6 0 -15 0 0 -200 ROUTE TTime1.fracttion_cchangeedTO fllyinteer1.seet_fraactionnROUTE fflyintter1.vvalue_changged TOOfly

9、1.set_ttransllationn2.3国旗截图:程序:#VRMML V2.0 utff8Group childrren Transsform ttransllationn -22 -3 222scalle 0.110.1 0.1 chiildrenn Transsform childdren Shapee appeaarancee Appeearancce textture IImageTTexturre url flag.gif geomeetry BBox size 27 0.1 27 Transsform trranslaation 0 15 0 chhildreen SShap

10、e appeaarancee Appeearancce textture IImageTTexturre url flaggbase.gif geomeetry CCylindder radiius 0.2 botttom TRRUE top TRUE heigght 300 sidee TRUEE Trannsformm chilldren SShape appeaarancee Appeearancce textture IImageTTexturre url flaggbase.gif geomeetry CCylindder radiius 2.0 botttom TRRUE top

11、TRUE heigght 1.0 sidee TRUEE Trannsformm trranslaation 4 28 0 sccale2 2 22 chhildreen SShape appeaarancee Appeearancce textture IImageTTexturre url chinna.giff geomeetry BBox sizee 4.0 2.0 00.01 Viewpoiint orienntatioon 0 11 0 1.2 posittion -15 -22 252.4公共汽车车截图:程序:#VRMML V2.0 utff8DEF Buss Trannsfor

12、mm childreenDEF boddy Shaape appearaanceAppeaarancee materiaalDEF LLtGrayy_Coloor Matteriall ambienttIntennsity0.25diffuseeColorr0.702213 0.702133 0.700213textureeImageeTextuure urlbuus_sidde.jpgggeometrryIndexxedFacceSet coordCCoordiinate point 1.79909 0 -7.677,1.7909 0 7.66904,1.7909 1.9822 7.6990

13、4,1.7909 3.9644 7.19949,1.7909 3.9644 -7.11745,1.7909 3.46885 -7.67,-1.80155 0 -77.67,-1.80155 0 7.6904,-1.80155 1.9882 7.66904,-1.80155 3.9664 7.11949,-1.80155 3.9664 -7.1745,-1.80155 3.46685 -77.67 coordInndex 0, 5, 4, 2, -1, 0, 2, 11,-1, 4, 3, 2, -1, 11, 66, 7,8, -1, 9, 100, 11, 8, -1 texCoorrdTe

14、xtuureCooordinaate point 0.000770666 0.0117324,0.997411 0.0117324,0.997411 0.499809,0.965499 0.977886,0.0396333 0.997886,0.00770066 0.858677,0.00770066 0.0173224,0.997411 0.0117324,0.997411 0.499809,0.965499 0.977886,0.0396333 0.997886,0.00770066 0.858677 DEF froont01 Shapee appearaanceAppeaarancee

15、materiaalUSE LLtGrayy_ColoortextureeImageeTextuure urlbuus_froont.jppggeometrryIndexxedFacceSet coordCCoordiinate point 1.79909 0 7.69004,1.7909 1.9822 7.69904,1.7909 3.9644 7.19949,-1.80155 0 7.6904,-1.80155 1.9882 7.66904,-1.80155 3.9664 7.11949 coordInndex 3, 0, 1, 4, -1, 4, 1, 22,5, -1 texCoorrd

16、TextuureCooordinaate point 0.933614 00.0185577,0.936144 0.488085,0.936144 0.977202,0.0724881 0.00185777,0.0724881 0.448085,0.0724881 0.997202 DEF topp01 Shhape appearaanceAppeaarancee materiaalUSE LLtGrayy_ColoorgeometrryIndexxedFacceSet coordCCoordiinate point 1.79909 3.964 77.19499,1.7909 3.9644 -

17、7.11745,-1.80155 3.9664 7.11949,-1.80155 3.9664 -7.1745 coordInndex 2, 0, 1, 3, -1 DEF bacck01 SShape appearaanceAppeaarancee materiaalUSE LLtGrayy_ColoorgeometrryIndexxedFacceSet coordCCoordiinate point 1.79909 0 -7.677,1.7909 3.9644 -7.11745,1.7909 3.46885 -7.67,-1.80155 0 -77.67,-1.80155 3.9664 -

18、7.1745,-1.80155 3.46685 -77.67 coordInndex 4, 1, 2, 5, -1, 5, 2, 00,3, -1 translaation0.005532 0 -0.0110212.5汽车截图:程序:#VRMML V2.0 utff8Backgroound #空间间背景中,空空中无颜色,即即黑色。topUrrl clloud.jjpg #顶部fronttUrl cloudd.jpg #前面 backUUrl ccloud.jpg #后面leftUUrl ccloud.jpg #左面righttUrl cloudd.jpg #右面bottoomUrl watee

19、r.jpgg#底部DEF carr Trannsformm rotatiion 0 1 0 11.57 childrren Traansforrm trranslaation 0 0 33 rootatioon 1 00 0 1.57 chhildreen Shaape appeaarancee Appeearancce teextureeImageeTextuure uurltiree.png maateriaal Matteriall ddiffusseColoor .1 .1 .11 geomeetry CCylindder raadius 1 heeight .5 Trannsform

20、m trranslaation 0 0 -3 rootatioon 1 00 0 1.57 chhildreen Shaape appeaarancee Appeearancce teextureeImageeTextuure uurltiree.png maateriaal Matteriall ddiffusseColoor .1 .1 .11 geomeetry CCylindderraadius 1 heiight .5 Trannsformm trranslaation 10 0 3 rootatioon 1 00 0 1.57 chhildreen Shaape appeaaran

21、cee Appeearancce teextureeImageeTextuure uurltiree.png maateriaal Matteriall ddiffusseColoor .1 .1 .11 geomeetry CCylindder raadius 1 heeight .5 Transsform trranslaation 10 0 -3 rootatioon 1 00 0 -11.57 chhildreen Shaape appeaarancee Appeearancce teextureeImageeTextuure uurltiree.png maateriaal Matt

22、eriall ddiffusseColoor .1 .1 .11 geomeetry CCylindder raadius 1 heeight .5 #车轮轮 Traansforrm trranslaation 6 2 00 chhildreen Shaape appeaarancee Appeearancce teextureeImageeTextuure uurlcar_side.png maateriaal Matteriall geomeetry BBox siize 166 3 8 Trannsformm trranslaation 6.8 44 0 chhildreen Shaap

23、e appeaarancee Appeearancce teextureeImageeTextuure urrlblacck.pngg maateriaal Matteriall geomeetry BBox siize 144 3 7 #车身身 Trannsformm trranslaation -2 3 -3 chhildreen Shaape appeaarancee Appeearancce maateriaal Matteriall ddiffusseColoor 1 11 1 geomeetry SSphereeradiius .55 Trannsformm trranslaati

24、on -2 3 3 chhildreen Shaape appeaarancee Appeearancce maateriaal Matteriall ddiffusseColoor 1 11 1 geomeetry SSphereeradiius .55 #车车灯Transfoorm trranslaation 0 2 22 rotattion 00 1 0 1.5711 chhildreen Shaape appeaarancee Appeearancce teextureeImageeTextuure uurlcar_frontt.png maateriaal Matteriall ge

25、omeetry BBox siize 0.01 3 8 #车正面Transfoorm trranslaation 0 4.55 0.2 rotattion 00 1 0 1.5711 chhildreen Shaape appeaarancee Appeearancce teextureeImageeTextuure uurlglasss.pngg maateriaal Matteriall geomeetry BBox siize 0.01 1.5 6.55 #车窗户户Transfoorm trranslaation 0 4.55 -13.8 rotattion 00 1 0 1.5711

26、chhildreen Shaape appeaarancee Appeearancce teextureeImageeTextuure uurlglasss.pngg maateriaal Matteriall geomeetry BBox siize 0.01 1.5 6.55 #车窗户户 后面面Transfoorm trranslaation 3.55 4.5 -7 rotattion 00 0 1 1.5711 chhildreen Shaape appeaarancee Appeearancce teextureeImageeTextuure uurlglasss.pngg maate

27、riaal Matteriall geomeetry BBox siize 1.5 0.001 13 #车窗户户 侧面面Transfoorm trranslaation -3.5 4.5 -7 rotattion 00 0 1 1.5711 chhildreen Shaape appeaarancee Appeearancce teextureeImageeTextuure uurlglasss.pngg maateriaal Matteriall geomeetry BBox siize 1.5 0.001 13 #车窗户户 侧面面2.6椅子截图:程序:#VRMLL V2.00 utf88T

28、ransfoorm trannslatiion0.0 00.0 -00.02chilldren Shapee appeearancce ApppearanncetexxtureImageeTextuure uurlchaiir_woood.jpgg matteriall Matteriall diiffuseeColorr 0.2 0.3 00.4 geommetry Box sizze 11 5.6 00.3 #椅子背Transfoorm trannslatiion0 -2.8 2.88rotaation 1 0 00 1.5771chilldren Shapee appeearancce

29、ApppearanncetexxtureImageeTextuure uurlchaiir_woood.jpgg matteriall Matteriall diiffuseeColorr 0.6 0.5 00.2 geommetry Box sizze 11 5.6 00.3 #椅子坐DEF legg Trannsformm trannslatiion5.3 -5.5 00.3 #椅子子腿rotaation 0 0 00 1.5771chilldren Shapee appeearancce ApppearanncetexxtureImageeTextuure uurlchaiir_wooo

30、d.jpgg matteriall Matteriall diiffuseeColorr 0.6 0.5 00.2 geommetry Cylinnder radiius 0.2 #圆柱体半半径heigght 5.0 #圆柱体高top TRUE #圆柱柱体有顶#botttom TTRUE #圆圆柱体有底botttom FAALSEsidee TRUEE #圆柱柱体有曲面Transfoorm #椅椅子腿transllationn -10.5 0 00 chilldren USE llegTransfoorm #椅椅子腿transllationn 0 00 5 chilldren USE lleg

31、Transfoorm #椅椅子腿transllationn -10.5 0 55 chilldren USE lleg2.7广告牌牌截图:程序:#VRMML V2.0 utff8Transfoorm transllationn0.0 00.0 0scale 5 5 55childrren DEF siide1 SShape appeaaranceeAppeaarancee texttureImageeTextuure uurlflagg_top.png materrialDEF BBlue_CColor Materrial ambieentInttensitty0.1977097diffuus

32、eCollor0.1 00.2 0.3geomeetryExtruusion creasseAnglle0.5411052crosssSectiion 1.000346 0.2544188,1.118821 0.2098442,1.199964 0.1158229,1.229904 -00.0062242,1.199964 -00.1283314,1.118821 -00.2223327,1.003346 -00.2666673,1.003346 0.2541888 orienntatioon0 0 11 0scalee1 1soliddFALSEEspinee -0.1975662 0 00

33、,-0.2553993 0 0 Transfoorm trannslatiion-1.1 3.3 00rotaation 0 1 00 1.5771chilldren Shapee appeearancce Apppearannce teextureeImageeTextuure uurlflagg_midddle.pnng matteriall Matteriall diiffuseeColorr 0.1 0.2 00.3 geommetry Box sizze 2.55 3.5 0.1 #广告屏幕幕 Transfoorm #广告柱柱子transllationn -1.11 0.1 0sca

34、le 0.1 00.1 0.1 chilldrenShape # Shapee 模型节点点appeaarancee Appeearanccemateerial Mateerial #空间间物体造型外外观difffuseCColor 0.1 00.2 0.3 #一种材料料的漫反射颜颜色 geomeetry CCylindder #柱体节节点radiius 1 #圆柱柱体半径heigght 300.0 #圆柱体高高top TRUE #圆柱柱体有顶#botttom TTRUE #圆圆柱体有底botttom FAALSEsidee TRUEE #圆柱柱体有曲面2.8房屋屋截图:程序:#VRRML V2

35、2.0 uttf8Group childrrenDEF hhouse11 Trannsformm trannslatiion-22 112 -244chilldren Shaape apppearaance AAppearrance ttexturreImageeTextuure urlhousse1.giifrepeaatSTRUErepeaatTTRUEgeeometrry Boxx ssize 220 30 202.9山脉脉截图:程序:#VRRML V22.0 uttf8BackgrooundskyCollor 0.2 00.5 0.6#创建山脉造型型Shape # Shappe 模型节

36、节点appeaarancee AppeearanccetexttureImageeTextuure urrlgrasss.pngg mateerial Mateerial #空间物体造造型外观difffuseCColor 0.2 00.8 0.5 #一种材料的的漫反射颜色色 geeometrry EleevatioonGridd #海海拔珊格节点点 xxDimennsion 10 #X-Z水平面 zzDimennsion 40 xxSpaciing2.0 #X-Z水平平面上间距 zzSpaciing1.0 cccw TRRUE ssolid TRUE hheightt #海拔珊珊格高度阵列列

37、0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,0.00.00, 0.55, 1.00, 2.00, 05.0,0.66, 1.88, 3.00, 0.00,0.00.00, 1.55, 3.00, 05.0,10.0,10.0,8.00, 5.00, 0.00,0.00.00, 2.00, 3.00, 13.0,15.0,10.0,7.00, 6.00, 1.00,0.00.00, 1.55, 3.00, 12.0,19.0,10.0,9.00, 7.00, 2.00,0.00.00, 1.00, 3.00, 15.0,20.0,15.0,10.0,8

38、.00, 3.00,0.00.00, 1.00, 3.00, 10.0,13.0,14.0,10.0, 4.0, 2.0,0.000.00, 1.00, 3.00, 10.0,12.0,13.0, 155.0, 33.0, 11.0,0.00.00, 1.00, 3.00, 8.00, 10.0,12.0, 144.0, 22.0, 00.0,0.00.00, 2.00, 5.00,10.00,12.00, 10.0, 133.0, 55.0, 00.0,0.00.00, 4.00, 6.00,12.00,13.00, 13.0, 122.0, 66.0, 00.0,0.00.00, 2.55

39、, 4.00, 8.00, 15.0,9.66, 12.8, 3.0, 0.0,0.000.00, 1.55, 3.00, 05.0,10.0,10.0,10.0, 5.0, 0.0,0.000.00, 2.00, 3.00, 13.0,15.0,10.0,7.00, 6.00, 1.00,0.00.00, 1.55, 3.00, 12.0,19.0,10.0,9.00, 7.00, 2.00,0.00.00, 1.00, 3.00, 15.0,20.0,15.0,10.0,8.00, 3.00,0.00.00, 1.00, 3.00, 10.0,16.0,14.0,8.00, 4.00, 2

40、.00,0.00.00, 1.00, 3.00, 10.0,15.0,3.00, 5.00, 3.00, 1.00,0.00.00, 1.00, 3.00, 8.00, 10.0,2.00, 4.00, 2.00, 0.00,0.00.00, 2.00, 5.00, 7.00, 8.00, 7.00, 6.00, 5.00, 0.00,0.00.00, 3.00, 6.00, 5.00, 6.00, 5.00, 8.00, 6.00, 0.00,0.00.00, 0.55, 8.00, 2.00, 05.0,8.00, 1.88, 3.00, 0.00,0.00.00, 1.55, 3.00,

41、 05.0,10.0,10.0,8.00, 5.00, 0.00,0.00.00, 2.00, 3.00, 13.0,15.0,10.0,7.00, 6.00, 1.00,0.00.00, 1.55, 3.00, 12.0,19.0,10.0,9.00, 7.00, 2.00,0.00.00, 1.00, 3.00, 15.0,20.0,15.0,10.0,8.00, 3.00,0.00.00, 1.00, 3.00, 10.0,16.0,14.0,8.00, 4.00, 2.00,0.00.00, 1.00, 3.00, 10.0,15.0,3.00, 5.00, 3.00, 1.00,0.

42、00.00, 1.00, 3.00, 8.00, 10.0,2.00, 4.00, 2.00, 0.00,0.00.00, 3.00, 5.00, 7.00, 8.00, 7.00, 6.00, 5.00, 0.00,0.00.00, 2.00, 6.00, 5.00, 6.00, 6.00, 5.00, 5.00, 3.00,0.00.00, 1.55, 5.00, 3.00, 05.0,4.66, 3.88, 3.00, 3.00,0.00.00, 1.55, 4.00, 05.0,10.0,10.0,8.00, 5.00, 2.00,0.00.00, 2.00, 3.00, 13.0,1

43、5.0,10.0,7.00, 6.00, 1.00,0.00.00, 1.55, 3.00, 12.0,19.0,10.0,9.00, 7.00, 2.00,0.00.00, 1.00, 3.00, 15.0,20.0,15.0,10.0,8.00, 3.00,0.00.00, 1.00, 3.00, 10.0,16.0,14.0,8.00, 4.00, 2.00,0.00.00, 1.00, 2.00, 10.0,15.0,3.00, 5.00, 3.00, 1.00,0.00.00, 1.00, 1.00, 2.00, 1.0,2.00, 1.00, 2.00, 0.00,0.00.00,

44、 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00,0.0 creasseAnglle 5.0 2.10路路灯截图:程序:#VRRML V22.0 uttf8DEF B_llamp1 Transsform childreenDEF Ligght_Poost Shhape appeaaranceeAppeaarancee materrialMaterrial ambieentInttensitty0.176694diffuuseCollor0.802237 0.904255 0.844705geometrryExtruusion beginCaapFA

45、LSEEcreaseAAngle0.422219crossSeectionn -0.0530661 0.00518522,0.0510559 0.00518522,0.0510559 -0.0502665,-0.0530061 -00.0502265,-0.0530061 0.0518552 endCapTRUEorientaation0 0 11 0scale 2.11129 2.1129,2.1129 2.11229,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1.9145 1.91445,6 6,6 6 solidTTR

46、UEspine -0.55488 00.00122534 00,-0.54888 0.0331504 0,-0.54888 0.0334961 0,-0.535225 4.77744 00,-0.489669 4.88843 00,-0.41733 4.97788 0,-0.322881 5.00514 00,-0.212882 5.00967 00,-0.094778 5.11121 00,0.0231229 5.00966 00,0.133122 5.05511 0,0.227544 4.97787 0,0.300022 4.88843 0,0.345577 4.77744 0,0.361

47、1 4.65664 0,0.362911 3.84434 0,0.362911 3.69946 0,0.362911 3.57705 0,0.362911 3.52209 0 2.11交交通灯截图:程序:#VRRML V22.0 uttf8Shape appeaarancee Appeearancce matteriall Mateerial ddiffusseColoor 1 11 1 #一种材材料的漫反射射颜色 geomeetry BBox #交通灯面面板 sizze 3 77 1.2 Shape appeaarancee Appeearancce matteriall DEF Yello

48、owLighht Matteriall #黄灯灯 ddiffusseColoor 0.55 0.5 0#一种材料料的漫反射颜颜色 geomeetry SSpheree #交通灯,球球体 Trannsformm trannslatiion 0 2 0 chiildrenn Shapee apppearannce Apppearaance matteriall DEF RedLiight MMateriial #红灯 difffuseCColor 0.5 00 0 geommetry Spherre Trannsformm traanslattion 00 -2 00 chiildrenn Sha

49、ape apppearannce Apppearaance matteriall DEF GreennLightt Mateerial #绿灯灯 diiffuseeColorr 0 0.5 0 geommetry Spherre DEF Timmer TiimeSennsor #时时间传感器 cycleeInterrval 22 loop TRUEDEF ReddCI CoolorInnterpoolatorr #颜色插补补器 红灯 key 0,#相对时间间间隔值0.02,0.4, 0.42,0.92,0.94, 1 keyVaalue #颜色变变换值0.5 00 0, 1 0 00, 1 0

50、 00, 0.5 00 0, 0.5 0 00, 1 0 0, 1 0 00 DEF GreeenCI ColorrInterrpolattor #颜颜色插补器 绿灯 key 0, 0.4, 0.42, 0.8, 0.82, 1 keyVaalue #颜色变换值值0 0.55 0, 0 0.55 0, 0 1 00, 0 1 00, 0 0.55 0, 0 0.5 00 DEF YelllowCII ColoorInteerpolaator #颜色插补补器 黄灯 key 0, 0.8, 0.82, 0.92, 0.94, 1 keyVaalue #颜色变变换值0.5 00.5 0, 0.5 0

51、0.5 0, 1 1 00, 1 1 0, 0.5 00.5 0, 0.5 0.55 0 Transfoorm transslatioon 0 -11 0 childdren Shaape aappearrance Appeaarancee mateerial Materrial diiffuseeColorr 0.5 0.5 00.5 ggeomettry Cyylindeer #交通灯柱柱 heigght 155 radiius 0.5 Transfoorm transslatioon 0 -18.5 0 childdren Shaape aappearrance Appeaarancee

52、 mateerial Materrial ggeomettry Cyylindeer #交通灯底底座 radiius 2 #Transfform # trannslatiion 0 -20 00 #chilldren # Shhape # appeaarancee Appeearancce # matteriall Mateerial # ddiffusseColoor 0 00.502 0 # # # geomeetry BBox # sizze 40 1 40 # # #Viewpooint # orieentatiion 1 0 0 -0.3# posiition 0 15 60#ROU

53、TE TTimer.fracttion_cchangeed TO RedCII.set_fracttionROUTE TTimer.fracttion_cchangeed TO YelloowCI.sset_frractioonROUTE TTimer.fracttion_cchangeed TO GreennCI.seet_fraactionnROUTE RRedCI.valuee_channged TTO ReddLightt.difffuseCoolorROUTE YYellowwCI.vaalue_cchangeed TO YelloowLighht.difffuseCColorROU

54、TE GGreenCCI.vallue_chhangedd TO GGreenLLight.diffuuseCollor2.12人物物截图:程序:#VRMML V2.0 utff8Group chilldren Billlboarrd chhildreen SShape appeaarancee Appeearancce textture IImageTTexturre urll peoople1.gif geomeetry BBox sizee 0.6 0.9 00 2.13电话话亭截图:程序:#VRMML V2.0 utff8DEF phoone Trransfoorm trannslat

55、iion0.0 00.0 -00.02chilldren Shapee appeearancce ApppearanncetexxtureImageeTextuure uurlphonne_dooor.jpgg matteriall Matteriall diiffuseeColorr 0.6 0.5 00.2 geommetry Box sizze 5.66 11 00.1 #电话亭门Transfoorm #电电话亭四壁transllationn 2.8 0 2.88rotatiion 0 1 0 11.571 chilldren USE pphoneTransfoorm #电电话亭四壁tr

56、ansllationn -2.88 0 2.8rotatiion 0 1 0 11.571 chilldren USE pphoneTransfoorm #电电话亭四壁transllationn 0 0 5.6rotatiion 0 0 0 11.571 chilldren USE pphoneTransfoorm trannslatiion0.0 55.5 2.8rotaation 1 0 00 1.5771chilldren Shapee appeearancce ApppearanncetexxtureImageeTextuure uurlphonne_rooof.jpgg matter

57、iall Matteriall diiffuseeColorr 0.6 0.5 00.2 geommetry Box sizze 5.66 5.6 0.1 #电话亭顶顶Transfoorm trannslatiion0.0 66.8 0rotaation 0 0 00 1.5771chilldren Shapee appeearancce ApppearanncetexxtureImageeTextuure uurlphonne_siggn.jpgg matteriall Matteriall diiffuseeColorr 0.6 0.5 00.2 geommetry Box sizze 5

58、.66 2.8 0.1 #电话亭招招牌2.14火车车截图:程序:#VRMML V2.0 utff8PROTO WWagon Transsform chiildrenn DDEF Toop Shaape #火车顶顶部 appeearancce Apppearannce maateriaal Matteriall geommetry IndexxedFacceSet coolorInndex 1, 11, 1 cooordInndex 0, 55, 6, 7, 8, 9, 44, 3, 2, 1, -1, 0, 1, 2, 33, 4, -1, 99, 8, 7, 6, 5 coolorPeerV

59、erttex FAALSE coonvex FALSEE coolor CColor colorr 0.8 0.88 0.8, 1 1 0 cooord CCoordiinate pointt -335 15 8, -355 17 44, -355 18 00, -355 17 -4, -35 115 -8, 35 155 8, 35 17 4, 35 18 0, 35 17 -44, 335 15 -8 DDEF Siides SShape appeearancce Apppearannce teexturee ImaggeTextture url trainnside.jpg geomme

60、try IndexxedFacceSet cooordInndex 0, 11, 3, 2, -11, 5, 4, 6, 7 teexCoorrdIndeex 00, 1, 2, 3, -1, 0, 1, 2, 33 cooord CCoordiinate pointt -335 0 88, 35 0 8, -35 115 8, 35 155 8, -35 0 -8, 335 0 -8, -335 15 -8, 335 15 -8 teexCoorrd TexxtureCCoordiinate pointt 0 0, 1 0, 1 1, 0 1 DDEF Ennds1 SShape appee

温馨提示

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

评论

0/150

提交评论