Virtual model processing method and device, computer equipment and storage medium
The embodiment of the invention discloses a virtual model processing method and device, computer equipment and a storage medium. The method comprises the steps that vertex normal lines of all model vertexes in a preset virtual model and pixel point coordinates of corresponding screen pixel points in...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a virtual model processing method and device, computer equipment and a storage medium. The method comprises the steps that vertex normal lines of all model vertexes in a preset virtual model and pixel point coordinates of corresponding screen pixel points in a screen space are obtained; calculating the coordinates of each pixel point to obtain a gradient offset value corresponding to the vertex of each model; based on a gradient offset value threshold value corresponding to a preset contour point and a gradient offset value corresponding to each model vertex, screening out an edge contour vertex of the preset virtual model; carrying out sampling processing on a preset texture map based on the contour pixel points corresponding to the edge contour vertexes so as to render textures in the preset texture map to the contour pixel points; the model edge contour is determined according to the gradient offset value threshold and the gradient offset value corresponding to eac |
---|