CN109783914A - A kind of pretreatment dynamic modelling method and device based on virtual reality emulation - Google Patents

A kind of pretreatment dynamic modelling method and device based on virtual reality emulation Download PDF

Info

Publication number
CN109783914A
CN109783914A CN201811647153.XA CN201811647153A CN109783914A CN 109783914 A CN109783914 A CN 109783914A CN 201811647153 A CN201811647153 A CN 201811647153A CN 109783914 A CN109783914 A CN 109783914A
Authority
CN
China
Prior art keywords
model
scene
area
property value
pretreating zone
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.)
Granted
Application number
CN201811647153.XA
Other languages
Chinese (zh)
Other versions
CN109783914B (en
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.)
Hebei Deguron Electronic Technology Co Ltd
Original Assignee
Hebei Deguron Electronic Technology 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 Hebei Deguron Electronic Technology Co Ltd filed Critical Hebei Deguron Electronic Technology Co Ltd
Priority to CN201811647153.XA priority Critical patent/CN109783914B/en
Publication of CN109783914A publication Critical patent/CN109783914A/en
Application granted granted Critical
Publication of CN109783914B publication Critical patent/CN109783914B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention discloses a kind of pretreatment dynamic modelling method and device based on virtual reality emulation, belong to virtual reality emulation technical field, method includes: creation image output area, area to be output and pretreating zone, obtains operational order by image output area and is shared with pretreating zone and area to be output;In pretreating zone, model attributes and scene properties are obtained according to operational order, model actual property value and scene actual property value are obtained in real time, according to model actual property value and scene actual property value, model and scene are rendered, model and scene rendering sequence are obtained;In area to be output, model and scene rendering sequence and corresponding model and scene are obtained from pretreating zone according to operational order, model and scene are verified, model and scene rendering sequence are finely rendered according to check results, obtain video sequence;In image output area, video is played according to preview mode.So that preprocessed video is more really dissolved into actual environment.

Description

