CN112218067B - Interactive engine system for complex 3D scene and operation method thereof - Google Patents
Interactive engine system for complex 3D scene and operation method thereof Download PDFInfo
- Publication number
- CN112218067B CN112218067B CN202011107748.3A CN202011107748A CN112218067B CN 112218067 B CN112218067 B CN 112218067B CN 202011107748 A CN202011107748 A CN 202011107748A CN 112218067 B CN112218067 B CN 112218067B
- Authority
- CN
- China
- Prior art keywords
- space
- model
- unit
- scene
- index
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/275—Image signal generators from 3D object models, e.g. computer-generated stereoscopic image signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/257—Colour aspects
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention belongs to the technical field of 3D scene interaction application, and particularly discloses an interaction engine system for a complex 3D scene and an operation method thereof. The interactive engine system for the complex 3D scene and the operation method thereof have the advantages that: the 3D scene interactive system is reasonable in design structure, visual correlation of a 3D space and a 3D model structure is analyzed in 3D model preprocessing, and data volume of interactive processing of a central processing unit and a graphic processing unit is remarkably reduced in a 3D scene with a complex structure and a wide space range, so that time required from rendering the 3D scene to a screen image is reduced, the refreshing frame rate speed of the screen image is improved, and smooth 3D scene interactive experience is provided for a user.
Description
Technical Field
The invention belongs to the technical field of 3D scene interactive application, and particularly relates to an interactive engine system for a complex 3D scene and an operation method thereof.
Background
In the process of rendering 3D scenes with rich content, complex structure and wide space range to screen images by a computer, a central processing unit and a graphic processor need to interactively process massive 3D data.
The method is limited by hardware configuration of a common user-level computer, data interaction processing speed of a central processing unit and a graphic processor cannot meet specified requirements easily, a rendering process cannot be completed quickly, a refreshing frame rate of a screen image is correspondingly low, and finally a screen image seen by a user is blocked and smooth 3D scene interaction experience cannot be obtained, for example, a large number of building models, room models, equipment and facility models exist in a scene for displaying a BIM (building information modeling) model or a city 3D model.
Therefore, in view of the above problems, the present invention provides an interaction engine system for complex 3D scenes and a method for operating the same.
Disclosure of Invention
The invention aims to: the invention aims to provide an interaction engine system for a complex 3D scene and an operation method thereof, which have reasonable design structure, solve the problems of the existing common user-level computer hardware configuration display BIM (building information modeling) model or urban 3D model, improve the refresh frame rate speed of screen images and provide smooth 3D scene interaction experience for users.
The technical scheme is as follows: one aspect of the present invention provides an interaction engine system for a complex 3D scene, comprising a preprocessing subsystem and a running subsystem; the preprocessing subsystem imports a 3D model and sequentially dyes the model unit components, and the one-to-one correspondence relationship between colors and the model unit components is recorded in a unit structure dyeing mapping table; and the operation subsystem loads a 3D model, corresponding model unit components and dyeing relation data thereof and mapping relation data of the unit space and model unit structure set, and identifies the model unit components according to the corresponding model unit components and the dyeing relation data thereof.
Another aspect of the present invention provides an operation method of an interaction engine system for a complex 3D scene, including step 1, a preprocessing subsystem divides a space containing a 3D model into N × M × K consecutive unit spaces, and the length, width, and height of the unit spaces are set according to scene requirements. And 2, rendering and drawing a picture seen by the camera in each direction of each unit space by the preprocessing subsystem, reading all pixel color values in the picture, and recording a unit space and pixel color value set mapping table. And 3, the preprocessing subsystem divides a space-colors table of a unit space and pixel color value set mapping table into a space-index table and an index-colors table, wherein the index represents an index from space to colors. And 4, the preprocessing subsystem saves the model unit component and the dyeing relation thereof, and the unit space and model unit structure set mapping relation. And 5, in the operation subsystem, when the position of a lens in the 3D scene changes, matching a unit space corresponding to the spatial position of the lens, further obtaining a model unit structure set matched with the position of the lens, selectively rendering the matched model unit structure set, and finally achieving the effect equivalent to the rendering of the full 3D model structure.
In the technical scheme, the default length, width and height of the unit space in the step 1 are selected as 1 meter and are not limited to the default length, width and height.
In the technical scheme, in the step 3, index-colors are combined according to the similarity between the visual color sets of different space units, so that the total number of the visual color sets of the space units is reduced, and the space-index table is synchronously updated.
Compared with the prior art, the interactive engine system for the complex 3D scene and the operation method thereof have the beneficial effects that: the 3D scene interactive system is reasonable in design structure, visual correlation of a 3D space and a 3D model structure is analyzed in 3D model preprocessing, and data volume of interactive processing of a central processing unit and a graphic processing unit is remarkably reduced in a 3D scene with a complex structure and a wide space range, so that time required from rendering the 3D scene to a screen image is reduced, the refreshing frame rate speed of the screen image is improved, and smooth 3D scene interactive experience is provided for a user.
Drawings
FIG. 1 is a flow diagram of an interaction engine system for complex 3D scenes and a method of operating the same of the present invention;
FIG. 2 is a graph of model loading and model cell structure staining according to an embodiment of the present invention;
FIG. 3 is a cellular spatial distribution grid diagram of an embodiment of the present invention;
FIG. 4 is an exemplary diagram of all colors visible within a spatial cell in accordance with embodiments of the present invention;
FIG. 5 is a diagram illustrating a preliminary integration effect of similarity of visible color sets in a cell space according to an embodiment of the present invention.
Detailed Description
The invention is further elucidated with reference to the drawings and the embodiments.
An interaction engine system for complex 3D scenes as shown in fig. 1, comprising a pre-processing subsystem and a running subsystem; the preprocessing subsystem imports a 3D model and sequentially dyes the model unit components, and the one-to-one correspondence relationship between colors and the model unit components is recorded in a unit structure dyeing mapping table; and the operation subsystem loads a 3D model, corresponding model unit components and dyeing relation data thereof and mapping relation data of the unit space and model unit structure set, and identifies the model unit components according to the corresponding model unit components and the dyeing relation data thereof.
The invention relates to a method for operating an interaction engine system for complex 3D scenes,
in the preprocessing stage, a preprocessing subsystem imports a 3D model; the system sequentially dyes the model unit components, and the one-to-one correspondence relationship between colors and the model unit components is recorded in a unit structure dyeing mapping table (model-color table);
the preprocessing subsystem divides a space containing the 3D model into N M K continuous unit spaces, the length, the width and the height of the unit spaces are set according to scene requirements, and the default length, the width and the height of the unit spaces are all selected to be 1 meter;
the preprocessing subsystem renders and draws pictures seen by the camera in each direction of each unit space, reads all pixel color values in the pictures, and records a space-colors table (space-colors table) of the unit space and the pixel color value set;
the preprocessing subsystem divides a space-colors table of a unit space and pixel color value set mapping table into a space-index table and an index-colors table, wherein the index represents the index from space to colors, and then the index-colors are combined according to the similarity between the visual color sets (namely colors) of different space units, so that the total number of the visual color sets of the space units is reduced, and the space-index table is synchronously updated;
the preprocessing subsystem saves model unit components and dyeing relations (model-color) thereof, and space-index and index-colors mapping relations (space-index and index-colors) between unit spaces and model unit structure sets;
in the operation stage, the operation subsystem loads the 3D model, corresponding model unit components and dyeing relation data thereof and mapping relation data of the unit space and model unit structure set are loaded, and the model unit components are identified according to the corresponding model unit components and the dyeing relation data thereof;
when the position of a lens in a 3D scene changes, matching a unit space corresponding to the spatial position of the lens to obtain a model unit structure set matched with the position of the lens;
and selectively rendering the matched model unit structure set, wherein the final effect is equal to the rendering of the full 3D model structure.
Examples
The following is an exemplary flow chart of the processing effect of the interaction engine system for complex 3D scenes of the present invention (based on the house model),
1) Loading a model, sequentially dyeing the minimum unit component of the model, and acquiring a model-color mapping relation table, wherein FIG. 2 is a model loading and model unit component dyeing diagram;
2) Carrying out space division on the dyed model, wherein a unit space distribution grid diagram is shown in FIG. 3;
3) Calculating a color set visible in each spatial unit, and acquiring a space-color set relational mapping table (space-colors) of the unit space and the color value set, wherein fig. 4 is an exemplary diagram of all colors visible in a spatial unit;
4) The effect is already obvious by the preliminary integration of the visible color sets in the cell space, and fig. 5 is a preliminary integration effect diagram according to the similarity of the visible color sets in the cell space.
The foregoing is merely a preferred embodiment of this invention and it will be appreciated by those skilled in the art that modifications may be made without departing from the principles of the invention and that such modifications are to be considered as within the scope of the invention.
Claims (4)
1. An interaction engine system for complex 3D scenes characterized by: the system comprises a pretreatment subsystem and an operation subsystem;
the preprocessing subsystem imports a 3D model and sequentially dyes the model unit components, the one-to-one correspondence relationship between colors and the model unit components is recorded in a unit structure dyeing mapping table, and a space-colors table is divided into a space-index table and an index-colors table;
and the operation subsystem loads the 3D model, the corresponding model unit component and the dyeing relation data thereof and the mapping relation data of the unit space and the model unit structure set, and identifies the model unit component according to the corresponding model unit component and the dyeing relation data thereof.
2. The method of claim 1, wherein the method comprises the steps of: comprises the following steps of (a) carrying out,
step 1, a preprocessing subsystem divides a space containing a 3D model into N M K continuous unit spaces, and the length, the width and the height of the unit spaces are set according to scene requirements;
step 2, rendering and drawing a picture seen by the camera in each direction of each unit space by a preprocessing subsystem, reading all pixel color values in the picture, and recording a unit space and pixel color value set mapping table;
step 3, the preprocessing subsystem divides the space-colors table into a space-index table and an index-colors table, wherein the index represents the index from the space to the colors;
step 4, the preprocessing subsystem saves the model unit components and the dyeing relation thereof, and the unit space and model unit structure set mapping relation;
and 5, in the operation subsystem, when the position of a lens in the 3D scene changes, matching a unit space corresponding to the spatial position of the lens, further obtaining a model unit structure set matched with the position of the lens, selectively rendering the matched model unit structure set, and finally achieving the effect equivalent to the rendering of the full 3D model structure.
3. The method of claim 2, wherein the method comprises the steps of: in the step 1, the default length, width and height of the unit space are all selected to be 1 meter.
4. The method of claim 2, wherein the method comprises the steps of: and in the step 3, merging the index-colors according to the similarity among the visual color sets of different space units so as to reduce the total number of the visual color sets of the space units and synchronously update the space-index table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011107748.3A CN112218067B (en) | 2020-10-16 | 2020-10-16 | Interactive engine system for complex 3D scene and operation method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011107748.3A CN112218067B (en) | 2020-10-16 | 2020-10-16 | Interactive engine system for complex 3D scene and operation method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112218067A CN112218067A (en) | 2021-01-12 |
CN112218067B true CN112218067B (en) | 2023-03-28 |
Family
ID=74055430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011107748.3A Active CN112218067B (en) | 2020-10-16 | 2020-10-16 | Interactive engine system for complex 3D scene and operation method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112218067B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113313809B (en) * | 2021-06-03 | 2024-12-27 | 中国建设银行股份有限公司 | A rendering method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107193911A (en) * | 2017-05-14 | 2017-09-22 | 北京比目鱼工程咨询有限公司 | A kind of three-dimensional visualization engine and WEB application routine call method based on BIM models |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7728848B2 (en) * | 2000-03-28 | 2010-06-01 | DG FastChannel, Inc. | Tools for 3D mesh and texture manipulation |
CN105260547B (en) * | 2015-10-20 | 2018-11-09 | 南京航空航天大学 | Digitlization workshop three-dimensional modeling method towards real-time virtual monitoring |
CN105590336B (en) * | 2016-03-11 | 2018-12-28 | 北京博锐尚格节能技术股份有限公司 | Information displaying method and device |
CN108984186A (en) * | 2018-07-11 | 2018-12-11 | 南京云滨信息科技有限公司 | A kind of BIM model dynamic loading method based on chart database |
CN109741456A (en) * | 2018-12-17 | 2019-05-10 | 深圳市航盛电子股份有限公司 | 3D based on GPU concurrent operation looks around vehicle assistant drive method and system |
CN110270089A (en) * | 2019-06-21 | 2019-09-24 | 上海米哈游网络科技股份有限公司 | A kind of model detail methods of exhibiting, device, server and medium |
CN111064946A (en) * | 2019-12-04 | 2020-04-24 | 广东康云科技有限公司 | Video fusion method, system, device and storage medium based on indoor scene |
CN111369666A (en) * | 2020-03-02 | 2020-07-03 | 中国电子科技集团公司第五十二研究所 | Dynamic target reconstruction method and device based on multiple RGBD cameras |
-
2020
- 2020-10-16 CN CN202011107748.3A patent/CN112218067B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107193911A (en) * | 2017-05-14 | 2017-09-22 | 北京比目鱼工程咨询有限公司 | A kind of three-dimensional visualization engine and WEB application routine call method based on BIM models |
Also Published As
Publication number | Publication date |
---|---|
CN112218067A (en) | 2021-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109525901B (en) | Video processing method and device, electronic equipment and computer readable medium | |
CN109919869B (en) | Image enhancement method and device and storage medium | |
CN107833105B (en) | Shopping mall visual lease management method and system based on building information model | |
CN111507997B (en) | Image segmentation method, device, equipment and computer storage medium | |
CN114494566A (en) | Image rendering method and device | |
CN102194443A (en) | Display method and system for window of video picture in picture and video processing equipment | |
CN101617343A (en) | Play up the method and system of three-dimensional scenic fast | |
US20240303890A1 (en) | Augmentation of digital images with simulated surface coatings | |
US11620039B2 (en) | Performant configuration user interface | |
CN112218067B (en) | Interactive engine system for complex 3D scene and operation method thereof | |
CN111246122A (en) | Method and device for synthesizing video by multiple photos | |
CN115100337A (en) | Whole body portrait video relighting method and device based on convolutional neural network | |
CN110717978B (en) | Three-dimensional head reconstruction method based on single image | |
CN111354067A (en) | Multi-model same-screen rendering method based on Unity3D engine | |
CN107527277A (en) | A kind of intelligent curtain Art Design system based on mobile terminal | |
CN111696034A (en) | Image processing method and device and electronic equipment | |
CN112488967B (en) | Object and scene synthesis method and system based on indoor scene | |
Xu | The research on applying artificial intelligence technology to virtual youtuber | |
Ye | [Retracted] Application of Photoshop Graphics and Image Processing in the Field of Animation | |
CN115544311A (en) | Data analysis method and device | |
CN112579083A (en) | Image display method and device, electronic equipment and storage medium | |
Döllner et al. | Approaches to image abstraction for photorealistic depictions of virtual 3D models | |
CN119338963A (en) | Image display method, device, medium and program product for virtual scene | |
CN117611728A (en) | Image display method and device, computing device and computer readable storage medium | |
CN117379782A (en) | Building indoor rendering method, device, computer 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |