Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Re: Chrome Parts
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Thu, 8 Aug 2002 20:03:03 GMT
|
Viewed:
|
783 times
|
| |
| |
In lugnet.cad, Don Heyse writes:
> In lugnet.cad, Steve Bliss writes:
> > Because of a change to the way Partsref images are generated, the silver
> > and gold images dropped in quality from "poor" to "useless". Until I
> > can figure out a way to generate images that actually look right, and
> > are the same size as the other colors, Partsref won't get new gold and
> > silver images.
>
> How do you currently generate the images? Perhaps we could help.
I generate them with LDLite, scaled up 3x, with thick edges. Then I run
them through ImageMagick to reduce by 3x (and convert to gif). Finally, I
'batch convert' them with Paint Shop Pro, because ImageMagick doesn't
compress the gifs (I assume there's a patent/licensing issue between Unisys
and ImageMagick).
It's the 3x reduction that blends the dithered pixels, resulting in smooth
colors. The dithering was supposed to give some indication of the chrome-ness.
It wouldn't be too hard to switch to rendering for some (or all) of the
elements, I suppose. Would probably slow down rendering, because they're
batched up currently, I write a file like:
1 0 0 0 0 1 0 0 0 1 0 0 0 1 3001.dat
0 STEP
0 CLEAR
1 0 0 0 0 1 0 0 0 1 0 0 0 1 3002.dat
0 STEP
0 CLEAR
...
and put 100 parts through LDLite at one system call. If I start using
L3P/POV-Ray/Mega-POV, I assume I'd have to do one part at a time.
I emailed Travis about the possibility of actually producing a chrome-like
finish on parts in LDView, he seemed cautiously optimistic. But I'll let
him explain what he was thinking, if he wants.
Steve
|
|
Message has 4 Replies: | | Re: Chrome Parts
|
| (...) Why don't you try using ldglite for the chrome pieces (or all of them.) It should be a drop in replacement for the ldlite command line, thick edges and all, plus you could do antialiased thick lines with -q. I'm pretty sure I added code to (...) (22 years ago, 8-Aug-02, to lugnet.cad)
| | | Re: Chrome Parts
|
| (...) Looking at the images, it doesn't appear to matter much, but you might get better results if your initial rendering were at 4x (or possibly even 2x). The reason for this is that a 3x3 sample of a checkerboard pattern will result in two (...) (22 years ago, 8-Aug-02, to lugnet.cad)
| | | Re: Chrome Parts
|
| (...) Ouch, I just tried this in ldglite with the following command ldglite foo.ldr -s3 -w3 -MS -q and found not one, but 4 different bugs I have to fix. 1. I need to increase the calculated image extents by the half the linewidth to get all of the (...) (22 years ago, 9-Aug-02, to lugnet.cad)
| | | Re: Chrome Parts
|
| (...) I'm still not likely to have any kind of reflectiveness any time soon, but I played with the specular values and came up with some values that I think do a reasonbly good job: (URL) row on the front/right are gold, chrome, and electric (...) (22 years ago, 11-Aug-02, to lugnet.cad)
|
Message is in Reply To:
| | Re: Chrome Parts
|
| (...) How do you currently generate the images? Perhaps we could help. Don (22 years ago, 8-Aug-02, to lugnet.cad)
|
25 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
|
|
|
|