A method for eliminating visual errors of two-dimensional vector solid lines in a three-dimensional scene

The invention discloses a method for eliminating visual errors of two-dimensional vector solid lines in a three-dimensional scene, and mainly solves the problems that, in the process where a two-dimensional line symbol is fit and rendered to the surface of a three-dimensional terrain, intermittent d...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIU JIANLONG, GUO XINGCHEN, TAN JUNZHONG, SHE JIANGFENG, TAN XIN
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method for eliminating visual errors of two-dimensional vector solid lines in a three-dimensional scene, and mainly solves the problems that, in the process where a two-dimensional line symbol is fit and rendered to the surface of a three-dimensional terrain, intermittent disappear phenomenon, vector solid line boundary sawtooth deformation phenomenon, and the phenomenon that vector solid line width does not change with zooming of the scene and the like are caused for the reason that the vector solid lines are over-thin. The method comprises the following main steps: carrying out surface shape processing according to vector solid line width; calculating coverage area of screen pixels in the two-dimensional space by utilizing a projection back-calculation method; classifying the pixels according to the spatial position relation of two-dimensional space coverage area of the pixels and a vector solid line surface area, and carrying out multiple-sampling processing on the pixels which are in intersection relation with the surface area boundary of the vector solid lines; judging whether sampling points are in the surface area of the vector solid lines; and determining sampling points according to the judgment result and colouring the sampling points, and using the colour mixation values of the sampling points to replace the screen color cache values of the corresponding pixels.