Subject:
|
Re: Fractal Landscape Generator
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Mon, 26 Jul 1999 11:44:58 GMT
|
Viewed:
|
851 times
|
| |
| |
Alan Bell (alanbell@freeuk.com) wrote:
> Hi, I am having a little trouble with the Fractal Landscape
> generator, I have managed to the create the greyscale image
> but I am stuck when it comes to changed this into a dat
> file using. Could some please elaborate on the short
> command line help?
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/> --
------------------------------------------------
|
|
Message has 1 Reply: | | Re: Fractal Landscape Generator
|
| In lugnet.cad, Jacob Sparre Andersen writes: <snip> (...) Thanks, it seems i did not use the piping symbols ">" and "<" correctly. Thanks, Alan Bell (25 years ago, 28-Jul-99, to lugnet.cad)
|
Message is in Reply To:
| | Fractal Landscape Generator
|
| Hi, I am having a little trouble with the Fratcal Landscape generater, I have managed to the create the greyscale image but I am stuck when it comes to changed this into a dat file using. Could some please elaborate on the short command line help? (...) (25 years ago, 19-Jul-99, to lugnet.cad)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|