Subject:
|
Re: Fractal Landscape Generator
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Wed, 28 Jul 1999 20:47:38 GMT
|
Viewed:
|
787 times
|
| |
| |
In lugnet.cad, Jacob Sparre Andersen writes:
<snip>
> If the greyscale image you created is named "hills.pgm" and
> you want the LDraw file to be named "hills.dat" (and you are
> in the right directory) you just run the command:
>
> pgmtoldr < hills.pgm > hills.dat
>
> If you want to set the colour of the landscape to green
> (LDraw colour number 2) you run the command:
>
> pgmtoldr -colour 2 < hills.pgm > hills.dat
>
> If you also want to scale the landscape so it is exactly
> 21 plates (7 bricks) tall the command is:
>
> pgmtoldr -colour 2 -height 21 < hills.pgm > hills.dat
>
> You can also get the program to try to reduce the number of
> bricks it uses to model the landscape:
>
> pgmtoldr -colour 2 -height 21 -minimal < hills.pgm > hills.dat
>
> > Also the image I made was 20 x 20 is the this 20 x 20 studs?
>
> Yes.
>
> Play well,
>
> Jacob
>
> ------------------------------------------------
> -- E-mail: sparre@cats.nbi.dk --
> -- Web...: <URL:http://www.ldraw.org/FAQ/> --
> ------------------------------------------------
Thanks, it seems i did not use the piping symbols ">" and "<" correctly.
Thanks,
Alan Bell
|
|
Message is in Reply To:
| | Re: Fractal Landscape Generator
|
| (...) If the greyscale image you created is named "hills.pgm" and you want the LDraw file to be named "hills.dat" (and you are in the right directory) you just run the command: pgmtoldr < hills.pgm > hills.dat If you want to set the colour of the (...) (25 years ago, 26-Jul-99, to lugnet.cad)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|