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

Comparing ray/src/rt/RpictSimulManager.h (file contents):
Revision 2.4 by greg, Mon Aug 19 16:41:40 2024 UTC vs.
Revision 2.5 by greg, Wed Aug 21 23:32:24 2024 UTC

# Line 275 | Line 275 | class RpictSimulManager : protected RtraceSimulManager
275                                          frameNo = 0;
276                                  }
277                                  ~RpictSimulManager() {
278 <                                        NewBar();
278 >                                        delete [] barPix; delete [] barDepth;
279                                  }
280                                  /// Load octree and prepare renderer
281          bool                    LoadOctree(const char *octn) {
# Line 381 | Line 381 | class RpictSimulManager : protected RtraceSimulManager
381                                                  const int *tile=NULL);
382                                  /// Render and write a frame to the named file
383                                  /// Include any header lines set prior to call
384 <                                /// Picture file must not already exist
384 >                                /// Picture file must not exist
385                                  /// Write pixels to stdout if !pfname
386                                  /// Write depth to a command if dfname[0]=='!'
387          RenderDataType          RenderFrame(const char *pfname,
# Line 390 | Line 390 | class RpictSimulManager : protected RtraceSimulManager
390                                  /// Resume partially finished rendering
391                                  /// Picture file must exist with valid header
392          RenderDataType          ResumeFrame(const char *pfname,
393 +                                                const char *dfname=NULL);
394 +                                /// Prepare new picture (and depth) output
395 +                                /// Writes current render size as resolution
396 +        RenderDataType          NewOutput(FILE *pdfp[2], const char *pfname,
397 +                                                RenderDataType dt=RDTrgbe,
398 +                                                const char *dfname=NULL);
399 +                                /// Reopen existing picture (and depth) file
400 +                                /// File pointers @ end of header (before res.)
401 +        RenderDataType          ReopenOutput(FILE *pdfp[2], const char *pfname,
402                                                  const char *dfname=NULL);
403                                  /// Close octree, free data, return status
404          int                     Cleanup(bool everything = false) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines