Scene model surface texture superposition method and device based on UV mapping

A surface texture and scene model technology, applied in 3D image processing, image data processing, instruments, etc., can solve the problems of poor rendering effect, texture sticking and coverage, etc., and achieve the effect of improving rendering effect

Pending Publication Date: 2022-06-03
FUJIAN SHUBO INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the existing technology, in the process of superimposing the surface texture of the mode

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
  • Scene model surface texture superposition method and device based on UV mapping
  • Scene model surface texture superposition method and device based on UV mapping

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] Please refer to figure 1 , a method for superimposing surface textures of scene models based on UV mapping, comprising the steps of:

[0027] S1. Perform full UV processing on the model in the scene to obtain the second set of UVs of the model, and use the second set of UVs as the coordinates of the overlay texture mapping;

[0028] S2, generate a coordinate map of the world space according to the coordinates of the superimposed texture mapping;

[0029] Step S2 includes:

[0030] S21. Convert the second set of UVs to world space, and in the vertex shader, set the position of the second set of UVs in 3D world space uvWorldPos=float3(uv2*2–1,0.5), where uv2*2 -1 is the x and y dimension values ​​of the second set of UVs in world space, and 0.5 is the z dimension value;

[0031] S22. The position of the second set of UVs in the three-dimensional world space is multiplied by the camera's observation matrix and the projection matrix, and then multiplied by the world spac...

Embodiment 2

[0047] Please refer to figure 2 , a scene model surface texture superposition device 1 based on UV mapping, comprising a memory 2, a processor 3 and a computer program stored in the memory 2 and running on the processor 3, when the processor 3 executes the program Implement each step in the first embodiment.

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 provides a scene model surface texture superposition method and device based on UV mapping, and the method comprises the steps: carrying out the full-expansion UV processing of a model in a scene, obtaining a second set of UV of the model, and enabling the second set of UV to serve as the coordinates of the superposition texture mapping; generating a coordinate map of a world space according to the coordinates of the superimposed texture mapping; according to the method, a coordinate map is obtained, a superposition texture mask map is generated according to the coordinate map and parameters required for texture superposition, superposition texture drawing is performed on a model in a scene, and a second set of UV is generated by using a full-display scene model, so that UV map mapping of a world coordinate space is realized, the map can cover the surface of the model in a fitting manner, and the rendering effect is improved.

Description

technical field [0001] The invention relates to the field of computer graphics, in particular to a method and device for superimposing surface textures of scene models based on UV mapping. Background technique [0002] In the prior art, in the process of superimposing the surface texture of the model, the map cannot be well fitted and covered on the surface of the model, resulting in poor rendering effect. SUMMARY OF THE INVENTION [0003] (1) Technical problems to be solved [0004] In order to solve the above problems of the prior art, the present invention provides a method and device for superimposing surface textures of a scene model based on UV mapping, which can make the texture well fit and cover the surface of the model and improve the rendering effect. [0005] (2) Technical solutions [0006] In order to achieve the above object, a kind of technical scheme adopted in the present invention is: [0007] A method for superimposing surface textures of scene model...

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/04
CPCG06T15/04
Inventor 林进浔黄明炜郑福王巧华林进津
Owner FUJIAN SHUBO INFORMATION TECH CO LTD
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