LDraw.org Discussion Forums
Color bug on export from LDView to POV .. lg_color.inc - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: General (https://forums.ldraw.org/forum-12.html)
+--- Forum: General LDraw.org Discussion (https://forums.ldraw.org/forum-6.html)
+--- Thread: Color bug on export from LDView to POV .. lg_color.inc (/thread-18660.html)



Color bug on export from LDView to POV .. lg_color.inc - Brian - 2016-01-11

Hi,

When I export from LDView to POV, the color 151 VERY LIGHT BLUISH GRAY appears as green in POV ... After some investigation I found the RGB color as written in the lg_color.inc file is 14,94,77 .. which is green .. it should be 230,227,224 .. #E6E3E0 .. instead.

Code:
// I changed the code to this
// 151 VERY LIGHT BLUISH GRAY / 208 LIGHT STONE GREY [PEERON]
#declare lg_very_light_bluish_grey = texture {
  pigment { color srgb <230,227,224>/255 }
  finish  { lg_solid_finish }
}

// Code as found
// 151 VERY LIGHT BLUISH GRAY / 208 LIGHT STONE GREY [PEERON]
#declare lg_very_light_bluish_grey = texture {
  pigment { color srgb <14,94,77>/255 }
  finish  { lg_solid_finish }
}​



Re: Color bug on export from LDView to POV .. lg_color.inc - Travis Cobbs - 2016-01-11

Just to be clear, LDView doesn't write to lg_color.inc. So the problem here appears to be your LGEO library.