Batch Processing Utilities
B
270
Lightscape
LSM2T Syntax Example
This command loads the Solution file room.ls and applies the “Convert each surface to a texture per surface”
conversion method. The existing textures on the model’s geometry are replaced, the mesh is reset, and the
resulting Solution file is saved as output.ls. A series of 128 x 128 texture files are generated using the filename
txtr.jpg combined with an incremental three-digit number for each successive file. The generated images are
antialiased (level 3).
lsm2t -aa 3 -replace -reset -method convert -x 128 -y 128 -o output.ls
room.ls txtr.jpg
-proj
cylindrical
orthographic
spherical
uvs
Projection method. Default = orthographic.
-rb
n
Number of reflection bounces to trace. Default is 10.
-replace
Replace textures on target geometry.
-reset
Reset mesh on target geometry.
-sh
Recompute shadows from lights and sun.
-soft
Compute soft shadows (for sun only).
-v
Verbose. Show status messages.
-x
n
Width of new texture images. Default is 128.
-y
n
Height of new texture images. Default is 128.
Where:
Indicates:
-aa 3
Level 3 antialiasing.
-replace
The textures that exist on the target geometry are replaced with the new textures.
-reset
The mesh on the target geometry is reset.
-method convert
The “Convert each surface to a texture per surface” conversion method is used.
-x 128
The output images are 128 pixels wide.
-y 128
The output images are 128 pixels high.
-o output.ls
The output Solution file is output.ls.
Room.ls
The input Solution file is room.ls.
Option:
Extension:
Description:
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: ......