Unlock instant, AI-driven research and patent intelligence for your innovation.

A way to combine textures during model drawing

A texture and model technology, applied in the field of merging textures, can solve the problem of low usage rate, achieve the effect of reducing extra space and improving execution efficiency

Active Publication Date: 2017-12-12
ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As used in a model figure 1 For the wireframe parts in the three posters shown, if you need to open these three maps and only use the content marked in the wireframe part, you need to open the three pictures separately and read the content of the wireframe part, you can see low utilization rate

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
  • A way to combine textures during model drawing
  • A way to combine textures during model drawing
  • A way to combine textures during model drawing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The invention provides a method for merging textures in the process of drawing models. There are two resources of models and textures in the system using the method. The model retains the three-dimensional data of the objects to be drawn, and all models have a unique ID value, which can be the name of the model or the hash value of the model name. Textures are two-dimensional data covered on the surface of the model. Models need to load textures before the drawing process. In this system, one model corresponds to multiple textures, and one texture can also be used by multiple models. During the process of loading textures, the required multiple texture names and block location information will be passed in, which are specifically expressed as {texture name, x, y, w, h}, where the texture name is the file name or the hash of the file name Value, {x, y, w, h} is the location information of the block, where x, y are the coordinates of the location to be loaded, and w, h a...

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 discloses a method for combining maps in a drawing process of a model. Namely, information in multiple maps used in the model is dynamically combined into one map, combination logic can be triggered and multiple maps are accessed only when the maps are loaded for the first time, all that is needed is to extract corresponding map data from one map in following access, fragmentation access is reduced, and the performance of programs is improved. With the adoption of the method, multiple maps separately loaded by one model are combined into the large map, the relation between the model and the combined map is maintained well, opening times of files in the loading process of the maps and extra space needed in the reading process are reduced, meanwhile, fragmentary maps can be reduced, and the execution efficiency of the programs is improved.

Description

technical field [0001] The invention relates to a method for merging textures during model drawing. Background technique [0002] In the game, a model often needs to open multiple textures. Some textures are composed of multiple small textures, or parts of multiple textures, such as putting the character's jacket, belt, pants, etc. on different textures. If you use the traditional way, you need to open and load multiple textures, and read a small area on some textures. For graphics cards, fragmented textures will greatly reduce performance; for disks, opening multiple files will also reduce performance and efficiency. As used in a model figure 1 For the wireframe parts in the three posters shown, if you need to open these three maps and only use the content marked in the wireframe part, you need to open the three pictures separately and read the content of the wireframe part, you can see The utilization rate is low. Contents of the invention [0003] In order to solve...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T3/40
CPCG06T3/4038
Inventor 谭贤亮刘畅李翔威梁波
Owner ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD