ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/rhoptimize.1
Revision: 1.2
Committed: Tue Dec 9 15:59:06 2003 UTC (20 years, 4 months ago) by greg
Branch: MAIN
CVS Tags: rad5R4, rad5R2, rad4R2P2, rad5R0, rad5R1, rad3R7P2, rad3R7P1, rad4R2, rad4R1, rad4R0, rad3R6, rad3R6P1, rad3R8, rad3R9, rad4R2P1, rad5R3, HEAD
Changes since 1.1: +1 -1 lines
Log Message:
Fixed RCSid specification

File Contents

# Content
1 .\" RCSid "$Id$"
2 .TH RHOPTIMIZE 1 1/25/99 RADIANCE
3 .SH NAME
4 rhoptimize - optimize beam locations in holodeck file
5 .SH SYNOPSIS
6 .B rhoptimize
7 [
8 .B \-u
9 ]
10 .B src_holo
11 [
12 .B dest_holo
13 ]
14 .SH DESCRIPTION
15 .I Rhoptimize
16 optimizes beam positions and eliminates fragment waste in the holodeck file
17 .I src_holo,
18 writing the result to
19 .I dest_holo,
20 or back into
21 .I src_holo
22 if only one argument is given.
23 This may improve rendering speed on large holodecks, which tend to have
24 widely dispersed beam positions that cause delays due to long file seeks.
25 It may also reduce the size of the file, since large holodecks become
26 fragmented as they fill up with new ray samples.
27 (Use the
28 .I rhinfo(1)
29 program to determine holodeck file fragmentation.)
30 The
31 .I \-u
32 option adds a check to make sure that each ray sample is unique, i.e., the same sample
33 is never given twice.
34 This check is usually unnecessary, but may eliminate redundant samples from some
35 holodeck files.
36 .SH EXAMPLE
37 To optimize the beam order in old.hdk and write the results to new.hdk:
38 .IP "" .2i
39 rhoptimize old.hdk new.hdk
40 .PP
41 To optimize beam order in scene.hdk:
42 .IP "" .2i
43 rhoptimize scene.hdk
44 .SH NOTES
45 If
46 .I rhoptimize
47 is given only one file argument,
48 it creates a temporary file in the same directory, and moves it onto
49 the original file once it has successfully completed its operation.
50 If the operation fails for some reason, the temporary file is removed
51 and the original holodeck is left unchanged.
52 .PP
53 This program generally takes several minutes to run and offers no progress
54 reports.
55 .SH FILES
56 rho????.hdk temporary file to hold new holodeck
57 .SH AUTHOR
58 Greg Ward Larson
59 .SH ACKNOWLEDGMENT
60 This work was supported by Silicon Graphics, Inc.
61 .SH "SEE ALSO"
62 getinfo(1), pfilt(1), psign(1), rhcopy(1), rhinfo(1), rholo(1), rpict(1)