版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、虛擬現(xiàn)實開發(fā)文檔羅維030913501 .功能概述運用vrml語言構(gòu)造了一個虛擬現(xiàn)實世界。運動物體包括氣球,火車,汽車,交通燈等,靜止物體包括山脈,樹林,房屋,人物,花草,電話亭,國旗,座椅,廣告牌,雨傘等,另外還包含背景和聲音。2 .使用說明廣告牌截圖:#VRML utf8程序:Transform#背景顏色translationchildrenTransformtranslationchildren#創(chuàng)建廣告牌造型Shape#廣告牌appearanceAppearancematerialMaterialdiffuseColorgeometryBoxsize12Transformtransla
2、tionchildrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialdiffuseColor#廣告屏幕geometryBoxsize11熱氣球DEFlegTransformtranslation5-4scalechildrenShapeappearanceAppearancematerialMaterialdiffuseColorgeometryCylinderradiusheighttopTRUE#bottomTRUEbottomFALSEsideTRUE#廣告柱子#Shape模型節(jié)點#
3、空間物體造型外觀#一種材料的漫反射顏色#柱體節(jié)點#圓柱體半徑#圓柱體高#圓柱體有頂#圓柱體有底#圓柱體有曲面Transformtranslation-1000childrenUSEleg#椅子腿截圖:程序:#VRML utf8Group children BackgroundskyColor#創(chuàng)建月球造型Transformtranslation 0 0scale 1 1 1childrenShape appearance Appearance#銀白顏色textureImageTexture url "" materialMaterial diffuseColor ambie
4、ntintensity specularColor shininess#空間物體造型外觀#一種材料的漫反射顏色#多少環(huán)境光被該表面反射#物體鏡面反射光線的顏色#造型外觀材料的亮度geometry Sphere radius 4 #球體Transformtranslation 0 -4scale 1childrenShape appearance Appearance textureurlImageTexture "" material Material diffuseColor ambientintensity specularColor shininess#空間物體造型外
5、觀#一種材料的漫反射顏色#多少環(huán)境光被該表面反射#物體鏡面反射光線的顏色#造型外觀材料的亮度geometryCylinder#潛艇艦橋(噫望塔)radiusheightsideTRUEtopTRUEbottomTRUE熱氣球運動程序:#VRMLutf8#引入月球造型#時間傳感器#移動位置節(jié)點#相對時間的邏輯值#空間坐標(biāo)的位置值與相對時間的邏輯值DEFfly1TransformchildrenInlineurl""DEFTime1TimeSensorcycleInterval32loopTRUEDEFflyinter1PositionInterpolatorkey,keyVa
6、lue00-20,0-15,0-9,2000,09,015002001509-20000-90-1500-20ROUTETOROUTETO國旗截圖:程序:#VRMLutf8GroupchildrenTransformtranslation-22-322scalechildrenTransformchildrenShapeappearanceAppearancetextureImageTextureurl""geometryBoxsize2727Transformtranslation0150childrenShapeappearanceAppearancetextureIm
7、ageTextureurl""geometryCylinderradiusbottomTRUEtopTRUEheight30sideTRUETransformchildrenShapeappearanceAppearancetextureImageTextureurl""geometryCylinderradiusbottomTRUEtopTRUEheightsideTRUETransformtranslation4280scale222childrenShapeappearanceAppearancetextureImageTextureurl&quo
8、t;"geometryBoxsizeViewpointorientation010position-15-225公共汽車截圖:程序:#VRMLutf8DEFBusTransformchildrenDEFbodyShapeappearanceAppearancematerialDEFLtGray_ColorMaterialambientIntensitydiffuseColortextureImageTextureurl""geometryIndexedFaceSetcoordCoordinatepoint0,0,coordIndex0,5,4,2,-1,0,2,1
9、,-1,4,3,2,-1,11,6,7,8,-1,9,10,11,8,-1texCoordTextureCoordinatepoint,DEFfront01ShapeappearanceAppearancematerialUSELtGray_ColortextureImageTextureurl""geometryIndexedFaceSetcoordCoordinatepoint0,coordIndex3,0,1,4,-1,4,1,2,5,-1texCoordTextureCoordinatepoint,DEFtop01ShapeappearanceAppearancem
10、aterialUSELtGray_ColorgeometryIndexedFaceSetcoordCoordinatepoint,coordIndex2,0,1,3,-1DEFback01ShapeappearanceAppearancematerialUSELtGray_ColorgeometryIndexedFaceSetcoordCoordinatepoint0,coordIndex4,1,2,5,-1,5,2,0,3,-1translation0汽車截圖:程序:#VRMLutf8Background#空間背景中,空中無顏色,即黑色topUrl""#頂部frontUr
11、l""#前面backUrl""#后面leftUrl""#左面rightUrl""#右面bottomUrl""#底部DEFcarTransformrotation010childrenTransformtranslation003rotation100childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialdiffuseC010r.1.1.1geometryCylinderradius1h
12、eight.5Transformtranslation00-3rotation100childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialdiffuseColor.1.1.1geometryCylinderradius1height.5Transformtranslation1003rotation100childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialdiffuseC
13、olor.1.1.1geometryCylinderradius1height.5Transformtranslation100-3rotation100childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialdiffuseColor.1.1.1geometryCylinderradius1height.5#車輪Transformtranslation620childrenShapeappearanceAppearancetextureImageTextureurl"&quo
14、t;materialMaterialgeometryBoxsize1638Transformtranslation40childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialgeometryBoxsize1437#車身Transformtranslation-23-3childrenShapeappearanceAppearancematerialMaterialdiffuseColor111geometrySphereradius.5Transformtranslation-233c
15、hildrenShapeappearanceAppearancematerialMaterialdiffuseColor111geometrySphereradius.5#車燈Transformtranslation022rotation010childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialgeometryBoxsize38Transformtranslation0rotation010childrenShapeappearanceAppearancetextureImageT
16、extureurl""materialMaterialgeometryBoxsizeTransformtranslation0rotation010childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialgeometryBoxsizeTransformtranslation-7rotation001childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialge
17、ometryBoxsize13#車窗戶#車正面#車窗戶后面#車窗戶側(cè)面Transformtranslation-7rotation001childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialgeometryBoxsize13#車窗戶側(cè)面椅子截圖:程序:#VRMLutf8TransformtranslationchildrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialdiffus
18、eColorgeometryBoxsize11#椅子背Transform translation0rotation100childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialdiffuseColorgeometryBoxsize11#椅子坐DEFlegTransformtranslation#椅子腿rotation000childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterial
19、diffuseColor#圓柱體半徑#圓柱體高#圓柱體有頂#圓柱體有底#圓柱體有曲面geometryCylinderradiusheighttopTRUE#bottomTRUEbottomFALSEsideTRUETransformtranslation 0 0 children USE leg Transformtranslation 0 0 5 children USE leg Transformtranslation 0 5 children USE leg #椅子腿#椅子腿#椅子腿廣告牌截圖:程序:#VRMLutf8Transformtranslation0scale555childr
20、enDEFside1ShapeappearanceAppearancetextureImageTextureurl""materialDEFBlue_ColorMaterialambientIntensitydiffuseColorgeometryExtrusioncreaseAnglecrossSection,orientation0010scale11solidFALSEspine00,00Transformtranslation0rotation010childrenShapeappearanceAppearancetextureImageTextureurl&quo
21、t;"materialMaterialdiffuseColorgeometryBoxsize#廣告屏幕Transform translation 0 scale children Shape appearance Appearance material Material diffuseColorgeometry Cylinder radius 1 height top TRUE #bottom TRUE bottom FALSE side TRUE 房屋 截圖:#廣告柱子# Shape模型節(jié)點#空間物體造型外觀#一種材料的漫反射顏色#柱體節(jié)點#圓柱體半徑#圓柱體高胭柱體有頂#圓柱體有
22、底#圓柱體有曲面程序:#VRMLutf8GroupchildrenDEFhouselTransformtranslation-2212-24childrenShapeappearanceAppearancetextureImageTextureurl""epeatSTRUEr即eatTTRUEgeometryBoxsize203020山脈截圖:程序:#VRMLutf8BackgroundskyColor#創(chuàng)建山脈造型ShapeappearanceAppearance#Shape模型節(jié)點路燈textureImageTextureurl""materialM
23、aterialdiffuseColor#一種材料的漫反射顏色geometryElevationGridxDimension10zDimension40xSpacingzSpacingccwTRUEsolidTRUEheightcreaseAngle#空間物體造型外觀#海拔珊格節(jié)點#X-Z水平面#X-Z水平面上間距#海拔珊格高度陣列截圖:程序:#VRMLutf8DEFB_lamp1TransformchildrenDEFLight_PostShapeappearanceAppearancematerialMaterialambientIntensitydiffuseColorgeometryEx
24、trusionbeginCapFALSEcreaseAnglecrossSection,endCapTRUEorientation0010scale,11,11,11,11,11,11,11,11,11,11,11,11,11,11,66,66solidTRUEspine0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0交通燈截圖:程序:#VRMLutf8ShapeappearanceAppearancematerialMaterialdiffuseColor111#一種材料的漫反射顏色geometryBox姣通燈面板size37ShapeappearanceAppea
25、rancematerialDEFYellowLightMaterial#黃燈diffuseColor0#一種材料的漫反射顏色geometrySphere#交通燈,球體Transformtranslation020childrenShapeappearanceAppearancematerialDEFRedLightMaterial#紅燈diffuseColor00geometrySphereTransformtranslation0-20childrenShapeappearanceAppearancematerialDEFGreenLightMaterial#綠燈diffuseColor00
26、geometrySphereDEFTimerTimeSensorcycleInterval2loopTRUEDEFRedCIColorInterpolatorkey0,#時間傳感器#顏色插補(bǔ)器紅燈#相對時間間隔值1keyValue00,100,100,00,00,100,100DEFGreenCIColorInterpolatorkey0,#顏色插補(bǔ)器綠燈#顏色變換值1keyValue00,00,010,010,00,00DEFYellowCIColorInterpolatorkey0,#顏色插補(bǔ)器黃燈#顏色變換值1keyValue0,0,110,110,#顏色變換值0,0Transformt
27、ranslation0-110childrenShapeappearanceAppearancematerialMaterialdiffuseColorgeometryCylinder#交通燈柱height15radiusTransformtranslation00childrenShapeappearanceAppearancematerialMaterialgeometryCylinder姣通燈底座radius2#Transform#translation0-200#children# Shape# appearanceAppearance# materialMaterial# diffu
28、seColor00# # geometryBox# size40140# #Viewpoint#orientation100#position01560#ROUTETOROUTETOROUTETOROUTETOROUTETOROUTETO人物截圖:程序:#VRMLutf8GroupchildrenBillboardchildrenShapeappearanceAppearancetextureImageTextureurl”"geometryBoxsize0電話亭截圖:程序:#VRMLutf8DEFphoneTransformtranslationchildrenShapeappea
29、ranceAppearancetextureImageTextureurl""materialMaterialdiffuseColorgeometryBoxsize11#電話亭門Transform#電話亭四壁translation0rotation010childrenUSEphoneTransform#電話亭四壁translation0rotation010childrenUSEphoneTransform#電話亭四壁translation00rotation000childrenUSEphoneTransformtranslationrotation100childre
30、nShapeappearanceAppearancetextureImageTextureurl""materialMaterialdiffuseColorgeometryBoxsize#電話亭頂Transformtranslation0rotation000childrenShapeappearanceAppearancetextureImageTextureurl""materialMaterialdiffuseColorgeometryBoxsize#電話亭招牌火車截圖:程序:#VRMLutf8PROTOWagonTransformchildren
31、DEFTopShape#火車頂部appearanceAppearancematerialMaterialgeometryIndexedFaceSetcolorIndex1,1,1coordIndex0,5,6,7,8,9,4,3,2,1,-1,0,1,2,3,4,-1,9,8,7,6,5colorPerVertexFALSEconvexFALSEcolorColorcolor,110coordCoordinatepoint-35158,- 35174,- 35180,- 3517-4,-3515-8,35158,35174,35180,3517-4,3515-8DEFSidesShapeapp
32、earanceAppearancetextureImageTextureurl""geometryIndexedFaceSetcoordIndex0,1,3,2,-1,5,4,6,7texCoordIndex0,1,2,3,-1,0,1,2,3coordCoordinatepoint-3508,3508,-35158,35158,-350-8,350-8,-3515-8,3515-8texCoordTextureCoordinatepoint00,10,11,01DEFEnds1ShapeappearanceAppearancetextureImageTextureurl&
33、quot;"geometryIndexedFaceSetcoordIndex0,2,6,4,-1,1,5,7,3texCoordIndex1,2,3,0,-1,0,1,2,3coordCoordinatepoint-3508,3508,-35158,35158,-350-8,350-8,-3515-8,3515-8texCoordTextureCoordinatepoint00,10,11,01WagonViewpointposition00100樹截圖:程序:#VRMLutf8DEFtreeGroupchildrenDEFPlanterTransformscalechildrenS
34、hapeappearanceAppearancematerialMaterialgeometryIndexedFaceSetcoordDEFPlanterCoordinatesCoordinatepointcoordIndex0,1,5,4,-1,1, 2,6,5,-1,2, 3,7,6,-1,3, 0,4,7,-1,0,8,9,1,-1,9, 10,2,1,-1,10, 11,3,2,-1,11, 8,0,3,-1,15,14,6,7,-1,14,13,5,6,-1,13,12,4,5,-1,12, 15,7,4,-1,ShapeappearanceAppearancematerialMat
35、erialdiffuseColorgeometryIndexedFaceSetcoordUSEPlanterCoordinatescoordIndex12,13,14,15Transform#translationchildrenUSEPlanterBillboardaxisOfRotationchildrenShapeappearanceAppearancetextureImageTextureurl""geometryDEFTreeFaceIndexedFaceSetcoordCoordinatepoint,coordIndex0,1,2,3texCoordTextur
36、eCoordinatepoint,texCoordIndex0,1,2,3solidFALSETransformchildrenDEFTreeBillboardaxisOfRotationchildrenShapeappearanceAppearancetextureImageTextureurl""geometryUSETreeFace卡車截圖:程序:#VRMLutf8GroupchildrenGroupchildrenShapeappearanceAppearancematerialMaterialambientintensitydiffuseColor00specul
37、arColor00emissiveColor000shininesstransparency0geometryIndexedFaceSetcoordDEFaCoordinatepoint,coordIndex12,107,13,-1,13,106,12,-1,-1creaseAngle1normalIndextexCoordIndexGroupchildrenShapeappearanceAppearancematerialMaterialambientIntensity0diffuseColorspecularColoremissiveColor000shininesstransparenc
38、y0geometryDEF_2IndexedFaceSetcoordUSEacoordIndex26,27,70,-1,21,28,20,-1,49,30,50,-1,28,29,20,-1,30,31,50,-1,70,67,26,-1,-1creaseAngle1normalIndextexCoordIndexGroupchildrenShapeappearanceAppearancematerialMaterialambientIntensitydiffuseColorspecularColoremissiveColor000shininesstransparency0geometryD
39、EF_3IndexedFaceSetcoordUSEacoordIndex77,33,38,-1,51,52,42,-1,77,38,52,-1,77,59,33,-1,42,54,51,-1,52,51,77,-1,-1creaseAngle1normalIndextexCoordIndexGroupchildrenShapeappearanceAppearancematerialMaterialambientIntensitydiffuseColor00specularColor00emissiveColor000shininesstransparency0geometryDEF_4Ind
40、exedFaceSetcoordUSEacoordIndex66,14,106,-1,12,15,69,-1,15,14,66,-1,66,67,69,-1,106,65,66,-1,68,69,70,-1,69,68,12,-1,66,69,15,-1,67, 70,69,-1,67,66,65,-1,-1creaseAngle1normalIndextexCoordIndexGroupchildrenShapeappearanceAppearancematerialMaterialambientIntensity0diffuseColorspecularColoremissiveColor
41、000shininesstransparency0geometryDEF_5IndexedFaceSetcoordUSEacoordIndex30,16,17,-1,28,22,23,-1,24,25,27,-1,22,25,24,-1,18,19,21,-1,17,16,19,-1,17,31,30,-1,23,29,28,-1,27,26,24,-1,24,23,22,-1,21, 20,18,-1,19,18,17,-1,-1creaseAngle1normalIndextexCoordIndexGroupchildrenShapeappearanceAppearancematerial
42、MaterialambientIntensity1diffuseColorspecularColor111emissiveColor000shininesstransparency0geometryDEF_6IndexedFaceSetcoordUSEacoordIndex43,45,107,-1,45,55,107,-1,55,56,107,-1,35,32,13,-1,13,36,34,-1,34,35,13,-1,57,44,41,-1,63,64,72,-1,64,13,71,-1,44,37,41,-1,64, 71,72,-1,13,107,71,-1,-1creaseAngle1
43、normalIndextexCoordIndexGroupchildrenShapeappearanceAppearancematerialMaterialambientIntensity0diffuseColorspecularColoremissiveColor000shininesstransparency0geometryDEF_7IndexedFaceSetcoordUSEacoordIndex78,79,80,-1,81,82,83,-1,85,87,89,-1,85,89,91,-1,79,85,91,-1,79,91,80,-1,90,88,86,-1,90,86,84,-1,
44、81,90,84,-1,81,84,82,-1,92,93,94,-1,95,96,97,-1,99,101,103,-1,99,103,105,-1,93,99,105,-1,93,105,94,-1,104,102,100,-1,104,100,98,-1,95,104,98,-1,95,98,96,-1,-1creaseAngle1normalIndextexCoordIndexGroupchildrenShapeappearanceAppearancematerialMaterialambientIntensity0diffuseColorspecularColoremissiveCo
45、lor000shininesstransparency0geometryDEF_8IndexedFaceSetcoordUSEacoordIndex78,83,82,-1,78,82,79,-1,79,82,84,-1,79,84,85,-1,85,84,86,-1,85,86,87,-1,87,86,88,-1,87,88,89,-1,89,88,90,-1,89,90,91,-1,91, 90,81,-1,91,81,80,-1,80,81,83,-1,80,83,78,-1,92, 97,96,-1,92,96,93,-1,93, 96,98,-1,93,98,99,-1,99, 98,
46、100,-1,99,100,101,-1,101, 100,102,-1,101,102,103,-1,103, 102,104,-1,103,104,105,-1,105, 104,95,-1,105,95,94,-1,94, 95,97,-1,94,97,92,-1,-1creaseAngle1normalIndextexCoordIndexGroupchildrenShapeappearanceAppearancematerialMaterialambientIntensity0diffuseColorspecularColoremissiveColor000shininesstrans
47、parency0geometryDEF_9IndexedFaceSetcoordUSEacoordIndex4,8,11,-1,0,1,5,-1,11,10,3,-1,10,9,2,-1,9,10,11,-1,4,1,2,-1,1,4,5,-1,2,9,8,-1,7,3,0,-1,7,0,6,-1,5,4,6,-1,1,0,3,-1,11,7,4,-1,5,6,0,-1,3, 7,11,-1,2,3,10,-1,11, 8,9,-1,8,4,2,-1,4, 7,6,-1,3,2,1,-1,30, 49,76,-1,31,39,61,-1,61, 50,31,-1,76,53,30,-1,62,
48、 61,58,-1,77,62,59,-1,76, 74,73,-1,75,54,53,-1,77, 54,75,-1,51,73,77,-1,78, 53,76,-1,49,74,76,-1,79, 54,73,-1,50,60,49,-1,80, 74,60,-1,62,58,59,-1,81, 39,59,-1,61,60,50,-1,82, 62,60,-1,73,75,76,-1,83, 62,77,-1,60,74,49,-1,84, 62,73,-1,39,58,61,-1,-1creaseAngle1normalIndextexCoordIndexGroupchildrenShapeappearanceAppearancematerialMaterialambientIntensitydiffuseColor00specularColor00emissiveColor000shininesstransparency0geometryDEF_10IndexedFaceSetcoordUSEacoordIndex16,43,19,-1,19,43,107,-
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年茶葉茶具出口銷售合同3篇
- 2025年度羊絨制品廠羊絨原料采購合同4篇
- 2025年上外版七年級物理上冊階段測試試卷含答案
- 2025年新科版選擇性必修1生物上冊月考試卷含答案
- 電梯拆除協(xié)議
- 2025年新科版第二冊生物上冊月考試卷含答案
- 場地租用合同
- 機(jī)械設(shè)備的購銷合同
- 2025年華師大版必修3生物上冊階段測試試卷含答案
- 2025年教科新版九年級物理下冊階段測試試卷含答案
- 智慧財務(wù)綜合實訓(xùn)
- 安徽省合肥市2021-2022學(xué)年七年級上學(xué)期期末數(shù)學(xué)試題(含答案)3
- 教育專家報告合集:年度得到:沈祖蕓全球教育報告(2023-2024)
- 肝臟腫瘤護(hù)理查房
- 護(hù)士工作壓力管理護(hù)理工作中的壓力應(yīng)對策略
- 2023年日語考試:大學(xué)日語六級真題模擬匯編(共479題)
- 皮帶拆除安全技術(shù)措施
- ISO9001(2015版)質(zhì)量體系標(biāo)準(zhǔn)講解
- 《培訓(xùn)資料緊固》課件
- 黑龍江省政府采購評標(biāo)專家考試題
- 成品煙道安裝施工方案
評論
0/150
提交評論