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

Comparing ray/src/hd/rhcopy.c (file contents):
Revision 3.28 by greg, Wed May 3 18:05:15 2017 UTC vs.
Revision 3.30 by greg, Thu Aug 2 18:33:42 2018 UTC

# Line 101 | Line 101 | holheadline(           /* check holodeck header line */
101          void    *vhf
102   )
103   {
104 <        char    fmt[32];
104 >        char    fmt[MAXFMTLEN];
105          int     *hf = vhf;
106  
107          if (formatval(fmt, s)) {
# Line 398 | Line 398 | addpicz(               /* add a picture + depth-buffer */
398                          error(USER, errmsg);
399                  }
400                  for (i = scanlen(&prs); i--; ) {        /* do each pixel */
401 +                        if (zscn[i] <= 0.0)
402 +                                continue;               /* illegal depth */
403                          pix2loc(vl, &prs, i, j);
404                          aftd = viewray(ro, rd, &phd.vw, vl[0], vl[1]);
405                          if (aftd < -FTINY)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines