CN112817649A - Virtual engine model loading method, electronic device and storage medium - Google Patents

Virtual engine model loading method, electronic device and storage medium Download PDF

Info

Publication number
CN112817649A
CN112817649A CN202011112504.4A CN202011112504A CN112817649A CN 112817649 A CN112817649 A CN 112817649A CN 202011112504 A CN202011112504 A CN 202011112504A CN 112817649 A CN112817649 A CN 112817649A
Authority
CN
China
Prior art keywords
data
virtual engine
model
converting
loading method
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
CN202011112504.4A
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.)
Foshan Oushennuo Yunshang Technology Co ltd
Original Assignee
Foshan Oushennuo Yunshang 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 Foshan Oushennuo Yunshang Technology Co ltd filed Critical Foshan Oushennuo Yunshang Technology Co ltd
Priority to CN202011112504.4A priority Critical patent/CN112817649A/en
Publication of CN112817649A publication Critical patent/CN112817649A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a virtual engine model loading method, which comprises the following steps: downloading a data model and downloading an original data model; converting the data model, analyzing the original data model, and integrating standard data required by corresponding software through data conversion; and converting the standard data into an object of the virtual engine and corresponding material data. The invention relates to an electronic device and a storage medium for executing a virtual engine model loading method. The invention provides a technical realization method for converting a file into a software displayed object developed by a virtual engine by dynamically loading VRay data, which has simple process, shortens the loading and presenting period from the whole model to design software, does not need to process data again aiming at the upgrade of client software, improves the data processing efficiency when a user uses the DIY indoor hard-mounting effect of the design software, can be compatible with the versions of different virtual engines, and saves a large amount of time and development cost for software development.

Description

Virtual engine model loading method, electronic device and storage medium
Technical Field
The invention relates to the technical field of computer information processing, in particular to a virtual engine model loading method, electronic equipment and a storage medium.
Background
In the existing 3D design software developed by using UE4(Unreal Engine 4, illusion 4 Engine) illusion Engine open source in the same industry, the mode of loading the model into the scene is to pack the model into Pak package format for storage in advance by leading data, and then call the Pak package format at the client side for making furniture DIY design, wherein the Pak package is a compressed file format containing the model and material with corresponding dependency relationship. The method has the problems that the process is complicated, the original model and the material data need to be processed firstly and then baked, packed and uploaded, and the memory for data storage is increased. Meanwhile, when the client software is upgraded, such as upgrading the UE4(4.21) to 4.22, the Pak package cannot be recycled, and needs to be packaged into a Pak package in a corresponding version format again.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a virtual engine model loading method, which solves the problems that the existing method for loading a model into a scene has a complicated process, the original model and material data need to be processed first and then baked, packaged and uploaded, the memory for data storage is increased, and when client software is upgraded, the original model and the material data need to be packaged into a Pak package in a corresponding version format again.
The invention provides a virtual engine model loading method, which comprises the following steps:
downloading a data model and downloading an original data model;
converting a data model, analyzing the original data model, and integrating standard data required by corresponding software through data conversion;
and converting standard data, namely converting the standard data into an object of the virtual engine and corresponding material data.
Further, the raw model data includes a renderer file.
Further, the renderer file is a VRay renderer text format file.
Further, in the step of converting the data model, the parsing and data conversion of the text format file of the VRay renderer are integrated into standard data required by corresponding software.
Further, in the step of converting the data model, the standard data is a geometry geometric object of WebGL.
Further, in the step of converting the standard data, the geometry object is converted into a ProceduralMesh object of the virtual engine and corresponding material data.
And further, storing data, and storing the converted object of the virtual engine and the corresponding material data into a file format of the virtual engine.
Further, the file format of the virtual engine is a.sav binary file format.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for performing a virtual engine model loading method.
A computer-readable storage medium having stored thereon a computer program for executing a virtual engine model loading method by a processor.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a virtual engine model loading method, which comprises the following steps: downloading a data model and downloading an original data model; converting the data model, analyzing the original data model, and integrating standard data required by corresponding software through data conversion; and converting the standard data into an object of the virtual engine and corresponding material data. The invention relates to an electronic device and a storage medium for executing a virtual engine model loading method. The invention provides a technical realization method for converting a file into a software displayed object developed by a virtual engine by dynamically loading VRay data, which has simple process, shortens the loading and presenting period from the whole model to design software, does not need to process data again aiming at the upgrade of client software, improves the data processing efficiency when a user uses the DIY indoor hard-mounting effect of the design software, can be compatible with the versions of different virtual engines, and saves a large amount of time and development cost for software development.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings. The detailed description of the present invention is given in detail by the following examples and the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flowchart of a virtual engine model loading method according to the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
A virtual engine model loading method, as shown in fig. 1, includes the following steps:
downloading a data model, downloading an original data model, the original model data comprising a renderer file. In this embodiment, the renderer file is a VRay renderer text format file.
And converting the data model, and analyzing the text format file of the VRay renderer through a JavaScript programming language and integrating standard data required by corresponding software through data conversion. In this embodiment, the standard data is a geometry object of WebGL.
And converting standard data, and converting the geometry structure object into a ProcedurlMesh object of the virtual engine and corresponding material data. In this embodiment, the virtual engine is UE 4. And then the presentation of the whole original data model to the software client is completed, thereby avoiding the intermediate transition process that data is converted into Pak packets by other software or plug-ins and then loaded in the prior art.
And storing the converted object of the virtual engine and corresponding material data into a file format of the virtual engine after initial downloading. In this embodiment, the file format of the virtual engine is the.sav binary file format of the UE 4. The original data can be well encapsulated and protected. And the local sav file is directly loaded in the next loading, so that the speed of loading the model is improved. At the same time, the sav format file is also suitable for various versions of software, thereby avoiding repeated data processing process due to software upgrading.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for performing a virtual engine model loading method.
A computer-readable storage medium having stored thereon a computer program for execution by a processor of a virtual engine model loading method.
The invention provides a virtual engine model loading method, which comprises the following steps: downloading a data model and downloading an original data model; converting the data model, analyzing the original data model, and integrating standard data required by corresponding software through data conversion; and converting the standard data into an object of the virtual engine and corresponding material data. The invention relates to an electronic device and a storage medium for executing a virtual engine model loading method. The invention provides a technical realization method for converting a file into a software displayed object developed by a virtual engine by dynamically loading VRay data, which has simple process, shortens the loading and presenting period from the whole model to design software, does not need to process data again aiming at the upgrade of client software, improves the data processing efficiency when a user uses the DIY indoor hard-mounting effect of the design software, can be compatible with the versions of different virtual engines, and saves a large amount of time and development cost for software development.
The foregoing is merely a preferred embodiment of the invention and is not intended to limit the invention in any manner; those skilled in the art can readily practice the invention as shown and described in the drawings and detailed description herein; however, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the scope of the invention as defined by the appended claims; meanwhile, any changes, modifications, and evolutions of the equivalent changes of the above embodiments according to the actual techniques of the present invention are still within the protection scope of the technical solution of the present invention.

Claims (10)

1. A virtual engine model loading method is characterized by comprising the following steps:
downloading a data model and downloading an original data model;
converting a data model, analyzing the original data model, and integrating standard data required by corresponding software through data conversion;
and converting standard data, namely converting the standard data into an object of the virtual engine and corresponding material data.
2. The virtual engine model loading method of claim 1, wherein: the raw model data includes a renderer file.
3. The virtual engine model loading method of claim 2, wherein: the renderer file is a VRay renderer text format file.
4. The virtual engine model loading method of claim 2, wherein: in the step of converting the data model, the text format file of the VRay renderer is analyzed and data conversion is carried out to integrate corresponding standard data required by software.
5. The virtual engine model loading method of claim 4, wherein: in the step of converting the data model, the standard data is a geometry geometric structure object of WebGL.
6. The virtual engine model loading method of claim 5, wherein: in the step of converting the standard data, the geometry object is converted into a ProcedurRalMesh object of a virtual engine and corresponding material data.
7. The virtual engine model loading method of claim 1, wherein: the method also comprises the step of storing data, wherein the converted object of the virtual engine and the corresponding material data are stored into a file format of the virtual engine.
8. The virtual engine model loading method of claim 7, wherein: the file format of the virtual engine is a sav binary file format.
9. An electronic device, characterized by comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for carrying out the method of any one of claims 1-8.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program is executed by a processor for performing the method according to any of claims 1-8.
CN202011112504.4A 2020-10-16 2020-10-16 Virtual engine model loading method, electronic device and storage medium Pending CN112817649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011112504.4A CN112817649A (en) 2020-10-16 2020-10-16 Virtual engine model loading method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011112504.4A CN112817649A (en) 2020-10-16 2020-10-16 Virtual engine model loading method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN112817649A true CN112817649A (en) 2021-05-18

