CN110390710B - Method for processing proxy file of renderer - Google Patents
Method for processing proxy file of renderer Download PDFInfo
- Publication number
- CN110390710B CN110390710B CN201910607087.1A CN201910607087A CN110390710B CN 110390710 B CN110390710 B CN 110390710B CN 201910607087 A CN201910607087 A CN 201910607087A CN 110390710 B CN110390710 B CN 110390710B
- Authority
- CN
- China
- Prior art keywords
- model
- accurate
- models
- picture
- characteristic
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/005—General purpose rendering architectures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention relates to the technical field of image processing, in particular to a method for processing a renderer proxy file, which comprises the following steps of: establishing a database, wherein a plurality of accurate models and simple models with small information storage capacity are stored in the database; correspondingly matching the accurate model with the corresponding simple model; when a picture is made, calling a corresponding simple model in the database for operation; and when the picture is rendered, replacing the simple model with a corresponding matched accurate model.
Description
Technical Field
The invention relates to the technical field of image processing, in particular to a method for processing a proxy file of a renderer.
Background
Rendering, a computer term, refers to the process of generating images from a model using software in computer graphics. A model is a description of a three-dimensional object in a well-defined language or data structure that includes geometric, viewpoint, texture, and lighting information.
When the picture is made, the corresponding accurate model is added according to actual requirements in the scene, so as to achieve vivid picture display and immersive viewing experience, generally, the similarity between the accurate model and a real object is higher, and the detail processing is more vivid, so that the information storage amount of the accurate model is larger, so when rendering, because the information storage amount of each accurate model is larger, the response speed of the model rendering process is slower, and meanwhile, the movement or modification of the accurate model in the scene is changed due to the requirement of the larger information storage amount, so the phenomenon of blocking often occurs.
Disclosure of Invention
The invention aims to provide a processing method of a renderer proxy file, which replaces an accurate model with large information storage capacity by a simple model with small information storage capacity and is convenient for post-production of pictures.
The technical purpose of the invention is realized by the following technical scheme:
a method for processing a renderer proxy file comprises the following steps:
establishing a database, wherein a plurality of accurate models and simple models with small information storage capacity are stored in the database;
correspondingly matching the accurate model with the corresponding simple model;
when a picture is made, calling a corresponding simple model in the database for operation;
and when the picture is rendered, replacing the simple model with a corresponding matched accurate model.
Through the technical scheme, before picture rendering is carried out, the database is established, the plurality of simple models matched with the accurate models are stored, the simplification of the whole picture in the picture making process is realized, the information storage amount in the picture is reduced, and therefore when the model in the picture scene is moved or modified, the picture processing fluency is improved, the blocking phenomenon is reduced, and the later-stage making of the picture is facilitated.
The invention is further configured to: when the accurate model is correspondingly matched with the corresponding simple model,
establishing a plurality of characteristic marks and adaptive marks corresponding to the characteristic marks one by one;
sequentially carrying out characteristic marking on the accurate model;
and carrying out adaptability marking on the simple model according to the specific accurate model.
Through the technical scheme, the simple model and the accurate model are correspondingly matched through the characteristic mark and the adaptive mark, and the model is conveniently replaced during later-stage rendering.
The invention is further configured to: a plurality of identical simple models are endowed with different suitability marks according to different corresponding precise models.
Through the technical scheme, the simple model is endowed with different adaptability marks to realize the processing that a plurality of accurate models share the same simple model, so that the setting amount of the simple model is reduced, and the information storage amount of a picture is further reduced; and different adaptability marks are given to the simple model, so that accurate replacement in model replacement is realized.
The invention is further configured to: when the simple model is adaptively marked according to the specific accurate model,
establishing a reference accurate model and a reference simple model;
determining a scaling ratio between a current characteristic marking precision model and a reference precision model;
and carrying out corresponding scaling adjustment on the simple model matched with the suitability mark according to the scaling.
Through above-mentioned technical scheme, through when corresponding simple and easy model to accurate model matching, adjust the size of simple and easy model, realize the distinctive setting of making because of the difference of accurate model between the same simple and easy model, be convenient for realize the simple and easy differentiation of model when the picture is makeed.
The invention is further configured to: in determining the scaling between the current characteristically labeled precision model and the reference precision model,
calculating the volumes of the reference accurate model and the reference simple model;
obtaining the volume of the current accurate model;
and calculating the ratio of the volume of the reference precision model to the volume of the current precision model to obtain the scaling.
Through the technical scheme, when the model is replaced, the scaling of the simple model relative to the reference simple model is determined according to the volume ratio between the accurate model and the reference accurate model.
The invention is further configured to: when the precise model is subjected to characteristic marking in sequence, intercepting screenshots of the precise model to generate characteristic display pictures, and binding the characteristic display pictures with the characteristic marks corresponding to the precise model one by one; when the simple model is subjected to adaptability marking according to the specific accurate model, a floating window is established on the corresponding simple model, and the characteristic display picture is stored in the floating window and displayed.
Through the technical scheme, the characteristic display picture is displayed in the floating window, so that the rapid model identification of the current simple model is facilitated when the picture is manufactured.
The invention is further configured to: the characteristic display picture is marked with a name corresponding to the precise model.
Through the technical scheme, the name distinction of different models or the same model is convenient to realize, and the distinctiveness between the models is further increased so as to improve the uniqueness of the models.
In conclusion, the invention has the following beneficial effects:
the accurate model with large information storage capacity is replaced by the simple model with small information storage capacity during picture making, so that the reduction of the information processing capacity of the current picture is realized, the picture processing efficiency is improved, and the occurrence of the pause phenomenon is reduced; and the scaling ratio of the simple model compared with the reference simple model is determined according to the volume ratio between the precise model and the reference precise model, so that the simple model can be easily distinguished during picture production.
Drawings
FIG. 1 is a schematic diagram of steps S1000-S4000 in this embodiment.
Fig. 2 is a schematic diagram of steps S2100-S2300 in this embodiment.
FIG. 3 is a diagram illustrating steps S2310-S2330 of the present embodiment.
Fig. 4 is a schematic diagram of steps S2321-S2323 in this embodiment.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
A method for processing a renderer proxy file, as shown in FIG. 1, includes the following steps.
S1000, a database is established, and a plurality of accurate models and simple models with small information storage capacity are stored in the database.
And S2000, correspondingly matching the accurate model with the corresponding simple model.
And S3000, calling the corresponding simple model in the database to operate when the screen is made.
And S4000, replacing the simple model with a correspondingly matched accurate model when rendering the picture.
According to the technical scheme defined by S1000-S4000, before picture rendering, a database is established, a plurality of simple models matched with the accurate models are stored in the database, the accurate models in the pictures are replaced by the simple models, the simplification of the whole pictures in the picture making process is realized, and the information storage amount in the pictures is reduced, so that when the models in the picture scene are moved or modified, the picture processing fluency is improved, the phenomenon of pause is reduced, and the later-stage making of the pictures is facilitated.
When the accurate model is correspondingly matched with the corresponding simple model, the method comprises the following steps.
S2100, establishing a plurality of characteristic marks and adaptive marks corresponding to the characteristic marks one by one.
And S2200, sequentially performing characteristic marking on the precise model.
S2300, carrying out adaptability marking on the simple model according to the specific accurate model.
According to the technical scheme defined by S2100-S2300, the corresponding matching between the simple model and the accurate model is realized through the characteristic mark and the adaptability mark, and the model is convenient to replace during the later rendering.
For example, the characteristic marks for marking the precise model are respectively 1A, 2B, 3C, 4D … …, and the adaptive marks for marking the simple model are respectively 1A, 2B, 3C, 4D … …, where 1A matches 1A correspondingly, 2B matches 2B correspondingly, 3C matches 3C correspondingly, and 4D matches … … correspondingly.
In order to improve the utilization rate of the simple models, reduce the setting amount of the simple models and further reduce the information storage amount of the pictures, a plurality of same simple models are endowed with different suitability marks according to the difference of corresponding accurate models.
For example, the adaptive markers 1A of the four simple models are respectively matched with the characteristic markers 1A, 2b, 3c, 4d of the corresponding accurate models, that is, different accurate models can share the same simple model, but because the adaptive markers of the simple models are different from the corresponding matched characteristic markers, the same simple model is correspondingly replaced by the corresponding accurate model during replacement.
Further, when the simple model is adaptively marked according to the specific precision model, the method comprises the following steps:
s2310, establishing a reference accurate model and a reference simple model;
s2320, determining a scaling ratio between the current characteristic marking precision model and a reference precision model;
s2330, and performing corresponding scaling adjustment on the matching adapted simple model according to the scaling.
According to the technical scheme defined by the steps of S2310-S2330, when the accurate model is matched with the corresponding simple model, the size of the simple model is adjusted, so that the distinctive setting of the same simple model due to the difference of the accurate model is realized, and the simple distinguishing of the models is conveniently realized during the picture making.
And when determining the scaling ratio between the current characteristic marking precision model and the reference precision model, the method comprises the following steps:
s2321, calculating the volumes of the reference accurate model and the reference simple model;
s2322, acquiring the volume of the current accurate model;
s2323, calculating the ratio of the volume of the reference accurate model to the volume of the current accurate model to obtain the scaling.
According to the technical scheme defined in S2321-S2323, when model replacement is performed, the scaling of the simple model relative to the reference simple model is determined according to the volume ratio between the accurate model and the reference accurate model.
When the characteristic marks are sequentially carried out on the precise models, the screenshots of the precise models are intercepted to generate characteristic display pictures and are bound with the characteristic marks corresponding to the precise models one by one; when the simple model is subjected to adaptive marking according to the specific accurate model, a floating window is built on the corresponding simple model, the characteristic display picture is stored in the floating window and displayed, and the characteristic display picture is marked with a name corresponding to the accurate model.
The screenshot of the precise model can be manually intercepted by a designer, generally, the screenshot is a static picture with characteristic meaning, and the static screenshot of a corresponding view angle can also be intercepted through program setting;
the name can be manually input by a designer, for example, when there are many trees in the picture, the name can be distinguished by naming as tree number 1, tree number 2, tree number 3, and the like.
The present embodiment is only for explaining the present invention, and it is not limited to the present invention, and those skilled in the art can make modifications of the present embodiment without inventive contribution as needed after reading the present specification, but all of them are protected by patent law within the scope of the claims of the present invention.
Claims (4)
1. A method for processing a renderer proxy file is characterized by comprising the following steps:
establishing a database, wherein a plurality of accurate models and a plurality of simple models with relatively small information storage capacity are stored in the database;
correspondingly matching the corresponding accurate model in the plurality of accurate models with the corresponding simple model in the plurality of simple models;
when a picture is made, calling the corresponding simple model in the database for operation;
when a picture is rendered, replacing the corresponding simple model with the corresponding accurate model which is correspondingly matched;
the step of correspondingly matching the corresponding accurate model in the plurality of accurate models with the corresponding simple model in the plurality of simple models comprises the following steps:
establishing a plurality of characteristic marks and adaptive marks which are in one-to-one correspondence with the characteristic marks;
sequentially carrying out characteristic marking on the plurality of accurate models;
carrying out adaptability marking on a shared corresponding simple model according to a plurality of specific accurate models so as to improve the utilization rate of the simple model and reduce the setting amount of the simple model;
the common corresponding simplified model is endowed with different suitability marks according to different corresponding precise models; based on the difference of the suitability marks, when a picture is replaced, the common corresponding simple model can be correspondingly replaced by a corresponding accurate model in the specific accurate models;
the step of adaptively labeling a common corresponding simplified model according to a plurality of specific said precise models comprises:
establishing a reference accurate model and a reference simple model;
determining a scaling ratio between a current characteristic marking precision model and the reference precision model;
carrying out corresponding zooming adjustment on the simple model matched with the suitability mark according to the zooming proportion;
the corresponding accurate model with relatively large information storage capacity is replaced by the corresponding simple model with relatively small information storage capacity when the picture is manufactured, so that the reduction of the information processing capacity of the current picture is realized, the picture processing efficiency is improved, and the occurrence of the pause phenomenon is reduced; and determining the scaling of the corresponding simple model compared with the reference simple model according to the volume ratio between the corresponding accurate model and the reference accurate model, so as to realize simple model distinguishing during picture production.
2. The method of processing a renderer agent file as set forth in claim 1, wherein: the step of determining the scaling ratio between the current feature-labeled precision model and the reference precision model comprises:
calculating the volumes of the reference accurate model and the reference simple model;
obtaining the volume of the current accurate model;
and calculating the ratio of the volume of the reference precise model to the volume of the current precise model to obtain the scaling.
3. The method of processing a renderer agent file as set forth in claim 1, wherein: the step of sequentially performing characteristic marking on the plurality of accurate models comprises the following steps: capturing screenshots of the plurality of accurate models to generate characteristic display pictures, and binding the characteristic display pictures with characteristic marks corresponding to the accurate models one by one; the step of adaptively labeling said respective compact model in accordance with a particular said corresponding accurate model comprises: and establishing a floating window on the corresponding simple model, and storing the characteristic display picture in the floating window and displaying the characteristic display picture.
4. The method of processing a renderer agent file as set forth in claim 3, wherein: the characteristic display picture is marked with the name of the corresponding accurate model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910607087.1A CN110390710B (en) | 2019-07-06 | 2019-07-06 | Method for processing proxy file of renderer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910607087.1A CN110390710B (en) | 2019-07-06 | 2019-07-06 | Method for processing proxy file of renderer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110390710A CN110390710A (en) | 2019-10-29 |
CN110390710B true CN110390710B (en) | 2023-03-14 |
Family
ID=68286287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910607087.1A Active CN110390710B (en) | 2019-07-06 | 2019-07-06 | Method for processing proxy file of renderer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110390710B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111583374B (en) * | 2020-05-11 | 2022-09-09 | 深圳市环球数码影视文化有限公司 | Method for making rendering proxy file |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101889275A (en) * | 2007-11-07 | 2010-11-17 | 斯金尼特公司 | Customizing print content |
CN103640223A (en) * | 2013-12-27 | 2014-03-19 | 杨安康 | Fast forming system for true-color three-dimensional individual figure |
CN108830929A (en) * | 2018-05-21 | 2018-11-16 | 东南大学 | Multi-resolution Terrain pyramid model generation method and system based on database |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090265661A1 (en) * | 2008-04-14 | 2009-10-22 | Gary Stephen Shuster | Multi-resolution three-dimensional environment display |
US10388324B2 (en) * | 2016-05-31 | 2019-08-20 | Dropbox, Inc. | Synchronizing edits to low- and high-resolution versions of digital videos |
-
2019
- 2019-07-06 CN CN201910607087.1A patent/CN110390710B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101889275A (en) * | 2007-11-07 | 2010-11-17 | 斯金尼特公司 | Customizing print content |
CN103640223A (en) * | 2013-12-27 | 2014-03-19 | 杨安康 | Fast forming system for true-color three-dimensional individual figure |
CN108830929A (en) * | 2018-05-21 | 2018-11-16 | 东南大学 | Multi-resolution Terrain pyramid model generation method and system based on database |
Also Published As
Publication number | Publication date |
---|---|
CN110390710A (en) | 2019-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109584295A (en) | The method, apparatus and system of automatic marking are carried out to target object in image | |
CN108701352A (en) | Amending image using the identification based on three dimensional object model and enhancing | |
US9911209B2 (en) | System and method for improving video and other media playback | |
US11900649B2 (en) | Methods, systems, articles of manufacture and apparatus to generate digital scenes | |
EP3533218B1 (en) | Simulating depth of field | |
CN105959814B (en) | Video barrage display methods based on scene Recognition and its display device | |
CN106447756B (en) | Method and system for generating user-customized computer-generated animations | |
CN109035288A (en) | A kind of image processing method and device, equipment and storage medium | |
CN110266970A (en) | A kind of short video creating method and system | |
CN107424202A (en) | Extensive three-dimensional colony's performance animation concurrent rendering method based on PBRT | |
CN111429553B (en) | Animation preview method, device, computer equipment and storage medium | |
CN110390710B (en) | Method for processing proxy file of renderer | |
CN111179402B (en) | Rendering method, device and system of target object | |
CN104333699A (en) | Method and device for synthesizing user-defined photographing region | |
CN102572219A (en) | Mobile terminal and image processing method thereof | |
CN109829963A (en) | A kind of image drawing method and device calculate equipment and storage medium | |
CN111859874A (en) | Table generating method and system, video playing device and computer readable medium | |
CN113648655A (en) | Rendering method and device of virtual model, storage medium and electronic equipment | |
CN109254647A (en) | Take down notes processing method and processing device | |
CN103514628B (en) | A kind of based on 3D modeling and the image non-linear geometric correction method of position table look up techniques | |
CN112604279A (en) | Special effect display method and device | |
WO2020252976A1 (en) | Video insertion method, apparatus and device, medium and system | |
CN100498840C (en) | Method of and scaling unit for scaling a three-dimensional model | |
CN112783325B (en) | Human-computer interaction method and system based on multi-projection system and storage medium | |
CN108256611A (en) | Quick Response Code image generating method, device, computing device 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 |