LDraw.org Discussion Forums
Latest list of colors? - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: Latest list of colors? (/thread-22698.html)



Latest list of colors? - Michael Horvath - 2018-02-08

Where can I find the latest, most complete list of LDraw colors? I've noticed that the different editors do not share one common list.

Here are some (incomplete) lists I've found:

http://wiki.ldraw.org/index.php?title=User:Owen_Burgoyne/LDraw_Colour_Comparison_Chart
http://www.ldraw.org/article/547.html
LDConfig.ldr
lg_colors.lst

Thanks.


RE: Latest list of colors? - Orion Pobursky - 2018-02-08

(2018-02-08, 1:26)Michael Horvath Wrote: Where can I find the latest, most complete list of LDraw colors? I've noticed that the different editors do not share one common list.

Here are some (incomplete) lists I've found:

http://wiki.ldraw.org/index.php?title=User:Owen_Burgoyne/LDraw_Colour_Comparison_Chart
http://www.ldraw.org/article/547.html
LDConfig.ldr
lg_colors.lst

Thanks.
 The only official source of LDraw colors is LDConfig.ldr. Anything that isn’t in line with that list is out of date or not official.


RE: Latest list of colors? - Michael Horvath - 2018-02-08

Indeed you are correct.

There are a few discrepencies however:

334 lg_gold_chrome
998 lg_medium_orange
999 lg_undefined

These are missing from LDConfig.ldr.


RE: Latest list of colors? - Chris Dee - 2018-02-09

(2018-02-08, 23:59)Michael Horvath Wrote: Indeed you are correct.

There are a few discrepencies however:

334 lg_gold_chrome
998 lg_medium_orange
999 lg_undefined

These are missing from LDConfig.ldr.

334 is present in LDConfig.ldr. The latest version can be found at http://www.ldraw.org/article/547.html and was also distributed with parts update 2017-01.
[url=http://www.ldraw.org/article/547.html][/url]


RE: Latest list of colors? - Michael Horvath - 2018-02-09

(2018-02-09, 9:30)Chris Dee Wrote:
(2018-02-08, 23:59)Michael Horvath Wrote: Indeed you are correct.

There are a few discrepencies however:

334 lg_gold_chrome
998 lg_medium_orange
999 lg_undefined

These are missing from LDConfig.ldr.

334 is present in LDConfig.ldr. The latest version can be found at http://www.ldraw.org/article/547.html and was also distributed with parts update 2017-01.
[url=http://www.ldraw.org/article/547.html][/url]

Oops! I forgot that 334 was misnamed in LGEO, but that it was later fixed.

I did notice however that LDCad has an color 382 (and possibly others that I did not check for) which is not in LDConfig.ldr.


RE: Latest list of colors? - Philippe Hurbain - 2018-02-09

(2018-02-09, 12:25)Michael Horvath Wrote: I did notice however that LDCad has an color 382 (and possibly others that I did not check) which is not in LDConfig.ldr.
Not really. LDCad defaults (not a good idea imho) to give the possibility to use "dithered colors", not in LDConfig.ldr. To disable this, as it can be misleading (and clobbers colors palettes), Prefs -> Ldraw -> Calculate missing dithered -> disabled and Prefs -> Ldraw -> Calculate missing transparent -> disabled


RE: Latest list of colors? - Michael Horvath - 2018-02-09

(2018-02-09, 12:54)Philippe Hurbain Wrote:
(2018-02-09, 12:25)Michael Horvath Wrote: I did notice however that LDCad has an color 382 (and possibly others that I did not check) which is not in LDConfig.ldr.
Not really. LDCad defaults (not a good idea imho) to give the possibility to use "dithered colors", not in LDConfig.ldr. To disable this, as it can be misleading (and clobbers colors palettes), Prefs -> Ldraw -> Calculate missing dithered -> disabled and Prefs -> Ldraw -> Calculate missing transparent -> disabled

I am creating scripts to switch back and forth between L3P, LDView and LDCad color palettes, and these dithered colors are causing me problems.


RE: Latest list of colors? - Jarema - 2018-02-10

Remember about BrickLink Catalog


RE: Latest list of colors? - Steffen - 2018-02-11

Exclamation  there already is a "sticky" thread in this forum which collects all color lists:

https://forums.ldraw.org/thread-305.html

please don't duplicate that thread here


RE: Latest list of colors? - Michael Horvath - 2018-02-12

(2018-02-09, 12:54)Philippe Hurbain Wrote:
(2018-02-09, 12:25)Michael Horvath Wrote: I did notice however that LDCad has an color 382 (and possibly others that I did not check) which is not in LDConfig.ldr.
Not really. LDCad defaults (not a good idea imho) to give the possibility to use "dithered colors", not in LDConfig.ldr. To disable this, as it can be misleading (and clobbers colors palettes), Prefs -> Ldraw -> Calculate missing dithered -> disabled and Prefs -> Ldraw -> Calculate missing transparent -> disabled

LDCad seems to assign ldMat382 to parts in a model I created in MLCad. I don't understand why it does that, since I did not set this color manually.


RE: Latest list of colors? - Roland Melkert - 2018-02-12

(2018-02-12, 2:07)Michael Horvath Wrote: LDCad seems to assign ldMat382 to parts in a model I created in MLCad. I don't understand why it does that, since I did not set this color manually.

If you're talking about datsville, building_024_andershouse.ldr is using color 382. So even if its not in the LDConfig.ldr pallette the missing color willl be gray and yellow dithered.

Below is how I handle those colors, the actual RGB is (a+b)/2 of the two source colors.
might be useful for your script:

Code:
if (calcMissingDitheredMaterial)
{
 int cnt=0;
 TLDMaterial *a, *b, *mat;

 for (int i=256; i<512; i++)
 {
   mat=findMaterial(i);
   if (mat==NULL || mat->isMissing())
   {
     a=findMaterial((i-256) >> 4);
     b=findMaterial((i-256) & 0x0F);
     if (a!=NULL && b!=NULL)
     {
       if (mat==NULL)
       {
         mat=new TLDMaterial(i, a, b);
         addMaterial(mat);
       }
       else
         mat->reInit(i, a, b);

       ++cnt;
     }
   }
 }

 LOG_REPORT1(log, LL_Progress, logMsg_LDraw_doneCalcDitherMat, cnt);
}



RE: Latest list of colors? - Michael Horvath - 2018-02-12

(2018-02-12, 18:15)Roland Melkert Wrote:
(2018-02-12, 2:07)Michael Horvath Wrote: LDCad seems to assign ldMat382 to parts in a model I created in MLCad. I don't understand why it does that, since I did not set this color manually.

If you're talking about datsville, building_024_andershouse.ldr is using color 382. So even if its not in the LDConfig.ldr pallette the missing color willl be gray and yellow dithered.

Below is how I handle those colors, the actual RGB is (a+b)/2 of the two source colors.
might be useful for your script:

Code:
if (calcMissingDitheredMaterial)
{
 int cnt=0;
 TLDMaterial *a, *b, *mat;

 for (int i=256; i<512; i++)
 {
   mat=findMaterial(i);
   if (mat==NULL || mat->isMissing())
   {
     a=findMaterial((i-256) >> 4);
     b=findMaterial((i-256) & 0x0F);
     if (a!=NULL && b!=NULL)
     {
       if (mat==NULL)
       {
         mat=new TLDMaterial(i, a, b);
         addMaterial(mat);
       }
       else
         mat->reInit(i, a, b);

       ++cnt;
     }
   }
 }

 LOG_REPORT1(log, LL_Progress, logMsg_LDraw_doneCalcDitherMat, cnt);
}

My mistake. I changed the color in building_024_andershouse.ldr to light gray.