#Graphics
76645,63,
I've recently written a crude version of Painter's algorithm as part of a
3d perspective modeling program (using QC). In concept, it simply sorts
shapes in an array by their back plane, then fills them from back to front
to build up a 3d image. I'd like to see your implementation and I'll
gladly send you my code (it's too much to post here, about 44k of C and
some .ASM for the plotting). I wrote and compiled specifically for a 286,
EGA, and a co-processor, but it could be adapted. My real interest is in
developing a PC implementation for ray tracing of architectural 'electronic
models' and I have a long way to go.
(To the SL: I'm new around here and don't know the criteria for the
library, but I'd be glad to upload if there is any general interest in this
sort of stuff. The code works well but is FAR from professional as I've
just learned C and a little Assembly this past year.)
Lowell Warren