[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110232846A - A kind of assault boat drive simulating method, system and relevant apparatus - Google Patents

A kind of assault boat drive simulating method, system and relevant apparatus Download PDF

Info

Publication number
CN110232846A
CN110232846A CN201910507847.1A CN201910507847A CN110232846A CN 110232846 A CN110232846 A CN 110232846A CN 201910507847 A CN201910507847 A CN 201910507847A CN 110232846 A CN110232846 A CN 110232846A
Authority
CN
China
Prior art keywords
scene mode
assault boat
weather
demand
drive simulating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910507847.1A
Other languages
Chinese (zh)
Inventor
张宝星
潘岐深
毕明利
郑松源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Emergency and Maintenance Management Center of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Emergency and Maintenance Management Center of Guangdong Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Emergency and Maintenance Management Center of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN201910507847.1A priority Critical patent/CN110232846A/en
Publication of CN110232846A publication Critical patent/CN110232846A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B9/00Simulators for teaching or training purposes
    • G09B9/02Simulators for teaching or training purposes for teaching control of vehicles or other craft
    • G09B9/06Simulators for teaching or training purposes for teaching control of vehicles or other craft for teaching control of ships, boats, or other waterborne vehicles
    • G09B9/063Simulators for teaching or training purposes for teaching control of vehicles or other craft for teaching control of ships, boats, or other waterborne vehicles by using visual displays

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

A kind of assault boat drive simulating method provided herein is applied to virtual reality device, comprising: according to the demand of input, determines weather scene mode corresponding with demand;Under weather scene mode, the action message for characterizing user action is acquired using sensor;Action message is parsed and according to parsing result, execution assault boat response operation corresponding with action message, to export assault boat drive simulating effect.This method can determine weather scene mode corresponding with demand according to the demand of input.Due in actual life assault boat using when weather be all bad weather, therefore carry out assault boat drive simulating under weather scene mode, can be improved the sense of reality of assault boat drive simulating, and then improve training effect.The application also provides a kind of assault boat driving simulation system, virtual reality device and computer readable storage medium, all has above-mentioned beneficial effect.

Description

A kind of assault boat drive simulating method, system and relevant apparatus
Technical field
It is this application involves assault boat drive simulating field, in particular to a kind of assault boat drive simulating method, system, virtual Real world devices and computer readable storage medium.
Background technique
Currently, assault boat driver training mainly passes through practical training there are also the training of the end PC, practical training is high to site requirements, Equipment investment and loss are big, have risk.The training of the end PC is operated by screen and mouse, is carried out by the click of mouse Assembling and operation to hull lack authenticity.Due in actual life assault boat using when weather be all bad weather, The training of the end PC can not carry out simulated training according to weather condition, lack the sense of reality.Moreover, in current some VR training systems only There is content experience, can not also comprehensively consider influence of the weather scene changes to content, the sense of reality is poor, and expected training is not achieved Effect.
Therefore, the sense of reality of assault boat drive simulating how is improved, and then improving training effect is those skilled in the art The technical issues of urgent need to resolve.
Summary of the invention
The purpose of the application is to provide a kind of assault boat drive simulating method, system, virtual reality device and computer can Storage medium is read, can be improved the sense of reality of assault boat drive simulating, and then improve training effect.
In order to solve the above technical problems, the application provides a kind of assault boat drive simulating method, set applied to virtual reality It is standby, comprising:
According to the demand of input, weather scene mode corresponding with the demand is determined;
Under the weather scene mode, the action message for characterizing user action is acquired using sensor;
The action message is parsed and according to parsing result, execution assault boat sound corresponding with the action message It should operate, to export assault boat drive simulating effect.
Preferably, the demand according to input determines weather scene mode corresponding with the demand, comprising:
Each weather scene mode is established using Scene Simulation;Wherein, the weather scene mode includes rain Avenge scene mode, flood scene mode, typhoon scene mode, tsunami scene mode, landslide scene mode, mud-rock flow Scene mode, Lightning Disaster scene mode;
According to the demand of input and preset mapping table, weather scene mode corresponding with the demand is determined.
It is preferably, described to establish each weather scene mode using Scene Simulation, comprising:
Using D modeling tool, contextual data sampling instrument and mapping technology, each simulated environment is established;
Each simulated environment is driven using driving developing instrument, obtains corresponding weather scene mode.
Preferably, described under the weather scene mode, the movement for characterizing user action is acquired using sensor Information, comprising:
Under the weather scene mode, directional information, the speed of the user action are acquired in real time using the sensor Spend information and acceleration information;
Analysis synthesis processing is carried out to the directional information, the velocity information and the acceleration information, is obtained described Action message.
The application also provides a kind of assault boat driving simulation system, is applied to virtual reality device, comprising:
Weather scene mode determining module determines weather scene corresponding with the demand for the demand according to input Mode;
Action message acquisition module, for being acquired using sensor for characterizing user under the weather scene mode The action message of movement;
Assault boat responds operation executing module, for being parsed to the action message and according to parsing result, executes Assault boat response operation corresponding with the action message, to export assault boat drive simulating effect.
Preferably, the weather scene mode determining module, comprising:
Weather scene mode establishes unit, for establishing each weather scene mode using Scene Simulation;Its In, the weather scene mode includes sleet scene mode, flood scene mode, typhoon scene mode, tsunami scene mould Formula, landslide scene mode, mud-rock flow scene mode, Lightning Disaster scene mode;
Weather scene mode determination unit, for according to input the demand and preset mapping table, it is determining with it is described The corresponding weather scene mode of demand.
Preferably, the weather scene mode establishes unit, comprising:
Simulated environment establishes subelement, for utilizing D modeling tool, contextual data sampling instrument and texture mapping skill Art establishes each simulated environment;
Simulated environment drives subelement, for driving each simulated environment using driving developing instrument, is corresponded to Weather scene mode.
Preferably, the action message acquisition module, comprising:
Information acquisition unit, for acquiring the user in real time using the sensor under the weather scene mode Directional information, velocity information and the acceleration information of movement;
Analysis synthesis processing unit, for being carried out to the directional information, the velocity information and the acceleration information Synthesis processing is analyzed, the action message is obtained.
The application also provides a kind of virtual reality device, comprising:
Memory and processor;Wherein, the memory is for storing computer program, and the processor is for executing institute The step of assault boat drive simulating method described above is realized when stating computer program.
The application also provides a kind of computer readable storage medium, and the computer-readable recording medium storage has computer The step of program, the computer program realizes assault boat drive simulating method described above when being executed by processor.
A kind of assault boat drive simulating method provided herein is applied to virtual reality device, comprising: according to input Demand, determine corresponding with demand weather scene mode;Under the weather scene mode, is acquired and used using sensor In the action message of characterization user action;The action message is parsed and according to parsing result, execution and the movement The corresponding assault boat response operation of information, to export assault boat drive simulating effect.
This method can determine weather scene mode corresponding with the demand according to the demand of input.Since reality is raw In work assault boat using when weather be all bad weather, therefore under weather scene mode carry out assault boat drive simulating, energy The sense of reality of assault boat drive simulating is enough improved, and then improves training effect.The application also provides a kind of assault boat drive simulating System, virtual reality device and computer readable storage medium all have above-mentioned beneficial effect, and details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of assault boat drive simulating method provided by the embodiment of the present application;
Fig. 2 is a kind of structural block diagram of assault boat driving simulation system provided by the embodiment of the present application.
Specific embodiment
The core of the application is to provide a kind of assault boat drive simulating method, can be improved the true of assault boat drive simulating Sense, and then improve training effect.Another core of the application is to provide a kind of assault boat driving simulation system, virtual reality device And computer readable storage medium.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Currently, assault boat driver training mainly passes through practical training there are also the training of the end PC, practical training is high to site requirements, Equipment investment and loss are big, have risk.The training of the end PC is operated by screen and mouse, is carried out by the click of mouse Assembling and operation to hull lack authenticity.Due in actual life assault boat using when weather be all bad weather, The training of the end PC can not carry out simulated training according to weather condition, lack the sense of reality.Moreover, in current some VR training systems only There is content experience, can not also comprehensively consider influence of the weather scene changes to content, the sense of reality is poor, and expected training is not achieved Effect.A kind of assault boat drive simulating method provided by the present application, can be improved the sense of reality of assault boat drive simulating, Jin Erti High training effect, it is specific referring to FIG. 1, Fig. 1 is a kind of stream of assault boat drive simulating method provided by the embodiment of the present application Cheng Tu, the assault boat drive simulating method specifically include:
S101, the demand according to input determine weather scene mode corresponding with demand;
The executing subject of the embodiment of the present application is virtual reality device, and virtual reality device is determined according to the demand of input Weather scene mode corresponding with demand is not especially limited the demand of input at this, should by those skilled in the art according to Actual demand is set accordingly.Input mode of the demand is also not especially limited at this, such as can use defeated Enter equipment and demand is inputted into virtual reality device, it can also be by being chosen to demand option, and then input demand.The application Demand of the virtual reality device to input is analyzed in embodiment, determines weather scene mode corresponding with demand.It is right at this Weather scene mode establish mode, the type of weather scene mode is not especially limited.
Further, the above-mentioned demand according to input determines weather scene mode corresponding with demand, generally includes: benefit Each weather scene mode is established with Scene Simulation;Wherein, weather scene mode includes sleet scene mode, flood Scene mode, typhoon scene mode, tsunami scene mode, landslide scene mode, mud-rock flow scene mode, Lightning Disaster field Scape mode;According to the demand of input and preset mapping table, weather scene mode corresponding with demand is determined.Due to two-dimentional geographical Information system indicates actual three-dimensional things using two-dimensional mode, and limitation is bigger, and a large amount of multidimensional space information is difficult It is utilized.Virtual reality technology as a kind of completely new human-machine interface technology, Informational Expression with interact in terms of have uniqueness Function.Virtual reality technology is to generate a kind of simulated environment using computer, puts into user by a variety of sensing equipments In the environment, realize that user and the environment directly carry out the technology of natural interaction.Here so-called simulated environment is exactly to use computer The solid figure with surface color and polish generated, is to be allowed to generate on the spot in person in user the effects of feel by vision, hearing, touch Interactive inspection emulation, it can be the real embodiment in a certain particular real-world world.Scene Simulation is virtual reality skill The most important form of expression of art, it is the interactive simulation environment for making user generate feeling on the spot in person, realizes user and is somebody's turn to do Environment directly carries out natural interaction.Vision simulation uses computer graphic image technology, informix technology and display technology, root According to the purpose constructive simulation environment of emulation, reach simulated effect very true to nature.The data that vision simulation will not have intuitive It is shown with image format, enabled people in the 3-D graphic world before inconceivable means to obtain information.
Further, above-mentioned to establish each weather scene mode using Scene Simulation, it generally includes: being built using three-dimensional Die worker's tool, contextual data sampling instrument and mapping technology, establish each simulated environment;It is driven using driving developing instrument each A simulated environment obtains corresponding weather scene mode.Detailed process is as follows:
The main purpose of the embodiment of the present application is that weather conditions and various meteorological elements are visualized, and makes public appearance The information being easily accepted by, therefore first establish simulated environment, then with weather dependent data driving simulation environment.In order to create one to spectators Them can be made to experience on the spot in person and immerse environment therein, one of necessary condition exactly needs realistically to show considerable All objects in the world, therefore need scene modeling.The D modeling tool that the embodiment of the present application is selected is that real-time three-dimensional modeling is soft Part MultiGen Creator, MultiGen Creator are the real-time three-dimensional modeling tools of a set of high fidelity, optimum optimization, It can satisfy vision simulation, interactive simulation.In modeling, the organized formats of database influence very the running quality of system Greatly, the Open Flight format of MultiGen Creator is described object using hierarchical structure, uses geometry level knot Structure and attribute describe three-dimension object, it is ensured that the control to object vertex and face becomes most popular in real-time three-dimensional field Picture format, and become the professional standard in emulation field.The contextual data sampling instrument that the embodiment of the present application is selected is Creator In TerrainPro professional module, can quickly create large-scale terrain landforms, while keeping and the consistent orientation of prototype, make Landform precision has the three-D grain feature of high fidelity close to real world.Building model data can pass through calculating Machine Computer Aided Design realizes, such as the height and appearance attribute etc. of building.Texture is mapped to the polygon of threedimensional model Two dimensional image in shape greatly improves body surface using mapping technology for providing the body surface of the sense of reality In the really degree of virtual environment, while each details for indicating model is avoided using polygon, to greatly reduce mould The quantity of polygon in type, so that the subject image obtained after rendering is more vivid, true to nature.
Simulation drive is using the meteorological element of weather forecast as driving parameter simulated environment.The embodiment of the present application is selected The Vega of MultiGen paradigm company is as driving developing instrument.Vega is imitative applied to Real-Time Scene Simulation, sound Very, virtual reality and the software environment advanced in the world in other visualization fields.Vega provides a kind of hard based on multiprocessor The exploitation environment and running environment of part structure, it is each effective processor assignment of logical system task;Also meet simultaneously User is as needed configured some processor and custom-built system is allowed to configure to meet high performance requirement.First lead to It crosses the interface Lynx and establishes application definition file (* 1adf) and define element property and its correlation in virtual scene, so Building, control and the management of virtual scene are realized using Vega development platform and tool set afterwards.Vega can directly read by The threedimensional model that MultiGen Creator is established can carry out the environment of virtual scene without carrying out type or mode conversion Rendering, can be set roaming path and visual angle, collision detection stereoscopic effect, simulate 24 hours light variation etc., it can be achieved that The all angles for clicking mouse observation virtual scene may also set up certain route viewing optimum efficiency.
In addition, the embodiment of the present application also needs software programming, using object-oriented programming method, it is necessary to establish towards The model of object.Object-oriented programming is by carrying out nature segmentation to Problem Areas, by the data of problem and behavior function It can be combined as a whole.In system design, object merges data and behavior in same class.Vega uses object-oriented Technology, various graphics management functions and optional module are all defined as " class ".ADF file is generated by Lynx interface definition Afterwards, scene drive and rendering are realized in programming in VC++ environment.To realize intuitive display, ActiveX is used in emulation platform Control method selects and creates the frame of control by using the application program guide of VC++, using MFC (Microsoft Foundation Class) the single document template in application object template constructs virtual scene.MFC single document template provides text The basic format such as shelves, view, application, message loop substantially increases the building speed of simulation Software Platform.Utilize Vega's Api function can neatly switch viewpoint delegate and adjust relevant parameter, to reach simulated effect true to nature.The model just built up Often there is the polygon of redundancy or auxiliary lines, these influence whether the speed of emulation.In order to optimize the illustraton of model of scene, build Mould, which finishes, can be integrated into attribute identical polygon grid, and grid makes polygon have common attribute and vertex.In this way The runnability and display effect of system can be greatly improved.The visualization meteorological element of meteorological element includes precipitation, wind, sunshine Deng these elements can be embodied in three-dimensional artificial environment.
1) mist: mist is the similar atmospheric effect form of description, is the common name of mist, cigarette, pollution etc..Usually using computer It is all very sharp clear to render obtained image, but in real world, the thing remote from observer appears to seem It obscures.It in order to keep image truer, needs to carry out simulation control to mist in the scene, such as the color, dense of setting mist Degree, starting point, end point etc..In the embodiment of the present application, can according to mist body setting concentration come train adjustment assault boat into Scanning frequency degree.
2) wind: wind is movement of the air relative to ground.Often refer to the horizontal movement of air in meteorology, and with wind direction, wind speed To indicate.Wind direction and wind speed can only generally be embodied in three-dimensional scenic with indirect mode, for example pass through the displacement and shape of tree Become the dynamic effect that is flickered in wind come truly analog tree to describe, the Model representation approach combined using geometry with image Tree is modeled, that is, the limb set using geometry come moulding, it is local then by texture mapping by image expression.In the application reality Apply in example, then directly translate into the influence to assault boat stress, assault boat in river will by self power, water velocity and The collective effect of wind speed three is contributed so as to adjust the fore direction of assault boat and engine, simulates the instruction in real scene Practice outdoor scene.
3) rain: refer to the liquid water and solid water to land from cloud, such as rain, snow, hail.For being opened up in three-dimensional artificial environment A method for showing " fluid " property is particIe system (particle system), and basic thought is to use largely to have The particle pel of certain vitality describes the irregular fuzzy scenery of nature.With the variation of time, in particIe system Each particle will pass through " generation ", " movement " and " extinction " these three stages with randomness, pass through the production of a large amount of particles Raw and extinction, simulates the dynamic and randomness of irregularly shaped object.ParticIe system, which is a major advantage that, can use simply Element constructs complicated object, for the moulding such as wind, wave, mist, rain, snow etc. of natural phenomena provides strong technology hand Section.
4) cloud: cloud is the main scenery of sky, the simulation of cloud can be enhanced the visual experience of scene.But since cloud does not have The geometry of rule, and complicated reflection, refraction and scattering will occur for when light passes through cloud layer, therefore establish 3D solid cloud The difficulty of model is bigger.The basic configuration that cloud is defined with one group of spheroid, then in a different direction to this group of ellipsoid Body does dimensional deformation and carries out multiple random reproduction, the process one at the thin tail sheep in original cloud ball center different direction deviateing It directly continues until meeting iteration requirement.
5) it sunshine: indicates to shine upon the amount of time.In three-dimensional scenic, sunshine is directly retouched by the setting of light It states.The main task of light source node is the shape library light source indicated in scenery picture.The transformation meeting that scenery picture is applied Change the position and direction of light source.Global light source model is combined with the material properties of object, geometry assembly line is in geometric graph The apex of shape calculates illumination.In the embodiment of the present application, daylight is mainly manifested in the reflecting effect to the water surface and assault boat, shows Reveal in water that gleams of light are reflecting on waves in the river and the reflective texture of pneumatic boat colloid.
In weather three-dimensional scenic system, the basic thought of particIe system is made using the fine particle of many simple shapes Irregularly shaped object is described for basic element.In vision simulation field, have frequently with particIe system simulation rain, mist, cloud etc. random The object or phenomenon of property motion feature.The basic thought of particIe system is to use many fine particles as basic element, by its with Certain rule, which gathers together, has respective attribute, life cycle for simulating some objects or each particle of process, and Certain characteristics of motion is followed, the randomness of irregular fuzzy objective can be preferably showed.Sleet phenomenon is realized using particIe system Simulation, basic thought is movement simulated rainfall and the snowfall phenomenon with a large amount of raindrop and snowflake particle.The movement of particle By controlled Random process, each particle undergoes generation, development and the process withered away, operational process in systems It is as follows: (1) to generate new particle, assign its initial attribute, and be added into system;(2) more in new system particle attribute; (3) draw and show the particle of survival;(4) the extinction condition for checking particle deletes the particle that life cycle terminates.
The actual physics process of rain, mist, cloud in nature is more complicated.Raindrop and snowflake are in gravity, air drag, wind Falling motion is generated under the collective effect of the power such as power.Motion model is as follows:
V=v0+a∫dt
S=s0+v∫dt
V is the present speed of rain, mist, v0For rain, the initial velocity of mist;S is the current location of rain, mist, s0For rain, mist Initial position;A is the acceleration of rain, mist.Visual system needs to carry out real-time rendering to complicated three-dimensional scenic, this to rainfall and The requirement of real-time of snowfall emulation is higher.Therefore, the above process need to suitably be simplified, is enabled the system to drop Rain process realizes real-time simulation more true to nature.To simplify the calculation, interparticle interaction is had ignored to the shadow of particle property It rings, it is assumed that once generating, size, color, texture all remain unchanged particle.
After completing the state setting of particle, need to draw it according to the state of particle.In visual system, each Particle is considered as assigning the quadrangle of transparent texture.To guarantee the particle in life cycle all always as it can be seen that particle front is answered It is constantly being directed towards viewpoint, the calculating that barrel shape billboarding realizes particle plane normal vector can be used, obtain the method for particle quadrangle After vector, 4 vertex of quadrangle can be calculated according to the positions and dimensions of particle, and complete using the drafting function in OpenGL It is drawn at particle.Above-mentioned sleet particIe system realizes in assault boat emulator systems, hardware platform are as follows: Xeon 30GHz CPU, 2GB RAM, graphics card are nVidia Quadro FX4400 256MB RAM;Software platform: WindowsXP, VisualC ++ 60, OpenGL 14.In experiment scene, triangle total quantity is 218531, is exported with the screen resolution of 1024x768 What comes into a driver's has carried out multiple test along identical working line.
From the real-time of vision simulation, sense of reality requirement, the characteristics of being moved according to assault boat, establishes and realize energy Enough simulate the particIe system of misty rain phenomenon.The characteristics of system is according to assault boat moving scene, to the physical model of sleet phenomenon Simplification appropriate has been carried out, while reaching higher fidelity, has guaranteed particIe system real-time.By joining to particIe system Several control can realize the misty rain simulation under varying strength, different wind friction velocities in the scene.Currently, this misty rain wind particle System has been applied in the vision simulation of assault boat driving simulator, allows trainer's experience in the influence of different weather environment and water flow Under the collective effect of speed, the different experience effects of power emergency assault boat are driven.The drive simulating of assault boat is related to 3 aspects Factor: wind-force, water flow, engine.Driving direction and speed when the power of three drives decision assault boat.In virtual scene Middle traveling assault boat can not simulate whole factors to three directions completely, so in operation, to simulate assault boat level Based on the movement in direction, the active force of wind speed and water flow is also finally based on the stress of horizontal direction, power that engine generates It can be influenced in certain horizontal angular range, be adjusted and finally generate forward motive force.
S102, under weather scene mode, acquire the action message for characterizing user action using sensor;
The embodiment of the present application is after determining weather scene mode corresponding with demand, under the weather scene mode, utilizes Sensor acquires the action message for characterizing user action.Not to the position of sensor, quantity and action message at this Make specific restriction, depending on needing according to the actual situation.
Further, above-mentioned under weather scene mode, believed using sensor acquisition for characterizing the movement of user action Breath, generally includes: under weather scene mode, acquired in real time using sensor the directional information of user action, velocity information and Acceleration information;Analysis synthesis processing is carried out to directional information, velocity information and acceleration information, obtains action message.
S103, action message is parsed and according to parsing result, execution assault boat response corresponding with action message Operation, to export assault boat drive simulating effect.
The embodiment of the present application parses action message and after collecting action message according to parsing result, execution Assault boat response operation corresponding with action message, to export assault boat drive simulating effect.It is understood that action message There is mapping relations between assault boat response operation, assault boat response operation is executed, assault boat simulation can be exported and driven Sail effect.
The application can determine weather scene mode corresponding with demand according to the demand of input.Due in actual life Assault boat using when weather be all bad weather, therefore under weather scene mode carry out assault boat drive simulating, Neng Gouti The sense of reality of high assault boat drive simulating, and then improve training effect.
It below can to a kind of assault boat driving simulation system provided by the embodiments of the present application, virtual reality device and computer It reads storage medium to be introduced, assault boat driving simulation system, virtual reality device and computer-readable storage described below Medium can correspond to each other reference with above-described assault boat drive simulating method.
Referring to FIG. 2, Fig. 2 is a kind of structural block diagram of assault boat driving simulation system provided by the embodiment of the present application; The assault boat driving simulation system includes:
Weather scene mode determining module 201 determines weather scene mould corresponding with demand for the demand according to input Formula;
Action message acquisition module 202, for being moved using sensor acquisition for characterizing user under weather scene mode The action message of work;
Assault boat responds operation executing module 203, for being parsed to action message and according to parsing result, execute with The corresponding assault boat response operation of action message, to export assault boat drive simulating effect.
Based on the above embodiment, weather scene mode determining module 201 in the present embodiment, generally includes:
Weather scene mode establishes unit, for establishing each weather scene mode using Scene Simulation;Wherein, day Gas scene mode includes sleet scene mode, flood scene mode, typhoon scene mode, tsunami scene mode, massif cunning Slope scene mode, mud-rock flow scene mode, Lightning Disaster scene mode;
Weather scene mode determination unit, for according to input demand and preset mapping table, determination it is corresponding with demand Weather scene mode.
Based on the above embodiment, weather scene mode establishes unit in the present embodiment, generally includes:
Simulated environment establishes subelement, for utilizing D modeling tool, contextual data sampling instrument and texture mapping skill Art establishes each simulated environment;
Simulated environment drives subelement, for driving each simulated environment using driving developing instrument, obtains corresponding day Gas scene mode.
Based on the above embodiment, action message acquisition module 202 in the present embodiment, generally includes:
Information acquisition unit, under weather scene mode, acquiring the direction letter of user action in real time using sensor Breath, velocity information and acceleration information;
Analysis synthesis processing unit, for carrying out analysis synthesis processing to directional information, velocity information and acceleration information, Obtain action message.
The application also provides a kind of virtual reality device, comprising: memory and processor;Wherein, memory is for storing Computer program, processor are used to realize the assault boat drive simulating method of above-mentioned any embodiment when executing computer program Step.
The application also provides a kind of computer readable storage medium, and computer-readable recording medium storage has computer journey Sequence, the step of assault boat drive simulating method of above-mentioned any embodiment is realized when computer program is executed by processor.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For embodiment provide system and Speech, since it is corresponding with the method that embodiment provides, so being described relatively simple, related place is referring to method part illustration ?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above to a kind of assault boat drive simulating method, system, virtual reality device and computer provided herein Readable storage medium storing program for executing is described in detail.Specific case used herein carries out the principle and embodiment of the application It illustrates, the description of the example is only used to help understand the method for the present application and its core ideas.It should be pointed out that for this For the those of ordinary skill of technical field, under the premise of not departing from the application principle, the application can also be carried out several Improvement and modification, these improvement and modification are also fallen into the protection scope of the claim of this application.

Claims (10)

1. a kind of assault boat drive simulating method, which is characterized in that be applied to virtual reality device, comprising:
According to the demand of input, weather scene mode corresponding with the demand is determined;
Under the weather scene mode, the action message for characterizing user action is acquired using sensor;
The action message is parsed and according to parsing result, execution assault boat response behaviour corresponding with the action message Make, to export assault boat drive simulating effect.
2. assault boat drive simulating method according to claim 1, which is characterized in that the demand according to input, really Fixed weather scene mode corresponding with the demand, comprising:
Each weather scene mode is established using Scene Simulation;Wherein, the weather scene mode includes sleet field Scape mode, flood scene mode, typhoon scene mode, tsunami scene mode, landslide scene mode, mud-rock flow scene Mode, Lightning Disaster scene mode;
According to the demand of input and preset mapping table, weather scene mode corresponding with the demand is determined.
3. assault boat drive simulating method according to claim 2, which is characterized in that described to be built using Scene Simulation Found each weather scene mode, comprising:
Using D modeling tool, contextual data sampling instrument and mapping technology, each simulated environment is established;
Each simulated environment is driven using driving developing instrument, obtains corresponding weather scene mode.
4. assault boat drive simulating method according to claim 1, which is characterized in that described in the weather scene mode Under, the action message for characterizing user action is acquired using sensor, comprising:
Under the weather scene mode, the directional information of the user action is acquired in real time using the sensor, speed is believed Breath and acceleration information;
Analysis synthesis processing is carried out to the directional information, the velocity information and the acceleration information, obtains the movement Information.
5. a kind of assault boat driving simulation system, which is characterized in that be applied to virtual reality device, comprising:
Weather scene mode determining module determines weather scene mode corresponding with the demand for the demand according to input;
Action message acquisition module, for being acquired using sensor for characterizing user action under the weather scene mode Action message;
Assault boat responds operation executing module, for being parsed to the action message and according to parsing result, execution and institute The corresponding assault boat response operation of action message is stated, to export assault boat drive simulating effect.
6. assault boat driving simulation system according to claim 5, which is characterized in that the weather scene mode determines mould Block, comprising:
Weather scene mode establishes unit, for establishing each weather scene mode using Scene Simulation;Wherein, institute Stating weather scene mode includes sleet scene mode, flood scene mode, typhoon scene mode, tsunami scene mode, mountain Body landslide scene mode, mud-rock flow scene mode, Lightning Disaster scene mode;
Weather scene mode determination unit, for the demand and preset mapping table, determination and the demand according to input Corresponding weather scene mode.
7. assault boat driving simulation system according to claim 6, which is characterized in that the weather scene mode is established single Member, comprising:
Simulated environment establishes subelement, for utilizing D modeling tool, contextual data sampling instrument and mapping technology, builds Found each simulated environment;
Simulated environment drives subelement, for driving each simulated environment using driving developing instrument, obtains corresponding day Gas scene mode.
8. assault boat driving simulation system according to claim 5, which is characterized in that the action message acquisition module, Include:
Information acquisition unit, for acquiring the user action in real time using the sensor under the weather scene mode Directional information, velocity information and acceleration information;
Analysis synthesis processing unit, for analyzing the directional information, the velocity information and the acceleration information Synthesis processing, obtains the action message.
9. a kind of virtual reality device characterized by comprising
Memory and processor;Wherein, the memory is for storing computer program, the processor by execute it is described based on The step of assault boat drive simulating methods as described in any item such as Claims 1-4 are realized when calculation machine program.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence realizes such as Claims 1-4 described in any item assault boat drive simulating sides when the computer program is executed by processor The step of method.
CN201910507847.1A 2019-06-12 2019-06-12 A kind of assault boat drive simulating method, system and relevant apparatus Pending CN110232846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910507847.1A CN110232846A (en) 2019-06-12 2019-06-12 A kind of assault boat drive simulating method, system and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910507847.1A CN110232846A (en) 2019-06-12 2019-06-12 A kind of assault boat drive simulating method, system and relevant apparatus

