LDraw.org Discussion Forums
Color Parsing problem - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw File Processing and Conversion (https://forums.ldraw.org/forum-22.html)
+--- Thread: Color Parsing problem (/thread-22236.html)



Color Parsing problem - Jarema - 2017-07-24

Hi, again.
When Try parsing 3626bps5.dat my program stop work on this line: 

Quote:4 0x2995220 1.85 7.17 -12.632 1.37 7.41 -12.728 2.33 8.34 -12.537 2.71 8.1 -12.461
How This hexadecimal value 0x2995220 should be translated !? ... Or ... it is bug.


RE: Color Parsing problem - Kevin - 2017-07-24

(2017-07-24, 7:46)Jarema Wrote: Hi, again.
When Try parsing 3626bps5.dat my program stop work on this line: 

Quote:4 0x2995220 1.85 7.17 -12.632 1.37 7.41 -12.728 2.33 8.34 -12.537 2.71 8.1 -12.461
How This hexadecimal value 0x2995220 should be translated !? ... Or ... it is bug.

0x2995220 is an opaque color with RGB value x'995220'

Check this thread for more information:  https://forums.ldraw.org/archive/index.php?thread-7660.html

Kevin


RE: Color Parsing problem - Philippe Hurbain - 2017-07-24

Jarema, could you have a look at this thread, about LIC? https://forums.ldraw.org/thread-22234-post-25769.html#pid25769


RE: Color Parsing problem - Philippe Hurbain - 2017-07-24

See also specification 
http://www.ldraw.org/article/218.html#colours
(Direct colors)