To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 4104
  LDraw extended colors
 
The LDraw colors are 0-15, 32-47, 256-511 (and of course 16 and 24). Paul Gyugyi defined some more colors for LDLite, 17-23, 25, 57 and "Direct Colors" in the range 0x04000000-0x07FFFFFF. As MLCad supports these colors, I'm going to add support for (...) (24 years ago, 1-Mar-00, to lugnet.cad.dev)
 
  Re: LDraw extended colors
 
I would if I could, but it's hard for me to imagine how this can be supported by LDS... /Tore (...) (24 years ago, 1-Mar-00, to lugnet.cad.dev)
 
  Re: LDraw extended colors
 
(...) I will have to find a way how to define such colors in MLCad but I think I will provide an option where the user can define if he/she likes 24bit or 12bit colors. Generally no problem :-) Michael (24 years ago, 2-Mar-00, to lugnet.cad.dev)
 
  Re: LDraw extended colors
 
(...) 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 = (...) (24 years ago, 20-Mar-00, to lugnet.cad.dev)
 
  Re: LDraw extended colors (for Paul Gyugyi)
 
Lars C. Hassing wrote in (URL) (snip) (...) Well, Paul, have you decided? (...) What do you think? /Lars (24 years ago, 27-Apr-00, to lugnet.cad.dev)
 
  Re: LDraw extended colors (for 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 (...) (24 years ago, 5-May-00, to lugnet.cad.dev)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR