| 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)
|