Publications (1)

Publication Number Publication Date
CN110232846A true CN110232846A (en) 2019-09-13

Family

ID=67859797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910507847.1A Pending CN110232846A (en) 2019-06-12 2019-06-12 A kind of assault boat drive simulating method, system and relevant apparatus

Country Status (1)

Country Link
CN (1) CN110232846A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114399612A (en) * 2021-11-29 2022-04-26 武汉未来幻影科技有限公司 Weather simulation method for driving test simulation scene
CN114973847A (en) * 2022-05-23 2022-08-30 安胜(天津)飞行模拟系统有限公司 Method for simulating regional weather scene on flight simulator

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719332A (en) * 2009-12-08 2010-06-02 西南石油大学 Full-three-dimensional real-time drilling simulation method
CN103984553A (en) * 2014-05-26 2014-08-13 中科创达软件股份有限公司 3D (three dimensional) desktop display method and system
CN104464438A (en) * 2013-09-15 2015-03-25 南京大五教育科技有限公司 Virtual reality technology-based automobile driving simulation training system
CN105159954A (en) * 2015-08-17 2015-12-16 武汉理工大学 Three-dimensional electronic nautical chart generating method based on GIS and virtual reality technology
CN106205273A (en) * 2016-09-20 2016-12-07 山西省交通科学研究院 A kind of Vehicle driving simulator based on VR analogue technique and method
CN106781827A (en) * 2017-03-14 2017-05-31 长江涪陵航道管理处 Ship-handling training system and method
CN107943286A (en) * 2017-11-14 2018-04-20 国网山东省电力公司 A kind of method for strengthening roaming feeling of immersion
CN108803876A (en) * 2018-06-08 2018-11-13 华北水利水电大学 Hydraulic engineering displaying exchange method based on augmented reality and system
CN108877374A (en) * 2018-07-24 2018-11-23 长安大学 Vehicle platoon analogue system and method based on virtual reality and driving simulator
CN109781431A (en) * 2018-12-07 2019-05-21 山东省科学院自动化研究所 Automatic Pilot test method and system based on mixed reality

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719332A (en) * 2009-12-08 2010-06-02 西南石油大学 Full-three-dimensional real-time drilling simulation method
CN104464438A (en) * 2013-09-15 2015-03-25 南京大五教育科技有限公司 Virtual reality technology-based automobile driving simulation training system
CN103984553A (en) * 2014-05-26 2014-08-13 中科创达软件股份有限公司 3D (three dimensional) desktop display method and system
CN105159954A (en) * 2015-08-17 2015-12-16 武汉理工大学 Three-dimensional electronic nautical chart generating method based on GIS and virtual reality technology
CN106205273A (en) * 2016-09-20 2016-12-07 山西省交通科学研究院 A kind of Vehicle driving simulator based on VR analogue technique and method
CN106781827A (en) * 2017-03-14 2017-05-31 长江涪陵航道管理处 Ship-handling training system and method
CN107943286A (en) * 2017-11-14 2018-04-20 国网山东省电力公司 A kind of method for strengthening roaming feeling of immersion
CN108803876A (en) * 2018-06-08 2018-11-13 华北水利水电大学 Hydraulic engineering displaying exchange method based on augmented reality and system
CN108877374A (en) * 2018-07-24 2018-11-23 长安大学 Vehicle platoon analogue system and method based on virtual reality and driving simulator
CN109781431A (en) * 2018-12-07 2019-05-21 山东省科学院自动化研究所 Automatic Pilot test method and system based on mixed reality

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114399612A (en) * 2021-11-29 2022-04-26 武汉未来幻影科技有限公司 Weather simulation method for driving test simulation scene
CN114973847A (en) * 2022-05-23 2022-08-30 安胜(天津)飞行模拟系统有限公司 Method for simulating regional weather scene on flight simulator
CN114973847B (en) * 2022-05-23 2024-04-12 安胜(天津)飞行模拟系统有限公司 Method for simulating regional weather scene on flight simulator