A kind of pretreatment dynamic modelling method and device based on virtual reality emulation
Technical field
The present embodiments relate to virtual reality emulation technical fields, and in particular to a kind of based on the pre- of virtual reality emulation Handle dynamic modelling method and device.
Background technique
Virtual reality technology is a kind of computer simulation system that can be created with the experiencing virtual world, it utilizes computer A kind of simulated environment is generated, is that a kind of Multi-source Information Fusion, interactive Three-Dimensional Dynamic what comes into a driver's and the system of entity behavior are imitative Really it is immersed to user in the environment.Virtual reality technology mainly includes simulated environment, perception, natural technical ability and sensing equipment etc. Aspect.Simulated environment be generated by computer, dynamic 3 D stereo photorealism in real time.Perception refers to ideal virtual existing There should be perception possessed by all people in fact.In addition to computer graphics techniques visual perception generated, there are also the sense of hearings, touching The perception such as feel, power feel, movement, or even further include smell and sense of taste etc., also referred to as perceive more.Natural technical ability refers to that the head of people turns Dynamic, eyes, gesture or other human body behavior acts are handled the data adaptable with the movement of participant by computer, and right Real-time response is made in the input of user, and feedback arrives the face of user respectively.
Compared with the New Media Art under traditional window-operating, the human-computer dialogue of interactivity and extension is VR unique advantage Key point.It, can be using the shape of more natural human-computer interaction means control works by the application to technologies such as VR, AR Formula moulds irrealizable dream under the more art environment of feeling of immersion and reality, and assigns the process of creation with new Meaning.Such as the interactive device system with VR property can be set spectators and pass through the interaction channel of multiple sense organ and pass through dress The process set, artist can promote communication between participant and works and anti-by the smooth cooperation of software and hardware Feedback, creates good property of participation and controllability;Motion capture, the behavior of storage access person can also be carried out by video clip Segment, based on the consciousness enhancement for keeping participant, synchronous projection reinforcing effect and refigure, processed image; By forms such as augmented reality, mixed realities, digital world and real world are combined together.
The inventors discovered that transferring phase by program trigger switch in the application field combined with reality scene The action command answered shows pre-set scene, and in the process, pre-set scene and reality scene can not Fusion well, and then false body-sensing is brought to user.
Summary of the invention
For this purpose, the embodiment of the present invention provides a kind of pretreatment dynamic modelling method and device based on virtual reality emulation, It can not be merged well with the scene for solving the problems, such as pre-set caused by the prior art with reality scene.
To achieve the goals above, embodiments of the present invention provide the following technical solutions:
The first aspect of the present invention provides a kind of pretreatment dynamic modelling method based on virtual reality emulation, comprising:
Image output area, area to be output, pretreating zone are created, operational order is obtained by described image output area, and will The operational order is distributed to the pretreating zone and the area to be output;
In the pretreating zone, model attributes and scene properties in pretreating zone are obtained according to the operational order, Model actual property value and scene actual property value are obtained in real time, are belonged to according to the model actual property value and the scene are practical Property value, in the pretreating zone model and scene render, save the obtained model of rendering and scene rendering sequence;
In the area to be output, according to the operational order from the pretreating zone, the model and scene are obtained Sequence and corresponding model and scene are rendered, the model and scene that get are verified, according to check results to the mould Type is finely rendered with scene rendering sequence, and preservation finely renders obtained video sequence;
In described image output area, preview mode is obtained, obtains correspondence from area to be output according to the operational order Video sequence, play video according to preview mode.
In another embodiment, the creation image output area, area to be output, pretreating zone, comprising:
Image output area is created, according to the size dynamic creation area to be output of described image output area, according to described image The size of output area and the size in the area to be output create pretreating zone.
In another embodiment, described in the pretreating zone, pre- place is obtained according to the operational order The model attributes and scene properties in area are managed, obtain model actual property value and scene actual property value in real time, comprising:
In the pretreating zone, preview instruction sequence is generated according to the operational order;
The model that will be used in the pretreating zone is obtained according to the preview instruction sequence;
According to the model that will be used, the preassembled collected data of various sensors are obtained in real time, and right Collected data are analyzed, and model actual property value and scene actual property value are obtained.
In another embodiment, described according to the model actual property value and the scene actual attribute Value, in the pretreating zone model and scene render, save the obtained model of rendering and scene rendering sequence, packet It includes:
Each model attributes value, each graphic attribute value, each scene properties value, each material attribute value out of described pretreating zone In, it obtains and the model actual property value and the matched model of the scene actual property value, figure, scene, material;
According to the model actual property value and the matched model of the scene actual property value, figure, scene, element Material renders the model that will use in pretreating zone, scene using graphics rendering engine and physics renders engine, saves Render obtained model and scene rendering sequence.
In another embodiment of the invention, it is described according to check results to the model and the fine wash with watercolours of scene rendering sequence Dye, preservation finely render obtained video sequence, comprising:
Current model and current scene are obtained according to operational order, by the current model and current scene point It is not compared with the model and scene got from pretreating zone, if model and scene difference are identical, to the model It is finely rendered with scene rendering sequence, preservation finely renders obtained video sequence.
The second aspect of the present invention provides a kind of pretreatment dynamic modeling device based on virtual reality emulation, comprising:
Workspace creation module, for creating image output area, area to be output, pretreating zone;
Distribution module is instructed, for obtaining operational order by described image output area, and the operational order is distributed To the pretreating zone and the area to be output;
Preprocessing module, for obtaining the model in pretreating zone according to the operational order in the pretreating zone Attribute and scene properties obtain model actual property value and scene actual property value, according to the model actual property value in real time With the scene actual property value, in the pretreating zone model and scene render, save the obtained model of rendering With scene rendering sequence;
Module to be output, for according to the operational order from the pretreating zone, obtaining in the area to be output The model and scene rendering sequence and corresponding model and scene, verify the model and scene that get, according to school It tests result finely to render the model and scene rendering sequence, preservation finely renders obtained video sequence;
Image output module obtains preview mode in described image output area, according to the operational order to Corresponding video sequence is obtained in output area, plays video according to preview mode.
The workspace creation module is specifically used for creation image output area, dynamic according to the size of described image output area State creates area to be output, creates pretreating zone according to the size of described image output area and the size in the area to be output.
The preprocessing module, for generating preview instruction sequence according to the operational order in the pretreating zone, The model that will be used in the pretreating zone is obtained according to the preview instruction sequence, according to the model that will be used, The preassembled collected data of various sensors are obtained in real time, and collected data are analyzed, and obtain model reality Border attribute value and scene actual property value.
The preprocessing module is also used to each model attributes value, each graphic attribute value, each scene out of described pretreating zone In attribute value, each material attribute value, obtain with the model actual property value and the matched model of the scene actual property value, Figure, scene, material, according to the model actual property value and the matched model of the scene actual property value, figure, field Scape, material, using graphics rendering engine and physics renders engine to model, the scene progress wash with watercolours that will be used in pretreating zone Dye saves model and scene rendering sequence that rendering obtains.
In third aspect present invention, a kind of electronic equipment of pretreatment dynamic modeling based on virtual reality emulation is provided, Include:
Figure acquisition unit, the operational order issued for receiving controller adjust Posture acquisition model actual property value With scene actual property value, and the model actual property value and the scene actual property value are sent to the controller;
Controller is obtained by described image output area and is grasped for creating image output area, area to be output, pretreating zone It instructs, and the operational order is distributed to the pretreating zone and the area to be output;
For obtaining the model attributes and scene category in pretreating zone according to the operational order in the pretreating zone Property, the collected model actual property value of the figure acquisition unit and scene actual property value are obtained in real time, according to the mould Type actual property value and the scene actual property value, corresponding model and scene are obtained from server, is rendered, and are saved Render obtained model and scene rendering sequence;
For in the area to be output, according to the operational order from the pretreating zone, obtain the model with Scene rendering sequence and corresponding model and scene verify the model and scene that get, according to check results to institute It states model finely to render with scene rendering sequence, preservation finely renders obtained video sequence;
It is also used in described image output area, obtains preview mode, obtained from area to be output according to the operational order Corresponding video sequence is taken, plays video according to preview mode;
Server, for storing each model and each scene.
Fourth aspect present invention provides a kind of computer readable storage medium, the computer-readable recording medium storage There are computer executable instructions, may be implemented when the instruction is executed by processor as described above based on virtual reality emulation Pre-process dynamic modelling method.
Embodiment according to the present invention has the advantages that by creating image output area, area to be output, pretreatment Area shares operational order and area to be output, pretreating zone that image output area is got, so that area to be output and pretreating zone It is able to carry out pre-processing, generates corresponding model, scene, even video sequence, so that image output area is operated in response When instruction, more quickly, convenient.Further, the present invention by area to be output to the checking treatment of model and scene, then it is right The model saved in pretreating zone is finely rendered with scene rendering sequence, greatly improves the rendering of virtual reality scenario Speed, and by checking treatment, it ensure that pretreatment scene is consistent with model with actual scene, the video for obtaining rendering is more To be really dissolved into actual environment.
Detailed description of the invention
It, below will be to embodiment party in order to illustrate more clearly of embodiments of the present invention or technical solution in the prior art Formula or attached drawing needed to be used in the description of the prior art are briefly described.It should be evident that the accompanying drawings in the following description is only It is merely exemplary, it for those of ordinary skill in the art, without creative efforts, can also basis The attached drawing of offer, which is extended, obtains other implementation attached drawings.
Fig. 1 is a kind of pretreatment dynamic modelling method stream based on virtual reality emulation that one embodiment of the invention provides Cheng Tu;
Fig. 2 is the refined flow chart for the step 103 that one embodiment of the invention provides;
Fig. 3 is a kind of pretreatment dynamic modeling device based on virtual reality emulation that another embodiment of the present invention provides Structural schematic diagram;
Fig. 4 is the structural schematic diagram for the preprocessing module 203 that another embodiment of the present invention provides;
Fig. 5 is a kind of pretreatment dynamic modeling system based on virtual reality emulation that another embodiment of the present invention provides Work flow diagram;
Fig. 6 is a kind of electricity for pretreatment dynamic modeling based on virtual reality emulation that another embodiment of the present invention provides Sub- device structure schematic diagram;
Fig. 7 is a kind of pretreatment dynamic modeling system based on virtual reality emulation that another embodiment of the present invention provides Working region figure;
Fig. 8 is a kind of pretreatment dynamic modelling method based on virtual reality emulation that another embodiment of the present invention provides Middle pretreating zone work flow diagram;
Fig. 9 is a kind of pretreatment dynamic modelling method based on virtual reality emulation that another embodiment of the present invention provides In area's work flow diagram to be output;
Figure 10 is a kind of pretreatment dynamic modeling side based on virtual reality emulation that another embodiment of the present invention provides Image output area work flow diagram in method.
In figure: 201 being workspace creation module, 202 be instruction distribution module, 203 be preprocessing module, 204 for defeated Module, 205 are image output module out, 2031 be preview module, 2032 be model prediction module, 2033 be model extraction mould Block, 2034 are sketch rendering module, 301 are figure acquisition unit, 302 are controller, 303 are server.
Specific embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation Content disclosed by book is understood other advantages and efficacy of the present invention easily, it is clear that described embodiment is the present invention one Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
In the first aspect of the present invention, a kind of pretreatment dynamic modelling method based on virtual reality emulation is provided, specifically As shown in Figure 1, comprising:
Step 101: creation image output area creates area to be output according to image output area, according to image output area and to Output area creates pretreating zone.
In embodiments of the present invention, it is fixed to carry out the different division of labor to each workspace by three workspaces of creation for system Justice makes three workspaces cooperate cooperation, quickly handles data, enhances user experience.System creation image output area, with Output video is shown in the workspace, according to the size dynamic creation area to be output of image output area, so that image output area Size matches between area to be output.It is prejudged by various quality, according to the size of the size of image output area and area to be output Pretreating zone is created, further matches the size between three workspaces, so that model, field in the processing of each workspace Scape and video are mutually matched, and avoid the problem that leading to distortion because workspace size mismatches.
Step 102: operational order being obtained by image output area, and distributes them to pretreating zone and area to be output.
In embodiments of the present invention, by the operational order of the acquisition user in image output area, understand user is system Operational order is distributed to other two workspace by the video that will be used, so that another two workspace is able to carry out pre-processing, Corresponding model, scene, even video sequence are generated, so that image output area is when responding operational order, more rapidly, just It is prompt.
Step 103: in pretreating zone, model attributes and scene properties in pretreating zone are obtained according to operational order, Model actual property value and scene actual property value are obtained in real time, are used according to model actual property value and scene actual property value Rendering engine, in pretreating zone model and scene render, save the obtained model of rendering and scene rendering sequence.
In embodiments of the present invention, this step is specifically as shown in Figure 2, comprising:
Step 1031: in pretreating zone, preview instruction sequence being generated according to operational order;
In embodiments of the present invention, according to operational order, for example promote, retreat, scaling, rotating, checking, grabbing, making an inspection tour, Roaming etc. generates preview instruction by the analysis to these instruction actions, and preview instruction refers to what client or system will use Next action command.
Step 1032: the model that will be used in pretreating zone is obtained according to preview instruction sequence;
In embodiments of the present invention, obtain the model that will use by previewing the priority of instruction sequence, and to its into The subsequent pretreatment operation of row.
This step further include: obtain each model attributes, the corresponding graphic attribute of each model, each scene properties in pretreating zone And the corresponding material attribute of each scene, and establish and map with presetting database.
Step 1033: according to the model that will be used, the preassembled collected data of various sensors are obtained in real time, And collected data are analyzed, model actual property value and scene actual property value are obtained, from pretreating zone Nei Gemo Type attribute value, each scene properties value, in each material attribute value, obtains and model actual property value and scene each graphic attribute value The matched model of actual property value, figure, scene, material;
In embodiments of the present invention, preassembled various sensings corresponding with scene in pretreating zone and model are obtained Device obtains the collected data of each sensor, and by after these Data Analysis Services, finds each model attributes interface that is corresponding to it Attribute variable's assignment is carried out with graphic attribute and the material attribute used.
Step 1034: according to model actual property value and the matched model of scene actual property value, figure, scene, element Material renders the model that will use in pretreating zone, scene using graphics rendering engine and physics renders engine, saves Render obtained model and scene rendering sequence.
In embodiments of the present invention, searched in the working range of pretreating zone it is all will use variation scenes and Corresponding model carries out the change of property parameters to the model in the scene of variation by obtaining external data variable, generates new Model, re-form completely new scene, enable rendering engine and carry out sketch rendering, form rendering sequence, and save.
Step 104: in area to be output, obtaining the model and scene wash with watercolours saved from pretreating zone according to operational order Sequence and corresponding model and scene are contaminated, the model and scene that get are verified, carries out fine wash with watercolours according to check results Dye, preservation finely render obtained video sequence;
In embodiments of the present invention, the size, that is, display size for obtaining image output area, according to the size of image output area Dynamic creation area to be output forms preview instruction sequence according to operational order, is obtained from pretreating zone according to preview instruction sequence Take the model that has saved and scene rendering sequence and its corresponding model and scene, according to operational order obtain current model and Current scene compares current model and current scene with the model and scene got from pretreating zone respectively Compared with, if the two is all the same, model and scene rendering sequence are finely rendered, preservation finely render obtained video sequence Column;If the two at least exists, one is not identical, rendering is re-started according to current model and current scene, to what is obtained Model and sequence of scenes after rendering are finely rendered again.
It should be noted that further including in the embodiment of the present invention further includes life before verifying to model and scene At time series, the corresponding model saved and scene rendering sequence are obtained according to the priority of time series, then carry out phase The verification operation answered is matched with the model for guaranteeing that pretreating zone saves with scene rendering sequence with currently practical scene.
By area to be output to the checking treatment of model and scene, then to the model and scene wash with watercolours saved in pretreating zone Dye sequence is finely rendered, and the rendering speed of virtual reality scenario is greatly improved, and by checking treatment, ensure that pre- Processing scene and model are more really dissolved into actual environment, and the video for obtaining rendering is more true.
Step 105: in image output area, obtaining preview mode, obtain correspondence from area to be output according to operational order Video sequence, play video according to preview mode.
In embodiments of the present invention, image output area obtains operational order, the operation that user will carry out is understood, by its point Other two workspace is issued, realizes that operational order is shared, so that another two workspace is included to the operational order in advance Scene, model, video are pre-processed and are saved.So that image output area can quickly be obtained when executing operational order Corresponding video is got, reaction speed is substantially increased, enhances user experience.
In the second aspect of the present invention, a kind of pretreatment dynamic modeling device based on virtual reality emulation, such as Fig. 3 are provided It is shown, comprising:
Workspace creation module 201 creates area to be output according to image output area for creating image output area, according to Image output area and area to be output create pretreating zone;
In embodiments of the present invention, device builds three workspaces by creating workspace creation module 201, to each workspace Different division of labor definition is carried out, so that three workspaces is cooperated cooperation, quickly handles data, enhance user experience.Creation figure As output area, to show output video in the workspace.According to the size dynamic creation area to be output of image output area, so that Size between image output area and area to be output is obtained to match.Prejudged by various quality, according to the size of image output area and to The size of output area creates pretreating zone, further matches the size between three workspaces, so that at each workspace Model, scene and the video of reason are mutually matched, and avoid the problem that leading to distortion because workspace size mismatches.
Instruct distribution module 202, for by image output area obtain operational order, and distribute them to pretreating zone and Area to be output;
In embodiments of the present invention, instruction distribution module 202 by image output area obtain user operational order, Understand the video that will use of user, operational order be distributed to other two workspace, enable another two workspace into Row pre-processes, and generates corresponding model, scene, even video sequence, so that image output area is when responding operational order, More rapidly, convenient.
Preprocessing module 203, in pretreating zone, according to operational order obtain model attributes in pretreating zone and Scene properties obtain model actual property value and scene actual property value in real time, practical according to model actual property value and scene Attribute value uses rendering engine, in pretreating zone model and scene render, save the obtained model of rendering and scene Render sequence.
In embodiments of the present invention, preprocessing module 203 is specific as shown in Figure 4, comprising:
Module 2031 is previewed, for generating preview instruction sequence according to operational order in pretreating zone;
In embodiments of the present invention, module 2031 is previewed, is specifically used for according to operational order, for example promotes, retreat, contracting It puts, rotate, check, grab, make an inspection tour, roam, preview instruction is generated by the analysis to these instruction actions, preview instruction is Refer to next action command that client or system will use.
Model prediction module 2032, for obtaining the model that will be used in pretreating zone according to preview instruction sequence;
In embodiments of the present invention, model prediction module 2032 is obtained specifically for the priority by previewing instruction sequence The model that will be used is taken, and subsequent pretreatment operation is carried out to it.Model prediction module 2032 is also used to obtain pretreatment Each model attributes, the corresponding graphic attribute of each model, each scene properties and the corresponding material attribute of each scene in area, and with it is pre- If Database maps.
Model extraction module 2033, for obtaining preassembled various sensors in real time according to the model that will be used Collected data, and analyzing collected data, obtain model actual property value and scene actual property value, from pre- Each model attributes value in treatment region, each scene properties value, in each material attribute value, obtains practical with model each graphic attribute value Attribute value and the matched model of scene actual property value, figure, scene, material;
In embodiments of the present invention, model extraction module 2033 is specifically used for obtaining and scene and model in pretreating zone Corresponding preassembled various sensors obtain the collected data of each sensor, and by after these Data Analysis Services, look for To being corresponding to it each model attributes interface and graphic attribute and the material attribute that uses carries out attribute variable's assignment.
Sketch rendering module 2034, for according to model actual property value and the matched model of scene actual property value, Figure, scene, material, using graphics rendering engine and physics renders engine to will be used in pretreating zone model, scene It is rendered, saves the model and scene rendering sequence that rendering obtains.
In embodiments of the present invention, sketch rendering module 2034, specifically for being searched in the working range of pretreating zone All scenes that will use variation and corresponding model, by obtaining external data variable, to the mould in the scene of variation Type carries out the change of property parameters, generates new model, re-forms completely new scene, enables rendering engine and carries out sketch rendering, Rendering sequence is formed, and is saved.
Module 204 to be output, for obtaining the mould saved from pretreating zone according to operational order in area to be output Type and scene rendering sequence and corresponding model and scene, verify the model and scene that get, according to check results It is finely rendered, preservation finely renders obtained video sequence;
In embodiments of the present invention, module 204 to be output, the size specifically for obtaining image output area show ruler It is very little, according to the size dynamic creation area to be output of image output area, preview instruction sequence is formed according to operational order, according to preview Instruction sequence obtains the model that has saved and scene rendering sequence and its corresponding model and scene from pretreating zone, according to behaviour Make instruction and obtain current model and current scene, current model and current scene are obtained with from pretreating zone respectively The model and scene got are compared, and will finely be rendered according to check results, and preservation finely renders obtained video sequence Column.
It should be noted that further including time module in the embodiment of the present invention, for being verified to model and scene Before further include generating time series, the corresponding model saved and scene rendering sequence are obtained according to the priority of time series Column, then corresponding verification operation is carried out, to guarantee the model and scene rendering sequence and currently practical scene of pretreating zone preservation Matching.
In embodiments of the present invention, by area to be output to the checking treatment of model and scene, then in pretreating zone The model of preservation is finely rendered with scene rendering sequence, greatly improves the rendering speed of virtual reality scenario, and lead to Checking treatment is crossed, ensure that pretreatment scene and model are more really dissolved into actual environment, the video for obtaining rendering is more It is true.
Image output module 205 obtains preview mode in image output area, according to operational order to be output Corresponding video sequence is obtained in area, plays video according to preview mode.
In embodiments of the present invention, image output module 205 are specifically used for obtaining operational order in image output area, The operation that solution user will carry out distributes them to other two workspace, realizes that operational order is shared, for another two work Scene that area is included to the operational order in advance, model, video are pre-processed and are saved.So that image output area is being held When row operational order, it can be rapidly obtained corresponding video, substantially increase reaction speed, enhance user experience.
In still another embodiment of the process, pretreating zone is denoted as region 3, corresponding workflow is as shown in Figure 8.It will be to Output area is denoted as the 2nd region, and corresponding work flow diagram is as shown in Figure 9.Image output area schematic diagram is denoted as the 1st region, Corresponding work flow diagram is as shown in Figure 10.
In the third aspect of the present invention, an embodiment is provided to illustrate a kind of pretreatment based on virtual reality emulation Dynamic modelling method.
This project involved by the present embodiment will emulate the freeway traffic scene that a length is 5 kilometers, and scene includes Plains region, the mountain ridge, gully, main foundation facility include that highway, interchange, bridge, tunnel, service area etc. are important Target object, project assorted facility include: protective fence, Anti-collision barrel, advices plate, lamp stand, identifier marking, antiglare shield, center isolation Band, cone bucket, monitoring device, lighting apparatus, power supply unit, safety devices, landscaping specifically include that flowers and plants, green plant, trees, Flying bird, building, traffic simulation object specifically include that vehicle (dividing according to national standards), pedestrian and other objects.
Due to requiring simulated whole project to be consistent completely with actual items, all models are all made of 1:1 and build Mould, it is involved to specifically include that the illusory engine of UE4, C++, 3D MAX, AUTO CAD, unity 3D etc. using application software, but It is not limited only to use above Software for producing.
Detail: the scene integrally emulated will include traffic behavior, ambient condition as the actual traffic of outfield, wherein Traffic behavior includes unimpeded, congestion, blocking, it is desirable that and simulated vehicle will be also consistent as far as possible with the actual vehicle in outfield, Such as: the important informations such as vehicle, color, brand, license plate, lane, position, traveling where driving status specifically includes that Speed.Ambient condition specifically includes that time environmental change in 24 hour, four seasons environmental change, the variation of various weather environments, middle ring Border variation refers to that simulated object or scene can realize corresponding object in different weather, different time, Various Seasonal Manage attribute variation, such as snow road surface and trees building bleach.
System operatio checks requirement: operator can be by the first person either third person, using fixed point, rotation Turn, promote, retreating, path roams, overlooks, following etc. and checking target object and scene.
Historical Reenactment checks mode, refers to and is obtaining target object motion profile and the ring at that time at that time for being tracked emulation These data are imported into system by border variable quantity again, enable a system to reappear scene at that time.
By finding that all emulation link almost all are based on simulated target pair to the actual analysis of project above As, object, ambient enviroment variable and quickly change model appearance, physical attribute, repeat modeling etc..In order to reach requirements above System must there are enough external data interfaces to receive these object variables, will set model material, the figure built up in advance Material and matched system plugin import in system database in case when system dynamic modeling, uses.
In the embodiment of the present invention, a kind of workflow such as figure of the pretreatment dynamic modeling system based on virtual reality emulation Shown in 5.It is obtained to simulate with external environment, object, scene, the true effect for belonging to striking resemblances, external data variable It is essential for taking.Processing screening, fusion, the generation of these data are all a very the key links, then passed through The calculation process of these physical attributes can just make showing for simulated object or scene and result that will become more true It is real credible.For variable, we can be defined as internal system variable according to the fruiting characteristic that system is realized again and exterior becomes Amount.
Wherein, system variable specifically includes that internal system variable and exterior variable, internal system variable include display Variable, performance variable, characteristic variable.Further, display variable include: picture fltting speed, the first visual angle, third visual angle, Analog video camera focal length, analog video camera lay height, analog video camera direction of propulsion.Performance variable include: rotation, amplification, It reduces, mobile, its dependent variable.
Exterior variable includes environmental variance, time variable, physical attribute variable and space variable.Environmental variance packet It includes: rain, snow, mist, haze, sand and dust, wind direction, wind speed, illumination, light intensity, humidity, air pressure, coefficient of friction, integrated gas, other environment Variable.When time variable includes:, minute, second, the moon, day, year, spring, summer, autumn, winter, daytime, night, morning, noon, dusk, sunrise, day It falls and other times variable.Physical attribute variable includes: color, size, height, length, width, type, area etc..Space Variable includes but is not limited to distance, speed, direction, position, angle.
Wherein, external data variable has a various sensors for being mounted on both sides of the road mainly to obtain data acquisition and summarize Function, internal data variable are mainly that the role action obtained in operator and figure instructs to obtain.
The realization process of the pretreated dynamic modeling technology of system is explained in detail:
For overlooking and check that movement shows for scaling, wherein image output area refers to that operator can be by showing equipment The part watched in real time, and area to be output is then in next diminution action process, system will be at all data wholes Reason such as finishes at the region to be shown, and pretreating zone is then that system is obtaining various external datas and combining local data fusion warp After crossing rendering processing, the part for entering area to be output is waited.Pass through this continuous progressive processing mode, it will be able to quickly generate simultaneously Belong to the dynamic scene and model of high quality.
By finding that all emulation link almost all are based on simulated target pair to the actual analysis of project above As, object, ambient enviroment variable and quickly change model appearance, physical attribute, repeat modeling etc..In order to reach requirements above System must there are enough external data interfaces to receive these object variables, will set model material, the figure built up in advance Material and matched system plugin import in system database in case when system dynamic modeling, uses.
In the fourth aspect of the present invention, the electronics for providing a kind of pretreatment dynamic modeling based on virtual reality emulation is set It is standby, as shown in Figure 6, comprising:
Figure acquisition unit 301, the operational order issued for receiving controller adjust Posture acquisition model actual attribute Value and scene actual property value, and the model actual property value and the scene actual property value are sent to the controller 302;
Controller 302 is connect with the figure acquisition unit 301 and server 303 respectively, for creating image output Area, area to be output, pretreating zone obtain operational order by described image output area, and the operational order are distributed to institute State pretreating zone and the area to be output;
For obtaining the model attributes and scene category in pretreating zone according to the operational order in the pretreating zone Property, the collected model actual property value of the figure acquisition unit 302 and scene actual property value are obtained in real time, according to described Model actual property value and the scene actual property value obtain corresponding model and scene from server 303, carry out wash with watercolours Dye saves model and scene rendering sequence that rendering obtains;
For in the area to be output, according to the operational order from the pretreating zone, obtain the model with Scene rendering sequence and corresponding model and scene verify the model and scene that get, according to check results to institute It states model finely to render with scene rendering sequence, preservation finely renders obtained video sequence;
It is also used in described image output area, obtains preview mode, obtained from area to be output according to the operational order Corresponding video sequence is taken, plays video according to preview mode;
Server 303, for storing each model and each scene.
Fifth aspect present invention provides a kind of computer readable storage medium, the computer-readable recording medium storage There are computer executable instructions, may be implemented when the instruction is executed by processor as described above based on virtual reality emulation Pre-process dynamic modelling method.
In embodiments of the present invention, by creating image output area, area to be output, pretreating zone, image output area is obtained The operational order got and area to be output, pretreating zone are shared, so that area to be output and pretreating zone are able to carry out pre-processing, Corresponding model, scene, even video sequence are generated, so that image output area is when responding operational order, more quickly, just It is prompt.Further, the present invention by area to be output to the checking treatment of model and scene, then to having saved in pretreating zone Model is finely rendered with scene rendering sequence, greatly improves the rendering speed of virtual reality scenario, and passes through verification Processing ensure that pretreatment scene and model are more really dissolved into actual environment, and the video for obtaining rendering is more true.
Although above having used general explanation and specific embodiment, the present invention is described in detail, at this On the basis of invention, it can be made some modifications or improvements, this will be apparent to those skilled in the art.Therefore, These modifications or improvements without departing from theon the basis of the spirit of the present invention are fallen within the scope of the claimed invention.

Claims (10)

1. a kind of pretreatment dynamic modelling method based on virtual reality emulation characterized by comprising
Image output area, area to be output, pretreating zone are created, operational order is obtained by described image output area, and will be described Operational order is distributed to the pretreating zone and the area to be output;
In the pretreating zone, model attributes and scene properties in pretreating zone are obtained according to the operational order, in real time Model actual property value and scene actual property value are obtained, according to the model actual property value and the scene actual attribute Value, in the pretreating zone model and scene render, save the obtained model of rendering and scene rendering sequence;
In the area to be output, according to the operational order from the pretreating zone, the model and scene rendering are obtained Sequence and corresponding model and scene verify the model and scene that get, according to check results to the model with Scene rendering sequence finely renders, and preservation finely renders obtained video sequence;
In described image output area, preview mode is obtained, corresponding view is obtained from area to be output according to the operational order Frequency sequence plays video according to preview mode.
2. the method as described in claim 1, which is characterized in that
The creation image output area, area to be output, pretreating zone, comprising:
Creation image output area is exported according to the size dynamic creation area to be output of described image output area according to described image The size in area and the size in the area to be output create pretreating zone.
3. the method as described in claim 1, which is characterized in that it is described in the pretreating zone, according to the operational order The model attributes and scene properties in pretreating zone are obtained, obtain model actual property value and scene actual property value, packet in real time It includes:
In the pretreating zone, preview instruction sequence is generated according to the operational order;
The model that will be used in the pretreating zone is obtained according to the preview instruction sequence;
According to the model that will be used, the preassembled collected data of various sensors are obtained in real time, and to acquisition To data analyzed, obtain model actual property value and scene actual property value.
4. method as claimed in claim 3, which is characterized in that described real according to the model actual property value and the scene Border attribute value, in the pretreating zone model and scene render, save the obtained model of rendering and scene rendering sequence Column, comprising:
From model attributes value each in the pretreating zone, each graphic attribute value, each scene properties value, each material attribute value, obtain It takes and the model actual property value and the matched model of the scene actual property value, figure, scene, material;
According to the model actual property value and the matched model of the scene actual property value, figure, scene, material, adopt The model that will use in pretreating zone, scene are rendered with graphics rendering engine and physics renders engine, save rendering Obtained model and scene rendering sequence.
5. a kind of pretreatment dynamic modeling device based on virtual reality emulation characterized by comprising
Workspace creation module, for creating image output area, area to be output, pretreating zone;
Distribution module is instructed, for obtaining operational order by described image output area, and the operational order is distributed to institute State pretreating zone and the area to be output;
Preprocessing module, for obtaining the model attributes in pretreating zone according to the operational order in the pretreating zone And scene properties, model actual property value and scene actual property value are obtained in real time, according to the model actual property value and institute State scene actual property value, in the pretreating zone model and scene render, save the obtained model of rendering and field Scape renders sequence;
Module to be output is used in the area to be output, according to the operational order from the pretreating zone, described in acquisition Model and scene rendering sequence and corresponding model and scene, verify the model and scene that get, are tied according to verification Fruit finely renders the model and scene rendering sequence, and preservation finely renders obtained video sequence;
Image output module obtains preview mode in described image output area, according to the operational order to be output Corresponding video sequence is obtained in area, plays video according to preview mode.
6. device as claimed in claim 5, which is characterized in that
The workspace creation module is specifically used for creation image output area, is created according to the size of described image output area dynamic Area to be output is built, pretreating zone is created according to the size of described image output area and the size in the area to be output.
7. device as claimed in claim 5, which is characterized in that
The preprocessing module, for generating preview instruction sequence according to the operational order in the pretreating zone, according to The preview instruction sequence obtains the model that will be used in the pretreating zone, according to the model that will be used, in real time The preassembled collected data of various sensors are obtained, and collected data are analyzed, obtain the practical category of model Property value and scene actual property value.
8. device as claimed in claim 7, which is characterized in that
The preprocessing module is also used to each model attributes value, each graphic attribute value, each scene properties out of described pretreating zone In value, each material attribute value, obtain and the model actual property value and the matched model of the scene actual property value, figure Shape, scene, material, according to the model actual property value and the matched model of the scene actual property value, figure, field Scape, material, using graphics rendering engine and physics renders engine to model, the scene progress wash with watercolours that will be used in pretreating zone Dye saves model and scene rendering sequence that rendering obtains.
9. a kind of electronic equipment of the pretreatment dynamic modeling based on virtual reality emulation characterized by comprising
Figure acquisition unit, the operational order issued for receiving controller adjust Posture acquisition model actual property value and field Scape actual property value, and the model actual property value and the scene actual property value are sent to the controller;
Controller is connect with the figure acquisition unit and server respectively, for creating image output area, area to be output, pre- Treatment region obtains operational order by described image output area, and the operational order is distributed to the pretreating zone and institute State area to be output;
For obtaining model attributes and scene properties in pretreating zone according to the operational order in the pretreating zone, The collected model actual property value of the figure acquisition unit and scene actual property value are obtained in real time, it is real according to the model Border attribute value and the scene actual property value, corresponding model and scene are obtained from server, is rendered, and save rendering Obtained model and scene rendering sequence;
For according to the operational order from the pretreating zone, obtaining the model and scene in the area to be output Sequence and corresponding model and scene are rendered, the model and scene that get are verified, according to check results to the mould Type is finely rendered with scene rendering sequence, and preservation finely renders obtained video sequence;
It is also used in described image output area, obtains preview mode, obtained from area to be output according to the operational order pair The video sequence answered plays video according to preview mode;
Server, for storing each model and each scene.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer executable instructions, It is characterized in that, it is described in any item based on virtual existing that claim 1-4 as above may be implemented when the instruction is executed by processor The pretreatment dynamic modelling method emulated in fact.
CN201811647153.XA 2018-12-29 2018-12-29 Preprocessing dynamic modeling method and device based on virtual reality simulation Active CN109783914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811647153.XA CN109783914B (en) 2018-12-29 2018-12-29 Preprocessing dynamic modeling method and device based on virtual reality simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811647153.XA CN109783914B (en) 2018-12-29 2018-12-29 Preprocessing dynamic modeling method and device based on virtual reality simulation

Publications (2)

Publication Number Publication Date
CN109783914A true CN109783914A (en) 2019-05-21
CN109783914B CN109783914B (en) 2023-08-22

Family

ID=66499700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811647153.XA Active CN109783914B (en) 2018-12-29 2018-12-29 Preprocessing dynamic modeling method and device based on virtual reality simulation

Country Status (1)

Country Link
CN (1) CN109783914B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110348103A (en) * 2019-07-04 2019-10-18 北京航空航天大学 A kind of vehicle twin based on number is anti-to injure appraisal procedure
CN110442011A (en) * 2019-07-29 2019-11-12 中国计量大学 A kind of method that can continuously detect virtual reality device dynamic delay and the time-delay detection system using this method
CN110544314A (en) * 2019-09-05 2019-12-06 上海电气集团股份有限公司 Fusion method, system, medium and device of virtual reality and simulation model
CN111158480A (en) * 2019-12-27 2020-05-15 于斌 Scene model sharing method and system, augmented reality device and storage medium
CN111460660A (en) * 2020-03-31 2020-07-28 安阳师范学院 Electronic device with built-in simulated physical mechanics experimental scene and control method thereof
CN115238591A (en) * 2022-08-12 2022-10-25 杭州国辰智企科技有限公司 Dynamic parameter checking and driving CAD automatic modeling engine system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020154133A1 (en) * 2001-04-19 2002-10-24 Discreet Logic Inc. Rendering animated image data
CN107622520A (en) * 2017-09-29 2018-01-23 上海开圣影视文化传媒股份有限公司 The method for accelerating to render
CN107909638A (en) * 2017-11-15 2018-04-13 网易(杭州)网络有限公司 Rendering intent, medium, system and the electronic equipment of dummy object
CN108122155A (en) * 2017-09-30 2018-06-05 苏州美房云客软件科技股份有限公司 Storage device, processing device and scene model rendering method of virtual room selection system
CN108279768A (en) * 2017-11-16 2018-07-13 深圳市诺诺易购网络科技有限公司 A kind of generation method and system of more people's interactive three-dimensional virtual environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020154133A1 (en) * 2001-04-19 2002-10-24 Discreet Logic Inc. Rendering animated image data
CN107622520A (en) * 2017-09-29 2018-01-23 上海开圣影视文化传媒股份有限公司 The method for accelerating to render
CN108122155A (en) * 2017-09-30 2018-06-05 苏州美房云客软件科技股份有限公司 Storage device, processing device and scene model rendering method of virtual room selection system
CN107909638A (en) * 2017-11-15 2018-04-13 网易(杭州)网络有限公司 Rendering intent, medium, system and the electronic equipment of dummy object
CN108279768A (en) * 2017-11-16 2018-07-13 深圳市诺诺易购网络科技有限公司 A kind of generation method and system of more people's interactive three-dimensional virtual environment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110348103A (en) * 2019-07-04 2019-10-18 北京航空航天大学 A kind of vehicle twin based on number is anti-to injure appraisal procedure
CN110442011A (en) * 2019-07-29 2019-11-12 中国计量大学 A kind of method that can continuously detect virtual reality device dynamic delay and the time-delay detection system using this method
CN110544314A (en) * 2019-09-05 2019-12-06 上海电气集团股份有限公司 Fusion method, system, medium and device of virtual reality and simulation model
CN111158480A (en) * 2019-12-27 2020-05-15 于斌 Scene model sharing method and system, augmented reality device and storage medium
CN111460660A (en) * 2020-03-31 2020-07-28 安阳师范学院 Electronic device with built-in simulated physical mechanics experimental scene and control method thereof
CN115238591A (en) * 2022-08-12 2022-10-25 杭州国辰智企科技有限公司 Dynamic parameter checking and driving CAD automatic modeling engine system
CN115238591B (en) * 2022-08-12 2022-12-27 杭州国辰智企科技有限公司 Dynamic parameter checking and driving CAD automatic modeling engine system

