Subject:
|
Re: LDraw.org Config File (was: Edge line colors on img.lugnet.com)
|
Newsgroups:
|
lugnet.cad.dev.org.ldraw
|
Date:
|
Wed, 13 Aug 2003 23:51:53 GMT
|
Viewed:
|
1271 times
|
| |
| |
In lugnet.cad.dev.org.ldraw, Steve Bliss wrote:
> My suggestion for the file name is ldconfig.ldr. This seems to identify the
> file adequately. I happened to have a fairly extensive colors file lying
> around. I cleaned it up, and here it is. I'm planning to put in this file in
> the 2003-02 parts update, in the ldraw/ directory.
>
> Notice that this file won't actually work fully in any software, AFAIK. The
> main problem is that it attempts to define color codes in the 'dithered color'
> range, which LDLite doesn't support. But as I said previously, the content can
> be hashed out over time. The important thing is to get a file out there into
> the hands of people who can dissect it. :)
>
> Comments? Suggestions? Criticisms?
Since no software can handle the file right now, I suggest the format is changed into:
0 COLORDEF color name edgecolor r g b dr dg db material
COLORDEF in stead of COLOR to avoid confusion with ldlite COLOR.
For edgecolor you can also use extended colors 0x02RRGGBB,
which is supported by MLCad/LDView/L3P/L3Lab,
see http://www.hassings.dk/l3/l3p.html#extcol
"a" is left out (since it is always 255 ?)
"da" is left out, use material=transparent.
You can specify "dr dg db" as "-1 -1 -1", which means no dithering.
It is easier than replicating the "r g b" values, and is less error prone.
"material" added, can be normal/transparent/rubber/metallic/glowing
The rubber is a convenient shortcut, as a "0 MATERIAL RUBBER"
in the tire files would be preferred.
Then you could easily have a (virtual) green rubber tire.
Example:
0 // Code ColorName EdgeColor R G B DR DG DB Material
0 COLORDEF 0 Black 8 33 33 33 -1 -1 -1 normal
0 COLORDEF 1 Blue 0 0 51 178 -1 -1 -1 normal
0 COLORDEF 21 GlowDark 0x277cc00 224 255 176 -1 -1 -1 glowing
0 COLORDEF 25 Orange 0x2000000 249 96 0 -1 -1 -1 normal
0 COLORDEF 33 TransBlue 0x2002266 0 32 160 -1 -1 -1 transparent
0 COLORDEF 256 RubberBlack 0x2000000 33 33 33 -1 -1 -1 rubber
0 COLORDEF 334 ChromeGold 15 196 0 38 255 220 0 metallic
0 COLORDEF 375 RubberGray 8 193 194 193 -1 -1 -1 rubber
0 COLORDEF 383 ChromeSilver 8 255 255 255 193 194 193 metallic
/Lars
|
|
Message has 1 Reply:
Message is in Reply To:
18 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
|
|
|
|