I have a challenge for you graphics peeps. Let's have a thread about it. I'm emulating a GPU that can draw points, lines, triangles, and quads. All are specified with four points, but some are coincident for lower-order shapes. There is no guaranteed order for the points. [1/?]
A) Determine the shape's order (point, line, triangle, quad). B) Order the verts in a way such as to form horizontal spans that can be walked up or down. C) Calculate edge deltas such that horizontal spans can be filled during said walk. Any ideas, folks?
-
-
These are pretty straightforward, though doing it quickly is another story... :)
-
The first step would be to sort the points by Y coordinate.
- Näytä vastaukset
Uusi keskustelu -
-
-
why do I feel like this is a Sega Saturn?
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.