几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】opengl and polyline width (http://www.dimcax.com/hust/showthread.php?t=17809)

yang686526 2009-05-06 09:26 PM

【转帖】opengl and polyline width
 
opengl and polyline width
opengl and polyline width
hi,
one of my customers complained because some polygons did not show properly when zooming out (some segments did not show)
i reproduced this in odsmfcapp.
i saw that these oddbpolyline had not a null width (it was equal to 12), and showed properly only at a certain zoom level with opengl rendering (it works fine with wingdi).
as a temporary correction, i made a function that sets all widths (i really mean 'width', not lineweigh or thickness, so that there is no confusion) of oddbpolyline to 0 in order to show them a whatever zoomlevel, but i'd like to avoid this preprocessing, because some polygons are actually intended to have a width.
the other solution would be to use wingdi, but it is slower.
autocad shows these polygons with no problem.
is this a bug, is there any other solution ?
thank's for your help
guillaume
hi,
still no solution to this issue ? is it planned to be fixed in next release ?
thank you
guillaume


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