ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/rpiece.c
Revision 2.66 - (view) (download) (annotate) - [select for diffs]
Thu Sep 12 23:14:32 2024 UTC (7 weeks ago) by greg
Branch: MAIN
CVS Tags: HEAD
Changes since 2.65: +2 -1 lines
Diff to previous 2.65 , to selected 2.35
feat(rpiece): Added TGRID= line giving tiling

Revision 2.65 - (view) (download) (annotate) - [select for diffs]
Wed Aug 21 16:18:54 2024 UTC (2 months, 1 week ago) by greg
Branch: MAIN
Changes since 2.64: +1 -3 lines
Diff to previous 2.64 , to selected 2.35
chore: Minor compiler warning fixes

Revision 2.64 - (view) (download) (annotate) - [select for diffs]
Wed Jul 3 17:18:17 2024 UTC (3 months, 4 weeks ago) by greg
Branch: MAIN
Changes since 2.63: +5 -1 lines
Diff to previous 2.63 , to selected 2.35
fix(rpiece): Added check for unsupported -S option

Revision 2.63 - (view) (download) (annotate) - [select for diffs]
Wed Jul 3 17:06:57 2024 UTC (3 months, 4 weeks ago) by greg
Branch: MAIN
Changes since 2.62: +2 -1 lines
Diff to previous 2.62 , to selected 2.35
fix(rpiece): Added -pm 0 override, since motion blur would mess up tiles

Revision 2.62 - (view) (download) (annotate) - [select for diffs]
Mon Jun 3 18:55:51 2024 UTC (4 months, 4 weeks ago) by greg
Branch: MAIN
Changes since 2.61: +3 -3 lines
Diff to previous 2.61 , to selected 2.35
refactor: Changed buffer types in process(), readbuf(), writebuf()

Revision 2.61 - (view) (download) (annotate) - [select for diffs]
Fri Nov 17 20:36:50 2023 UTC (11 months, 2 weeks ago) by greg
Branch: MAIN
Changes since 2.60: +13 -1 lines
Diff to previous 2.60 , to selected 2.35
fix(rpiece): added fortification against rpict -pc, -pXYZ options

Revision 2.60 - (view) (download) (annotate) - [select for diffs]
Tue Jul 11 02:22:30 2023 UTC (15 months, 3 weeks ago) by greg
Branch: MAIN
CVS Tags: rad5R4
Changes since 2.59: +2 -1 lines
Diff to previous 2.59 , to selected 2.35
fix(rpiece): Added PRIMARIES= to header to match rpict more closely

