ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/rc2.c
(Generate patch)

Comparing ray/src/rt/rc2.c (file contents):
Revision 2.9 by greg, Thu May 29 04:56:43 2014 UTC vs.
Revision 2.10 by greg, Fri May 30 16:05:52 2014 UTC

# Line 145 | Line 145 | getostream(const char *ospec, const char *mname, int b
145                          if (outfmt != 'a')
146                                  SET_FILE_BINARY(stdout);
147                          if (header) {
148 <                                sprintf(info, "NCOLS=%d\n", stdos.reclen);
148 >                                sprintf(info, "NCOLS=%d\nNCOMP=3\n",
149 >                                                stdos.reclen);
150                                  printheader(stdout, info);
151                          }
152                          printresolu(stdout, xres, yres);
# Line 207 | Line 208 | getostream(const char *ospec, const char *mname, int b
208                                  sprintf(cp, "BIN=%d\n", bn);
209                                  while (*cp) ++cp;
210                          }
211 <                        sprintf(cp, "NCOLS=%d\n", sop->reclen);
211 >                        sprintf(cp, "NCOLS=%d\nNCOMP=3\n", sop->reclen);
212                          printheader(sop->ofp, info);
213                  }
214                  if (accumulate > 0) {           /* global resolution */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines