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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user