Subject:
|
Re: Question about image generation
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Wed, 9 Nov 2005 00:28:56 GMT
|
Viewed:
|
2427 times
|
| |
| |
On Tue, Nov 08, 2005 at 10:08:04PM +0000, Ross Crawford wrote:
> In lugnet.cad.dev, Dave Schuler wrote:
> > How is an image like this created:
> >
> > http://media.peeron.com/ldraw/images/47/3x/2464.png
> >
> > Specifically, how are the black lines done? Is there a special command, or is
> > it a function of some software platform unfamiliar to me?
>
> Looks to me like its rendered with ldglite, but i could be wrong.
Nope, that's right:
ldglite -a1,0,0,0,1,0,0,0,1 -ld -Q -v3000,3000 -W$scale -S$scale -i2 -MSfilename.png somedat.dat
(I think, it's Steve's code)
--
Dan Boger
dan@peeron.com
|
|
Message has 1 Reply: | | Re: Question about image generation
|
| (...) The key bit is the -W option -- it draws thick lines. The $scale is the width of the line, in pixels. For the ldraw/partsref/peeron images, we use -W3 (but we also set scale to -S3, for a 300% zoom). -Q is supposed to result in higher-quality, (...) (19 years ago, 9-Nov-05, to lugnet.cad.dev)
|
Message is in Reply To:
9 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
|
|
|
|