Hey guys,

this is more of a meth question and less of c, but after searching google for a long time I wasn't getting aynwhere.

Basically, I would like to render a 3d wireframe on the screen, WITHOUT LIBRARIES. I want to hack a few functions to draw lines, then use those, along with math, to make, for instance, a grid-plane that I can 'rotate' around, and have the lines stay in perspective.

so really there are two questions here:

1) (main) How can I use "transformation matrices" to move around this grid and keep the lines correct?

2) (insignificant) How can I stick a single pixel on the screen?

I'm not really looking for straight answers, but perhaps some article people might have seen over the years.

Thanks again,