LDraw.org Discussion Forums
An unknown color ID referred by some official parts - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Models and Parts (https://forums.ldraw.org/forum-18.html)
+--- Forum: Parts Authoring (https://forums.ldraw.org/forum-19.html)
+--- Thread: An unknown color ID referred by some official parts (/thread-13730.html)



An unknown color ID referred by some official parts - Mario Pascucci - 2014-08-19

Hi all.

This is my first message, and I apologize in advance if this isn't the right section.

I'm experimenting on rendering LDraw parts and models in Java, and in an LDR model I found a part in latest official part library (2014-01) that use this color id: 391.
I can't find it in LDConfig.ldr, and I haven't found any reference to this color code.
So, part uses this color:
973psk.dat (for sub-part s/973pskb.dat) in row 19
I found a sub-part that uses this color, too:
s/3068s101.dat in rows 39, 51, 52


Thank you for your work on LDraw part library.

Mario


Re: An unknown color ID referred by some official parts - Michael Heidemann - 2014-08-19

I can confirm your findings. Thanks for bringing this up.


Re: An unknown color ID referred by some official parts - Travis Cobbs - 2014-08-19

Just as an aside, since the part seems to look mostly OK in LDView, it would appear that the intention of the part author is for color 391 to be treated as a "dither color". The comment above ("Dithered Components") supports this, and implies that the use of color 503 was also intended to be a "dither color". The actual ldconfig.ldr color for 503 is different, and doesn't really look right. Dither colors aren't allowed in official parts, but that appears to be what's going on. The simplest solution is to change the colors to use direct colors that match the calculated dither colors for 503 and 391, but if there are other LDConfig.ldr colors that also match, those should probably be used instead.


Re: An unknown color ID referred by some official parts - Steffen - 2014-08-20

we need to repair all official files which use colors that are not present in LDConfig.ldr.

some time ago, I had found these doors
http://www.ldraw.org/cgi-bin/ptdetail.cgi?f=parts/73312.dat
http://www.ldraw.org/cgi-bin/ptdetail.cgi?f=parts/73313.dat


Re: An unknown color ID referred by some official parts - Chris Dee - 2014-08-21

I agree.