资源描述:
《基于vrml的虚拟机房的设计与实现(design and implementation of virtual machine based on vrml)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、基于vrml的虚拟机房的设计与实现(DesignandimplementationofvirtualmachinebasedonVRML)DesignandimplementationofvirtualcomputerroombasedonVRMLVRML(VirtualRealityModelingLanguage)isthecoreof3DWebtechnologywithvirtualrealityasafeature,itisadescriptionofinteractive3Dobjectsand
2、theworldfileformat,itallowsyoutodescribeanexistingorimaginarysceneandputitinvirtual3Denvironments.WiththepopularityoftheInternetandtherapiddevelopmentofnetworktechnologyandhardwarefacilities,virtualrealitytechnologywillbecomethemainstreamofnetworkmultimedi
3、adevelopmentinthefuture.AsaninternationalstandardofISO,VRMLwillbeusedmoreandmorewidely.1overalldesignofvirtualmachineroomThethree-dimensionalsceneofthevirtualmachineroomcontainsallkindsof3Dsolidmodelinginthecomputerroom,suchasblackboard,computerdesk,comput
4、erchair,computer,airconditioner,switchboard,doorandwindow,etc..Theoverallstructureofthesystemisshowninfigure1.2.2therealizationofgeometricmodelingVRML2.Ohasarichmodelingfunction,theAppearancenodeusingthebasicgeometryofGeometrynodesanddescribethesurfaceprop
5、ertiesof3Dobjects,cancreateavarietyofforms;usingLightnodesandViewpointnodescancreatelightandperspective,soastocreatearealisticvirtualscene.Thecreationofeachsubobjectismainlybasedongeometricmodelingtechnology.Firstly,themodelismodeledfromtheshapeandappearan
6、ce,andthenthemethodoftexturemappingisaddedtorealizethemodeling.Texturedatacomesfromfieldphotostakenwithdigitalcameras.Modelingof2.2.1switchesInmoderncomputerroom,switchisanindispensabledevice,andthemodelingofswitchisrealizedbyBillboardgroupnode.Itisworthno
7、tingthatthetexturemapbackgroundusedintheBillboardgroupnodesmustbetransparent,whichisthekeytousingBillboardgroupnodes.ThroughtheBillboardgroupnodes,youcanquicklyandeasilycreatesomestaticmodels,forexample,theairconditionerinthevirtualroomcanbecreatedwithBill
8、boardgroupnodes.ThemodelcreatedusingtheBillboardgroupnodeisrealisticandhasagoodvisualeffect,andithassmallamountofcodeandfastrenderingspeed.UsingtheBillboardnodetocreatethesourcecodeoftheswitch,asfollows.Billb