Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Texture processing method and device

A processing method and technology of a processing device, which are applied in the field of image processing, can solve the problems of chaotic texture management, incorrect processing methods, and no consideration of texture compression, so as to save development costs, improve texture compression efficiency, and avoid packaging errors.

Inactive Publication Date: 2018-08-28
上海银河数娱网络科技有限公司
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] (2). For some medium or large-scale applications, in order to show a rich picture, a large number of high-precision textures will be used. In this case, some applications will selectively use textures without alpha channels, that is, opaque textures , for compression, but nothing for transparent textures
The problem here is that, first, the png format has its limitations
In this way, RGB and A are first merged into RGBA, and the Alpha operation needs to be deleted at the same time, and the operation is strictly in accordance with the order, and the fault tolerance is poor; in addition, if you want to view the effect of the compressed texture that supports the Alpha channel, it cannot be achieved because the Alpha is separated.
The second method is to maintain two projects separately, which is more expensive, needs to deal with the synchronization problem, and is troublesome to maintain
On the one hand, because there is no overall consideration, it is impossible to form a pipeline operation, only to perform solidification operation, and there is no choice for the compression scheme; on the other hand, because the impact of texture compression on application development is not considered, after applying texture compression, Conventional technology failures (such as RTT, render to texture, rendering to texture technology), and rendering errors, which greatly limit the use of texture compression, and finally, due to incorrect processing methods, will also bring great impact to texture management. pickle

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Texture processing method and device
  • Texture processing method and device
  • Texture processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In the following description, many technical details are proposed in order to enable readers to better understand the application. However, those skilled in the art can understand that without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in each claim of the present application can be realized.

[0045] In order to make the purpose, technical solution and advantages of the present invention clearer, the following will further describe the implementation of the present invention in detail in conjunction with the accompanying drawings.

[0046] The first embodiment of the present invention relates to a texture processing method. figure 1 is a schematic flow chart of the texture processing method.

[0047] Specifically, the texture processing method performs corresponding compression processing by judging whether each texture to be processed needs to separate alpha information, so...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the image processing field, and discloses a texture processing method and device. The method includes an obtaining step of obtaining all textures in an item; a selection stepof setting compression parameters, and selecting a to-be-processed texture which is needed to perform compression processing from all the textures; a compression step of judging whether each to-be-processed texture needs to separate alpha information according to the compression parameters, performing self-adaptive texture compression on each to-be-processed texture which does not need to separatethe alpha information, and performing texture compression on each to-be-processed texture which needs to separate the alpha information after a corresponding alpha texture comprising the alpha information is generated; and a packing step of performing packing on all the textures obtained from the compression step. Texture compression schemes can be customized under any platforms through judging whether each to-be-processed texture needs to separate the alpha information to perform the corresponding compression processing, texture compression efficiency can be enhanced, and development costs can be saved.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a texture processing method and device. Background technique [0002] In the 3D rendering of image processing, the expressiveness is generally improved by applying a large number of large textures, but fine textures also bring correspondingly large memory overhead. At present, the commonly used texture formats mainly include bmp, tga, png, jpg, dds, tif, gif, exr, etc. These data need to be softly decompressed by the CPU into the corresponding pixel format (such as A8R8G8B8), and then transferred to the GPU for use. A 1024*1024 A8R8G8B8 texture format generally requires 4M capacity (setting Mipmap will increase the size by 33%). Mipmap is a commonly used technique in texture rendering of 3D graphics. In order to speed up rendering and reduce image aliasing, textures are processed into files consisting of a series of pre-calculated and optimized images. Such textures are called Mi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T15/04G06T15/20
CPCG06T15/04G06T15/20G06T15/205
Inventor 杨志敏
Owner 上海银河数娱网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products