Converting Solution Files to VRML Files Using LS2VRML
271
❚❘❘
Converting Solution Files to VRML Files Using LS2VRML
You can use the ls2vrml utility to convert a Lightscape Solution file (.ls) to a VRML version 1.0c file. The ls2vrml
utility syntax is shown in the following example:
ls2vrml [options] solution_file
To use the ls2vrml utility:
1.
Choose Start | Programs | MS-DOS Prompt.
A DOS shell appears.
2.
At the command line, type the following, then press Enter:
CD “\PROGRAM FILES\LIGHTSCAPE\BIN”
Note:
(f the path to the Lightscape application files differs from the above, enter it instead then press Enter.
3.
Using the following syntax, type a command at the command line, then press Enter:
ls2vrml [options] solution_file
The Lightscape Solution file is converted to a VRML version 1.0c 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.
LS2VRML Options
The following table describes the options available for this utility:
txtr.jpg
The name for the generated texture files, combined with an incremental three-digit
number for each successive file.
Option:
Extension:
Description:
-a
Include active layers only.
-bf
n1,n2,n3 ...
Hierarchy subdivision branching factors. Must be integers which are greater
than or equal to 2. Lightscape uses the subdivision when creating inline nodes.
It initially subdivides the model into a 3D grid n
1
xn
1
xn
1
. The system associates
surfaces that fall completely within a grid node with that node. Grid nodes
themselves can be further subdivided into n
2
xn
2
xn
2
subnodes and so on. The
default is one level. For more information, see “Exporting VRML Files” on page
245.
-c
Do not compact file. The default is to compact the VRML file, resulting in
smaller file sizes at the expense of some precision and readability.
Where:
Indicates:
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: ......