@tig said:
I'm not sure that there is any correspondence between the external SKM file's RGB values and the built-in [OpenGL] colors.
You can of course make new materials directly from from colors - like 'AliceBlue' - just by specifying a valid name as the material.
You can also get any material's RGB color values in API code and from that you can compare it to the 'built-in' colors' RGB values.
See the Material AND Color parts of the API docs...
If you have a material already in the SKP why do you need to use a new 'color' based one at all ?
Hi, TIG. Sorry for my late thanks.
Actually, other people im my group use two styles of colors, e.g.the external SKM file's colors and the built-in [OpenGL] colors. I want to integrate them.