Category : Printer + Display Graphics
Archive   : RAD386.ZIP
Filename : RENDER.H

 
Output of file : RENDER.H contained in archive : RAD386.ZIP
#define VT_PER 'v' /* perspective */
#define VT_PAR 'l' /* parallel */
#define VT_SPL 's' /* Special */

/* Output Format */
#define Rle 0
#define Radiance 1
#define Sunraster 2
#define Raw 3
#define Text 4
extern int output_format;

/* View Format */

#define MAXFRAMES 100
/* #define MAX_DIRECTION_SAMPLES 4 */
/* Shading Type */
#define FLAT 0
#define GOURAUD 1
#define GOURAUD_PLUS 2
/* Render Type */
#define Surface_Only 0
#define Volume_Only 1
#define Surface_n_Volume 2
typedef struct {
int nframes,rows,cols,shading_type,render_type;
Point3 eye_point[MAXFRAMES];
Vector3 view_direction[MAXFRAMES],
delta_u[MAXFRAMES],delta_v[MAXFRAMES];
}ViewParameter;
typedef struct {
double color[MAXCHANNELS];
}Pixel;
extern ViewParameter view;


  3 Responses to “Category : Printer + Display Graphics
Archive   : RAD386.ZIP
Filename : RENDER.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/