|
|||||||||||||||
Julekalender for
nørder
I dag tillader jeg mig at være lidt doven; I må nøjes med at læse brugsanvisningen til LDGLite:
NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
NOTES
BUGS
FILES
AUTHORS

|
ldglite − Display (LEGO) brick models |
|
ldglite [ −xpq ] [ −aorientation ] [ −eoffset ] [ −fh ] [ −fs ] [ −itype ] [ −lparser ] [ −mmode ] [ −ox,y ] [ −ux,y ] [ −vsize ] [ −wwidth ] file ... | -- |
|
ldglite reads a file (or standard input if ‘‘−−’’ is specified) containing a (LEGO) brick model i LDRAW DAT format and displays the model. |

|
ldglite takes the following options |
|
−aorientation |
|
Nine comma-separated floating point numbers, which make up a matrix used for scaling and rotating the presented model. The default is <1,0,1,0.5,1,-0.5,-1,0,1>. |
|
−eoffset |
|
Fixes polyline offset driver errors. Try -e0.95 if lines look bad. |
|
−fh |
Turns on shading mode. |
|||
|
−fs |
Turns off stud drawing. (l3glite only) |
|||
|
−isize |
Picks output image type. |
|
1 for PNG. |

|
−lparser |
|
Select parser, use d for the ldlite parser, or 3 for the l3 parser. e starts the program in LEDIT emulation mode, E starts the program in LEDIT emulation mode with soild moving pieces. −ledit or -LEDIT do the same but with draw-to-current and stud-as-line on. |
|
−mmode |
Picks operation mode. |
|
p for pause at each step. |
|
−ox,y |
Changes the centre of the picture. The value for <x> moves across and the value for <y> moves down. |
||
|
−p |
Turns on polling mode. |
||
|
−q |
Quality lines (antialiased) |
||
|
−ux,y |
Saves a huge output image from window sized tiles. (see notes below) |
||
|
−vsize |
Picks the window size. |

|
-2 for fullscreen gamemode (no menus). |
|
−wwidth |
|
Set line width. |
|
−x |
Displays the x,y,z axis. |
|
/usr/share/doc/ldglite/readme.txt |

|
You should set the environment variable LDRAWDIR to a directory containing the basic ldraw files. A click on the right mouse button gives a menu. Use -uX,Y on the command line to build and save an image larger than the screen made out of several tiles, each the size of the ldglite window. This can be used in combination with the -w option for wide lines and/or the -q switch for antialiased lines to generate high quality instructions. Currently this dumps PPM files instead of BMP files. PNG works, but transparent backgrounds and cropping are not supported in tiled mode. Ldglite automatically exits after saving the images (much like the -MS mode). The following command renders the model in double size and saves a 2000 by 2000 PNG file. It uses the l3 parser so it only has to parse the mpd file once for the multiple rendering passes required for the tiles. ldglite -l3 -i2 -s2 -w2 -u2000,2000 model.mpd |

|
This manual page is based on an old version of ldglite (0.8 I think). |
|
/usr/share/doc/ldglite/readme.txt.gz |
|
Ldglite is written by: |
|
Don Heyse <dheyse@hotmail.com> |
|
This manual page was written by Henrik Christian Grove |
|
<grove@sslug.dk>, for the Debian GNU/Linux system (but may be used by others). |
|
Manual page partially based on parts of the readme.txt file in the source distribution. |
Næste del af historien kommer så snart Strandnissen får tid til at skrive den.
|
||||||||||||||
|
||||||||||||||