1
0
mirror of https://github.com/fadden/6502bench.git synced 2026-04-20 19:16:34 +00:00

Implement basic wireframe rendering

We extract the data from the wireframe visualization, perform a
trivial transform, and display it.  The perspective vs.
orthographic flag in the parameters is respected.  (No rotation or
backface removal yet.)

Also, increased the thumbnail sizes in the visualization set editor
list from 48x48 to 64x64, because the nearest-pixel-scaled 48x48
looks nasty when used for wireframes.
This commit is contained in:
Andy McFadden
2020-03-03 19:29:15 -08:00
parent bd0b20dc2f
commit eec847d5f1
8 changed files with 353 additions and 51 deletions
@@ -124,7 +124,9 @@ namespace WireframeTest {
int edge = vw.AddEdge(v0, v1);
vw.AddEdgeFace(edge, f0);
vw.AddEdgeFace(edge, f1);
if (f1 != f0) {
vw.AddEdgeFace(edge, f1);
}
}
while (true) {