/* *********************************************************************** * * * Smear Algorithm (Box Filter of Sort) for Smoothing Data * * * * Program by * * Larry Sharp * * * *********************************************************************** */ #include "stdio.h" #include "stdlib.h" #include "dos.h" #include "conio.h" #include "math.h" #include "string.h" #include "math.inc" #include "graph.inc" #include "render.inc" /* *********************************************************************** * * * Program to Smear Data (Box Filter Of Sort) * * * *********************************************************************** */ int i, j, d, d1, d2, d3, d4, d5, d6, d7, d8, d9; Name OF2; void main() { clrscr(); printf("z-Buffer Data correction Program\n\n"); ClearHeightBuffer(); GetObjectFile(); strcpy(OF2, ObjectFile); LoadHeightBuffer(ObjectFile); printf("\nCorrecting Height Buffer\n"); for(j=1; j