Tracing a line

I was wondering if there was anyway to trace the x, y, z coordinates of a line based on your vertices.


It has been a while (used to have to do that with 3d in dos). Find the slope of the line. Find the distance between to 2 vertices, then use interpolation of the slope from one vertex to another.

That soln works, but Breshnam’s line algorithm doesn’t have as many floating point ops per iteration. Actually, it doesn’t have any. its faster. but, eh, those were in the days when people used to count cycles.