Texture coordinate calculation method and device

A technology of texture coordinates and calculation methods, applied in the field of game scene processing, can solve problems such as low calculation accuracy, affecting player's sensory experience, mapping errors, etc., to achieve high calculation accuracy, improve player's sensory experience, and reduce the effect of mapping error rate.

Active Publication Date: 2021-03-30
BEIJING PIXEL SOFTWARE TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the commonly used texture coordinate calculation method is to calculate the texture coordinates according to the distance from the points on the grid to the surrounding cut planes when the road model is meshed. The calculation accuracy of this calculation method is not high, and it needs to be divided The overall shape of the grid is in a very regular state, otherwise the texture coordinates of different points in the grid cannot be calculated, and mapping errors are likely to occur during texture mapping, which will affect the player's sensory experience

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 coordinate calculation method and device
  • Texture coordinate calculation method and device
  • Texture coordinate calculation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0026] Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art wi...

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

An embodiment of the invention provides a texture coordinate calculation method and device. The method includes acquiring space coordinates of different vertexes and different distribution points in each grid quadrangle corresponding to a road model in a current game scene; based on the space coordinates of different vertexes and different distribution points in the same grid quadrangle, performing calculation on transformation coefficients in a transformation equation of the different distribution points between space coordinates and texture coordinates; according to the transformation equation and the acquired transformation coefficients corresponding to the different distribution points, calculating texture coordinates of the distribution points in a road texture mapping. The method provided by the invention is high in calculation precision. The texture coordinates of different points in an grid quadrangle of any shape can be calculated accurately, mapping error rate can be reducedand sensation experience of players can be improved.

Description

technical field [0001] The present invention relates to the technical field of game scene processing, in particular to a method and device for calculating texture coordinates. Background technique [0002] In 3D games, the road is an important part of the game scene, and the road generation needs to obtain the texture coordinate data of the road model on the corresponding road texture map, so as to map each texel in the road texture map to the road model at the corresponding position on the map to complete the road generation process. Among them, how to obtain high-precision texture coordinate data is an extremely important issue. [0003] In the prior art, the commonly used texture coordinate calculation method is to calculate the texture coordinates according to the distance from the points on the grid to the surrounding cut planes when the road model is meshed. The calculation accuracy of this calculation method is not high, and it needs to be divided The overall shape ...

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): G06T17/05G06T17/30A63F13/52
CPCA63F2300/60A63F13/52G06T17/05G06T17/30
Inventor 吕天胜
Owner BEIJING PIXEL SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products