ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/Development/ray/src/rt/RpictSimulManager.cpp
(Generate patch)

Comparing ray/src/rt/RpictSimulManager.cpp (file contents):
Revision 2.15 by greg, Sat Jan 25 04:57:27 2025 UTC vs.
Revision 2.18 by greg, Tue Oct 21 16:12:05 2025 UTC

# Line 122 | Line 122 | RpictSimulManager::NewFrame(const VIEW &v, int xydim[2
122                                          // set up tiling?
123          if (tgrid && (tgrid[0] > 0) & (tgrid[1] > 0) & (tgrid[0]*tgrid[1] > 1)) {
124                  if ((8*tgrid[0] >= xydim[0]) | (8*tgrid[1] >= xydim[1])) {
125 <                        error(WARNING, "Excessive tiling for image size");
125 >                        error(WARNING, "excessive tiling for image size");
126                          return false;
127                  }
128                  xydim[0] -= xydim[0] % (tgsize[0] = tgrid[0]);
# Line 706 | Line 706 | RpictSimulManager::NewOutput(FILE *pdfp[2], const char
706          if (frameNo > 0)
707                  fprintf(pdfp[0], "FRAME=%d\n", frameNo);
708          double  pasp = viewaspect(&vw) * GetWidth() / GetHeight();
709 <        if ((0.99 > pasp) | (pasp > 1.01))
709 >        if ((0.995 > pasp) | (pasp > 1.005))
710                  fputaspect(pasp, pdfp[0]);
711          fputnow(pdfp[0]);
712          switch (RDTcolorT(dt)) {                // set primaries and picture format

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)