Also Published As

Publication number Publication date
CN109783914B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN109783914A (en) A kind of pretreatment dynamic modelling method and device based on virtual reality emulation
CN108268128A (en) A kind of safety in production emergency preplan 3DVR virtual reality drilling systems
Kelly et al. FrankenGAN: guided detail synthesis for building mass-models using style-synchonized GANs
CN106648045A (en) Virtual reality technology-based real-time travel experience system
CN110379014A (en) Interactive road simulation method and platform based on BIM+VR technology
CN108597030A (en) Effect of shadow display methods, device and the electronic equipment of augmented reality AR
Wang Landscape design of coastal area based on virtual reality technology and intelligent algorithm
CN107154197A (en) Immersion flight simulator
Song et al. Virtual Reality (VR) technology and landscape architecture
CN110321000A (en) A kind of dummy emulation system towards intelligence system complex task
Hossain et al. CAIAS simulator: self-driving vehicle simulator for AI research
Yu et al. Intelligent visual-IoT-enabled real-time 3D visualization for autonomous crowd management
CN107844195A (en) The development approach and system of automobile virtual driving application based on Intel RealSense
Nedevschi Semantic segmentation learning for autonomous uavs using simulators and real data
KR20200016126A (en) Method for presenting motion by mapping of skeleton employing Augmented Reality
CN102800116B (en) Method for rapidly creating large-scale virtual crowd
Liu et al. Design and implementation of virtual campus roaming system based on Unity3d
Tan et al. Survey on some key technologies of virtual tourism system based on Web3D
CN103208130A (en) Large-scale group performance animation synthesis method and device
CN109389538A (en) A kind of Intelligent campus management system based on AR technology
CN111369861A (en) Virtual reality technology-based simulated fighter plane driving system and method
Zhuo et al. A novel vehicle detection framework based on parallel vision
CN110580743A (en) virtual reality film watching place building method based on artificial intelligence feedback
CN110717982A (en) VR virtual manufacturing method for real scene
Zhu et al. Application of the architectural animation virtual technology in the landscape architecture design

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
CB02 Change of applicant information

Address after: 050030 2002, block B, white commercial plaza, 105 Huaian East Road, Yuhua District, Shijiazhuang City, Hebei Province

Applicant after: HEBEI DEGUROON ELECTRONIC TECHNOLOGY Co.,Ltd.

Address before: 050030 Xinhai Tiantian Residential Building, 295 Donggang Road, Yuhua District, Shijiazhuang City, Hebei Province, 15-3-1303

Applicant before: HEBEI DEGUROON ELECTRONIC TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant