| | Re: LDraw extended colors Lars C. Hassing
|
| | (...) During implementation of Gyugyi's Direct Colors, I browsed his LDLite code: | if ((c >= 0x4000000) && (c <= 0x7ffffff)) | { | /Numbers of 0x4000000 to 0x7ffffff are hard coded color values. | zcp->r = 16 * ((c & 0x00000f00) >> 8); | zcp->g = (...) (25 years ago, 20-Mar-00, to lugnet.cad.dev)
|
| | |
| | | | Re: LDraw extended colors (for Paul Gyugyi) Lars C. Hassing
|
| | | | Lars C. Hassing wrote in (URL) (snip) (...) Well, Paul, have you decided? (...) What do you think? /Lars (25 years ago, 27-Apr-00, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: LDraw extended colors (for Paul Gyugyi) Paul Gyugyi
|
| | | | (...) I just now noticed the thread. (Thanks for the email). I'll add support for the 24-bit range, it is a good idea. I'll look into the documentation bug. The code is correct and I'll change the docs to match. For the scaling, multiplying by 17 (...) (25 years ago, 5-May-00, to lugnet.cad.dev)
|
| | | | |