Batch Processing Utilities
B
278
Lightscape
the energy values to color information. In other words, the value of a pixel computed by lsrayf is the luminance
at the surface point visible through the pixel and in the direction of the viewer.
The lsrayf program takes as input any Solution file and generates an appropriate image file. It is also possible to
produce a series of image files, corresponding to a list of view files, or an animation file. Textures, if present, are
loaded using the current texture path list.
Unlike lsray, the
-b
and
-rgb
options control the format of the output so any file extension can be used for
image_file
.
To ray trace images using the lsrayf utility:
1.
Choose Start | Programs | MS-DOS Prompt.
A DOS window appears.
2.
At the command line, type the following, then press Enter:
CD “PROGRAM FILES\LIGHTSCAPE\BIN”
Note:
If the path to the Lightscape application files differs from above, enter it instead.
3.
Using the following syntax, type a command at the command line, then press Enter:
lsrayf [options] solution_file image_file
Note:
You can also use a batch file to create a sequence of commands. For instance, you could create ray-
traced image files from multiple Lightscape Solution files.
The ray tracing utility creates an image file from the specified Lightscape Solution file.
Description of LSRAYF Options
The following table describes the options available for this utility:
Option
Extension
Description
-aa
1-10
Antialiasing factor. Higher factors result in higher image quality, but take more
computation time. Default is 1. See Chapter 14, “Rendering,” for more infor-
mation.
-aaa
t n r
Antialiasing threshold, sampling level, and radius. See Chapter 14, “Render-
ing,” for more information.
-af
filename
Animation file. Ray trace all frames specified in the animation file. The image
filename is used as the base name and a decimal four-digit number, corre-
sponding to the frame number, is appended for each image file, for example,
anim0000.rgb, anim0001.rgb, and so on.
-alls
Compute shadows from all layers. Default: as specified in the Solution file.
Summary of Contents for LIGHTSCAPE
Page 1: ...SULO 4 31 93 36034333308355 LJKWVFDSH...
Page 18: ...NOTES 10...
Page 110: ...NOTES 102...
Page 136: ...NOTES 128...
Page 166: ...NOTES 158...
Page 176: ...NOTES 168...
Page 202: ...NOTES 194...
Page 210: ...NOTES 202...
Page 248: ...NOTES 240...
Page 294: ...NOTES 286...
Page 308: ...NOTES 300...
Page 316: ...NOTES 308...
Page 324: ...NOTES 316...
Page 342: ...Glossary 334 Lightscape...
Page 360: ...Index ix 352 Lightscape...
Page 362: ......