几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】lineweight problem with directx device in dd 2.5.2 (http://www.dimcax.com/hust/showthread.php?t=17054)

yang686526 2009-05-06 04:54 PM

【转帖】lineweight problem with directx device in dd 2.5.2
 
lineweight problem with directx device in dd 2.5.2
lineweight problem with directx device in dd 2.5.2
hello,
i have rendering problem with version dd 2.5.2
the new feature of the lineweight support in directx device seems to have some problems.
i have attached a sample file.
attached files

lineweight problem with directx device in dd 2.5.2
hello,
this is a known problem. directx device uses 32bit float calculations, instead double (as in wingdi). coordinates of lines in attached drawing lies in 30000 - 35000 range, in this case precision in float calculations lost. the smaller the coordinates of objects in the drawing, the lower the distortion of objects as result of conversion from double to float.
last edited by amark; 31st march 2008 at 06:28 amfff">.
ok, thanks for the answer


所有的时间均为北京时间。 现在的时间是 05:19 AM.