CN113888726A - 3D space model parameter correction editor based on webGL frame - Google Patents

3D space model parameter correction editor based on webGL frame Download PDF

Info

Publication number
CN113888726A
CN113888726A CN202010630046.7A CN202010630046A CN113888726A CN 113888726 A CN113888726 A CN 113888726A CN 202010630046 A CN202010630046 A CN 202010630046A CN 113888726 A CN113888726 A CN 113888726A
Authority
CN
China
Prior art keywords
model
attribute
module
attributes
modified
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
CN202010630046.7A
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.)
Shandong Chinasoft Goldencis Software Co ltd
Original Assignee
Shandong Chinasoft Goldencis Software 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 Shandong Chinasoft Goldencis Software Co ltd filed Critical Shandong Chinasoft Goldencis Software Co ltd
Priority to CN202010630046.7A priority Critical patent/CN113888726A/en
Publication of CN113888726A publication Critical patent/CN113888726A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • 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)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Architecture (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a 3D space model parameter correction editor based on a webGL frame, which comprises a model attribute reading module, a model attribute correction module and a model attribute correction module, wherein the model attribute reading module is used for reading all attributes of a model to be corrected and simultaneously reading position attributes of all models; the cache model attribute module is used for caching all the read attributes of the model to be modified; the attribute backup module is used for backing up all the attributes of the read model to be modified; the attribute modification module is used for displaying the attribute arrangement of the module to be modified in the attribute modification window and changing any attribute value; the space coordinate verification module is used for verifying whether the space coordinate of the model to be modified is intersected with the space coordinates of other models or not, and if so, user prompt information is given; and the parameter value exporting module is used for exporting the parameter values of the model attributes modified by the user into a file of a specified type of model or a specific data structure for storage. The invention can directly carry out attribute parameter correction on the spatial model attribute in the browser, and is convenient and quick.

Description

3D space model parameter correction editor based on webGL frame
Technical Field
The invention relates to a 3D space model parameter correction editor based on a webGL frame, and belongs to the technical field of 3D space model parameter editing.
Background
With the development of the internet front-end technology, the 3D machine room visualization platform gradually enters the visual field of people, and through dynamic simulation and establishment of a simulated real environment, participants can perform intuitive interaction, optimization and visual management on a virtual machine room or a park.
The 3D machine room is built by first creating a plurality of models such as a cabinet, network equipment, an air conditioner, a camera and the like through client software such as a Blender, then building the machine room through a browser, introducing the plurality of models into the machine room in sequence and carrying out layout, adjusting attributes such as space coordinates, rotation coordinates, scaling coordinates and the like, when the browser is used for building the machine room and introducing a certain model, except dragging to change coordinates, other attributes are modified continuously by modifying parameter values in codes to modify relevant attributes of the model so as to achieve an expected display effect, when a certain model is greatly modified, a new model is introduced or the parameter values are continuously modified, such as modifying the color of a wall body, the texture of a sofa and the like, the model is required to be re-created by client software such as the Blender and then re-introduced into the model, or the attribute value corresponding to the model is found in the codes to modify the attribute values so as to achieve the purpose of modification, time and labor are wasted, and the working efficiency is seriously influenced.
Disclosure of Invention
The invention is provided for solving the problems in the prior art, the technical proposal is as follows,
A3D space model parameter correction editor based on a webGL frame comprises
The model attribute reading module is used for reading all attributes of the model to be modified and simultaneously reading the position attributes of all the models;
the cache model attribute module is used for caching all the read attributes of the model to be modified;
the attribute backup module is used for backing up all the attributes of the read model to be modified;
the attribute modification module is used for displaying the attribute arrangement of the module to be modified in the attribute modification window and changing any attribute value;
the space coordinate verification module is used for verifying whether the space coordinate of the model to be modified is intersected with the space coordinates of other models or not, and if so, user prompt information is given;
and the parameter value exporting module is used for exporting the parameter values of the model attributes modified by the user into a file of a specified type of model or a specific data structure for storage.
Preferably, changing any attribute value in the attribute modification module can be continuously changed by providing a slider.
Preferably, in the attribute modification module, the display effect of the model in the browser is synchronously changed while any attribute value is changed.
Preferably, when the attribute modification module loads the attribute modification window of the model attribute to be modified, the attribute modification module requests a calling interface of the selectable attribute at the same time so as to allow a user to perform pull-down selection, wherein the selectable attribute comprises attributes of texture, color, icon and picture of a map.
Preferably, the parameter correction editor further comprises a synchronous storage interface module, which is used to directly store the parameter values of the modified model attributes to the server, and can restore the original values through the attributes backed up by the attribute backup module.
Preferably, the specific process of editing the module to be modified by the parameter trimming editor is as follows:
the method comprises the following steps: selecting a model of which the attribute is to be modified;
step two: reading all attributes of the model through a model attribute reading module, performing cache processing through a cache model attribute module, performing backup through an attribute backup module, and simultaneously reading position attributes of other models for a space coordinate verification module to perform space position verification;
step three: loading an attribute modification window through an attribute modification module, displaying all read attribute arrangements in the attribute modification window, and synchronously changing the display effect of the model in the browser while changing the attribute values by continuously changing any attribute values through providing a slider; when the attribute modification window is loaded, a calling interface of the selectable attribute is requested at the same time, so that a user can perform pull-down selection;
step four: when the spatial coordinate attribute of the model is modified, the spatial coordinate verification module works simultaneously to calculate whether the model is intersected with the spatial coordinates of other models, and if the model is intersected with the spatial coordinates of other models, user prompt information is given;
step five: if the parameter trimming editor is configured with a synchronous storage interface module, the modified parameter values of the model attributes can be directly stored in a server, and the original values can be restored through the attributes backed up by the attribute backup module; if the synchronous storage interface module is not configured, exporting the parameter values of the model attributes modified by the user into a file of a specified type of model or a specific data structure for storage for later use.
According to the method, the parameters of the space model are corrected without the help of a modeling tool of a client, the attributes of the space model can be directly corrected in a browser, the display effect of the model after the parameters are corrected can be visually observed, the method is convenient and fast, and the working efficiency is improved.
Drawings
FIG. 1 is a block diagram of a 3D spatial model parameter modification editor based on a webGL frame according to the present invention.
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.
Abbreviations and Key term definitions
Machine room: telecommunications, internet, mobile, two-wire, power, and government or business, etc., where servers are stored to provide IT services to users and employees.
3D computer lab visual platform: the 3D machine room visual management platform adopts a three-dimensional simulation technology and uses an visualized virtual scene to realize remote centralized monitoring management on the machine room, the machine room environment and the internal equipment; the data information of the equipment is truly reflected, the data such as the alarm information, the performance and configuration information, the full life cycle information and the like of the equipment are dynamically presented in real time, the maintenance management mode of manual passive guarding is changed into the centralized control management mode of a computer, and the holographic visual view of the data center is provided.
A Blender: the open-source multi-platform lightweight universal three-dimensional animation software enables players who like 3D drawing to use the Blender to make favorite 3D models.
Caching: the Cache is a buffer area (also called Cache) for data exchange, when data is to be read by a certain hardware, the required data is firstly searched from the Cache, if the required data is found, the data is directly executed, and if the required data is not found, the data is searched from a memory. Since caches run much faster than memory, the role of caches is to help the hardware run faster.
As shown in FIG. 1, a 3D space model parameter modification editor based on a webGL framework comprises
The model attribute reading module is used for reading all attributes of the model to be modified and simultaneously reading the position attributes of all the models;
the cache model attribute module is used for caching all the read attributes of the model to be modified;
the attribute backup module is used for backing up all the attributes of the read model to be modified;
the attribute modification module is used for displaying the attribute arrangement of the module to be modified in the attribute modification window, continuously changing any attribute value by providing a slider, and synchronously changing the display effect of the model in the browser while changing any attribute value; when an attribute modification window of the model attribute to be modified is loaded, a calling interface of the selectable attribute is requested at the same time for a user to perform pull-down selection, wherein the selectable attribute comprises attributes of texture, color, icon and picture of a map;
the space coordinate verification module is used for verifying whether the space coordinate of the model to be modified is intersected with the space coordinates of other models or not, and if so, user prompt information is given;
and the parameter value exporting module is used for exporting the parameter values of the model attributes modified by the user into a file of a specified type of model or a specific data structure for storage.
Further, the parameter correction editor also comprises a synchronous storage interface module which is used for directly storing the parameter values of the modified model attributes to the server and restoring the original values through the attributes backed up by the attribute backup module.
The specific process of editing the module to be modified by the parameter trimming editor is as follows:
the method comprises the following steps: selecting a model of which the attribute is to be modified;
step two: reading all attributes of the model through a model attribute reading module, performing cache processing through a cache model attribute module, and performing backup through an attribute backup module, wherein the backup is to restore an initial value, and simultaneously reading position attributes of other models of a machine room for a space coordinate verification module to perform space position verification;
step three: loading an attribute modification window through an attribute modification module, displaying all read attribute arrangements in the attribute modification window, and synchronously changing the display effect of the model in the browser while changing the attribute values by continuously changing any attribute values through providing a slider; when the attribute modification window is loaded, a calling interface of selectable attributes is requested at the same time for a user to perform pull-down selection, wherein the selectable attributes comprise texture, color, icons and chartlet picture attributes;
step four: when the spatial coordinate attribute of the model is modified, the spatial coordinate verification module works simultaneously to calculate whether the model is intersected with the spatial coordinates of other models, and if the model is intersected with the spatial coordinates of other models, user prompt information is given;
step five: if the parameter trimming editor is configured with a synchronous storage interface module, the modified parameter values of the model attributes can be directly stored in a server, and the original values can be restored through the attributes backed up by the attribute backup module; if the synchronous storage interface module is not configured, exporting the parameter values of the model attributes modified by the user into a file of a specified type of model or a specific data structure for storage for later use.
If a certain user room becomes a glass curtain wall, the 3D room is required to show the same effect. The developer in charge of modification is unfamiliar with the specific code position and has no trouble, and the required modification can be completed by utilizing the editor to configure the synchronous storage interface module, selecting the wall body and directly modifying the transparency attribute of the wall body.
The method and the system can enable the browser end to realize the usability experience close to that of a client modeling tool, can realize the correction of the space model parameters without the help of the client modeling tool, and are convenient and quick.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that various changes in the embodiments and/or modifications of the invention can be made, and equivalents and modifications of some features of the invention can be made without departing from the spirit and scope of the invention.

Claims (6)

1. A3D space model parameter correction editor based on a webGL frame is characterized in that: comprises that
The model attribute reading module is used for reading all attributes of the model to be modified and simultaneously reading the position attributes of all the models;
the cache model attribute module is used for caching all the read attributes of the model to be modified;
the attribute backup module is used for backing up all the attributes of the read model to be modified;
the attribute modification module is used for displaying the attribute arrangement of the module to be modified in the attribute modification window and changing any attribute value;
the space coordinate verification module is used for verifying whether the space coordinate of the model to be modified is intersected with the space coordinates of other models or not, and if so, user prompt information is given;
and the parameter value exporting module is used for exporting the parameter values of the model attributes modified by the user into a file of a specified type of model or a specific data structure for storage.
2. The webGL framework based 3D spatial model parameter correction editor of claim 1, wherein: changing any property value in the property modification module can be changed continuously by providing a slider.
3. The webGL framework based 3D spatial model parameter correction editor of claim 1, wherein: in the attribute modification module, the display effect of the model in the browser is synchronously changed while any attribute value is changed.
4. The webGL framework based 3D spatial model parameter correction editor of claim 1, wherein: and when the attribute modification module loads an attribute modification window of the model attribute to be modified, a calling interface of the selectable attribute is requested simultaneously for the user to perform pull-down selection, wherein the selectable attribute comprises attributes of texture, color, icon and picture of a map.
5. The webGL framework based 3D spatial model parameter correction editor of claim 1, wherein: the parameter correction editor also comprises a synchronous storage interface module which is used for directly storing the parameter values of the modified model attributes to the server and restoring the original values through the attributes backed up by the attribute backup module.
6. The webGL framework based 3D spatial model parameter correction editor of claim 1, wherein: the specific process of editing the module to be modified by the parameter trimming editor is as follows:
the method comprises the following steps: selecting a model of which the attribute is to be modified;
step two: reading all attributes of the model through a model attribute reading module, performing cache processing through a cache model attribute module, performing backup through an attribute backup module, and simultaneously reading position attributes of other models for a space coordinate verification module to perform space position verification;
step three: loading an attribute modification window through an attribute modification module, displaying all read attribute arrangements in the attribute modification window, and synchronously changing the display effect of the model in the browser while changing the attribute values by continuously changing any attribute values through providing a slider; when the attribute modification window is loaded, a calling interface of the selectable attribute is requested at the same time, so that a user can perform pull-down selection;
step four: when the spatial coordinate attribute of the model is modified, the spatial coordinate verification module works simultaneously to calculate whether the model is intersected with the spatial coordinates of other models, and if the model is intersected with the spatial coordinates of other models, user prompt information is given;
step five: if the parameter trimming editor is configured with a synchronous storage interface module, the modified parameter values of the model attributes can be directly stored in a server, and the original values can be restored through the attributes backed up by the attribute backup module; if the synchronous storage interface module is not configured, exporting the parameter values of the model attributes modified by the user into a file of a specified type of model or a specific data structure for storage for later use.
CN202010630046.7A 2020-07-03 2020-07-03 3D space model parameter correction editor based on webGL frame Pending CN113888726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010630046.7A CN113888726A (en) 2020-07-03 2020-07-03 3D space model parameter correction editor based on webGL frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010630046.7A CN113888726A (en) 2020-07-03 2020-07-03 3D space model parameter correction editor based on webGL frame

Publications (1)

Publication Number Publication Date
CN113888726A true CN113888726A (en) 2022-01-04

Family

ID=79013027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010630046.7A Pending CN113888726A (en) 2020-07-03 2020-07-03 3D space model parameter correction editor based on webGL frame

Country Status (1)

Country Link
CN (1) CN113888726A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339561A (en) * 2023-03-29 2023-06-27 郑州裕中能源有限责任公司 Three-dimensional visualization method, system and equipment for boiler monitoring

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339561A (en) * 2023-03-29 2023-06-27 郑州裕中能源有限责任公司 Three-dimensional visualization method, system and equipment for boiler monitoring
CN116339561B (en) * 2023-03-29 2024-03-15 郑州裕中能源有限责任公司 Three-dimensional visualization method, system and equipment for boiler monitoring

Similar Documents

Publication Publication Date Title
US11823315B2 (en) Animation making method and apparatus, computing device, and storage medium
CN110299042B (en) Immersive nuclear power plant main equipment process simulation deduction method and system
CN116310148B (en) Digital twin three-dimensional scene construction method, device, equipment and medium
CN105718643A (en) Optimization view angle based ship production design drawing-inspection device implementation method
CN103473041B (en) A kind of visual data processing method and system
CN112073474A (en) Js-based intelligent data center management method and system
CN116091672A (en) Image rendering method, computer device and medium thereof
CN116246012A (en) Virtual building model generation method and device and electronic equipment
CN113888726A (en) 3D space model parameter correction editor based on webGL frame
CN114359501A (en) Configurable 3D visualization platform and scene construction method
CN111737844A (en) Web 3D-based three-dimensional building model editing system and workflow
CN112181394A (en) Method, device and equipment for creating three-dimensional building model component
CN115146341A (en) Three-dimensional intelligent parameterized BIM model establishing software
CN110598346B (en) Interaction method of construction management system and GIM (graphic information management) model
Kent et al. Mixed reality prototyping: synchronicity and its impact on a design workflow
Shengyi et al. Research on integrated application of virtual reality technology based on BIM
Fan et al. A Sketch-Based Interface for Collaborative Design.
CN114820968A (en) Three-dimensional visualization method and device, robot, electronic device and storage medium
CN114549688A (en) Two-dimensional floor dial table generation method
Shen et al. Collaborative design in 3D space
CN112184894A (en) Sculpture method, device and equipment for three-dimensional modeling and storage medium
CN110737939A (en) Splicing method and device of building information model and computer storage medium
Lang et al. Design of Interactive Virtual System of Architectural Space Based on Multi-Objective Optimization Algorithm
CN116152460B (en) Method, device, terminal and medium for generating rock stratum model based on UE4
US20240160800A1 (en) Simulation of Parts and Assemblies in a Computer Aided Design Modeling Environment

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