|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】odcmentitycolor lookuprgb problem
odcmentitycolor lookuprgb problem
odcmentitycolor lookuprgb problem
hi
i tried to llok upp all the indexed color with the following code
code:
for(int i=0; i<255; i++){
std::cout<<"\ncolor: "<<i<<" ("<<(unsigned int)odcmentitycolor::mlut[i][0]<<", "<<(unsigned int)odcmentitycolor::mlut[i][1]<<", "<<(unsigned int)odcmentitycolor::mlut[i][2];
}
it is printing the values as expected.
later i visit the autocad link
different autocad and dwf viewer versions use slightly different palettes.
sergey slezkin
thanks sergey
the value that opendesign is returning matches with the autocads implementation but it doesnot match with that document autodesk is publishing...
anyway i got the solution of the problem..
thanks.
|