A kind of construction method of the chemical engineering experiment equipment based on VR operation
Technical field
The present invention relates to a kind of construction methods of chemical engineering experiment equipment based on VR operation.
Background technique
Virtual reality, referred to as VR are to be drawn up a three-dimensional Virtual Space using computer mould, provide packet for user
It includes the sensory experiences such as vision, tactile, the sense of hearing and carries out realistic simulation, while things can be observed quickly, without restriction.
For user when carrying out shift position, complex calculation will be unfolded in computer in time, accurately by the video in the virtual three-dimensional world
It is transferred to user, to generate feeling in person when participating in the cintest.It is a kind of assisted by computer technology and the high skill generated
The simulation system of art.The development of virtual reality technology can generally be divided into four developing periods.Formula is virtually existing before 1963
The budding period of real technology development, 1963 to the 1972 shape dynamics that will have sound during the decade just wrap in simulation process
Contain virtual reality thought.1973 to 1989, the concept and theory of the period virtual reality started to generate.Nineteen ninety is extremely
Modern virtual reality technology obtains continuous development and perfection and is applied in practice.Google has issued Google for the first time within 2012
Virtual reality technology, head-mounted display, augmented reality are presented in the visual field of general public by Glass, this is to original figure
As display equipment is completely overturned.2013, head-mounted display obtained extensive concern, subsequent numerous companies, the world
It is added in the competition of virtual implementing helmet.VR technology has wide in fields such as medicine, amusement, education, aerospaces
Application prospect.The VR first year was become by industry in 2016, the scarcity of content is the current pain spot of the sector, i.e., all thinks that VR can change generation
Boundary, but do not know how VR changes the world, therefore the developer of content is also that a hundred flowers blossom, every profession and trade respectively has exploration,
In especially with show business be exploitation hot spot.But " immerse sense " of VR for education, can fundamentally change traditional " old
The teaching pattern of education of school, student ", it is considered to be very likely generate subversive field.
At present there has been no based on large-scale analysis and test device involved by chemical, Material Field, building based on
The apparatus operation method of VR.
Summary of the invention
The present invention provides a kind of construction method of chemical engineering experiment equipment based on VR operation, can effectively solve the above problems.
The present invention provides a kind of construction method of chemical engineering experiment equipment based on VR operation, comprising the following steps:
(1) create threedimensional model: according to the design drawing of the chemical engineering experiment equipment in threedimensional model Software for producing into
Row threedimensional model makes or is directly scanned generation threedimensional model to equipment using three-dimensional scanner, then according to describedization
Corresponding site of the materials and color of each component of work experimental facilities in the threedimensional model is arranged corresponding true material and is formed
Threedimensional model file;
(2) it constructs virtual reality scenario: the threedimensional model file is put into real-time rendering engine, while being added corresponding
Three dimensional environmental model and relevant material and facility model, and in the three dimensional environmental model be added virtual reality sight
Examine component;
(3) it realizes the virtual reality operation of chemical engineering experiment equipment: being to set according to the working principle of the chemical engineering experiment equipment
Switch, movable device, display panel and control assembly in standby model add corresponding control program, can with
The handle or motion capture operating interactive at family.
As further improved, described be directly scanned to equipment using three-dimensional scanner generates threedimensional model
Step includes: to be scanned by each surface of the three-dimensional laser scanner to the chemical engineering experiment equipment, obtains each surface
Three dimensional point cloud;And processing is carried out to generate the threedimensional model to the three dimensional point cloud.
As further improved, the materials and color according to each component of chemical engineering experiment equipment are in the three-dimensional
The step of corresponding true material of corresponding site setting in model forms threedimensional model file include: by optical camera according to
The three dimensional point cloud takes pictures respectively to each surface of the chemical engineering experiment equipment, obtains different optical photographs;
The optical photograph is synthesized respectively, so that the coordinate points of corresponding point cloud data have range information and color letter simultaneously
Breath.
As further improved, the materials and color according to each component of chemical engineering experiment equipment are in the three-dimensional
The step of corresponding true material of corresponding site setting in model forms threedimensional model file includes: according to the chemical engineering experiment
The working principle of equipment splits the component of the threedimensional model, then described according to each component of chemical engineering experiment equipment
The corresponding true material of corresponding site setting in the threedimensional model of practical materials and color form threedimensional model file.
As further improved, the chemical engineering experiment equipment is large-scale material analysis test equipment.
As further improved, the material analysis test equipment includes thermogravimetric analyzer, Electronic Speculum, spectrometer, chromatography
Instrument, X-ray diffractometer and x-ray photoelectron spectroscopy.
As further improved, the relevant material and facility model includes using needed for the chemical engineering experiment equipment
Material and corollary equipment.
As further improved, the three dimensional environmental model includes laboratory three dimensional environmental model and classroom three-dimensional ring
Border model.
As further improved, in step (2), the building of the three dimensional environmental model the following steps are included:
Environment is shot on the spot: to environment carries out integrated planning on the spot locating for the chemical engineering experiment equipment, records photographing point,
And tripod, pan and tilt head, digital single-lens reflex camera are set up in shooting point, then parameter is set carry out 360 ° of picture chain acquisitions;
The adjustment and splicing of photo: it handles with Photoshop cubic panorama photo is generated, including removal
Tripod, people or instrument shadow in panorama sketch, and correct take pictures it is improper cause splicing distortion, things deformation;And
The picture of splicing is generated as the three dimensional environmental model.
It is wrapped as the step of further improved, the parameter of the setting digital single-lens reflex camera carries out 360 ° of picture chain acquisitions
It includes:
Manual M is set by digital single-lens reflex camera, adjusts digital single-lens reflex camera phase according to the light conditions in each laboratory
The exposure and focal length of machine;
Digital single-lens reflex camera is rotated to horizontal direction, every rotation 60 degree of shootings, one photo, after level shooting 6;With
And
Camera is rotated by 90 ° to one laboratory ceiling of shooting upward.
The construction method of the chemical engineering experiment equipment based on VR operation provided by the invention, has the advantage that
1, this construction method can carry out the building of virtual reality to common chemical engineering experiment equipment, and be based on the above method
The constructed VR program of chemical engineering experiment equipment, operator take the HTC VIVE helmet, and adept handle can carry out phase to equipment
It closes and operates, the scene of scene and engineering equipment is almost the same, it may be convenient to for the operation to chemical engineering experiment equipment
Program is imparted knowledge to students, and operator is made quickly to grasp the operation sequence of chemical engineering experiment equipment.
2, the features such as this construction method also has method simple, is easy to commercial applications.
Detailed description of the invention
Fig. 1 is the process flow of the construction method of the chemical engineering experiment equipment provided in an embodiment of the present invention based on VR operation
Figure.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
State that the specific embodiments are only for explaining the present invention, rather than limitation of the invention.It also should be noted that for the ease of
It describes, only the parts related to the present invention are shown rather than entire infrastructure in attached drawing.
Fig. 1 is please referred to, the embodiment of the present invention provides a kind of construction method of chemical engineering experiment equipment based on VR operation, including
Following steps:
(1) create threedimensional model: according to the design drawing of the chemical engineering experiment equipment in threedimensional model Software for producing into
Row threedimensional model makes or is directly scanned generation threedimensional model to equipment using three-dimensional scanner, then according to describedization
Corresponding site of the materials and color of each component of work experimental facilities in the threedimensional model is arranged corresponding true material and is formed
Threedimensional model file;
(2) it constructs virtual reality scenario: the threedimensional model file is put into real-time rendering engine, while being added corresponding
Three dimensional environmental model and relevant material and facility model, and in the three dimensional environmental model be added virtual reality sight
Examine component;
(3) it realizes the virtual reality operation of chemical engineering experiment equipment: being to set according to the working principle of the chemical engineering experiment equipment
Switch, movable device, display panel and control assembly in standby model add corresponding control program, can with
The handle or motion capture operating interactive at family.
It is described that life directly is scanned to equipment using three-dimensional scanner in step (1) as further improved
It include: to be scanned by each surface of the three-dimensional laser scanner to the chemical engineering experiment equipment at the step of threedimensional model,
Obtain the three dimensional point cloud on each surface;And processing is carried out to the three dimensional point cloud to generate the three-dimensional mould
Type.The corresponding site setting pair according to the materials and color of each component of chemical engineering experiment equipment in the threedimensional model
The step of true material formation threedimensional model file answered includes: according to the three dimensional point cloud by optical camera to described
Each surface of chemical engineering experiment equipment is taken pictures respectively, obtains different optical photographs;The optical photograph is carried out respectively
Synthesis, so that the coordinate points of corresponding point cloud data have range information and color information simultaneously.
It in the present embodiment, is scanned, is obtained by each surface of the three-dimensional laser scanner to the thermogravimetric analyzer
The three dimensional point cloud on each surface;And the three dimensional point cloud is carried out handling to generate the threedimensional model, into
One step, it is clapped respectively by optical camera according to each surface of the three dimensional point cloud to the thermogravimetric analyzer
According to obtaining different optical photographs;The optical photograph is synthesized respectively, so that the coordinate points of corresponding point cloud data are same
When have range information and color information.
It is appreciated that the available more true three-dimensional mould of cooperation for passing through three-dimensional laser scanner and optical camera
Type.
It, can be with when the design drawing according to the thermogravimetric analyzer makes threedimensional model in threedimensional model Software for producing
The component of the threedimensional model is split according to the working principle of the chemical engineering experiment equipment, it is then described according to chemical industry reality
The corresponding true material of corresponding site setting of the practical materials and color of each component of equipment in the threedimensional model is tested to be formed
Threedimensional model file.
The chemical engineering experiment equipment can be to commonly use large-scale material analysis test equipment, for example, thermogravimetric analyzer, electricity
Mirror, spectrometer, chromatograph, X-ray diffractometer and x-ray photoelectron spectroscopy etc..
In step (2), the relevant material and facility model includes using material needed for the chemical engineering experiment equipment
Material and corollary equipment.For example, the relevant material and facility model includes sample to be analysed in thermogravimetric analyzer, and
Assay balance, sample holding vessel, the device for taking sample etc. for weighing the sample to be analysed.The three-dimensional environment mould
Type includes laboratory three dimensional environmental model and classroom three dimensional environmental model.
As further improved, in step (2), the building of the three dimensional environmental model the following steps are included:
Environment is shot on the spot: to environment carries out integrated planning on the spot locating for the chemical engineering experiment equipment, records photographing point,
And tripod, pan and tilt head, digital single-lens reflex camera are set up in shooting point, then parameter is set carry out 360 ° of picture chain acquisitions;
The adjustment and splicing of photo: it handles with Photoshop cubic panorama photo is generated, including removal
Tripod, people or instrument shadow in panorama sketch, and correct take pictures it is improper cause splicing distortion, things deformation;And
The picture of splicing is generated as the three dimensional environmental model.
It is wrapped as the step of further improved, the parameter of the setting digital single-lens reflex camera carries out 360 ° of picture chain acquisitions
It includes:
Manual M is set by digital single-lens reflex camera, adjusts digital single-lens reflex camera phase according to the light conditions in each laboratory
The exposure and focal length of machine;
Digital single-lens reflex camera is rotated to horizontal direction, every rotation 60 degree of shootings, one photo, after level shooting 6;With
And
Camera is rotated by 90 ° to one laboratory ceiling of shooting upward.
It is appreciated that, approach more more true to nature than virtual environmental model by the three dimensional environmental model that outdoor scene sampling is made into
Real effect can allow operator on the spot in person.
Based on the above method, the VR program of the chemical engineering experiment equipment of building.Operator takes the HTC VIVE helmet, adept
Handle can carry out relevant operation into room to equipment, and the scene of scene and engineering equipment is almost the same.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.