--- ray/src/hd/rholo4.c 1997/12/16 12:26:04 3.15 +++ ray/src/hd/rholo4.c 1998/05/22 08:30:41 3.18 @@ -13,7 +13,7 @@ static char SCCSid[] = "$SunId$ SGI"; #include #ifndef HDSUF -#define HDSUF ".hdisp" +#define HDSUF ".hdi" #endif static int inp_flags; @@ -53,6 +53,15 @@ char *dname; if (readinp) close(atoi(fd0)); close(atoi(fd1)); + /* check if outside */ + if (vdef(OBSTRUCTIONS) && vbool(OBSTRUCTIONS)) + disp_result(DS_OUTSECT, 0, NULL); + /* send eye separation if specified */ + if (vdef(EYESEP)) { + char fbuf[32]; + sprintf(fbuf, "%.9e", vflt(EYESEP)); + disp_result(DS_EYESEP, strlen(fbuf)+1, fbuf); + } /* write out hologram grids */ for (i = 0; hdlist[i] != NULL; i++) disp_result(DS_ADDHOLO, sizeof(HDGRID), (char *)hdlist[i]);