Custom RGB colors


Custom RGB colors
#1
I'm trying to find documentation that explains the encoding of custom colors.

http://www.ldraw.org/article/218.html#colours

The above link explains that custom ("direct") colors are defined as 0x2RRGGBB.

But if in MLCad I choose R=64 G=128 B=192 (which should be 0x24080C0) it shows in MLCad/LDView as 0x0455548C and is stored in the .ldr in decimal as 72701068 (which is 0x0455548C).

It seems to be encoded, but where's the specification of the encoding?
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Custom RGB colors - by Stephen - 2014-02-20, 13:06
Re: Custom RGB colors - by Philippe Hurbain - 2014-02-20, 13:39
Re: Custom RGB colors - by Stephen - 2014-02-20, 13:53
Re: Custom RGB colors - by Travis Cobbs - 2014-02-20, 19:02
Re: Custom RGB colors - by Stephen - 2014-02-20, 20:11
Re: Custom RGB colors - by Michael Heidemann - 2014-02-20, 21:10
Re: Custom RGB colors - by Travis Cobbs - 2014-02-20, 22:05
Re: Custom RGB colors - by Michael Heidemann - 2014-02-21, 16:55
Re: Custom RGB colors - by Travis Cobbs - 2014-02-21, 21:41
Re: Custom RGB colors - by Tim Gould - 2014-02-21, 22:43
Re: Custom RGB colors - by Travis Cobbs - 2014-02-22, 0:01
Re: Custom RGB colors - by Travis Cobbs - 2014-05-02, 16:44
Re: Custom RGB colors - by Michael Heidemann - 2014-05-02, 17:02
Re: Custom RGB colors - by Michael Heidemann - 2014-05-02, 11:10

Forum Jump:


Users browsing this thread: 5 Guest(s)