Subject:
|
Re: New colours in Ldraw?
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Thu, 7 Oct 2004 18:29:43 GMT
|
Viewed:
|
1355 times
|
| |
| |
In lugnet.cad, Steve Bliss wrote:
> The LDraw codes for new Stone Gray, Dark Stone Gray, and Reddish Brown were
> selected so that the original LDraw will treate them as Gray (color 7), Dark
> Gray (8) and Brown (6). So when parts using these colors are rendered by LDraw,
> it will give results that are fairly close to what's expected (unless someone is
> deliberately mixing old and new colors to get a variegated style).
So, just so that I understand, are you saying that ldraw subtracts 64 from
colors between 64 and 128, and uses that new value as the color? I wasn't aware
of this behavior. (I understand it might not do exactly that; I just want to
know if that is the effective result.)
--Travis Cobbs
|
|
Message has 1 Reply: | | Re: New colours in Ldraw?
|
| (...) Yes, basically. LDraw color codes are bit-mapped. Bit 8 -> 0=normal, 1=dithered Bit 5 -> 0=opaque, 1=transparent (when bit 8 is 0) Bit 0-3 -> Color index (when bit 8 is 0) When LDraw goes to draw an opaque color, it does (color && 0xF) to mask (...) (20 years ago, 7-Oct-04, to lugnet.cad)
|
Message is in Reply To:
| | Re: New colours in Ldraw?
|
| (...) Thanks for bringing this up, Travis. It's a very good point. The answer is: yes and no. The LDraw codes for new Stone Gray, Dark Stone Gray, and Reddish Brown were selected so that the original LDraw will treate them as Gray (color 7), Dark (...) (20 years ago, 7-Oct-04, to lugnet.cad)
|
20 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
|
|
|
|