CN112001018A - Efficient virtual simulation experiment platform testing method based on cloud rendering - Google Patents

Efficient virtual simulation experiment platform testing method based on cloud rendering Download PDF

Info

Publication number
CN112001018A
CN112001018A CN202010863378.XA CN202010863378A CN112001018A CN 112001018 A CN112001018 A CN 112001018A CN 202010863378 A CN202010863378 A CN 202010863378A CN 112001018 A CN112001018 A CN 112001018A
Authority
CN
China
Prior art keywords
model
experiment platform
rendering
simulation experiment
simulation
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
CN202010863378.XA
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.)
Chengdu Weiai New Economic And Technological Research Institute Co ltd
Original Assignee
Chengdu Weiai New Economic And Technological Research Institute 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 Chengdu Weiai New Economic And Technological Research Institute Co ltd filed Critical Chengdu Weiai New Economic And Technological Research Institute Co ltd
Priority to CN202010863378.XA priority Critical patent/CN112001018A/en
Publication of CN112001018A publication Critical patent/CN112001018A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Structural Engineering (AREA)
  • Civil Engineering (AREA)
  • Architecture (AREA)
  • Software Systems (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Computer Graphics (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a high-efficiency virtual simulation experiment platform testing method based on cloud rendering. The invention comprises the following steps: acquiring a three-dimensional simulation model on a virtual simulation experiment platform according to preset model data information and modeling software; importing by a WRL file format to generate a corresponding VRML prototype; carrying out lightweight conversion on the source model file; simplifying the model by simplifying the algorithm; performing three-dimensional image rendering on the simplified model practical graphic engine; integrating each module of the image engine with a user interface through a GUI module, and operating and processing the image engine on the user interface by a user; displaying and rendering the processed three-dimensional model; the virtual simulation experiment platform utilizes the simulation DCS system to perform automatic testing, and obtains a logic function test result of the simulation DCS system; and repairing the test result according to the logic defect of the model. The invention has high interactivity and rich user experience, and simultaneously improves the intellectualization of the simulation system.

Description

Efficient virtual simulation experiment platform testing method based on cloud rendering
Technical Field
The invention belongs to the technical field of cloud rendering simulation, and particularly relates to a high-efficiency virtual simulation experiment platform testing method based on cloud rendering.
Background
With the rapid development of virtual reality technology and internet technology, the application of virtual reality technology based on network sharing in the engineering construction field is more and more extensive, wherein the development of virtual simulation resources becomes the core. With the application of the BIM building information model technology in the field of engineering construction, the organization and expression mode of the traditional engineering project information are gradually changed, in the era without BIM, the engineering project information is mostly organized in a discrete mode and is displayed to users in a two-dimensional chart mode, in the BIM-based engineering project management application, various project information is associated with a three-dimensional BIM model through unified coding, and the users are more intuitively displayed to the users through the three-dimensional BIM model.
The existing simulation platform realizes translation, scaling and rotation operations of a three-dimensional model by applying an OpenGL interface and changing a two-dimensional position of a mouse, but in engineering project management application based on BIM, a user needs to perform various complex interactive operations with the BIM model, such as model/component selection, model sectioning, marking, measuring, roaming and the like with different granularities.
Meanwhile, the existing WebGL technology realizes the display of a heterogeneous CAD model by a cross-platform Web browser, but when the three-dimensional graph rendering is carried out by adopting the method, a large amount of terminal equipment resources are consumed, the hardware resources consumed by the rendering model can be rapidly increased along with the increase of the number of the three-dimensional model, and when the volume of the model exceeds the bearing range of user terminal equipment, the phenomenon of program jamming or collapse can occur.
In summary, the conventional three-dimensional graphics rendering technology can realize the graphics display function, but is not enough to fully support the display requirement of the BIM-based engineering project management application on the three-dimensional BIM model. In order to solve the problems, the application document provides a high-efficiency virtual simulation experiment platform based on cloud rendering, and the high-efficiency virtual simulation experiment platform can be used for quickly rendering, testing and displaying a model.
Disclosure of Invention
The invention aims to provide a high-efficiency virtual simulation experiment platform testing method based on cloud rendering.
In order to solve the technical problems, the invention is realized by the following technical scheme:
the invention relates to a cloud rendering-based high-efficiency virtual simulation experiment platform test method, which comprises the following steps:
step S1: acquiring a three-dimensional simulation model on a virtual simulation experiment platform according to preset model data information and modeling software;
step S2: importing by a WRL file format to generate a corresponding VRML prototype;
step S3: carrying out lightweight conversion on the source model file;
step S4: simplifying the model by simplifying the algorithm;
step S5: performing three-dimensional image rendering on the simplified model practical graphic engine;
step S6: integrating each module of the image engine with a user interface through a GUI module, and operating and processing the image engine on the user interface by a user;
step S7: displaying and rendering the processed three-dimensional model;
step S8: the virtual simulation experiment platform utilizes the simulation DCS system to perform automatic testing, and obtains a logic function test result of the simulation DCS system;
step S9: and repairing the test result according to the logic defect of the model.
Preferably, in step S3, the step of converting the source model file by weight reduction includes:
step S31: calling an interface provided by a DGN Direct component to export the first constructed geometric information in the source model file into triangular patch data;
step S32: calling an API (application program interface) of the HOOPS Exchange component, creating a model segment, and storing the constructed geometric information into the segment;
step S33: calling an interface of the DGN direct component to read the constructed attribute data, and calling an interface of the HOOPS Exchange module to store the attribute data into the created fragment;
step S34: calling an interface provided by the DGN Direct component to transfer the geometric information of the next member in the source model file to a triangular patch and repeating the steps S32 and S33;
step S35: and grouping the fragments according to application requirements.
Preferably, in step S4, the algorithmic compact model divides the mesh data into: points on the surface are all on the boundary line and the points on the surface are not all on the boundary line, and the points on the boundary line are directly simplified; for points that are not all on the boundary line, the original grid data needs to be simplified layer by layer from left to right and from bottom to top starting from the boundary line.
Preferably, in step S6, the user operation processing flow is as follows:
step S61: the event triggered by the user is captured by the user interface and is inserted into the event queue;
step S62: the HOOPS GUI module monitors the event queue and sends the event to other modules;
step S63: the HOOPS WVO module calls the HOOPS 3dGS model to perform corresponding data processing and information interaction.
Preferably, in step S7, the graphics engine program is deployed on the server, and the rendering and the displaying of the model are completed on the server side.
Preferably, in step S8, before the simulation DCS system is tested, a certain test case needs to be entered in advance, the engineering configuration is compiled, and the compiled engineering configuration is downloaded to the simulation DCS system to provide the test case for the model to be tested.
The invention has the following beneficial effects:
1. the method comprises the steps of constructing a three-dimensional simulation model to be tested on a virtual simulation experiment platform, rendering a three-dimensional image after simplifying the three-dimensional simulation model, automatically testing through a simulation DCS (distributed control system), and repairing according to a test result; the method has high interactivity and rich user experience, and simultaneously improves the intellectualization of the simulation system.
2. The invention simplifies the original grid data layer by layer from left to right and from bottom to top by layer from the boundary line to the points on the patches after the parameterized entity model is tiled on the algorithm simplified model, meets the real-time rendering requirement of a Web streamer due to the compaction of the patches with large number, and solves the problem of non-uniform source file format of the model.
Of course, it is not necessary for any product in which the invention is practiced to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a step diagram of a testing method of an efficient virtual simulation experiment platform based on cloud rendering.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the invention relates to a cloud rendering-based high-efficiency virtual simulation experiment platform testing method, which includes the following steps:
step S1: acquiring a three-dimensional simulation model on a virtual simulation experiment platform according to preset model data information and modeling software;
step S2: importing by a WRL file format to generate a corresponding VRML prototype;
step S3: carrying out lightweight conversion on the source model file;
step S4: simplifying the model by simplifying the algorithm;
step S5: performing three-dimensional image rendering on the simplified model practical graphic engine;
step S6: integrating each module of the image engine with a user interface through a GUI module, and operating and processing the image engine on the user interface by a user;
step S7: displaying and rendering the processed three-dimensional model;
step S8: the virtual simulation experiment platform utilizes the simulation DCS system to perform automatic testing, and obtains a logic function test result of the simulation DCS system;
step S9: and repairing the test result according to the logic defect of the model.
In step S3, the step of converting the source model file into a lightweight file is as follows:
step S31: calling an interface provided by a DGN Direct component to export the first constructed geometric information in the source model file into triangular patch data;
step S32: calling an API (application program interface) of the HOOPS Exchange component, creating a model segment, and storing the constructed geometric information into the segment;
step S33: calling an interface of the DGN direct component to read the constructed attribute data, and calling an interface of the HOOPS Exchange module to store the attribute data into the created fragment;
step S34: calling an interface provided by the DGN Direct component to transfer the geometric information of the next member in the source model file to a triangular patch and repeating the steps S32 and S33;
step S35: and grouping the fragments according to application requirements.
In step S4, the algorithmic compact model patches the parameterized solid model, and divides the mesh data into: points on the surface are all on the boundary line and the points on the surface are not all on the boundary line, and the points on the boundary line are directly simplified; for points that are not all on the boundary line, the original grid data needs to be simplified layer by layer from left to right and from bottom to top starting from the boundary line.
In step S6, the user operation processing flow is as follows:
step S61: the event triggered by the user is captured by the user interface and is inserted into the event queue;
step S62: the HOOPS GUI module monitors the event queue and sends the event to other modules;
step S63: the HOOPS WVO module calls the HOOPS 3dGS model to perform corresponding data processing and information interaction.
In step S7, the graphics engine program is deployed on the server, and rendering and displaying of the model are completed on the server.
In step S8, a certain test case needs to be entered in advance before the simulation DCS system is tested, and the engineering configuration is compiled, and the compiled engineering configuration is downloaded to the simulation DCS system to provide the test case for the model to be tested.
It should be noted that, in the above system embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it is understood by those skilled in the art that all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing associated hardware, and the corresponding program may be stored in a computer-readable storage medium.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims (6)

1. A high-efficiency virtual simulation experiment platform testing method based on cloud rendering is characterized by comprising the following steps:
step S1: acquiring a three-dimensional simulation model on a virtual simulation experiment platform according to preset model data information and modeling software;
step S2: importing by a WRL file format to generate a corresponding VRML prototype;
step S3: carrying out lightweight conversion on the source model file;
step S4: simplifying the model by simplifying the algorithm;
step S5: performing three-dimensional image rendering on the simplified model practical graphic engine;
step S6: integrating each module of the image engine with a user interface through a GUI module, and operating and processing the image engine on the user interface by a user;
step S7: displaying and rendering the processed three-dimensional model;
step S8: the virtual simulation experiment platform utilizes the simulation DCS system to perform automatic testing, and obtains a logic function test result of the simulation DCS system;
step S9: and repairing the test result according to the logic defect of the model.
2. The method for testing the efficient virtual simulation experiment platform based on the cloud rendering of claim 1, wherein in the step S3, the step of converting the source model file by light weight comprises:
step S31: calling an interface provided by a DGN Direct component to export the first constructed geometric information in the source model file into triangular patch data;
step S32: calling an API (application program interface) of the HOOPS Exchange component, creating a model segment, and storing the constructed geometric information into the segment;
step S33: calling an interface of the DGN direct component to read the constructed attribute data, and calling an interface of the HOOPS Exchange module to store the attribute data into the created fragment;
step S34: calling an interface provided by the DGN Direct component to transfer the geometric information of the next member in the source model file to a triangular patch and repeating the steps S32 and S33;
step S35: and grouping the fragments according to application requirements.
3. The method according to claim 1, wherein in step S4, the algorithmic reduction model tiles the parameterized solid model and divides grid data into: points on the surface are all on the boundary line and the points on the surface are not all on the boundary line, and the points on the boundary line are directly simplified; for points that are not all on the boundary line, the original grid data needs to be simplified layer by layer from left to right and from bottom to top starting from the boundary line.
4. The method for testing the efficient virtual simulation experiment platform based on the cloud rendering of claim 1, wherein in the step S6, the user operation processing flow is as follows:
step S61: the event triggered by the user is captured by the user interface and is inserted into the event queue;
step S62: the HOOPS GUI module monitors the event queue and sends the event to other modules;
step S63: the HOOPS WVO module calls the HOOPS 3dGS model to perform corresponding data processing and information interaction.
5. The method for testing the efficient virtual simulation experiment platform based on the cloud rendering as claimed in claim 1, wherein in the step S7, the graphics engine program is deployed on the server, and the rendering and the displaying of the model are completed on the server side.
6. The method of claim 1, wherein in step S8, a certain test case needs to be entered in advance before the simulation DCS system test, and the engineering configuration is compiled and downloaded to the simulation DCS system for providing the test case to the model to be tested.
CN202010863378.XA 2020-08-25 2020-08-25 Efficient virtual simulation experiment platform testing method based on cloud rendering Pending CN112001018A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010863378.XA CN112001018A (en) 2020-08-25 2020-08-25 Efficient virtual simulation experiment platform testing method based on cloud rendering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010863378.XA CN112001018A (en) 2020-08-25 2020-08-25 Efficient virtual simulation experiment platform testing method based on cloud rendering

Publications (1)

Publication Number Publication Date
CN112001018A true CN112001018A (en) 2020-11-27

Family

ID=73471780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010863378.XA Pending CN112001018A (en) 2020-08-25 2020-08-25 Efficient virtual simulation experiment platform testing method based on cloud rendering

Country Status (1)

Country Link
CN (1) CN112001018A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485851A (en) * 2021-05-13 2021-10-08 北京创奇视界科技有限公司 Virtual reality adapter for convenient development of simulation three-dimensional engine
CN115661327A (en) * 2022-12-09 2023-01-31 北京盈建科软件股份有限公司 Distributed virtual node rendering method and device of BIM (building information modeling) platform graphic engine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427781A (en) * 2020-03-19 2020-07-17 北京广利核系统工程有限公司 Logic function testing method and platform compatible with simulation and entity

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427781A (en) * 2020-03-19 2020-07-17 北京广利核系统工程有限公司 Logic function testing method and platform compatible with simulation and entity

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘北胜: "基于云渲染的三维BIM模型可视化技术研究", 《北京交通大学学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485851A (en) * 2021-05-13 2021-10-08 北京创奇视界科技有限公司 Virtual reality adapter for convenient development of simulation three-dimensional engine
CN113485851B (en) * 2021-05-13 2024-01-26 北京创奇视界科技有限公司 Virtual reality adapter for convenient development of simulation three-dimensional engine
CN115661327A (en) * 2022-12-09 2023-01-31 北京盈建科软件股份有限公司 Distributed virtual node rendering method and device of BIM (building information modeling) platform graphic engine

Similar Documents

Publication Publication Date Title
CN107193911B (en) BIM model-based three-dimensional visualization engine and WEB application program calling method
CN110706341B (en) High-performance rendering method and device of city information model and storage medium
KR102176837B1 (en) System and method for fast rendering and editing 3d images in web browser
CN108597032B (en) Method and system for importing building information model into Unity3D for display
CN106296779A (en) A kind of threedimensional model rendering indication method and system
CN113593051B (en) Live-action visualization method, dam visualization method and computer equipment
EP3989175A1 (en) Illumination probe generation method, apparatus, storage medium, and computer device
CN111275802A (en) VRAY-based PBR material rendering method and system
WO2023231537A1 (en) Topographic image rendering method and apparatus, device, computer readable storage medium and computer program product
Lu et al. Design and implementation of virtual interactive scene based on unity 3D
CN103309943A (en) Three-dimensional geographic information platform and topographic data processing method thereof
CN105550247A (en) SVG standard customizable graphic symbol based power system graphic display method
KR20170032333A (en) Method and system for converting an existing 3d model into graphical data
CN112001018A (en) Efficient virtual simulation experiment platform testing method based on cloud rendering
Guerrero et al. 3D visualisation of underground pipelines: Best strategy for 3D scene creation
CN117390322A (en) Virtual space construction method and device, electronic equipment and nonvolatile storage medium
CN111950057A (en) Loading method and device of Building Information Model (BIM)
CN109858059B (en) Application method of virtual reality technology based on CAD (computer-aided design) super-large model in hydropower station simulation
CN111221514A (en) OsgEarth-based three-dimensional visual component implementation method and system
CN113096255A (en) WebGL-based three-dimensional view synchronous fusion non-invasive integration technical method
CN114417452B (en) Building information model processing method and related device
WO2012033715A1 (en) Methods and systems for stylized map generation
CN114913277A (en) Method, device, equipment and medium for three-dimensional interactive display of object
CN110990104B (en) Texture rendering method and device based on Unity3D
Wei Research on digital twin city platform based on unreal engine

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

Application publication date: 20201127

RJ01 Rejection of invention patent application after publication