| | Re: New colours in Ldraw?
|
| (...) 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 (...) (20 years ago, 7-Oct-04, to lugnet.cad)
| | | | 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)
| |