Similar Documents

Publication Publication Date Title
CN102855400B (en) A kind of ocean surface modeling based on projection grid and real-time lighting method
CN109360262B (en) Indoor positioning system and method for generating three-dimensional model based on CAD (computer-aided design) drawing
CN106570929B (en) Construction and drawing method of dynamic volume cloud
CN111784833A (en) WebGL-based flood evolution situation three-dimensional dynamic visualization display method
US9582929B2 (en) Dynamic skydome system
CN104407521A (en) Method for realizing real-time simulation of underwater robot
CN106570926B (en) Efficient particle cloud layer method for drafting in a kind of Flight Scene Simulation
CN105205861A (en) Tree three-dimensional visualization model realization method based on Sphere-Board
CN110163964A (en) Physical simulation system and its application method based on three-dimensional digital earth
CN105184843B (en) A kind of three-dimensional animation manufacturing method based on OpenSceneGraph
CN103530901A (en) Method and system for visualizing dynamic water area by matching with real three-dimensional environment
CN110232846A (en) A kind of assault boat drive simulating method, system and relevant apparatus
CN110400366B (en) Real-time flood disaster visualization simulation method based on OpenGL
CN103793552A (en) Real-time dynamic generating method for local particle spring model with deformed soft tissues
CN115690344A (en) Sponge city sand table and weather simulation system
Jianbo VR-based Urban Landscape Artistic Design.
CN104299262B (en) A kind of three-dimensional cloud analogy method based on velocity field streamline
Fisher et al. 3D geographic visualization: the Marine GIS
Luo et al. GPU-based real-time virtual reality modeling and simulation of seashore
CN112734891A (en) Water body rendering implementation system and method based on Unity3D
Fu et al. Development and Application of Marine Environment Data Visualization Technology
CN108961412B (en) Three-dimensional cloud simulation method based on self-adaptive far-field grid
Zeng Research on Dynamic Simulation Technology of Urban 3D Landscape Based on Virtual Reality APP Platform
Xu et al. Simulation and Evaluation Method of Landscape Design Scheme Based on OPENGL Virtual Reality Platform
Zhang Animation Scene Design and Machine Vision Rendering Optimization Combining Generative Models

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190913