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

Comparing ray/src/hd/rholo2l.c (file contents):
Revision 3.22 by greg, Wed Jan 22 17:41:10 2025 UTC vs.
Revision 3.24 by greg, Thu Feb 6 03:54:32 2025 UTC

# Line 59 | Line 59 | start_rtrace(void)                     /* start rtrace process */
59                  rtargv[rtargc++] = "-I-";
60                  rtargv[rtargc++] = "-h-";
61                  rtargv[rtargc++] = "-ld-";
62 <                rtargv[rtargc++] = "-co-";
62 >                rtargv[rtargc++] = "-pRGB";
63                  sprintf(buf1, "%d", RPACKSIZ);
64                  rtargv[rtargc++] = "-x"; rtargv[rtargc++] = buf1;
65                  rtargv[rtargc++] = "-y"; rtargv[rtargc++] = "0";
# Line 81 | Line 81 | start_rtrace(void)                     /* start rtrace process */
81                          error(SYSTEM, "cannot start rtrace process");
82                  n = psiz/(RPACKSIZ*6*sizeof(float)) + 1;
83                  if (!maxqlen) {
84 <                        if (!(maxqlen = n))
85 <                                error(INTERNAL,
86 <                                        "bad pipe buffer size assumption");
84 >                        maxqlen = n;
85                          sleep(2);
86                  } else if (n != maxqlen)
87                          error(INTERNAL, "varying pipe buffer size!");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines