Rendering method and related device

A rendering method is provided. The distance between a user-defined clip plane (UDCP) and a near plane is calculated, and a buffer is set accordingly. The distance between each vertex of a triangle and the near plane is calculated, and the distance between a pixel in the triangle and the near plane...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: SONG, SHAWN
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A rendering method is provided. The distance between a user-defined clip plane (UDCP) and a near plane is calculated, and a buffer is set accordingly. The distance between each vertex of a triangle and the near plane is calculated, and the distance between a pixel in the triangle and the near plane is calculated according to the distances of respective vertices to the near plane. The distance of the pixel to the near plane is compare with a corresponding value in the buffer. If the distance of the pixel to the near plane is greater than the value, the pixel is not rendered.