Produce 1080p tiff files

This commit is contained in:
eugene 2021-11-25 20:12:59 +01:00
parent 5c876abfa6
commit 7d0927d652
2 changed files with 3 additions and 4 deletions

View File

@ -8,7 +8,8 @@
/* line to nils.berglund@univ-orleans.fr - Thanks! */
/* */
/* compile with */
/* gcc -o drop_billiard drop_billiard.c -O3 -L/usr/X11R6/lib -ltiff -lm -lGL -lGLU -lX11 -lXmu -lglut */
/* gcc -o drop_billiard drop_billiard.c */
/* -O3 -L/usr/X11R6/lib -ltiff -lm -lGL -lGLU -lX11 -lXmu -lglut */
/* */
/* */
/* To make a video, set MOVIE to 1 and create subfolder tif_drop */
@ -116,9 +117,7 @@
#define BLACK 1 /* set to 1 for black background */
#define COLOR_OUTSIDE 1 /* set to 1 for colored outside */
// #define COLOR_OUTSIDE 0 /* _eux */
#define OUTER_COLOR 300.0 /* color outside billiard */
// #define OUTER_COLOR 0.0 //_eux
#define PAINT_INT 0 /* set to 1 to paint interior in other color (for polygon) */
#define PAINT_EXT 1 /* set to 1 to paint exterior of billiard */

View File

@ -190,7 +190,7 @@ void save_frame()
strcat(n2, ".tif");
printf(" saving frame %s \n",n2);
// mod by eux - chose on of the following according to the comment beside.
// mod by eux - chose one of the following according to the comment beside.
writetiff(n2, "Billiard in an ellipse", 0, 0, WINWIDTH, WINHEIGHT-40, COMPRESSION_LZW); /* to use with 1080p in drop_billiard.c- probably the best because it's
generating 1080p image, lighter, and then cropping those 40 pixels to
avoid the strange band*/