The method study of the virtual roaming based on 3ds max and virtools1

  • 格式:pdf
  • 大小:408.37 KB
  • 文档页数:4

The method study of the virtual roaming based on3ds max and virtoolsLu YouWuhan University City Urban design collegeChinaWuhan430072e-mail:okita0119@Han XuWuhan University City Urban design collegeChinaWuhan430072e-mail:kahn1969@[Abstract]This article has designed a hypothesized outdoor landscape roaming based on3dsmax and virtools hypothesized landscape roaming method study specifically.It has simultaneously pointed out the modeling and bestows on the material quality,foundation the light the matters needing attention when3ds max as well as when these two software Intermediate-range enters,derives the method and the skill, finally introduced how to realize hypothesized landscape roaming in virtools.[K ey word]modeling;virtual;roamI.INTRODUCTIONThe virtual reality(VR)translated from English comes after the1960s when high technology and new technology emerged,is also called the virtual environment technology or the imaginary real technology.The virtual reality is met synthesis each kind of technology,involves many domains,may creates one in the computer and the network to be possible to let the hypothesized scene which the human experiences personally,confuses falsehood with the truth.His same tradition's model as well as the three dimensional animation are dissimilar,also not static also is not only the multimedia pictures,but is one which has gathered man-machine interaction,behavior control,artificial intelligence, computer simulation technology,scene control and so on technical the complex compounds,was one kind which has the broad prospects and the rapidly expand computer simulation system.[1] Hypothesized landscape roaming is one of virtual reality main application domains,in which landscape refers to the objective existence the realistic scene but also the building which not finishes,or is fictionalizes completely.Therefore its application prospect is widespread,may be used in professions and so on plot plan,urban planning,hypothesized campus,uses the different angle of view to carefully examine the scene landscape,brings out the ordinary immersion to the immersion,interactivity and imagination.This article will design a completely hypothesized scene landscape roaming based on3ds max and virtools,and will realize the process specifically.II.3DS MAX AND V IRTOOLS SOFTWAREO VERVIEWAutodesk3ds max is a PC-based system developed by three-dimensional rendering and animation production software,which is widely used in advertising,film and television, industrial design,architectural design, multimedia production,games,visualization assisted teaching and engineering fields.The Virtools is developed by the company Dassault of France,specifically for the development of a three-dimensional virtual interactive design software.Virtools software mainly includes three parts:the development ofmodules,generation module and distribution modules.Development modules include authoring applications and software development kits.Generation module includes the behavior engine and rendering engine.Behavior of the engine used to process the object of conduct and related parameters.Rendering engine for effects on the behavior of the3D object rendering.And distribution modules include generators EXE files released and WEB player. EXE file generator for generating the final run in stand-alone EXE file that documents the virtual interaction.Players can build Web-based B/S mode network virtual file,the user can body through the IE browser's online virtual interactive file browsing and experience.III.T HE SCENE MODEL RELATEDPROCESSING IN3DS MAX3.1Model processingThe hypothesized scene's modeling needs to follow two principles,first is as far as possible few use surfaces,second is the merge secondary object into a whole,and reduces the model by the output.Therefore before establishment roaming hypothesized scene,it is necessary to analyze the blueprint,to have the whole understanding to the entire scene's spatial ing the tools provided by3ds max for draw point,line, surface,body,and started by a certain direction to the model foundation.For the base model can be created directly in the standard or extended geometry,more complex models can be two-dimensional graphics drawing through AutoCAD and then import into3ds max using stretching techniques to convert it into a three-dimensional model,then use the loft,Boolean operators and other methods to adjust.Should pay attention to create the model at a time when the proportion of size,in3ds max modeling,generally the units set to1Unit=1Meter,so come to work with Virtools in units to match the default model.And also to note that the premise of ensuring accurate form, the model's face a few little as possible in order to avoid unreasonable topology caused by the movement of objects when the form of distortion.Figure1Flow chart3.2The materials and textures techniquesModel material for the virtual scene roaming is very important because it is directly related to scene and image quality.If necessary,you can also draw your own picture by photoshop software.It will give their model of good material to meet the"simulation"results.At the same time, giving texture mapping method can also be produced in a scene of trees and sky.However,a number of materials and textures after leading-in virtools from3ds max model can not be displayed properly,or the model with materials and textures are displayed as black in virtools,which requires the material settings in3dsmax(Material Set up) in the self-luminous(Emissive)tone is white,this model will display the correct texture.3.3The erection of lightsWe strive to make the scene realistic in the virtual environment,so need more consideration of the method of drying lining in the scene,and reasonable use of light is a very good way for that. Scene in the open sun light can be used(main source)and the clouds which reflect light (secondary sources)to create an outdoor lighting effect.[2]In this virtual outdoor scenes,you can first create the target spotlight the main lightsource,and then copy to create the number of lights lighting the way as an auxiliary light source, to use this light arrays method to simulate the distribution of light global illumination system,so that to avoid only existence of the subject with acceptance of the light of the surface and backlight,without the shadow and reflection.3.43dsmax model of interaction with the virtoolsFor the default used by virtools to store character,setting and object file and other information format normally as.Nmo,so leading-in a building model file from the3ds max scene into virtools,the need to3ds Max Exporter plug-in installed,and it can be created in3ds max model,and texturing the scene files into virtools. During the export process to note is required in virtools export panel,select"Export as Objects", this is not the scene as a Character to use,nor does the skeletal animation.So it can not be Export to the role or animation.[3]Figure2The creation of the virtual scene by3dmaxIV.V IRTOOLS ROAMS FUNCTIONREALIZATION4.1Scheme to deal with the Problems existedin cameraThis article will focus on the virtual roamingoutdoor scenes role model by giving the thirdperson camera to complete.But exists in theroaming a common problem,that is,to movefreely in the scene will pass through any obstacles.Hence the need for and role models for the scenesset in the basic collision"Object Slider".Toprevent the same three-dimensional solid objectsin the specified group through to achieve the roleand the scene of the collision.4.2The function of the realizationIn Virtools may edits the interactive attributebetween the object through the visualization andthe interactive flow chart operating mode,butalternative write program code,and this is thedifference between virtools software and otherhypothesized interactive software.BB ModuleAffectUnlimitedControllerWaiting for the mouse messages togive directions.Send Message Click the mouse in a different order,triggering a different instruction.Keyboard Mapper According to trigger the Input,Output generated the corresponding.Object Slider Within the specified time,the use oftwo-dimensional Bézier curve,control the process door open time.Figure3Module selection listFigure4Third-person camera script4.3Making a small mapIn the virtools work,you may connect theprocedure with Google Earth,the input latitudeand longitude then adjustable needs map[4].Inthis hypothesized outdoor roaming design,whatuses is the independent two-dimensional framesmall map,through the vertical camera whichregards by“the grade separation projection”(Orthographic)the way gives“Set Position”behavior module to establish the threedimensional entity the position,demonstrates therole by this in the coordinate in the entire sceneposition.What must pay attention is manufactureswhen the small map needs to cancel chooses in Setup kneading board's the HomogeneousCoordinates option,enables the foundation small map's 2D Frame along with the demonstration picture size changeautomatically.Figure 5Roaming the small map4.4Sound with the mouse and keyboard interactionIn virtools in various sound and movement formats can be integrated into the interactive process,in order to reach the scene more realistic effects.In the scene we can drag on the acts module “Animation Synchronizer”come to the interactive control role’s Script for synchronized to send a specific sound in action during the course of the role of the time.Similarly,the use of virtools script editing keyboard or mouse can also be achieved with virtools interaction.Between programs can be the scene of some movable objects,as shown in Figure 5the scene of the gates can be achieved through the control of the mouse switch to achieve their human interaction between the fact of acceptance by waiting for Message,to allow the user to mouse click to start the output of this particular message,and then through the 2D Bezier Curve to achieve a given time the implementation of the action.When setting the initial position of the model is completed,click the play button,in the scene to complete the test program status.Move people to the scene in frontof the doors,iron mouse clicks,the gates will be slow toopen.Figure 6Process of mouse to open the commandⅤ.E PILOGUEToday,the hypothesized scene's roaming technology makes an emerging industrial vigorous progress,it becomes a comprehensive discipline also along with computer's development,and more and more seepages each kind of domains,has simulated clearly for the people,has had the immersion feeling the hypothesized world,also created the brand-new interactive experience.And Virtools also makes a three dimensional hypothesized three-dimensional detection mode for the design.The designer and the customer may after the design proposal completes,through roams in the hypothesized scene,the test experience's complete picture,discover deficiency,observe the feeling scene from the three dimensional three-dimensional angle the plan layout and so on.And through the hypothesized experience's process,we can stimulate designer's design inspiration and the development vigor.Reference documentation :[1]Liu Yi,Zhang determined Cui Yan.Virtual Reality VRML programming,Nankai University Press,January 2007J.[2]Fu Zhiyong,Gao Ming.D Game Design,Tsinghua University Press,October 2008[3]Wang Liqun,QUANTITATIVE.The planning and design of computer games -Virtools Concise Guide,Fudan University Press,December 2008[4]Luojian Qin,Zhang.Animation interactive roaming animation,China Science and Technology Press,July 2010。