CN112579441A - Mipmap function verification method - Google Patents
Mipmap function verification method Download PDFInfo
- Publication number
- CN112579441A CN112579441A CN202011404161.9A CN202011404161A CN112579441A CN 112579441 A CN112579441 A CN 112579441A CN 202011404161 A CN202011404161 A CN 202011404161A CN 112579441 A CN112579441 A CN 112579441A
- Authority
- CN
- China
- Prior art keywords
- mipmap
- textures
- verification
- texture
- dimensional
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3604—Software analysis for verifying properties of programs
Abstract
The invention relates to a mipmap function verification method. The method of the invention comprises the following steps: 1) and (4) functional verification: and verifying generation, filtering and mapping of the mipmap multiple detail layer. 2) And (3) correlation verification: verifying mipmap functions related to one-dimensional, two-dimensional, three-dimensional, cubic and compressed textures from the four aspects of loading original textures, loading sub-textures, copying original textures and copying sub-texture. 3) And (3) path verification: the correctness of the mipmap path is verified respectively from three aspects of matching use of original textures and sub-textures of different mipmaps, cross use of different types of textures in the same texture unit and cross use of textures of different texture units. The method effectively improves the verification efficiency of the mipmap related function, ensures the correctness and the integrity of the mipmap function, and further ensures the integrity and the robustness of the function of the graphics processor.
Description
Technical Field
The invention relates to the field of computer graphics, in particular to a method for verifying a mipmap function of a texture.
Background
mipmap is a computer graphics imaging technique for achieving in two-dimensional replacements of three-dimensional imagesStereoscopic impressionAnd (4) effect. The mipmap technique is combined with the texture mapping technique, and a single texture map is represented in the form of multiple images at different resolutions according to the distance from a viewer, wherein the image with the largest size is placed in a prominent position in the front, and the relatively smaller image is backed to the background area. Each of the different size levels is defined as a mipmap level. The mipmap technique helps to avoid unwanted jagged edges (called jagged patterns) from appearing in the image, which may result from using a bit map image at different resolutions.
The mipmap function of the multiple detail layers of the texture is complex, and the related interfaces are numerous, so that the mipmap function is one of the important functions of the texture mapping. The processing of the mipmap of the multiple detail layers of the texture is related to the overall function of the texture map, and a complete set of verification method for the mipmap of the multiple detail layers is not available in the currently disclosed research.
Disclosure of Invention
The present invention provides a mipmap function verification method for solving the above technical problems in the background art, which effectively improves the verification efficiency of mipmap related functions, ensures the correctness and integrity of mipmap functions, and further ensures the integrity and robustness of functions of a graphics processor.
The technical solution of the invention is as follows: the invention relates to a mipmap function verification method, which is characterized in that: the method comprises the following steps:
1) function verification;
2) verifying the relevance;
3) and (6) verifying the path.
Preferably, the step 1) functional verification is to verify generation, filtering and mapping of the mipmap multiple detail layer.
Preferably, the step 2) correlation verification is to verify the mipmap function related to one-dimensional, two-dimensional, three-dimensional, cubic and compressed textures from four aspects of loading the original texture, loading the sub-texture, copying the original texture and copying the sub-texture.
Preferably, the step 3) path verification verifies the correctness of the mipmap path from three aspects of matching use of original textures and sub-textures of different mipmaps, cross use of different types of textures in the same texture unit and cross use of textures among different texture units.
The invention provides a mipmap function verification method, which firstly verifies the functions of generating, filtering and mapping of textures mipmaps, secondly verifies the correlation of loading, replacing and copying of different types of mipmap textures, and finally verifies a path for matching an original texture and a sub-texture, a path for matching different textures in the same texture unit and a path for matching textures of different texture units, thereby providing a basis for the integrity verification of the mipmap function. Therefore, the invention has the following advantages:
1) the invention provides a mipmap function verification method through reasonable planning, and the verification efficiency of mipmap related functions is effectively improved.
2) The invention ensures the correctness and the integrity of the mipmap function, thereby ensuring the integrity and the robustness of the function of the graphic processor.
Drawings
FIG. 1 is a schematic diagram of the process of the present invention.
Detailed Description
The technical solution of the present invention is further described in detail with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1, the mipmap function verification method according to the embodiment of the present invention includes the following steps:
1) and (4) functional verification: and verifying generation, filtering and mapping of the mipmap multiple detail layer.
2) And (3) correlation verification: verifying mipmap functions related to one-dimensional, two-dimensional, three-dimensional, cubic and compressed textures from the four aspects of loading original textures, loading sub-textures, copying original textures and copying sub-texture.
3) And (3) path verification: the method comprises three aspects of matching and using original textures and sub-textures of different mipmaps, using different types of textures in the same texture unit and using the textures among different texture units to verify the correctness of a mipmap channel.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (4)
1. A mipmap function verification method is characterized in that: the method comprises the following steps:
1) function verification;
2) verifying the relevance;
3) and (6) verifying the path.
2. The mipmap functional verification method of claim 1, wherein: the step 1) functional verification is to verify generation, filtering and mapping of the mipmap multiple detail layer.
3. The mipmap functional verification method of claim 2, wherein: and the step 2) correlation verification is to verify the mipmap functions related to one-dimensional, two-dimensional, three-dimensional, cubic and compressed textures from four aspects of loading the original texture, loading the sub-texture, copying the original texture and copying the sub-texture.
4. The mipmap functional verification method of claim 3, wherein: and step 3) path verification is to verify the correctness of the mipmap path in three aspects of matching use of original textures and sub-textures of different mipmaps, cross use of different types of textures in the same texture unit and cross use of textures among different texture units.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011404161.9A CN112579441A (en) | 2020-12-05 | 2020-12-05 | Mipmap function verification method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011404161.9A CN112579441A (en) | 2020-12-05 | 2020-12-05 | Mipmap function verification method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112579441A true CN112579441A (en) | 2021-03-30 |
Family
ID=75127127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011404161.9A Pending CN112579441A (en) | 2020-12-05 | 2020-12-05 | Mipmap function verification method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112579441A (en) |
-
2020
- 2020-12-05 CN CN202011404161.9A patent/CN112579441A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104183005B (en) | Graphics processing unit and rendering intent based on segment | |
US9041711B1 (en) | Generating reduced resolution textured model from higher resolution model | |
CN110675489B (en) | Image processing method, device, electronic equipment and storage medium | |
US20170178280A1 (en) | Tile Based Computer Graphics | |
CN110368694B (en) | Game scene data processing method, device, equipment and readable storage medium | |
CN107657655B (en) | Method and system for culling in a tile-based graphics system | |
WO2012037863A1 (en) | Method for simplifying and progressively transmitting 3d model data and device therefor | |
CN108230435B (en) | Graphics processing using cube map textures | |
CN102834849A (en) | Image drawing device for drawing stereoscopic image, image drawing method, and image drawing program | |
CN107464286B (en) | Method, device, equipment and readable medium for repairing holes in three-dimensional city model | |
KR20120093063A (en) | Techniques for rapid stereo reconstruction from images | |
US8358316B2 (en) | Procedure and device for the texturizing of an object of a virtual three-dimensional geometric model | |
US9224233B2 (en) | Blending 3D model textures by image projection | |
US6515658B1 (en) | 3D shape generation apparatus | |
US20100231585A1 (en) | Systems and Methods for Processing Graphics Primitives | |
Livnat et al. | Interactive point-based isosurface extraction | |
GB2406252A (en) | Generation of texture maps for use in 3D computer graphics | |
CN106023147A (en) | GPU-based linear array remote sensing image DSM rapid extraction method | |
EP3422709A1 (en) | Stereo rendering | |
JP3892016B2 (en) | Image processing apparatus and image processing method | |
CN107509067B (en) | A kind of free view-point image composition method of high-speed high-quality amount | |
WO2018140223A1 (en) | Stereo rendering | |
CN111161123B (en) | Decryption method and device for three-dimensional live-action data | |
US6831642B2 (en) | Method and system for forming an object proxy | |
CN112579441A (en) | Mipmap function verification method |
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 |