Family

ID=75853093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011112504.4A Pending CN112817649A (en) 2020-10-16 2020-10-16 Virtual engine model loading method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112817649A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104851128A (en) * 2015-05-19 2015-08-19 北京控制工程研究所 Format conversion method for 3DS model file loading through OSG three-dimensional engine
CN105701104A (en) * 2014-11-28 2016-06-22 星际空间(天津)科技发展有限公司 Three-dimensional data engine system based on geographic information
CN106485780A (en) * 2016-09-23 2017-03-08 青海中水数易信息科技有限责任公司 The method that BIM experience is realized based on virtual reality technology
CN107393013A (en) * 2017-06-30 2017-11-24 网易(杭州)网络有限公司 Virtual roaming file generated, display methods, device, medium, equipment and system
CN108553900A (en) * 2018-03-28 2018-09-21 厦门龙视科技有限公司 A method of the stackable storage Reusability based on UE engines
CN110414148A (en) * 2019-07-30 2019-11-05 中北大学 The cross-platform online method for visualizing of open BIM based on WebGL
CN111563955A (en) * 2020-04-22 2020-08-21 深圳震有科技股份有限公司 Building model monomer visualization method, terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701104A (en) * 2014-11-28 2016-06-22 星际空间(天津)科技发展有限公司 Three-dimensional data engine system based on geographic information
CN104851128A (en) * 2015-05-19 2015-08-19 北京控制工程研究所 Format conversion method for 3DS model file loading through OSG three-dimensional engine
CN106485780A (en) * 2016-09-23 2017-03-08 青海中水数易信息科技有限责任公司 The method that BIM experience is realized based on virtual reality technology
CN107393013A (en) * 2017-06-30 2017-11-24 网易(杭州)网络有限公司 Virtual roaming file generated, display methods, device, medium, equipment and system
CN108553900A (en) * 2018-03-28 2018-09-21 厦门龙视科技有限公司 A method of the stackable storage Reusability based on UE engines
CN110414148A (en) * 2019-07-30 2019-11-05 中北大学 The cross-platform online method for visualizing of open BIM based on WebGL
CN111563955A (en) * 2020-04-22 2020-08-21 深圳震有科技股份有限公司 Building model monomer visualization method, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN108984174B (en) Cross-platform application creation method, device, server and storage medium
US9038032B2 (en) Symbolic execution and automatic test case generation for JavaScript programs
US9778942B2 (en) Generating a replacement binary for emulation of an application
CN107450897B (en) Cross-platform migration method and device for graphic engine
CN105094786A (en) Method and system for customizing page based on JavaScript
CN111240684B (en) Cutting method and device of JS codes, medium and electronic equipment
CN110580174B (en) Application component generation method, server and terminal
CN110908707B (en) Resource packaging method, device, server and storage medium
CN108153533B (en) Method and device for making installation program, and method and device for installing program
CN107797805B (en) Code packaging method and device and computer readable storage medium
CN113885935A (en) Resource packaging method and device, electronic equipment and computer readable storage medium
CN112559026A (en) API interface-based native capability expansion method, device and storage medium
CN109298852B (en) Method for simplifying virtual reality application program development and readable storage medium
CN110020370B (en) Method and device for realizing animation in client application and framework of animation script
CN111610966A (en) Program running method and device and computing equipment
KR102141749B1 (en) APP program execution method and device
CN112817649A (en) Virtual engine model loading method, electronic device and storage medium
CN110825373B (en) Mobile terminal dynamic method and device
CN117519877A (en) Rendering method and device of quick application card, storage medium and electronic equipment
CN109002292B (en) Method and system for realizing pop-up frame based on webpage pop-up layer
CN104503776A (en) Method for rapidly packaging android application on APP development platform
WO2023143020A1 (en) Generation method and apparatus for real-time operating system, use method and apparatus for real-time operating system, electronic device, and medium
CN116243923A (en) Applet processing method and device and electronic equipment
CN113050921A (en) Webpage conversion method, device, storage medium and computer equipment
CN115328526A (en) Dependency package updating method, device, equipment and storage medium

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