几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】odcmentitycolor lookuprgb problem (http://www.dimcax.com/hust/showthread.php?t=17440)

yang686526 2009-05-06 07:12 PM

【转帖】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.


所有的时间均为北京时间。 现在的时间是 02:32 PM.