Revision 2.59 - (view) (download) (annotate) - [select for diffs]
Wed Jan 12 21:07:39 2022 UTC (2 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.58: +12 -48 lines
Diff to previous 2.58 , to selected 2.35
refactor: created cropview() function to manage view sections

Revision 2.58 - (view) (download) (annotate) - [select for diffs]
Fri Feb 28 05:18:49 2020 UTC (4 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad5R3
Changes since 2.57: +2 -1 lines
Diff to previous 2.57 , to selected 2.35
Added filtering capabilities to Unix version of open_process()

Revision 2.57 - (view) (download) (annotate) - [select for diffs]
Tue Aug 21 17:46:09 2018 UTC (6 years, 2 months ago) by greg
Branch: MAIN
CVS Tags: rad5R2
Changes since 2.56: +2 -2 lines
Diff to previous 2.56 , to selected 2.35
Clarified wording on warning

Revision 2.56 - (view) (download) (annotate) - [select for diffs]
Thu Dec 5 03:02:56 2013 UTC (10 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2, rad4R2P1, rad4R2P2, rad5R0, rad5R1
Changes since 2.55: +5 -5 lines
Diff to previous 2.55 , to selected 2.35
Fixed bug where -R option would cause finished pieces to be re-rendered

Revision 2.55 - (view) (download) (annotate) - [select for diffs]
Fri Nov 8 18:08:07 2013 UTC (10 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.54: +11 -7 lines
Diff to previous 2.54 , to selected 2.35
Minor fixes that should not affect operation

Revision 2.54 - (view) (download) (annotate) - [select for diffs]
Fri Jun 1 22:55:14 2012 UTC (12 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.53: +10 -2 lines
Diff to previous 2.53 , to selected 2.35
Added number of processes control to trad

Revision 2.53 - (view) (download) (annotate) - [select for diffs]
Sat Jan 21 22:04:02 2012 UTC (12 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.52: +20 -3 lines
Diff to previous 2.52 , to selected 2.35
Added warning about altered output resolution

Revision 2.52 - (view) (download) (annotate) - [select for diffs]
Fri May 28 22:36:19 2010 UTC (14 years, 5 months ago) by greg
Branch: MAIN
CVS Tags: rad4R1
Changes since 2.51: +2 -1 lines
Diff to previous 2.51 , to selected 2.35
Added date to rpiece header output

Revision 2.51 - (view) (download) (annotate) - [select for diffs]
Mon May 17 17:03:53 2010 UTC (14 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.50: +8 -2 lines
Diff to previous 2.50 , to selected 2.35
Prevent use of -pm option, which can mess up results

Revision 2.50 - (view) (download) (annotate) - [select for diffs]
Sat Feb 7 05:40:47 2009 UTC (15 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad4R0
Changes since 2.49: +2 -2 lines
Diff to previous 2.49 , to selected 2.35
Added missing newline to error statement

Revision 2.49 - (view) (download) (annotate) - [select for diffs]
Thu Apr 24 10:28:25 2008 UTC (16 years, 6 months ago) by schorsch
Branch: MAIN
CVS Tags: rad3R9
Changes since 2.48: +3 -2 lines
Diff to previous 2.48 , to selected 2.35
More fixes for mingw build/install.

Revision 2.48 - (view) (download) (annotate) - [select for diffs]
Tue Mar 11 02:21:47 2008 UTC (16 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.47: +23 -11 lines
Diff to previous 2.47 , to selected 2.35
Added planisphere view type (-vts option) as requested by Axel Jacobs

Revision 2.47 - (view) (download) (annotate) - [select for diffs]
Wed Aug 22 18:46:36 2007 UTC (17 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.46: +2 -2 lines
Diff to previous 2.46 , to selected 2.35
Fixed bug in bug fix...

Revision 2.46 - (view) (download) (annotate) - [select for diffs]
Wed Aug 22 17:49:54 2007 UTC (17 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.45: +5 -1 lines
Diff to previous 2.45 , to selected 2.35
Added error check for -X exceeding -y (or -Y exceeding -y)

Revision 2.45 - (view) (download) (annotate) - [select for diffs]
Sat Oct 23 18:55:53 2004 UTC (20 years ago) by schorsch
Branch: MAIN
CVS Tags: rad3R6P1, rad3R7P1, rad3R7P2, rad3R8
Changes since 2.44: +4 -2 lines
Diff to previous 2.44 , to selected 2.35
Compatibility fixes as suggested by Siegbert Debatin.

Revision 2.44 - (view) (download) (annotate) - [select for diffs]
Tue Jun 8 19:48:31 2004 UTC (20 years, 4 months ago) by greg
Branch: MAIN
CVS Tags: rad3R6
Changes since 2.43: +2 -3 lines
Diff to previous 2.43 , to selected 2.35
Removed redundant #include's and fixed ordering on some headers

Revision 2.43 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 21:36:20 2004 UTC (20 years, 7 months ago) by schorsch
Branch: MAIN
Changes since 2.42: +68 -37 lines
Diff to previous 2.42 , to selected 2.35
Continued ANSIfication.

Revision 2.42 - (view) (download) (annotate) - [select for diffs]
Mon Oct 20 16:01:55 2003 UTC (21 years ago) by greg
Branch: MAIN
Changes since 2.41: +4 -3 lines
Diff to previous 2.41 , to selected 2.35
Included "platform.h" wherever lseek() was called

Revision 2.41 - (view) (download) (annotate) - [select for diffs]
Sun Jul 27 22:12:04 2003 UTC (21 years, 3 months ago) by schorsch
Branch: MAIN
Changes since 2.40: +3 -3 lines
Diff to previous 2.40 , to selected 2.35
Added grouping parens to reduce ambiguity warnings.

Revision 2.40 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 22:30:19 2003 UTC (21 years, 3 months ago) by schorsch
Branch: MAIN
Changes since 2.39: +2 -2 lines
Diff to previous 2.39 , to selected 2.35
Eliminated copystruct() macro, which is unnecessary in ANSI.
Reduced ambiguity warnings for nested if/if/else clauses.

Revision 2.39 - (view) (download) (annotate) - [select for diffs]
Thu Jun 26 00:58:11 2003 UTC (21 years, 4 months ago) by schorsch
Branch: MAIN
Changes since 2.38: +7 -5 lines
Diff to previous 2.38 , to selected 2.35
Abstracted process and path handling for Windows.
Renamed FLOAT to RREAL because of conflict on Windows.
Added conditional compiles for some signal handlers.

Revision 2.38 - (view) (download) (annotate) - [select for diffs]
Sun Jun 8 12:03:11 2003 UTC (21 years, 4 months ago) by schorsch
Branch: MAIN
Changes since 2.37: +2 -2 lines
Diff to previous 2.37 , to selected 2.35
Reduced compile warnings/errors on Windows.

Revision 2.37 - (view) (download) (annotate) - [select for diffs]
Sat Feb 22 02:07:30 2003 UTC (21 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad3R5
Changes since 2.36: +13 -18 lines
Diff to previous 2.36 , to selected 2.35
Changes and check-in for 3.5 release
Includes new source files and modifications not recorded for many years
See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release

Revision 2.36 - (view) (download) (annotate) - [select for diffs]
Thu Jun 18 09:23:49 1998 UTC (26 years, 4 months ago) by gwlarson
Branch: MAIN
Changes since 2.35: +2 -4 lines
Diff to previous 2.35
moved declarations of lseek() and ftell() to standard.h

Revision 2.35 - (view) (download) (annotate) - [selected]
Tue Jul 29 11:27:49 1997 UTC (27 years, 3 months ago) by gregl
Branch: MAIN
Changes since 2.34: +1 -1 lines
Diff to previous 2.34
fixed bug in -pa argument processing

Revision 2.34 - (view) (download) (annotate) - [select for diffs]
Wed May 28 17:22:52 1997 UTC (27 years, 5 months ago) by gregl
Branch: MAIN
Changes since 2.33: +5 -3 lines
Diff to previous 2.33 , to selected 2.35
fix for Alpha Linux

Revision 2.33 - (view) (download) (annotate) - [select for diffs]
Tue May 20 11:54:55 1997 UTC (27 years, 5 months ago) by gregl
Branch: MAIN
Changes since 2.32: +2 -2 lines
Diff to previous 2.32 , to selected 2.35
fixed transference of view shift and lift parameters

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Thu Nov 30 14:21:48 1995 UTC (28 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.31: +9 -4 lines
Diff to previous 2.31 , to selected 2.35
added VT_CYL view type to rpiece() routine

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Thu Nov 30 09:26:20 1995 UTC (28 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.30: +9 -1 lines
Diff to previous 2.30 , to selected 2.35
added -T option to limit execution time

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Mon Apr 11 14:44:10 1994 UTC (30 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.29: +4 -0 lines
Diff to previous 2.29 , to selected 2.35
added check for memory error in rvrpiece()

Revision 2.29 - (view) (download) (annotate) - [select for diffs]
Mon Feb 28 09:22:32 1994 UTC (30 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.28: +2 -1 lines
Diff to previous 2.28 , to selected 2.35
added newheader() call

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Tue Oct 19 16:02:39 1993 UTC (31 years ago) by greg
Branch: MAIN
Changes since 2.27: +5 -2 lines
Diff to previous 2.27 , to selected 2.35
fixed bug in opening non-existent sync file
added lock failure report

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Mon Oct 18 13:17:47 1993 UTC (31 years ago) by greg
Branch: MAIN
Changes since 2.26: +1 -1 lines
Diff to previous 2.26 , to selected 2.35
removed use of hpux for sighold() and sigrelse(), linking problem

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Sat Aug 7 08:43:32 1993 UTC (31 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.25: +19 -15 lines
Diff to previous 2.25 , to selected 2.35
fixed minor bug in nextpiece() and improved error detection and reporting

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Fri Aug 6 17:19:52 1993 UTC (31 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.24: +109 -40 lines
Diff to previous 2.24 , to selected 2.35
added -R option to recover incomplete picture

Revision 2.24 - (view) (download) (annotate) - [select for diffs]
Fri Aug 6 12:58:43 1993 UTC (31 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.23: +4 -0 lines
Diff to previous 2.23 , to selected 2.35
added mention of piece beginning to verbose output

Revision 2.23 - (view) (download) (annotate) - [select for diffs]
Wed Aug 4 13:20:45 1993 UTC (31 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.22: +36 -18 lines
Diff to previous 2.22 , to selected 2.35
fixed bug in rpict resolution setting and changed -x and -y to full resolution

Revision 2.22 - (view) (download) (annotate) - [select for diffs]
Wed Aug 4 10:08:47 1993 UTC (31 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.21: +7 -0 lines
Diff to previous 2.21 , to selected 2.35
added option expansion

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Fri Jun 4 17:03:29 1993 UTC (31 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.20: +0 -1 lines
Diff to previous 2.20 , to selected 2.35
removed declaration of fgets()

Revision 2.20 - (view) (download) (annotate) - [select for diffs]
Tue May 4 09:30:27 1993 UTC (31 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.19: +5 -5 lines
Diff to previous 2.19 , to selected 2.35
made rpiece hold off on verbose reporting until piece is written

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Sat Apr 17 13:13:58 1993 UTC (31 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.18: +5 -4 lines
Diff to previous 2.18 , to selected 2.35
made lock boundaries tighter for output file

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Fri Apr 16 12:03:59 1993 UTC (31 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.17: +15 -2 lines
Diff to previous 2.17 , to selected 2.35
added signal blocking for SYSV during freadcolrs() call

Revision 2.17 - (view) (download) (annotate) - [select for diffs]
Sat Feb 20 17:07:35 1993 UTC (31 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.16: +1 -1 lines
Diff to previous 2.16 , to selected 2.35
changed format of sync to avoid trailing characters

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Fri Jan 29 11:56:09 1993 UTC (31 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.15: +15 -0 lines
Diff to previous 2.15 , to selected 2.35
put in conditional compilation for systems without NFS lock manager

Revision 2.15 - (view) (download) (annotate) - [select for diffs]
Thu Jan 21 17:46:31 1993 UTC (31 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.14: +9 -6 lines
Diff to previous 2.14 , to selected 2.35
minor bug fixes and changes for -PP option

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Wed Dec 2 17:07:00 1992 UTC (31 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.13: +2 -1 lines
Diff to previous 2.13 , to selected 2.35
added ability to create synchronization file if nonexistent

Revision 2.13 - (view) (download) (annotate) - [select for diffs]
Thu Nov 12 10:13:35 1992 UTC (31 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.12: +2 -2 lines
Diff to previous 2.12 , to selected 2.35
minor bug fix for compilers that don't handle variable arguments

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Fri Aug 21 12:31:27 1992 UTC (32 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.11: +13 -0 lines
Diff to previous 2.11 , to selected 2.35
added NFS define for multiprocessor systems w/o NFS

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Sun Aug 9 23:05:17 1992 UTC (32 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.10: +30 -29 lines
Diff to previous 2.10 , to selected 2.35
slight optimization in rpiece()

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Sun Aug 9 18:09:46 1992 UTC (32 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.9: +13 -13 lines
Diff to previous 2.9 , to selected 2.35
minor improvements

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Sun Aug 9 13:31:30 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.8: +50 -19 lines
Diff to previous 2.8 , to selected 2.35
added process forking

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Sun Aug 9 12:12:48 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.7: +45 -34 lines
Diff to previous 2.7 , to selected 2.35
improved locking with use of local buffer for picture piece

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Sat Aug 8 18:47:39 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.6: +8 -1 lines
Diff to previous 2.6 , to selected 2.35
added lock calls to get around NFS bug in writing adjacent blocks

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Fri Aug 7 11:34:27 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.5: +9 -2 lines
Diff to previous 2.5 , to selected 2.35
added SIGALRM handling for graceful bowing out

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Fri Aug 7 11:05:30 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.4: +67 -10 lines
Diff to previous 2.4 , to selected 2.35
added -F option for sync file

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Thu Aug 6 18:49:40 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.3: +3 -3 lines
Diff to previous 2.3 , to selected 2.35
fixed default setting of -pa

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Thu Aug 6 17:56:40 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.2: +10 -5 lines
Diff to previous 2.2 , to selected 2.35
added missing -vth type

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Thu Aug 6 17:16:29 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.1: +2 -0 lines
Diff to previous 2.1 , to selected 2.35
added version string to output

Revision 2.1 - (view) (download) (annotate) - [select for diffs]
Thu Aug 6 16:45:01 1992 UTC (32 years, 3 months ago) by greg
Branch: MAIN
Diff to selected 2.35
Initial revision

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a